/* Perya Night: the look of the games section (approved mockups, 2026-11-12; see brain/games.md).
   Every games page sets body.t-perya (templates/games/_base.html). The first two blocks override the site tokens of
   static/site.css, so the menu, the footer and every games file that reads the tokens follow without more rules.
   Light is the base block, dark sits under [data-theme="dark"]: the site theme toggle stays the one switch.
   Then the parts of the mockups. Classes start with py- (the page) or keep the old gb-, ga-, gw- hooks that the
   tests and board.js read. Bump ?v= in templates/games/_perya.html when this file changes.
   Contrast: --txt-2 7.1 on --card in light, 7.4 on --card in dark; --py-acct 5.6 on --bg in light. */
body.t-perya {
  --bg: #FAF9F6; --card: #FFFFFF; --sunk: #F0EEE8; --line: #DDD8CF;
  --txt: #1B1512; --txt-hi: #1B1512; --txt-2: #5F574F; --txt-3: #625A52;
  --on-hi: #FAF9F6; --on-hi-2: rgba(250,249,246,.78);
  --tang: #F7C948; --tang-ink: #8A5B00; --tang-on: #1D1503; --sun: #F7C948; --sun-ink: #8A5B00; --sun-on: #1D1503;
  --link: #8A5B00; --r: 20px; --r2: 14px;
  --ui: "Bricolage Grotesque", system-ui, sans-serif; --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --py-acc: #F7C948; --py-accink: #1D1503; --py-acct: #8A5B00; --py-felt: #5A1F1A;
  --py-feltink: #FBEFD2; --py-feltt2: #E3C9A4; --py-win: #1F7A3D; --py-lose: #B3261E;
  --py-gold: #F7C948; --py-silver: #CDD1D8; --py-bronze: #D49A62; --py-shadow: rgba(40,25,10,.12);
  background: var(--bg); color: var(--txt);
}
[data-theme="dark"] body.t-perya {
  --bg: #14100E; --card: #1F1916; --sunk: #2A221E; --line: #3A302A;
  --txt: #F5EFE6; --txt-hi: #F5EFE6; --txt-2: #B5AA9D; --txt-3: #A89C8F;
  --on-hi: #14100E; --on-hi-2: rgba(20,16,14,.62);
  --tang-ink: #F7C948; --sun-ink: #F7C948; --link: #F7C948;
  --py-acct: #F7C948; --py-felt: #3B1613; --py-win: #6FD08C; --py-lose: #FF8A80; --py-shadow: rgba(0,0,0,.5);
}
body.t-perya main.page { max-width: 1332px; }
.t-perya :focus-visible { outline: 3px solid var(--py-acct); outline-offset: 2px; }

/* ---------- the sub-row, shared parts ---------- */
.py-sub { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.py-sub::-webkit-scrollbar { display: none; }
.py-sub a, .py-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: 700 14px var(--ui); color: var(--txt); white-space: nowrap; flex: none; }
.py-sub a:hover, .py-pills a:hover { text-decoration: none; border-color: var(--py-acct); }
.py-sub a.on, .py-pills a[aria-current] { background: var(--py-acc); border-color: var(--py-acc); color: var(--py-accink); }
.py-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.py { font-size: 16px; line-height: 1.5; color: var(--txt); min-width: 0; }
.py h1, .py h2, .py h3 { color: var(--txt-hi); font-family: var(--display); }
.py-tag { font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--py-acct); }
.py-tag a { color: inherit; }
.py-mono { font: 400 14px var(--mono); color: var(--txt-2); }
.py-lead { font-size: 20px; color: var(--txt-2); max-width: 30em; }
.py-note { font-size: 14px; color: var(--txt-2); }
.py-more { font-weight: 700; color: var(--txt-hi); border-bottom: 2px solid var(--py-acc); padding-bottom: 2px; white-space: nowrap; align-self: flex-start; }
.py-more:hover { text-decoration: none; color: var(--py-acct); }
.py-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px var(--ui); border: 1.5px solid var(--line); background: var(--card); color: var(--txt-hi); white-space: nowrap; cursor: pointer; text-decoration: none; }
.py-btn:hover { text-decoration: none; border-color: var(--py-acct); }
.py-btn.pri { background: var(--py-acc); border-color: var(--py-acc); color: var(--py-accink); }
.py-btn.pri:hover { filter: brightness(1.06); }
.py-btn.sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.py-btn.off { cursor: default; color: var(--txt-2); font-size: 15px; }
.py-btn.off:hover { border-color: var(--line); }
form > .py-btn { width: 100%; }
.py-bulbs { display: flex; justify-content: space-between; padding: 0 4px 18px; }
.py-bulbs i { width: 10px; height: 10px; border-radius: 50%; background: var(--py-acc); opacity: .9; }
.py-bulbs i:nth-child(even) { opacity: .35; }
.py-cell { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.py-cell h3, .py-cell > h2:not(.py-tag) { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.py-big { font: 700 56px/1 var(--mono); letter-spacing: -.03em; color: var(--txt-hi); }
.py-big small { font-size: 16px; color: var(--txt-2); margin-left: 8px; letter-spacing: 0; }
.py-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; padding: 28px 0 0; }
.py-top h1 { font-size: 84px; line-height: .95; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 16px; }
.py-top h1 em { font-style: normal; color: var(--py-acct); }
.py-sec { padding: 72px 0 0; }
.py-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; flex-wrap: wrap; }
.py-head h2 { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.py-head p { margin-top: 10px; color: var(--txt-2); font-size: 17px; }
.py-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.py-w7 { grid-column: span 7; } .py-w5 { grid-column: span 5; } .py-w4 { grid-column: span 4; } .py-w8 { grid-column: span 8; }
.py-list { list-style: none; margin: 0; padding: 0; }
.py-list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--txt-2); }
.py-list li b, .py-list li h3 { display: block; color: var(--txt-hi); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.py-empty { display: flex; gap: 14px; align-items: center; padding: 18px 0; color: var(--txt-2); }
.py-empty svg { flex: none; color: var(--py-acct); }
.py-empty b { display: block; color: var(--txt-hi); }
.py .up, .py .pos { color: var(--py-acct); }
.py .neg, .py .dn { color: var(--txt-2); }

/* ---------- the board: C Marquee (2026-11-14, see brain/games.md) ---------- */
/* The head row, a stage with a rail, today's strip, then all games beside two panels. Breakpoints are container
   queries on .gc: under 860 px the body stacks, under 640 px is the phone. No motion, so nothing to reduce. */
body:has(.gc, .pz) .py-sub { gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
body:has(.gc, .pz) .py-sub a { border: 0; border-radius: 6px; color: var(--txt-2); }
body:has(.gc, .pz) .py-sub a.on { background: var(--card); color: var(--txt-hi); }
.gc { font-variant-numeric: tabular-nums; container: gc / inline-size; }
.gb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 28px 0 0; }
.gb-head h1 { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.gb-wallet { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.gb-bal { display: inline-flex; align-items: center; gap: 8px; }
.gb-bal .py-ci { width: 26px; height: 26px; }
.gb-bal .ga-num { font: 800 24px/1 var(--ui); color: var(--txt-hi); }
.gb-bal .ga-num small { font-size: 13px; font-weight: 400; color: var(--txt-2); margin-left: 6px; }
.gc { display: grid; gap: 22px; }
.gc .py-btn { min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 800; font-size: 15px; }
.gc .py-more { position: relative; font-size: 14.5px; }
.gc .py-more::before { content: ""; position: absolute; inset: -12px -6px; }  /* a 44 px tap area */
.gc button.py-more { background: none; border: 0; border-bottom: 2px solid var(--py-acc); padding: 0 0 2px; font: 700 14.5px/1.5 var(--ui); cursor: pointer; }
.gc form { margin: 0; }
.gc-new { background: var(--py-acc); color: var(--py-accink); font: 800 11px/1 var(--ui); padding: 4px 7px; border-radius: 6px; letter-spacing: 0; }
.gc-stage { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 12px; }
.gc-feat { grid-column: 1; grid-row: 1; position: relative; border-radius: 18px; overflow: hidden; min-height: 400px; background: #201612; color: #fff; display: grid; align-content: end; isolation: isolate; }
.gc-feat[hidden] { display: none; }
.gc-feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gc-feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,7,4,.9) 0, rgba(12,7,4,.55) 42%, transparent 72%), linear-gradient(0deg, rgba(12,7,4,.6), transparent 45%); }
.gc-feat .in { padding: 28px; display: grid; gap: 10px; max-width: 470px; justify-items: start; }
.gc-feat h2 { font: 800 46px/1 var(--ui); letter-spacing: -.03em; color: #fff; }
.gc-feat p { color: #EFE3D0; font-size: 17px; }
.gc-feat .gc-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; font-weight: 700; color: #F7C948; }
.gc-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.gc .py-btn.gc-line { background: transparent; border-color: currentColor; color: #fff; }
.gc-rail { grid-column: 2; grid-row: 1; display: grid; gap: 8px; align-content: start; }
.gc-rail button { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid transparent; background: transparent; border-radius: 12px; padding: 5px; text-align: left; font: 700 14.5px/1.2 var(--ui); color: var(--txt-2); cursor: pointer; }
.gc-rail button:hover { color: var(--txt-hi); }
.gc-rail img { width: 78px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.gc-rail button[aria-pressed="true"] { background: var(--card); border-color: var(--line); color: var(--txt-hi); box-shadow: inset 3px 0 0 var(--py-acc); }
.gc-today { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.gc-today > div { padding: 14px 16px; border-left: 1px solid var(--line); display: grid; gap: 1px; align-content: start; justify-items: start; min-width: 0; }
.gc-today > div:first-child { border-left: 0; }
.gc-today .k { font-size: 13.5px; font-weight: 700; color: var(--txt-2); display: flex; gap: 6px; align-items: center; }
.gc-today .v { font: 800 22px/1.2 var(--ui); color: var(--txt-hi); }
.gc-today .py-more { margin-top: 4px; }
.gc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.gc-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.gc-h h2 { font: 800 22px/1.2 var(--ui); letter-spacing: -.01em; }
.gc-sort { display: inline-flex; background: var(--sunk); border-radius: 10px; padding: 3px; gap: 2px; }
.gc-sort button { border: 0; background: transparent; height: 34px; padding: 0 12px; border-radius: 8px; font: 700 13.5px var(--ui); color: var(--txt-2); cursor: pointer; }
.gc-sort button[aria-pressed="true"] { background: var(--card); color: var(--txt-hi); box-shadow: 0 1px 2px rgba(40,25,10,.12); }
.gc-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.gc-lr { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1.6fr) minmax(0, 1fr) 84px auto; gap: 14px; align-items: center; padding: 9px 14px 9px 9px; border-top: 1px solid var(--line); }
.gc-lr:first-child { border-top: 0; }
.gc-lr:hover { background: var(--sunk); }
.gc-pic { position: relative; width: 96px; height: 62px; border-radius: 9px; overflow: hidden; background: var(--sunk); }
.gc-pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gc-pic .gb-ltr { font-size: 32px; }
.gc-txt { min-width: 0; }
.gc-lr h3 { font: 800 16.5px/1.2 var(--ui); letter-spacing: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gc-lr h3 a { color: inherit; }
.gc-lr h3 a::after { content: ""; position: absolute; inset: 0; }  /* the whole row opens the details */
.gc-lr h3 a:hover { text-decoration: none; color: var(--py-acct); }
.gc-txt p { color: var(--txt-2); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-txt .gb-chip { font-weight: 800; color: var(--py-acct); }
.gc-f { font-size: 14px; font-weight: 700; color: var(--txt-hi); min-width: 0; }
.gc-f small, .gc-pl small { display: block; font-size: 13.5px; font-weight: 400; color: var(--txt-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-pl { font-size: 13.5px; color: var(--txt-2); text-align: right; }
.gc .gb-go { min-height: 36px; min-width: 0; padding: 0 14px; border-radius: 10px; font: 800 14px var(--ui); }
.gc .gb-go.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--txt-hi); }
.gc-side { display: grid; gap: 14px; }
.gc-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px; display: grid; gap: 8px; }
.gc-panel h3 { font: 800 17px/1.2 var(--ui); letter-spacing: 0; display: flex; gap: 8px; align-items: center; }
.gc-panel > .py-more { justify-self: start; margin-top: 4px; }
.gc-rk { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; font-size: 14.5px; color: var(--txt-hi); }
.gc-rk > span:first-child { color: var(--txt-2); }
.gc-rk .u { display: flex; gap: 8px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.gc-rk .av.sm { width: 22px; height: 22px; border-radius: 50%; flex: none; padding: 0; margin: 0; }  /* site.css .sm is a menu link */
.gc-rk .av.sm.fr { padding: 2.5px; }
.gc-rk .p { font-weight: 800; }
.gc-rk.you { margin: 0 -8px; padding: 8px; border-radius: 9px; background: var(--sunk); font-weight: 800; }
.gc-rk.you small { grid-column: 1 / -1; font-size: 13px; font-weight: 400; color: var(--txt-2); }
.gc-rk.mine .u, .gc-rk.mine .p { color: var(--py-acct); }
.gc-none { font-size: 14.5px; color: var(--txt-2); }
@container gc (max-width: 860px) {
  .gc-body { grid-template-columns: minmax(0, 1fr); }
  .gc-lr { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .gc-f, .gc-pl { display: none; }
}
@container gc (max-width: 640px) {
  .gc-stage { grid-template-columns: minmax(0, 1fr); }
  .gc-feat { min-height: 380px; }
  .gc-feat .in { padding: 18px; }
  .gc-feat h2 { font-size: 34px; }
  .gc-feat p { font-size: 15.5px; }
  .gc-feat::after { background: linear-gradient(0deg, rgba(12,7,4,.94) 30%, transparent 78%); }
  .gc-rail { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; scrollbar-width: none; }
  .gc-rail::-webkit-scrollbar { display: none; }
  .gc-rail button { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 3px; }
  .gc-rail img { width: 100%; }
  .gc-rail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gc-rail button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--py-acc); }
  .gc-today { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-today > div:nth-child(odd) { border-left: 0; }
  .gc-today > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gc-today .v { font-size: 19px; }
  .gc-lr { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
  .gc-pic { width: 72px; height: 52px; }
}
.py-game { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.py-g > .py-game { grid-column: span 4; }
.py-pic { position: relative; overflow: hidden; background: var(--sunk); aspect-ratio: 3 / 2; }
.py-pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.py-bdg { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.py-bdg span { font: 700 12px var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--txt-hi); }
.py-bdg .py-new { background: var(--py-acc); color: var(--py-accink); }
.py-cap { padding: 16px 20px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex: 1; }
.py-game h2, .py-game h3 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: anywhere; }
.py-game :is(h2, h3) a { color: inherit; font-weight: inherit; }
.py-game :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }  /* the whole tile, picture too, opens the details */
.py-game :is(h2, h3) a:hover { text-decoration: none; color: var(--py-acct); }
.gb-go { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 72px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--py-acc); color: var(--py-accink); font: 700 14px var(--ui); white-space: nowrap; }
.gb-go:hover { text-decoration: none; filter: brightness(1.06); }
.gb-go.off { background: var(--sunk); color: var(--txt-2); }
.gb-foot { max-width: none; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--txt-2); }
/* The bonus win: a dialog after "Take 20 free coins" (in place of the flash banner), opened on load. */
.gb-win { width: min(420px, calc(100% - 32px)); }
.gb-win::backdrop { background: radial-gradient(circle at 50% 40%, rgba(120, 60, 10, .55), rgba(10, 6, 4, .85) 70%); }
/* A lit perya sign: a row of bulbs top and bottom, light rays behind the coin, confetti. One look in light and dark. */
.gb-win .modal-c { position: relative; overflow: hidden; isolation: isolate; justify-items: center; gap: 6px; padding: 44px 28px 40px; border: 2px solid #E0AE33; border-radius: 6px; background: radial-gradient(circle at 50% 30%, #4A1A10, #22100B 70%); color: #FBEFD8; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.gb-win .modal-c::before, .gb-win .modal-c::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: -1; background: radial-gradient(circle, #FFE7A0 0 3px, #F7C948 3.5px 4px, transparent 4.5px) 0 50% / 22px 14px repeat-x; }
.gb-win .modal-c::before { top: 8px; }
.gb-win .modal-c::after { bottom: 8px; }
.gb-rays { position: absolute; left: 50%; top: 136px; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: repeating-conic-gradient(rgba(247, 201, 72, .2) 0 9deg, transparent 9deg 22.5deg); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 62%); mask-image: radial-gradient(circle, #000 20%, transparent 62%); }
.gb-conf { position: absolute; inset: 14px 0 auto; z-index: -1; width: 100%; height: auto; pointer-events: none; }
.gb-eye { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F7C948 !important; }
.gb-bigcoin { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF1B8, #F7C948 45%, #C8901C); box-shadow: inset 0 0 0 6px #E0AE33, inset 0 0 0 9px #FBE08A, 0 0 0 6px rgba(247, 201, 72, .18), 0 12px 28px rgba(0, 0, 0, .45); }
.gb-win h2 { margin-top: 14px; font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #F7C948; text-shadow: 0 3px 0 #7A2414; }
.gb-win p { max-width: 30ch; margin: 4px 0 16px; font-size: 16px; color: #F1DFC0; }
.gb-win .py-btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .gb-win[open] .gb-bigcoin { animation: gb-pop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
  .gb-win[open] .gb-conf g { animation: gb-fall 1.4s ease-out both; }
  .gb-win[open] .gb-rays { animation: gb-spin 24s linear infinite; }
  .gb-win[open] .modal-c::before, .gb-win[open] .modal-c::after { animation: gb-blink 1.2s steps(2, jump-none) infinite; }
}
@keyframes gb-pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
@keyframes gb-fall { from { transform: translateY(-50px); opacity: 0; } }
@keyframes gb-spin { to { transform: rotate(360deg); } }
@keyframes gb-blink { 50% { opacity: .55; } }

/* The two daily tiles (templates/games/_board_art.html), both "Print poster" from the mockup "Daily game tiles"
   (2026-11-13): flat spot inks, halftone dots and type that runs off the edge. Trivia is a navy duotone of Paoay
   Church with a big "?", Crossword huge letters on a navy grid. One look in light and dark; sizes in cqw. */
.gt-tv, .gt-cw { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: inline-size; line-height: 1.1; }
.gt-tv { background: #F05A33; }
.gt-tv .ph { position: absolute; right: 0; top: 0; width: 64cqw; height: 100%; background: #F4E6C6; overflow: hidden; }
.gt-tv .ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
.gt-tv .ph::after { content: ""; position: absolute; inset: 0; background: #1D2A5B; mix-blend-mode: lighten; }
.gt-tv .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle, #1D2A5B 30%, transparent 33%) 0 0 / 1.4cqw 1.4cqw; -webkit-mask-image: linear-gradient(0deg, #000, transparent 40%); mask-image: linear-gradient(0deg, #000, transparent 40%); }
.gt-tv .dots { position: absolute; inset: 0; width: 46cqw; background: radial-gradient(circle, #B8321A 32%, transparent 34%) 0 0 / 2cqw 2cqw; -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 90%); mask-image: linear-gradient(115deg, transparent 30%, #000 90%); }
.gt-tv .q { position: absolute; left: -3cqw; bottom: -14cqw; font: 400 62cqw/1 Anton, Impact, sans-serif; letter-spacing: -.02em; color: #F4E6C6; }
.gt-tv .card { position: absolute; left: 23cqw; top: 12cqw; z-index: 2; width: 38cqw; padding: 2.2cqw 2.6cqw 2.4cqw; background: #F4E6C6; color: #1D2A5B; transform: rotate(-3deg); box-shadow: 1.2cqw 1.2cqw 0 #1D2A5B; }
.gt-tv .card small { display: block; margin-bottom: .6cqw; font: 800 1.9cqw var(--ui); letter-spacing: .12em; text-transform: uppercase; color: #F05A33; }
.gt-tv .card strong { display: block; font: 400 7.6cqw/.95 Anton, Impact, sans-serif; text-transform: uppercase; }
.gt-tv .ans { position: absolute; left: 27cqw; top: 36cqw; z-index: 2; width: 44cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
.gt-tv .ans span { display: flex; align-items: center; gap: 1.2cqw; height: 6.6cqw; padding: 0 1.4cqw; background: #1D2A5B; color: #F4E6C6; font: 800 2.6cqw var(--ui); }
.gt-tv .ans span:first-child { background: #EAC54F; color: #1D2A5B; }
.gt-tv .ans b { font: 400 2.8cqw Anton, Impact, sans-serif; color: #F05A33; }
.gt-tv .tm { position: absolute; right: 4cqw; top: 4cqw; z-index: 2; display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: #EAC54F; color: #1D2A5B; font: 400 4.6cqw Anton, Impact, sans-serif; transform: rotate(8deg); box-shadow: .6cqw .6cqw 0 #1D2A5B; }
.gt-cw { background: #F4E6C6; }
.gt-cw .gc { position: absolute; left: -3cqw; top: -4cqw; display: grid; grid-template-columns: repeat(6, 16.5cqw); grid-auto-rows: 16.5cqw; gap: 1cqw; padding: 1cqw; background: #1D2A5B; transform: rotate(-4deg); transform-origin: 40% 30%; }
.gt-cw .gc s { background: #1D2A5B radial-gradient(circle, #3A4A8A 30%, transparent 33%) 0 0 / 1.6cqw 1.6cqw; }
.gt-cw .gc i { position: relative; display: grid; place-items: center; overflow: hidden; background: #F4E6C6; font: 400 14.5cqw/1 Anton, Impact, sans-serif; font-style: normal; color: #1D2A5B; }
.gt-cw .gc i.h { background: #F05A33; color: #F4E6C6; }
.gt-cw .gc sup { position: absolute; left: 1.2cqw; top: .9cqw; font: 800 2.6cqw/1 var(--ui); }
.gt-cw .st { position: absolute; right: 21cqw; bottom: 5cqw; display: grid; place-items: center; align-content: center; width: 16cqw; height: 16cqw; border-radius: 50%; background: #EAC54F; color: #1D2A5B; font: 800 2cqw var(--ui); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-10deg); box-shadow: .7cqw .7cqw 0 #1D2A5B; }
.gt-cw .st b { font: 400 6cqw/1 Anton, Impact, sans-serif; letter-spacing: 0; }
.gb-ltr { height: 100%; display: grid; place-items: center; font: 800 96px var(--display); color: var(--py-acct); }

/* ---------- shared marks ----------*/
.gb-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.py-ci { width: 18px; height: 18px; background: url(coin.svg?v=1) center / contain no-repeat; display: inline-block; flex: none; }

/* ---------- a play page: the title row ---------- */
.t-perya kbd { font: 400 12px var(--mono); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--txt-2); background: none; }
.t-perya .gm-stage { border-radius: 24px; }
.t-perya .gm-help { font-size: 14px; }
.t-perya .gm-pill { min-height: 44px; padding: 0 16px 0 8px; background: var(--card); border: 1px solid var(--line); color: var(--txt-hi); font: 700 15px var(--mono); }
.t-perya .gm-head h1 { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.t-perya .gm-crumb { font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--py-acct); }
.t-perya .gm-crumb a { color: inherit; text-decoration: none; }

/* ---------- phone and tablet ---------- */
@media (max-width: 1100px) {
  .py-top h1 { font-size: 64px; }
}
@media (max-width: 900px) {
  .py-top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; }
  .py-top h1 { font-size: 48px; }
  .py-lead { font-size: 18px; }
  .py-g { grid-template-columns: minmax(0, 1fr); }
  .py-g > * { grid-column: auto !important; }
  .py-cell { padding: 22px; }
  .py-sec { padding-top: 52px; }
  .py-head h2 { font-size: 36px; }
  .py-big { font-size: 44px; }
  .py-bulbs i:nth-child(n+13) { display: none; }
  .gb-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; }
  .gb-head h1 { font-size: 30px; }
}
@media (max-width: 560px) {
  .py-top h1 { font-size: 40px; }
}


/* ---------- the sub pages: A Podium (2026-11-14, see brain/games.md) ---------- */
/* The leaderboard, your coins and the frame shop. A felt stage tops each page: the podium, the balance, the mirror.
   Breakpoints are container queries on .pz (860 px stacks, 640 px is the phone), as on the board. */
.pz { container: pz / inline-size; display: grid; gap: 20px; padding-top: 24px; font-variant-numeric: tabular-nums; }
.pz > *, .pz section, .pz div { min-width: 0; }
.pz [hidden] { display: none !important; }
.pz h1 { font: 800 34px/1.1 var(--ui); letter-spacing: -.02em; }
.pz h2, .pz h3 { letter-spacing: 0; }
.pz p { margin: 0; }
.pz .pos { color: var(--py-win); }
.pz .neg { color: var(--py-lose); }
.pz form { margin: 0; }
.pz-title { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.pz-s, .pz-small { color: var(--txt-2); font-size: 14.5px; }
.pz-small { font-size: 13px; }
.pz-k { color: var(--txt-2); font-weight: 700; font-size: 14px; }
.pz-coin { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; white-space: nowrap; color: var(--txt-hi); }
.pz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--py-acc); color: var(--py-accink); font: 800 15px var(--ui); white-space: nowrap; cursor: pointer; text-decoration: none; }
.pz-btn:hover { text-decoration: none; filter: brightness(1.06); }
.pz-btn:active { transform: translateY(1px); }
.pz-btn.ghost { background: var(--sunk); color: var(--txt-hi); }
.pz-btn.pz-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.pz-btn:disabled { background: var(--sunk); color: var(--txt-2); filter: none; transform: none; cursor: not-allowed; }
.pz-more { font-weight: 700; color: var(--txt-hi); border-bottom: 2px solid var(--py-acc); white-space: nowrap; font-size: 14.5px; justify-self: start; position: relative; }
.pz-more::before { content: ""; position: absolute; inset: -12px -6px; }  /* a 44 px tap area */
.pz-more:hover { text-decoration: none; color: var(--py-acct); }
.pz-links { display: flex; gap: 16px; flex-wrap: wrap; }
.pz-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 16px; display: grid; gap: 10px; align-content: start; }
.pz-panel h3 { font: 800 17px/1.2 var(--ui); display: flex; gap: 8px; align-items: center; }
.pz-panel p { color: var(--txt-2); font-size: 14.5px; }
.pz-panel p b { color: var(--txt-hi); }
.pz-panel > .pz-btn, .pz-panel > form { justify-self: start; }
.pz-felt { background: var(--py-felt); color: var(--py-feltink); border-color: transparent; }
.pz-felt h3, .pz-felt p b { color: var(--py-feltink); }
.pz-felt p, .pz-felt .pz-small { color: var(--py-feltt2); }
.pz-h { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.pz-h h2 { font: 800 22px/1.2 var(--ui); letter-spacing: -.01em; }
.pz-h > span { color: var(--txt-2); font-size: 14.5px; }
.pz-empty { background: var(--sunk); border-radius: 14px; padding: 22px; color: var(--txt-2); display: grid; gap: 4px; }
.pz-empty b { color: var(--txt-hi); }
.pz-chip { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--sunk); color: var(--py-acct); }
.pz-chip .py-ci { width: 24px; height: 24px; }
.pz-thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block; flex: none; }
.pz-foot { max-width: none; color: var(--txt-2); font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.pz-top, .pz-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pz-top { align-items: stretch; }
.pz-side { display: grid; gap: 14px; }

/* leaderboard: tabs */
.pz-ptabs { display: inline-flex; background: var(--sunk); border-radius: 10px; padding: 3px; gap: 2px; }
.pz-ptabs a { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--txt-2); white-space: nowrap; }
.pz-ptabs a:hover { text-decoration: none; color: var(--txt-hi); }
.pz-ptabs a[aria-current] { background: var(--card); color: var(--txt-hi); box-shadow: 0 1px 2px var(--py-shadow); }
.pz-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pz-tabs::-webkit-scrollbar { display: none; }
.pz-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px 0 6px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--txt-2); white-space: nowrap; flex: none; }
.pz-tabs a:hover { text-decoration: none; color: var(--txt-hi); }
.pz-tabs img, .pz-tabs .pz-chip { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; display: block; }
.pz-tabs a[aria-current] { background: var(--card); color: var(--txt-hi); box-shadow: inset 0 0 0 1px var(--line); }

/* leaderboard: the podium and your rank */
.pz-pod { background: var(--py-felt); color: var(--py-feltink); border-radius: 18px; padding: 22px 22px 0; display: grid; gap: 14px; align-content: end; position: relative; overflow: hidden; isolation: isolate; }
.pz-bulbs { position: absolute; inset: 10px 14px auto; height: 8px; background: radial-gradient(circle, #F7C948 0 3px, transparent 3.5px) 0 0 / 26px 8px repeat-x; opacity: .8; z-index: -1; }
.pz-cap { display: flex; justify-content: space-between; gap: 4px 10px; font-size: 14px; color: var(--py-feltt2); font-weight: 600; margin-top: 8px; flex-wrap: wrap; align-self: start; }
.pz-pod ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; }
.pz-pod li { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.pz-pod li .u { font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-pod li .p { font-size: 14px; color: var(--py-feltt2); font-weight: 700; }
.pz-pod li .av { width: 52px; height: 52px; border-radius: 50%; }
.pz-pod li.o1 .av { width: 64px; height: 64px; }
.pz-pod li .av.fr { padding: 4px; }
.pz-pod li .blk { width: 100%; height: 72px; border-radius: 12px 12px 0 0; display: grid; place-items: start center; padding-top: 10px; font: 800 30px/1 var(--ui); color: #2A1A06; background: var(--py-bronze); }
.pz-pod li.o1 { order: 2; } .pz-pod li.o2 { order: 1; } .pz-pod li.o3 { order: 3; }
.pz-pod li.r1 .blk { height: 132px; background: var(--py-gold); }  /* tied players share the block of their rank */
.pz-pod li.r2 .blk { height: 96px; background: var(--py-silver); }
.pz-pod li.mine .u::after { content: " (you)"; color: var(--py-acc); }
.pz-none { padding: 30px 0 34px; display: grid; gap: 10px; justify-items: start; }
.pz-none p { color: var(--py-feltt2); }
.pz-none b { color: var(--py-feltink); }
.pz-you { gap: 6px; }
.pz-you .big { font: 800 54px/1 var(--ui); letter-spacing: -.03em; color: var(--txt-hi); }
.pz-you .big.none { color: var(--txt-3); font-weight: 600; }
.pz-you .v { font-weight: 800; font-size: 18px; color: var(--txt-hi); }
.pz-you .gap { color: var(--txt-2); font-size: 14.5px; }
.pz-you .pz-btn, .pz-you form, .pz-you > p { justify-self: start; margin-top: 6px; }
.pz-meter { height: 6px; border-radius: 3px; background: var(--py-acc); max-width: 100%; }
.pz-confirm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 14px; }

/* leaderboard: the chase and the cup */
.pz-chase { padding: 14px 0 10px; }
.pz-chase .pz-h { padding: 0 16px; }
.pz-chase > .pz-empty { margin: 0 16px; }
.pz-list { list-style: none; margin: 0; max-height: 520px; overflow-y: auto; padding: 4px 14px 0; }
.pz-row { display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) 54px 76px; gap: 12px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); color: var(--txt-hi); }
.pz-row:first-child { border-top: 0; }
.pz-row .rk { font-weight: 800; color: var(--txt-2); text-align: center; }
.pz-row .av { width: 34px; height: 34px; border-radius: 50%; }
.pz-row .u { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-row .p { font-weight: 800; text-align: right; }
.pz-row.mine { background: color-mix(in srgb, var(--py-acc) 20%, var(--card)); border-radius: 10px; border-top-color: transparent; position: sticky; top: 0; bottom: 0; z-index: 1; }
.pz-row.mine + .pz-row { border-top-color: transparent; }
.pz-row.pz-pin { background: color-mix(in srgb, var(--py-acc) 28%, var(--card)); box-shadow: 0 -6px 14px var(--py-shadow); }
.pz .tr { font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.pz .tr.up { color: var(--py-win); } .pz .tr.down { color: var(--py-lose); } .pz .tr.same, .pz .tr.new { color: var(--txt-2); }
.pz .tr .tri { width: 9px; height: 9px; fill: currentColor; }
.pz-near { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pz-near li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14.5px; }
.pz-near li > span:first-child { color: var(--py-feltt2); font-weight: 800; text-align: center; }
.pz-near .u { display: flex; gap: 8px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.pz-near .av { width: 26px; height: 26px; border-radius: 50%; }
.pz-felt .pz-btn.ghost { background: rgba(255,255,255,.12); color: var(--py-feltink); }

/* coins: the head, the ladder and the ledger */
.pz-coinhead { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: center; }
.pz-coinhead > img { width: 112px; height: 112px; filter: drop-shadow(0 8px 14px var(--py-shadow)); }
.pz-bal { font: 800 64px/1 var(--ui); letter-spacing: -.03em; color: var(--txt-hi); }
.pz-bal small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--txt-2); margin-left: 8px; }
.pz-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 14.5px; color: var(--txt-2); }
.pz-stats b { color: var(--txt-hi); }
.pz-coinhead .pz-small { margin-top: 6px; }
.pz-coinhead .pz-btn, .pz-coinhead form { justify-self: start; }
.pz-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pz-ladder li { display: grid; justify-items: center; gap: 2px; font-size: 12px; color: var(--txt-2); font-weight: 700; }
.pz-ladder b { width: 100%; max-width: 44px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; background: var(--sunk); color: var(--txt-hi); }
.pz-ladder .done b { background: color-mix(in srgb, var(--py-acc) 35%, var(--sunk)); }
.pz-ladder .now b { background: var(--py-acc); color: var(--py-accink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--py-acc) 40%, transparent); }
.pz-ftabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.pz-ftabs::-webkit-scrollbar { display: none; }
.pz-ftabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; font-weight: 700; font-size: 14px; color: var(--txt-2); white-space: nowrap; flex: none; box-shadow: inset 0 -2px 0 transparent; }
.pz-ftabs a:hover { text-decoration: none; color: var(--txt-hi); }
.pz-ftabs a[aria-current] { color: var(--txt-hi); box-shadow: inset 0 -3px 0 var(--py-acc); }
.pz-ftabs i { font-style: normal; font-size: 12.5px; margin-left: 4px; color: var(--txt-2); }
.pz-day + .pz-day { margin-top: 4px; }
.pz-dh { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font: 800 16px/1.5 var(--ui); color: var(--txt-hi); }
.pz-dh span { color: var(--txt-2); font-weight: 600; font-size: 14px; }
.pz-dh b { margin-left: auto; }
.pz-day ol { list-style: none; margin: 0; padding: 0; }
.pz-lr { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 70px; gap: 12px; align-items: center; padding: 9px 0; }
.pz-lr + .pz-lr { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.pz-lr .t { min-width: 0; }
.pz-lr .t b { display: block; font-weight: 700; line-height: 1.25; color: var(--txt-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-lr .t small { color: var(--txt-2); font-size: 13px; }
.pz-lr .a { font-weight: 800; text-align: right; color: var(--txt-hi); }
.pz-lr .b { color: var(--txt-2); text-align: right; font-size: 14px; }
.pz-lr img.av.pz-sw { width: 40px; height: 40px; border-radius: 10px; }
.pz-lfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--txt-2); font-size: 14px; flex-wrap: wrap; }
.pz-earn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pz-earn li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14.5px; color: var(--txt-hi); }
.pz-earn li b a { color: inherit; }
.pz-earn small { display: block; color: var(--txt-2); font-size: 13px; }
.pz-earn li > b { color: var(--py-acct); white-space: nowrap; }

/* shop: the mirror and the frames */
.pz-shop { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.pz-mirrors { position: sticky; top: 12px; }
.pz-mirror { background: var(--py-felt); color: var(--py-feltink); border-radius: 18px; padding: 24px 20px 20px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.pz-mirror h2 { font: 800 26px/1.1 var(--ui); color: var(--py-feltink); }
.pz-mirror .pz-k, .pz-mirror .pz-small { color: var(--py-feltt2); }
.pz-mirror img.av.pz-xl { width: 150px; height: 150px; border-radius: 50%; }
.pz-mirror img.av.pz-xl.fr { padding: 12px; }
.pz-mirror .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pz-mirror .pz-fstate { color: var(--py-feltt2); justify-content: center; }
.pz-mirror .pz-fstate.worn { color: #8FE3A8; }
.pz-mirror .pz-coin { color: var(--py-feltink); }
.pz-mirror .pz-btn.ghost { background: rgba(255,255,255,.12); color: var(--py-feltink); }
.pz-mirror .preview { width: 100%; background: rgba(255,255,255,.07); border-radius: 12px; padding: 4px 10px; text-align: left; }
.pz-mirror .preview .pz-row { border: 0; color: var(--py-feltink); grid-template-columns: 26px 34px minmax(0, 1fr) auto; }
.pz-mirror .preview .rk { color: var(--py-feltt2); }
.pz-shopside { display: grid; gap: 14px; }
.pz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pz-card { border: 1px solid var(--line); background: var(--card); color: var(--txt-hi); border-radius: 14px; padding: 16px 12px 14px; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; cursor: pointer; font: inherit; }
.pz-card:hover { border-color: var(--py-acct); }
.pz-card[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--py-acc); border-color: var(--py-acc); }
.pz-card img.av.pz-lg { width: 84px; height: 84px; border-radius: 50%; }
.pz-card img.av.pz-lg.fr { padding: 7px; }
.pz-card .nm { font: 800 17px/1.2 var(--ui); }
.pz-fstate { font-size: 13.5px; font-weight: 700; color: var(--txt-2); display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pz-fstate.worn { color: var(--py-win); }
.pz-fstate .gb-ic { width: 16px; height: 16px; }

@container pz (max-width: 860px) {
  .pz-top, .pz-body, .pz-shop { grid-template-columns: minmax(0, 1fr); }
  .pz-mirrors { position: static; }
  .pz-coinhead { grid-template-columns: auto minmax(0, 1fr); }
  .pz-coinhead .pz-panel { grid-column: 1 / -1; }
}
@container pz (max-width: 640px) {
  .pz h1 { font-size: 28px; }
  .pz-row { grid-template-columns: 28px 30px minmax(0, 1fr) 40px 64px; gap: 8px; }
  .pz-row .av { width: 30px; height: 30px; }
  .pz-grid { grid-template-columns: 1fr 1fr; }
  .pz-bal { font-size: 48px; }
  .pz-coinhead > img { width: 72px; height: 72px; }
  .pz-pod { padding: 18px 12px 0; }
  .pz-pod li .blk { font-size: 24px; height: 58px; }
  .pz-pod li.r1 .blk { height: 104px; }
  .pz-pod li.r2 .blk { height: 76px; }
  .pz-pod li .av { width: 44px; height: 44px; }
  .pz-pod li.o1 .av { width: 54px; height: 54px; }
  .pz-you .big { font-size: 44px; }
  .pz-list { max-height: none; padding: 4px 8px 0; }
  .pz-lr { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .pz-lr .b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pz-btn:active { transform: none; } }
