/* ==========================================================================
   Time Trial (games/time-trial/): the pink theme for the shared shell (styles/pix-game.css),
   the How to Play loop, READY, the type-ahead, the clock, the live board, the phone strip,
   THE CLOCK DOESN'T STOP dialog, the result (rank, question, picks, missed), every answer on the
   board, the share card and the calendar's states.
   Colours from the app (src/theme.ts): TT_ACCENT #FF2D6B, GREEN #22C55E, RED #DC2626, GOLD #F5A623,
   the played-day fill #2E0B17. On the pink, under the logo and title (Ross, 10 Nov): white text, the
   question in Barlow (not condensed, not caps), pills outlined. Light style (Ross, 11 Nov): only the board's
   tablet is dark; START is white with pink text, the answer box, suggestions, stats, strip, result and calendar
   are white outlines on the pink. The pop-ups keep their dark look. (The account modal's pink is in styles/pix-auth.css.)
   No black on the pink (Ross, 12 Nov): outside the board's tablet and the pop-ups nothing is ink or a board colour.
   Right/wrong are plain white words and glyphs (no chip), text on white is the pink itself, focus rings are white,
   the kicker is a white outline. See the block at the end.
   ========================================================================== */
:root{--g-tint:rgba(110,0,35,0.14);--g-on-white:#FF2D6B;--g-bg:#FF2D6B;--g-ink:#0E0D12;--g-ink-soft:rgba(14,13,18,0.74);--g-accent:#FF2D6B;--g-on-accent:#0E0D12;--g-fill:#2E0B17;--g-line:rgba(255,45,107,0.6);--g-shadow:rgba(110,0,35,0.26);--g-shadow-deep:rgba(110,0,35,0.44)}

/* the tile icon sits on its own pink: rounded like the catalogue's */
.tt-icon{border-radius:28px}
#pxg-hero:not([data-mode=intro]) .tt-icon{border-radius:13px}
/* the phone strip is sticky (overflow:hidden would trap it), and the suggestion list may hang below
   the hero: clip sideways only */
#pxg-hero.tt-hero:not([data-mode=intro]){overflow:visible;overflow-x:clip}
/* the suggestion list opens over the tablet (a later stacking context) on narrow screens */
#pxg-hero.tt-hero[data-mode=play] #pxg-game{position:relative;z-index:5}
/* never "Log in" mid-run: the run belongs to the session that started it */
html[data-tt-live] #pxg-hero .pxg-account{visibility:hidden}
.tt-tag{align-self:flex-start;background:transparent;color:var(--g-text);border:1.5px solid var(--g-text);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}

/* ---------- the How to Play loop (intro): the app's DemoTimeTrial ---------- */
.tt-demo{display:flex;flex-direction:column;gap:10px}
.tt-demo-q{background:rgba(255,45,107,0.12);border-radius:18px;padding:9px 14px;text-align:center}
.tt-demo-q span{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:10.5px;letter-spacing:1.6px;color:#FF2D6B}
.tt-demo-q p{margin:2px 0 0;font-weight:700;font-size:13.5px;line-height:1.35;color:#FFFFFF}
.tt-demo-time{text-align:center;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:46px;line-height:1.02;color:#FF2D6B;font-variant-numeric:tabular-nums;margin-top:2px}
.tt-demo-bar{height:6px;border-radius:3px;background:#242424;overflow:hidden}
.tt-demo-bar i{display:block;height:100%;border-radius:3px;background:#FF2D6B;transform-origin:left center}
.tt-demo-box{display:flex;align-items:center;gap:8px;background:#242424;border:1px solid rgba(255,255,255,0.14);border-radius:14px;padding:12px;margin-top:4px;transition:border-color .2s}
.tt-demo-type{font-weight:700;font-size:15px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-demo-type.is-typed{color:#FFFFFF}
/* a wrong name: the real answer box (on the pink) shows it in white, so the example's box does too (no red) */
.tt-demo-box.is-shake{border-color:#FFFFFF;box-shadow:inset 0 0 0 1px #FFFFFF}
.tt-demo-found{list-style:none;margin:0;padding:0;height:126px;display:flex;flex-direction:column;gap:6px;overflow:hidden}
.tt-demo-row{display:flex;align-items:center;gap:8px;background:#242424;border-radius:14px;padding:9px 12px;font-weight:700;font-size:14px;color:#FFFFFF;white-space:nowrap}
.tt-demo-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px}
.tt-demo-pips{display:flex;gap:4px;min-width:0;flex-wrap:wrap}
.tt-pip{display:block;width:13px;height:13px;border-radius:4px;border:1px solid rgba(255,255,255,0.14);background:#2D2D2D;box-sizing:border-box;transition:background-color .25s,border-color .25s}
.tt-pip.on{background:#FF2D6B;border-color:#FF2D6B}
.tt-pip.now{border:2px solid #FF2D6B}
.tt-demo-pts{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:26px;line-height:1;color:#FF2D6B;font-variant-numeric:tabular-nums;white-space:nowrap}
.tt-demo-pts small{font-size:14px;color:#6B7280;letter-spacing:.5px}

/* ---------- READY (and the gate before a guest game): white on the pink ---------- */
.tt-ready{display:flex;flex-direction:column;align-items:flex-start;gap:14px;max-width:560px;color:var(--g-text)}
.tt-ready-t{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:84px;line-height:.86;letter-spacing:.5px}
.tt-ready-t:focus{outline:none}
.tt-ready-l{margin:0;font-weight:600;font-size:22px;line-height:1.35;text-shadow:0 1px 2px rgba(110,0,35,0.22)}
.tt-ready-r{margin:0;font-weight:500;font-size:17px;line-height:1.55;color:var(--g-text-soft);max-width:500px}
.tt-ready-n{margin:2px 0 0;font-weight:600;font-size:14.5px;line-height:1.45;color:var(--g-text-soft);max-width:440px}
.tt-scope{margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:14px;letter-spacing:2px;color:var(--g-text-soft)}
.tt-start{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin-top:8px;min-height:74px;padding:0 48px 0 40px;border:0;border-radius:100px;background:#FFFFFF;color:#FF2D6B;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:32px;letter-spacing:3px;line-height:1;cursor:pointer;transition:transform .12s ease,background-color .2s;-webkit-tap-highlight-color:transparent}
.tt-start:hover{transform:translateY(-2px);background:#FFF0F4}
.tt-start:active{transform:scale(0.97)}
.tt-start:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
.tt-start svg{flex:none}

/* ---------- COUNT / LIVE: the question, the type-ahead, the stats ---------- */
.tt-play{display:flex;flex-direction:column;gap:18px;max-width:600px;scroll-margin-top:12px}
.tt-q{display:flex;flex-direction:column;gap:8px;color:var(--g-text)}
.tt-q:focus{outline:none}
/* the short title is stored in capitals, so it is the small label (like Pin Point's 01 OF 10); the prompt is the question */
.tt-q-t{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:16px;line-height:1.25;letter-spacing:2px;text-transform:uppercase}
.tt-q-p{margin:0;font-weight:600;font-size:28px;line-height:1.3;text-shadow:0 1px 2px rgba(110,0,35,0.25);text-wrap:pretty}
.tt-q-h{margin:0;font-weight:500;font-size:15.5px;line-height:1.45;color:var(--g-text-soft)}
.tt-cin{display:none}
.tt-entry{position:relative}
.tt-field{position:relative;display:flex;align-items:center;gap:10px;height:64px;padding:0 18px;border-radius:18px;background:var(--g-tint);border:2px solid #FFFFFF;transition:box-shadow .15s,background-color .15s}
/* focus: a white ring 2px out (an outline, so forced colours keep it) */
.tt-field:focus-within{outline:3px solid #FFFFFF;outline-offset:2px;background:rgba(110,0,35,0.2)}
.tt-field-ic{flex:none;line-height:0;color:rgba(255,255,255,0.85)}
.tt-field:focus-within .tt-field-ic{color:#FFFFFF}
.tt-input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;color:#FFFFFF;caret-color:#FFFFFF;font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:21px;letter-spacing:.2px}
.tt-input::placeholder{color:rgba(255,255,255,0.75);opacity:1}
.tt-input:disabled{cursor:default;-webkit-text-fill-color:rgba(255,255,255,0.78)}
.tt-field.is-ok{background:rgba(255,255,255,0.22)}
/* right: a white tint fill and a white tick; wrong: a heavier white edge (3px) and a white cross. Shape and
   glyph tell them apart, never colour (no ink, no green or red on the pink). The tick or cross takes the
   magnifier's place (the magnifier steps aside while it shows), so the right end of the box stays empty and a
   bare white cross there never reads as a "clear this box" button. The input keeps its full width.
   The mark shows only while the box is empty, just after a pick: as soon as you type the next name it goes and
   the magnifier comes back, so a tick or cross never sits in front of a new name as if it judged it. */
.tt-field.is-bad{border-color:#FFFFFF;box-shadow:inset 0 0 0 1px #FFFFFF}
.tt-field:is(.is-ok,.is-bad) .tt-field-ic{visibility:hidden}
.tt-field.is-ok::after,.tt-field.is-bad::after{position:absolute;left:16px;top:0;bottom:0;width:24px;display:flex;align-items:center;justify-content:center;color:#FFFFFF;font:900 20px/1 'Barlow Condensed',sans-serif;pointer-events:none}
.tt-field.is-ok::after{content:'\2713'}
.tt-field.is-bad::after{content:'\2715'}
.tt-field:is(.is-ok,.is-bad):has(.tt-input:not(:placeholder-shown))::after{content:none}
.tt-field:is(.is-ok,.is-bad):has(.tt-input:not(:placeholder-shown)) .tt-field-ic{visibility:visible}
.tt-sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:8;margin:0;padding:6px;list-style:none;background:#FF2D6B;border:2px solid #FFFFFF;border-radius:18px;box-shadow:0 24px 48px rgba(70,0,22,0.4);max-height:min(392px,58vh);overflow-y:auto;overscroll-behavior:contain}
.tt-sugg[hidden]{display:none}
.tt-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px 12px;border-radius:12px;color:#FFFFFF;font-weight:700;font-size:16px;line-height:1.25;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tt-opt+.tt-opt{box-shadow:0 -1px 0 rgba(255,255,255,0.25)}
.tt-opt.is-active,.tt-opt:hover{background:rgba(255,255,255,0.22);box-shadow:none}
.tt-opt.is-found,.tt-opt.is-wrong,.tt-opt.is-pending{color:rgba(255,255,255,0.78)}
.tt-opt-ic :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.tt-opt-ic :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.tt-opt-n{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-opt-ic{flex:none;line-height:0}
.tt-none{padding:12px;color:rgba(255,255,255,0.92);font-weight:600;font-size:15px;overflow-wrap:anywhere}
.tt-entry-note{margin:0;max-height:0;overflow:hidden;font-weight:600;font-size:14px;line-height:1.4;color:var(--g-text);opacity:0;transition:opacity .2s,max-height .2s,margin .2s}
.tt-entry-note.on{opacity:1;max-height:3em;margin-top:8px}
.tt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--g-tint);border:2px solid #FFFFFF;border-radius:18px;padding:13px 4px}
.tt-st{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;padding:0 4px}
.tt-st+.tt-st{border-left:1.5px solid rgba(255,255,255,0.4)}
.tt-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}
.tt-sv{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:28px;line-height:1;color:#FFFFFF;font-variant-numeric:tabular-nums;white-space:nowrap}
.tt-sv small{font-size:17px;color:rgba(255,255,255,0.75)}
.tt-sv.pink,.tt-sv.green,.tt-sv.gold,.tt-sv.red{color:#FFFFFF}.tt-sv.dim{color:rgba(255,255,255,0.78)}

/* ---------- the tablet in play: the clock, the bar, YOU NAMED ---------- */
.tt-thead{gap:10px}
.tt-th-l{display:inline-flex;align-items:center;gap:8px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:2px;color:#FF2D6B;white-space:nowrap}
.tt-dot{display:block;width:8px;height:8px;border-radius:50%;background:#FF2D6B}
.tt-board *,.tt-strip *,.tt-demo *{box-sizing:border-box}
.tt-board{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0}
.tt-timer{display:flex;flex-direction:column;align-items:center;gap:12px;padding:2px 0 4px}
.tt-clock{display:inline-block;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:88px;line-height:.9;letter-spacing:1px;color:#FF2D6B;font-variant-numeric:tabular-nums;transition:color .2s}
.tt-bar,.tt-s-bar{display:block;width:100%;height:8px;border-radius:4px;background:#242424;overflow:hidden}
.tt-bar i,.tt-s-bar i{display:block;height:100%;border-radius:4px;background:#FF2D6B;transform-origin:left center;transition:background-color .2s}
#pxg-hero.tt-urgent .tt-clock{color:#DC2626}
#pxg-hero.tt-urgent [data-bar]{background:#DC2626}
/* the phone strip sits on the pink: a white bar. When the clock is nearly out (the last 5 seconds) the clock turns
   into a white label with pink digits (no black, no red); the bar stays white. Drawn by ::before, so nothing moves. */
.tt-s-bar{background:rgba(255,255,255,0.3)}
.tt-s-bar i{background:#FFFFFF}
#pxg-hero.tt-urgent .tt-s-clock{position:relative;z-index:0;color:#FF2D6B}
#pxg-hero.tt-urgent .tt-s-clock::before{content:'';position:absolute;z-index:-1;top:-3px;bottom:-5px;left:-7px;right:5px;border-radius:8px;background:#FFFFFF}
#pxg-hero.tt-urgent .tt-s-bar [data-bar]{background:#FFFFFF}
.tt-named-h,.tt-board-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:12.5px;letter-spacing:1.6px;color:#6B7280}
.tt-named-h{border-top:1px solid rgba(255,255,255,0.08);padding-top:12px}
.tt-named-n{color:#FFFFFF;font-variant-numeric:tabular-nums}
.tt-found{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:352px;overflow-y:auto;overscroll-behavior:contain}
.tt-row{display:flex;align-items:center;gap:9px;min-width:0;background:#1A1A1F;border-radius:12px;padding:9px 10px}
.tt-row svg{flex:none}
.tt-row-n{flex:1 1 auto;min-width:0;font-weight:700;font-size:15px;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-row-d{flex:0 1 auto;max-width:42%;min-width:0;font-size:12px;color:#8A8A93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-row-d:empty{display:none}
.tt-plus{flex:none;border-radius:7px;padding:2px 7px;background:rgba(34,197,94,0.16);color:#4ADE80;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:15px;line-height:1.2}
.tt-empty{display:flex;align-items:center;justify-content:center;min-height:160px;padding:16px;border:1px dashed rgba(255,255,255,0.1);border-radius:14px;color:#6B7280;font-size:14px;line-height:1.45;text-align:center}
.tt-empty[hidden]{display:none}
.tt-count{display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 0 2px}
.tt-count-n{display:block;padding:14px 0 6px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:200px;line-height:.9;color:#FF2D6B;font-variant-numeric:tabular-nums}
.tt-count .tt-timer{width:100%;margin-top:10px}
.tt-count .tt-clock{font-size:40px;color:#6B7280}
.tt-banner{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 0 10px;text-align:center;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:46px;line-height:1;letter-spacing:.5px;color:#FF2D6B}
.tt-banner small{font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:13.5px;letter-spacing:.2px;color:#A1A1AA}
.tt-lockbox{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:200px;padding:20px;border-radius:18px;border:1px solid rgba(245,166,35,0.3);background:rgba(245,166,35,0.06);text-align:center}
.tt-lockbox-ic{width:62px;height:62px;border-radius:50%;background:rgba(245,166,35,0.12);display:flex;align-items:center;justify-content:center}
.tt-lockbox b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:22px;letter-spacing:2.5px;color:#F5A623}
.tt-lockbox small{max-width:240px;font-size:13.5px;line-height:1.45;color:#A1A1AA}
.tt-board-note{margin:0;padding:12px 4px 2px;border-top:1px solid rgba(255,255,255,0.08);font-size:14px;line-height:1.45;color:#A1A1AA;text-align:center}
/* the finished board: every answer as a chip, named ones green */
.tt-chips{list-style:none;margin:0;padding:2px;display:flex;flex-wrap:wrap;gap:6px;max-height:460px;overflow-y:auto;overscroll-behavior:contain}
.tt-ch{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:6px 11px;border-radius:100px;background:#16161B;border:1px solid rgba(255,255,255,0.07);color:rgba(255,255,255,0.42);font-weight:700;font-size:13px;line-height:1.2}
.tt-ch>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-ch svg{flex:none}
.tt-ch.on{background:#22C55E;border-color:#22C55E;color:#0E0D12}

/* ---------- phones: the sticky strip (clock, SCORE, COMBO, NAMED) ---------- */
.tt-strip{display:none}
.tt-strip[hidden]{display:none!important}

/* ---------- THE CLOCK DOESN'T STOP (the app's warning pop-up) ---------- */
.tt-warn{position:fixed;inset:0;z-index:72;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto;background:rgba(8,8,10,0.78);font-family:Barlow,system-ui,sans-serif;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.tt-warn *{box-sizing:border-box}
.tt-warn-in{position:relative;width:380px;max-width:100%;margin:auto;display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 22px 22px;border-radius:24px;border:1px solid rgba(255,45,107,0.35);background:#1C1C20;color:#FFFFFF;text-align:center;box-shadow:0 40px 80px rgba(0,0,0,0.5)}
.tt-warn-ic{width:56px;height:56px;border-radius:50%;background:rgba(255,45,107,0.12);display:flex;align-items:center;justify-content:center;flex:none}
.tt-warn-h{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:28px;line-height:1;letter-spacing:.5px}
#tt-warn-d{display:flex;flex-direction:column;gap:10px}
.tt-warn-in p{margin:0;font-size:15px;line-height:1.5;color:#E4E4E7}
.tt-warn-in .tt-warn-2{font-weight:500;font-size:14.5px;color:#A1A1AA}
.tt-warn-in .tt-warn-mid{border-radius:12px;padding:9px 12px;background:rgba(245,166,35,0.12);color:#FCD34D;font-weight:700;font-size:14px}
.tt-warn-in .tt-warn-err{color:#FCA5A5;font-weight:700;font-size:14px}
.tt-warn-err:empty{display:none}
.tt-warn-btns{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:6px}
.tt-warn-btns .pxg-btn{width:100%;min-height:54px}
.tt-warn-btns .pxg-btn:disabled{opacity:.55}
.tt-warn .pxg-btn:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
html[data-tt-warn]{overflow:hidden}
@media (prefers-reduced-motion: no-preference){.tt-warn{animation:pxg-ov-in .2s ease-out}.tt-warn-in{animation:pxg-ov-up .25s cubic-bezier(0.2,0.7,0.2,1)}}

/* ---------- done: the result card ---------- */
.tt-result{position:relative;overflow:hidden;gap:16px}
.tt-res-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-top:2px}
.tt-res-brand{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;letter-spacing:2px;color:rgba(255,255,255,0.85)}
.tt-res-brand b{font-weight:900;font-size:21px;letter-spacing:.5px;color:#FFFFFF;margin-right:5px}
.tt-res-date{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:12.5px;letter-spacing:1.5px;color:rgba(255,255,255,0.8)}
.tt-res-main{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:-4px}
.tt-res-score{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:68px;line-height:.92;color:#FFFFFF;font-variant-numeric:tabular-nums;white-space:nowrap}
.tt-res-score:focus{outline:none}
.tt-xp{background:#FFFFFF;color:#FF2D6B;border-radius:100px;padding:6px 13px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:18px;letter-spacing:.5px;line-height:1;white-space:nowrap}
.tt-res-named{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin-top:-6px}
.tt-res-named b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:64px;line-height:.9;color:#FFFFFF;font-variant-numeric:tabular-nums}
.tt-res-of{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:28px;color:rgba(255,255,255,0.8);font-variant-numeric:tabular-nums}
.tt-res-in{align-self:center;margin-left:6px;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:13px;line-height:1.15;letter-spacing:1.3px;text-transform:uppercase;color:rgba(255,255,255,0.85)}
.tt-res-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:rgba(255,255,255,0.14);border-radius:14px;padding:12px 2px}
.tt-res-stats>div{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.tt-res-stats>div+div{border-left:1px solid rgba(255,255,255,0.3)}
.tt-save{margin:0;font-size:13.5px;font-weight:500;line-height:1.45;color:rgba(255,255,255,0.88)}
.tt-save.is-bad{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;color:#FFFFFF;font-weight:700}
.tt-save.is-bad p{margin:0;flex:1 1 220px}
.tt-retry-save{flex:none;border:2px solid #FFFFFF;background:#FFFFFF;color:#FF2D6B;border-radius:100px;padding:9px 16px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:15px;letter-spacing:1px;cursor:pointer}
.tt-retry-save:hover:not(:disabled){background:rgba(255,255,255,0.86)}
.tt-retry-save:disabled{opacity:.6;cursor:default}
.tt-retry-save:focus-visible,.tt-miss-t:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
/* the rank gate fills a card that clips its edges, so its ring goes round the pill you see */
.tt-rk-gate:focus-visible{outline:none}
.tt-rk-gate:focus-visible .tt-rk-pill{outline:3px solid #FFFFFF;outline-offset:2px}
/* the rank card (rpc_rank_card, by number named) */
.tt-rank:empty,.tt-rank[hidden]{display:none}
.tt-rk{position:relative;overflow:hidden;background:rgba(255,255,255,0.14);border-radius:14px}
.tt-rk-top{display:flex;align-items:center;gap:12px;padding:12px 14px 10px}
.tt-rk-n{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:40px;line-height:1;color:#FFFFFF;font-variant-numeric:tabular-nums}
.tt-rk-top small{display:block;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:11.5px;letter-spacing:1.6px;color:rgba(255,255,255,0.8)}
.tt-rk-top b{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:16px;letter-spacing:.4px;color:#FFFFFF}
.tt-rk-top em{font-style:normal;color:#FFFFFF;font-weight:800}
.tt-rk-row{display:flex;align-items:center;gap:10px;padding:8px 14px;border-top:1px solid rgba(255,255,255,0.25);font-size:14px}
.tt-rk-row i{font-style:normal;width:40px;flex:none;color:rgba(255,255,255,0.75);font-variant-numeric:tabular-nums}
.tt-rk-row span{flex:1;min-width:0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-rk-row em{flex:none;font-style:normal;font-size:13px;color:rgba(255,255,255,0.85)}
.tt-rk-row.me{background:rgba(255,255,255,0.22)}
.tt-rk-row.me span{color:#FFFFFF;font-weight:800}
.tt-rk-foot{padding:9px 14px;border-top:1px solid rgba(255,255,255,0.25);font-size:12.5px;color:rgba(255,255,255,0.85)}
.tt-rk.is-loading{display:flex;align-items:center;gap:10px;padding:14px;color:rgba(255,255,255,0.9);font-size:14px}
.tt-rk .pxg-spin,.tt-cal-wait .pxg-spin{border-color:rgba(255,255,255,0.35);border-top-color:#FFFFFF;width:18px;height:18px}
.tt-rk-blur{filter:blur(5px);opacity:.55;pointer-events:none;user-select:none}
.tt-rk-gate{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;border:0;background:rgba(110,0,35,0.15);cursor:pointer;-webkit-tap-highlight-color:transparent}
/* the kit's outline style (a white 2px outline, white words, like PLAY PREVIOUS DAYS): filled with the panel's own
   pink under the gate (#DB3B6A, measured), so it reads as an outline while the blurred rows stay hidden behind it.
   2px border and 1px less padding: the same box as the old dark pill. Hover adds the outline buttons' white tint. */
.tt-rk-pill{display:inline-flex;align-items:center;gap:8px;border-radius:100px;padding:9px 15px;background:#DB3B6A;border:2px solid #FFFFFF;color:#FFFFFF;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:1.3px;line-height:1.15;text-align:left}
.tt-rk-gate:hover .tt-rk-pill{background:linear-gradient(rgba(255,255,255,0.14),rgba(255,255,255,0.14)),#DB3B6A}
/* THE QUESTION */
.tt-qcard{display:flex;flex-direction:column;gap:5px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,0.14)}
.tt-qk{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:11.5px;letter-spacing:2px;color:rgba(255,255,255,0.85)}
.tt-qcard b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:23px;line-height:1.05;text-transform:uppercase;overflow-wrap:anywhere}
.tt-qcard p{margin:0;font-weight:500;font-size:14.5px;line-height:1.45;color:rgba(255,255,255,0.95)}
.tt-qcard small{font-size:12.5px;font-weight:500;line-height:1.4;color:rgba(255,255,255,0.85)}
/* YOUR PICKS, in play order */
.tt-picks{background:rgba(255,255,255,0.14);border-radius:14px;padding:12px 14px}
.tt-plist{list-style:none;margin:0;padding:0;columns:2 230px;column-gap:26px}
.tt-pick{display:flex;align-items:center;gap:10px;padding:7px 0;break-inside:avoid;border-bottom:1px solid rgba(255,255,255,0.25)}
.tt-pick-i{width:22px;flex:none;font-size:13px;color:rgba(255,255,255,0.75);font-variant-numeric:tabular-nums}
.tt-pick-n{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.tt-pick-n span{font-weight:700;font-size:14px;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-pick-n small{font-size:12px;color:rgba(255,255,255,0.82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-pick.is-wrong .tt-pick-n span{color:rgba(255,255,255,0.75)}
/* +N / ✓ and ✕0 are plain white words (no chip), right-aligned in the chip's old box (40px wide, same height),
   so the rows and the name column do not move; the cross and the tick tell them apart, never colour */
.tt-chip{flex:none;display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;min-width:40px;padding:3px 0;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:.4px;line-height:1.15}
.tt-chip.ok,.tt-chip.bad{color:#FFFFFF}
.tt-chip :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.tt-chip :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.tt-nopicks,.tt-all{margin:6px 0 0;font-size:14px;font-weight:500;color:rgba(255,255,255,0.9)}
.tt-all{color:#FFFFFF;font-weight:700}
.tt-miss-t{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:12px;padding:12px 14px;border:0;border-radius:12px;background:rgba(255,255,255,0.14);color:#FFFFFF;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:1.2px;line-height:1.25;text-align:left;cursor:pointer}
.tt-miss-t:hover{background:rgba(255,255,255,0.22)}
.tt-miss-t svg{flex:none;transition:rotate .2s}
.tt-miss-t[aria-expanded="true"] svg{rotate:180deg}
.tt-missed{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.tt-missed[hidden]{display:none}
.tt-missed li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:rgba(255,255,255,0.1)}
.tt-mx{flex:none;line-height:0;color:rgba(255,255,255,0.75)}
.tt-mx :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.tt-mx :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.tt-miss-n{flex:1;min-width:0;font-weight:700;font-size:14px;color:rgba(255,255,255,0.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-miss-d{flex:0 1 auto;max-width:45%;font-size:12px;color:rgba(255,255,255,0.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* message cards (LOG IN TO PLAY, locked, no question) */
.tt-msg .tt-retry,.pxg-msg .tt-retry{align-self:flex-start;padding:4px 2px;color:#FFFFFF;font-size:14px}
.tt-lock-sub{margin:-4px 0 0!important;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:15px!important;letter-spacing:1.2px;text-transform:uppercase;color:#FFFFFF!important}
.tt-locked .pxg-msg-t{font-size:25px;line-height:1.15}

/* ---------- share card (the app's share image, as HTML; never the question) ---------- */
.tt-share{position:relative;overflow:hidden;border-radius:20px;padding:26px 22px 0;background:linear-gradient(130deg,rgba(255,45,107,0.38) 0%,rgba(255,45,107,0.05) 40%,rgba(255,45,107,0) 80%),#1B1C20;color:#FFFFFF;font-family:'Barlow Condensed',sans-serif;box-shadow:0 30px 60px rgba(0,0,0,0.5)}
.tt-share::before{content:'';position:absolute;left:0;right:0;top:0;height:6px;background:#FF2D6B}
.tt-sc-head{display:flex;align-items:baseline;gap:8px}
.tt-sc-head b{font-weight:900;font-size:24px;letter-spacing:.5px}
.tt-sc-head span{font-weight:700;font-size:14px;letter-spacing:2px;color:rgba(255,255,255,0.66)}
.tt-sc-date{margin-top:2px;font-weight:700;font-size:11.5px;letter-spacing:1.5px;color:rgba(255,255,255,0.42)}
.tt-sc-pts{margin-top:16px;font-weight:900;font-size:56px;line-height:1;color:#FF2D6B;font-variant-numeric:tabular-nums}
.tt-sc-named{display:flex;align-items:flex-end;gap:6px;margin-top:8px}
.tt-sc-named b{font-weight:900;font-size:76px;line-height:.82;font-variant-numeric:tabular-nums}
.tt-sc-of{font-weight:900;font-size:28px;line-height:1;color:rgba(255,255,255,0.4)}
.tt-sc-in{align-self:center;margin-left:10px;font-weight:700;font-size:12px;line-height:1.2;letter-spacing:1px;color:rgba(255,255,255,0.66)}
.tt-sc-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px;padding:10px 0;border-radius:14px;background:rgba(255,255,255,0.05);text-align:center}
.tt-sc-bar small{display:block;font-weight:700;font-size:9.5px;letter-spacing:1.2px;color:rgba(255,255,255,0.42)}
.tt-sc-bar b{font-weight:900;font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}
.tt-sc-bar b.pink{color:#FF2D6B}
.tt-sc-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;margin:18px -22px 0;padding:14px 22px;background:rgba(8,8,12,0.92)}
.tt-sc-foot b{font-weight:900;font-size:18px;letter-spacing:.3px;white-space:nowrap}
.tt-sc-foot span{font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:12px;color:#FF2D6B;white-space:nowrap}

/* ---------- calendar states (the app's legend) ---------- */
.pxg-day.k-all{background:#FFFFFF;border-color:#FFFFFF;color:#FF2D6B}
.pxg-day.k-all .pxg-day-sc{color:#FF2D6B}
.pxg-day.k-played{background:rgba(255,255,255,0.3);border-color:#FFFFFF;color:#FFFFFF}
.pxg-day.k-played .pxg-day-sc{color:#FFFFFF}
.pxg-day.k-open{background:transparent;border-color:#FFFFFF;color:#FFFFFF}
.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.today{box-shadow:inset 0 0 0 2px #FFFFFF}
.pxg-day.k-all.today{box-shadow:inset 0 0 0 2px #FF2D6B}
/* the selected day: a 1.5px gap of the calendar's own pink (#EB2761, measured), then a white ring out to 4px */
.pxg-day.sel{box-shadow:0 0 0 1.5px #EB2761,0 0 0 4px #FFFFFF}
.pxg-day.today.sel{box-shadow:inset 0 0 0 2px #FFFFFF,0 0 0 1.5px #EB2761,0 0 0 4px #FFFFFF}
.pxg-day.k-all.today.sel{box-shadow:inset 0 0 0 2px #FF2D6B,0 0 0 1.5px #EB2761,0 0 0 4px #FFFFFF}
.pxg-leg i.k-all{background:#FFFFFF;color:#FF2D6B}
.pxg-leg i.k-played{background:rgba(255,255,255,0.3)}
.pxg-leg i.k-locked{border-style:dashed;border-color:rgba(255,255,255,0.45)}
.pxg-leg i.k-played svg,.pxg-leg i.k-open svg{display:none}
.tt-cal-wait{flex-direction:row;align-items:center;gap:10px;padding:18px;color:rgba(255,255,255,0.9);font-size:14px}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference){
@keyframes tt-shake{0%{translate:0 0}25%{translate:8px 0}50%{translate:-8px 0}75%{translate:5px 0}100%{translate:0 0}}
.tt-field.is-bad,.tt-demo-box.is-shake{animation:tt-shake .17s linear}
@keyframes tt-in{from{opacity:0;translate:0 -10px;background-color:#14532D}}
.tt-row.is-new,.tt-demo-row.is-new{animation:tt-in .42s cubic-bezier(0.2,0.7,0.2,1)}
@keyframes tt-pop{0%{opacity:0;scale:.6}60%{opacity:1;scale:1.08}100%{scale:1}}
.tt-count-n.is-pop,.tt-cin.is-pop{animation:tt-pop .45s cubic-bezier(0.2,0.7,0.2,1)}
@keyframes tt-beat{0%{scale:1;translate:0 0}25%{scale:1.22;translate:2.5px 0}45%{scale:1.12;translate:-2.5px 0}65%{translate:2px 0}100%{scale:1;translate:0 0}}
.is-beat{animation:tt-beat .29s ease-out}
/* the phone strip's clock is a white label in the last 5 seconds: it beats by growing a little, with no sideways
   shake, so the label never touches the strip's edge (the board's own clock keeps tt-beat) */
@keyframes tt-beat-label{0%{scale:1}30%{scale:1.06}100%{scale:1}}
.tt-s-clock.is-beat{animation-name:tt-beat-label}
@keyframes tt-blink{50%{opacity:.25}}
#pxg-hero[data-tt=live] .tt-dot{animation:tt-blink 1.2s ease-in-out infinite}
.tt-empty.is-skel{animation:tt-skel 1.4s ease-in-out infinite}
@keyframes tt-skel{50%{background:rgba(255,255,255,0.03)}}
}

/* ---------- 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,340px)}
.tt-ready-t{font-size:68px}
.tt-q-p{font-size:24px}
.tt-clock{font-size:72px}
}
@media (min-width: 900px){
#pxg-hero.tt-hero[data-mode=play] .pxg-row{grid-template-areas:"brand brand" "game device" "days days"}
}
/* Phones and narrow tablets. In play the question and the box come before the board (you type into
   it), with the strip on top; the finished screen keeps the shell's order (board under the brand). */
@media (max-width: 759px){
#pxg-hero.tt-hero[data-mode=play] .pxg-row{grid-template-areas:"brand" "strip" "game" "device" "days"}
/* a message instead of a result (log in to play, locked, no question): the message first */
#pxg-hero.tt-hero[data-tt=noguest] .pxg-row,#pxg-hero.tt-hero[data-tt=locked] .pxg-row,#pxg-hero.tt-hero[data-tt=none] .pxg-row{grid-template-areas:"brand" "game" "device" "days"}
#pxg-hero[data-mode=play] .tt-strip{grid-area:strip;position:-webkit-sticky;position:sticky;top:0;z-index:30;align-self:start;display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:0 4px;margin:0 -6px;padding:9px 12px 13px;border-radius:16px;background:#FF2D6B;border:2px solid #FFFFFF;color:#FFFFFF;box-shadow:0 12px 26px rgba(70,0,22,0.35);overflow:hidden}
.tt-s-clock{display:inline-block;padding-right:12px;margin-right:2px;border-right:1.5px solid rgba(255,255,255,0.45);font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:34px;line-height:1;color:#FFFFFF;font-variant-numeric:tabular-nums}
.tt-s-st{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.tt-s-st small{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:10px;letter-spacing:1.2px;line-height:1;color:rgba(255,255,255,0.88)}
.tt-s-st b{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:22px;line-height:1;color:#FFFFFF;font-variant-numeric:tabular-nums;white-space:nowrap}
.tt-s-st b small{font-size:14px;letter-spacing:0;color:rgba(255,255,255,0.75)}
.tt-s-st b[data-s="score"]{color:#FFFFFF}
.tt-s-st b[data-s="combo"]{color:rgba(255,255,255,0.78)}
.tt-s-st b[data-s="combo"].on{color:#FFFFFF}
.tt-s-bar{position:absolute;left:0;right:0;bottom:0;height:4px;border-radius:0}
.tt-s-bar i{border-radius:0}
/* the strip carries the clock and the numbers here */
#pxg-hero[data-tt=count] .tt-stats,#pxg-hero[data-tt=live] .tt-stats,#pxg-hero[data-tt=ending] .tt-stats{display:none}
#pxg-hero[data-tt=live] .tt-board>.tt-timer{display:none}
#pxg-hero[data-tt=count] .tt-cin{display:flex;align-items:center;gap:10px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:18px;letter-spacing:2px;color:var(--g-text)}
#pxg-hero:not([data-mode=intro]) .pxg-tablet{max-width:min(100%,520px)}
#pxg-hero:not([data-mode=intro]) .pxg-device{justify-content:center}
.tt-play,.tt-ready{max-width:none}
.tt-found{max-height:none}
.tt-count-n{font-size:120px}
.tt-chips{max-height:300px}
}
@media (max-width: 640px){
.tt-ready{gap:12px}
.tt-ready-t{font-size:60px}
.tt-ready-l{font-size:19px}
.tt-ready-r{font-size:15.5px}
.tt-start{align-self:stretch;min-height:64px;font-size:28px;padding:0 28px}
.tt-play{gap:14px}
.tt-q{gap:6px}
.tt-q-t{font-size:14px;letter-spacing:1.6px}
.tt-q-p{font-size:20px;line-height:1.32}
.tt-q-h{font-size:14px}
.tt-field{height:56px;padding:0 14px;border-radius:16px}
.tt-field.is-ok::after,.tt-field.is-bad::after{left:12px}
.tt-input{font-size:18px}
.tt-sugg{max-height:min(300px,46vh)}
.tt-opt{min-height:44px;font-size:16px}
.tt-clock{font-size:64px}
.tt-res-score{font-size:54px}
.tt-res-named b{font-size:52px}
.tt-res-of{font-size:24px}
.tt-warn-h{font-size:25px}
.tt-picks{padding:10px 12px}
.tt-tag{font-size:12px}
}
@media (max-width: 370px){
.tt-s-clock{font-size:28px;padding-right:9px}
#pxg-hero.tt-urgent .tt-s-clock::before{top:-1px;bottom:-4px;left:-6px;right:3px}
.tt-s-st b{font-size:19px}
.tt-s-st small{font-size:9px;letter-spacing:.8px}
.tt-ready-t{font-size:52px}
.tt-start{font-size:24px;letter-spacing:2px}
.tt-res-score{font-size:46px}
.tt-res-named b{font-size:46px}
.tt-sv{font-size:22px}
.tt-sl{font-size:10px;letter-spacing:.8px}
.tt-sc-named b{font-size:64px}
.tt-sc-pts{font-size:48px}
.tt-sc-foot b{font-size:16px}
}

/* ==========================================================================
   No black on the pink (Ross, 12 Nov 2026: "the black is too much of a contrast in the yellow or white spaces";
   "Yes, all games"). The same choices as Puzzle Pix (styles/puzzle-pix.css). Outside the board's tablet
   (.pxg-tablet, unchanged: its red clock, green EVERY ANSWER chips and +N stay) and the pop-ups on a dimmed
   backdrop (share, THE CLOCK DOESN'T STOP, the account dialog, toasts: unchanged) nothing is ink or a board
   green/red, in any state. Time Trial's own rules were changed in place above (the answer box, the phone strip's
   last 5 seconds, YOUR PICKS' +N / ✕0, SIGN UP TO SEE WHERE YOU RANK, START's ring, the calendar's selected day
   and all-named count, the How to Play box). Overrides of the shared kit (styles/pix-game.css) live here, so
   Puzzle Pix and Pin Point are untouched.
   - Text on white stays the pink itself (--g-on-white #FF2D6B, 3.6:1 on white): SHARE, CREATE FREE ACCOUNT,
     PLAY <day>, LOG IN, RETRY, the points pill, Play Now, the all-named calendar day.
   - Focus rings white, 3px, 2px out (a gap of pink 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 kicker: white letters in a 1.5px white outline (a label), not the dark pill.
   ========================================================================== */
.pxg-hero.tt-hero{--pixa-chip-ring:#FFFFFF}
#pxg-hero:not([data-mode=intro]) .pxg-kicker{background:transparent;color:#FFFFFF;box-shadow:inset 0 0 0 1.5px #FFFFFF}
/* focus rings on the pink: white */
:is(#pxg-game,#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}
/* forced colours drop the box-shadow rings: the selected day keeps an outline */
@media (forced-colors: active){.tt-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, pink words and ring, START's hover tint, a pink shadow with a thin pink edge so the card never melts into the white icon or title (Ross, 12 Nov: "Yes, all three") */
.tt-hero .pixa-menu{border-color:#FFFFFF;background:#FFFFFF;box-shadow:0 0 0 1px rgba(110,0,35,0.12),0 2px 8px rgba(110,0,35,0.2),0 16px 40px var(--g-shadow-deep)}
.tt-hero :is(.pixa-menu-who,.pixa-menu-item){color:var(--g-on-white)}
.tt-hero .pixa-menu-item:hover{background:#FFF0F4}
.tt-hero .pixa-menu-item:focus-visible{outline:3px solid var(--g-on-white);outline-offset:2px}
