/* ==========================================================================
   page-mocks.css — printed-page mock-ups from includes/page-mocks.php (page_mock()).
   Scoped .pm-*. One sheet = .pm-sheet > .pm-paper (US Letter ratio, paper texture, soft shadow).
   Everything inside a page is sized in cqi (container = the paper), so a page looks the same at any width.
   Theme colours (set by page_mock() on .pm-sheet, or inherited from a parent when vars => false):
   --pm-main, --pm-dark, --pm-rgb (dark as r,g,b), --pm-soft, --pm-tint.
   Sizes: .pm-sm (~170px cards: small print hidden, text bigger), .pm-md, .pm-lg.
   ========================================================================== */
/* default colours only when the sheet does not inherit them (page_mock vars => false adds .pm-inherit) */
.pm-sheet:not(.pm-inherit) { --pm-main: #B42335; --pm-dark: #0F3D2E; --pm-rgb: 15, 61, 46; --pm-soft: #F8E9EB; --pm-tint: #EDC8CD; }
.pm-sheet {
  --pm-ink: #1B2A24; --pm-paper: #FFFDF8;
  display: block; width: 100%;
}
.pm-paper {
  position: relative; aspect-ratio: 8.5 / 11; container-type: inline-size; overflow: hidden; border-radius: 3px;
  color: var(--pm-ink); font-family: var(--font-body, "Inter", system-ui, sans-serif); font-size: 3.3cqi; line-height: 1.35; text-align: left;
  background-color: var(--pm-paper);
  background-image:
    radial-gradient(ellipse at 18% 8%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%),
    radial-gradient(ellipse at 92% 100%, rgba(140, 110, 60, .07), rgba(140, 110, 60, 0) 55%),
    repeating-linear-gradient(0deg, rgba(60, 40, 10, .014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(60, 40, 10, .011) 0 1px, transparent 1px 4px);
  box-shadow: 0 1px 1px rgba(30, 25, 15, .08), 0 6px 14px rgba(30, 25, 15, .1), 0 18px 40px rgba(30, 25, 15, .1);
}
/* edge shading like a real sheet */
.pm-paper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 92%, rgba(60, 40, 10, .05)), linear-gradient(90deg, rgba(60, 40, 10, .035), rgba(0, 0, 0, 0) 4%, rgba(0, 0, 0, 0) 96%, rgba(60, 40, 10, .035));
}
.pm-paper p { margin: 0; }
.pm-paper ol, .pm-paper ul { margin: 0; }
.pm-paper * { box-sizing: border-box; }
.pm-flip { transform: scaleX(-1); }
/* ==========================================================================
   Page content
   ========================================================================== */
.pm-pg { position: absolute; inset: 0; padding: 7.5cqi 7.5cqi 11cqi; display: flex; flex-direction: column; gap: 2.6cqi; }
.pm-pg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.6cqi; background: linear-gradient(90deg, var(--pm-main), var(--gold, #F2C14E)); opacity: .9; }
.pm-eyebrow { font-size: 2.4cqi; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-main); }
.pm-h2 { font-family: var(--font-head, system-ui); font-weight: 600; font-size: 6.4cqi; line-height: 1.08; color: var(--pm-dark); }
.pm-h3 { font-family: var(--font-head, system-ui); font-weight: 600; font-size: 4cqi; color: var(--pm-dark); margin-top: 1cqi !important; }
.pm-sub { font-size: 3cqi; color: #4A5A53; margin-top: 1.2cqi !important; }
.pm-head { text-align: center; padding-top: 1cqi; }
.pm-foot {
  position: absolute; left: 7.5cqi; right: 7.5cqi; bottom: 3.6cqi; display: flex; justify-content: space-between; gap: 2cqi;
  padding-top: 1.6cqi; border-top: .25cqi solid rgba(var(--pm-rgb), .14); font-size: 2cqi; color: #6B7A73; white-space: nowrap;
}
.pm-foot span:first-child { overflow: hidden; text-overflow: ellipsis; }
.pm-foot span:nth-child(2) { font-weight: 700; color: var(--pm-main); }
.pm-box { width: 11cqi; height: 11cqi; flex: 0 0 11cqi; border: .6cqi dashed var(--pm-main); border-radius: 2cqi; background: #fff; display: inline-block; }
.pm-sig { font-family: var(--font-head, system-ui); font-size: 6.4cqi; color: var(--pm-main); transform: rotate(-4deg); display: inline-block; transform-origin: left; }
.pm-note { font-size: 2.8cqi; color: #4A5A53; text-align: center; font-style: italic; }

/* Cover */
.pm-cover { position: absolute; inset: 0; background: var(--pm-dark); color: #fff; }
.pm-cv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-cv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--pm-rgb), .95) 0%, rgba(var(--pm-rgb), .86) 30%, rgba(var(--pm-rgb), .45) 50%, rgba(var(--pm-rgb), 0) 66%); }
.pm-cv-shade.b { background: linear-gradient(0deg, rgba(var(--pm-rgb), .6) 0%, rgba(var(--pm-rgb), 0) 34%); }
.pm-cv-top { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 7cqi 7cqi 0; gap: 2.2cqi; }
.pm-stamp { border: .55cqi solid #F2C14E; color: #F2C14E; font-weight: 800; font-size: 2.6cqi; letter-spacing: .18em; padding: .9cqi 2.4cqi; border-radius: 1.2cqi; transform: rotate(-4deg); }
.pm-cv-eyebrow { font-size: 2.5cqi; font-weight: 700; letter-spacing: .16em; opacity: .9; }
.pm-cv-title { font-family: var(--font-head, system-ui); font-weight: 700; font-size: 9.6cqi; line-height: 1.02; text-shadow: 0 .6cqi 2cqi rgba(0, 0, 0, .3); text-wrap: balance; }
.pm-cv-tag { font-size: 3.2cqi; line-height: 1.35; opacity: .95; max-width: 80cqi; }
.pm-pills { display: flex; gap: 1.4cqi; flex-wrap: wrap; justify-content: center; }
.pm-pills span { background: #F2C14E; color: #3A2A00; font-weight: 700; font-size: 2.6cqi; padding: 1cqi 2.4cqi; border-radius: 99px; }
.pm-cv-name { margin-top: 1cqi; display: flex; align-items: baseline; gap: 2cqi; background: rgba(255, 255, 255, .95); color: var(--pm-dark); padding: 2cqi 4cqi; border-radius: 2cqi; font-size: 3cqi; box-shadow: 0 1cqi 3cqi rgba(0, 0, 0, .2); }
.pm-cv-name span { font-family: var(--font-head, system-ui); font-size: 4.6cqi; color: var(--pm-main); border-bottom: .4cqi dashed rgba(var(--pm-rgb), .4); min-width: 26cqi; text-align: center; }
.pm-cv-stk { position: absolute; bottom: 3cqi; width: 30cqi; height: auto; z-index: 3; filter: drop-shadow(0 1.4cqi 2cqi rgba(0, 0, 0, .35)); }
.pm-cv-stk.l { left: 3cqi; }
.pm-cv-stk.r { right: 3cqi; width: 24cqi; }

/* Letter */
.pm-letter { padding-bottom: 12cqi; }
.pm-lt-card {
  position: relative; flex: 1; border-radius: 2.4cqi; padding: 6cqi 6cqi 5cqi; display: flex; flex-direction: column; gap: 3cqi;
  background: linear-gradient(180deg, var(--pm-soft), #fff 40%); border: .4cqi solid rgba(var(--pm-rgb), .16);
}
.pm-lt-head { display: flex; gap: 3cqi; align-items: center; padding-bottom: 3cqi; border-bottom: .3cqi dashed rgba(var(--pm-rgb), .25); }
.pm-lt-head b { display: block; font-family: var(--font-head, system-ui); font-weight: 600; font-size: 3.8cqi; color: var(--pm-dark); line-height: 1.2; }
.pm-lt-star { width: 9cqi; flex: 0 0 9cqi; }
.pm-lt-star svg, .pm-ct-star svg, .pm-seal svg { width: 100%; height: auto; display: block; }
.pm-lt-body { display: flex; flex-direction: column; gap: 2.4cqi; font-size: 3.35cqi; line-height: 1.5; padding-right: 2cqi; }
.pm-lt-so { margin-top: 1cqi !important; }
.pm-lt-host { position: absolute; right: 2cqi; bottom: 1cqi; width: 27cqi; height: auto; filter: drop-shadow(0 1cqi 1.4cqi rgba(0, 0, 0, .18)); }

/* Briefing */
.pm-bf-box { background: var(--pm-soft); border-left: 1.2cqi solid var(--pm-main); border-radius: 2cqi; padding: 3cqi 3.6cqi; font-size: 3.3cqi; font-weight: 500; }
.pm-rules { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 1.6cqi; font-size: 3.1cqi; }
.pm-rules li { counter-increment: r; display: flex; gap: 2.2cqi; align-items: flex-start; }
.pm-rules li::before { content: counter(r); flex: 0 0 5cqi; height: 5cqi; border-radius: 50%; background: var(--pm-main); color: #fff; font-weight: 700; font-size: 2.8cqi; display: grid; place-items: center; }
.pm-lkrow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.4cqi; }
/* Blank name line (Starter samples: names are a PRO feature) */
.pm-blank { display: inline-block; width: 9em; max-width: 70%; height: .9em; vertical-align: baseline; border-bottom: .14em solid currentColor; opacity: .55; }
.pm-lkrow > div { display: flex; flex-direction: column; align-items: center; gap: .8cqi; }
.pm-lkrow small { font-size: 2.1cqi; font-weight: 700; color: var(--pm-main); white-space: nowrap; }
.pm-lk { width: 100%; aspect-ratio: 1; border: .55cqi solid var(--pm-dark); border-radius: 1.6cqi; background: #fff; box-shadow: inset 0 -.8cqi 0 rgba(var(--pm-rgb), .07); }
.pm-bf-lock { width: 15cqi; margin: auto auto 0; }
.pm-bf-lock svg, .pm-fn-lock svg { width: 100%; height: auto; display: block; }

/* Clue pages */
.pm-cl { gap: 2.4cqi; }
.pm-clhead { display: flex; gap: 3cqi; align-items: center; }
.pm-tab { flex: 0 0 auto; background: var(--pm-main); color: #fff; font-weight: 800; font-size: 2.6cqi; letter-spacing: .08em; padding: 2.2cqi 2.4cqi; border-radius: 1.6cqi; box-shadow: 0 .8cqi 0 var(--pm-dark); }
.pm-clhead .pm-h2 { font-size: 5.6cqi; margin-top: .4cqi !important; }
.pm-intro { background: var(--pm-soft); border-radius: 2cqi; padding: 2.4cqi 3cqi; font-size: 3cqi; font-style: italic; }
.pm-do { font-size: 3cqi; }
.pm-do b { color: var(--pm-dark); }
.pm-area { flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pm-area svg { width: 100%; height: 100%; max-height: 100%; display: block; }
.pm-maze svg { width: auto; max-width: 100%; }
.pm-write { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 3cqi; padding: 2cqi 2.6cqi 2cqi 3.6cqi; border-radius: 2.4cqi; background: #fff; border: .35cqi solid rgba(var(--pm-rgb), .2); font-weight: 600; font-size: 2.9cqi; color: var(--pm-dark); }

.pm-ws { display: grid; grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr); aspect-ratio: 1; height: 100%; max-height: 74cqi; width: auto; max-width: 100%; border: .5cqi solid var(--pm-dark); border-radius: 1.6cqi; overflow: hidden; background: #fff; }
.pm-ws span { min-width: 0; min-height: 0; display: grid; place-items: center; font-family: var(--font-head, system-ui); font-weight: 600; font-size: 3.6cqi; color: var(--pm-ink); border-right: .2cqi solid rgba(var(--pm-rgb), .12); border-bottom: .2cqi solid rgba(var(--pm-rgb), .12); }
.pm-ws span:nth-child(-n+4) { background: rgba(242, 193, 78, .35); border-radius: 0; } /* first word shown as an example */
.pm-wlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4cqi; justify-content: center; }
.pm-wlist li { font-weight: 700; font-size: 2.7cqi; letter-spacing: .08em; padding: .8cqi 2.2cqi; border-radius: 99px; background: var(--pm-soft); color: var(--pm-dark); }
.pm-wlist li:first-child { text-decoration: line-through; opacity: .7; }

.pm-ck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqi; padding: 2.4cqi; border-radius: 2.4cqi; background: var(--pm-soft); border: .35cqi dashed rgba(var(--pm-rgb), .35); }
.pm-ck span { display: flex; align-items: center; justify-content: center; gap: 1.6cqi; background: #fff; border-radius: 1.6cqi; padding: 1.6cqi 0; font-weight: 800; font-size: 3.4cqi; color: var(--pm-dark); }
.pm-ck b { color: var(--pm-main); font-size: 4.4cqi; line-height: 1; }
.pm-cmsg { flex: 1; display: flex; gap: 4cqi; justify-content: center; align-items: center; }
.pm-cmsg div { display: flex; flex-direction: column; align-items: center; gap: 2cqi; }
.pm-cmsg b { font-size: 11cqi; line-height: 1; color: var(--pm-main); }
.pm-cmsg span { width: 14cqi; height: 12cqi; border-bottom: .7cqi solid var(--pm-dark); }

.pm-math { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3.4cqi; }
.pm-math > div { display: flex; align-items: center; justify-content: center; gap: 2.4cqi; background: #fff; border: .35cqi solid rgba(var(--pm-rgb), .16); border-radius: 2.4cqi; padding: 2.4cqi; }
.pm-math > div.q { background: var(--pm-soft); border-style: dashed; border-color: var(--pm-main); }
.pm-ico { width: 11cqi; height: 11cqi; }
.pm-math i { font-style: normal; font-family: var(--font-head, system-ui); font-size: 7cqi; color: var(--pm-dark); line-height: 1; }
.pm-math b { font-family: var(--font-head, system-ui); font-size: 8cqi; color: var(--pm-dark); min-width: 11cqi; text-align: center; }
.pm-math .pm-box { width: 13cqi; height: 13cqi; flex-basis: 13cqi; }

.pm-scr { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4cqi; }
.pm-scr > div { display: flex; flex-direction: column; align-items: center; gap: 2cqi; }
.pm-scr .m { font-family: var(--font-head, system-ui); font-weight: 600; font-size: 6cqi; letter-spacing: .35em; color: var(--pm-main); padding-left: .35em; }
.pm-scr .l { display: flex; gap: 1.6cqi; }
.pm-scr .l i { width: 9cqi; height: 10cqi; border-bottom: .6cqi solid var(--pm-dark); background: rgba(var(--pm-rgb), .04); border-radius: 1cqi 1cqi 0 0; }
.pm-scr .q .l i { border-color: var(--pm-main); background: rgba(242, 193, 78, .22); }
.pm-scr .q .m { color: var(--pm-dark); }

.pm-dots svg { width: auto; max-width: 92%; }
.pm-odd { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; align-content: center; }
.pm-odd span { position: relative; aspect-ratio: 1.25; display: grid; place-items: center; background: #fff; border: .35cqi solid rgba(var(--pm-rgb), .18); border-radius: 2.4cqi; padding: 3cqi; }
.pm-odd small { position: absolute; left: 1.6cqi; top: 1cqi; font-weight: 800; font-size: 2.6cqi; color: var(--pm-main); }
.pm-odd svg { width: 100%; height: auto; }

/* Lock-code sheet */
.pm-fn { gap: 2.4cqi; }
.pm-fn-lock { width: 17cqi; margin: 0 auto; filter: drop-shadow(0 1cqi 1.4cqi rgba(0, 0, 0, .12)); }
.pm-lkrow.big .pm-lk { border-radius: 2cqi; }
.pm-reveal { text-align: center; font-family: var(--font-head, system-ui); font-weight: 600; font-size: 4cqi; color: var(--pm-main); }
.pm-fold { margin-top: auto; position: relative; text-align: center; font-size: 2.2cqi; color: #6B7A73; border-top: .4cqi dashed rgba(var(--pm-rgb), .4); padding-top: 1.4cqi; }
.pm-secret { text-align: center; padding: 3cqi; border-radius: 2.4cqi; background: var(--pm-soft); transform: rotate(180deg); display: flex; flex-direction: column; gap: 1cqi; }
.pm-secret p:last-child { font-family: var(--font-head, system-ui); font-size: 3.8cqi; color: var(--pm-dark); }

/* Hint cards */
.pm-hc { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 0; border: .35cqi dashed rgba(27, 42, 36, .35); border-radius: 1cqi; }
.pm-hc > div { position: relative; padding: 3cqi; display: flex; flex-direction: column; gap: 1.6cqi; border-right: .35cqi dashed rgba(27, 42, 36, .35); border-bottom: .35cqi dashed rgba(27, 42, 36, .35); }
.pm-hc > div:nth-child(2n) { border-right: 0; }
.pm-hc > div:nth-last-child(-n+2) { border-bottom: 0; }
.pm-hc > div:first-child::before { content: "✂"; position: absolute; left: -1.4cqi; top: -3.4cqi; font-size: 4cqi; color: #6B7A73; }
.pm-hctag { align-self: flex-start; background: var(--pm-main); color: #fff; font-weight: 800; font-size: 2.2cqi; letter-spacing: .08em; padding: .8cqi 2cqi; border-radius: 99px; }
.pm-hc p { font-size: 3cqi; line-height: 1.4; }
.pm-hc > div:nth-child(4n+2), .pm-hc > div:nth-child(4n+3) { background: rgba(var(--pm-rgb), .03); }

/* Answer key */
.pm-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 2.8cqi; border: .35cqi solid rgba(var(--pm-rgb), .2); border-radius: 2cqi; overflow: hidden; }
.pm-tbl th { background: var(--pm-dark); color: #fff; font-weight: 700; text-align: left; padding: 1.8cqi 2cqi; font-size: 2.5cqi; letter-spacing: .04em; }
.pm-tbl td { padding: 1.8cqi 2cqi; border-top: .25cqi solid rgba(var(--pm-rgb), .1); vertical-align: middle; }
.pm-tbl tbody tr:nth-child(even) td { background: rgba(var(--pm-rgb), .035); }
.pm-tbl td:first-child { font-weight: 700; white-space: nowrap; color: var(--pm-dark); }
.pm-tbl .d { text-align: center; font-family: var(--font-head, system-ui); font-size: 4.4cqi; font-weight: 600; color: var(--pm-main); }
.pm-akcode { text-align: center; font-size: 3.4cqi; padding: 2.6cqi; background: rgba(242, 193, 78, .22); border-radius: 2.4cqi; border: .35cqi solid rgba(242, 193, 78, .7); }
.pm-akcode b { font-family: var(--font-head, system-ui); font-size: 5.4cqi; letter-spacing: .2em; color: var(--pm-dark); margin-left: 1.4cqi; }
.pm-aktip { font-size: 2.8cqi; color: #4A5A53; background: var(--pm-soft); padding: 2.4cqi 3cqi; border-radius: 2cqi; }

/* Certificate */
.pm-ct { padding: 5.5cqi 5.5cqi 10cqi; }
.pm-ct-frame {
  position: relative; flex: 1; border: 1.4cqi solid var(--pm-main); border-radius: 2.4cqi; padding: 1.4cqi;
  background: radial-gradient(ellipse at 50% 30%, #fff, var(--pm-soft));
  box-shadow: inset 0 0 0 .5cqi #fff, inset 0 0 0 .9cqi #F2C14E;
}
.pm-ct-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2.2cqi; padding: 5cqi 6cqi; border: .4cqi dashed rgba(var(--pm-rgb), .3); border-radius: 1.4cqi; }
.pm-ct-star { width: 13cqi; }
.pm-ct-title { font-family: var(--font-head, system-ui); font-weight: 700; font-size: 8.4cqi; line-height: 1.02; color: var(--pm-main); text-wrap: balance; }
.pm-ct-given { font-size: 3cqi; color: #4A5A53; }
.pm-ct-name { font-family: var(--font-head, system-ui); font-weight: 600; font-size: 11cqi; line-height: 1.1; color: var(--pm-dark); border-bottom: .7cqi solid #F2C14E; padding: 0 8cqi .6cqi; }
.pm-ct-line { font-size: 3.1cqi; max-width: 66cqi; }
.pm-ct-sign { width: 100%; margin-top: 2cqi; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3cqi; }
.pm-ct-sign > div { display: flex; flex-direction: column; align-items: center; gap: .6cqi; border-top: .3cqi solid rgba(27, 42, 36, .4); padding-top: 1cqi; }
.pm-ct-sign > div .pm-sig { white-space: nowrap; font-size: 4.2cqi; order: -1; margin-top: -8cqi; min-height: 6cqi; transform-origin: center; }
.pm-ct-sign small { font-size: 2.1cqi; color: #6B7A73; }
.pm-seal { width: 14cqi; height: 14cqi; border-radius: 50%; background: var(--pm-main); display: grid; place-items: center; padding: 3cqi; box-shadow: 0 0 0 .8cqi #fff, 0 0 0 1.3cqi #F2C14E, 0 1cqi 2cqi rgba(0, 0, 0, .2); }
.pm-ct-stk { position: absolute; bottom: -2cqi; width: 21cqi; height: auto; z-index: 2; filter: drop-shadow(0 1cqi 1.4cqi rgba(0, 0, 0, .2)); }
.pm-ct-stk.l { left: -3cqi; }
.pm-ct-stk.r { right: -3cqi; width: 17cqi; }


/* ==========================================================================
   Sizes
   ========================================================================== */
/* sm: thumbnail cards (~150–200px). Hide small print, make what stays bigger and bolder. */
.pm-sm .pm-paper { box-shadow: 0 1px 2px rgba(30, 25, 15, .1), 0 8px 18px rgba(30, 25, 15, .12); }
.pm-sm .pm-foot, .pm-sm .pm-more, .pm-sm .pm-do, .pm-sm .pm-cv-tag, .pm-sm .pm-cv-eyebrow, .pm-sm .pm-pills, .pm-sm .pm-lt-head .pm-eyebrow,
.pm-sm .pm-clhead .pm-eyebrow, .pm-sm .pm-write span:first-child, .pm-sm .pm-fold, .pm-sm .pm-wlist { display: none; }
.pm-sm .pm-pg { padding: 8cqi 7cqi; gap: 3.4cqi; }
.pm-sm .pm-h2 { font-size: 8cqi; }
.pm-sm .pm-clhead .pm-h2 { font-size: 7cqi; }
.pm-sm .pm-eyebrow { font-size: 3.6cqi; }
.pm-sm .pm-h3 { font-size: 5cqi; }
.pm-sm .pm-tab { font-size: 3.6cqi; padding: 2.4cqi; }
.pm-sm .pm-cv-title { font-size: 12cqi; }
.pm-sm .pm-cv-top { padding-top: 9cqi; gap: 3.4cqi; }
.pm-sm .pm-stamp { font-size: 3.6cqi; }
.pm-sm .pm-cv-name { font-size: 4.2cqi; }
.pm-sm .pm-cv-name span { font-size: 6cqi; }
.pm-sm .pm-cv-stk.l { width: 38cqi; }
.pm-sm .pm-cv-stk.r { width: 30cqi; }
.pm-sm .pm-lt-body { font-size: 4.6cqi; }
.pm-sm .pm-lt-head b { font-size: 5cqi; }
.pm-sm .pm-lt-host { width: 34cqi; }
.pm-sm .pm-bf-box, .pm-sm .pm-rules { font-size: 4.4cqi; }
.pm-sm .pm-write { justify-content: center; padding: 2cqi; }
.pm-sm .pm-box { width: 14cqi; height: 14cqi; flex-basis: 14cqi; }
.pm-sm .pm-ws { max-height: 100%; }
.pm-sm .pm-bf-lock { display: none; }
.pm-sm .pm-ct-stk.l { width: 17cqi; left: -2cqi; }
.pm-sm .pm-ct-stk.r { width: 14cqi; right: -2cqi; }
.pm-sm .pm-ct-in { padding: 4cqi 4cqi; gap: 2.6cqi; }
.pm-sm .pm-ws span { font-size: 4.6cqi; }
.pm-sm .pm-ck span { font-size: 4.6cqi; }
.pm-sm .pm-ck b { font-size: 5.6cqi; }
.pm-sm .pm-hc p { font-size: 4.2cqi; }
.pm-sm .pm-hctag { font-size: 3cqi; }
.pm-sm .pm-tbl { font-size: 3.6cqi; }
.pm-sm .pm-tbl th:nth-child(3), .pm-sm .pm-tbl td:nth-child(3) { display: none; }
.pm-sm .pm-tbl th { font-size: 3.4cqi; }
.pm-sm .pm-akcode { font-size: 4.2cqi; }
.pm-sm .pm-lkrow small { font-size: 3cqi; }
.pm-sm .pm-reveal { font-size: 5.4cqi; }
.pm-sm .pm-secret p:last-child { font-size: 4.6cqi; }
.pm-sm .pm-ct-title { font-size: 10cqi; }
.pm-sm .pm-ct-given, .pm-sm .pm-ct-line { font-size: 4cqi; }
.pm-sm .pm-ct-sign small { font-size: 3cqi; }
.pm-sm .pm-note { font-size: 4cqi; }
/* lg: zoom views get a deeper shadow */
.pm-lg .pm-paper { box-shadow: 0 2px 4px rgba(30, 25, 15, .1), 0 20px 50px rgba(30, 25, 15, .25); }