:root{color-scheme:light;--paper:#fbf4e8;--ink:#28231d;--muted:#655a4e;--accent:#a3422d;--line:#d9cbb6;--surface:#fffaf2;--button:#302720;--button-text:#fff8ec;font:16px/1.55 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}body.racing{color-scheme:dark;--paper:#141212;--ink:#f8ede1;--muted:#d0bdb0;--accent:#ffad7e;--line:#52413a;--surface:#211b18;--button:#f3a16f;--button-text:#22150f}body.cozy{--paper:#f9f0df}a{color:inherit;text-underline-offset:.2em}a:hover{color:var(--accent)}button{font:inherit}img{display:block;max-width:100%}h1,h2,h3,p{margin:0 0 .55em}h1,h2,h3{line-height:1.02;letter-spacing:-.055em}h1{font-size:clamp(2.65rem,6.8vw,6rem);max-width:15ch}h2{font-size:clamp(1.7rem,3vw,2.75rem)}h3{font-size:1.5rem}.wrap{width:min(1184px,calc(100% - 80px));margin-inline:auto}.header{border-bottom:1px solid var(--line)}.mast,.feet{display:flex;align-items:center;justify-content:space-between;gap:18px}.mast{min-height:76px}.brand{display:flex;align-items:center;gap:5px;font-weight:850;letter-spacing:-.05em;white-space:nowrap;text-decoration:none}.brand span{color:var(--accent)}.brand img{object-fit:contain;margin-right:5px}.mast nav,.feet nav{display:flex;gap:clamp(10px,2.4vw,32px);align-items:center;flex-wrap:wrap}.mast nav a,.feet a{text-decoration:none;font-size:.88rem;font-weight:650}.account-link{border:1px solid var(--line);padding:.48rem .85rem;border-radius:999px}.intro{padding:48px 0 18px}.intro .lead{max-width:47ch}.intro h1{max-width:none;margin-bottom:.22em;font-size:clamp(2.85rem,7.1vw,6.7rem)}.intro em{font-family:Georgia,serif;color:var(--accent);font-weight:500;letter-spacing:-.085em}.platform{font-size:.76rem;font-weight:800;letter-spacing:.095em;text-transform:uppercase}.intro .platform,.split .platform{color:var(--accent)}.games{padding:12px 0 70px}.games h2{font-size:1rem;letter-spacing:0;margin-bottom:14px}.game-grid,.split,.support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-card{border-radius:22px;overflow:hidden;display:flex;flex-direction:column}.track{background:#25201f;color:#fff5eb}.tail{background:#eadcc4;color:#30271f}.card-art,.game-card .desktop{position:relative;aspect-ratio:2.22;display:block;min-height:0;overflow:hidden}.card-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;transform:scale(1.14)}.card-copy{padding:22px 26px 25px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.card-copy h3{font-size:clamp(1.9rem,3vw,3.15rem);margin-bottom:.2em}.track .platform{color:#ffc393}.tail .platform{color:#79422f}.card-copy p:not(.platform){max-width:42ch;margin-bottom:1rem}.button,.release{display:inline-flex;align-items:center;gap:.65em;padding:.68em 1.02em;border:1px solid transparent;border-radius:9px;background:var(--button);color:var(--button-text);font-weight:750;text-decoration:none;cursor:pointer}.button:hover{filter:brightness(1.13);color:var(--button-text)}.button:disabled{opacity:.55;cursor:wait}.track .button{--button:#fbba8b;--button-text:#241810}.tail .button{--button:#65402e}.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.secondary:hover{color:var(--accent)}.card-copy .button{margin-top:auto}.desktop{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 75% 75%,#ecba8b,transparent 69%),linear-gradient(145deg,#ba8e72,#dec5a3 62%,#a88a72);min-height:180px}.desktop::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 46px,#ffffff12 47px 48px);pointer-events:none}.mock-window{position:absolute;left:13%;right:12%;top:57%;height:73%;border-radius:14px 14px 0 0;background:#fff9eb;box-shadow:0 12px 55px #57342e61;overflow:hidden}.window-bar{display:flex;gap:5px;background:#3f332e;padding:11px}.window-bar i{width:7px;height:7px;border-radius:50%;background:#edaa91}.window-bar i:nth-child(2){background:#ebc67e}.window-bar i:nth-child(3){background:#adbc8a}.window-lines{display:grid;gap:9px;padding:18px}.window-lines b{height:6px;background:#e6d5be;border-radius:12px;width:66%}.window-lines b:nth-child(2){width:45%}.window-lines b:nth-child(3){width:54%}.cat{position:absolute;bottom:41%;left:32%;width:34%;height:54%;padding:0;border:0;background:none;cursor:pointer}.cat img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.cat.is-walking{animation:walk 4s ease-in-out both}.cat-speech{position:absolute;right:4%;top:8%;max-width:46%;padding:7px 12px;background:#fffbf1;color:#36241d;border-radius:11px;font-size:.8rem;box-shadow:0 4px 16px #37271330}@keyframes walk{0%,100%{left:32%}50%{left:53%}51%{left:53%}}.cat.is-walking img{animation:turn 4s steps(1,end) both}@keyframes turn{51%,99%{transform:scaleX(-1)}}.split{align-items:center;padding:68px 0 38px;gap:40px}.split h1{font-size:clamp(2.5rem,5.3vw,5rem)}.split .desktop{border-radius:22px;aspect-ratio:1.25}.lead{font-size:clamp(1.05rem,1.7vw,1.32rem);max-width:63ch;color:var(--muted)}.section{padding:50px 0 64px}.section h2:not(:first-child){margin-top:1.1em}.feature-grid,.facts,.gallery,.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.feature-grid article,.facts div,.panel,.item-grid article,.support-grid article{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:20px}.feature-grid img,.item-grid img{height:105px;width:100%;object-fit:contain;margin:0 auto 16px}.facts b{display:block;font-size:2.5rem;color:var(--accent)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.race-hero{position:relative;isolation:isolate;min-height:clamp(430px,46vw,650px);display:flex;align-items:end;background:#201817;overflow:hidden}.race-hero picture,.race-hero picture img,.race-hero:after{position:absolute;inset:0;width:100%;height:100%}.race-hero picture{z-index:-2}.race-hero picture img{object-fit:cover;object-position:center}.race-hero:after{content:'';z-index:-1;background:linear-gradient(0deg,#141212 3%,#1412120a 77%)}.race-copy{padding-bottom:34px;text-shadow:0 2px 18px #100}.race-copy h1{font-size:clamp(2.5rem,8vw,7rem);margin-bottom:.1em}.race-copy p:not(.platform){font-size:1.25rem}.release{background:#25201f;color:#ffe4cc;border-color:#91715e;text-shadow:none;margin-top:5px}.gallery img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#110e0c;border-radius:10px}.gallery{margin-bottom:22px}.lightbox{padding:0;border:0;background:#161414;max-width:min(92vw,1200px);max-height:90vh}.lightbox::backdrop{background:#000c}.lightbox button{position:absolute;right:10px;top:10px;border:0;border-radius:99px;background:#191616;color:white;width:42px;height:42px;cursor:pointer}.lightbox img{max-height:88vh;object-fit:contain}.press-cover{margin-top:20px;max-width:660px;border-radius:16px}.lost-cat{width:230px;margin-bottom:15px}.prose{max-width:820px;overflow-wrap:anywhere}.prose h1{font-size:clamp(2.2rem,5vw,4rem);max-width:none}.prose h2,.prose h3,.prose h4{margin-top:1.4em}.footer{border-top:1px solid var(--line);padding:22px 0 28px;font-size:.85rem;color:var(--muted)}.skip{position:absolute;left:10px;top:10px;padding:8px;background:var(--surface);transform:translateY(-160%);z-index:2}.skip:focus{transform:none}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}summary{cursor:pointer;font-weight:700;padding:10px 0}details{border-bottom:1px solid var(--line)}.panel{max-width:680px;margin:12px 0}.panel label{display:block;font-weight:650;margin-bottom:5px}.panel input{font:inherit;background:var(--paper);color:var(--ink);border:1px solid var(--muted);padding:.6rem;border-radius:8px;width:min(100%,26rem);display:block;margin-bottom:.8em}.panel output{display:block;margin:.5rem 0;color:var(--accent)}code{overflow-wrap:anywhere}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:460px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:10px}.danger{color:var(--accent)}[hidden]{display:none!important}
@media(max-width:720px){.wrap{width:calc(100% - 36px)}.mast,.feet{align-items:flex-start;flex-direction:column;justify-content:center;padding:10px 0;gap:9px}.mast nav,.feet nav{gap:12px}.intro{padding:28px 0 8px}.intro .lead{font-size:1rem}.game-grid,.split,.support-grid{grid-template-columns:1fr;gap:18px}.games{padding-bottom:40px}.split,.section{padding-top:35px}.split .desktop{aspect-ratio:1.75}.feature-grid,.item-grid,.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-grid article,.item-grid article,.facts div{padding:12px}.card-copy{padding:18px}.race-hero{min-height:clamp(420px,128vw,540px)}}
@media(max-width:390px){.mast nav{gap:8px}.mast nav a{font-size:.8rem}.feature-grid,.item-grid{grid-template-columns:1fr}.facts{gap:8px}.facts div{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(prefers-color-scheme:dark){body.cozy{color-scheme:dark;--paper:#251f1b;--ink:#fff0dc;--muted:#e0cdbb;--accent:#ffb899;--surface:#352b24;--line:#705a4c;--button:#ffc198;--button-text:#241912}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.race-hero picture img{object-position:center top}.trailer{max-width:740px;aspect-ratio:16/9;display:grid;place-items:center;background:#171313 url('/assets/g/cover-landscape-2560x1440.webp') center/cover;border-radius:15px;overflow:hidden}.trailer iframe{width:100%;height:100%;border:0}.press-cover{width:min(100%,660px)}

@media (min-width: 721px) {
  .gallery > a:nth-child(-n+2) {
    grid-column: span 3;
  }

  .gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery > a {
    grid-column: span 2;
  }
}

/* Studio, project catalogue and game features */
:root,body.cozy {
  color-scheme:light; --paper:#f8f6f0; --surface:#fffefa; --ink:#191a17; --muted:#51564f;
  --line:#d4d5cb; --accent:#b94326; --button:#21241f; --button-text:#fff;
}
body { font-family:"Helvetica Neue",Arial,sans-serif; }
.wrap { width:min(1392px,calc(100% - clamp(36px,8vw,144px))); }
.header { background:var(--paper); }
.mast { min-height:72px; }
.brand { font-size:1.13rem; gap:.18em; }
.brand img { width:44px; height:44px; }
.mast .account-link,.button { border-radius:999px; }
.mast .account-link { color:var(--button-text); background:var(--button); padding:.55rem 1.15rem; }
.platform { font:700 .75rem/1.3 ui-monospace,Menlo,monospace; letter-spacing:.08em; }
.studio-intro { display:grid; grid-template-columns:1.8fr 1fr; align-items:end; gap:6%; padding:clamp(44px,6vw,95px) 0 0; }
.studio-intro .platform,.product-hero .platform { display:flex; align-items:center; gap:10px; margin-bottom:24px; }
.studio-intro .platform:before,.product-hero .platform:before { content:''; width:10px; height:10px; background:var(--accent); border-radius:50%; }
.studio-intro h1,.product-hero h1 { font-size:clamp(3.2rem,6.5vw,7rem); letter-spacing:-.075em; line-height:.94; font-weight:750; margin:0; }
.studio-intro h1 em { font-style:normal; color:var(--accent); }
.studio-aside { position:relative; padding-bottom:65px; max-width:28rem; }
.studio-aside p { font-size:clamp(1rem,1.4vw,1.35rem); line-height:1.35; }
.travel { cursor:pointer; position:absolute; border:none; background:none; height:clamp(40px,5vw,74px); width:100%; bottom:0; right:0; padding:0; }
.travel img { position:absolute; height:95%; width:auto; right:9%; bottom:0; }
.travel video { position:absolute; right:0; bottom:-2.97%; height:100%; width:auto; max-width:none; }
.games { margin-top:0; padding:23px 0 68px; border-top:1px solid var(--line); }
.studio-intro > div:first-child { padding-bottom:30px; }
.games h2 { font-size:1rem; font-weight:650; letter-spacing:0; margin-bottom:14px; }
.game-grid { gap:clamp(14px,2vw,30px); }
.game-card { border-radius:17px; border:0; }
.game-card.track { background:#202322; }
.game-card.tail { background:#dce6ef; color:#172332; }
.game-card .card-art,.game-card > .showcase { aspect-ratio:16/9; width:100%; height:auto; flex:none; }
.card-art img { transform:none; object-position:center; }
.showcase { display:block; background:#cdd8e1; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.card-copy { padding:clamp(20px,2.4vw,38px); }
.card-copy h3 { font-size:clamp(2.35rem,3.6vw,4.1rem); letter-spacing:-.065em; }
.track .platform { color:#ffab87; }
.tail .platform { color:#374b62; }
.tail .button { --button:#1c3248; }
.product-hero { display:grid; grid-template-columns:minmax(0,.79fr) minmax(0,1.3fr); align-items:center; gap:4%; padding-block:clamp(40px,5vw,90px); }
.product-hero h1 { max-width:9ch; margin-bottom:.18em; }
.product-hero .lead { max-width:40ch; }
.product-hero .showcase,.conversation .showcase { border-radius:15px; box-shadow:0 18px 50px -28px #283d56; }
.cat-scenes,.conversation,.pose-atlas,.campaign { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
.cat-scenes { border-radius:18px; overflow:hidden; background:#213d34; color:#fff; }
.scene-art { align-self:stretch; min-height:280px; display:grid; place-items:center; background:#c5dfbc; }
.scene-art img { width:66%; height:225px; object-fit:contain; }
.scene-copy,.campaign > div { padding:clamp(24px,4vw,64px); }
.scene-options { display:flex; gap:6px; flex-wrap:wrap; margin:20px 0 14px; }
.scene-options button { font:inherit; cursor:pointer; background:none; border:1px solid #afc2b8; color:inherit; border-radius:30px; padding:.35em .85em; }
.scene-options [aria-pressed=true] { background:#d8f1c7; color:#203a2e; }
.conversation,.pose-atlas { gap:6%; padding-block:clamp(35px,5vw,78px); border-bottom:1px solid var(--line); }
.pose-atlas { grid-template-columns:.62fr 1.38fr; }
.sheet-link { display:block; margin:0; }
.sheet-link img { aspect-ratio:2400/1560; height:auto; border-radius:12px; }
.quiet-grid { display:grid; grid-template-columns:1fr 1fr; gap:8%; padding-block:40px 64px; }
.campaign { background:#282420; border-radius:16px; overflow:hidden; margin:40px 0; }
.campaign > img { height:100%; min-height:250px; width:100%; object-fit:cover; }
.racing .facts { gap:0; border-block:1px solid var(--line); }
.racing .facts div { background:transparent; border:0; border-radius:0; }
.racing .facts b { font-size:clamp(2.4rem,5vw,5rem); letter-spacing:-.075em; line-height:1; }
.race-copy p:not(.platform) { font-size:clamp(1.5rem,3.3vw,3.6rem); font-weight:750; letter-spacing:-.055em; line-height:1.04; }
.release { cursor:default; border-radius:999px; }
.footer { padding-block:30px; }
@media(max-width:720px) {
  .mast { min-height:0; }
  .studio-intro { grid-template-columns:1fr; padding-top:28px; gap:0; }
  .studio-intro .platform { margin-bottom:14px; }
  .studio-intro > div:first-child { padding-bottom:12px; }
  .studio-intro h1 { font-size:clamp(2.6rem,8.6vw,4rem); }
  .studio-aside { padding:0 68px 15px 0; max-width:none; }
  .travel { width:66px; height:42px; }
  .travel video { height:25px; }
  .game-grid { grid-template-columns:1fr; }
  .product-hero,.cat-scenes,.conversation,.pose-atlas,.quiet-grid,.campaign { grid-template-columns:1fr; gap:18px; }
  .product-hero { padding-block:32px; }
  .product-hero h1 { max-width:none; font-size:clamp(3.3rem,11vw,5rem); }
  .cat-scenes { gap:0; }
  .scene-art { min-height:170px; }
  .scene-art img { height:135px; }
  .campaign > img { min-height:0; }
  .campaign { gap:0; }
}
@media(max-width:650px) {
  .race-hero { display:block; min-height:0; }
  .race-hero picture { position:relative; display:block; aspect-ratio:1.85; z-index:auto; }
  .race-hero:after { display:none; }
  .race-copy { padding-block:22px; }
}
.film { position:relative; isolation:isolate; overflow:hidden; background:#cdd8e1; }
.product-hero .film,.conversation .film { border-radius:18px; border:1px solid #17253214; box-shadow:0 18px 52px -32px #283d56; }
.film-toggle { display:grid; place-items:center; position:absolute; right:14px; bottom:14px; width:44px; height:44px; border-radius:50%; background:#202525e8; color:#fff; border:1px solid #ffffff50; font:700 18px/1 system-ui,sans-serif; cursor:pointer; }
.film-toggle:hover { background:#121716; }
.product-hero h1 { max-width:none; }
.support-grid article { border-radius:18px; padding:clamp(18px,3vw,40px); }
.support-grid article:first-child { border-top:4px solid var(--accent); }
.support-grid article:nth-child(2) { border-top:4px solid #698977; }
.gallery:not(.sheet-link) { gap:clamp(8px,1vw,16px); }
@media(min-width:721px) {
 .gallery:not(.sheet-link) { grid-template-columns:repeat(6,minmax(0,1fr)); }
 .gallery:not(.sheet-link) a { grid-column:span 2; }
 .gallery:not(.sheet-link) a:nth-child(-n+2) { grid-column:span 3; }
}

.studio-poster {
  position:relative; isolation:isolate; display:grid; align-items:center; overflow:hidden;
  min-height:clamp(400px,35vw,620px); color:#fff9ed; background:#513527;
}
.studio-poster picture,.studio-poster picture img,.studio-poster::before { position:absolute; inset:0; width:100%; height:100%; }
.studio-poster picture { z-index:-2; }
.studio-poster picture img { object-fit:cover; object-position:55% 54%; }
.studio-poster::before { content:""; z-index:-1; background:linear-gradient(90deg,#211914ed 0%,#292017b8 27%,#32231942 52%,transparent 73%); }
.poster-copy { padding-block:clamp(32px,4vw,68px); }
.poster-copy .platform { color:#ffdfba; margin-bottom:16px; }
.poster-copy h1 { font-size:clamp(3.2rem,6.5vw,7.6rem); letter-spacing:-.074em; line-height:.87; margin:0 0 18px; }
.poster-copy h1 em { color:#ffd5a4; font-family:Georgia,serif; font-weight:500; }
.poster-copy > p:not(.platform) { max-width:35ch; font-size:clamp(1rem,1.3vw,1.25rem); line-height:1.4; margin-bottom:19px; }
.poster-copy .button { background:#fff2da; color:#31221b; }
.games-heading { display:flex; position:relative; align-items:end; justify-content:space-between; padding-block:15px 12px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.games-heading h2 { font-size:clamp(1.65rem,3vw,2.6rem); letter-spacing:-.045em; margin:0; }
.games-heading .travel { width:min(45%,410px); height:clamp(40px,4vw,60px); }
.games { border:0; }
.scene-art { background:radial-gradient(ellipse at 53% 81%,#dad1b2 0%,#f0ebd9 44%,#f6f1e4 75%); }
.scene-art img { width:auto; max-width:82%; height:auto; max-height:240px; object-fit:contain; }
.scene-art img[src*="/poses/"] { max-width:min(65%,200px); }
.item-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr)); }
.item-grid article { display:flex; flex-direction:column; align-items:flex-start; padding:0 18px 20px; overflow:hidden; border:1px solid #d9d0c1; background:#fffdf7; border-radius:18px; }
.item-grid img { box-sizing:border-box; width:calc(100% + 36px); height:154px; padding:22px 15%; margin:0 -18px 19px; background:radial-gradient(ellipse at 50% 90%,#e0cdb4,#f4e8d8 74%); }
.item-grid h3 { font-size:1.3rem; letter-spacing:-.035em; }
.item-grid strong { margin-top:auto; font-size:.85rem; color:#46523a; }
.gallery.race-gallery { position:relative; display:flex; align-items:stretch; gap:14px; overflow:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; padding-bottom:10px; }
.race-gallery a { flex:0 0 min(83%,960px); scroll-snap-align:start; text-decoration:none; }
.race-gallery a img { border-radius:12px; }
.race-gallery a span { display:block; font-size:1rem; color:var(--muted); padding:9px 0 0; }
.reel-tools { display:flex; align-items:center; gap:14px; justify-content:flex-end; }
.reel-arrow { width:44px; height:44px; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:50%; cursor:pointer; }
.reel-arrow:disabled { opacity:.45; }
.reel-tools output { font-variant-numeric:tabular-nums; }
@media(max-width:650px) {
  .studio-poster { min-height:420px; align-items:end; }
  .studio-poster picture img { object-position:68% 20%; }
  .studio-poster::before { background:linear-gradient(0deg,#241b16f5 0%,#211813a8 36%,#221b1110 78%); }
  .poster-copy { padding-block:27px; }
  .poster-copy h1 { font-size:3.4rem; }
  .poster-copy > p:not(.platform) { max-width:32ch; }
  .games-heading { padding-top:4px; }
  .scene-art img { max-height:160px; }
  .race-gallery a { flex-basis:92%; }
}
.sheet-link .pose-preview { display:block; text-decoration:none; border:1px solid #d4d1c6; overflow:hidden; border-radius:16px; background:#f0e9dd; }
.pose-pair { display:flex; justify-content:space-evenly; align-items:flex-end; min-height:175px; padding:26px 14px 15px; background:linear-gradient(0deg,#dfd1bd 0 12%,#f4ede1 12%); }
.sheet-link .pose-pair img { width:auto; max-width:40%; height:auto; max-height:122px; aspect-ratio:auto; object-fit:contain; background:transparent; border-radius:0; }
.pose-preview strong { display:flex; justify-content:space-between; padding:12px 20px; }

/* Shared studio palette and layout */
:root,body.cozy,body.racing {
  color-scheme:dark;
  --paper:#111121;
  --surface:#1d1c31;
  --ink:#fbf7ff;
  --muted:#c2bfd5;
  --line:#403d57;
  --accent:#d7c4ff;
  --button:#e8d5ff;
  --button-text:#221636;
}
body {
  background:radial-gradient(ellipse 75rem 40rem at 80% 0%,#30264c 0,transparent 72%),var(--paper);
  font-family:system-ui,sans-serif;
}
.header {
  background:#141325;
  box-shadow:0 1px 0 #b499ef1c;
}
.mast { min-height:76px; }
.brand span { color:#e5c6ff; }
.mast nav a { color:var(--ink); }
.mast nav .account-link,.button { color:var(--button-text); background:var(--button); }
.button.secondary { color:var(--ink); background:transparent; border-color:#8a7da7; }
.studio-poster {
  width:min(1392px,calc(100% - clamp(36px,8vw,144px)));
  margin:26px auto 0;
  min-height:clamp(415px,38vw,625px);
  border-radius:26px;
  border:1px solid #a495c368;
}
.poster-copy { width:100%; padding-inline:clamp(24px,5vw,80px); }
.studio-poster::before { background:linear-gradient(90deg,#151023fa 3%,#241832cd 27%,#2d1f3845 60%,transparent 85%); }
.poster-copy h1 em,.poster-copy .platform { color:#e2ceff; }
.poster-copy .button { background:#ede2ff; color:#231535; }
.games-heading { margin-bottom:20px; padding-bottom:16px; }
.game-grid { gap:clamp(16px,2vw,30px); }
.game-card.track,.game-card.tail {
  position:relative;
  border:1px solid #645674;
  background:linear-gradient(165deg,#2f2548,#201a34);
  color:var(--ink);
  border-radius:20px;
}
.game-card .platform,.tail .platform,.track .platform { color:#e6d4ff; }
.game-card .button { color:#241738; background:#e9d6ff; }
.game-card > .film,.game-card > .card-art { border-bottom:1px solid #c1a8e547; }
.film { background:#29243a; }
.film-toggle { border:1px solid #e9d6ff91; background:#1c1729ed; }
.product-hero { gap:5%; }
.product-hero .film,.conversation .film {
  border:1px solid #9f8cc47a;
  box-shadow:0 22px 70px -25px #a67df769;
}
.product-hero .platform:before,.studio-intro .platform:before { background:#d9bbff; }
.cat-scenes,.campaign,.sheet-link .pose-preview {
  background:linear-gradient(145deg,#32284c,#211b36);
  color:var(--ink);
  border:1px solid #645674;
}
.scene-art,.pose-pair {
  background:radial-gradient(ellipse at 58% 66%,#e3c9f0,#c3a7db 68%,#ae96ce);
}
.scene-options [aria-pressed=true] { background:#ecdcff; color:#261937; }
.race-hero {
  width:min(1392px,calc(100% - clamp(36px,8vw,144px)));
  margin:26px auto 0;
  min-height:clamp(415px,38vw,625px);
  border:1px solid #a495c368;
  border-radius:26px;
  background:#241934;
}
.race-hero::after { background:linear-gradient(0deg,#21182fe8 0%,#22192962 52%,transparent 82%); }
.race-copy { width:100%; padding-inline:clamp(24px,5vw,80px); }
.release { color:#f4e9ff; background:#332546; border-color:#8a75ac; }
.item-grid article { color:var(--ink); background:var(--surface); border-color:var(--line); }
.item-grid img { background:radial-gradient(ellipse at 50% 85%,#d9bfe7,#ab96c8 87%); }
.item-grid strong { color:#e3cbff; }
.account-section { margin:28px 0; max-width:760px; }
.account-list { list-style:none; margin:16px 0 0; padding:0; }
.account-list li { padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:12px; margin-bottom:8px; }
.account-list span { color:var(--muted); }
.account-list li div span { display:block; }
@media(max-width:650px) {
  .mast { min-height:auto; }
  .studio-poster,.race-hero { margin-top:12px; border-radius:17px; }
  .studio-poster::before { background:linear-gradient(0deg,#161026fa 1%,#1c142bcf 33%,#24182d3b 73%,transparent); }
  .race-hero { min-height:0; }
  .race-copy { padding:20px; }
  .account-list li { align-items:flex-start; flex-wrap:wrap; }
}

.race-hero {
  display:block;
  min-height:0;
}
.race-hero picture {
  position:relative;
  display:block;
  isolation:isolate;
  height:auto;
  aspect-ratio:1706 / 922;
  max-height:570px;
  z-index:auto;
  overflow:hidden;
}
.race-hero picture::before {
  content:"";
  position:absolute;
  inset:-20px;
  z-index:-1;
  background:linear-gradient(#2114267a,#161122c4),url("/assets/race-cover-1978.webp") center / cover;
  filter:blur(18px);
}
.race-hero picture img { object-fit:contain; object-position:center; }
.race-hero::after { display:none; }
.race-copy {
  padding-block:20px 25px;
  border-top:1px solid #a495c340;
}
@media (max-width:650px) {
  .studio-poster { display:block; min-height:0; background:#201733; }
  .studio-poster picture {
    position:relative;
    display:block;
    height:auto;
    aspect-ratio:780 / 557;
    z-index:auto;
  }
  .studio-poster picture img { object-position:center; }
  .studio-poster::before { display:none; }
  .poster-copy { padding-block:22px 26px; }
}

/* Account forms */
.auth-layout {
  max-width: 920px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.auth-card, .auth-aside {
  margin: 0;
  border-radius: 24px;
  padding: clamp(18px, 4vw, 36px);
}
.auth-aside {
  border: 1px solid var(--line);
  background: var(--surface);
}
.auth-aside img {
  width: 150px;
  height: 130px;
  object-fit: contain;
  object-position: bottom left;
}
.auth-aside h2, .auth-card h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.auth-aside p { color: var(--muted); }
.auth-choices {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
}
.auth-tab {
  min-height: 42px;
  flex: 1;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}
.auth-tab[aria-pressed="true"] { background: var(--button); color: var(--button-text); }
.auth-fields { display: grid; gap: 12px; margin: 16px 0; }
.auth-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-field:has([type="email"], [type="password"]) { grid-column: 1 / -1; }
.auth-field input, .auth-field select {
  width: 100%;
  margin: 0;
  font: inherit;
  padding: .65rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.auth-agreement, .auth-controls { display: flex; align-items: center; gap: 10px; }
.auth-agreement label { margin: 0; }
.auth-agreement input { width: 1.1em; height: 1.1em; margin: 0; flex-shrink: 0; accent-color: var(--button); }
.auth-controls { flex-wrap: wrap; margin-top: 16px; }
.auth-link, .footer-cookie {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.auth-note { display: block; margin: .45em 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.auth-status { color: var(--accent); margin: .7em 0 0; }
.auth-status:empty { display: none; }
.footer-cookie { color: inherit; font-size: .88rem; font-weight: 650; }
.cookie-banner {
  position: fixed;
  z-index: 20;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  max-width: 540px;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 14px 40px #0003;
}
.cookie-banner h2 { font-size: 1.4rem; margin-bottom: .55em; }
.cookie-banner p { font-size: .94rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.cookie-actions .button { justify-content: center; min-height: 44px; }
.cookie-category { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.cookie-category p { margin-top: 4px; color: var(--muted); }
.cookie-choice { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cookie-choice input { width: 1.1em; height: 1.1em; margin: 0; accent-color: var(--button); }
.cookie-privacy { margin: 8px 0; }
@media (max-width: 480px) {
  .cookie-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
}
@media (max-width: 380px) {
  .auth-fields-grid { grid-template-columns: minmax(0, 1fr); }
}

.admin-search { align-items: center; }
.admin-search input {
  padding: .6rem;
  width: min(100%, 22rem);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-users li, .admin-products li { flex-wrap: wrap; overflow-wrap: anywhere; }
