
@font-face{font-family:'Ithaca';src:url('fonts/Ithaca-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:'DepartureMono';src:url('fonts/DepartureMono-Regular.otf') format('opentype');font-display:swap}
:root{
--bg:#0C0C14;--s1:#12121C;--s2:#1A1A28;--s3:#242436;--border:#222234;--border-hi:#30304A;
--text:#E0DEF0;--label:#C4C2D8;--dim:#A19FB6;--mute:#8C8AA6;--faint:#504E66;
--red:#E84060;--green:#40E870;--blue:#4090F0;--gold:#ECC848;--red-dim:#B03048;--green-dim:#2CB850;
--t-classic:#40E870;--t-rare:#4090F0;--t-epic:#A868F0;--t-legendary:#ECC848;
--c-play:#9AA8E0;--c-streak:#F09040;--c-collect:#ECC848;--c-daily:#BE8CFF;--c-league:#58D0A0;
--accent:#e09030;--accent-mid:#b87020;--accent-dim:#885018;--accent-ink:#141018;
--f-title:'Ithaca','DepartureMono',ui-monospace,Menlo,monospace;--f-body:'DepartureMono',ui-monospace,Menlo,Consolas,monospace;
--gutter:16px;--wrap:1160px;--bar:56px;--ease:cubic-bezier(.33,1,.68,1);--body:14.667px;--item:14.667px;
--stair-2:polygon(4px 0,calc(100% - 4px) 0,calc(100% - 2px) 0,calc(100% - 2px) 2px,100% 2px,100% 4px,100% calc(100% - 4px),100% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) 100%,calc(100% - 4px) 100%,4px 100%,2px 100%,2px calc(100% - 2px),0 calc(100% - 2px),0 calc(100% - 4px),0 4px,0 2px,2px 2px,2px 0,4px 0);--stair-3:polygon(6px 0,calc(100% - 6px) 0,calc(100% - 4px) 0,calc(100% - 4px) 2px,calc(100% - 2px) 2px,calc(100% - 2px) 4px,100% 4px,100% 6px,100% calc(100% - 6px),100% calc(100% - 4px),calc(100% - 2px) calc(100% - 4px),calc(100% - 2px) calc(100% - 2px),calc(100% - 4px) calc(100% - 2px),calc(100% - 4px) 100%,calc(100% - 6px) 100%,6px 100%,4px 100%,4px calc(100% - 2px),2px calc(100% - 2px),2px calc(100% - 4px),0 calc(100% - 4px),0 calc(100% - 6px),0 6px,0 4px,2px 4px,2px 2px,4px 2px,4px 0,6px 0);--stair-4:polygon(8px 0,calc(100% - 8px) 0,calc(100% - 6px) 0,calc(100% - 6px) 2px,calc(100% - 4px) 2px,calc(100% - 4px) 4px,calc(100% - 2px) 4px,calc(100% - 2px) 6px,100% 6px,100% 8px,100% calc(100% - 8px),100% calc(100% - 6px),calc(100% - 2px) calc(100% - 6px),calc(100% - 2px) calc(100% - 4px),calc(100% - 4px) calc(100% - 4px),calc(100% - 4px) calc(100% - 2px),calc(100% - 6px) calc(100% - 2px),calc(100% - 6px) 100%,calc(100% - 8px) 100%,8px 100%,6px 100%,6px calc(100% - 2px),4px calc(100% - 2px),4px calc(100% - 4px),2px calc(100% - 4px),2px calc(100% - 6px),0 calc(100% - 6px),0 calc(100% - 8px),0 8px,0 6px,2px 6px,2px 4px,4px 4px,4px 2px,6px 2px,6px 0,8px 0);--stair-5:polygon(10px 0,calc(100% - 10px) 0,calc(100% - 8px) 0,calc(100% - 8px) 2px,calc(100% - 6px) 2px,calc(100% - 6px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 6px,calc(100% - 2px) 6px,calc(100% - 2px) 8px,100% 8px,100% 10px,100% calc(100% - 10px),100% calc(100% - 8px),calc(100% - 2px) calc(100% - 8px),calc(100% - 2px) calc(100% - 6px),calc(100% - 4px) calc(100% - 6px),calc(100% - 4px) calc(100% - 4px),calc(100% - 6px) calc(100% - 4px),calc(100% - 6px) calc(100% - 2px),calc(100% - 8px) calc(100% - 2px),calc(100% - 8px) 100%,calc(100% - 10px) 100%,10px 100%,8px 100%,8px calc(100% - 2px),6px calc(100% - 2px),6px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 6px),2px calc(100% - 6px),2px calc(100% - 8px),0 calc(100% - 8px),0 calc(100% - 10px),0 10px,0 8px,2px 8px,2px 6px,4px 6px,4px 4px,6px 4px,6px 2px,8px 2px,8px 0,10px 0);--stair-6:polygon(12px 0,calc(100% - 12px) 0,calc(100% - 10px) 0,calc(100% - 10px) 2px,calc(100% - 8px) 2px,calc(100% - 8px) 4px,calc(100% - 6px) 4px,calc(100% - 6px) 6px,calc(100% - 4px) 6px,calc(100% - 4px) 8px,calc(100% - 2px) 8px,calc(100% - 2px) 10px,100% 10px,100% 12px,100% calc(100% - 12px),100% calc(100% - 10px),calc(100% - 2px) calc(100% - 10px),calc(100% - 2px) calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 6px),calc(100% - 6px) calc(100% - 6px),calc(100% - 6px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) calc(100% - 2px),calc(100% - 10px) calc(100% - 2px),calc(100% - 10px) 100%,calc(100% - 12px) 100%,12px 100%,10px 100%,10px calc(100% - 2px),8px calc(100% - 2px),8px calc(100% - 4px),6px calc(100% - 4px),6px calc(100% - 6px),4px calc(100% - 6px),4px calc(100% - 8px),2px calc(100% - 8px),2px calc(100% - 10px),0 calc(100% - 10px),0 calc(100% - 12px),0 12px,0 10px,2px 10px,2px 8px,4px 8px,4px 6px,6px 6px,6px 4px,8px 4px,8px 2px,10px 2px,10px 0,12px 0);
}
/* Departure Mono is drawn on an 11-px grid: 14.667 is a whole number of
   device pixels on a 3× phone, 16.5 on a 2× laptop. */
@media(min-width:900px){:root{--gutter:32px;--body:16.5px;--item:16.5px}}
*{margin:0;padding:0;box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--bar) + 16px)}
body{font-family:var(--f-body);font-size:var(--body);line-height:1.6;color:var(--label);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
strong{color:var(--text);font-weight:400}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pixel{image-rendering:pixelated}

/* NO page-wide scanline layer (the app's CrtOverlay): over a web page it
   greys the words, the stores' badges and the icon alike, and reads as a
   filter. The pixel art carries its own lines. */
#sky{position:fixed;left:0;top:0;width:100vw;height:100vh;height:100lvh;z-index:50;pointer-events:none}

/* ── Type ─────────────────────────────────────────────────────────── */
.t-hero,.t-h1,.t-h2,.t-key{font-family:var(--f-title);font-weight:400;text-transform:uppercase;color:var(--text);line-height:1}
.t-hero{font-size:48px;letter-spacing:3px}
.t-h1{font-size:32px;letter-spacing:2px}
.t-h2{font-size:32px;letter-spacing:2px}
.t-key{font-size:16px;letter-spacing:1px}
.t-label{font-size:11px;letter-spacing:1px;text-transform:uppercase;line-height:16px}
.t-item{font-size:var(--item);letter-spacing:.667px;text-transform:uppercase;color:var(--text);line-height:1.3}
.t-desc{font-size:var(--body);color:var(--dim)}
.t-lead{font-size:var(--body);color:var(--label);max-width:46ch}
@media(min-width:900px){.t-hero{font-size:64px;letter-spacing:4px}.t-h1{font-size:48px;letter-spacing:3px}}
.hl{color:var(--accent)}

/* ── PixelBox ─────────────────────────────────────────────────────── */
.px{position:relative;isolation:isolate;--st:var(--stair-4);clip-path:var(--st);background:var(--bd,var(--border))}
.px::before{content:'';position:absolute;inset:1px;z-index:-1;clip-path:var(--st);background:
linear-gradient(rgba(255,255,255,.10),rgba(255,255,255,.10)) top/100% 2px no-repeat,
linear-gradient(rgba(255,255,255,.06),rgba(255,255,255,.06)) left/2px 100% no-repeat,
linear-gradient(rgba(0,0,0,.14),rgba(0,0,0,.14)) bottom/100% 2px no-repeat,
linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.08)) right/2px 100% no-repeat,
var(--fill,var(--s2))}
.px.r2{--st:var(--stair-2)}.px.r3{--st:var(--stair-3)}.px.r6{--st:var(--stair-6)}
.px.s1{--fill:var(--s1)}.px.s3{--fill:var(--s3);--bd:var(--border-hi)}
.px.hi{--bd:var(--border-hi)}
.px.acc{--bd:var(--accent)}

/* ── PxTag / PxChip ───────────────────────────────────────────────── */
/* (20 px on the web, not the app's 16: with a pointer's-eye view the 16-px
   tag left its word no air. The left pad carries the tracking's trailing px.) */
.tag{display:inline-flex;align-items:center;height:20px;padding:0 8px 0 9px;font-size:11px;line-height:18px;letter-spacing:1px;text-transform:uppercase;color:var(--tc,var(--label));--fill:var(--s1);--bd:var(--tc,var(--border-hi));white-space:nowrap}
.tag.good{--tc:var(--green)}.tag.bad{--tc:var(--red)}.tag.neutral{--tc:var(--mute)}
.tag.classic{--tc:var(--t-classic)}.tag.rare{--tc:var(--t-rare)}.tag.epic{--tc:var(--t-epic)}.tag.legendary{--tc:var(--t-legendary)}

/* ── PixelKey ─────────────────────────────────────────────────────── */
.key{--k-face:var(--accent);--k-gloss:color-mix(in srgb,var(--accent) 88%,#fff);--k-lit:color-mix(in srgb,var(--accent) 60%,#fff);--k-shade:color-mix(in srgb,var(--accent) 50%,var(--accent-dim));--k-lip:var(--accent-dim);--k-ink:color-mix(in srgb,var(--accent-dim) 30%,#000);--k-text:var(--accent-ink);
display:inline-block;position:relative;padding-bottom:7px;text-decoration:none!important;-webkit-tap-highlight-color:transparent;user-select:none;vertical-align:top}
.key.neutral{--k-face:#1A1A28;--k-gloss:#1E1E2E;--k-lit:#2A2A3C;--k-shade:#15151F;--k-lip:#101018;--k-ink:#30304A;--k-text:var(--text)}
.key::before{content:'';position:absolute;left:0;right:0;top:7px;bottom:0;clip-path:var(--stair-5);background:var(--k-ink)}
.key::after{content:'';position:absolute;left:1px;right:1px;top:8px;bottom:1px;clip-path:var(--stair-4);background:var(--k-lip)}
.key-face{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:var(--kh,48px);padding:0 20px;clip-path:var(--stair-5);background:var(--k-ink);color:var(--k-text);font-family:var(--f-title);font-size:16px;letter-spacing:1px;text-transform:uppercase;line-height:1;transition:transform 90ms var(--ease);isolation:isolate;overflow:hidden}
.key-face::before{content:'';position:absolute;inset:1px;z-index:-1;clip-path:var(--stair-4);background:
linear-gradient(var(--k-lit),var(--k-lit)) top/100% 2px no-repeat,
linear-gradient(var(--k-shade),var(--k-shade)) bottom/100% 2px no-repeat,
linear-gradient(to bottom,var(--k-gloss) 0%,var(--k-face) 50%,var(--k-face) 70%,var(--k-shade) 100%)}
.key:active .key-face,.key.down .key-face{transform:translateY(6px)}
.key.lg{--kh:56px}.key.lg .key-face{font-size:32px;letter-spacing:2px;padding:0 28px}
.key.sm{--kh:36px}.key.sm .key-face{padding:0 14px}
.key.wide{display:block}
/* The glint (PixelKey's, the home's PLAY): two slanted bars, on the 2-px grid. */
.key.glint .key-face::after{content:'';position:absolute;top:0;bottom:0;left:-40px;width:24px;z-index:0;background:linear-gradient(90deg,rgba(255,255,255,.55) 0 10px,transparent 10px 15px,rgba(255,255,255,.55) 15px 19px,transparent 19px);transform:skewX(-24deg);animation:glint 5.6s steps(46) infinite}
@keyframes glint{0%,78%{left:-40px}100%{left:calc(100% + 40px)}}
.eyebrow{display:block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--ec,var(--accent));margin-bottom:12px;line-height:16px}

/* The app icon, in its iOS mask (baked in the image). */
.app-icon{display:block;width:var(--is,36px);height:var(--is,36px)}
/* DayceLogo: the letters, and the three i-dots as dice cells of the same sheet
   (assets/sprites/diiice-logo.sprite.ts). --u = CSS px per sprite px. */
.dlogo{display:block;position:relative;flex:none;width:calc(472px*var(--u));height:calc(152px*var(--u));background:var(--logo) 0 0/calc(472px*var(--u)) calc(210px*var(--u)) no-repeat}
.dlogo i{position:absolute;top:calc(6px*var(--u));width:calc(40px*var(--u));height:calc(56px*var(--u));background:var(--logo) calc(var(--cx)*var(--u)*-1px) calc(-154px*var(--u))/calc(472px*var(--u)) calc(210px*var(--u)) no-repeat;transform:translateY(calc(var(--dy,0)*var(--u)*1px))}
.dlogo i:nth-child(1){left:calc(124px*var(--u));--cx:210}.dlogo i:nth-child(2){left:calc(176px*var(--u));--cx:252}.dlogo i:nth-child(3){left:calc(228px*var(--u));--cx:294}
.dlogo.pre i{--cx:0}
/* The lockup (scripts/diiice-logo-art.py): the icon exactly as tall as the
   word, a quarter of the icon between them — the word leads. */
.lockup{display:flex;align-items:center;--u:.25;--is:calc(152px*var(--u));gap:calc(152px*var(--u)*.26)}

/* ── Top bar ──────────────────────────────────────────────────────── */
.bar{position:sticky;top:0;z-index:60;height:var(--bar);background:rgba(12,12,20,.94);border-bottom:1px solid var(--border)}
.bar .wrap{height:100%;display:flex;align-items:center;gap:20px}
.bar-home{display:block;--is:36px}
.bar nav{display:none;gap:24px;margin-left:8px}
.bar nav a,.bar .links a{font-family:var(--f-title);font-size:16px;letter-spacing:1px;text-transform:uppercase;color:var(--mute);text-decoration:none}
.bar nav a:hover,.bar .links a:hover,.bar .links a[aria-current]{color:var(--text)}
.bar .sp{flex:1}
.bar .links{display:none;gap:20px}
.bar .key-face{white-space:nowrap}
@media(min-width:560px){.bar .links{display:flex}}
@media(min-width:900px){.bar nav{display:flex}}

/* ── The stores' badges ───────────────────────────────────────────── */
.stores{display:flex;flex-wrap:wrap;gap:12px 14px;align-items:flex-start}
.store{display:flex;flex-direction:column;align-items:center;gap:8px}
.badge{display:block}
.badge img{display:block;height:48px;width:auto}
.store .soon{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--gold);line-height:12px}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero{position:relative;padding:32px 0 48px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
/* On a phone: the words, the die, then the stores. */
.hero-intro{order:1}.picker{order:2}.hero-cta{order:3}
.hero .lockup{margin:8px 0 28px}
.hero .t-lead{margin-top:16px}
.hero-pitch{margin-top:8px;color:var(--dim);max-width:46ch}
/* Under the centred die and picker, the badges centre too (a phone); beside
   the words they line up with the words (desktop). */
.hero-cta .stores{margin-top:4px;justify-content:center}
.picker{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px}
.picker-die{position:relative;width:100%;height:240px}
.picker-die button{position:absolute;left:50%;top:50%;width:170px;height:170px;transform:translate(-50%,-50%);-webkit-tap-highlight-color:transparent}
.picker-still{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:none}
.no-gl .picker-still{display:block}
.picker-info{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-height:60px}
.picker-tags{display:flex;gap:6px;min-height:20px}
.picker-nav{display:flex;align-items:center;gap:10px}
.picker-nav .key-face{width:44px;padding:0;font-size:32px;line-height:.8}
.strip-win{width:calc(5*var(--sc) + 4*var(--sg));overflow:hidden;--sc:42px;--sg:6px;padding:4px 0}
.strip{display:flex;gap:var(--sg);width:max-content}
.strip button{flex:none;width:var(--sc);height:var(--sc);display:grid;place-items:center;--fill:var(--s1);--bd:var(--border);--st:var(--stair-3);transition:opacity 180ms var(--ease)}
.strip button .th{--t:24px}
.strip button:hover{--bd:var(--border-hi)}
.strip button[aria-current]{--bd:var(--accent);--fill:var(--s3)}
.strip button[aria-current] .th{--t:32px}
.picker-hint{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--mute);line-height:16px}
@media(min-width:900px){
.hero{padding:72px 0 40px}
.hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-areas:'intro picker' 'cta picker';align-items:center;gap:36px 48px}
.hero-intro{grid-area:intro;align-self:end}.hero-cta{grid-area:cta;align-self:start}.picker{grid-area:picker}
.hero-cta .stores{justify-content:flex-start}
.hero .lockup{--u:.3125}
.picker-die{height:300px}
.picker-die button{width:230px;height:230px}
.strip-win{--sc:56px;--sg:8px}.strip button .th{--t:30px}.strip button[aria-current] .th{--t:42px}
}

/* ── Sections ─────────────────────────────────────────────────────── */
.sec{padding:48px 0}
.sec-head{margin-bottom:28px}
.sec-head .t-lead{margin-top:14px}
@media(min-width:900px){.sec{padding:80px 0}.sec-head{margin-bottom:40px}}
[data-rv]{opacity:0;transform:translateY(20px);transition:opacity 420ms var(--ease),transform 420ms var(--ease);transition-delay:var(--rd,0ms)}
[data-rv].in{opacity:1;transform:none}

/* ── The game's sprites ───────────────────────────────────────────── */
.th{display:block;flex:none;width:var(--t,56px);height:var(--t,56px);background-image:var(--thumbs);background-size:calc(var(--tc)*var(--t,56px)) auto;background-position:calc(var(--x)*var(--t,56px)*-1) calc(var(--y)*var(--t,56px)*-1)}
.fc{background-image:var(--faces);--tc:6}
.spr{display:block;flex:none;width:calc(var(--z,2)*32px);height:calc(var(--z,2)*32px);background-image:var(--mods);background-size:calc(var(--n)*var(--z,2)*32px) calc(var(--z,2)*32px);background-position:calc(var(--i)*var(--z,2)*-32px) 0;image-rendering:pixelated}
.coin{display:block;flex:none;width:var(--cs,48px);height:var(--cs,48px);background:var(--coins) calc(var(--c)*var(--cs,48px)*-1) 0/calc(var(--cn)*var(--cs,48px)) var(--cs,48px) no-repeat;image-rendering:pixelated}
.coin.sm{--cs:24px;image-rendering:auto}
.cur{display:inline-block;flex:none;vertical-align:-6px;width:calc(var(--curc)*var(--z,1));height:calc(var(--curc)*var(--z,1));background:var(--cur) calc(var(--k)*var(--curc)*var(--z,1)*-1) 0/calc(3*var(--curc)*var(--z,1)) calc(var(--curc)*var(--z,1)) no-repeat;image-rendering:pixelated}
.pips{display:flex;gap:4px}
.pips i{width:8px;height:8px;background:var(--pc,var(--accent))}
.pips i.off{background:var(--faint)}

/* ── Bento ────────────────────────────────────────────────────────── */
.bento{display:grid;gap:12px;grid-template-columns:1fr}
.cell{--fill:var(--s1);display:flex;flex-direction:column;overflow:hidden}
.cell-copy{padding:24px 24px 0;position:relative;z-index:2}
.cell-copy p{margin-top:10px;color:var(--dim)}
.cell-art{position:relative;flex:1;min-height:132px;margin-top:20px;display:flex;flex-direction:column;justify-content:flex-end}
.c-play{--ec:var(--c-play)}.c-streak{--ec:var(--c-streak)}.c-collect{--ec:var(--c-collect)}.c-daily{--ec:var(--c-daily)}.c-league{--ec:var(--c-league)}
@media(min-width:640px){.bento{grid-template-columns:repeat(2,1fr)}.cell.b-a,.cell.b-c,.cell.b-g{grid-column:span 2}}
@media(min-width:1000px){
.bento{grid-template-columns:repeat(12,1fr);grid-template-rows:272px 272px 216px 266px 266px}
.cell-art{min-height:0}
.b-a{grid-column:1/6!important;grid-row:1/2}
.b-c{grid-column:6/10!important;grid-row:1/2}
.b-e{grid-column:10/13;grid-row:1/3}
.b-d{grid-column:1/6;grid-row:2/3}
.b-b{grid-column:6/10;grid-row:2/3}
.b-g{grid-column:1/13!important;grid-row:3/4;flex-direction:row;align-items:center}
.b-g .cell-copy{flex:none;width:34%;padding:24px}
.b-g .cell-art{margin:0;align-self:stretch;justify-content:center;min-width:0}
.b-g .wall{margin:0}
.b-f{grid-column:1/5;grid-row:4/6}
.b-h{grid-column:5/9;grid-row:4/6}
.b-i{grid-column:9/13;grid-row:4/6}
.bento .scene{min-height:0}
}
/* a 3D scene drawn by the page (main.js): the canvas fills its box */
.scene{position:relative;flex:1;min-height:200px}
.scene canvas{position:absolute;inset:0;width:100%;height:100%}
.scene-still{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:none;gap:10px}
.no-gl .scene-still{display:flex}
.no-gl .scene canvas{display:none}
/* the modifier line-up */
.mod-line{margin:0 24px 24px;height:64px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;overflow:hidden}
.mod-line .spr{animation:bob 3.6s ease-in-out infinite;animation-delay:calc(var(--k)*-0.45s)}
@keyframes bob{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}
/* the deal (SlotMachineReveal in small) */
.reels{margin:0 24px 24px;display:flex;justify-content:center;gap:10px}
.reel{width:76px;height:76px;display:grid;place-items:center;--fill:var(--bg);--bd:var(--border-hi)}
.reel.lit{--bd:var(--accent)}
/* the wall of dice */
.wall{margin-bottom:24px;display:flex;flex-direction:column;gap:8px;overflow:hidden;--t:48px}
.wall-row{display:flex;gap:8px;width:max-content;animation:slide 60s linear infinite}
.wall-row:nth-child(2){animation-direction:reverse;animation-duration:74s}
.wall-row:nth-child(3){animation-duration:88s}
@keyframes slide{to{transform:translateX(-50%)}}
/* the rail: 20 coins */
.rail{margin:0 24px 24px;display:grid;grid-template-columns:repeat(10,24px);gap:6px;justify-content:center}
.rail .coin{transition:transform 110ms linear,opacity 160ms linear}
.rail .coin.off{opacity:.28}
.rail .coin.flip{transform:perspective(160px) rotateX(90deg)}
.rail .coin.crest{animation:crest 380ms var(--ease)}
@keyframes crest{0%{transform:none}35%{transform:translateY(-9px) scale(1.2)}100%{transform:none}}
/* the streak ladder (win 1 at the foot) */
.streak{list-style:none;margin:0 24px 20px;display:flex;flex-direction:column-reverse}
.streak li{display:flex;align-items:center;gap:10px;height:30px;border-top:1px solid var(--border);font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--faint)}
.streak li .coin{--cs:24px;opacity:.2;image-rendering:auto}
.streak li em{margin-left:auto;font-style:normal;display:flex;align-items:center;gap:5px}
.streak li .cur{vertical-align:0;opacity:.35}
.streak li.lit{color:var(--label)}
.streak li.lit em{color:var(--c-streak)}
.streak li.lit .coin,.streak li.lit .cur{opacity:1}
/* the pull */
.pull{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:14px;padding-bottom:24px;--pc:var(--tier,var(--t-legendary))}
.pull .scene{width:100%;min-height:210px}
.rays{position:absolute;left:50%;top:50%;width:380px;height:380px;margin:-190px 0 0 -190px;background:repeating-conic-gradient(color-mix(in srgb,var(--tier,var(--t-legendary)) 18%,transparent) 0 9deg,transparent 9deg 18deg);-webkit-mask-image:radial-gradient(closest-side,#000 30%,transparent 74%);mask-image:radial-gradient(closest-side,#000 30%,transparent 74%);animation:turn 36s steps(180) infinite}
@keyframes turn{to{transform:rotate(360deg)}}
.pull-tag{min-height:20px}
/* the daily calendar */
.cal{margin:0 24px 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.day{--fill:var(--bg);--bd:var(--border);position:relative;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:6px}
.day small{position:absolute;left:6px;top:6px;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:var(--mute);line-height:1}
.day b{font-weight:400;font-size:11px;letter-spacing:1px;color:var(--label);line-height:12px}
.day .cur{vertical-align:0}
.day.done{opacity:.4}
.day.today{--bd:var(--c-daily);--fill:var(--s3)}
.day.wide{grid-column:span 2;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:12px 8px 0}
.day.wide .th{--t:40px}
.day.t-epic{--bd:var(--t-epic)}.day.t-epic b{color:var(--t-epic)}
.day.t-legendary{--bd:var(--t-legendary)}.day.t-legendary b{color:var(--t-legendary)}
/* the league */
.league{margin:0 24px 20px;display:flex;flex-direction:column;gap:12px}
.podium{display:flex;align-items:flex-end;justify-content:center;gap:8px}
.pod{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;max-width:100px}
.pod-block{width:100%;--fill:var(--s3);--bd:var(--border-hi);display:flex;flex-direction:column;align-items:center;gap:6px;padding-top:8px}
.p1 .pod-block{height:104px;--bd:var(--t-legendary)}.p2 .pod-block{height:82px}.p3 .pod-block{height:64px}
.pod-block b{font-family:var(--f-title);font-weight:400;font-size:32px;line-height:.8;color:var(--text)}
.pod-block span{font-size:11px;letter-spacing:.5px;color:var(--label);white-space:nowrap}
.pod-block .cur,.league-rows .cur{vertical-align:-7px}
.row{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid var(--border)}
.row:last-child{border-bottom:0}
.row .t-item{flex:1}
.row em{font-style:normal;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--gold);white-space:nowrap}
.row em.bad{color:var(--red)}
.league-rows .row{min-height:30px}
.league-rows .row em{margin-left:auto;color:var(--label)}

/* ── Modifiers ────────────────────────────────────────────────────── */
.deal{--fill:var(--s1);padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px;margin-bottom:12px}
.deal .reels{margin:0}
.deal-copy{flex:1;min-width:220px}
.deal-copy p{color:var(--dim);margin-top:6px}
/* One tile a modifier, every tile the same: the sprite, the name, the card's
   one line, and what it does to you — 5 × 3 on a desktop. */
.mods{display:grid;gap:8px;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr}
.mod{--fill:var(--s1);display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 12px 14px;min-height:204px}
.mod .spr{margin-bottom:14px}
.mod p{margin-top:6px;color:var(--dim);font-size:var(--item);line-height:1.45;max-width:20ch}
.mod-align{margin-top:auto;padding-top:12px;font-size:11px;letter-spacing:1px;line-height:12px;color:var(--mute)}
.a-good .mod-align{color:var(--green)}.a-bad .mod-align{color:var(--red)}
.mod.dealt{--bd:var(--accent);--fill:var(--s2)}
@media(min-width:640px){.mods{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.mods{grid-template-columns:repeat(5,1fr)}}

/* ── How it plays ─────────────────────────────────────────────────── */
/* one strip, four beats — not four cards */
.howrow{--fill:var(--s1);display:grid;grid-template-columns:1fr}
.howcol{display:flex;gap:16px;align-items:flex-start;padding:20px 24px;border-top:1px solid var(--border)}
.howcol:first-child{border-top:0}
.howcol b{flex:none;width:22px;font-family:var(--f-title);font-weight:400;font-size:32px;line-height:.85;color:var(--accent)}
.howcol p{margin-top:6px;color:var(--dim)}
@media(min-width:1000px){.howrow{grid-template-columns:repeat(4,1fr)}.howcol{padding:28px 24px;border-top:0;border-left:1px solid var(--border)}.howcol:first-child{border-left:0}}

/* ── Get the game / footer ────────────────────────────────────────── */
.sec-get{padding-top:104px}
.get{--fill:var(--s1);--bd:var(--border-hi);padding:64px 24px 36px;text-align:center;display:flex;flex-direction:column;align-items:center}
.get .t-lead{margin:14px auto 0}
.get .stores{justify-content:center;margin-top:32px}
.get small{display:block;margin-top:36px;padding-top:20px;border-top:1px solid var(--border);color:var(--mute);font-size:11px;letter-spacing:.5px;line-height:1.6;max-width:62ch}
@media(min-width:900px){.sec-get{padding-top:150px}.get{padding:80px 24px 40px}.get .t-hero{font-size:80px;letter-spacing:5px}}
footer{border-top:1px solid var(--border);margin-top:32px;padding:32px 0 64px;color:var(--mute);font-size:11px;letter-spacing:.5px;line-height:1.7}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px 32px;align-items:center}
.foot-brand{display:flex;align-items:center;--u:.25;--is:38px;gap:10px}
footer nav{display:flex;flex-wrap:wrap;gap:8px 24px}
footer nav a{font-family:var(--f-title);font-size:16px;letter-spacing:1px;text-transform:uppercase;color:var(--label)}
footer p{flex-basis:100%}
footer a{color:var(--label)}

/* ── Documents (privacy, support) ─────────────────────────────────── */
.doc{padding:28px 0 8px}
.doc .wrap{max-width:calc(820px + 2*var(--gutter))}
.doc-head{margin-bottom:20px}
.doc-head p{margin-top:10px;color:var(--dim)}
.sheet{--fill:var(--s1);padding:8px 18px 22px;min-width:0}
.sheet>p:first-child{margin-top:16px}
.sheet h2{font-family:var(--f-title);font-weight:400;font-size:32px;letter-spacing:2px;text-transform:uppercase;color:var(--text);line-height:1;margin:30px 0 12px;padding-top:6px}
.sheet h3{font-size:var(--item);letter-spacing:.667px;text-transform:uppercase;color:var(--text);margin:22px 0 6px;line-height:1.35}
.sheet p{margin:0 0 12px;color:var(--label)}
.sheet ul{margin:0 0 12px;padding-left:0;list-style:none}
.sheet li{position:relative;padding-left:16px;margin:0 0 6px;color:var(--label)}
.sheet li::before{content:'';position:absolute;left:2px;top:.62em;width:6px;height:6px;background:var(--accent)}
.sheet li ul{margin-top:6px}
.sheet li li::before{background:var(--faint)}
.sheet code{font-family:var(--f-body);background:var(--s3);padding:1px 5px}
.sheet a{word-break:break-word}
.contact{--fill:var(--s2);--bd:var(--border-hi);padding:16px;display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin:14px 0 6px}
.contact p{margin:0;flex:1;min-width:220px;color:var(--dim)}
.faq{border-bottom:1px solid var(--border)}
.faq summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 0;cursor:pointer;list-style:none;font-size:var(--item);letter-spacing:.667px;text-transform:uppercase;color:var(--text);line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary span{flex:1}
.chev{flex:none;width:8px;height:8px;border-right:2px solid var(--mute);border-bottom:2px solid var(--mute);transform:rotate(45deg);transition:transform 160ms var(--ease);margin-right:4px}
.faq[open] .chev{transform:rotate(225deg)}
.faq[open] summary{color:var(--accent)}
.faq-a{padding:0 0 12px}
.faq-a p:last-child,.faq-a ul:last-child{margin-bottom:4px}
@media(min-width:900px){.doc{padding:48px 0 8px}.sheet{padding:10px 36px 32px}}
.nf{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px}

@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
[data-rv]{opacity:1;transform:none;transition:none}
.wall-row,.mod-line .spr,.key.glint .key-face::after,.rays,.rail .coin.crest{animation:none}
.key-face,.chev,.rail .coin,.strip button{transition:none}
}
