/* ==========================================================================
   PIX games: the shared page shell for games played on the site (scripts/pix-game.js).
   The site base (motion, reveals, phone header, footer), then the hero in its three modes
   (intro | play | done), the tablet, cards, buttons, the account box, the calendar, the share
   overlay and the toast. Lifted from styles/pinpoint.css (Pin Point keeps its own copy).
   Every game colour is a custom property, set by the game's stylesheet:
     --g-bg       hero colour                --g-ink       dark fills and controls on the hero
     --g-ink-soft secondary ink on the hero  --g-accent    the game colour on dark surfaces
     --g-text     text on the hero (white)   --g-text-soft secondary text on the hero
     --g-tint     a card's faint fill        --g-on-white  text on a white button
   Light style (Ross, 11 Nov): on the game colour only the board's tablet is dark. Cards are white outlines
   on --g-tint, panels inside them a white tint, the main buttons white, the others white outlines.
     --g-on-accent text on an accent button  --g-fill      dark tinted fill (guest card)
     --g-line     accent outline             --g-shadow    tinted drop shadow on the hero
   ========================================================================== */
:root{--g-text:#FFFFFF;--g-text-soft:rgba(255,255,255,0.88);--g-tint:rgba(0,0,0,0.12);--g-on-white:#0E0D12;--g-bg:#FF7A1A;--g-ink:#0E0D12;--g-ink-soft:rgba(14,13,18,0.75);--g-accent:#FF7A1A;--g-on-accent:#161616;--g-fill:#2B1606;--g-line:rgba(255,122,26,0.6);--g-shadow:rgba(80,25,0,0.22)}

/* ---------- site base (same rules as styles/pinpoint.css and styles/home.css) ---------- */
body{margin:0;background:#161616}
a{color:#C4B5FD}a:hover{color:#E9E3FF}
@keyframes rise{from{opacity:0;translate:0 70px}}
@keyframes pop{from{opacity:0;scale:0.6}}
@keyframes from-left{from{opacity:0;translate:-120px 0}}
@keyframes from-right{from{opacity:0;translate:140px 0}}
@keyframes phone-in{from{opacity:0;translate:0 220px}}
@keyframes drift{to{translate:0 -140px}}
@media (prefers-reduced-motion: no-preference){
.in{animation:rise 0.9s cubic-bezier(0.2,0.7,0.2,1) both}
.phone-in{animation:phone-in 1.1s cubic-bezier(0.2,0.7,0.2,1) both}
.d1{animation-delay:0.05s}.d2{animation-delay:0.18s}.d3{animation-delay:0.32s}.d4{animation-delay:0.46s}.d5{animation-delay:0.6s}.d6{animation-delay:0.74s}
@supports (animation-timeline: view()){
.stagger>*,.stagger-pop>*,.stagger-right>*,.from-left,.from-right,.rv{animation-fill-mode:both;animation-timing-function:cubic-bezier(0.2,0.7,0.2,1);animation-timeline:view();animation-range:entry 0% cover 28%}
.stagger>*,.rv{animation-name:rise}
.stagger-pop>*{animation-name:pop}
.stagger-right>*{animation-name:from-right}
.from-left{animation-name:from-left}
.from-right{animation-name:from-right}
.stagger>:nth-child(2),.stagger-pop>:nth-child(2),.stagger-right>:nth-child(2){animation-range:entry 4% cover 32%}
.stagger>:nth-child(3),.stagger-pop>:nth-child(3),.stagger-right>:nth-child(3){animation-range:entry 8% cover 36%}
.stagger>:nth-child(4),.stagger-pop>:nth-child(4),.stagger-right>:nth-child(4){animation-range:entry 12% cover 40%}
.stagger>:nth-child(5),.stagger-pop>:nth-child(5),.stagger-right>:nth-child(5){animation-range:entry 16% cover 44%}
.stagger>:nth-child(n+6),.stagger-pop>:nth-child(n+6),.stagger-right>:nth-child(n+6){animation-range:entry 20% cover 48%}
.drift{animation:drift linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
}
}
@media (max-width: 640px){
.from-left,.from-right,.stagger{min-width:0;max-width:100%}
.cta-qr{display:none!important}
h2.pg-app-h{font-size:34px!important;line-height:.95!important}
.rv[style*="padding: 32px"]{padding:20px!important}
}
html,body{overflow-x:clip}
@media (max-width: 640px){
header nav[aria-label="Main"],header nav[aria-label="Business"]{display:none!important}
h1{font-size:clamp(52px,15vw,72px)!important}
h2{font-size:clamp(40px,11.5vw,56px)!important;line-height:.95!important}
header > div{padding:14px 16px!important;gap:10px 14px!important;flex-wrap:nowrap!important}
header img[alt="PIX"]{height:30px!important}
header a[href*="/login"]{white-space:nowrap}
}
@media (prefers-reduced-motion: no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion: no-preference){@supports (animation-timeline: view()){
.ft-reveal>*{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
.ft-reveal>:nth-child(2){animation-range:entry 15% entry 100%}
}}
.js-reveal .rv,.js-reveal .from-left,.js-reveal .from-right,.js-reveal .stagger>*,.js-reveal .stagger-pop>*,.js-reveal .stagger-right>*,.js-reveal .ft-reveal>*{opacity:0;transition:opacity .7s cubic-bezier(.2,.7,.2,1),translate .7s cubic-bezier(.2,.7,.2,1),scale .7s cubic-bezier(.2,.7,.2,1)}
.js-reveal .rv,.js-reveal .stagger>*,.js-reveal .ft-reveal>*{translate:0 60px}
.js-reveal .from-left{translate:-100px 0}
.js-reveal .from-right,.js-reveal .stagger-right>*{translate:100px 0}
.js-reveal .stagger-pop>*{scale:.7}
.js-reveal .is-in{opacity:1!important;translate:0 0!important;scale:1!important}

/* ==========================================================================
   Hero. #pxg-hero[data-mode] = intro | play | done. The intro is Pin Point's layout exactly.
   ========================================================================== */
.pxg-hero{background:var(--g-bg);overflow:hidden;--pixa-chip-ring:var(--g-ink)}
.pxg-row{max-width:1280px;margin:0 auto;padding:40px 32px 0;display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end}
.pxg-left{flex:1 1 520px;display:flex;flex-direction:column;gap:24px;padding-bottom:96px;color:#FFFFFF;min-width:0}
.pxg-brand,.pxg-intro-copy{display:flex;flex-direction:column;gap:24px}
.pxg-brand{align-items:flex-start}
.pxg-icon{width:120px;height:120px;display:block}
.pxg-title{margin:0;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:140px;line-height:0.85;text-transform:uppercase;color:#FFFFFF}
.pxg-device{flex:1 1 400px;display:flex;justify-content:center;padding-bottom:72px;min-width:0}
.pxg-tablet{margin:0;width:100%;max-width:420px;box-sizing:border-box;background:#0E0D12;box-shadow:0 40px 80px var(--g-shadow-deep,rgba(80,25,0,0.45));border:1px solid rgba(255,255,255,0.1);border-radius:28px;padding:22px;display:flex;flex-direction:column;gap:14px;color:#FFFFFF}
.pxg-thead{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:28px}
.pxg-tlabel{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:2px;color:var(--g-accent)}
.pxg-kicker{display:none}
.pxg-account{display:flex;align-items:center}

/* #play in the address bar: keep the hero hidden until the game has picked its mode (failsafe after 4s) */
@keyframes pxg-unhide{to{visibility:visible}}
html[data-pxg-boot] #pxg-hero .pxg-row{visibility:hidden;animation:pxg-unhide 0s 4s forwards}

/* Play Now morph: View Transitions (the fallback in pix-game.js animates transform) */
.pxg-icon{view-transition-name:pxg-icon}
.pxg-title{view-transition-name:pxg-title}
.pxg-tablet{view-transition-name:pxg-tablet}
::view-transition-group(pxg-icon),::view-transition-group(pxg-title),::view-transition-group(pxg-tablet){animation-duration:.5s;animation-timing-function:cubic-bezier(0.2,0.7,0.2,1)}
::view-transition-old(root),::view-transition-new(root){animation-duration:.25s}
@media (prefers-reduced-motion: reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* ---------- play + done: brand bar on top, game area left, tablet right ---------- */
#pxg-hero:not([data-mode=intro]) .pxg-intro-copy,
#pxg-hero:not([data-mode=intro]) .pxg-tlabel,
#pxg-hero:not([data-mode=intro]) .pxg-intro-only{display:none}
#pxg-hero[data-mode=intro] .pxg-play-only{display:none}
#pxg-hero:not([data-mode=intro]) .pxg-row{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "device" "game" "aside" "days";gap:20px;align-items:start;padding:20px 32px 64px}
#pxg-hero:not([data-mode=intro]) .pxg-left{display:contents}
#pxg-hero:not([data-mode=intro]) .pxg-brand{grid-area:brand;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 16px}
#pxg-hero:not([data-mode=intro]) .pxg-icon{width:56px;height:56px}
#pxg-hero:not([data-mode=intro]) .pxg-title{font-size:64px;line-height:0.9;white-space:nowrap}
#pxg-hero:not([data-mode=intro]) .pxg-title br{display:none}
/* the kicker is ink on the game colour (Ross's ink rule): dark pill, accent letters */
#pxg-hero:not([data-mode=intro]) .pxg-kicker{display:inline-flex;margin-left:auto;align-self:center;background:var(--g-ink);color:var(--g-accent);border-radius:100px;padding:7px 14px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:2px;white-space:nowrap}
#pxg-hero:not([data-mode=intro]) .pxg-device{grid-area:device;padding-bottom:0}
#pxg-game{grid-area:game;min-width:0}
/* .pxg-aside: an optional play-time panel (Puzzle Pix's fact card); it sits under the game area */
.pxg-aside{grid-area:aside;min-width:0}
#pxg-hero:not([data-mode=play]) .pxg-aside{display:none}
#pxg-days{grid-area:days;min-width:0;position:relative;z-index:1}
@media (min-width: 760px){
#pxg-hero:not([data-mode=intro]) .pxg-row{grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"brand brand" "game device" "game days";grid-template-rows:auto auto 1fr;column-gap:32px;row-gap:28px}
#pxg-hero[data-mode=play] .pxg-row{grid-template-areas:"brand brand" "game device" "aside device" "days days"}
#pxg-hero:not([data-mode=intro]) .pxg-tablet{padding:16px}
}
@media (min-width: 900px){
/* same columns as the intro's flex row (520 / 400 basis), so the tablet keeps its place and width */
#pxg-hero:not([data-mode=intro]) .pxg-row{grid-template-columns:minmax(0,calc(50% + 36px)) minmax(0,1fr);column-gap:48px}
#pxg-hero:not([data-mode=intro]) .pxg-tablet{padding:22px}
#pxg-hero[data-mode=play]{min-height:var(--pxg-intro-h,0px)}
}

/* tablet header in play: progress pips + score */
.pxg-pips{display:flex;align-items:center;gap:5px;flex:1;min-height:28px;min-width:0}
.pxg-pips[hidden]{display:none}
.pxg-score{margin-left:auto;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:24px;line-height:1;color:var(--g-accent);white-space:nowrap;font-variant-numeric:tabular-nums}
.pxg-score small{font-size:14px;color:#6B7280;font-weight:700;letter-spacing:.5px}

/* ---------- game area (on the game colour): white text (Ross, 10 Nov), dark fills in ink ---------- */
.pxg{color:var(--g-text);font-family:Barlow,system-ui,sans-serif}
.pxg *,.pxg-days *,.pxg-aside *{box-sizing:border-box}
:where(.pxg,.pxg-days,.pxg-aside,.pxg-tablet) button{font-family:inherit;-webkit-tap-highlight-color:transparent}
.pxg-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.pxg-k[data-focus]:focus,.pxg-msg-t[data-focus]:focus,.pxg-cal-title:focus,[data-focus-q]:focus{outline:none}
.pxg-btn:focus-visible,.pxg-day:focus-visible,.pxg-cal-nav:focus-visible,.pxg-link:focus-visible{outline:3px solid var(--g-ink);outline-offset:2px}
.pxg-card .pxg-btn:focus-visible,.pxg-card .pxg-link:focus-visible,.pxg-cal .pxg-day:focus-visible,.pxg-cal .pxg-cal-nav:focus-visible{outline-color:var(--g-ink)}
.pxg-loading{display:flex;align-items:center;gap:12px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:26px;letter-spacing:1px;min-height:120px;color:var(--g-text)}
.pxg-spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(255,255,255,0.35);border-top-color:var(--g-text);flex:none}
@media (prefers-reduced-motion: no-preference){.pxg-spin{animation:pxg-spin .8s linear infinite}}
@keyframes pxg-spin{to{rotate:360deg}}

/* cards on the game colour: white outline on a faint tint (the light style) */
.pxg-card{background:var(--g-tint);border:2px solid #FFFFFF;border-radius:20px;padding:18px;color:#FFFFFF;display:flex;flex-direction:column;gap:14px}

/* buttons */
.pxg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:14px 26px;border-radius:100px;border:0;cursor:pointer;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:20px;letter-spacing:1px;line-height:1;text-decoration:none;transition:transform .08s ease,opacity .2s,filter .2s}
.pxg-btn:hover{filter:brightness(1.06)}
.pxg-btn:active{transform:scale(0.97)}
.pxg-btn:disabled{cursor:default;transform:none}
.pxg-btn-white{background:#FFFFFF;color:#161616}
.pxg-btn-accent{background:var(--g-accent);color:var(--g-on-accent)}
.pxg-btn-ghost{background:transparent;color:#D4D4D8;border:1px solid rgba(255,255,255,0.22)}
.pxg-btn-ghost:hover{border-color:rgba(255,255,255,0.4);color:#FFFFFF;filter:none}
.pxg-btn-dark{background:#161616;color:#FFFFFF}
.pxg-btn-ink{background:var(--g-ink);color:var(--g-accent);box-shadow:0 10px 24px var(--g-shadow)}
.pxg-btn-wa{background:#25D366;color:#0E0D12}
/* a link drawn as a button keeps its own colour on hover (the site's a:hover lavender never wins) */
a.pxg-btn-white:hover{color:#161616}
a.pxg-btn-accent:hover{color:var(--g-on-accent)}
a.pxg-btn-dark:hover{color:#FFFFFF}
a.pxg-btn-ink:hover{color:var(--g-accent)}
a.pxg-btn-wa:hover{color:#0E0D12}
/* on the game colour (not the share pop-up or the clock warning): main buttons white, the rest white outlines */
:is(.pxg,.pxg-aside,.pxg-days) :is(.pxg-btn-accent,.pxg-btn-white,.pxg-btn-ink,.pxg-btn-dark){background:#FFFFFF;color:var(--g-on-white);box-shadow:none}
:is(.pxg,.pxg-aside,.pxg-days) a:is(.pxg-btn-accent,.pxg-btn-white,.pxg-btn-ink,.pxg-btn-dark):hover{color:var(--g-on-white)}
:is(.pxg,.pxg-aside,.pxg-days) :is(.pxg-btn-accent,.pxg-btn-white,.pxg-btn-ink,.pxg-btn-dark):hover:not(:disabled){filter:none;background:rgba(255,255,255,0.86)}
:is(.pxg,.pxg-aside,.pxg-days) .pxg-btn-ghost{background:transparent;color:#FFFFFF;border:2px solid #FFFFFF}
:is(.pxg,.pxg-aside,.pxg-days) .pxg-btn-ghost:hover{background:rgba(255,255,255,0.14);color:#FFFFFF}
.pxg-link{background:none;border:0;padding:8px 4px;cursor:pointer;color:#FFFFFF;font-weight:700;font-size:16px;text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion: no-preference){
@keyframes pxg-rise{from{opacity:0;translate:0 8px}}
.pxg-fade{animation:pxg-rise .35s cubic-bezier(0.2,0.7,0.2,1) both}
}

/* ---------- done: result card ---------- */
.pxg-done{display:flex;flex-direction:column;gap:16px}
.pxg-total{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pxg-k{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:14px;letter-spacing:2px;color:var(--g-text)}
.pxg-sub{font-size:14px;font-weight:500;color:rgba(255,255,255,0.88);margin-top:4px}
.pxg-big{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:56px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
.pxg-big small{font-size:18px;color:rgba(255,255,255,0.8);letter-spacing:.5px}
.pxg-rows-head{display:flex;justify-content:space-between;gap:8px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:12px;letter-spacing:1.6px;color:rgba(255,255,255,0.85);padding-bottom:4px}
.pxg-btns{display:flex;flex-wrap:wrap;gap:10px}
.pxg-btns .pxg-btn{flex:1 1 180px}
.pxg-note{margin:0;font-size:13px;font-weight:500;color:rgba(255,255,255,0.88);text-align:center}
/* guest prompt / saved line */
.pxg-guest{border-color:#FFFFFF}
.pxg-guest-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.pxg-guest-t{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:30px;line-height:1;margin-top:6px}
.pxg-pill{background:#FFFFFF;color:var(--g-on-white);border-radius:100px;padding:6px 12px;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:16px;white-space:nowrap}
.pxg-guest p{margin:0;font-size:15px;line-height:1.5;color:#FFFFFF}
.pxg-guest-btns{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.pxg-saved{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;line-height:1.35;color:var(--g-text)}
.pxg-saved svg{flex:none}
.pxg-saved span{min-width:0;overflow-wrap:anywhere}
.pxg-msg-t{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:24px;letter-spacing:1px;line-height:1.1}
.pxg-msg p{margin:0;color:rgba(255,255,255,0.92);font-size:15px;line-height:1.5}
.pxg-msg-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* ---------- previous days: calendar ---------- */
.pxg-days-in{display:flex;flex-direction:column;gap:14px;width:100%;max-width:420px;margin:0 auto;scroll-margin-top:16px}
.pxg-days-h{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:30px;letter-spacing:1px;line-height:1;color:var(--g-text);margin:4px 0 0}
.pxg-days .pxg-btn-ink{width:100%}
.pxg-cal{background:var(--g-tint);border:2px solid #FFFFFF;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:8px;color:#FFFFFF}
.pxg-cal-head{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.pxg-cal-title{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:15px;letter-spacing:1.6px}
.pxg-cal-nav{background:none;border:0;padding:6px;cursor:pointer;color:#FFFFFF;line-height:0;border-radius:8px}
.pxg-cal-nav:hover:not(:disabled){color:#FFFFFF;background:rgba(255,255,255,0.14)}
.pxg-cal-nav:disabled{color:rgba(255,255,255,0.35);cursor:default}
.pxg-wk,.pxg-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.pxg-wk span{text-align:center;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:11.5px;color:rgba(255,255,255,0.85)}
.pxg-cell{padding:2px}
.pxg-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;min-height:36px;padding:0;border-radius:10px;border:1.5px solid rgba(255,255,255,0.3);background:transparent;color:rgba(255,255,255,0.85);font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:16px;line-height:1;cursor:pointer;transition:filter .15s,background-color .15s}
.pxg-day:disabled{cursor:default}
.pxg-day.k-none{opacity:.4}
.pxg-day.k-none.sel{opacity:1;color:rgba(255,255,255,0.5);border-color:rgba(255,255,255,0.3)}
.pxg-day.future{opacity:.25}
.pxg-day.k-open,.pxg-day.k-unfinished{border-color:#FFFFFF;background:transparent;color:#FFFFFF}
.pxg-day.k-won{background:rgba(255,255,255,0.3);border-color:#FFFFFF;color:#FFFFFF}
.pxg-day.k-perfect{background:#FFFFFF;border-color:#FFFFFF;color:var(--g-on-white)}
.pxg-day.today{box-shadow:inset 0 0 0 2px #FFFFFF}
.pxg-day.k-perfect.today{box-shadow:inset 0 0 0 2px var(--g-accent)}
.pxg-day.sel{box-shadow:0 0 0 3px var(--g-ink);border-color:#FFFFFF}
.pxg-day.today.sel{box-shadow:inset 0 0 0 2px #FFFFFF,0 0 0 3px var(--g-ink)}
.pxg-day.k-perfect.today.sel,.pxg-day.k-all.today.sel{box-shadow:inset 0 0 0 2px var(--g-accent),0 0 0 3px var(--g-ink)}
.pxg-cal .pxg-day:focus-visible{outline:3px dashed var(--g-ink);outline-offset:3px}
/* hover lifts a cell without changing what its fill says */
.pxg-day:is(.k-open,.k-unfinished,.k-locked):not(:disabled):hover{background-color:rgba(255,255,255,0.18)}
.pxg-day:not(.k-perfect):not(.k-all):not(.k-open):not(.k-unfinished):not(.k-locked):not(:disabled):hover{filter:brightness(1.08)}
.pxg-day.k-perfect:not(:disabled):hover{background-color:rgba(255,255,255,0.86)}
/* the games draw their day icons in their own colours; on the light calendar they take the cell's colour */
.pxg-cal :is(.pxg-day-ic,.pxg-leg i) :is(svg,svg *)[stroke]:not([stroke="none"]){stroke:currentColor}
.pxg-cal :is(.pxg-day-ic,.pxg-leg i) :is(svg,svg *)[fill]:not([fill="none"]){fill:currentColor}
.pxg-day-ic{position:absolute;top:4px;right:4px;line-height:0}
@media (max-width: 399px){.pxg-day-ic{top:3px;right:3px}.pxg-day-ic svg{width:8px;height:8px}}
.pxg-day-sc{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:10.5px;margin-top:2px;font-variant-numeric:tabular-nums}
.pxg-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:2px}
.pxg-leg{display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;color:rgba(255,255,255,0.9)}
.pxg-leg i{width:14px;height:14px;border-radius:4px;border:1.5px solid #FFFFFF;display:flex;align-items:center;justify-content:center;line-height:0;box-sizing:border-box}
.pxg-leg i.k-won{background:rgba(255,255,255,0.3)}
.pxg-leg i.k-perfect{background:#FFFFFF;color:var(--g-on-white)}
.pxg-count{margin-left:auto;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:12.5px;color:rgba(255,255,255,0.85)}

/* ---------- share overlay: the card, then COPY / WHATSAPP ---------- */
.pxg-ov{position:fixed;inset:0;z-index:70;background:rgba(8,8,10,0.72);display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto;font-family:Barlow,system-ui,sans-serif;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.pxg-ov *{box-sizing:border-box}
.pxg-ov button{font-family:inherit;-webkit-tap-highlight-color:transparent}
.pxg-ov-in{position:relative;width:340px;max-width:100%;margin:auto;display:flex;flex-direction:column;gap:14px}
.pxg-ov-h{display:flex;align-items:center;justify-content:space-between;color:#FFFFFF;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:22px;letter-spacing:1.5px}
.pxg-ov-x{background:rgba(255,255,255,0.1);border:0;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#FFFFFF;cursor:pointer;flex:none}
.pxg-ov-x:hover{background:rgba(255,255,255,0.18)}
.pxg-ov-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pxg-ov-btns .pxg-btn{width:100%;padding:14px 10px}
.pxg-ov .pxg-btn:focus-visible,.pxg-ov-x:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}
.pxg-ov-note{margin:0;text-align:center;font-size:13px;color:#A1A1AA}
@media (prefers-reduced-motion: no-preference){.pxg-ov{animation:pxg-ov-in .2s ease-out}.pxg-ov-in{animation:pxg-ov-up .25s cubic-bezier(0.2,0.7,0.2,1)}}
@keyframes pxg-ov-in{from{opacity:0}}
@keyframes pxg-ov-up{from{transform:translateY(16px) scale(0.98);opacity:0}}
html[data-pxg-ov]{overflow:hidden}

/* ---------- dialog (PixGame.dialog): the overlay's backdrop, a dark card, the main button in the accent ---------- */
.pxg-ov-in.pxg-dlg{width:440px;max-width:100%;background:#15181E;border:1px solid rgba(255,255,255,0.1);border-radius:22px;padding:20px;color:#FFFFFF;box-shadow:0 30px 70px rgba(0,0,0,0.55)}
.pxg-dlg-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.pxg-dlg-h{font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:26px;letter-spacing:1px;line-height:1.05;text-transform:uppercase;padding-top:6px;min-width:0;overflow-wrap:anywhere}
.pxg-dlg-b{display:flex;flex-direction:column;gap:12px;font-size:15.5px;line-height:1.5;color:#E4E4E7}
.pxg-dlg-b:empty{display:none}
.pxg-dlg-b p{margin:0}
.pxg-dlg-btns{display:flex;flex-direction:column;gap:10px}
.pxg-dlg-btns[hidden]{display:none}
.pxg-dlg-btns .pxg-btn{width:100%;flex-direction:column;gap:3px}
.pxg-dlg-bsub{font-family:Barlow,system-ui,sans-serif;font-weight:600;font-size:12.5px;letter-spacing:0;opacity:.85}
.pxg-dlg .pxg-btn-ghost{color:#FFFFFF;border:2px solid rgba(255,255,255,0.4)}
.pxg-dlg .pxg-btn-ghost:hover{border-color:#FFFFFF;background:rgba(255,255,255,0.08)}
.pxg-dlg .pxg-btn:disabled{opacity:.6}
.pxg-dlg :is(input,textarea,select):focus-visible,.pxg-dlg [tabindex]:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}

/* toast */
.pxg-toast{position:fixed;left:50%;bottom:24px;translate:-50% 0;z-index:80;background:#161616;color:#FFFFFF;border-radius:100px;padding:12px 20px;font-family:Barlow,system-ui,sans-serif;font-weight:700;font-size:15px;box-shadow:0 12px 30px rgba(0,0,0,0.35);pointer-events:none;opacity:0;transition:opacity .2s}
.pxg-toast.on{opacity:1}

/* ---------- phones ---------- */
@media (max-width: 640px){
#pxg-hero:not([data-mode=intro]) .pxg-row{padding:10px 16px 40px;gap:14px}
#pxg-hero:not([data-mode=intro]) .pxg-brand{gap:6px 10px;flex-wrap:nowrap}
#pxg-hero:not([data-mode=intro]) .pxg-icon{width:40px;height:40px}
#pxg-hero:not([data-mode=intro]) h1.pxg-title{font-size:36px!important;line-height:1!important}
#pxg-hero:not([data-mode=intro]) .pxg-kicker{font-size:12px;letter-spacing:1.5px;padding:6px 10px}
.pxg-k-pre{display:none}
#pxg-hero:not([data-mode=intro]) .pxg-tablet{padding:12px;border-radius:22px;gap:10px;box-shadow:0 20px 40px var(--g-shadow-deep,rgba(80,25,0,0.35))}
.pxg-card{padding:14px;border-radius:18px;gap:12px}
.pxg-big{font-size:46px}
.pxg-btn{font-size:18px;min-height:48px;padding:12px 18px}
.pxg-loading{font-size:22px;min-height:80px}
.pxg-days-h{font-size:26px}
}
