/* ==========================================================================
   Puzzle Pix (games/puzzle-pix/): the gold theme for the shared shell (styles/pix-game.css),
   the board and its tiles, the play area (count, question, stats bar, fact card), the result
   with your picks, the perfect-score celebration, the share card and the calendar's states.
   Colours from the app (src/theme.ts): GOLD #F5A623, GREEN #22C55E, RED #DC2626.
   On the gold, under the logo and title (Ross, 10 Nov): white text, the question in Barlow (not condensed,
   not caps), the ARCHIVE pill outlined. Light style (Ross, 11 Nov): only the board's tablet is dark; the stats bar,
   fact card, result and calendar are white outlines.
   No black on the gold (Ross, 12 Nov): outside the board's tablet and the pop-ups nothing is ink or a board colour.
   Right/wrong/bonus and WON/LOST/PERFECT are plain white words (no chip), text on white is a deep gold
   (#B87A08, 3.6:1 on white), focus rings are white, the kicker is a white outline. See the block at the end.
   ========================================================================== */
:root{--g-tint:rgba(90,55,0,0.12);--g-on-white:#B87A08;--g-bg:#F5A623;--g-ink:#0E0D12;--g-ink-soft:rgba(14,13,18,0.75);--g-accent:#F5A623;--g-on-accent:#161616;--g-fill:#2A2008;--g-line:rgba(245,166,35,0.6);--g-shadow:rgba(90,55,0,0.24);--g-shadow-deep:rgba(90,55,0,0.42)}

/* ---------- the How to Play loop (intro) ---------- */
.pz-demo{display:flex;flex-direction:column;gap:12px}
.pz-demo-q{background:#1A1A1F;border:1px solid var(--g-line);border-radius:16px;padding:10px 14px;text-align:center;display:flex;flex-direction:column;gap:3px}
.pz-demo-q span{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:11px;letter-spacing:1.8px;color:#F5A623}
.pz-demo-q p{margin:0;font-weight:700;font-size:15px;line-height:1.3;color:#FFFFFF}
.pz-demo-foot{display:flex;justify-content:flex-end;padding:0 2px}
.pz-demo-pts{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:26px;line-height:1;color:#F5A623;font-variant-numeric:tabular-nums}
.pz-demo-pts small{font-size:14px;color:#6B7280;letter-spacing:.5px}

/* ---------- the board: a 4×4 grid of name tiles ---------- */
.pz-board{position:relative}
.pz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pz-tile{position:relative;box-sizing:border-box;aspect-ratio:1/1;min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;border-radius:14px;border:1px solid rgba(255,255,255,0.12);background:#1A1A1F;color:#FFFFFF;font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:var(--pz-fs,11px);line-height:1.12;text-transform:uppercase;text-align:center;letter-spacing:0;transition:background-color .25s,border-color .25s,color .25s,box-shadow .2s,transform .1s ease}
.pz-name{display:block;max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:manual}
/* last resort for a surname too long for its tile at the smallest size: break inside the word */
.pz-board.is-tight .pz-name,.pz-sc-grid.is-tight span{word-wrap:break-word;overflow-wrap:break-word;overflow-wrap:anywhere}
.pz-ic{display:block;line-height:0}
.pz-ic:empty{display:none}
.pz-ic svg{width:calc(var(--pz-fs,11px) * 1.55);height:calc(var(--pz-fs,11px) * 1.55);min-width:13px;min-height:13px}
.pz-tile.is-ok,.pz-tile.is-ans{background:#14532D;border-color:#22C55E}
.pz-tile.is-bomb,.pz-tile.is-bad{background:#450A0A;border-color:#DC2626}
.pz-tile.is-miss{background:#141418;border-color:rgba(34,197,94,0.6);color:rgba(255,255,255,0.55)}
.pz-tile.is-safe{background:#141418;border-color:rgba(255,255,255,0.07);color:rgba(255,255,255,0.38)}
.pz-tile.is-blank{background:#16161B;border-color:rgba(255,255,255,0.05)}
button.pz-tile{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none}
button.pz-tile:hover:not(.is-ok):not(.is-bomb):not(.is-ans):not(.is-bad):not(.is-miss):not(.is-safe){background:#25252C;border-color:rgba(255,255,255,0.3)}
button.pz-tile:active{transform:scale(0.95)}
button.pz-tile:focus-visible{outline:3px solid #F5A623;outline-offset:2px}
button.pz-tile[aria-disabled="true"]{cursor:default}
button.pz-tile[aria-disabled="true"]:active,.pz-board.is-over button.pz-tile:active{transform:none}
.pz-grid.is-done button.pz-tile{cursor:pointer}
.pz-grid.is-done button.pz-tile:hover{filter:brightness(1.18)}
.pz-tile.is-sel{border-color:#F5A623;box-shadow:0 0 0 2px #F5A623}
/* the floating call over a tile: +N in green, BOMB in red (rises 28px and fades, 900ms) */
.pz-float{position:absolute;left:50%;top:-4px;translate:-50% 0;z-index:3;background:#2D2D2D;border-radius:100px;padding:2px 9px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:.5px;line-height:1.3;color:#4ADE80;white-space:nowrap;pointer-events:none;box-shadow:0 6px 14px rgba(0,0,0,0.45)}
.pz-float.is-bomb{color:#F87171}
@media (prefers-reduced-motion: no-preference){
.pz-float{animation:pz-float .9s cubic-bezier(0.25,0.46,0.45,0.94) forwards}
@keyframes pz-float{from{opacity:1;translate:-50% 0}to{opacity:0;translate:-50% -28px}}
.pz-tile.is-flip{animation:pz-flip .4s cubic-bezier(0.2,0.7,0.2,1)}
.pz-tile.is-bomb.is-flip{animation:pz-flip .4s cubic-bezier(0.2,0.7,0.2,1),pz-shake .38s .4s ease-in-out}
@keyframes pz-flip{0%{transform:perspective(500px) rotateY(80deg) scale(0.92);filter:brightness(1.6)}100%{transform:none;filter:none}}
@keyframes pz-shake{20%{translate:-3px 0}40%{translate:3px 0}60%{translate:-2px 0}80%{translate:2px 0}}
.pz-tile.is-skel{animation:pz-skel 1.4s ease-in-out infinite;animation-delay:calc(var(--i,0) * 45ms)}
@keyframes pz-skel{50%{background:#212128}}
}
/* a locked or not-yet-dropped day: a blank board with a badge */
.pz-badge-ic{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.pz-badge-ic>span{display:flex;flex-direction:column;align-items:center;gap:6px;background:rgba(14,13,18,0.92);border:1px solid rgba(245,166,35,0.45);border-radius:22px;padding:16px 22px;box-shadow:0 20px 40px rgba(0,0,0,0.45)}
.pz-badge-ic b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:2px;color:#F5A623}

/* tablet header in play: 13 found pips + score */
.pz-pips{gap:10px}
.pz-pip-row{flex:1;min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,12px);gap:4px;align-items:center}
.pz-pip{display:block;width:100%;aspect-ratio:1/1;border-radius:4px;background:#2D2D2D;border:1px solid rgba(255,255,255,0.12);box-sizing:border-box;transition:background-color .25s,border-color .25s}
.pz-pip.on{background:#22C55E;border-color:#22C55E}

/* the tablet's fact line on a finished board */
.pz-tfoot{border-top:1px solid rgba(255,255,255,0.08);padding-top:12px;min-height:58px}
.pz-tfoot[hidden]{display:none}
/* inside the dark tablet the fact line keeps its tinted pills and condensed name */
.pz-tfoot .pz-call.ok{background:rgba(34,197,94,0.14)}
.pz-tfoot .pz-call.bomb{background:rgba(220,38,38,0.2)}
.pz-tfoot .pz-fact-name{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:22px;letter-spacing:.5px;line-height:1.05;text-transform:uppercase}
.pz-tf-hint{margin:0;padding:8px 0;font-size:13.5px;color:#8A8A93;text-align:center}
.pz-tf{display:flex;flex-direction:column;gap:6px}
@media (prefers-reduced-motion: no-preference){.pz-tf{animation:pxg-rise .25s cubic-bezier(0.2,0.7,0.2,1) both}}

/* ---------- play: count, question, stats bar (left, in ink) ---------- */
.pz-play{display:flex;flex-direction:column;gap:14px;max-width:600px;scroll-margin-top:12px}
.pz-note{margin:0;font-weight:600;font-size:14px;line-height:1.4;color:var(--g-text)}
.pz-qtop{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap}
.pz-count{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:16px;letter-spacing:2px;color:var(--g-text);text-shadow:0 1px 2px rgba(90,55,0,0.25)}
.pz-tag{background:transparent;color:#FFFFFF;border:1.5px solid #FFFFFF;border-radius:100px;padding:3px 10px;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:13px;letter-spacing:1.2px;line-height:1.2}
.pz-q{margin:0;font-family:Barlow,system-ui,sans-serif;font-weight:600;font-size:28px;line-height:1.3;letter-spacing:0;color:var(--g-text);text-shadow:0 1px 2px rgba(90,55,0,0.3);text-wrap:balance}
.pz-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--g-tint);border:2px solid #FFFFFF;border-radius:16px;padding:12px 4px}
.pz-st{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:0 4px}
.pz-st+.pz-st{border-left:1.5px solid rgba(255,255,255,0.4)}
.pz-sl{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:11px;letter-spacing:1.4px;line-height:1;color:rgba(255,255,255,0.88);white-space:nowrap}
.pz-sv{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:24px;line-height:1;color:#FFFFFF;font-variant-numeric:tabular-nums;white-space:nowrap}
.pz-sv small{font-size:15px;color:rgba(255,255,255,0.75)}
.pz-bm :is(svg,svg *)[fill]:not([fill="none"]){fill:rgba(255,255,255,0.85)}
.pz-bm :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:rgba(255,255,255,0.85)}
.pz-bm.on :is(svg,svg *)[fill]:not([fill="none"]){fill:#FFFFFF}
.pz-bm.on :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:#FFFFFF}
/* no black (12 Nov): a bomb you hit is solid white, one still to come is hollow (shape, not colour) */
.pz-bm:not(.on) :is(svg,svg *)[fill]:not([fill="none"]){fill:none;stroke:rgba(255,255,255,0.9);stroke-width:2px}
.pz-bms{display:flex;align-items:center;gap:3px;height:24px}
.pz-bm{line-height:0}

/* the fact card: the last tile flipped */
.pz-fact{box-sizing:border-box;background:var(--g-tint);border:2px solid #FFFFFF;border-radius:18px;padding:16px 18px;min-height:118px;color:#FFFFFF;display:flex;flex-direction:column;gap:8px;max-width:600px}
.pz-fact.is-hint{justify-content:center}
.pz-fact.is-ok,.pz-fact.is-bomb{border-color:#FFFFFF}
.pz-fact-hint{margin:0;font-size:15px;font-weight:500;line-height:1.5;color:rgba(255,255,255,0.92)}
.pz-fact-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pz-fact-name{font-weight:700;font-size:21px;line-height:1.15;min-width:0}
.pz-call{flex:none;border-radius:100px;padding:4px 10px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:15px;letter-spacing:1px;line-height:1.1;white-space:nowrap}
.pz-call.ok{background:#0E0D12;color:#4ADE80}
.pz-call.bomb{background:#0E0D12;color:#F87171}
.pz-fact-k{display:flex;align-items:center;gap:6px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:13px;letter-spacing:1.5px;color:#FFFFFF}
.pz-fact-k :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.pz-fact-k :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.pz-fact-t{margin:0;font-size:15px;font-weight:500;line-height:1.5;color:rgba(255,255,255,0.95)}
@media (prefers-reduced-motion: no-preference){.pz-fact:not(.is-hint)>*{animation:pxg-rise .3s cubic-bezier(0.2,0.7,0.2,1) both}}

/* ---------- done: the result and your picks ---------- */
.pz-res-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pz-res{border-radius:100px;padding:3px 10px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:13px;letter-spacing:1.4px;line-height:1.2}
.pz-res-won{background:#0E0D12;color:#4ADE80}
.pz-res-lost{background:#0E0D12;color:#F87171}
.pz-res-perfect{background:#FFFFFF;color:#0E0D12}
.pz-picks{background:rgba(255,255,255,0.14);border-radius:16px;padding:12px 14px}
.pz-plist{list-style:none;margin:0;padding:0;columns:2 230px;column-gap:26px}
.pz-pick{display:flex;align-items:center;gap:10px;padding:7px 0;break-inside:avoid;border-bottom:1px solid rgba(255,255,255,0.25)}
.pz-pick-i{width:20px;flex:none;display:flex;align-items:center;font-size:13px;color:rgba(255,255,255,0.75);font-variant-numeric:tabular-nums}
.pz-pick-n{flex:1;min-width:0;font-weight:700;font-size:14px;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pz-pick-bonus .pz-pick-n{color:#FFFFFF;font-weight:800}
.pz-pick-bonus .pz-pick-i{color:#FFFFFF}
.pz-pick-bonus .pz-pick-i :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.pz-pick-bonus .pz-pick-i :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.pz-chip{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:40px;border-radius:7px;padding:3px 7px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:.4px;line-height:1.15}
.pz-chip.ok{background:#0E0D12;color:#4ADE80}
.pz-chip.bomb{background:#0E0D12;color:#F87171}
.pz-chip.gold{background:#0E0D12;color:#F5A623}
.pz-srv-q{margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:21px;line-height:1.2;color:#FFFFFF}
.pz-srv-note{margin:0;font-size:14px;font-weight:500;line-height:1.45;color:rgba(255,255,255,0.88)}
.pz-locked .pxg-msg-t{font-size:26px;line-height:1.12}
.pz-lock-find{margin:-4px 0 0;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:15px;letter-spacing:1.2px;text-transform:uppercase;color:#FFFFFF}

/* ---------- calendar states (the app's colours) ---------- */
.pxg-day.k-won{background:rgba(255,255,255,0.3);border-color:#FFFFFF;color:#FFFFFF}
.pxg-day.k-lost{background:rgba(90,55,0,0.2);border-color:rgba(255,255,255,0.6);color:#FFFFFF}
.pxg-day.k-perfect{background:#FFFFFF;border-color:#FFFFFF;color:var(--g-on-white)}
.pxg-day.k-locked{background:transparent;border-style:dashed;border-color:rgba(255,255,255,0.45);color:rgba(255,255,255,0.85)}
.pxg-day.k-unfinished{border-style:dashed;border-color:#FFFFFF}
.pxg-leg i.k-won{background:rgba(255,255,255,0.3)}
.pxg-leg i.k-lost{background:rgba(90,55,0,0.2);border-color:rgba(255,255,255,0.6)}
.pxg-leg i.k-locked{border-style:dashed;border-color:rgba(255,255,255,0.45)}
.pxg-leg i.k-unfinished{border-style:dashed}
.pxg-leg i.k-won svg,.pxg-leg i.k-lost svg,.pxg-leg i.k-open svg{display:none}

/* ---------- PERFECT SCORE (the app's celebration) ---------- */
.pz-pf{position:fixed;inset:0;z-index:75;background:rgba(22,22,22,0.97);display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden;cursor:pointer;color:#FFFFFF;font-family:Barlow,system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
.pz-pf-sparks{position:absolute;inset:0;pointer-events:none}
.pz-pf-sp{position:absolute;line-height:0;opacity:.9}
.pz-pf-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.pz-pf-k{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:16px;letter-spacing:4px;color:#F5A623}
.pz-pf-n{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:120px;line-height:1;color:#F5A623;font-variant-numeric:tabular-nums;text-shadow:0 0 48px rgba(245,166,35,0.35)}
.pz-pf-of{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:20px;letter-spacing:1px;color:#A1A1AA}
.pz-pf-late{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:22px;opacity:0;translate:0 8px;transition:opacity .5s,translate .5s}
.pz-pf.is-late .pz-pf-late{opacity:1;translate:0 0}
.pz-pf-pill{background:#14532D;color:#4ADE80;border-radius:100px;padding:6px 14px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:15px;letter-spacing:1px}
.pz-pf-ebk{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:26px;letter-spacing:1px;color:#9B6FF0}
.pz-pf-go{margin-top:26px;background:none;border:0;border-radius:100px;padding:10px 18px;cursor:pointer;color:#A1A1AA;font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:2px;opacity:.55;transition:opacity .5s,color .2s}
.pz-pf.is-late .pz-pf-go{opacity:1}
.pz-pf-go:hover{color:#FFFFFF}
.pz-pf-go:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
@media (prefers-reduced-motion: no-preference){
.pz-pf{animation:pxg-ov-in .25s ease-out}
.pz-pf-sp{animation:pz-spin 4s linear infinite;animation-delay:var(--d,0s)}
@keyframes pz-spin{to{rotate:360deg}}
.pz-pf-in{animation:pz-pf-pop .5s cubic-bezier(0.2,1.3,0.4,1) both}
@keyframes pz-pf-pop{from{scale:.85;opacity:0}}
}
html[data-pz-pf]{overflow:hidden}

/* ---------- share card (the app's share image, as HTML: names only, no answers) ---------- */
.pz-share{position:relative;overflow:hidden;background:#1E1E1E;border-radius:20px;padding:18px 16px 14px;display:flex;flex-direction:column;gap:12px;color:#FFFFFF;box-shadow:0 30px 60px rgba(0,0,0,0.5)}
.pz-share::before,.pz-share::after{content:'';position:absolute;left:0;right:0;height:5px;background:linear-gradient(90deg,#7B3FE4 50%,#F5A623 50%)}
.pz-share::before{top:0}
.pz-share::after{bottom:0}
.pz-sc-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,0.14)}
.pz-sc-brand{display:flex;align-items:center;gap:8px}
.pz-sc-brand img{width:26px;height:26px;border-radius:7px;border:1px solid rgba(255,255,255,0.14);display:block}
.pz-sc-brand b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:17px;letter-spacing:1.5px}
.pz-sc-date{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:12.5px;letter-spacing:1.5px;color:rgba(255,255,255,0.72)}
.pz-sc-q{margin:0;background:#2D2D2D;border-radius:14px;padding:10px 12px;font-weight:700;font-size:14px;line-height:1.3;text-align:center;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pz-sc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.pz-sc-grid span{box-sizing:border-box;aspect-ratio:1/1;min-width:0;display:flex;align-items:center;justify-content:center;text-align:center;background:#2A2A30;border:1px solid rgba(255,255,255,0.1);border-radius:10px;padding:3px;font-weight:700;font-size:var(--pz-sc-fs,9px);line-height:1.12;text-transform:uppercase;overflow:hidden}
.pz-sc-foot{display:flex;align-items:flex-end;gap:16px}
.pz-sc-foot>div{display:flex;flex-direction:column;gap:2px}
.pz-sc-foot small{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:11px;letter-spacing:1.4px;color:#A1A1AA}
.pz-sc-foot b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:34px;line-height:1;font-variant-numeric:tabular-nums}
.pz-sc-foot b.gold{color:#F5A623}
.pz-sc-foot b.purple{color:#9B6FF0}
.pz-sc-foot .pz-sc-cta{margin-left:auto;align-items:flex-end;text-align:right;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;line-height:1.1;color:#A1A1AA}
.pz-sc-cta b{font-size:20px;color:#FFFFFF;letter-spacing:.5px}
.pz-sc-url{text-align:center;font-size:11.5px;letter-spacing:.3px;color:#71717A;padding-bottom:4px}

/* ---------- layouts ---------- */
@media (min-width: 760px) and (max-width: 899px){
#pxg-hero:not([data-mode=intro]) .pxg-row{grid-template-columns:minmax(0,1fr) minmax(0,360px)}
.pz-q{font-size:25px}
}
/* phones and narrow tablets. In play the question comes before the board (you need it to choose a
   tile); the finished screen keeps Pin Point's order (board under the brand, then the result). The
   tablet fills the width up to 480px, and never more than the screen's height, so on a landscape
   phone the whole board fits on screen. */
@media (max-width: 759px){
#pxg-hero[data-mode=play] .pxg-row{grid-template-areas:"brand" "game" "device" "aside" "days"}
#pxg-hero:not([data-mode=intro]) .pxg-tablet{max-width:min(100%,480px,calc(100vh - 56px));max-width:min(100%,480px,calc(100svh - 56px))}
#pxg-hero:not([data-mode=intro]) .pxg-device{justify-content:center}
.pz-play,.pz-fact{max-width:none}
}
@media (max-width: 640px){
.pz-play{gap:10px}
.pz-count{font-size:14px;letter-spacing:1.6px}
.pz-q{font-size:20px;line-height:1.32}
.pz-stats{padding:10px 2px;border-radius:14px}
.pz-st{gap:4px;padding:0 2px}
.pz-sl{font-size:10px;letter-spacing:1px}
.pz-sv{font-size:21px}
.pz-sv small{font-size:13px}
.pz-bms{height:21px}
.pz-grid{gap:6px}
.pz-tile{border-radius:11px;padding:3px}
.pz-fact{min-height:100px;padding:14px;border-radius:16px}
.pz-fact-name{font-size:19px}
.pz-fact-t{font-size:14.5px}
.pz-picks{padding:10px 12px}
.pz-pf-n{font-size:96px}
.pz-pip-row{gap:3px}
}
@media (max-width: 399px){
/* a little more room for the names: tiles closer to the app's at this width */
#pxg-hero:not([data-mode=intro]) .pxg-tablet{padding:10px}
.pz-grid{gap:5px}
}
@media (max-width: 370px){
.pz-sv{font-size:18px}
.pz-sv small{font-size:12px}
.pz-sl{font-size:9.5px;letter-spacing:.6px}
.pz-bm svg{width:12px;height:12px}
}

/* ==========================================================================
   No black on the gold (Ross, 12 Nov 2026: "the black is too much of a contrast in the yellow or white spaces").
   Outside the board's tablet (.pxg-tablet, unchanged) and the pop-ups on a dimmed backdrop (share, .pz-pf, the
   account dialog, toasts: unchanged) nothing is ink or a board green/red, in any state. Overrides of the shared
   kit (styles/pix-game.css) live here so Time Trial and Pin Point are untouched.
   - Chips become words: the calls, the picks' +N / BOMB (bomb icon kept), +10, WON / LOST / PERFECT are white
     words on the gold with no chip, on their neighbour's baseline. Meaning rides on the words and icons, never on colour.
   - Text on white (SHARE, CREATE FREE ACCOUNT, PLAY <day>, LOG IN, TRY AGAIN, the points pill, Play Now, the
     perfect calendar day): --g-on-white #B87A08, a deep Puzzle Pix gold, 3.6:1 on white (the gold itself is 2.0:1).
   - Focus rings white, 3px, 2px out (a gap of gold between a white control and its ring); calendar days keep a
     dashed ring so focus never looks like the selected day's solid ring.
   - The selected day: a gap of the card's gold, then a 2.5px white ring (was a 3px ink ring).
   - The kicker: white letters in a 1.5px white outline (a label, like ARCHIVE), not the dark pill.
   ========================================================================== */
.pxg-hero.pz-hero{--pixa-chip-ring:#FFFFFF;--pz-cal-gap:#E2991F}
#pxg-hero:not([data-mode=intro]) .pxg-kicker{background:transparent;color:#FFFFFF;box-shadow:inset 0 0 0 1.5px #FFFFFF}
#pxg-hero .pxg-intro-copy a[data-play]{color:var(--g-on-white)!important}
/* chips -> white words (vertical padding kept, so the rows keep their height) */
:is(#pxg-game,.pxg-aside) :is(.pz-call,.pz-chip,.pz-res){background:none;color:#FFFFFF;border-radius:0;padding-left:0;padding-right:0}
#pxg-game .pz-chip{justify-content:flex-end}
/* A bare word sits on its neighbour's baseline (the chip used to hide the offset); the tablet's fact line under the
   board (.pz-tfoot) is not touched. The words keep the chip's box (height, and for WON / LOST / PERFECT the width as
   space after the word, so the result header wraps exactly as before); only their padding moves, so the neighbours
   (PUZZLE COMPLETE, the player's name) and the rows stay where they were. */
.pz-hero :is(.pz-result .pz-res-row,.pz-fact .pz-fact-top){align-items:baseline}
:is(#pxg-game,.pxg-aside) .pz-res{padding:4.3px 20px 1.7px 0}
.pz-hero .pz-fact .pz-call{padding-top:6px;padding-bottom:2px}
@media (max-width: 640px){.pz-hero .pz-fact .pz-call{padding-top:5.33px;padding-bottom:2.67px}}
/* focus rings on the gold: white */
:is(#pxg-game,.pxg-aside,#pxg-days) :is(.pxg-btn,.pxg-link,.pxg-cal-nav):focus-visible,
#pxg-hero>header a:focus-visible,#pxg-hero .pxg-intro-copy a:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
#pxg-days .pxg-cal .pxg-day:focus-visible{outline:3px dashed #FFFFFF;outline-offset:2px}
#pxg-days .pxg-cal .pxg-day.sel:focus-visible{outline-offset:5px}
/* calendar: the selected day and today on the perfect (white) day */
.pz-hero .pxg-day.sel{box-shadow:0 0 0 1.5px var(--pz-cal-gap),0 0 0 4px #FFFFFF}
.pz-hero .pxg-day.today.sel{box-shadow:inset 0 0 0 2px #FFFFFF,0 0 0 1.5px var(--pz-cal-gap),0 0 0 4px #FFFFFF}
.pz-hero .pxg-day.k-perfect.today{box-shadow:inset 0 0 0 2px var(--g-on-white)}
.pz-hero .pxg-day:is(.k-perfect,.k-all).today.sel{box-shadow:inset 0 0 0 2px var(--g-on-white),0 0 0 1.5px var(--pz-cal-gap),0 0 0 4px #FFFFFF}
/* forced colours drop the box-shadow rings: the selected day keeps an outline */
@media (forced-colors: active){.pz-hero .pxg-day.sel{outline:2px solid CanvasText;outline-offset:1px}}
/* the @name chip's drop-down (styles/pix-auth.css, untouched): a white card, deep gold words and ring, the white-button hover, a gold shadow with a thin gold edge so the card never melts into the white icon or title (Ross, 12 Nov: "Yes, all three") */
.pz-hero .pixa-menu{border-color:#FFFFFF;background:#FFFFFF;box-shadow:0 0 0 1px rgba(90,55,0,0.12),0 2px 8px rgba(90,55,0,0.2),0 16px 40px var(--g-shadow-deep)}
.pz-hero :is(.pixa-menu-who,.pixa-menu-item){color:var(--g-on-white)}
.pz-hero .pixa-menu-item:hover{background:#FEF2E0}
.pz-hero .pixa-menu-item:focus-visible{outline:3px solid var(--g-on-white);outline-offset:2px}
