/* InSnip Play. The page tokens (--bg, --ink, --gold and friends) are set inline by the
   Function; this file is the front page and the games. Set like a newspaper puzzle page:
   hairline structure, Literata for names and questions, Public Sans for everything else.
   One off-white filled button per screen at most, everything else outlined or plain text,
   gold only as an accent and on the boards. Short ease-out motion, none when the reader asks
   for less. */

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pl-band { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 15px; line-height: 1.45; color: var(--ink-2); text-align: center; }
.pl-band-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.pl { max-width: 1240px; margin: 0 auto; padding: 0 16px 8px; overflow-wrap: break-word; }
.pl-stage[hidden], #pl-home[hidden], .pl-week[hidden] { display: none; }

/* ---- the masthead of the page ---- */
.pl-head { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.pl-date { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.pl-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 10vw, 68px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; }
.pl-promise { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }

/* ---- section heads ---- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 30px 0 0; margin: 0 0 20px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.18; letter-spacing: -0.01em; margin: 0; }
.sec-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.pl-news-note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 46ch; }

/* how to play */
.pz-how { margin: 10px 0 0; }
.pz-how summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.pz-how summary::-webkit-details-marker { display: none; }
.pz-how summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 160ms var(--ease); }
.pz-how[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.pz-how summary:hover { color: var(--ink); }
.pz-how ol { margin: 4px 0 0; padding: 0 0 0 20px; }
.pz-how li { margin: 0 0 6px; padding-left: 4px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pz-how li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.ex { margin: 14px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.ex figcaption { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ex-lede { display: grid; gap: 8px; }
.ex-k { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.ex .t { width: 30px; height: 30px; font-size: 15px; border-radius: 5px; }
.ex-tiles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ex .g { width: 32px; height: 32px; font-size: 15px; border-radius: 6px; }
.ex-arrow { margin: 0 6px; font-size: 18px; color: var(--muted); }
.ex-words { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-word { display: inline-flex; padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); }
.ex-word b { color: var(--gold); font-weight: 700; }
.ex-strip { --c: 26px; position: relative; display: inline-flex; gap: 2px; }
.ex-strip .w { width: var(--c); height: var(--c); font-size: 16px; }
.ex-strip .w.left { color: var(--gold); }
.ex-strip .wb-pill { left: calc(var(--c) + 2px - 2px); top: -2px; width: calc(var(--c) * 5 + 8px + 4px); height: calc(var(--c) + 4px); background: rgba(232, 193, 105, 0.18); box-shadow: inset 0 0 0 1.5px rgba(232, 193, 105, 0.55); }
.ex-tray, .ex-felt { --c: 26px; --gp: 3px; display: inline-flex; gap: var(--gp); padding: 4px; border-radius: 8px; }
.ex-tray { background: linear-gradient(180deg, #1c1c21, #131316); box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.08); }
.ex-felt { background: linear-gradient(180deg, #13201b, #0f1915); box-shadow: inset 0 0 0 1px rgba(196, 232, 210, 0.07); }
/* the smallest phones: Pack's two five cell rows and the arrow fit on one line (they spilled the page sideways) */
@media (max-width: 360px) { .ex-tray, .ex-felt { --c: 21px; } }
.pl-howall-list > * { min-width: 0; }

/* Lede: tiles */
.lb { display: grid; gap: 6px; }
.lb-row { display: flex; gap: 6px; }
.t { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 20px; line-height: 1; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.14); }
.t.ok { background: var(--gold); color: #141210; box-shadow: none; }
.t.in { box-shadow: inset 0 0 0 2px rgba(241, 239, 233, 0.8); }
.t.no { background: #26262b; color: var(--ink-2); box-shadow: none; }
.t.typed { box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.42); }
.t.cur { box-shadow: inset 0 0 0 2px rgba(241, 239, 233, 0.7); }
.lb.big .t { width: 46px; height: 46px; }

/* Gilt: levels warming from off white to gold */
.gb { display: grid; grid-template-columns: repeat(4, 21px); gap: 3px; }
.g { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 4px; background: rgba(241, 239, 233, 0.05); font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 12px; line-height: 1; color: #1b1a17; font-variant-numeric: lining-nums; }
.g1 { background: #f1efe9; }
.g2 { background: #f0e6cf; }
.g3 { background: #eedcb6; }
.g4 { background: #ecd29d; }
.g5 { background: #eac983; }
.g6 { background: #e8c169; }

/* Ninefold: the square, the middle ringed */
.nb { display: grid; grid-template-columns: repeat(3, 29px); gap: 4px; }
.n { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 6px; background: rgba(241, 239, 233, 0.06); font-family: var(--serif); font-style: normal; font-weight: 500; font-size: 16px; line-height: 1; color: var(--ink); }
.n.mid { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); font-weight: 600; }

/* Trawl: letters in a grid, found words ringed in soft tinted pills behind them */
.wb { --c: 15px; --gp: 2px; position: relative; display: grid; grid-template-columns: repeat(5, var(--c)); gap: var(--gp); }
.w { position: relative; z-index: 1; display: grid; place-items: center; width: var(--c); height: var(--c); font-family: var(--serif); font-style: normal; font-weight: 500; font-size: calc(var(--c) * 0.62); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.wb-pill { position: absolute; z-index: 0; border-radius: 999px; }
.wb-across { left: -2px; top: -2px; width: calc(100% + 4px); height: calc(var(--c) + 4px); background: rgba(232, 193, 105, 0.18); box-shadow: inset 0 0 0 1.5px rgba(232, 193, 105, 0.55); }
.wb-down { left: -2px; top: -2px; width: calc(var(--c) + 4px); height: calc(100% + 4px); background: rgba(140, 196, 166, 0.16); box-shadow: inset 0 0 0 1.5px rgba(140, 196, 166, 0.5); }

/* Tilt: a dark tray, raised blocks, glassy balls, holes ringed in their ball's colour */
.tb { --c: 17px; --gp: 2px; display: grid; grid-template-columns: repeat(5, var(--c)); gap: var(--gp); padding: 5px; border-radius: 9px; background: linear-gradient(180deg, #1c1c21, #131316); box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.08); }
.tc { position: relative; display: block; width: var(--c); height: var(--c); font-style: normal; }
.tc.k { border-radius: 22%; background: linear-gradient(155deg, #3d3d45, #2a2a30 55%, #222227); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.5); }
.tc.gold { --bc: #e8c169; --bl: #fff1c9; --bd: #9a7428; }
.tc.blue { --bc: #8db6e8; --bl: #e3efff; --bd: #3f6597; }
.tc.ball::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--bl) 0%, var(--bc) 42%, var(--bd) 100%); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.tc.hole::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; background: #060607; box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9), 0 0 0 1.5px color-mix(in srgb, var(--bc) 70%, transparent); }
.tc.hole.home::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--bl) 0%, var(--bc) 42%, var(--bd) 100%); }

/* Pack: deep green felt, sunken wells, glazed tiles in Pack's five glazes, the landing L in green */
.kb { --c: 17px; --gp: 2px; display: grid; grid-template-columns: repeat(5, var(--c)); gap: var(--gp); padding: 5px; border-radius: 9px; background: linear-gradient(180deg, #13201b, #0f1915); box-shadow: inset 0 0 0 1px rgba(196, 232, 210, 0.07); }
.kc { position: relative; display: block; width: var(--c); height: var(--c); border-radius: 22%; background: rgba(196, 232, 210, 0.05); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55); font-style: normal; }
.kc > b { position: absolute; inset: 0; border-radius: 22%; background: linear-gradient(150deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 55%), var(--gf); box-shadow: inset 0 -2px 0 var(--ge), 0 1px 1.5px rgba(0, 0, 0, 0.45); }
.kc.ghost { background: rgba(134, 217, 166, 0.26); box-shadow: inset 0 0 0 1.5px rgba(134, 217, 166, 0.8); }
.k1 { --gf: #a9d3b4; --ge: #6f9e7c; }
.k2 { --gf: #9ccbd3; --ge: #5f949d; }
.k3 { --gf: #e2b598; --ge: #a87859; }
.k4 { --gf: #c3b7e0; --ge: #8778ad; }
.k5 { --gf: #e7d79c; --ge: #a8975a; }

/* ---- squares ---- */
.pl-sqs { display: inline-flex; gap: 4px; }
.sq { position: relative; display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: #2a2a30; box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.16); }
.sq.ok { background: var(--gold); box-shadow: none; }
.sq.nr { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sq.up, .sq.dn { background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.4); }
.sq.up::after, .sq.dn::after { content: ""; position: absolute; inset: 28% 24%; background: var(--ink-2); }
.sq.up::after { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.sq.dn::after { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pl-sqs.big { gap: 7px; }
.pl-sqs.big .sq { width: 30px; height: 30px; border-radius: 6px; }
.tn .pl-sqs.big .sq { width: 24px; height: 24px; border-radius: 5px; }

/* ---- a game ---- */
.pl-stage { max-width: 640px; margin: 0 auto; padding: 20px 0 12px; }
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 0 0 10px; }
.pl-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pl-back:hover { color: var(--ink); }
.pl-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pl-prog { display: flex; gap: 6px; margin: 0 0 24px; }
.pl-prog i { flex: 1; height: 3px; border-radius: 2px; background: rgba(241, 239, 233, 0.14); transition: background-color 200ms var(--ease); }
.pl-prog i.is-ok { background: var(--gold); }
.pl-prog i.is-no { background: rgba(241, 239, 233, 0.42); }
.pl-prog i.is-now { background: rgba(241, 239, 233, 0.7); }
.pl-game { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--gold); }
.pl-q { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.25; margin: 0 0 8px; text-wrap: balance; }
.pl-q:focus { outline: none; }
.pl-hint, .pl-ctx { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pl-extra-note { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.pl-quote { margin: 6px 0 20px; padding: 14px 16px; border-radius: 14px; background: rgba(241, 239, 233, 0.04); font-family: var(--serif); font-size: 20px; line-height: 1.42; color: var(--ink); text-wrap: pretty; overflow-wrap: anywhere; }
.pl-opts { display: grid; gap: 10px; margin: 0 0 6px; }
.pl-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(241, 239, 233, 0.24); background: #121215; color: var(--ink); font-size: 16.5px; font-weight: 500; line-height: 1.35; text-align: left; cursor: pointer; overflow-wrap: anywhere; transition: border-color 160ms var(--ease), background-color 160ms var(--ease), opacity 160ms var(--ease); }
.pl-opt:hover:not([disabled]) { border-color: rgba(241, 239, 233, 0.55); }
.pl-opt[disabled] { cursor: default; }
.pl-opt-l { flex: 1; min-width: 0; }
.pl-opt-sub { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }
.pl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.pl-mark { flex: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pl-opt.is-answer { border-color: var(--gold); background: rgba(232, 193, 105, 0.1); }
.pl-opt.is-answer .pl-mark { color: var(--gold); }
.pl-opt.is-wrong { border-color: rgba(229, 138, 122, 0.75); background: rgba(229, 138, 122, 0.07); }
.pl-opt.is-wrong .pl-mark { color: #f0a596; }
.pl-opt.is-dim { opacity: 0.55; }

.pl-reveal { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.pl-verdict { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.pl-verdict.ok { color: var(--gold); }
.pl-rtext { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.pl-src { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.pl-link { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(232, 193, 105, 0.6); text-underline-offset: 4px; }
.pl-link:hover { text-decoration-color: var(--gold); }
.pl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 20px 0 0; }

.pl-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity 160ms var(--ease); }
.pl-primary:hover { opacity: 0.92; }
.pl-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(241, 239, 233, 0.3); background: transparent; color: var(--ink); font-size: 15.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color 160ms var(--ease); }
.pl-quiet:hover { border-color: rgba(241, 239, 233, 0.6); }
.pl-quiet[disabled], .pl-primary[disabled] { opacity: 0.5; cursor: default; }
.pl-text { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(241, 239, 233, 0.25); text-underline-offset: 4px; }
.pl-text:hover { color: var(--ink); }

/* The Number */
.pl-range { margin: 0 0 18px; font-size: 16px; color: var(--ink-2); }
.pl-range b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pl-guess { display: flex; gap: 10px; margin: 0 0 6px; }
.pl-guess label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(241, 239, 233, 0.3); background: #121215; transition: border-color 160ms var(--ease); }
.pl-guess label:focus-within { border-color: rgba(241, 239, 233, 0.7); }
.pl-guess .pl-affix { flex: none; font-size: 15px; color: var(--muted); white-space: nowrap; }
.pl-guess input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); font: 500 18px/1 var(--sans); outline: none; font-variant-numeric: tabular-nums; }
.pl-guess input::placeholder { color: #8f8a80; font-weight: 400; }
.pl-err { min-height: 22px; margin: 0 0 6px; font-size: 14.5px; color: #f0a596; }
.pl-guesses { list-style: none; margin: 4px 0 0; padding: 0; }
.pl-guesses li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-variant-numeric: tabular-nums; }
.pl-guesses li span:last-child { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pl-guesses li.ok span:last-child { color: var(--gold); }

/* Results */
.pl-result h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
.pl-big { margin: 14px 0 10px; font-family: var(--serif); font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-sub { margin: 0 0 16px; font-size: 15.5px; color: var(--ink-2); }
.pl-chal { margin: 18px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.pl-chal a { color: var(--ink-2); }
.pl-fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.pl-ask { margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pl-ask p { margin: 0 0 10px; font-size: 16px; color: var(--ink-2); }
.pl-ask-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-ask input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(241, 239, 233, 0.3); background: #121215; color: var(--ink); font: 400 16px/1.2 var(--sans); }
.pl-ask input[type="email"]::placeholder { color: #8f8a80; }
.pl-ask input[type="email"]:focus { outline: 2px solid rgba(241, 239, 233, 0.7); outline-offset: 1px; border-color: transparent; }
.pl-ask-msg { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); min-height: 20px; }
.pl-ask-msg.err { color: #f0a596; }
.pl-empty { margin: 8px 0 18px; font-family: var(--serif); font-size: 22px; line-height: 1.35; }

/* ---- your week ---- */
.pl-week { border-top: 1px solid var(--line); padding: 0 0 8px; }
.pl-days { list-style: none; display: flex; justify-content: space-between; gap: 4px; max-width: 360px; margin: 0 0 14px; padding: 0; }
.pl-days li { display: grid; justify-items: center; gap: 6px; min-width: 32px; font-size: 13px; color: var(--muted); }
.pl-days i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #2a2a30; }
.pl-days b { min-height: 16px; font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pl-days .is-played i { background: var(--gold); }
.pl-days .is-future i, .pl-days .is-today:not(.is-played) i { background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.24); }
.pl-days .is-today:not(.is-played) i { box-shadow: inset 0 0 0 1.5px rgba(241, 239, 233, 0.75); }
.pl-days .is-played.is-today i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(241, 239, 233, 0.75); }
.pl-days .is-before i { background: transparent; }
.pl-days .is-before span { opacity: 0.55; }
.pl-days .is-today { color: var(--ink); font-weight: 600; }
.pl-week-line { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-2); }

/* ---- how it works ---- */
.pl-note { margin: 18px 0 0; font-size: 15.5px; color: var(--ink-2); }
.pl-about { margin: 28px 0 0; padding: 28px 0 8px; border-top: 1px solid var(--line); }
.pl-about h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0 0 16px; }
.pl-about dl { display: grid; gap: 14px; margin: 0; }
.pl-about dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.pl-about dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .pl-in { animation: pl-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .pl-reveal { animation: pl-in 200ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes pl-in { from { opacity: 0; transform: translateY(6px); } }

@media (min-width: 400px) {
  .lb.big .t { width: 50px; height: 50px; font-size: 22px; }
}

@media (min-width: 700px) {
  .pl-about dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
}

/* desktop: the lobby three across, the head split */
@media (min-width: 900px) {
  .pl { padding: 0 32px 16px; }
  .pl-head { padding: 52px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: 48px; align-items: end; }
  .pl-date { grid-column: 1 / -1; }
  .pl-head h1 { margin: 0; }
  .pl-promise { padding-bottom: 4px; font-size: 18px; }
  .lob-clock { grid-column: 2; }
  .sec-head, .lob-head { padding-top: 40px; margin-bottom: 22px; }
  .sec-head h2, .lob-head h2 { font-size: 32px; }
  .pl-about dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .pl-q { font-size: 23px; }
  .pl-quote { font-size: 19px; }
  .pl-acts .pl-primary, .pl-acts .pl-quiet { flex: 1 1 100%; }
  .pl-guess { flex-wrap: wrap; }
  .pl-guess label { flex: 1 1 100%; }
  .pl-guess .pl-primary { flex: 1 1 100%; }
  .pl-ask-row button { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .pl-big { font-size: 44px; }
  .wb { --c: 13px; }
  .tb, .kb { --c: 14px; padding: 4px; }
  .gb { grid-template-columns: repeat(4, 18px); gap: 3px; }
  .gb .g { width: 18px; height: 18px; font-size: 11px; }
  .nb { grid-template-columns: repeat(3, 25px); gap: 4px; }
  .nb .n { width: 25px; height: 25px; font-size: 14px; }
  .lb.big .t { width: 42px; height: 42px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.pl-tip { margin: 0; font-size: 15px; line-height: 1.45; color: var(--gold); }
.pl-tip:empty { display: none; }
html.gm-play .pl-start { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }

/* ---- a news game in game mode (/play/shell.css): the bar, the question filling the screen, the
   answers and Next anchored at the bottom; the result reads as a page ---- */
html.gm .pl { max-width: none; padding: 0; }
html.gm .pl-stage { max-width: none; margin: 0; padding: 0; }
.pl-stage > .pl-round, .pl-stage > .pl-result, .pl-stage > .kt-result { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 16px; }
html.gm-play .pl-round { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pl-rtop { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 0 4px; }
.pl-rtop .pl-prog { flex: 1; margin: 0; }
.pl-body { padding: 14px 0 12px; }
html.gm-play .pl-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pl-body .pl-reveal { margin-top: 14px; }
.pl-foot { flex: none; display: grid; gap: 10px; padding: 10px 0 max(12px, env(safe-area-inset-bottom)); }
html.gm-play .pl-foot { border-top: 1px solid var(--line); }
.pl-foot .pl-opts { margin: 0; }
html.gm-play .pl-foot { display: flex; flex-direction: column; max-height: 74%; }
html.gm-play .pl-foot .pl-opts { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* rows as tall as their words: in a squeezed box the grid shrank them and long headlines spilled out */
.pl-opts { grid-auto-rows: max-content; }
html.gm-play .pl-foot .pl-next, html.gm-play .pl-foot .pl-guess { flex: none; }
.pl-opts.is-done { gap: 8px; }
/* once answered, only your pick and the answer stay, so the reveal has the room */
.pl-opts.is-done .pl-opt.is-dim { display: none; }
.pl-opts.is-done .pl-opt { min-height: 46px; padding: 9px 14px; font-size: 15.5px; }
.pl-opts.is-done .pl-opt-sub { display: none; }
.pl-next { width: 100%; min-height: 52px; }
.pl-foot .pl-guess { margin: 0; flex-wrap: nowrap; }
.pl-foot .pl-guess label { flex: 1 1 0; min-width: 0; }
.pl-foot .pl-guess input { width: 100%; }
.pl-foot .pl-guess .gm-primary { flex: none; min-height: 54px; padding: 0 22px; }
.pl-foot .pl-err { margin: 0; min-height: 0; }
.pl-foot .pl-err:empty { display: none; }
.pl-round.is-number .pl-guesses li { min-height: 42px; }
.pl-result .pl-sqs { margin: 18px 0 0; }
.pl-how { margin: 0 0 12px; padding-left: 22px; }
.pl-how li { margin: 0 0 6px; }
@media (max-width: 360px) {
  .pl-q { font-size: 21px; }
  .pl-quote { font-size: 17.5px; padding: 12px 14px; }
}
@media (max-height: 640px) {
  .pl-opt { min-height: 50px; padding: 11px 14px; }
  .pl-quote { font-size: 17px; }
  .pl-q { font-size: 21px; }
}

/* ---- the lobby (round 9): tiles with emblems, a result in miniature or a Play cue ---- */
.lob-clock { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.lob-clock strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lob-sec { padding: 0 0 6px; }
.lob-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 28px 0 0; margin: 0 0 16px; }
.lob-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.18; letter-spacing: -0.01em; }
.lob-left { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.lob-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lob-grid > li { display: flex; min-width: 0; }
.lob-tile { --kt-edge-c: #050506; position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; min-height: 178px; padding: 16px 14px 14px 16px; border-radius: 18px; border: 1px solid rgba(241, 239, 233, 0.12); background: #141417; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lob-tile:hover { border-color: rgba(241, 239, 233, 0.26); background: #17171b; }
.lob-emb { display: block; color: var(--gold); }
.lob-t { flex: 1 1 auto; display: grid; align-content: start; gap: 4px; min-width: 0; }
.lob-name { font-family: var(--serif); font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.lob-short { font-size: 14.5px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.lob-s { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-height: 38px; }
.lob-cue { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 76px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(241, 239, 233, 0.3); font-size: 15px; font-weight: 600; color: var(--ink); transition: border-color 160ms var(--ease); }
.lob-tile:hover .lob-cue { border-color: rgba(241, 239, 233, 0.6); }
.lob-cue.is-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lob-min { font-size: 13px; color: var(--muted); white-space: nowrap; }
.lob-tile.is-played { background: #111114; }
.lob-tile.is-played::after { content: ""; position: absolute; top: 18px; right: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lob-done { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lob-mini { flex: none; display: grid; gap: 2px; }
.lob-mini > span { display: flex; gap: 2px; }
.lob-mini i { width: 7px; height: 7px; border-radius: 2px; background: #2a2a30; }
.lob-mini i.is-ring { background: transparent; }
.lob-mini i.is-up, .lob-mini i.is-down { background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.45); }
.lob-res { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* the news games: one list on a phone, each a row */
.lob-grid-news { grid-template-columns: minmax(0, 1fr); }
.lob-grid-news .lob-tile { flex-direction: row; align-items: center; gap: 14px; min-height: 84px; padding: 14px 14px 14px 16px; }
.lob-grid-news .lob-t { align-content: center; }
.lob-grid-news .lob-s { flex: none; flex-direction: column; align-items: flex-end; justify-content: center; }
.lob-grid-news .lob-done { flex-direction: column; align-items: flex-end; gap: 6px; }
.lob-grid-news .lob-res { white-space: nowrap; }
.lob-grid-news .lob-min { display: none; }
.lob-grid-news .lob-tile.is-played::after { top: 12px; right: 12px; }
.lob-news .pl-news-note { margin-top: 14px; }

/* how each puzzle works, folded */
.pl-howall { margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.pl-howall h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.pl-howall-list { display: grid; }
.pl-howall .pz-how { margin: 0; border-bottom: 1px solid var(--line); }
.pl-howall .pz-how summary { display: flex; min-height: 52px; font-size: 16px; color: var(--ink); }
.pl-howall .pz-how summary::after { margin-left: auto; }
.pl-howall .pz-how ol { margin-top: 0; }
.pl-howall .pz-how .pz-meta { margin: 10px 0 16px; font-size: 14px; color: var(--muted); }
.pl-howall .pz-how .pz-meta a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

@media (max-width: 359px) {
  .lob-grid { gap: 10px; }
  .lob-tile { padding: 14px 12px 12px 14px; min-height: 168px; }
  .lob-name { font-size: 21px; }
  .lob-short { font-size: 14px; }
  .lob-cue { min-width: 64px; padding: 0 14px; }
  .lob-min { display: none; }
}
@media (min-width: 700px) {
  .lob-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .lob-tile { min-height: 212px; padding: 22px 20px 18px 22px; gap: 16px; }
  .lob-tile .kt-emb { width: 46px; height: 46px; }
  .lob-name { font-size: 27px; }
  .lob-short { font-size: 15.5px; }
  .lob-grid-news .lob-tile { flex-direction: column; align-items: stretch; min-height: 0; }
  .lob-grid-news .lob-s { flex-direction: row; align-items: center; justify-content: space-between; }
  .lob-grid-news .lob-min { display: inline; }
  .lob-grid-news .lob-done { flex-direction: row; align-items: center; gap: 10px; }
  .lob-grid-news .lob-tile.is-played::after { top: 24px; right: 20px; }
  .lob-tile.is-played::after { top: 24px; right: 20px; }
  .pl-howall-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}

/* ---- the news games' How to play demos: the game's own pieces in miniature ---- */
.dm { position: relative; width: 100%; max-width: 270px; display: grid; gap: 10px; }
.dm-bar { display: block; height: 7px; border-radius: 4px; background: rgba(241, 239, 233, 0.2); }
.dm-bar.is-serif { height: 10px; background: rgba(241, 239, 233, 0.55); }
.dm-q { display: grid; gap: 7px; }
.dm-list { display: grid; gap: 7px; transition: opacity 300ms var(--gm-quart), translate 300ms var(--gm-quart); }
.dm-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(241, 239, 233, 0.24); background: #16161a; box-shadow: 0 3px 0 #050506; transition: translate 90ms var(--gm-quart), box-shadow 90ms var(--gm-quart), border-color 200ms var(--ease), background-color 200ms var(--ease), opacity 200ms var(--ease); }
.dm-opt .dm-bar { flex: none; }
.dm-mark { font-size: 12px; font-weight: 700; color: var(--gold); opacity: 0; transition: opacity 200ms var(--ease); }
.dm-opts.is-intro[data-f="0"] .dm-list { opacity: 0; translate: 0 8px; }
.dm-opts.is-tap[data-f="1"] .dm-opt:nth-child(2) { translate: 0 2px; box-shadow: 0 1px 0 #050506; border-color: rgba(241, 239, 233, 0.6); }
.dm-opts.is-tap[data-f="2"] .dm-opt:nth-child(2), .dm-opt.is-right { border-color: var(--gold); background: rgba(232, 193, 105, 0.13); }
.dm-opts.is-tap[data-f="2"] .dm-opt:nth-child(2) .dm-mark, .dm-opt.is-right .dm-mark { opacity: 1; }
.dm-opts.is-tap[data-f="2"] .dm-opt:not(:nth-child(2)) { opacity: 0.4; }
.dm-card { display: grid; gap: 7px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #151518; transition: opacity 320ms var(--gm-quart), translate 320ms var(--gm-quart); }
.dm-reveal[data-f="0"] .dm-card { opacity: 0; translate: 0 10px; }
.dm-verdict { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--gold); }
.dm-src { font-size: 12px; color: var(--muted); }
.dm-input { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(241, 239, 233, 0.4); background: #121215; font-size: 19px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dm-pre { color: var(--muted); font-weight: 500; }
.dm-typed i { display: none; font-style: normal; }
.dm-guess[data-f="1"] .dm-typed i:nth-child(1), .dm-guess[data-f="2"] .dm-typed i:nth-child(-n + 2), .dm-guess[data-f="3"] .dm-typed i { display: inline; }
.dm-caret { width: 2px; height: 22px; background: var(--gold); }
.dm-go { justify-self: stretch; display: grid; place-items: center; height: 38px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 3px 0 #9d998f; transition: translate 90ms var(--gm-quart), box-shadow 90ms var(--gm-quart); }
.dm-guess[data-f="3"] .dm-go { translate: 0 2px; box-shadow: 0 1px 0 #9d998f; }
.dm-rows { gap: 0; }
.dm-row { display: flex; align-items: center; justify-content: space-between; height: 40px; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; transition: opacity 260ms var(--gm-quart), translate 260ms var(--gm-quart); }
.dm-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dm-rows[data-f="0"] .dm-row:nth-child(n + 2), .dm-rows[data-f="1"] .dm-row:nth-child(n + 3) { opacity: 0; translate: 0 -6px; }
.dm-pips { justify-items: center; gap: 18px; }
.dm-pipline { display: flex; gap: 7px; width: 100%; }
.dm-pipline i { flex: 1; height: 7px; border-radius: 4px; background: rgba(241, 239, 233, 0.14); transition: background-color 220ms var(--ease); }
.dm-pips[data-f="1"] .p0, .dm-pips[data-f="2"] :is(.p0, .p1), .dm-pips[data-f="3"] :is(.p0, .p1, .p2) { background: rgba(241, 239, 233, 0.45); }
.dm-pips[data-f="3"] .p3 { background: var(--gold); }
.dm-got { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--gold); opacity: 0; transition: opacity 260ms var(--ease); }
.dm-pips[data-f="3"] .dm-got { opacity: 1; }
.dm-pair { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.dm-card2 { display: grid; align-content: end; justify-items: center; gap: 10px; height: 136px; padding: 12px; border-radius: 14px; border: 1px solid rgba(241, 239, 233, 0.24); background: #16161a; box-shadow: 0 3px 0 #050506; transition: translate 90ms var(--gm-quart), box-shadow 90ms var(--gm-quart), border-color 200ms var(--ease), background-color 200ms var(--ease), opacity 300ms var(--gm-quart); }
.dm-col { display: block; width: 26px; border-radius: 5px 5px 2px 2px; background: rgba(241, 239, 233, 0.4); transition: background-color 200ms var(--ease); }
.dm-card2 .dm-bar { width: 70%; }
.dm-vs { font-family: var(--serif); font-size: 16px; color: var(--muted); }
.dm-pair.is-intro[data-f="0"] .dm-card2 { opacity: 0; translate: 0 8px; }
.dm-pair.is-tap[data-f="1"] .is-b { translate: 0 2px; box-shadow: 0 1px 0 #050506; border-color: rgba(241, 239, 233, 0.6); }
.dm-pair.is-tap[data-f="2"] .is-b { border-color: var(--gold); background: rgba(232, 193, 105, 0.12); }
.dm-pair.is-tap[data-f="2"] .is-b .dm-col { background: var(--gold); }
.dm .sq { flex: none; }

/* the tactile answers in a round */
.pl-opt.kt-depth { --kt-edge-c: #050506; --kt-pop: 1.03; background: #17171b; }
.pl-opt.kt-depth:hover:not([disabled]) { background: #1b1b20; }
.pl-opt.is-answer.kt-depth { background: rgba(232, 193, 105, 0.12); }
.pl-opt[disabled].kt-depth { transform: none; }
.gm-figs.pl-figs3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- the shelf: each puzzle with a small real board of its own; the next one is the big tile ---- */
.lob-shelf { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lob-cell.is-big { order: -1; }
.lob-tile.is-shelf { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "art t" "art s"; align-items: center; column-gap: 16px; row-gap: 8px; min-height: 0; padding: 12px 14px 12px 12px; }
.lob-art { --t: 15px; --w: 13px; --k: 12px; --g: 16px; --n: 22px; grid-area: art; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 12px; background: #0e0e11; box-shadow: inset 0 0 0 1px rgba(241, 239, 233, 0.06); overflow: hidden; }
.is-shelf .lob-t { grid-area: t; align-self: end; }
.is-shelf .lob-s { grid-area: s; align-self: start; justify-content: flex-start; gap: 12px; min-height: 0; }
.lob-nm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lob-nm .lob-emb .kt-emb { width: 22px; height: 22px; }
.is-shelf .lob-name { font-size: 21px; }
.is-shelf .lob-short { font-size: 14.5px; }
.lob-tile.is-shelf.is-played::after { top: 14px; right: 14px; }
/* the boards, sized by the tokens above */
.lob-art .lb { gap: calc(var(--t) * 0.18); }
.lob-art .lb .lb-row { gap: calc(var(--t) * 0.18); }
.lob-art .lb.big .t { width: var(--t); height: var(--t); font-size: calc(var(--t) * 0.5); border-radius: calc(var(--t) * 0.16); }
.lob-cell:not(.is-big) .lob-art .lb-row:not(:nth-child(2)) { display: none; }
.lob-art .wb { --c: var(--w); --gp: calc(var(--w) * 0.16); }
.lob-art .tb, .lob-art .kb { --c: var(--k); --gp: calc(var(--k) * 0.16); padding: calc(var(--k) * 0.32); border-radius: calc(var(--k) * 0.5); }
.lob-art .gb { grid-template-columns: repeat(4, var(--g)); gap: calc(var(--g) * 0.16); }
.lob-art .gb .g { width: var(--g); height: var(--g); font-size: calc(var(--g) * 0.52); border-radius: calc(var(--g) * 0.2); }
.lob-art .nb { grid-template-columns: repeat(3, var(--n)); gap: calc(var(--n) * 0.16); }
.lob-art .nb .n { width: var(--n); height: var(--n); font-size: calc(var(--n) * 0.56); border-radius: calc(var(--n) * 0.22); }
.lob-art .nb .n.mid { border-radius: 50%; }
/* a played puzzle: its own result, in miniature, where the board was */
.lob-mini.is-art { gap: 3px; }
.lob-mini.is-art > span { gap: 3px; }
.lob-mini.is-art i { width: 9px; height: 9px; border-radius: 2.5px; }
.lob-art.is-result { background: #0b0b0d; }
/* the big tile: the next puzzle, its board large, its off-white Play */
.lob-cell.is-big .lob-tile.is-shelf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "t" "s"; align-items: stretch; row-gap: 12px; padding: 14px 16px 16px; border-color: rgba(241, 239, 233, 0.2); background: #16161a; }
.lob-cell.is-big .lob-art { --t: 38px; --w: 24px; --k: 24px; --g: 30px; --n: 40px; width: 100%; height: 176px; border-radius: 14px; }
.lob-cell.is-big .lob-name { font-size: 30px; }
.lob-cell.is-big .lob-nm .lob-emb .kt-emb { width: 26px; height: 26px; }
.lob-cell.is-big .lob-short { font-size: 16px; }
.lob-cell.is-big .lob-cue { min-height: 48px; padding: 0 30px; font-size: 16px; }
@media (max-width: 359px) {
  .lob-tile.is-shelf { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; }
  .lob-art { --t: 13px; --w: 11px; --k: 10.5px; --g: 14px; --n: 19px; width: 80px; height: 80px; }
  .lob-cell.is-big .lob-art { --t: 34px; --w: 21px; --k: 21px; --g: 27px; --n: 36px; height: 160px; }
  .lob-mini.is-art i { width: 8px; height: 8px; }
  .lob-mini.is-art, .lob-mini.is-art > span { gap: 2px; }
}
@media (min-width: 700px) {
  .lob-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; }
  .lob-cell.is-big { grid-column: span 2; grid-row: span 2; }
  .lob-tile.is-shelf { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 18px 18px 14px; }
  .lob-tile.is-shelf .lob-art { --t: 22px; --w: 17px; --k: 17px; --g: 22px; --n: 30px; width: 100%; height: 128px; flex: none; }
  .lob-tile.is-shelf .lob-t { align-self: stretch; padding-left: 4px; }
  .lob-tile.is-shelf .lob-s { padding-left: 4px; justify-content: space-between; }
  .is-shelf .lob-name { font-size: 24px; }
  .lob-mini.is-art i { width: 12px; height: 12px; border-radius: 3px; }
  .lob-cell.is-big .lob-tile.is-shelf { height: 100%; padding: 18px 22px 22px 18px; }
  .lob-cell.is-big .lob-tile.is-shelf .lob-art { --t: 54px; --w: 34px; --k: 34px; --g: 44px; --n: 58px; height: auto; flex: 1 1 auto; min-height: 300px; }
  .lob-cell.is-big .lob-name { font-size: 38px; }
  .lob-cell.is-big .lob-short { font-size: 17px; }
}

/* ---- a round that feels like a game: numbered pips, big answer tiles, a reveal moment ---- */
.pl-rtop .pl-prog { display: flex; gap: 8px; }
.pl-rtop .pl-prog i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(241, 239, 233, 0.2); font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: background-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease); }
.pl-rtop .pl-prog i.is-now { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.pl-rtop .pl-prog i.is-ok { background: var(--gold); box-shadow: 0 2px 0 var(--kt-gold-edge); color: #141210; }
.pl-rtop .pl-prog i.is-no { background: #26262b; box-shadow: none; color: var(--muted); }
.pl-rtop .pl-count { margin-left: auto; }
.pl-opt.kt-depth { min-height: 64px; padding: 14px 16px 14px 12px; border-radius: 16px; font-size: 17.5px; }
.pl-key { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #232328; box-shadow: 0 2px 0 #050506; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pl-opt.is-answer .pl-key { background: var(--gold); color: #141210; box-shadow: 0 2px 0 var(--kt-gold-edge); }
.pl-opt.is-wrong .pl-key { background: rgba(229, 138, 122, 0.25); color: #f0a596; }
.pl-reveal .pl-verdict { font-size: 25px; }
.pl-reveal .pl-verdict.ok { --kt-pop: 1.18; }
.pl-reveal { border-color: rgba(241, 239, 233, 0.14); }
.pl-reveal:has(.pl-verdict.ok) { border-color: rgba(232, 193, 105, 0.45); background: rgba(232, 193, 105, 0.05); }
.pl-opts.is-done .pl-opt.kt-depth { min-height: 52px; }
/* Higher or Lower: the pair as two big cards side by side, the question centred above */
html.gm-play .pl-round.is-pair .pl-body { display: flex; flex-direction: column; justify-content: center; }
.pl-round.is-pair .pl-q { font-size: 27px; text-align: center; }
.pl-round.is-pair .pl-hint { text-align: center; }
.pl-round.is-pair .pl-opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.pl-round.is-pair .pl-opt.kt-depth { flex-direction: column; justify-content: center; gap: 12px; min-height: clamp(150px, 30vh, 240px); padding: 18px 12px; text-align: center; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.25; }
.pl-round.is-pair .pl-opt-l { flex: none; }
.pl-round.is-pair .pl-opt-sub { font-family: var(--sans); }
.pl-round.is-pair .pl-mark { min-height: 1.2em; font-family: var(--sans); }
.pl-round.is-pair .pl-opts.is-done .pl-opt.is-dim { display: flex; opacity: 0.5; }
.pl-round.is-pair .pl-opts.is-done .pl-opt.kt-depth { min-height: 96px; padding: 12px 10px; font-size: 18px; }
html.gm-play .pl-round.is-pair .pl-foot { max-height: 62%; }
@media (max-width: 380px) {
  .pl-rtop .pl-prog { gap: 6px; }
  .pl-rtop .pl-prog i { width: 27px; height: 27px; font-size: 12px; }
  .pl-round.is-pair .pl-q { font-size: 23px; }
  .pl-round.is-pair .pl-opt.kt-depth { font-size: 19px; }
}
/* A phone on its side or the smallest phones: no room for a scrolling question box above a
   scrolling answer box (the summary vanished under the question). The round scrolls as one column. */
@media (max-height: 600px) {
  html.gm-play .pl-round { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  html.gm-play .pl-body { flex: none; overflow: visible; }
  html.gm-play .pl-foot, html.gm-play .pl-round.is-pair .pl-foot { flex: none; max-height: none; }
  html.gm-play .pl-foot .pl-opts { overflow: visible; }
  html.gm-play .pl-round.is-pair .pl-body { justify-content: flex-start; }
  html.gm-play .pl-round.is-pair .pl-opt.kt-depth { min-height: 120px; }
}


/* Round 10: the one quiet line under the six puzzles that leads to /play/together. */
.lob-together { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.lob-together a { display: inline-block; padding: 11px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lob-together a:hover { text-decoration-thickness: 2px; }
