html[data-game=genshin]{--bg:#080d1d;--accent:#d8bd7d;--gold:#e3c98e}
html[data-game=genshin] body{background:#080d1d url('art/genshin-observatory-night.webp') center/cover fixed;color:#eeedf4}
html[data-game=genshin] body:before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#070b1999,#070b1933 50%,#070b1970);z-index:-1}
html[data-game=genshin] #main{position:relative;isolation:isolate}
html[data-game=genshin] .world-hero{background:linear-gradient(90deg,#080e20ee,#080e2055),url('art/genshin-observatory-night.webp') center 55%/cover;border-color:#d6b97966;min-height:340px}
html[data-game=genshin] :is(.world-section,.world-stats a,.world-card,.gi-tier-detail){background:linear-gradient(140deg,#11192bef,#080e1ff5);border-color:#c5a55d55;color:#f0edf6}
html[data-game=genshin] .muted{color:#aeb8cf}
html[data-game=genshin] .world-card .world-card-image{background:radial-gradient(ellipse at bottom,#414656,#11182c)}
html[data-game=genshin] :is(.world-tabs a[aria-current],.room-section-tabs [aria-current]){color:#f5dfac;border-color:#d7bb7b;background:linear-gradient(90deg,#b6974d33,transparent)}
html[data-game=genshin] .primary{background:linear-gradient(120deg,#d5b875,#f0d8a7,#c5a261);color:#15131e;border:1px solid #f2dca9}
html[data-game=genshin] .game-room{background:transparent;border:0;border-radius:0;overflow:visible;isolation:isolate;min-height:850px}
html[data-game=genshin] #main:has(.game-room){max-width:1800px;width:100%;padding:10px clamp(10px,2.5vw,36px)}
html[data-game=genshin] .room-detail{border:1px solid #b59a6266;border-radius:8px;background:linear-gradient(135deg,#11182df5,#090f20f0);box-shadow:0 20px 70px #0005;padding:24px;animation:nightReveal .65s ease both}
html[data-game=genshin] .room-heading{padding-top:4px;background:none}
html[data-game=genshin] .room-heading h1{font-size:25px}
html[data-game=genshin] .room-notice{border-color:#ad965655;background:#0a1025bd;color:#d4cbb4}
html[data-game=genshin] .room-stage{grid-template-columns:132px minmax(270px,.9fr) minmax(360px,1.05fr);gap:22px}
html[data-game=genshin] .room-figure{min-height:600px;align-self:start;animation:nightReveal .8s ease both}
html[data-game=genshin] .room-figure>img{height:clamp(500px,73vh,820px)}
.room-figure[data-cutout=true][data-art-mode=ingame]>img{mask-image:none;filter:drop-shadow(0 12px 20px #02061380)}
html[data-game=genshin] .room-particles{display:none}
.gi-mini-gear{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.gi-mini-gear a{display:grid;justify-items:center;text-align:center;border:1px solid #a58b4d66;background:#f0cb7020;border-radius:5px;padding:6px;min-width:0}
.gi-mini-gear img{width:64px;height:64px;object-fit:contain}.gi-mini-gear small{font-size:10px;overflow-wrap:anywhere}
.celestial-motion{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.celestial-dial{position:absolute;left:15%;top:12%;width:min(420px,36vw);opacity:.58;filter:drop-shadow(0 0 5px #f7d79766);animation:nightOrbit 70s linear infinite}
.celestial-dial svg{width:100%;height:100%;fill:none;stroke:#e8ca83;stroke-width:1}.celestial-dial .orbit-spark{fill:#fff3b8;stroke:#fff}
.celestial-trails{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#e9d08c;stroke-width:1.4;stroke-dasharray:55 1100;animation:nightTrail 9s linear infinite;filter:drop-shadow(0 0 3px #e7be69)}
.celestial-star{position:absolute;left:var(--sx);top:var(--sy);width:3px;height:3px;border-radius:50%;background:#ffecc1;box-shadow:0 0 8px 2px #cba7ff88;animation:nightTwinkle 3.6s ease-in-out infinite;animation-delay:var(--delay)}
.celestial-comet{position:absolute;left:5%;top:12%;width:160px;height:2px;background:linear-gradient(90deg,transparent,#fff0c7);box-shadow:20px 0 15px #d7bbf9;transform:rotate(-18deg);animation:nightComet 11s ease-in infinite}
@keyframes nightOrbit{to{transform:rotate(360deg)}}@keyframes nightTrail{to{stroke-dashoffset:-1155}}@keyframes nightTwinkle{0%,100%{opacity:.15;transform:scale(.7)}50%{opacity:1;transform:scale(1.5)}}@keyframes nightComet{0%,60%{opacity:0;translate:-200px 0}65%{opacity:.9}83%,100%{opacity:0;translate:1500px 330px}}@keyframes nightReveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes nightFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.gi-hub{position:relative;isolation:isolate;min-height:calc(100dvh - 75px);display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,#080d20f5 0%,#080d20bc 33%,transparent 68%)}
html[data-game=genshin] #main:has(.gi-hub){max-width:none;width:100%;padding:0}
.gi-hub-menu{width:min(600px,49%);z-index:2;padding:clamp(18px,3vw,50px);background:linear-gradient(90deg,#0c1125e6,#0c1125aa,transparent)}
.gi-hub-menu h1{font-size:clamp(30px,3.5vw,52px);margin:14px 0;color:#f3e8d0}.gi-hub-menu>p{color:#bdc5db;line-height:1.7}
.gi-account{display:flex;align-items:center;gap:12px;border-top:1px solid #bea16c66;border-bottom:1px solid #bea16c66;padding:16px 0;margin-top:24px}
.gi-account-symbol{font-size:40px;color:#e4c88d}.gi-account>div{display:grid;gap:5px;flex:1}.gi-account small{color:#b4bed0;font-size:11px}.gi-account button{font-size:12px;padding:8px;min-height:38px}
.gi-sync-state{font-size:12px;min-height:34px;overflow-wrap:anywhere}
.gi-hub-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 22px}
.gi-hub-tiles a{position:relative;display:grid;place-items:center;align-content:center;gap:12px;min-height:105px;border:1px solid #b8a57866;border-radius:5px;background:linear-gradient(140deg,#28304caa,#10162aee);text-align:center;padding:10px 5px;transition:transform .2s,box-shadow .2s,border-color .2s}
.gi-hub-tiles a:hover{transform:translateY(-4px);border-color:#ffe1a3;box-shadow:0 0 22px #c8a15e33}.gi-hub-tiles span{font-size:32px;color:#e6cf9c}.gi-hub-tiles b{font-size:11px}
.gi-hub-art{position:absolute;inset:3% 1% 0 37%;display:grid;place-items:center;z-index:0}.gi-hub-art img{max-width:100%;height:min(82dvh,1000px);object-fit:contain;filter:drop-shadow(0 18px 35px #0008);animation:nightFloat 7s ease-in-out infinite}
.gi-hub-roster{display:flex;gap:8px;flex-wrap:wrap}.gi-hub-roster a{display:grid;justify-items:center;font-size:10px}.gi-hub-roster img{width:40px;height:40px;border-radius:50%;border:1px solid #e0c48d;background:#575040}
.gi-hub-caption{position:absolute;bottom:4%;right:5%;display:grid;text-align:right;gap:5px;color:#e6d1a3}.gi-hub-caption b{font-family:Georgia,serif;font-size:30px}.gi-hub-caption small{color:#c1c7dc}
.gi-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:18px 0;border-bottom:1px solid #ceb77566}.gi-page-head h1{font-size:clamp(32px,4vw,48px);font-family:Georgia,serif;margin:10px 0;color:#f2e1ba}.gi-page-head p{color:#b4bfd3;font-size:12px}
.gi-tier-page,.gi-account-page,.gi-wishes{position:relative;isolation:isolate}
html[data-game=genshin] #main:has(.gi-tier-page){max-width:1780px;width:100%;padding:18px clamp(12px,3vw,45px)}
.gi-tier-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,330px);gap:20px;align-items:start}.gi-tier-main{min-width:0}
.gi-tier-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;background:#0b1228ed;border:1px solid #b99a5c88;border-radius:8px}
.gi-tier-filters .field{margin:0;flex:1;min-width:110px}.gi-tier-filters .field:first-child{flex:1.4}.gi-tier-filters input,.gi-tier-filters select{width:100%;min-height:38px;background:#141b30;border-color:#9b865655;color:#ebe7f2}.gi-tier-filters .tier-toggle{min-height:38px;white-space:nowrap;font-size:12px}
.gi-tier-count{font-size:12px;color:#b7c3d7;padding:4px 0}
.gi-tier-matrix{border:1px solid #bda16c99;border-radius:8px;overflow:hidden;background:#0a1022ed}
.gi-tier-row{display:grid;grid-template-columns:68px repeat(var(--role-count),minmax(0,1fr));margin:0;border-bottom:1px solid #b89d6755;animation:nightReveal .5s ease both}.gi-tier-row:last-child{border:0}
.gi-tier-row>h2{margin:0;display:grid;place-items:center;font-size:25px;color:#ffe4b2;background:linear-gradient(135deg,hsl(var(--tier-hue) 34% 28% / .9),#181d32);border-right:1px solid #c3a56d55}
.gi-tier-head>b{padding:14px 8px;text-align:center;font-size:12px;border-right:1px solid #b59d6c55;color:#e7d1a1;background:#1a1d31}
.gi-tier-cell{display:flex;align-content:start;align-items:start;gap:9px;flex-wrap:wrap;padding:12px 9px;min-width:0;border-right:1px solid #b69a5c33;min-height:108px}
.gi-tier-unit{display:flex;align-items:center;gap:7px;width:calc(50% - 5px);min-width:104px;max-width:220px;padding:5px;border:1px solid transparent;background:#19203588;border-radius:5px;text-align:left;color:#f1edf4;min-height:72px;transition:border-color .2s,background .2s}
.gi-tier-unit:hover,.gi-tier-unit[aria-pressed=true]{border-color:#eed299;background:#a0864e22;box-shadow:0 0 10px #c2a97522}.gi-tier-unit img,.gi-tier-unit .world-art-missing{width:49px;height:58px;object-fit:contain;background:linear-gradient(#514833,#1d2539);border:1px solid #c8b07866;border-radius:5px;flex-shrink:0}
.gi-tier-unit>span{display:grid;gap:4px;min-width:0}.gi-tier-unit b{font-size:10px;line-height:1.25;overflow-wrap:anywhere}.gi-tier-unit small{font-size:9px;color:#c6d0e2}.gi-tier-unit em{font-size:9px;font-style:normal;color:#e9cc8b;overflow-wrap:anywhere}
.gi-tier-detail{position:sticky;top:90px;border:1px solid #cfb77d99;border-radius:8px;padding:20px;max-height:calc(100dvh - 105px);overflow:auto;animation:nightReveal .5s ease both}.gi-tier-detail h2{font-size:27px;margin:12px 0}.gi-tier-detail h3{font-size:14px;color:#e5cc91;border-top:1px solid #bd9f5e55;padding-top:15px;margin-top:20px}.gi-tier-detail p{font-size:12px;line-height:1.8}.gi-tier-detail .actions{margin-top:18px}.gi-tier-detail .button{font-size:11px;padding:8px}
.tier-detail-portrait{height:155px;background:radial-gradient(ellipse at bottom,#71634255,transparent);text-align:center}.tier-detail-portrait img{width:100%;height:100%;object-fit:contain}.gi-tier-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px}.gi-tier-meta>b{font-size:26px;color:#f4d393}.gi-mini-team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.gi-mini-team a{display:grid;text-align:center;min-width:0}.gi-mini-team img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:5px;background:#323249}.gi-mini-team small{font-size:9px;overflow-wrap:anywhere;margin-top:5px}
.gi-wish-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.gi-wish-card{border:1px solid #c6a96a88;border-radius:8px;padding:22px;background:linear-gradient(140deg,#172039f5,#0b1023f5);animation:nightReveal .6s ease both}.gi-wish-card header{display:flex;gap:10px;justify-content:space-between}.gi-wish-card h2{font-family:Georgia,serif;font-size:26px}.gi-wish-card p{font-size:12px;color:#bac5db}.gi-wish-state{font-size:11px;color:#e3c78e}.gi-wish-units{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.gi-wish-units a{display:grid;text-align:center;gap:6px;width:90px;font-size:10px}.gi-wish-units img{width:90px;height:90px;object-fit:contain;border:1px solid #a68d5a55;background:#3b3d5266;border-radius:6px}.gi-account-page progress{width:100%;accent-color:#d5b877}
@media(min-width:1500px){.gi-tier-unit{min-width:140px}}
@media(max-width:1200px){.gi-tier-layout{grid-template-columns:minmax(0,1fr) 280px}.gi-tier-unit{width:100%;max-width:none}.gi-tier-cell{gap:7px}html[data-game=genshin] .room-stage{grid-template-columns:minmax(230px,.8fr) minmax(330px,1fr)}html[data-game=genshin] .room-section-tabs{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;padding:0;gap:3px}.gi-hub-menu{width:55%}.gi-hub-art{left:45%}}
@media(max-width:850px){.gi-tier-layout{grid-template-columns:minmax(0,1fr)}.gi-tier-detail{position:static;max-height:none}.gi-tier-unit{width:100%;min-width:0;gap:4px}.gi-tier-unit img{width:38px;height:46px}.gi-tier-cell{padding:7px 4px}.gi-tier-row{grid-template-columns:48px repeat(var(--role-count),minmax(0,1fr))}.gi-tier-head>b{font-size:10px;padding:12px 4px}.gi-hub-menu{width:65%}.gi-hub-art{inset:10% -15% 0 45%;opacity:.65}.gi-hub-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.gi-hub-tiles a{min-height:90px}.gi-account{flex-wrap:wrap}.gi-hub-caption{display:none}.gi-hub{min-height:850px}html[data-game=genshin] .room-stage{grid-template-columns:minmax(0,1fr)}html[data-game=genshin] .room-figure{min-height:470px}html[data-game=genshin] .room-figure>img{height:480px}.gi-wish-list{grid-template-columns:minmax(0,1fr)}.celestial-dial{width:280px;left:10%;top:18%}}
@media(max-width:520px){.gi-hub{min-height:940px;align-items:start}.gi-hub-menu{width:100%;padding:22px 16px;background:linear-gradient(#080d20cc,#080d20a8,transparent)}.gi-hub-art{inset:340px 0 0;opacity:.5;align-items:end}.gi-hub-art img{height:570px;max-width:95vw}.gi-hub-roster{margin-top:12px}.gi-hub-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.gi-hub-tiles b{font-size:10px}.gi-hub-tiles a{min-height:84px}.gi-hub-tiles span{font-size:26px}.gi-tier-row{grid-template-columns:42px minmax(0,1fr)}.gi-tier-head{display:none}.gi-tier-row>h2{grid-row:1/span 3;font-size:20px}.gi-tier-cell{grid-column:2;min-height:0;border-bottom:1px solid #7b704d33;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gi-tier-cell:before{content:attr(data-role-label);grid-column:1/-1;color:#c4b388;font-size:10px}.gi-tier-unit{width:auto;min-height:65px}.gi-tier-unit img{width:40px;height:50px}.gi-page-head{flex-wrap:wrap}.gi-tier-detail{padding:16px}.gi-mini-gear{gap:4px}.gi-mini-gear img{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.celestial-motion *,.gi-hub-art img,.gi-tier-row,.gi-wish-card,html[data-game=genshin] .room-detail,html[data-game=genshin] .room-figure{animation:none!important}.gi-hub-tiles a{transition:none}}
html[data-game=genshin] .room-heading{padding:4px 0;min-height:48px}.room-heading>div:first-child>a{font-size:11px}html[data-game=genshin] .room-heading h1{font-size:18px;margin:3px 0}
html[data-game=genshin] .room-notice{margin:0;padding:7px 12px}html[data-game=genshin] .room-toolbar{margin:8px 0}html[data-game=genshin] .room-selector{padding:0}.room-selector .room-avatar{flex-basis:68px;width:68px}.room-selector .room-avatar img{width:68px;height:68px}.room-portraits{gap:14px;padding:9px 5px 12px}
html[data-game=genshin] .room-stage{padding:8px 0 18px;min-height:0}html[data-game=genshin] .room-figure{min-height:0}html[data-game=genshin] .room-figure>img{height:clamp(420px,calc(100dvh - 365px),780px)}html[data-game=genshin] .room-detail{max-height:calc(100dvh - 310px);overflow:auto}.room-section-tabs{padding-top:8px;gap:6px}.room-section-tabs a{padding:12px}
.celestial-dial{left:30%;top:10%;width:min(300px,27vw);opacity:.3}.gi-tier-unit b{font-size:11px}.gi-tier-unit small,.gi-tier-unit em{font-size:10px}
@media(max-width:850px){html[data-game=genshin] .room-detail{max-height:none;overflow:visible}html[data-game=genshin] .room-figure>img{height:480px}.celestial-dial{left:40%;width:240px}html[data-game=genshin] .room-heading{gap:8px}.room-heading .actions{flex-wrap:wrap}}
.gi-hub-menu{position:relative;width:min(620px,45%);margin:28px 34px;border:1px solid #bca06b77;border-radius:10px;background:linear-gradient(145deg,#151a30e8,#080e21df);padding:clamp(22px,2.2vw,38px);box-shadow:0 20px 70px #0004}
.gi-hub-menu:before{content:'';position:absolute;inset:6px;border:1px solid #d8bb7433;border-radius:5px;pointer-events:none;background:linear-gradient(#f1d38c,#f1d38c) left top/24px 1px no-repeat,linear-gradient(#f1d38c,#f1d38c) left top/1px 24px no-repeat,linear-gradient(#f1d38c,#f1d38c) right bottom/24px 1px no-repeat,linear-gradient(#f1d38c,#f1d38c) right bottom/1px 24px no-repeat}
.gi-hub-tiles img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 0 5px #d2b47233)}.gi-hub-tiles b{font-size:12px}.gi-hub-tiles a{border-color:#c8ac7377}.gi-wish-four{line-height:1.8}
@media(max-width:850px){.gi-hub-menu{width:65%;margin:18px;padding:22px}.gi-hub-tiles b{font-size:10px}}
@media(max-width:520px){.gi-hub-menu{width:calc(100% - 24px);margin:12px;padding:20px 12px;background:linear-gradient(#10172be8,#0b1226c9)}.gi-hub-tiles img{width:35px;height:35px}.gi-hub-menu h1{font-size:31px}.gi-hub-art{opacity:.4}}
.gi-tier-simple .gi-tier-cell{display:flex;align-content:start;gap:12px;padding:14px;flex-wrap:wrap}.gi-tier-simple .gi-tier-unit{position:relative;display:block;width:112px;min-width:0;max-width:none;padding:0;border:1px solid #ae965b66;background:#151d30;overflow:visible}
.gi-tier-link{display:grid;justify-items:center;text-align:center;gap:5px;padding:0 0 9px;color:#f2edf3;text-decoration:none}.gi-tier-simple .gi-tier-unit img{width:110px;height:115px;object-fit:cover;object-position:center 15%;border:0;border-bottom:1px solid #b2985a55;border-radius:4px 4px 0 0}.gi-tier-simple .gi-tier-unit b{font-size:12px;padding:0 5px;line-height:1.35}.gi-tier-simple .gi-tier-unit small,.gi-tier-simple .gi-tier-unit em{font-size:10px;padding:0 4px}.gi-tier-simple .gi-tier-unit:hover,.gi-tier-simple .gi-tier-unit:focus-within{border-color:#ffe1a2;box-shadow:0 0 15px #d1b67633;transform:translateY(-2px)}
.gi-tier-info{position:absolute;top:5px;right:5px;border-radius:50%;width:23px;min-width:0;min-height:23px;padding:0;background:#070f25d9;color:#f5db9f;font:bold 13px Georgia;border:1px solid #dfc58c99}
.gi-tier-tooltip{position:fixed;z-index:1000;padding:18px;background:#0c1427fa;border:1px solid #dac18a;border-radius:9px;box-shadow:0 15px 50px #0009;pointer-events:none;max-height:calc(100dvh - 24px);overflow:auto;color:#efeaf4;font-size:12px;line-height:1.7}.gi-tier-tooltip[hidden]{display:none}.gi-tier-tooltip header{display:flex;gap:14px;align-items:center}.gi-tier-tooltip header img{width:70px;height:80px;object-fit:cover;object-position:center 15%;border-radius:5px}.gi-tier-tooltip h2{margin:0;font-size:22px}.gi-tier-tooltip h3{font-size:13px;color:#e4c98c}.gi-tier-tooltip p{margin:9px 0}.gi-tier-tooltip .muted{font-size:10px}
html[data-game=genshin] .celestial-dial,html[data-game=genshin] .celestial-trails,html[data-game=genshin] .celestial-comet{display:none!important}.gi-hub-art img{animation:none}.celestial-star{width:2px;height:2px;box-shadow:0 0 4px #d7d7ff88;animation-duration:4.5s}
.gi-guide-ingame{align-self:start;position:sticky;top:100px;min-height:650px}.gi-guide-ingame>img{height:min(76vh,850px);width:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 18px #0005)}
.gi-latest-hero{isolation:isolate}.gi-latest-hero .gi-latest-art{position:absolute;z-index:-1;right:-6%;top:-12%;width:64%;height:125%;mask-image:linear-gradient(to right,transparent,black 22%)}.gi-latest-art img{width:100%;height:100%;object-fit:contain}.gi-latest-hero>h1,.gi-latest-hero>p,.gi-latest-hero>.actions,.gi-latest-hero>.eyebrow{position:relative;z-index:1;max-width:65%}.gi-latest-label{color:#e3c891;font-size:12px;letter-spacing:.14em}.gi-latest-hero h1{font-size:clamp(32px,4.5vw,59px)}
@media(max-width:850px){.gi-tier-simple .gi-tier-unit{width:96px}.gi-tier-simple .gi-tier-unit img{width:94px;height:100px}.gi-tier-simple .gi-tier-cell{padding:8px;gap:8px}.gi-guide-ingame{position:static;min-height:400px}.gi-guide-ingame>img{height:500px}}
@media(max-width:520px){.gi-tier-simple .gi-tier-cell{display:flex}.gi-tier-simple .gi-tier-cell:before{width:100%}.gi-tier-simple .gi-tier-unit{width:calc(50% - 5px)}.gi-tier-simple .gi-tier-unit img{width:100%;height:122px}.gi-latest-hero .gi-latest-art{width:100%;right:-20%;top:20%;opacity:.62}.gi-latest-hero>h1,.gi-latest-hero>p,.gi-latest-hero>.actions,.gi-latest-hero>.eyebrow{max-width:100%}.gi-latest-hero{min-height:420px}.gi-latest-hero h1{max-width:80%}}
.gi-team-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.gi-recommended-team{min-width:0;padding:20px;border:1px solid #b8a06a77;border-radius:9px;background:#0d1427ed}.gi-recommended-team header{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}.gi-team-badge{font-size:11px;color:#f3d690;border:1px solid #b7985255;border-radius:4px;padding:5px 9px;background:#b2964520}.gi-recommended-team header>small{font-size:11px;color:#bdc7d6}.gi-recommended-team h3{font-size:21px;color:#f5dfb0;margin:16px 0}.gi-recommended-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.gi-recommended-members a{display:grid;align-content:start;gap:6px;text-align:center;min-width:0}.gi-recommended-members img{width:100%;height:100px;object-fit:cover;object-position:center 15%;border:1px solid #c6a36466;border-radius:5px;background:linear-gradient(#61563e,#252f43)}.gi-recommended-members b{font-size:11px;overflow-wrap:anywhere}.gi-recommended-members small{font-size:10px;color:#c0cbde;line-height:1.5}.gi-recommended-members em{font-size:9px;color:#d8bd82;font-style:normal}.gi-recommended-team h4{font-size:13px;color:#e1c990;margin:18px 0 6px}.gi-recommended-team p{font-size:12px;line-height:1.9;color:#d3daea;margin:0}.gi-recommended-team .gi-team-risk{color:#d8bba9}.gi-recommended-team footer{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:18px;padding-top:12px;border-top:1px solid #99805155}.gi-recommended-team footer .link{font-size:11px}.gi-recommended-team>small{display:block;color:#8d9bb6;font-size:10px;margin-top:10px}
@media(max-width:850px){.gi-team-library{grid-template-columns:minmax(0,1fr)}}@media(max-width:450px){.gi-recommended-team{padding:14px}.gi-recommended-members{gap:5px}.gi-recommended-members img{height:80px}.gi-recommended-members b{font-size:10px}.gi-recommended-team h3{font-size:18px}}

.gi-room-account-details{width:min(1300px,100%);margin:0 auto;padding:24px clamp(16px,3vw,40px);box-sizing:border-box}.gi-room-account-details .world-values{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}.gi-room-account-details .world-imported-prop{gap:16px}.gi-room-account-details .world-imported-prop span{min-width:0;overflow-wrap:anywhere}

/* Account evidence and actionable build checks, scoped to Genshin. */
.gi-account-roster{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:12px;max-height:620px;overflow:auto;padding:4px}
.gi-account-roster>a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #aa925a55;border-radius:10px;background:linear-gradient(135deg,#1c2942c9,#0b1427e6);color:inherit;text-decoration:none;transition:border-color .2s,transform .2s}
.gi-account-roster>a:hover,.gi-account-roster>a:focus-visible{border-color:#e5c878;transform:translateY(-2px)}
.gi-account-roster img{width:64px;height:72px;object-fit:cover;object-position:center 15%;border-radius:6px;background:#273248}.gi-account-roster a>div{display:grid;gap:5px;min-width:0;flex:1}.gi-account-roster b{overflow-wrap:anywhere}.gi-account-roster small{color:#e4cb8e}.gi-account-roster span{font-size:12px;color:#c5cfdf}
.gi-audit-summary{color:#efd492;font-size:18px;font-weight:700}.gi-audit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.gi-audit-check{display:grid;gap:8px;align-content:start;padding:16px;border:1px solid #a6b4d433;border-radius:9px;background:#17243ad9;color:inherit;text-decoration:none}.gi-audit-check>span{font-size:11px;color:#b9c8dc}.gi-audit-check b{font-size:16px}.gi-audit-check p{font-size:13px;line-height:1.7;margin:0;color:#c7d1e3}.gi-audit-check[data-status=action]{border-color:#ddad6966;background:linear-gradient(135deg,#3c3020a8,#17243a)}.gi-audit-check[data-status=action]>span{color:#f3cc91}.gi-audit-check[data-status=ok]>span{color:#9cddc1}.gi-audit-check:focus-visible,.gi-audit-check:hover{outline:1px solid #e5c878}
.gi-build-target{border-top:1px solid #bca06b55;padding-top:14px;margin-top:24px}.gi-build-target .world-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.gi-build-target input,.gi-build-target select{max-width:100%;min-width:0;width:100%;box-sizing:border-box}.gi-build-target .field{min-width:0}.gi-build-target button{margin-top:12px;white-space:normal}
.gi-room-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gi-room-shortcuts a{display:grid;gap:8px;text-align:center;padding:16px 10px;border-radius:8px;background:#20304f;border:1px solid #bca06b55;color:#e7d29b;text-decoration:none}.gi-room-shortcuts b{font-size:28px}.gi-room-shortcuts span{font-size:13px}.gi-team-account-note{color:#dfc888;padding:10px 12px;background:#d2ad5a0c;border-left:2px solid #d2ad5a}.gi-recommended-members em{overflow-wrap:anywhere}
html[data-game=genshin] .room-detail{animation:giDetailReveal .35s ease-out both}@keyframes giDetailReveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.gi-audit-list{grid-template-columns:minmax(0,1fr)}.gi-build-target .world-columns{grid-template-columns:minmax(0,1fr)}.gi-account-roster{max-height:560px}.gi-audit-check{padding:13px}}
@media(prefers-reduced-motion:reduce){html[data-game=genshin] .room-detail{animation:none}.gi-account-roster>a{transition:none}}

@media(max-width:1200px){html[data-game=genshin] .room-section-tabs{grid-row:1;grid-column:1/-1}}
@media(max-width:850px){html[data-game=genshin] .room-section-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:8px 0;scrollbar-width:thin}html[data-game=genshin] .room-section-tabs a{white-space:nowrap;flex:none;min-height:44px;box-sizing:border-box}html[data-game=genshin] .room-figure{grid-row:2}html[data-game=genshin] .room-detail{grid-row:3}.room-detail .gi-team-library{grid-template-columns:minmax(0,1fr)}}
.room-detail .gi-team-library{grid-template-columns:minmax(0,1fr)}
