/* Bay GT: restrained motorsport UI, separate from the playful portal. */
.gt-game{position:absolute;inset:0;overflow:hidden;background:#15202c;color:#edf2f5;font:15px/1.5 system-ui,sans-serif;isolation:isolate}.gt-world,.gt-world canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.gt-world canvas{touch-action:none}.gt-menu{position:absolute;inset:0;z-index:5;overflow:auto;background:linear-gradient(90deg,#0a111cee,#102032ac 55%,#12202b20);padding:clamp(20px,5vw,66px)}.gt-panel{max-width:1120px;margin:auto}.gt-brand{letter-spacing:.22em;font-size:11px;font-weight:800;border-bottom:1px solid #ffffff36;padding-bottom:20px;display:flex;justify-content:space-between;gap:20px}.gt-brand span{color:#b6ebd9;white-space:nowrap}.gt-home{padding:clamp(25px,6vh,75px) 0;max-width:700px}.gt-kicker{color:#95c9b8;font-size:11px;letter-spacing:.24em}.gt-game h1{font-size:clamp(54px,9vw,116px);line-height:1.05;letter-spacing:-.06em;font-weight:750;margin:20px 0}.gt-game h2{font-size:clamp(30px,5vw,54px);line-height:1.15;letter-spacing:-.04em;margin:26px 0}.gt-game p{max-width:740px;color:#bbc8d3}.gt-game button{border:1px solid #89979e70;color:#eff6f7;background:#192a35e0;padding:13px 20px;min-height:48px;font:600 14px system-ui;cursor:pointer;border-radius:3px;transition:background .15s,transform .15s}.gt-game button:hover:not(:disabled){background:#3b575c}.gt-game button:focus-visible{outline:3px solid #c1fae2;outline-offset:3px}.gt-game button:disabled{opacity:.45;cursor:not-allowed}.gt-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.gt-actions>button:first-child{background:#b4ddcc;border-color:#b4ddcc;color:#142b28;padding-inline:30px}.gt-stats{display:flex;flex-wrap:wrap;gap:40px;margin:32px 0}.gt-stats span{font-size:34px;font-variant-numeric:tabular-nums}.gt-stats small{display:block;font-size:10px;letter-spacing:.15em;color:#abbcc5}.gt-events{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.gt-events button{text-align:left;min-height:132px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}.gt-events strong{font-size:23px}.gt-events small,.gt-events span{color:#adbeca;font-size:11px;letter-spacing:.1em}.gt-cars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.gt-cars article{padding:20px;background:#162934c9;border:1px solid #ffffff25}.gt-cars article button{width:100%;margin-top:8px;padding:10px}.gt-car-swatch{height:85px;position:relative;background:radial-gradient(ellipse,#cbdfea25,transparent 70%)}.gt-car-swatch i{position:absolute;width:90%;height:28px;background:var(--paint);left:5%;bottom:19px;border-radius:18px 30px 8px 8px;box-shadow:0 8px 14px #0008}.gt-car-swatch i:before{content:"";position:absolute;width:45%;height:22px;background:#344752;border:6px solid var(--paint);border-bottom:0;top:-20px;left:27%;border-radius:25px 30px 0 0}.gt-car-swatch i:after{content:"";position:absolute;left:12%;bottom:-6px;width:22px;height:22px;border:5px solid #13191e;border-radius:50%;background:#969b9e;box-shadow:100px 0 0 -5px #969b9e,100px 0 0 0 #13191e}.gt-game label{display:block;margin:18px 0}.gt-game select{display:block;width:min(430px,100%);margin-top:8px;background:#21323e;border:1px solid #83949e;padding:13px;color:#fff;font:inherit}.gt-game input{accent-color:#aadac5;width:20px;height:20px;vertical-align:middle}.gt-hud{position:absolute;inset:22px 24px auto;display:flex;justify-content:space-between;gap:15px;pointer-events:none;text-shadow:0 2px 5px #000;background:linear-gradient(#0a1727aa,transparent);padding:12px 16px;border-radius:6px}.gt-hud>div{display:flex;flex-direction:column}.gt-hud strong{font-size:clamp(24px,4vw,40px);line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.gt-hud small{font-size:11px;letter-spacing:.08em;color:#dcf0ed}.gt-hud strong small{font-size:14px}.gt-map{position:absolute;left:24px;bottom:120px;width:150px;height:150px;background:#10213299;border:1px solid #ffffff20;border-radius:12px;pointer-events:none}.gt-touch{position:absolute;bottom:22px;left:24px;right:24px;display:flex;justify-content:space-between;gap:16px}.gt-touch>div{display:flex;gap:8px;align-items:end}.gt-touch button{user-select:none;touch-action:none;min-width:64px;min-height:58px;background:#122632bc;backdrop-filter:blur(8px);padding:8px;border-radius:12px}.gt-touch [data-pad=left],.gt-touch [data-pad=right]{font-size:24px;min-width:75px}.gt-touch [data-pad=nitro]{background:#386a61c9;border-color:#a5f6d8;min-height:76px;min-width:76px}.gt-flash{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 80px #bf452855}.gt-game [hidden]{display:none!important}
.gt-feature{margin:42px 3vw 0;min-height:300px;border:2px solid var(--ink);box-shadow:8px 8px 0 var(--shadow);display:grid;grid-template-columns:1fr 1fr;background:#182a35;color:#fff;overflow:hidden}.gt-feature>div{padding:40px clamp(24px,4vw,60px)}.gt-feature .eyebrow{color:#b9d8c9}.gt-feature h2{font:900 clamp(36px,6vw,78px)/1 Georgia,serif;margin:14px 0}.gt-feature p{line-height:1.7;color:#c9d7dd;max-width:500px}.gt-feature button{min-height:50px;border:2px solid #121d24;background:#c0dfcb;box-shadow:4px 4px 0 #080e14;color:#172e28;font-weight:900;padding:0 24px;cursor:pointer}.gt-feature .gt-poster{position:relative;padding:0;min-height:250px;background:linear-gradient(174deg,#b9bdb4 0%,#8ca4a6 35%,#687566 36%,#344748 57%,#1b252b 58%)}.gt-poster:before{content:"";position:absolute;inset:38% -20% -25%;background:repeating-linear-gradient(90deg,transparent 0 44%,#d0cfbe 44% 45%,transparent 45% 55%,#d0cfbe 55% 56%,transparent 56% 100%),#30383d;transform:perspective(120px) rotateX(35deg) rotate(-16deg);border:8px solid #7d8683}.gt-poster svg{position:absolute;width:85%;height:75%;bottom:0;left:6%;filter:drop-shadow(0 25px 12px #0007)}.art-baygt{background:linear-gradient(160deg,#a2b2b5,#31454f 48%,#1a2730)}.art-baygt b{color:#dae6dd;font:900 80px Georgia;letter-spacing:-.1em}.art-florist{background:radial-gradient(circle at 25% 35%,#c46d7c 0 15%,transparent 16%),radial-gradient(circle at 68% 42%,#e4b060 0 20%,transparent 21%),#d6e1d0}.art-atelier{background:linear-gradient(140deg,#eadfcd 48%,#a97177 49% 70%,#647c71 71%)}.art-pairs{background:repeating-linear-gradient(45deg,#d6e2d3 0 30px,#eee9d8 30px 60px)}.art-tiles{background:linear-gradient(135deg,#a3bcba,#456c66)}.art-florist b,.art-atelier b,.art-pairs b,.art-tiles b{font:900 64px Georgia;color:#29483e}
/* Slow games: large controls, warm paper, clear contrast and a scrollable stage. */
.cozy-game{position:absolute;inset:0;overflow:auto;background:#f3eee4;color:#263b32;font:16px/1.6 system-ui,sans-serif;--accent:#385d4c;--paper:#fffcf6}.cozy-game.cozy-large{font-size:19px}.cozy-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 5%;background:#fffcf6;border-bottom:1px solid #dad9c9}.cozy-header small{font-size:10px;letter-spacing:.2em;color:#6c7d70}.cozy-header h1{font:500 clamp(25px,3vw,36px)/1.3 Georgia,serif;margin:6px 0 0}.cozy-header>div:last-child{display:flex;gap:8px}.cozy-content{max-width:1220px;margin:auto;padding:30px 5% 48px}.cozy-game button{font:600 15px/1.4 system-ui,sans-serif;min-height:48px;padding:11px 18px;border:1px solid #9baea0;border-radius:10px;background:#fffcf6;color:#2b493b;cursor:pointer}.cozy-large button{font-size:18px;min-height:54px}.cozy-game button:hover:not(:disabled){background:#e0e9da}.cozy-game button:focus-visible{outline:3px solid #bc7441;outline-offset:3px}.cozy-game button[aria-pressed=true]{background:#385d4c;color:#fff;border-color:#385d4c}.cozy-game button:disabled{cursor:default;opacity:.55}.cozy-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(25px,5vw,80px);align-items:center;min-height:430px}.cozy-intro h2{font:500 clamp(32px,5vw,58px)/1.12 Georgia,serif;letter-spacing:-.035em}.cozy-intro p{color:#59695e;max-width:620px}.cozy-cover{display:grid;place-items:center;min-height:360px;border-radius:180px 180px 20px 20px;background:#e3d7c7;box-shadow:inset 0 0 70px #fffa}.cozy-cover>svg{width:70%;max-height:300px}.cozy-eyebrow{font-size:11px;letter-spacing:.18em;color:#697c6a}.cozy-actions{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.cozy-actions button:last-child{background:#385d4c;color:#fff}.cozy-note{font-size:13px;color:#67766a}.cozy-game select{font:inherit;padding:8px;border:1px solid #a6b3a6;background:#fffaf1;border-radius:7px;margin-left:12px}.cozy-game input{width:20px;height:20px;margin-right:10px;accent-color:#385d4c;vertical-align:middle}.cozy-status{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:15px;font-weight:700;border-bottom:1px solid #bdc9bc;padding:0 0 20px;margin-bottom:25px}.cozy-paper{padding:28px;background:#fffcf6;border:1px solid #dddccf;border-radius:14px;box-shadow:0 14px 32px #3f503209}.cozy-paper h2{font:500 30px Georgia;margin-top:0}.florist-layout{display:grid;grid-template-columns:300px 1fr;gap:30px}.flower-order{display:flex;align-items:center;gap:10px;margin:8px 0}.florist-work{text-align:center;min-width:0}.bouquet{min-height:240px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;background:radial-gradient(ellipse at bottom,#d9bb93 0 35%,transparent 36%);border-bottom:2px solid #baa787;padding:25px}.bouquet.wrap-1{background:radial-gradient(ellipse at bottom,#fffef5 0 35%,transparent 36%)}.bouquet.wrap-2{background:radial-gradient(ellipse at bottom,#c0a8cc 0 35%,transparent 36%)}.bouquet svg{margin:0 -8px;transform:rotate(-8deg)}.bouquet svg:nth-child(even){transform:rotate(12deg)}.flower-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:22px}.flower-palette button{padding:12px 4px}.flower-palette small{display:block;font-size:12px}.atelier-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:35px}.atelier-mirror{background:linear-gradient(#e7dbcb,#ebe4d9);border:10px solid #cfc1a8;border-radius:180px 180px 18px 18px;display:grid;place-items:center;max-height:650px}.atelier-figure{width:100%;max-height:570px;min-height:280px}.cozy-game fieldset{border:0;border-top:1px solid #e3e0d5;margin:18px 0;padding:16px 0 0}.cozy-game legend{font-size:15px;font-weight:700}.cozy-options,.cozy-swatches{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.cozy-options button,.cozy-swatches button{font-size:13px;padding:9px 12px}.cozy-swatches button{border-bottom:6px solid var(--swatch)}.pairs-board,.number-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:12px;max-width:760px;margin:25px auto}.pairs-board .pair-card{aspect-ratio:1;padding:4px;min-height:0;background:#fffcf7;box-shadow:0 4px 0 #c4cdbd}.pair-card svg{width:100%;height:100%;max-height:112px;display:block}.pair-back{display:grid;place-items:center;height:100%;font:36px Georgia;color:#628675;background:repeating-linear-gradient(45deg,#e4ebdf 0 4px,#f0f1e5 4px 8px);border-radius:7px}.pairs-board .matched{opacity:.35;box-shadow:none}.number-board{max-width:540px;background:#d3dacd;padding:12px;border-radius:16px}.number-board .number-tile{aspect-ratio:1;min-height:0;padding:4px;background:var(--tile);color:#fff;font-size:clamp(24px,5vw,42px);text-shadow:0 1px 3px #0007;border:0;box-shadow:0 4px 0 #0002}.number-board .blank{background:transparent;box-shadow:none}.cozy-message{min-height:28px;color:#77472f}.cozy-result{text-align:center;padding:60px 10px}.cozy-result h2{font:500 48px Georgia}.cozy-result strong{color:#b8883b;font-size:52px;letter-spacing:.1em}.cozy-result .cozy-actions{justify-content:center}.cozy-paused{position:fixed;inset:60px 0 0;background:#f3eee4ed;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.cozy-paused h2{font-size:40px}
@media(max-width:760px){.gt-menu{padding:22px 18px}.gt-brand{font-size:9px;letter-spacing:.1em}.gt-home{padding:35px 0}.gt-events{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-events strong{font-size:19px}.gt-cars{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-cars article{padding:12px}.gt-hud{inset:8px 6px auto;padding:10px;gap:8px}.gt-hud small{font-size:8px;letter-spacing:0}.gt-touch{bottom:16px;left:10px;right:10px;gap:8px}.gt-touch>div{gap:5px;flex-wrap:wrap;max-width:60%;justify-content:end}.gt-touch>div:first-child{flex-wrap:nowrap}.gt-touch button{min-width:45px;min-height:48px;font-size:10px}.gt-touch [data-pad=left],.gt-touch [data-pad=right]{min-width:48px;font-size:20px}.gt-touch [data-pad=nitro]{min-width:57px;min-height:65px}.gt-map{left:12px;bottom:132px;width:100px;height:100px}.gt-feature{margin:28px 16px 0;grid-template-columns:1fr}.gt-feature>div{padding:30px 24px}.gt-feature .gt-poster{min-height:215px}.cozy-header{padding:16px;align-items:start}.cozy-header h1{font-size:25px}.cozy-header button{font-size:13px;padding:8px;min-height:44px}.cozy-content{padding:22px 16px 35px}.cozy-intro,.florist-layout,.atelier-layout{grid-template-columns:1fr;gap:20px}.cozy-cover{min-height:190px}.cozy-cover>svg{max-height:180px}.cozy-intro h2{margin:16px 0}.cozy-game.cozy-large{font-size:17px}.cozy-paper{padding:20px}.florist-layout .cozy-paper{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.florist-layout .cozy-paper h2{width:100%;font-size:23px;margin-bottom:4px}.flower-order{font-size:14px;margin:0}.flower-order svg{width:30px;height:38px}.bouquet{min-height:150px}.atelier-mirror{max-height:310px;border-radius:140px 140px 12px 12px}.atelier-figure{max-height:290px;min-height:250px}.pairs-board{gap:7px}.cozy-status{font-size:12px;gap:10px}.cozy-large .pair-card{min-height:44px}.cozy-options button,.cozy-swatches button{font-size:13px}.gt-car-swatch i:after{box-shadow:65px 0 0 -5px #969b9e,65px 0 0 0 #13191e}}
@media(max-height:500px) and (min-width:761px){.gt-map{width:90px;height:90px;bottom:95px}.gt-touch{bottom:12px}.gt-touch button{min-height:44px}.gt-touch [data-pad=nitro]{min-height:52px}.gt-hud strong{font-size:25px}}
.gt-game .gt-map{width:150px;height:150px}.cozy-game{touch-action:pan-y}.cozy-actions button[aria-pressed=false]{background:#fffcf6;color:#2b493b}.cozy-actions button:hover:not(:disabled){color:#2b493b}.cozy-game button[aria-pressed=true]:hover:not(:disabled){color:#fff;background:#456d59}
@media(max-width:760px){.gt-game .gt-map{width:100px;height:100px}}
@media(max-height:500px) and (min-width:761px){.gt-game .gt-map{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){.gt-game button{transition:none}}
/* 衣橱灵感:换装界面 */
.cozy-atelier .atelier-layout{grid-template-columns:minmax(260px,.8fr) 1.2fr;align-items:start}
.cozy-atelier .atelier-mirror{position:sticky;top:12px;overflow:hidden;padding:0;border:10px solid #f2c6d6;border-radius:200px 200px 26px 26px;background:#fde8ef;max-height:none;box-shadow:0 18px 40px #b2617a22}
.cozy-atelier .atelier-mirror .atelier-figure{display:block;width:100%;height:auto;max-height:none;min-height:0}
.atelier-panel{display:grid;gap:14px;align-content:start}
.cozy-atelier .cozy-paper{display:block}
.atelier-brief h2{margin:0 0 6px}.atelier-brief p{margin:8px 0 0;font-size:.9em;color:#7a6470}
.atelier-brief ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.brief-line{display:grid;grid-template-columns:4.2em auto 1fr 1.6em;align-items:center;gap:10px;padding:9px 12px;border-radius:14px;background:#fbf3ea;border:2px solid #f0e2d3;transition:background .2s,border-color .2s}
.brief-line.ok{background:#e9f7ec;border-color:#8fd3a0}
.brief-style{padding:2px 12px;border-radius:999px;background:#fff;border:1.5px solid #e6cdd8;color:#b13d66;font-weight:700;font-size:.9em;justify-self:start}
.brief-color{display:inline-flex;align-items:center;gap:7px;font-weight:600}
.brief-color:before{content:"";width:18px;height:18px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 -3px 0 #0002,0 0 0 2px #fff,0 0 0 3px #e6d6c6}
.brief-line i{font-style:normal;font-weight:900;font-size:1.3em;color:#3c9a56;text-align:center}
.atelier-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cozy-game .atelier-tab,.cozy-game .atelier-kind{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px 8px;border-radius:18px;border:2px solid #eadccd;font-size:.86em;line-height:1.2}
.atelier-tab .atl-thumb{width:58px;height:54px}
.atelier-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.atelier-kind .atl-thumb{width:78px;height:72px}
.atelier-drawer h3{margin:14px 0 8px;font-size:.95em;color:#7a4b5e}.atelier-drawer h3:first-child{margin-top:0}
.atelier-colors{display:flex;flex-wrap:wrap;gap:8px}
.cozy-game .atelier-swatch{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:5px 14px 5px 6px;border-radius:999px;border:2px solid #eadccd}
.atelier-swatch i{width:28px;height:28px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 -3px 0 #0002,0 0 0 2px #fff}
.cozy-game .atelier-tab[aria-pressed=true],.cozy-game .atelier-kind[aria-pressed=true],.cozy-game .atelier-swatch[aria-pressed=true],.cozy-game .atelier-tab[aria-pressed=true]:hover:not(:disabled),.cozy-game .atelier-kind[aria-pressed=true]:hover:not(:disabled),.cozy-game .atelier-swatch[aria-pressed=true]:hover:not(:disabled){background:#fff1f6;color:#b13d66;border-color:#ef7aa0;box-shadow:0 0 0 3px #ffd3e1}
.cozy-game .atelier-tab:hover:not(:disabled),.cozy-game .atelier-kind:hover:not(:disabled),.cozy-game .atelier-swatch:hover:not(:disabled){background:#fff7fa}
.cozy-game .atelier-styles button[aria-pressed=true],.cozy-game .atelier-styles button[aria-pressed=true]:hover:not(:disabled){background:#e45b88;border-color:#e45b88;color:#fff}
.cozy-atelier .cozy-actions{margin:4px 0 0}
.cozy-atelier .cozy-actions button{border-radius:999px;padding:12px 26px;font-weight:800}
.cozy-atelier .cozy-actions button[data-action=submit]{background:#e45b88;border-color:#c8426f;color:#fff;box-shadow:0 4px 0 #b43a63}
@media(max-width:760px){.cozy-atelier .atelier-layout{grid-template-columns:1fr}.cozy-atelier .atelier-mirror{position:relative;top:0;max-width:330px;margin:0 auto;width:100%}.atelier-tabs{gap:5px}.atelier-tab .atl-thumb{width:44px;height:42px}.cozy-game .atelier-tab{padding:4px 2px 6px;font-size:.78em}.atelier-kinds{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier-kind .atl-thumb{width:64px;height:60px}.brief-line{grid-template-columns:3.4em auto 1fr 1.4em;gap:6px;padding:8px}}
.cozy-atelier .cozy-actions button[data-action=random],.cozy-atelier .cozy-actions button[data-action=random]:hover:not(:disabled){background:#fff;color:#b13d66;border:2px solid #ef7aa0}
.cozy-game .atelier-styles button{font-size:15px;font-weight:700;border-radius:999px;padding:9px 18px;border:2px solid #eadccd}
@media(max-width:760px){.cozy-atelier .atelier-mirror{max-width:250px}.cozy-game .atelier-styles button{padding:8px 14px}}
.cozy-atelier .cozy-cover{background:none}
.cozy-atelier .cozy-cover .atelier-figure{display:block;width:min(100%,300px);height:auto;max-height:none;min-height:0;margin:0 auto;border:9px solid #f2c6d6;border-radius:170px 170px 24px 24px;box-shadow:0 16px 34px #b2617a26}
/* 造型要求:部位名按最长的语言自适应宽度,不压到风格标签 */
.brief-line{grid-template-columns:minmax(4.2em,max-content) auto 1fr 1.6em}
@media(max-width:760px){.brief-line{grid-template-columns:minmax(3.4em,max-content) auto 1fr 1.4em}}
