:root{color-scheme:dark;--bg:#0b201e;--paper:#fff0d1;--muted:#bed5cd;--gold:#ffc15c;--border:#35615a;--surface:#142f2a;font-family:Nunito,system-ui,sans-serif;font-weight:650}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-width:none}
body{margin:0;background:radial-gradient(ellipse at 76% 18%,#214c3d 0%,transparent 56%),var(--bg);color:var(--paper)}
:focus-visible{outline:none;box-shadow:inset 0 0 0 2px currentColor}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.62}
img{display:block;max-width:100%}
.wrap{width:min(1220px,calc(100% - 3rem));margin-inline:auto}
.skip{position:absolute;top:0;left:1rem;transform:translateY(-115%);background:var(--paper);color:var(--bg);padding:.5rem}
.skip:focus{transform:translateY(0)}
.site-header{background:#0e2724;border-bottom:1px solid #29453c}
.header-layout{display:flex;align-items:center;gap:1rem;justify-content:space-between;min-height:80px}
.brand{display:flex;align-items:center;gap:.5rem;white-space:nowrap;font-size:clamp(1rem,2.25vw,1.75rem);letter-spacing:-.055em}
.brand strong{font-weight:1000}
.brand strong span{color:#9bd6bd}
.brand small{display:inline-block;margin-left:.25em;padding:.15em .38em;background:#ffcb7d;color:#3d270d;border-radius:.38em;font-size:.67em;letter-spacing:0}
.brand img{object-fit:contain}
.header-layout nav,.account-actions,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.header-layout nav :is(a,button){color:var(--muted);padding:.5rem .55rem;border:0;border-radius:.45rem;background:transparent;white-space:nowrap}
.header-layout nav :is(a,button):hover{color:var(--paper);background:#ffffff0c}
.key,.quiet{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #0000;border-radius:.7rem;padding:.67rem 1.12rem;font-weight:850;text-align:center;line-height:1.12;transition:transform 120ms,box-shadow 120ms}
.key{background:linear-gradient(#ffce74,#ffb64a);color:#301b08;box-shadow:0 4px #8d541d,inset 0 1px #ffe5b6}
.quiet{background:#163630;color:var(--paper);border-color:#3e6258;box-shadow:0 3px #091d1a}
:is(.key,.quiet):active{transform:translateY(3px);box-shadow:inset 0 2px #0002}
.hero{display:grid;grid-template-columns:minmax(290px,.76fr) minmax(0,1.24fr);gap:clamp(1.5rem,5vw,4.5rem);align-items:center;padding-block:clamp(3rem,8vw,7rem) clamp(2.5rem,6vw,5.5rem)}
.eyebrow{display:flex;align-items:center;gap:.5rem;color:#e7c18b}
.eyebrow span{width:.48rem;height:.48rem;border-radius:50%;background:var(--gold)}
.hero h1{font-size:clamp(2.8rem,4.65vw,4.8rem);font-weight:800;letter-spacing:-.018em;line-height:1.06;margin:.2em 0}
.hero h1 span{color:var(--gold)}
.hero-copy>p:not(.eyebrow){color:var(--muted);font-size:clamp(1rem,1.65vw,1.2rem);line-height:1.55;max-width:35ch;margin:1.25rem 0 1.55rem}
.hero-media{min-width:0;border:1px solid #426e5c;border-radius:1.2rem;padding:.52rem;background:#162f28;box-shadow:0 1.3rem 3rem #051412bb}
.sample-header{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin:.25rem .4rem .55rem}
.sample-header h2{font-size:1.12rem;letter-spacing:0;margin:0;font-weight:850}
.sample-header>span{color:var(--muted);font-size:.9rem}
.scene-frame{position:relative;container-type:inline-size}
.scene-art{position:relative;overflow:hidden;border-radius:.75rem}
.scene{width:100%;height:auto}
.scene-art>span,.screen-time,.scene-metrics{position:absolute;font-weight:850;line-height:1;white-space:nowrap;transform:translate(-50%,-50%)}
.scene-brand{color:#143b34;left:22.6%;top:7%;font-size:2cqw}
.scene-nav{color:#ffe0ab;left:45.7%;top:5.8%;font-size:1.25cqw}
.scene-library,.scene-settings,.scene-info{color:#143b34;top:5.8%;font-size:1.29cqw}
.scene-library{left:62.7%}
.scene-settings{left:76.25%}
.scene-info{color:#fff0d1;left:89.1%}
.screen-title{color:#143b34;left:43%;top:42.2%;font-size:2.12cqw}
.screen-time{font-size:7.5cqw;color:#ffe0ab;left:49.5%;top:60.2%}
.screen-play,.screen-pause,.screen-switch,.screen-phone,.screen-open{color:#391d04;font-size:1.6cqw}
.screen-play{left:40.2%;top:76.45%;font-size:2.02cqw}
.screen-pause{left:58.5%;top:76.45%;font-size:1.86cqw}
.screen-switch{left:64%;top:43%}
.screen-phone{left:12.4%;top:87.5%;color:#143b34}
.screen-open{left:22.3%;top:87.5%;color:#143b34}
.scene-feed{font-size:2.24cqw;color:#ffe0ab;left:88.5%;top:28.4%}
.scene-metrics{width:21.4%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));left:88.5%;top:40.2%;text-align:center;color:#153c38;margin:0;font-size:1.24cqw}
.scene-metrics dd{margin:.25em 0 0;font-size:1.9em;font-weight:900;font-variant-numeric:tabular-nums}
.screen-letters{display:flex;gap:.2cqw;left:15.65%;top:50.8%;font-size:2.15cqw;color:#361c08}
.screen-letters b{padding:.25em .27em;background:#ffe0a5;border-radius:.2em;box-shadow:0 .16em #945728}
.scene-events{position:absolute;left:79.9%;top:49.8%;width:17.7%;padding:0;margin:0;list-style:none;line-height:1.3;font-size:1.5cqw;color:#ffe5b1}
.scene-events li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:.28em 0}
.catalog,.guide{scroll-margin-top:1.5rem;padding-bottom:clamp(3rem,7vw,6rem)}
main h2{margin:0 0 1.15rem;font-size:clamp(1.85rem,4vw,3.15rem);letter-spacing:-.045em;line-height:1.04;font-weight:1000}
.games,.guide-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.game{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:1.1rem;background:var(--surface)}
.cover{min-height:150px;display:flex;justify-content:center;align-items:center;gap:.3rem;background:#214842}
.forest{background:radial-gradient(ellipse at 65% 18%,#87a04d,#27564b 55%,#0c3530)}
.racing{background:linear-gradient(129deg,#8b302e,#4c2529 50%,#1d3b53 50%,#2f6780)}
.cover span{font-size:clamp(1.4rem,4vw,2.6rem);font-weight:1000;line-height:1;background:linear-gradient(#ffe7b8,#ffc571);color:#452406;border-radius:.22em;padding:.19em .22em;box-shadow:0 .13em #a6672a,0 .19em .3em #0007}
.racing span{margin-inline:.18em}
.custom .cover{background:radial-gradient(ellipse,#54705a,#193b36)}
.card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:1.2rem}
.card-copy h3,.guide h3{margin:0;font-weight:950;font-size:1.25rem}
.card-copy p,.guide p{color:var(--muted);line-height:1.5;margin:.5rem 0 1rem}
.card-copy button{margin-top:auto}
.guide article{border-top:1px solid var(--border);padding:1rem .25rem 0}
footer{border-top:1px solid #29453c;color:var(--muted)}
footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-block:1.25rem}
dialog{width:min(100% - 2rem,34rem);max-height:calc(100dvh - 2rem);padding:1.25rem;border:1px solid var(--border);border-radius:1rem;background:#14342e;color:var(--paper);box-shadow:0 1rem 4rem #0009;scrollbar-width:none}
dialog::backdrop{background:#081614c9;backdrop-filter:blur(5px)}
.dialog-title{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.dialog-title h2{margin:.3rem 0;line-height:1.12;font-size:clamp(1.45rem,4vw,2rem)}
dialog>form{display:grid;gap:1rem;margin-top:1rem}
dialog label{display:grid;gap:.35rem}
dialog input,dialog textarea{border:1px solid #49665a;border-radius:.6rem;width:100%;padding:.65rem;background:#0c2320;color:var(--paper)}
dialog textarea{resize:vertical}
dialog dl>div{display:grid;grid-template-columns:4.6rem 1fr;gap:.5rem;margin-block:.6rem}
dialog dt{color:var(--gold);font-weight:850}
dialog dd{margin:0}
.feedback{margin:0;color:#ffe5ae;overflow-wrap:anywhere}
@media(max-width:850px){.header-layout{flex-wrap:wrap;padding-block:.55rem}.header-layout nav{order:3;width:100%}.hero{gap:1.4rem;grid-template-columns:1fr 1fr}}
@media(max-width:660px){.wrap{width:calc(100% - 1.5rem)}.header-layout{gap:.3rem}.header-layout nav{gap:.15rem}.header-layout nav :is(a,button){font-size:.88rem}.brand img{width:36px;height:36px}.account-actions{gap:.35rem}.account-actions :is(a,button){padding-inline:.65rem}.hero,.games,.guide-layout{grid-template-columns:1fr}.hero{padding-block:2.2rem 3rem}.hero h1{font-size:clamp(2.6rem,10vw,4rem)}.hero-media{margin-top:.55rem}.guide-layout{gap:.25rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.key,.quiet{transition:none}}
