
:root{--ink:#162434;--ink2:#263849;--muted:#687782;--line:#e2e5df;--canvas:#f5f6f1;--white:#fff;--lime:#ddfc85;--soft:#edf0ea;--accent:#90bca9;--accent-rgb:144,188,169;--blue:#dae8ff;--radius:21px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--canvas);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93b1fb;outline-offset:3px} .layout{min-height:100vh}.topline{min-height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px max(4vw,24px)}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:39px;height:39px;border:2px solid var(--ink);border-radius:50%;position:relative;font-size:24px;font-weight:800;line-height:1}.brand-symbol:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ink);right:-4px;top:-3px;border:2px solid #fff}.brand-text{font-size:19px;letter-spacing:-.9px;font-weight:900}.brand-text i{font-style:normal;color:#83aa92}.mainnav{display:flex;align-items:center;gap:5px;background:#f5f6f1;padding:5px;border:1px solid #ebeee8;border-radius:100px}.navlink{border:0;background:transparent;border-radius:100px;padding:10px 16px;font-size:12px;font-weight:780;color:#6f7b82;white-space:nowrap}.navlink:hover{color:var(--ink)}.navlink.active{background:var(--ink);color:#fff;box-shadow:0 3px 8px #16243412}.header-right{display:flex;gap:12px;align-items:center}.offline-indicator{color:#5f716c;border:1px solid #e8ece7;background:#fafbf9;border-radius:100px;padding:10px 12px;font-size:11px;font-weight:750;white-space:nowrap}.offline-indicator:before{content:"";display:inline-block;width:7px;height:7px;background:#5dac7e;border-radius:50%;margin-right:8px}.wrap{max-width:1440px;padding:35px 40px 48px;margin:0 auto}.top-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.micro{font-size:10px;letter-spacing:2.1px;font-weight:900;text-transform:uppercase;color:#778681}.micro.dark{color:#aabbbc}.intro h1{font-size:clamp(30px,4vw,53px);letter-spacing:-2.6px;line-height:1.06;margin:12px 0 11px;font-weight:870}.intro h1 em{font-style:normal;color:#749e8b}.intro p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{border:1px solid #dfe4dd;border-radius:100px;padding:12px 17px;background:#fff;font-size:12px;font-weight:800;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;white-space:nowrap;transition:background .2s,transform .2s}.btn:hover{background:#eef3eb;transform:translateY(-1px)}.btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}.btn.primary:hover{background:#304354}.btn.lime{background:var(--lime);border-color:var(--lime);color:#182433}.btn.lime:hover{background:#efffc1}.btn.ghost{background:transparent}.btn.small{padding:8px 13px;min-height:33px;font-size:11px}.btn.danger{border-color:#e8cccb;color:#ac5353}.btn svg{height:15px;width:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.game-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding:0 3px}.game-heading span:last-child{color:var(--muted);font-size:11px}.games{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:26px}.game{border-radius:17px;border:1.5px solid #e3e8e1;background:#fff;padding:14px 13px;display:flex;gap:12px;align-items:center;text-align:left;color:var(--ink);min-width:0;position:relative;transition:.18s}.game:hover{transform:translateY(-2px);border-color:#aabfb2}.game.active{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:0 8px 20px rgba(22,36,52,.09)}.game-logo{border-radius:11px;height:42px;width:42px;flex:0 0 42px;display:grid;place-items:center;font-size:11px;font-weight:950;letter-spacing:-.8px;background:var(--game-pale);color:var(--game-dark)}.game.active .game-logo{background:var(--game-color);color:#192738}.game-name{font-weight:800;font-size:12px;line-height:1.3;display:block}.game-count{display:block;font-size:10px;color:#8a9696;margin-top:4px}.game.active .game-count{color:#b5c2c7}.game-arrow{position:absolute;right:13px;top:12px;font-size:12px;opacity:0}.game.active .game-arrow{opacity:.8}.surface{border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0}.dashboard{display:grid;gap:17px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;min-height:319px;padding:32px 39px;color:#fff;background:#172838;border:1px solid #172838;position:relative;overflow:hidden;border-radius:25px}.hero:before{content:"";position:absolute;inset:-50% -4% auto auto;width:540px;height:540px;border-radius:50%;border:1px solid #ffffff0d;box-shadow:0 0 0 46px #ffffff04,0 0 0 93px #ffffff03;pointer-events:none}.hero:after{content:"✳";position:absolute;font-size:175px;right:-35px;bottom:-110px;color:#ffffff07;line-height:1;pointer-events:none}.hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.hero .eyeline{font-size:10px;letter-spacing:2px;color:#adbdc4;font-weight:850}.hero h2{font-size:clamp(25px,3vw,38px);line-height:1.14;letter-spacing:-1.3px;margin:15px 0 12px;max-width:460px}.hero h2 span{color:var(--lime)}.hero-note{font-size:12px;color:#b8c5c7;line-height:1.65;max-width:450px;margin:0}.hero-tags{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:22px 0 18px}.tag{font-size:10px;font-weight:850;border-radius:100px;padding:8px 12px;background:#ffffff13;border:1px solid #ffffff27;color:#f5f9f5}.tag.special{background:var(--lime);color:var(--ink);border-color:var(--lime)}.hero-foot{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.hero-foot .mini{font-size:11px;color:#b8c4c8}.hero-foot .mini b{color:#fff}.text-button{background:transparent;border:0;padding:5px 0;color:#d6fc8b;text-decoration:underline;text-underline-offset:4px;font-size:11px;font-weight:850}.dial-box{position:relative;z-index:1;display:flex;align-items:center;justify-content:center}.dial{width:min(255px,100%);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--lime) var(--value),#ffffff25 var(--value) 100%);box-shadow:0 0 0 1px #ffffff12;position:relative}.dial:before{content:"";position:absolute;inset:16px;border-radius:50%;background:#172838;box-shadow:inset 0 0 0 1px #ffffff20}.dial-inner{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center}.dial-inner strong{font-size:69px;letter-spacing:-5px;line-height:1;font-weight:800;color:var(--lime)}.dial-inner .outof{font-size:15px;font-weight:750;color:#c5d3d4;margin-top:7px}.dial-inner .caption{font-size:9px;letter-spacing:2px;font-weight:900;color:#91a7b1;margin-top:14px}.stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{padding:21px 23px;min-height:132px;display:flex;flex-direction:column;justify-content:space-between}.metric-top{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:11px;font-weight:780;color:#728078}.metric-icon{display:grid;place-items:center;background:#f0f4ed;color:#547a6a;border-radius:11px;height:31px;width:31px;font-size:17px}.metric strong{display:block;font-size:34px;font-weight:850;letter-spacing:-1.6px;line-height:1.1;margin-bottom:6px}.metric small{font-size:10px;color:#839088}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:6px 0 14px}.section-head h2{margin:5px 0 0;font-size:21px;letter-spacing:-.7px}.section-head p{font-size:11px;margin:0;color:var(--muted)}.channels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.channel{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:18px;text-align:left;min-width:0;padding:19px 18px 15px;display:flex;flex-direction:column;gap:12px}.channel:hover{border-color:#9cbea7}.channel.active{background:#ebf4e6;border-color:#8cab8c}.channel-top{display:flex;justify-content:space-between;align-items:start;gap:7px}.channel-name{font-weight:820;line-height:1.4;font-size:12px;min-height:34px}.channel-symbol{font-size:22px;line-height:1;color:#87a998}.channel-numbers{display:flex;align-items:baseline;gap:4px}.channel-numbers strong{font-size:27px;letter-spacing:-1.3px}.channel-numbers span{font-size:12px;color:#819087}.track{width:100%;height:6px;border-radius:9px;background:#e8ebe6;overflow:hidden}.track i{display:block;height:100%;border-radius:9px;background:#7aa78f}.channel.active .track{background:#d5e5d1}.channel-meta{font-size:10px;color:#778781;display:flex;justify-content:space-between;gap:5px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);gap:17px}.activity,.insights{padding:24px 24px}.section-subtitle{font-size:11px;color:var(--muted);margin:6px 0 0}.activity-list{display:grid;gap:0;margin-top:14px}.activity-entry{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ebefeb}.activity-entry:last-child{border-bottom:0}.result-token{width:39px;height:39px;border-radius:12px;flex:0 0 39px;display:grid;place-items:center;color:#99701f;background:#fff1cc;font-size:16px;font-weight:900}.result-token.mid{background:#f1eaff;color:#7a5ba6}.result-token.low{background:#eef0ed;color:#71817a}.entry-main{flex:1;min-width:0}.entry-main strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-main small{display:block;color:#88938e;margin-top:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-time{color:#98a39e;font-size:10px;white-space:nowrap}.no-data{padding:28px 15px;background:#f7f9f6;border:1px dashed #d8e1d6;border-radius:15px;text-align:center;margin-top:17px}.no-data .no-data-icon{display:block;font-size:27px;margin-bottom:8px;color:#91b59f}.no-data strong{display:block;font-size:12px}.no-data p{font-size:11px;line-height:1.6;color:#829085;margin:6px auto 14px;max-width:330px}.insights{background:#eaf0e7}.insight-panel-heading{font-size:17px;font-weight:850;letter-spacing:-.5px;margin:6px 0 17px}.insight-row{border-top:1px solid #d4dfd2;padding:17px 0;display:flex;gap:8px;justify-content:space-between;align-items:center}.insight-row span{font-size:11px;color:#617363}.insight-row strong{font-size:15px;letter-spacing:-.3px}.insight-note{padding:13px 14px;background:#dcebd7;border-radius:12px;font-size:10px;line-height:1.6;color:#4e6955;margin-top:10px}.section-panel{padding:27px}.log-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}.filters{display:flex;gap:9px;flex-wrap:wrap}.field{border:1px solid #dce4de;border-radius:12px;background:#fafdF9;color:var(--ink);padding:12px;font-size:12px;min-height:42px;outline:none;max-width:100%}.field:focus{border-color:#92b69b;box-shadow:0 0 0 3px #97c4a02a}.search-field{min-width:215px}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;min-width:720px}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8c9890;font-weight:800;background:#f6f8f4}th,td{padding:15px 13px;border-bottom:1px solid #eff1ec}tbody tr:hover{background:#f8faf6}td strong{font-weight:800}.star{display:inline-flex;border-radius:8px;padding:5px 8px;font-weight:900;background:#fff1cc;color:#9c7127}.star.mid{background:#f2eafb;color:#885eac}.star.low{background:#eef1ed;color:#7c8883}.iconbtn{width:31px;height:31px;border-radius:9px;background:#fff;border:1px solid #e2e5e0;color:#8e9a91;cursor:pointer}.iconbtn:hover{color:#b54e52;border-color:#e7b8b8}.table-note{font-size:10px;color:#94a097;margin:13px 0 0}.stat-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:19px}.stat-card{padding:25px}.stat-card b{display:block;font-size:37px;letter-spacing:-1.5px}.stat-card span{font-size:11px;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.chart{display:flex;align-items:end;justify-content:space-around;gap:12px;height:190px;border-bottom:1px solid #e6ebe3;margin-top:26px}.barcol{display:flex;flex:1;align-items:center;justify-content:flex-end;gap:9px;flex-direction:column;height:100%}.bar{width:52%;max-width:48px;min-height:4px;background:linear-gradient(180deg,#79a78c,#cbe0bf);border-radius:9px 9px 0 0}.barcol small{position:relative;bottom:-26px;font-size:10px;color:#8c988e;white-space:nowrap}.barcol b{font-size:11px}.chart-desc{font-size:11px;color:#768579;line-height:1.7;margin-top:48px}.pool-breakdown{display:grid;gap:13px;margin-top:20px}.break-row{font-size:11px}.break-row .line{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.break-row .line b{font-size:11px}.break-row .track{height:9px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.settings-card{padding:27px}.settings-card h2{font-size:19px;letter-spacing:-.6px;margin:0 0 7px}.settings-card>p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 19px}.setting-row{padding:17px 0;border-top:1px solid #e9ece8;display:flex;align-items:center;justify-content:space-between;gap:20px}.setting-row strong{display:block;font-size:12px}.setting-row p{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0 0;max-width:310px}.note{padding:15px;background:#f0f5ec;border-radius:13px;font-size:11px;line-height:1.7;color:#5a7662}.footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #e5e8e2;margin-top:45px;padding:20px 3px;font-size:10px;color:#819086}.footer b{font-weight:900;color:#627c6c}.modal-layer{position:fixed;inset:0;z-index:50;background:#11203199;display:flex;justify-content:center;align-items:center;padding:18px;backdrop-filter:blur(5px)}.dialog{background:#fff;color:var(--ink);border-radius:22px;width:min(550px,100%);max-height:92vh;overflow:auto;box-shadow:0 22px 90px #07152655}.dialog-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:23px 26px}.dialog-head h2{margin:0;letter-spacing:-.5px;font-size:19px}.close{background:#f2f4f0;border:0;border-radius:50%;width:32px;height:32px;color:#607168;font-size:22px}.dialog form{padding:23px 26px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-group{min-width:0}.form-group.full{grid-column:1/-1}.form-group label{display:block;font-size:11px;font-weight:790;color:#6b7b73;margin-bottom:7px}.form-group .field{width:100%;font-size:12px}.tip{font-size:11px;line-height:1.7;color:#607b64;padding:12px 14px;border-radius:11px;background:#eef5eb;margin:0 0 19px}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.toast-root{position:fixed;z-index:80;bottom:23px;left:50%;transform:translateX(-50%);pointer-events:none}.toast{border-radius:13px;background:#162b37;color:#fff;font-size:12px;padding:14px 19px;box-shadow:0 12px 34px #172b3855;max-width:min(85vw,580px);text-align:center}.hidden{display:none!important}
@media(min-width:1500px){.wrap{padding-left:56px;padding-right:56px}}
@media(max-width:1150px){.topline{padding:15px 24px}.wrap{padding:29px 24px}.games{gap:7px}.game{padding:12px 9px;gap:8px}.game-logo{height:35px;width:35px;flex-basis:35px}.game-name{font-size:11px}.hero{grid-template-columns:1fr 270px}.channels{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.topline{padding:15px 17px;gap:10px;align-items:start;flex-wrap:wrap}.mainnav{order:3;width:100%;justify-content:space-between}.navlink{flex:1;padding:10px 5px;font-size:11px}.brand-text{font-size:18px}.wrap{padding:25px 16px}.top-intro{align-items:start;flex-direction:column;margin-bottom:21px}.intro h1{font-size:36px;letter-spacing:-1.8px}.buttons{width:100%}.buttons .btn{flex:1}.games{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding:2px 0 8px;margin-bottom:20px;scrollbar-width:thin}.game{flex:0 0 168px;scroll-snap-align:start}.hero{padding:27px 24px;grid-template-columns:minmax(0,1fr) 190px;gap:10px;min-height:265px}.hero h2{font-size:28px}.dial{width:188px}.dial:before{inset:13px}.dial-inner strong{font-size:55px}.stat-strip{grid-template-columns:repeat(2,1fr)}.bottom-grid,.stats-grid,.settings-grid{grid-template-columns:1fr}.stat-cards{grid-template-columns:repeat(2,1fr)}.footer{line-height:1.6}}
@media(max-width:530px){.topline{min-height:75px}.brand{gap:9px}.brand-symbol{width:34px;height:34px}.intro h1{font-size:34px}.game-heading span:last-child{display:none}.hero{display:flex;flex-direction:column-reverse;padding:24px 22px 27px;gap:18px}.hero:before{right:-150px;top:-200px}.dial{width:189px}.dial-box{align-self:flex-start}.hero h2{font-size:27px;margin-top:11px}.hero-tags{margin:17px 0}.hero-copy{display:block}.hero-foot{gap:8px 18px}.stat-strip{gap:9px}.metric{padding:18px 16px;min-height:117px}.metric strong{font-size:30px}.metric-top{font-size:10px}.channels{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.channel{padding:16px 12px 13px}.channel-name{font-size:11px}.channel-meta{flex-direction:column}.activity,.insights,.section-panel,.settings-card{padding:20px}.section-head{align-items:start}.section-head h2{font-size:20px}.section-head p{display:none}.filters{width:100%}.search-field{width:100%}.filters select{flex:1;min-width:100px}.setting-row{align-items:start;flex-direction:column;gap:11px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.dialog-head{padding:19px}.dialog form{padding:19px}.entry-time{display:none}.footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* PULLSPACE / DARK PERSONALIZED DESIGN SYSTEM */
:root{--ink:#f1f2f6;--ink2:#d3d7e0;--muted:#9da5b6;--line:#303642;--canvas:#101218;--white:#1c2029;--lime:var(--accent);--soft:#222632;--accent:#af9dce;--game-glow:#af9dce;color-scheme:dark}
body{background:radial-gradient(ellipse 920px 460px at 95% -15%,color-mix(in srgb,var(--game-glow),transparent 89%),transparent 85%),#101218;color:#eef0f6}
.topline{background:#151820;border-bottom:1px solid #2a303a;min-height:77px}
.brand-symbol{border-color:var(--accent);color:var(--accent)}.brand-symbol:after{background:var(--accent);border-color:#151820}.brand-text i,.brand-text span{color:var(--accent)!important}
.mainnav{background:#101319;border-color:#2c313b;border-radius:12px}.navlink{color:#979eb0;border-radius:9px}.navlink.active{background:#2a2e3a;color:#fff;box-shadow:none}
.offline-indicator{background:#20262e;border-color:#39403f;color:#a9c7b9}
.intro h1{font-size:clamp(30px,4vw,47px);font-weight:760}.intro h1 em{color:var(--accent)}.intro p{color:#aab0be}.micro{color:#8c95a5;letter-spacing:1.65px}
.btn{background:#262c36;color:#ecf0f5;border-color:#3b4350;border-radius:10px}.btn:hover{background:#353c48}.btn.primary{background:var(--accent);border-color:var(--accent);color:#181920}.btn.primary:hover{background:color-mix(in srgb,var(--accent),white 15%)}.btn.lime{background:var(--accent);color:#14151b;border-color:var(--accent)}
.game-heading{margin-bottom:12px}.game{background:#1a1e27;border:1px solid #303540;border-radius:14px;color:#e5eaf0;min-height:73px}.game:hover{border-color:var(--accent)}.game.active{background:color-mix(in srgb,var(--accent),#171923 89%);border:1px solid var(--accent);box-shadow:0 0 24px color-mix(in srgb,var(--accent),transparent 91%)}.game-logo{background:#292c37;color:var(--game-color)}.game.active .game-logo{background:var(--game-color);color:#171923}.game-count,.game.active .game-count{color:#949dad}
.surface{background:#1b1f28;border-color:#343947;border-radius:16px}.hero{border-radius:18px;background:radial-gradient(ellipse 450px 350px at 82% 32%,color-mix(in srgb,var(--accent),transparent 84%),transparent 84%),linear-gradient(120deg,#222733,#191d28);border-color:#3a4050;min-height:276px;padding:29px 32px;grid-template-columns:minmax(0,1fr) 270px}.hero:after{opacity:.55}.hero:before{border-color:color-mix(in srgb,var(--accent),transparent 85%)}.hero h2{font-weight:790;line-height:1.13}.hero h2 span{color:var(--accent)}.hero .eyeline{color:#adb7c8}.hero-note{color:#a5aebf}.hero-foot .mini{color:#afbac5}.tag{background:#ffffff0a;border-color:#ffffff1c}.tag.special{background:color-mix(in srgb,var(--accent),transparent 81%);border-color:color-mix(in srgb,var(--accent),transparent 61%);color:#e9e1ff}.text-button{color:var(--accent)}
.dial{max-width:206px;background:conic-gradient(var(--accent) var(--value),#45495c var(--value) 100%)}.dial:before{inset:12px;background:#232735;box-shadow:inset 0 0 0 1px #55566a}.dial-inner strong{font-size:56px;color:var(--accent)}.dial-inner .outof{color:#d3d5e6}.dial-inner .caption{color:#a6acc1}
.metric{min-height:113px}.metric-top{color:#a4adbd}.metric-icon{background:#2d3341;color:var(--accent)}.metric small{color:#8994a8}.metric strong{font-size:30px}
.channel{background:#1e232d;border-color:#353b48;color:#e7ebf1;border-radius:14px}.channel.active{background:color-mix(in srgb,var(--accent),#1e232d 12%);border-color:var(--accent)}.channel:hover{border-color:var(--accent)}.channel-symbol{color:var(--accent)}.channel-numbers span,.channel-meta{color:#a0a8b7}.track,.channel.active .track{background:#393f4d}.track i{background:var(--accent)}
.insights{background:#202631}.insight-row{border-color:#39424e}.insight-row span{color:#a7b0bf}.insight-note{background:#303b46;color:#b2bec5}.entry-time,.section-subtitle,.section-head p{color:#8f9aa9}.activity-entry{border-color:#323847}.no-data{background:#202530;border-color:#3b4650}.no-data p,.no-data .no-data-icon{color:#a3acbc}
.field{background:#161b23;border-color:#414858;color:#e7eaf1}.field:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent),transparent 83%)}.note{background:#2c3340;color:#b3bfd0}.footer{border-color:#2c303b;color:#8c95a2}.footer b{color:#c0cada}.chart{border-color:#313745}.bar{background:var(--accent)}.chart-desc{color:#9aa5b5}.star.low{background:#333945;color:#b3b9c6}
/* Preferred server module */
.serverbar{background:#1c202a;border:1px solid #353b48;border-radius:16px;padding:17px 21px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 19px}
.serverbar-heading{display:flex;gap:13px;align-items:center}.serverbar-symbol{font-size:24px;color:var(--accent);display:grid;place-items:center;background:#303543;width:46px;height:46px;border:1px solid #484b5c;border-radius:12px}
.serverbar-heading .micro{font-size:9px}.serverbar-heading strong{display:block;font-size:15px;font-weight:760;margin:3px 0}.serverbar-heading small{color:#9faabc;font-size:11px}
.serverbar-actions{display:flex;align-items:center;gap:16px}.server-picker{min-width:190px;max-width:260px;min-height:42px}.serverbar-hint{font-size:10px;line-height:1.6;color:#939fb3;max-width:192px}
/* Live banner monitoring area / manual schedules until API is installed */
.banner-schedule{display:grid;grid-template-columns:minmax(205px,.39fr) minmax(0,1fr);min-height:229px;overflow:hidden}
.banner-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:23px;overflow:hidden;background:radial-gradient(ellipse at 22% 70%,color-mix(in srgb,var(--accent),transparent 50%),transparent 65%),linear-gradient(139deg,#293447,#24283a 52%,#10141f);border-right:1px solid #414451}
.banner-kicker{color:#c1c8d7;font-size:10px;font-weight:800;letter-spacing:1.7px;position:relative;z-index:1}.banner-orbit{font-size:125px;color:color-mix(in srgb,var(--accent),transparent 22%);position:absolute;inset:22px auto auto 25%;line-height:1;transform:rotate(-14deg)}.banner-crest{position:relative;z-index:1;align-self:flex-end;font-size:52px;color:#ffffff9c;opacity:.56}
.banner-info{padding:22px 25px;display:flex;flex-direction:column;justify-content:space-between;gap:15px}.banner-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.banner-title-row h2{margin:5px 0 0;font-size:22px;letter-spacing:-.6px}.banner-live-indicator{border:1px solid #655b44;background:#413622;color:#debd87;padding:6px 9px;font-size:9px;font-weight:800;letter-spacing:.8px;border-radius:7px;white-space:nowrap}
.banner-empty{padding:4px 0}.banner-empty strong{font-size:16px}.banner-empty p{font-size:12px;color:#a4afbe;line-height:1.6;margin:8px 0 0;max-width:600px}.banner-status{display:flex;justify-content:space-between;gap:15px;align-items:center}.banner-status small{color:#99a8bd;font-size:10px;letter-spacing:1px}.banner-status h3{font-size:20px;margin:7px 0}.banner-status p{font-size:11px;color:#a8b4c0}.banner-clock{min-width:145px;padding:13px 15px;border:1px solid #525064;border-radius:11px;background:#292a38}.banner-clock strong{display:block;font-size:18px;color:var(--accent);white-space:nowrap}.banner-clock small{font-size:9px;color:#a3adbb}
.server-compare{border-top:1px solid #343c49;padding:12px 0}.server-compare summary{font-size:11px;font-weight:800;color:var(--accent);cursor:pointer;width:max-content}.server-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.server-compare-row{background:#242a35;border:1px solid #343b49;border-radius:9px;padding:8px 10px;display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#aeb9ca}.server-compare-row strong{font-weight:760;color:#d9e1ed}.server-compare-row.on{border-color:var(--accent)}@media(max-width:530px){.server-compare-grid{grid-template-columns:1fr}}
.banner-bottom{border-top:1px solid #343c49;padding-top:11px;display:flex;justify-content:space-between;align-items:center;gap:15px}.banner-bottom>span{font-size:10px;color:#8d98aa;line-height:1.5;max-width:540px}
@media(max-width:780px){.serverbar{align-items:stretch;flex-direction:column;gap:15px}.serverbar-actions{justify-content:space-between}.serverbar-hint{max-width:260px}.banner-schedule{grid-template-columns:1fr}.banner-art{min-height:106px;max-height:120px;border-right:0;border-bottom:1px solid #454b56}.banner-orbit{top:-37px;left:40%;font-size:150px}.banner-crest{font-size:38px}.banner-info{padding:20px}}
@media(max-width:530px){.serverbar-actions{flex-wrap:wrap}.server-picker{width:100%;max-width:none}.banner-title-row{flex-wrap:wrap}.banner-status{align-items:start;flex-direction:column}.banner-clock{min-width:0}.banner-bottom{align-items:stretch;flex-direction:column}.banner-bottom .btn{align-self:flex-start}}

/* Automatic banner feed, retaining the existing Pullspace layout */
.banner-schedule.auto-mode{grid-template-columns:minmax(235px,.36fr) minmax(0,1fr);min-height:330px}
.banner-schedule.auto-mode .banner-art{background-image:linear-gradient(180deg,rgba(15,24,33,.15),rgba(14,25,34,.91)),var(--banner-cover);background-position:center;background-size:cover;background-color:#172738}
.banner-schedule.auto-mode .banner-art .banner-orbit{opacity:.3}
.banner-schedule.auto-mode .banner-art .banner-crest{opacity:.25}
.banner-art-note{position:relative;z-index:2;align-self:flex-start;display:grid;gap:5px;max-width:210px;margin-top:auto}
.banner-art-note strong{font-size:19px;color:white;letter-spacing:-.4px;line-height:1.25}
.banner-art-note span{font-size:10px;color:#b9c9d0;line-height:1.5}
.banner-schedule.auto-mode .banner-info{display:flex;flex-direction:column;gap:10px;min-width:0}
.banner-auto-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.banner-auto-title h2{margin:3px 0 0;font-size:21px;letter-spacing:-.6px}
.banner-auto-meta{font-size:11px;color:#82928a}
.banner-auto-badge{border-radius:50px;padding:7px 10px;background:#eaf4ef;color:#497e67;font-size:9px;font-weight:850;letter-spacing:.6px;white-space:nowrap}
.banner-auto-badge.is-fallback{background:#fff6e6;color:#9b763c}
.banner-auto-badge.is-loading{background:#eaf2ff;color:#5075a9}
.banner-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:10px}
.auto-banner-card{border:1px solid #e4e8e3;border-radius:15px;background:#fafbf9;min-width:0;padding:11px;display:flex;flex-direction:column;gap:9px}
.auto-banner-card.upcoming{background:#f7f9fd}
.auto-banner-top{display:flex;align-items:center;gap:11px;min-width:0}
.character-portrait{width:53px;height:58px;flex:0 0 53px;overflow:hidden;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--accent),#202d3f);color:#fff;font-size:21px;font-weight:900}
.character-portrait img{width:100%;height:100%;object-fit:cover;display:block}
.auto-banner-info{min-width:0;flex:1}
.auto-banner-info strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:840;color:#172939;line-height:1.3}
.auto-banner-info span{display:block;margin-top:5px;font-size:10px;color:#88938d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.auto-status{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e5e9e4;padding-top:8px;font-size:10px;color:#657570}
.auto-status strong{font-size:12px;color:#1e3440;font-variant-numeric:tabular-nums;white-space:nowrap}
.auto-banner-detail{font-size:10px;color:#76817d;line-height:1.5}
.banner-schedule.auto-mode .server-compare{margin-top:4px}
.banner-bottom-auto{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid #e9ede7;padding-top:11px}
.banner-bottom-auto p{margin:0;color:#8a958c;font-size:10px;line-height:1.45;max-width:470px}
.banner-bottom-auto .btn{min-height:30px}
.banner-minibar{display:flex;align-items:center;justify-content:space-between;gap:7px;border-radius:11px;background:#f1f5f2;padding:9px 10px;color:#66756e;font-size:10px}
.banner-minibar b{color:#31473e}
.banner-source-link{color:#527e75;text-decoration:underline;text-underline-offset:3px}
.auto-banner-empty{background:#f7f9f8;border:1px dashed #dae2db;padding:15px;border-radius:13px;color:#69766e;font-size:12px}
@media(max-width:900px){.banner-schedule.auto-mode{grid-template-columns:1fr}.banner-schedule.auto-mode .banner-art{min-height:145px}.banner-art-note{margin-top:auto}}
@media(max-width:520px){.banner-schedule.auto-mode .banner-art{min-height:150px}.banner-items{grid-template-columns:1fr}.banner-auto-title h2{font-size:19px}.auto-banner-card{padding:11px}}


/* Portrait stacks, local-first history transfer */
.character-portrait-group{display:flex;align-items:center;flex-shrink:0;padding-right:4px;min-height:62px}
.character-portrait-group .character-portrait{width:57px;height:63px;flex:0 0 57px;background:linear-gradient(140deg,#363d52,#1a2532);border:1px solid #596072;box-shadow:0 3px 8px #0d101a55;position:relative}
.character-portrait-group .character-portrait+.character-portrait{margin-left:-15px}
.character-portrait-group .character-portrait img{object-fit:contain;background:linear-gradient(145deg,#2b3146,#48586e)}
.character-portrait-group .character-portrait.no-image{background:linear-gradient(140deg,#343c4d,#222c3b);font-size:14px;color:#c8d0e0}
.auto-banner-card{background:#222732;border:1px solid #3c4351;gap:11px;min-height:150px}
.auto-banner-card.upcoming{background:#242937}
.auto-banner-info strong{color:#f3f4f6;font-size:13px}
.auto-banner-info span,.auto-banner-detail{color:#a6aec0}
.auto-status{border-color:#404657;color:#b5c5d4}
.auto-status strong{color:#f4f5f9}
.banner-auto-badge,.banner-auto-badge.is-fallback,.banner-auto-badge.is-loading{color:#eaf4fd;background:#373e4d}
.banner-bottom-auto{border-color:#3c4653}.banner-bottom-auto p{color:#a3b1c0}
.transfer-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(265px,.8fr);gap:15px;align-items:start}
.transfer-card{padding:24px;min-width:0}
.transfer-card h2{margin:8px 0 10px;font-size:24px;letter-spacing:-.6px}
.transfer-card p{font-size:12px;line-height:1.7;color:#a3aebf;margin:7px 0 13px}
.transfer-card .field{width:100%;font-size:12px}
.transfer-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 21px}
.transfer-tab{border-radius:9px;border:1px solid #343d4c;background:#262c37;padding:10px 14px;color:#abb4c4;font-weight:750;font-size:12px}
.transfer-tab.on{color:#121923;background:var(--accent);border-color:var(--accent)}
.transfer-step{background:#252b37;border:1px solid #394252;border-radius:12px;padding:15px;margin:12px 0;color:#dfe6ee}
.transfer-step h3{font-size:13px;margin:0 0 6px}
.transfer-step p{margin:3px 0 10px}
.transfer-step code{display:block;overflow-wrap:anywhere;color:#c6d9f3;background:#161a25;border:1px solid #384254;padding:13px;font-size:11px;border-radius:10px}
.transfer-input{display:grid;gap:8px;margin:18px 0 12px}
.transfer-input label{font-size:12px;font-weight:800}
.transfer-input input{width:100%;min-height:45px}
.transfer-actions{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}
.transfer-hint{color:#9ea8ba;font-size:11px;line-height:1.8}
.transfer-hint strong{color:#d3deea}
.transfer-note{padding:13px;border:1px solid #50624d;background:#25382f;color:#c3dccb;border-radius:10px;font-size:11px;line-height:1.8}
.transfer-status{font-size:12px;line-height:1.5;min-height:28px;color:#9cbed1}
.transfer-metric{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #39424e;padding:12px 0;font-size:12px;color:#aebacd}
.transfer-metric strong{color:#f1f5f9;font-size:15px}
.transfer-card a{color:#b4cae2;text-decoration:underline;text-underline-offset:3px}
.transfer-flag{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#353c48;padding:5px 10px;color:#c4d2e3;font-size:10px}
.transfer-card details{margin-top:16px}.transfer-card details summary{cursor:pointer;color:var(--accent);font-size:12px}
@media(max-width:950px){.transfer-layout{grid-template-columns:1fr}}
@media(max-width:530px){.transfer-card{padding:17px}.transfer-tab{flex:1}.character-portrait-group .character-portrait{width:48px;height:54px;flex-basis:48px}}


/* v4: readable banner cards and resilient artwork */
.banner-schedule.auto-mode{grid-template-columns:minmax(265px,.32fr) minmax(0,1fr)}
.banner-schedule.auto-mode .banner-art{position:relative;isolation:isolate;min-height:390px;background:#18283a!important;padding:24px;background-image:radial-gradient(ellipse at 55% 42%,#3b335b,#152334 72%)!important;}
.banner-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;opacity:.92}
.banner-art-glow{position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(180deg,rgba(13,20,33,.20),rgba(13,20,33,.02) 40%,rgba(13,20,33,.87) 100%)}
.banner-hero-portraits{position:relative;z-index:1;display:flex;gap:0;margin:auto auto 15px 0;max-width:100%;align-items:flex-end}
.banner-hero-portraits .character-portrait{width:78px;height:87px;flex:0 0 78px;border:2px solid #c6cedc77;border-radius:18px;box-shadow:0 12px 25px #10182099;background:#1a263a}
.banner-hero-portraits .character-portrait+.character-portrait{margin-left:-19px}
.banner-hero-portraits .character-portrait img{object-fit:cover}
.banner-art-note{z-index:2;max-width:100%}
.banner-art-note strong{font-size:23px}
.banner-items{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:stretch}
.auto-banner-card{padding:15px;min-width:0;min-height:205px;gap:12px}
.auto-banner-top{display:flex;flex-direction:column;gap:10px;align-items:stretch;min-width:0}
.character-portrait-group{align-self:flex-start;min-width:0;max-width:100%}
.auto-banner-info{width:100%;min-width:0;flex:none}
.auto-banner-info strong{font-size:14px;line-height:1.42;letter-spacing:-.1px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;word-break:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.auto-banner-info span{font-size:10px;margin-top:5px}
.auto-banner-detail{overflow-wrap:break-word}
.banner-bottom-auto{align-items:center}
.banner-bottom-auto .banner-source-link{font-size:11px}
.command-details{margin-top:14px;border:1px solid #3a4350;border-radius:12px;overflow:hidden}
.command-details summary{cursor:pointer;padding:12px 14px;font-size:12px;font-weight:800;color:#d9e5ed;user-select:none}
.ps-code{margin:0;padding:15px;background:#121b28;color:#dbe6f0;font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:290px;overflow:auto;border-top:1px solid #384555}
@media(max-width:1100px){.banner-schedule.auto-mode{grid-template-columns:1fr}.banner-schedule.auto-mode .banner-art{min-height:225px;max-height:300px}.banner-hero-portraits{position:absolute;right:18px;bottom:15px;margin:0}.banner-hero-portraits .character-portrait{width:58px;height:65px;flex-basis:58px}}
@media(max-width:550px){.banner-schedule.auto-mode .banner-art{min-height:230px;max-height:245px}.banner-hero-portraits .character-portrait{width:49px;height:56px;flex-basis:49px}.banner-items{grid-template-columns:1fr}.auto-banner-card{min-height:0}.character-portrait-group .character-portrait{width:58px;height:64px;flex-basis:58px}.auto-banner-info strong{-webkit-line-clamp:4}.banner-art-note{max-width:70%}}

.transfer-link-input{width:100%;resize:vertical;min-height:95px;max-height:190px;word-break:break-all;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;padding:13px 14px;background:#171c25;color:#dde6e9}
/* Pullspace feature pages */
.mainnav{max-width:min(900px,67vw);overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d5ddd6 transparent}.navlink{flex:0 0 auto;padding:10px 13px}
.accountbar{border:1px solid #dfe6df;background:#ffffff;border-radius:18px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-10px 0 23px}.accountbar-copy,.accountbar-actions{display:flex;align-items:center;gap:12px;min-width:0}.accountbar-copy>div{display:grid;gap:3px}.accountbar-copy strong{font-size:13px;font-weight:900}.accountbar-copy small{font-size:11px;color:#7d8b88}.accountbar-actions .field{max-width:250px;min-width:135px}.avatar-bubble,.profile-card-avatar{display:grid;place-items:center;background:#1c2a37;color:#d9f48c;border-radius:13px;font-size:26px;height:48px;width:48px;overflow:hidden;flex:none}.avatar-bubble img,.profile-card-avatar img{height:100%;width:100%;object-fit:cover}
.feature-stack{display:grid;gap:20px}.feature-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.feature-heading h2{font-size:27px;letter-spacing:-1px;margin:5px 0}.feature-heading p{font-size:12px;color:#6f7f80;margin:4px 0 0}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.feature-panel{padding:25px;min-width:0}.feature-panel h2{font-size:20px;letter-spacing:-.6px;margin:8px 0 20px}.feature-panel p{font-size:12px;line-height:1.7;color:#70807e}.feature-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.detail-line{display:flex;align-items:start;justify-content:space-between;gap:20px;border-bottom:1px solid #e8eee7;padding:13px 0;font-size:12px}.detail-line>span{color:#74827e}.detail-line strong,.detail-line b{font-weight:850;text-align:right;max-width:65%;overflow-wrap:anywhere}.subtle-note{font-size:11px!important;color:#83928d!important;line-height:1.6!important;margin-top:18px}.feature-stats .metric{min-height:108px}.feature-stats .metric strong{font-size:31px}.feature-stats .micro{letter-spacing:1.3px}.feature-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.feature-empty>span{font-size:37px;color:#83a393}.feature-empty h3{margin:8px 0}.feature-empty p{font-size:12px;color:#738481}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.profile-card{min-width:0;display:flex;align-items:center;gap:15px;text-align:left;padding:17px;transition:border-color .15s,transform .15s}.profile-card:hover{transform:translateY(-2px);border-color:#aac7b4}.profile-card.selected{border-color:#78a886;box-shadow:inset 0 0 0 1px #78a886;background:#f4fbf1}.profile-card-avatar{height:58px;width:58px}.profile-card-main{flex:1;display:grid;gap:5px;min-width:0}.profile-card-main strong{font-size:14px;overflow-wrap:anywhere}.profile-card-main small{color:#5d7c70;font-size:11px}.profile-card-main span{color:#81918e;font-size:11px}.profile-card-active{font-size:10px;font-weight:900;color:#749888;white-space:nowrap}
.mini-metrics{display:flex;gap:12px;flex-wrap:wrap}.mini-metrics span{background:#fff;border:1px solid #e2e8df;border-radius:13px;padding:11px 15px;font-size:11px;color:#829089}.mini-metrics b{font-size:18px;color:#1c3040;margin-right:5px}.pillfilters{display:flex;gap:8px;flex-wrap:wrap}.filterpill{background:#fff;color:#698077;border:1px solid #dee7de;padding:9px 15px;font-size:11px;font-weight:800;border-radius:50px}.filterpill.active{background:#172737;color:#fff;border-color:#172737}.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.collect-card{position:relative;overflow:hidden;min-height:265px}.collect-portrait{height:160px;background:radial-gradient(circle at 50% 10%,#e0efe8,#b9ccc5);position:relative;display:flex;justify-content:center;align-items:center}.collect-portrait .character-portrait{height:138px;width:138px;border:0;background:#ebf5ef;border-radius:24px;box-shadow:0 12px 24px #17273717}.collect-portrait .character-portrait img{height:100%;width:100%;object-fit:cover}.collect-rarity{position:absolute;bottom:10px;left:12px;background:#142637e0;color:#f3d48e;border-radius:30px;font-size:10px;padding:6px 10px;font-weight:900}.collect-info{padding:15px}.collect-info h3{font-size:13px;margin:0 0 6px;line-height:1.45;overflow-wrap:anywhere}.collect-info>span{font-size:10px;color:#8a9891}.collect-meta{display:grid;gap:3px;margin-top:13px;font-size:11px}.collect-meta small{color:#8c9893}.favorite-btn{position:absolute;top:10px;right:10px;border:0;border-radius:40px;background:#fffdf3dc;color:#b49c60;width:32px;height:32px;font-size:20px;display:grid;place-items:center}.favorite-btn.on{color:#d8a724}
.graph-bars{height:230px;display:flex;align-items:end;gap:7px;justify-content:space-around;margin-top:24px}.graph-item{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px;align-items:center;height:100%;justify-content:end}.graph-item strong{font-size:10px;color:#546b63}.graph-item small{font-size:10px;color:#91a19c;white-space:nowrap}.graph-rail{width:min(100%,42px);height:170px;border-radius:8px 8px 0 0;background:#f1f5f0;display:flex;align-items:end;overflow:hidden}.graph-rail>div{width:100%;min-height:2px;background:linear-gradient(180deg,#91bda0,#4e8974);border-radius:6px 6px 0 0}.analytics-pool{margin-bottom:20px}.analytics-pool small{font-size:10px;color:#82918e;line-height:1.5;display:block;margin:8px 0}.timeline-item{display:flex;align-items:center;gap:9px;border-bottom:1px solid #ecf0eb;padding:12px 0}.timeline-item>div{display:grid;gap:4px;flex:1;min-width:0}.timeline-item strong{font-size:12px}.timeline-item small,.timeline-item>span:last-child{font-size:10px;color:#8d9b94}.timeline-item .star{white-space:nowrap}
.calendar-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.cal-head h2{margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;font-size:10px;color:#7b8d86;font-weight:800;padding:9px 0}.cal-day{height:65px;display:flex;align-items:start;justify-content:space-between;padding:8px;border:1px solid #e5ece5;border-radius:9px;font-size:12px;font-weight:800}.cal-day.today{border-color:#88ad90;background:#eaf5e9}.cal-day.blank{border-color:transparent}.cal-mark{height:7px;width:7px;border-radius:50%;background:#83b497;align-self:end}.calendar-events{display:grid;gap:3px;max-height:490px;overflow:auto}.calendar-event{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9efe9;padding:11px 0;min-width:0}.calendar-event-avatar .character-portrait{width:54px;height:58px;display:grid;place-items:center;font-size:13px}.calendar-event>div:last-child{display:grid;gap:4px;min-width:0}.calendar-event strong{font-size:12px;line-height:1.45;overflow-wrap:anywhere}.calendar-event small{font-size:10px;color:#8c9a94;line-height:1.5}.calendar-status{font-size:10px;color:#4d8e6e;font-weight:800}.reminder-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.reminder-row>div{display:grid;gap:4px}.reminder-row strong{font-size:12px}.reminder-row small{font-size:10px;color:#81918d}
.planner-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.planner-form .form-group.full{grid-column:1/-1}.planner-number{font-size:50px;letter-spacing:-2px;font-weight:900;color:#203648;margin:20px 0 15px}.planner-number span{font-size:15px;font-weight:750;color:#9cab9d;letter-spacing:0}.planner-track{height:12px}.backup-status{padding:10px 12px;background:#f3f8f0;border-radius:12px;font-size:12px!important;color:#567263!important}
.table-wrap .iconbtn{margin:2px}.stat-strip .metric .micro{font-size:10px}
@media(max-width:1220px){.topline{flex-wrap:wrap}.mainnav{max-width:100%;order:3;width:100%}.header-right{margin-left:auto}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.feature-grid,.profile-grid,.calendar-layout{grid-template-columns:1fr}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.accountbar{flex-wrap:wrap}.accountbar-actions{width:100%;justify-content:space-between}.feature-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.collect-portrait{height:125px}.collect-portrait .character-portrait{height:105px;width:105px}.collect-card{min-height:238px}.feature-heading{align-items:start;flex-direction:column}.feature-panel{padding:18px}.accountbar-actions{flex-wrap:wrap}.accountbar-actions .field{max-width:none;flex:1}.calendar-grid{gap:3px}.cal-day{height:48px;padding:5px}.planner-form{grid-template-columns:1fr}.planner-form .form-group{grid-column:1/-1}.feature-stats .metric{min-height:90px}.graph-bars{gap:3px}.graph-item small{font-size:9px}}
/* Match the existing midnight UI instead of inheriting the legacy light palette. */
.accountbar{background:#1b202a;border-color:#353a47;color:#edf1f6}.accountbar-copy strong{color:#f3f5f8}.accountbar-copy small{color:#9ca8b5}.accountbar .micro{color:#a7b0c3}.avatar-bubble{background:#2d3444;color:#e3cd8f}
.profile-card.selected{background:#272a31;border-color:#d2b97d;box-shadow:inset 0 0 0 1px #d2b97d}.profile-card-main strong{color:#f5f3f5}.profile-card-main small{color:#d1b979}.profile-card-main span{color:#a7b0be}.profile-card-active{color:#ddc47f}
.mini-metrics span{background:#20242e;border-color:#373c48;color:#9faab6}.mini-metrics b{color:#fff}.filterpill{background:#222631;border-color:#363b47;color:#bec4d0}.filterpill.active{background:#dfc681;border-color:#dfc681;color:#191d26}.feature-empty{color:#f4f5f7}.feature-empty>span{color:#dfc681}.feature-empty p{color:#9eaab8}.feature-heading p{color:#a3acb8}
.collect-portrait{background:radial-gradient(circle at 50% 10%,#444c62,#252c3a)}.collect-portrait .character-portrait{background:#374254}.collect-info h3{color:#f5f4f6}.collect-info>span{color:#9da9b7}.collect-meta small{color:#a3abb8}.favorite-btn{background:#29313fe8;color:#dec786}.favorite-btn.on{color:#ffd26e}
.graph-item strong{color:#d2d8df}.graph-item small{color:#afb8c4}.graph-rail{background:#262c38}.graph-rail>div{background:linear-gradient(180deg,#e4d294,#988552)}.analytics-pool small{color:#abb5c1}.timeline-item,.detail-line,.calendar-event{border-bottom-color:#333a46}.timeline-item small,.timeline-item>span:last-child{color:#adb5c3}.detail-line>span{color:#9faab7}.detail-line strong,.detail-line b{color:#f2f3f6}
.cal-day{background:#202530;border-color:#303848;color:#e7eaed}.cal-day.today{border-color:#dcc68c;background:#37332a}.weekday{color:#aab4c0}.cal-mark{background:#e8d28a}.calendar-event small{color:#9ca8b7}.calendar-status{color:#c7d4a0}.reminder-row small{color:#a9b2bf}.planner-number{color:#f6f7f8}.planner-number span{color:#a6b0bf}.feature-panel p{color:#aab3bd}.subtle-note{color:#98a4b2!important}.backup-status{background:#2c312d;color:#d6dbd5!important;border:1px solid #3e493e}


/* Android import flow */
.platform-tabs{display:flex;gap:8px;margin:2px 0 18px;padding:4px;background:#191f29;border:1px solid #364154;border-radius:13px;max-width:345px}
.platform-tab{flex:1;padding:10px 16px;border-radius:9px;color:#b8c5d4;background:transparent;border:0;font-size:12px;font-weight:800;cursor:pointer}
.platform-tab.on{color:#151c25;background:var(--accent)}
.android-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.android-ready{padding:6px 10px;background:#21382e;border-radius:18px;font-size:10px;color:#a3dfb9;font-weight:700}
.android-inline{border:0;background:none;color:#b8d8ff;text-decoration:underline;cursor:pointer;padding:0;font:inherit;font-weight:800}
.transfer-link-input{resize:vertical;min-height:86px;overflow-wrap:anywhere}
@media(max-width:530px){.platform-tabs{max-width:none;width:100%}.android-head{align-items:flex-start}.transfer-step{min-width:0}}

.smart-drop{border:2px dashed var(--accent);border-radius:13px;padding:17px;text-align:center;cursor:pointer;background:rgba(144,188,169,.08);margin:12px 0;line-height:1.6}
.smart-drop:hover,.smart-drop:focus,.smart-drop.dragging{background:rgba(144,188,169,.19);outline:2px solid transparent}
.smart-drop strong{display:block}
.import-small{font-size:12px;color:var(--muted)}
/* Character / achievement tracking */
.sync-note{border:1px solid #435044;background:#222b27;border-radius:15px;padding:16px 19px;color:#bbc9bf;font-size:12px;line-height:1.7}
.sync-note b{color:#e8efe8}
.roster-confirm,.roster-remove,.achievement-delete{border:1px solid #3b4147;color:#d8e3de;background:#20262c;border-radius:10px;font-size:11px;font-weight:800;padding:9px 10px;cursor:pointer;align-self:center;margin-right:12px}
.roster-remove,.achievement-delete{font-size:20px;padding:3px 11px}
.roster-confirm:hover,.roster-remove:hover,.achievement-delete:hover{border-color:#a1b69f}
.achievement-list{display:grid;gap:9px}
.achievement-item{display:flex;gap:13px;align-items:center;padding:16px 19px;min-width:0}
.achievement-check{border:1px solid #525966;background:#20252d;color:#bdc5cf;min-width:34px;height:34px;border-radius:10px;cursor:pointer;font-weight:900;font-size:17px}
.achievement-check.is-done{background:#34473b;color:#c4e0c6;border-color:#6d9276}
.achievement-main{display:grid;gap:4px;min-width:0;flex:1}
.achievement-main strong{font-size:13px;overflow-wrap:anywhere}
.achievement-main span{font-size:11px;color:#9aa6a0}
.achievement-status{font-size:11px;color:#acbbb5;text-align:right;white-space:nowrap}
.rowline{display:flex;justify-content:space-between;align-items:center;gap:16px}
.rowline>div:first-child{flex:1}
.rowline h2{margin:7px 0!important}
.rowline p{margin:5px 0 0!important;max-width:700px}
.rowline .feature-buttons{margin-top:0;max-width:315px;justify-content:flex-end}
@media(max-width:700px){.rowline{flex-direction:column;align-items:stretch}.rowline .feature-buttons{max-width:none;justify-content:flex-start}.achievement-item{gap:8px;padding:11px}.achievement-status{display:none}.roster-confirm{margin-right:8px}}

/* v8 verified artwork: one consistent icon treatment across games */
.collect-portrait{background:linear-gradient(155deg,#202b3c,#353c51);padding:9px;}
.collect-portrait .character-portrait{width:124px;height:124px;border-radius:18px;background:#252f41;border:1px solid #58677f55;box-shadow:0 8px 24px #0004;}
.collect-portrait .character-portrait img{width:100%;height:100%;object-fit:contain;object-position:center;background:transparent;padding:5px;}
.character-portrait.item-art img{object-fit:contain!important;object-position:center!important;padding:7px!important;background:#202a3b!important;}
.character-portrait.character-art img{object-fit:contain!important;object-position:center!important;background:transparent!important;}
.character-portrait.no-image{background:linear-gradient(138deg,#303f56,#182238)!important;color:#d1c2e8!important;box-shadow:inset 0 0 0 1px #7d87a34d;}
.collect-portrait .character-portrait.no-image{font-size:32px;letter-spacing:.05em;font-weight:850;text-shadow:0 2px 14px #0005;}
.art-edit-btn{position:absolute;top:10px;left:10px;z-index:4;border:1px solid #767e9366;border-radius:9px;background:#161e2fdc;color:#e5e9f4;width:30px;height:30px;font-size:16px;display:grid;place-items:center;cursor:pointer;}
.art-edit-btn:hover{background:#344866;color:#fff;}
@media(max-width:560px){.collect-portrait .character-portrait{width:100px;height:100px;}.art-edit-btn{top:6px;left:6px;}}

.games{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:760px){.games{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:440px){.games{grid-template-columns:repeat(2,minmax(0,1fr));}.game{padding:10px 8px;gap:6px}.game-logo{height:34px;width:34px;flex-basis:34px;font-size:9px}.game-name{font-size:11px}}

.collection-unified{display:flex;flex-direction:column;gap:18px;min-width:0}
.collection-tabs{display:flex;gap:6px;padding:7px;border-radius:16px;flex-wrap:wrap}
.collection-tab{flex:1 1 210px;min-height:44px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--ink2);font-weight:750;font-size:13px;cursor:pointer}
.collection-tab.active{background:var(--ink);color:white;box-shadow:0 4px 15px #00000017}
.collect-portrait .character-portrait,.calendar-event-avatar .character-portrait{overflow:hidden;display:flex;align-items:center;justify-content:center}
.collect-portrait img,.character-portrait img{object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%}
@media(max-width:500px){.collection-tab{flex-basis:130px;font-size:11px;padding:9px 5px}.collection-unified{gap:12px}}

/* v10: correctly sized character and equipment artwork */
.character-portrait{overflow:hidden;isolation:isolate}
.character-portrait img,.character-portrait.item-art img,.character-portrait.character-art img{box-sizing:border-box;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block;object-fit:contain!important;object-position:center center!important;padding:0!important;background:transparent!important}
.collect-portrait{min-height:176px;height:176px;padding:8px!important}
.collect-portrait .character-portrait{width:152px!important;height:152px!important;flex:0 0 152px!important;border-radius:17px;background:linear-gradient(130deg,#344257,#1f2939)}
.collect-portrait .character-portrait img{transform:scale(1.08);transform-origin:center center}
.character-portrait-group .character-portrait{width:72px;height:80px;flex:0 0 72px;border-radius:13px}
.character-portrait-group .character-portrait img{object-fit:contain!important}
.auto-banner-card .auto-banner-top{align-items:center}
.auto-banner-card .auto-banner-info{min-width:0}
.banner-hero-portraits .character-portrait{width:92px;height:103px;flex:0 0 92px}
.banner-hero-portraits .character-portrait img{object-fit:contain!important}
.calendar-event-avatar .character-portrait{width:62px;height:69px}
@media(max-width:680px){.collect-portrait{height:152px;min-height:152px}.collect-portrait .character-portrait{width:131px!important;height:131px!important;flex-basis:131px!important}.character-portrait-group .character-portrait{width:62px;height:70px;flex-basis:62px}.banner-hero-portraits .character-portrait{width:62px;height:71px;flex-basis:62px}}
@media(max-width:430px){.collect-portrait{height:138px;min-height:138px}.collect-portrait .character-portrait{width:116px!important;height:116px!important;flex-basis:116px!important}}

/* Branded game selector — keep the full title legible over decorative logo art */
.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}
.game.game-branded{isolation:isolate;display:flex;align-items:flex-end;min-height:128px;overflow:hidden;position:relative;padding:19px 20px;border:1.5px solid rgba(255,255,255,.12);border-radius:19px;text-align:left;color:#fff;background:linear-gradient(130deg,var(--tile-a),var(--tile-b));box-shadow:0 7px 18px rgba(10,20,34,.12);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.game.game-branded::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(6,14,23,.92) 0%,rgba(6,14,23,.41) 55%,rgba(6,14,23,.08) 100%),radial-gradient(ellipse at 85% 16%,rgba(255,255,255,.15),transparent 65%)}
.game.game-branded::after{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;z-index:3;border-radius:0 4px 4px 0;background:var(--game-color);opacity:0;transition:opacity .2s ease;pointer-events:none}
.game .game-art{position:absolute;z-index:0;pointer-events:none;top:-15%;right:-5%;height:113%;width:84%;object-fit:contain;object-position:center;filter:grayscale(1) brightness(0) invert(1);mix-blend-mode:screen;opacity:.32;transform:rotate(-7deg) scale(1.04);transition:opacity .2s ease,transform .2s ease}
.game[data-game="czn"] .game-art{filter:none;mix-blend-mode:screen;opacity:.48}
.game.game-branded:hover{transform:translateY(-3px);box-shadow:0 12px 27px rgba(10,20,34,.20);border-color:rgba(255,255,255,.34)}
.game.game-branded:hover .game-art{opacity:.46;transform:rotate(-5deg) scale(1.1)}
.game[data-game="czn"]:hover .game-art{opacity:.58}
.game.game-branded.active{background:linear-gradient(130deg,var(--tile-a),var(--tile-b));border-color:var(--game-color);box-shadow:inset 0 0 0 1px var(--game-color),0 12px 26px rgba(10,20,34,.2)}
.game.game-branded.active::after{opacity:1}
.game .game-copy{z-index:2;position:relative;display:block;padding-right:20px;max-width:100%}
.game .game-name{display:block;font-size:18px;line-height:1.13;font-weight:850;letter-spacing:-.45px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.game .game-count,.game.active .game-count{display:block;margin-top:7px;font-size:11px;color:#d7e5ed;letter-spacing:.12px;font-weight:650}
.game .game-arrow{position:absolute;right:16px;top:14px;z-index:2;font-size:16px;color:#fff;opacity:.75}
.game.game-branded.active .game-arrow{opacity:1;color:var(--game-color)}
.game.game-branded:focus-visible{outline:3px solid var(--game-color);outline-offset:3px}
@media(max-width:780px){.games{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:3px 0 12px}.game.game-branded{flex:0 0 220px;min-height:124px;padding:17px;scroll-snap-align:start}.game .game-name{font-size:17px}}
@media(max-width:530px){.game.game-branded{flex-basis:196px;min-height:117px}.game .game-name{font-size:16px}.game .game-count{font-size:10px}}
@media(prefers-reduced-motion:reduce){.game.game-branded,.game .game-art{transition:none!important}.game.game-branded:hover{transform:none}}

/* Logo-first selector: no duplicate name or saved-pulls copy when logo is available. */
.game.game-branded{display:grid;place-items:center;min-height:135px;padding:13px 18px;align-items:center;text-align:center}
.game.game-branded::before{background:linear-gradient(0deg,rgba(6,14,23,.42),rgba(6,14,23,.18)),radial-gradient(circle at 50% 20%,rgba(255,255,255,.12),transparent 70%)}
.game.game-branded .game-art{top:8%;right:6%;height:84%;width:88%;transform:none;object-fit:contain;object-position:center;filter:grayscale(1) brightness(0) invert(1);mix-blend-mode:screen;opacity:.88;transition:opacity .2s ease,transform .2s ease;z-index:2}
.game.game-branded[data-game="czn"] .game-art{filter:none;mix-blend-mode:screen;opacity:.94}
.game.game-branded:hover .game-art{transform:scale(1.035);opacity:1}
.game.game-branded[data-game="czn"]:hover .game-art{opacity:1}
.game.game-branded .game-copy{position:relative;z-index:2;display:block;max-width:100%;padding:0}
.game.game-branded.logo-ready .game-copy{display:none}
.game.game-branded .game-name{font-size:18px;line-height:1.2}
.game.game-branded .game-count{display:none}
.game.game-branded .game-arrow{display:none}
.game.game-branded.active::after{width:5px;top:14px;bottom:14px}
@media(max-width:780px){.game.game-branded{min-height:124px}}
@media(max-width:530px){.game.game-branded{min-height:116px}}

/* Six environment-inspired selector scenes + optically balanced logo marks */
.game.game-branded{min-height:158px;position:relative;overflow:hidden;background:linear-gradient(145deg,var(--tile-a),var(--tile-b));box-shadow:0 9px 22px rgba(6,13,22,.22)}
.game.game-branded::before{z-index:1;background:linear-gradient(180deg,rgba(3,10,20,.12),rgba(3,10,20,.47)),radial-gradient(ellipse at center,rgba(8,16,28,.08),rgba(8,16,28,.15))}
.game.game-branded .game-art{position:absolute;inset:0;top:0;right:0;width:100%;height:100%;object-fit:contain;object-position:center;transform:scale(var(--logo-optical-scale,1));opacity:.97;filter:grayscale(1) brightness(0) invert(1) drop-shadow(0 2px 7px rgba(2,6,10,.75));mix-blend-mode:screen;z-index:2;transition:transform .22s ease,opacity .22s ease}
.game.game-branded:hover .game-art{transform:scale(calc(var(--logo-optical-scale,1) * 1.035));opacity:1}
.game.game-branded[data-game="czn"] .game-art{filter:drop-shadow(0 2px 8px rgba(5,5,9,.9));opacity:1}
.game.game-branded.active{border-color:var(--game-color);box-shadow:inset 0 0 0 1px var(--game-color),0 12px 28px rgba(5,11,19,.3)}
.game.game-branded.active::after{z-index:3}
.game.game-branded[data-game="wuwa"]{--logo-optical-scale:.64}
.game.game-branded[data-game="genshin"]{--logo-optical-scale:.62}
.game.game-branded[data-game="hsr"]{--logo-optical-scale:1.45}
.game.game-branded[data-game="endfield"]{--logo-optical-scale:.66}
.game.game-branded[data-game="zzz"]{--logo-optical-scale:.64}
.game.game-branded[data-game="czn"]{--logo-optical-scale:1.75}

/* Old placeholder illustrations removed; real game art loads over a static dark gradient. */
@media(max-width:780px){.game.game-branded{min-height:138px;flex:0 0 218px}}
@media(max-width:530px){.game.game-branded{min-height:125px;flex-basis:200px}}
@media(prefers-reduced-motion:reduce){.game.game-branded .game-art{transition:none!important}}

/* Real game screenshot/press artwork over a static dark gradient fallback. */
.game.game-branded .game-world-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:.8;pointer-events:none;z-index:0;filter:saturate(.9) brightness(.83);transform:scale(1.015);transition:transform .25s ease,opacity .25s ease}
.game.game-branded::before{z-index:1;background:linear-gradient(180deg,rgba(5,11,22,.24),rgba(5,11,22,.56)),radial-gradient(ellipse at center,rgba(4,9,17,.06),rgba(4,9,17,.14))}
.game.game-branded .game-art{z-index:2}
.game.game-branded .game-copy{z-index:3}
.game.game-branded:hover .game-world-art{opacity:.9;transform:scale(1.045)}
@media(prefers-reduced-motion:reduce){.game.game-branded .game-world-art{transition:none!important}.game.game-branded:hover .game-world-art{transform:none}}

/* Prevent fallback-name flash when render() recreates the game selector. */
.game.game-branded .game-copy{display:none}
.game.game-branded.logo-error .game-copy{display:block}

/* Shared character-artwork fallback: use a native PFP when available. */
.collect-portrait .character-portrait img.auto-art-avatar{object-fit:cover!important;object-position:50% 23%!important;transform:scale(1.21)!important;transform-origin:50% 35%!important;-webkit-mask-image:radial-gradient(ellipse 85% 90% at 50% 47%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 85% 90% at 50% 47%,#000 62%,transparent 100%)}
.collect-portrait .character-portrait:has(img.auto-art-avatar){background:radial-gradient(ellipse at 50% 18%,#586b80,#243347 82%)}

/* Complete public-catalog collection: owned in color, unowned in monochrome. */
.collect-card.catalog-locked .collect-portrait{filter:grayscale(1);background:linear-gradient(140deg,#24303d,#18202c)}
.collect-card.catalog-locked .character-portrait img{filter:grayscale(1) contrast(.92) brightness(.72);opacity:.82}
.collect-card.catalog-locked .character-portrait.no-image{opacity:.67}
.collect-card.catalog-locked .collect-info{opacity:.75}
.collect-card.catalog-locked .collect-rarity{filter:grayscale(1)}
.collect-card[hidden]{display:none!important}
.catalog-status{display:inline-block;font-size:11px;font-weight:750;letter-spacing:.015em}
.catalog-locked .catalog-status{color:#9da5b0}
.catalog-owned .catalog-status{color:#9dd5b4}
.catalog-search-row{display:flex;gap:12px;align-items:center;margin:8px 0 18px;flex-wrap:wrap}
.catalog-search-row .field{flex:1;min-width:190px;max-width:480px}
.catalog-search-row small{color:#91a0b2;font-size:11px}
.catalog-action{border:1px solid #4d6877;border-radius:9px;background:#293847;color:#d8e5ef;font-size:11px;padding:7px 10px;margin:0 0 14px 14px;cursor:pointer}
.catalog-action:hover{background:#354a5a}
.catalog-locked .art-edit-btn{opacity:.65}
.catalog-empty{margin:12px 0;color:#aeb9c6;font-size:12px}
.catalog-choice-list{width:100%;min-height:220px}
.catalog-choice-list option{padding:7px}

.collection-subpages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.collection-subpage{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;border:1px solid #425469;border-radius:15px;background:linear-gradient(125deg,#202b39,#2c3545);padding:17px;color:#e9f2fd;cursor:pointer}
.collection-subpage.active{background:linear-gradient(125deg,#304a60,#28374b);border-color:#95b5d7;box-shadow:inset 0 0 0 1px #8bb6d54c}
.collection-page-icon{display:grid;place-items:center;flex:none;background:#ffffff14;width:42px;height:42px;border-radius:13px;font-size:23px}
.collection-page-copy{display:grid;gap:3px;min-width:0}
.collection-page-copy strong{font-size:14px}
.collection-page-copy small{font-size:11px;color:#a5b7cf;line-height:1.4}
.collection-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px;margin-bottom:18px;background:#1c2533;border:1px solid #3d4b5d;border-radius:15px}
.collection-tool{display:grid;gap:6px;flex:1;min-width:120px}
.collection-tool.search{flex:2;min-width:195px}
.collection-tool label{font-size:10px;color:#b2c3d7;letter-spacing:.06em;font-weight:750;text-transform:uppercase}
.collection-tool .field{width:100%;max-width:none;min-height:39px}
.collection-tool select:disabled{opacity:.6;cursor:not-allowed}
.collection-trait{display:block;margin-top:6px;font-size:11px;color:#9db5cf;font-weight:650}
.collection-group{margin:18px 0 26px}
.collection-group-title{display:flex;align-items:center;gap:11px;margin-bottom:12px;color:#e4f0fd}
.collection-group-title strong{font-size:14px}
.collection-group-title span{font-size:11px;color:#a5b5c7}
.collection-group .collection-grid{margin-top:0}
.collection-group[hidden]{display:none!important}
@media(max-width:600px){.collection-subpages{gap:8px}.collection-subpage{padding:10px;gap:8px}.collection-page-icon{height:34px;width:34px;font-size:18px}.collection-page-copy strong{font-size:12px}}

/* WuWa's Resonator and Weapon banners have equal, clearly labeled sections. */
.wuwa-banner-groups{display:flex;flex-direction:column;gap:17px;min-width:0}
.wuwa-banner-section{display:flex;flex-direction:column;gap:9px;min-width:0}
.wuwa-banner-section h3{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:800;color:var(--ink);letter-spacing:.15px}
.wuwa-banner-section h3 span{font-size:10px;font-weight:650;color:var(--muted)}

/* Character guide library */
.guide-hub{display:grid;gap:18px}
.guide-intro{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.guide-intro h2{margin:6px 0;font-size:24px;letter-spacing:-.5px}
.guide-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.guide-intro-count{min-width:115px;display:grid;text-align:center}
.guide-intro-count strong{font-size:30px;line-height:1.1}
.guide-intro-count span{font-size:10px;color:var(--muted)}
.guide-layout{display:grid;grid-template-columns:minmax(235px,0.8fr) minmax(0,2fr);align-items:start;gap:16px}
.guide-browser{padding:17px;display:grid;gap:12px;min-width:0}
.guide-search-label{font-size:12px;font-weight:800}
.guide-library-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.guide-chip{border:1px solid var(--line);border-radius:100px;background:transparent;color:var(--ink);font-size:11px;font-weight:760;padding:9px 12px;cursor:pointer}
.guide-chip.active{background:var(--ink);color:white}
.guide-list{display:grid;gap:6px;max-height:630px;overflow:auto;scrollbar-width:thin}
.guide-list-entry{display:flex;gap:10px;align-items:center;text-align:left;padding:8px;border-radius:12px;background:transparent;border:1px solid transparent;color:var(--ink);cursor:pointer;min-width:0}
.guide-list-entry:hover{background:var(--soft)}
.guide-list-entry.active{background:var(--soft);border-color:var(--accent)}
.guide-list-entry[hidden]{display:none}
.guide-list-monogram{height:37px;width:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#35475b,#1e2937);color:white;font-weight:800}
.guide-list-copy{min-width:0;display:grid;gap:3px}
.guide-list-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.guide-list-copy small{color:var(--muted);font-size:10px}
.guide-entry-flag{margin-left:auto;color:#62ae82;font-size:14px}
.guide-no-results{color:var(--muted);font-size:12px}
.guide-detail{overflow:hidden}
.guide-hero{display:flex;gap:18px;align-items:center;padding:22px;background:linear-gradient(115deg,color-mix(in srgb,var(--accent),transparent 79%),transparent)}
.guide-face .character-portrait{width:98px;height:112px;flex-basis:98px;border-radius:15px}
.guide-hero h2{font-size:25px;margin:5px 0}
.guide-hero p{font-size:12px;margin:0 0 8px;color:var(--muted)}
.guide-status{font-size:10px;border-radius:80px;background:var(--soft);padding:5px 9px;font-weight:750}
.guide-detail-inner{padding:24px}
.guide-detail-inner h3{font-size:17px;margin:16px 0 11px}
.guide-detail-inner p{font-size:13px;line-height:1.6}
.guide-section-top{display:flex;gap:8px;flex-wrap:wrap}
.guide-role{font-size:10px;padding:6px 9px;border:1px solid var(--line);border-radius:100px;color:var(--ink2)}
.guide-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:16px;padding:5px;background:var(--soft);border-radius:13px}
.guide-tabs button{font-size:12px;font-weight:780;padding:10px 5px;border:0;background:transparent;color:var(--ink2);border-radius:10px}
.guide-tabs button.active{background:var(--ink);color:white}
.guide-bullets,.guide-steps{padding-left:21px;display:grid;gap:10px;font-size:13px;line-height:1.55}
.guide-bullets li,.guide-steps li{padding-left:3px}
.guide-team-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.guide-team{padding:13px;margin:10px 0;display:grid;gap:9px}
.guide-team-members{display:flex;flex-wrap:wrap;gap:8px}
.guide-member{display:inline-flex;padding:7px 10px;border-radius:9px;background:var(--soft);font-size:11px;font-weight:760}
.guide-member.is-owned{background:#dbf2e4;color:#32674b}
.guide-team small{font-size:10px;color:var(--muted)}
.guide-tip{background:var(--soft);border-radius:13px;padding:14px;margin-top:15px;font-size:12px}
.guide-tip p{margin:5px 0 0}
.guide-accuracy,.guide-footnote,.guide-empty{color:var(--muted);font-size:11px;line-height:1.5}
.guide-sources{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.guide-sources a{font-weight:750;color:var(--ink2)}
.guide-footnote{padding:0 5px}
.catalog-guide-action{border-radius:9px;border:1px solid var(--line);padding:9px 11px;background:var(--soft);color:var(--ink);font-size:11px;font-weight:800;cursor:pointer}
.mainnav{overflow-x:auto;scrollbar-width:thin}
@media(max-width:820px){.guide-layout{grid-template-columns:1fr}.guide-list{max-height:230px}.guide-intro{align-items:flex-start}.guide-detail-inner{padding:18px}.guide-hero{padding:17px}}
@media(max-width:480px){.guide-intro-count{min-width:70px}.guide-intro h2{font-size:20px}.guide-tabs button{font-size:11px}.guide-face .character-portrait{width:72px;height:84px;flex-basis:72px}.guide-hero h2{font-size:20px}}

/* Character-specific square ZZZ avatars stay fully visible inside their card. */
.collect-card.zzz-agent-card .collect-portrait .character-portrait{overflow:hidden;display:grid;place-items:center}
.collect-card.zzz-agent-card .collect-portrait .character-portrait img{object-fit:contain!important;object-position:center!important;transform:none!important}
.collection-special{display:inline-block!important;margin-left:5px;padding:4px 7px;border-radius:7px;background:#f3ecf9;color:#6a437e!important;font-size:10px}
.collection-sync-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:11px;line-height:1.4}.collection-sync-status button{flex-shrink:0;font-size:11px;padding:8px 10px}@media(max-width:520px){.collection-sync-status{align-items:flex-start;flex-direction:column}}

/* Expanded every-character guides */
.guide-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.guide-tabs button{font-size:11px;white-space:nowrap;padding:9px 3px}
.guide-list-portrait{width:38px;height:42px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:var(--soft)}
.guide-list-portrait .character-portrait{width:38px;height:42px;flex-basis:38px;border-radius:8px;overflow:hidden}
.guide-list-portrait .character-portrait img{width:100%;height:100%;object-fit:cover}
.guide-team-art{padding:13px;margin:12px 0}
.guide-team-title{font-weight:790;font-size:12px;margin-bottom:10px}
.guide-team-portraits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.guide-team-avatar{min-width:0;text-align:center;display:flex;flex-direction:column;gap:5px;align-items:center}
.guide-team-avatar-image{width:100%;max-width:72px;aspect-ratio:1/1.1;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.guide-team-avatar-image .character-portrait{width:100%;height:100%;border-radius:11px}
.guide-team-avatar-image .character-portrait img{width:100%;height:100%;object-fit:cover}
.guide-team-avatar-name{width:100%;font-size:11px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-team-avatar small{font-size:10px;color:var(--muted)}
.guide-team-avatar.is-owned .guide-team-avatar-image{border:2px solid #69b990}
.guide-team-avatar.is-owned small{color:#4a946a}
.guide-team-caption{margin-top:12px;font-size:10px;color:var(--muted);line-height:1.4}
.guide-gear-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.guide-gear-card{min-width:0;padding:10px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border:1px solid var(--line);border-radius:13px;background:var(--soft)}
.guide-gear-image{width:64px;height:64px;display:grid;place-items:center}
.guide-gear-image .character-portrait{width:64px;height:64px;flex-basis:64px;background:transparent;border-radius:10px}
.guide-gear-image .character-portrait img{object-fit:contain!important;transform:none!important;width:100%;height:100%}
.guide-gear-name{font-size:11px;font-weight:780;line-height:1.25;overflow-wrap:anywhere}
.guide-gear-meta{font-size:10px;color:var(--muted)}
.guide-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 18px}
.guide-stat{min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px;display:grid;gap:6px;background:var(--soft)}
.guide-stat small{font-size:10px;text-transform:capitalize;color:var(--muted)}
.guide-stat strong{font-size:12px;font-weight:800;overflow-wrap:anywhere}
.guide-skills{margin-top:18px}
.guide-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.guide-skill{min-width:0;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);border-radius:12px}
.guide-skill-image{height:38px;width:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:9px;background:var(--soft);font-size:19px}
.guide-skill-image img{object-fit:contain;max-width:34px;max-height:34px}
.guide-skill strong,.guide-skill small{display:block;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.guide-skill strong{font-size:12px}
.guide-skill small{color:var(--muted);margin-top:3px}
.guide-helper,.guide-loading{font-size:11px;color:var(--muted);line-height:1.55}
.guide-loading{padding:8px 0}
@media(max-width:480px){.guide-team-portraits{gap:5px}.guide-team-avatar-name{font-size:10px}.guide-gear-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-skill-grid{grid-template-columns:1fr}.guide-tabs button{font-size:10px;padding:9px 2px}}

/* Faster guide detail updates leave the list untouched and show full material rows. */
.guide-material-group{margin-top:14px}.guide-material-group h4{font-size:13px;margin:8px 0}
.guide-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.guide-material-item{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;border-radius:9px;background:var(--soft);border:1px solid var(--line);font-size:11px}
.guide-material-item span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.guide-material-item strong{white-space:nowrap;font-size:11px}
.guide-material-gem{font-size:17px;color:var(--accent)}
.guide-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:500px){.guide-material-grid{grid-template-columns:1fr}.guide-tabs button{font-size:10px}}

/* Official element badges in the collection and guide portraits. */
.game-element-logo{object-fit:contain;display:inline-block;vertical-align:middle;width:22px;height:22px}
.collection-element-chips{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:6px 0 15px}
.collection-element-chip{border:1px solid var(--line);border-radius:100px;background:var(--soft);color:var(--ink);padding:6px 10px;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:750;cursor:pointer}
.collection-element-chip.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.element-chip-icon{width:20px;height:20px}
.element-all-symbol{display:inline-grid;place-items:center;width:20px;height:20px;font-size:17px}
.collection-icon-select{position:relative;display:flex;align-items:center;min-width:0}
.collection-icon-select select{width:100%;min-width:0}
.collection-icon-select:has(.element-selected-icon) select{padding-left:36px}
.element-selected-icon{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:21px;height:21px;pointer-events:none;z-index:1}
.collection-group-element-logo{width:27px;height:27px}
.collect-portrait{position:relative}
.collection-portrait-element{position:absolute;bottom:8px;right:10px;width:25px;height:25px;padding:3px;border-radius:50%;background:#12212be8;box-shadow:0 1px 5px #0009;z-index:2}
.guide-portrait-composite{position:relative;display:inline-flex;width:100%;height:100%;min-width:0;min-height:0}
.guide-portrait-composite .character-portrait{flex:1 1 auto;min-width:0;height:100%}
.guide-portrait-composite .character-portrait img{width:100%;height:100%;object-fit:cover}
.guide-element-sigil{position:absolute;bottom:2px;right:2px;width:23px;height:23px;padding:2px;background:#14212be0;border-radius:50%;box-shadow:0 1px 4px #0008;z-index:2}
.guide-list-portrait .guide-element-sigil{width:15px;height:15px;padding:1px;bottom:1px;right:1px}
.guide-team-avatar-image .guide-element-sigil{width:19px;height:19px}
.guide-team-alt-portraits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;border-radius:10px;overflow:hidden}
.guide-team-alt-portraits .guide-alt-face{min-width:0;min-height:0;background:#304250;overflow:hidden;display:flex;align-items:stretch}
.guide-team-alt-portraits .guide-alt-face:first-child:nth-last-child(3){grid-row:span 2}
.guide-team-alt-portraits .guide-alt-face:only-child{grid-column:span 2}
.guide-alt-face .guide-portrait-composite{width:100%;height:100%}
.guide-team-alt-portraits .character-portrait{width:100%;height:100%;border-radius:0}
.guide-team-alt-portraits .guide-element-sigil{width:14px;height:14px;right:1px;bottom:1px}
.guide-team-avatar .guide-team-pick{color:var(--accent);font-weight:750}
.guide-team-title{font-weight:800}
.guide-team-note{font-size:11px;line-height:1.5;color:var(--muted);padding-top:9px}
.guide-rotation-visual{padding:11px 0 16px}
.guide-rotation-visual-label{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}
.guide-rotation-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.guide-rotation-node{max-width:115px;min-width:52px;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 7px 6px;background:var(--soft);border:1px solid var(--line);border-radius:11px;text-align:center}
.guide-rotation-node img{width:36px;height:36px;object-fit:contain}
.guide-rotation-symbol{display:grid;place-items:center;width:36px;height:36px;font-size:19px;font-weight:800}
.guide-rotation-node strong{font-size:12px}
.guide-rotation-node small{max-width:100%;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.guide-rotation-arrow{font-size:13px;color:var(--muted)}
.guide-rotation-explain{font-size:10px;color:var(--muted);margin-top:8px}
@media(max-width:520px){.collection-element-chip{font-size:10px;padding:5px 8px}.collection-portrait-element{width:22px;height:22px}.guide-rotation-node{min-width:49px;padding:6px 4px}}
.collection-element-chip{min-height:34px}.collection-element-chips{gap:6px}.collection-element-chip .element-chip-icon{width:21px;height:21px}.collection-group-element-logo{flex:0 0 27px;object-fit:contain}.collect-portrait .collection-portrait-element{width:25px;height:25px}@media(max-width:600px){.collection-element-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}} 
.collection-roster-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 14px}
.collection-roster-filters>.pillfilters{margin:0}
.roster-more-filters summary{cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:700;padding:9px 12px}
.roster-more-filters summary:after{content:' ⌄'}
.roster-more-filters[open] summary:after{content:' ⌃'}
.roster-more-filters summary::-webkit-details-marker{display:none}
.roster-more-filters .pillfilters{margin:9px 0 0}
.collection-search-wrap{position:relative;display:flex;align-items:center}
.collection-search-wrap input{width:100%;padding-right:53px}
.collection-search-clear{position:absolute;right:7px;border:0;border-radius:8px;background:var(--soft);color:var(--muted);padding:5px 7px;cursor:pointer;font-weight:750;font-size:11px}
.collection-search-clear:disabled{opacity:.38;cursor:default}
@media(max-width:600px){.collection-roster-filters{gap:7px}}

.guide-team-alt-portraits{display:grid;grid-template-columns:repeat(var(--choice-count,2),minmax(0,1fr));grid-template-rows:1fr;width:100%;height:100%;gap:3px;overflow:hidden;border-radius:10px}
.guide-team-alt-portraits .guide-alt-face,
.guide-team-alt-portraits .guide-alt-face:first-child:nth-last-child(3),
.guide-team-alt-portraits .guide-alt-face:only-child{grid-column:auto;grid-row:auto;min-width:0;min-height:0;aspect-ratio:auto}
.guide-team-alt-portraits .guide-portrait-composite,.guide-team-alt-portraits .character-portrait{height:100%;width:100%;display:block}
.guide-team-alt-portraits .character-portrait img{width:100%;height:100%;object-fit:cover;object-position:center}
.guide-team-avatar:has(.guide-team-alt-portraits){min-width:112px}
.guide-team-avatar:has(.guide-team-alt-portraits) .guide-team-avatar-image{width:112px;max-width:100%}
.guide-team-avatar:has(.guide-team-alt-portraits) .guide-team-avatar-name{overflow-wrap:anywhere}
.guide-material-art{width:30px;height:30px;object-fit:contain;flex:none;border-radius:6px}
.guide-material-image-placeholder{display:inline-grid;place-items:center;width:30px;height:30px;flex:none}
.guide-rotation-line{display:flex;flex-wrap:wrap;overflow:visible;gap:5px}
.guide-rotation-node{min-width:74px;max-width:132px;flex:0 1 115px}
.guide-rotation-node small{overflow-wrap:anywhere;white-space:normal}
@media(max-width:600px){.guide-team-avatar:has(.guide-team-alt-portraits){min-width:104px}.guide-team-avatar:has(.guide-team-alt-portraits) .guide-team-avatar-image{width:104px}}

.guide-deck-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:12px 0 16px}
.guide-deck-option{padding:13px;background:var(--soft);border:1px solid var(--line);border-radius:14px;min-width:0}
.guide-deck-option h4{margin:0 0 7px;font-size:14px;color:var(--ink)}
.guide-deck-option p{margin:0 0 11px;font-size:12px;color:var(--muted);line-height:1.5}
.guide-deck-cards{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px}
.guide-deck-cards span{max-width:100%;overflow-wrap:anywhere;font-size:11px;background:var(--panel);border:1px solid var(--line);padding:5px 8px;border-radius:8px}
.guide-material-item strong{white-space:nowrap}

.collection-roles-wrap{margin:12px 0 7px}
.collection-roles-wrap>strong{display:block;font-size:12px;margin-bottom:2px}
.collection-roles-wrap>small{display:block;color:var(--muted);font-size:11px;margin-bottom:9px}
.collection-role-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.collection-role-chip{color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:7px 10px;min-height:33px;font-size:11px;font-weight:700;cursor:pointer}
.collection-role-chip.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.collection-role-chip span{opacity:.65;font-size:10px}
@media(max-width:600px){.collection-role-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.collection-role-chip{flex:none}}

.guide-set-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:10px;margin:12px 0 18px}
.guide-set-option{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:10px;display:flex;gap:10px;min-width:0;align-items:center}
.guide-set-art{width:54px;height:54px;flex:none;border-radius:10px;background:#141b28;display:grid;place-items:center;overflow:hidden;font-size:23px}
.guide-set-art img{width:100%;height:100%;object-fit:contain}
.guide-set-copy{min-width:0;display:grid;gap:4px}
.guide-set-copy strong{font-size:12px;overflow-wrap:anywhere}
.guide-set-copy small{font-size:11px;color:var(--muted)}
.guide-stats-build{margin:14px 0}
.guide-stats-build h4{font-size:13px;margin:17px 0 8px}
.guide-priority-line{font-size:12px;line-height:1.6;margin:8px 0;color:var(--ink)}
.guide-deck-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:9px}
.guide-card-tile{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:10px;padding:8px;min-width:0;background:var(--panel)}
.guide-card-art{aspect-ratio:3/4;width:100%;max-height:152px;display:flex;justify-content:center;overflow:hidden}
.guide-card-art img{max-height:100%;max-width:100%;object-fit:contain}
.guide-card-tile strong{font-size:11px;overflow-wrap:anywhere}
.guide-card-tile small{font-size:10px;line-height:1.4;color:var(--muted)}
.guide-card-name-only{padding:8px;border:1px solid var(--line);border-radius:8px;font-size:11px;overflow-wrap:anywhere}
.guide-rotation-variant{padding:12px;margin:9px 0;border:1px solid var(--line);border-radius:10px}
.guide-rotation-variant summary{cursor:pointer;font-weight:700;font-size:13px}

.guide-epiphany-section{margin:18px 0 22px}
.guide-epiphany-list{display:grid;gap:9px;margin-top:12px}
.guide-epiphany-row{display:grid;grid-template-columns:minmax(130px,0.8fr) minmax(0,1.6fr);gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.guide-epiphany-card{font-size:13px;overflow-wrap:anywhere;line-height:1.5}
.guide-epiphany-info{display:grid;gap:4px;min-width:0}
.guide-epiphany-name{font-size:13px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.guide-epiphany-info small{font-size:11px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
@media(max-width:520px){.guide-epiphany-row{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px}.guide-epiphany-name{font-size:12px}}

.ps-auth-trigger{border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--ink);padding:8px 13px;font-size:12px;font-weight:700;cursor:pointer}
.ps-auth-trigger:focus-visible,.ps-auth-panel button:focus-visible,.ps-auth-panel input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ps-auth-dialog[hidden]{display:none!important}
.ps-auth-dialog{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:16px}
.ps-auth-overlay{position:absolute;inset:0;background:rgba(5,8,13,.78)}
.ps-auth-panel{position:relative;max-width:470px;width:100%;max-height:min(90dvh,780px);overflow:auto;border:1px solid var(--line);border-radius:20px;padding:22px;background:var(--panel);color:var(--ink);box-shadow:0 30px 90px #0008}
.ps-auth-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.ps-auth-head h2{margin:5px 0 0;font-size:21px}
.ps-auth-close{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:10px;width:34px;height:34px;cursor:pointer}
.ps-auth-panel p{line-height:1.55;font-size:12px;color:var(--muted)}
.ps-auth-form{display:grid;gap:11px;margin:15px 0}
.ps-auth-field{display:grid;gap:5px;font-weight:650;font-size:12px}
.ps-auth-field input{min-height:40px;border-radius:10px;border:1px solid var(--line);background:var(--soft);color:var(--ink);padding:9px}
.ps-auth-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}
.ps-auth-actions button{border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:10px;padding:10px 12px;cursor:pointer;font-size:12px}
.ps-auth-actions button.primary{background:var(--accent);color:#121b15;font-weight:800}
.ps-auth-status{border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.ps-auth-email{font-weight:800;overflow-wrap:anywhere;font-size:13px}
.ps-auth-error{color:#f5aaaa!important}
.ps-auth-panel [disabled]{opacity:.48;cursor:not-allowed}
@media(max-width:690px){.ps-auth-trigger{padding:8px 9px;font-size:11px}.ps-auth-panel{padding:16px}.topline .header-right{gap:5px}}
/* PULLSPACE_MOBILE_ACCOUNT_VISIBLE_V19 */
@media(max-width:1100px){
 .topline .header-right{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;margin-left:auto;min-width:0}
 .topline .header-right .offline-indicator{display:none}
}
@media(max-width:480px){
 .topline .header-right .ps-auth-trigger{white-space:nowrap;min-height:36px;padding:8px 10px}
}

/* Pullspace UX v20 */
.ps-health-panel,.ps-cross-game,.ps-import-preview{padding:21px 23px;min-width:0}
.ps-health-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:15px}
.ps-health-head h2{font-size:18px;letter-spacing:-.4px;margin:5px 0 0}
.ps-health-badge{font-size:10px;font-weight:800;color:var(--ink);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:8px 11px}
.ps-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}
.ps-health-grid>div{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}
.ps-health-grid strong{font-weight:900;font-size:15px;display:block;overflow-wrap:anywhere}
.ps-health-grid small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.ps-health-panel .subtle-note,.ps-import-preview .subtle-note{line-height:1.7;margin-bottom:12px}
.ps-game-summary{display:grid;gap:6px}
.ps-game-row{display:grid;grid-template-columns:minmax(170px,2fr) repeat(3,minmax(90px,1fr));align-items:center;gap:10px;text-align:left;border:1px solid var(--line);background:var(--soft);border-radius:10px;padding:12px;color:var(--ink);font-size:12px}
.ps-game-row:hover{border-color:var(--accent)}
.ps-game-row small{color:var(--muted)}
.ps-import-preview{margin-bottom:18px}
#ps-nav-toggle{display:none}
@media(max-width:780px){
 .mainnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:2px;overflow:visible;border-radius:14px}
 .mainnav:not(.ps-expanded)>.navlink:nth-child(n+5){display:none}
 .mainnav.ps-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mainnav.ps-expanded>.navlink{display:block}
 .mainnav>.navlink{min-width:0;white-space:normal;padding:11px 3px}
 .mainnav>#ps-nav-toggle{display:block;font-size:11px;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--ink);font-weight:800;padding:9px 3px}
 .ps-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ps-game-row{grid-template-columns:1fr 1fr}
 .ps-game-row strong{grid-column:1/-1}
}

/* v21: cloud comparison and backup visibility */
.ps-sync-compare{margin:14px 0;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--ink)}
.ps-sync-compare>strong{font-size:13px}
.ps-sync-compare p{font-size:11px;line-height:1.5;color:var(--muted)}
.ps-sync-row{display:grid;grid-template-columns:minmax(0,1fr) 66px 66px;gap:6px;font-size:11px;padding:7px 1px;border-top:1px solid var(--line)}
.ps-sync-row b{text-align:right}.ps-sync-head{font-size:10px;color:var(--muted);font-weight:800}

/* v25 safety and responsive cleanup */
.ps-health-compact{padding:16px 20px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ps-health-compact strong{display:block;margin:7px 0;font-size:14px}
.ps-health-compact p{font-size:11px;line-height:1.5;color:var(--muted)}
.ps-demo-dialog{background:#1b222d;color:#e9eef1;border:1px solid #596575;border-radius:18px;max-width:min(94vw,510px);width:100%;padding:25px;box-shadow:0 20px 70px #0008}
.ps-demo-dialog::backdrop{background:#0b111bc9}
.ps-demo-dialog h2{font-size:22px;margin:12px 0}
.ps-demo-dialog p{color:#b9c7cf;font-size:13px;line-height:1.6}
.ps-demo-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:19px 0}
.ps-demo-stats>div{background:#293440;border-radius:12px;padding:12px}
.ps-demo-stats strong,.ps-demo-stats small{display:block}
.ps-demo-stats strong{font-size:19px}.ps-demo-stats small{font-size:10px;color:#b6c1ca}
.ps-demo-samples{display:grid;gap:8px;margin-bottom:20px}
.ps-demo-samples>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;border-bottom:1px solid #46525d;padding:8px 1px;font-size:11px}
.ps-demo-samples span{color:#bbc9d0}
@media(max-width:780px){.ps-health-compact{align-items:stretch;flex-direction:column}.topline .header-right{display:flex;flex:0 0 auto;min-width:0;margin-left:auto}.mainnav{max-width:100%}}

/* Endfield region-based countdowns: precise times without guessing the user's server. */
.endfield-region-countdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0 0}
.endfield-region-countdowns>span{min-width:0;background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-size:10px;color:var(--ink)}
.endfield-region-countdowns b,.endfield-region-countdowns strong{display:block;overflow-wrap:anywhere}
.endfield-region-countdowns b{font-size:10px;margin-bottom:4px}
@media(max-width:540px){.endfield-region-countdowns{grid-template-columns:1fr}}

/* v31 guide contrast and gentle interaction feedback */
.guide-tabs button.active,.guide-tabs button[aria-selected="true"]{background:var(--ink);color:#12212c!important;text-shadow:none}
.guide-tabs button:focus-visible{outline:2px solid #88b361;outline-offset:2px}
.guide-tabs button,.btn,.navlink,.guide-chip,.guide-list-entry{transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease}
@media(hover:hover){.btn:not(:disabled):hover,.guide-list-entry:hover{transform:translateY(-2px)}.guide-tabs button:not(.active):hover{background:#e6ece8;color:#26313a}.guide-chip:hover{filter:brightness(.98)}}
.btn:active,.guide-tabs button:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){.guide-tabs button,.btn,.navlink,.guide-chip,.guide-list-entry{transition:none!important;transform:none!important}}

/* Guide tab crossfade and artwork loading states — v32 */
@keyframes ps-guide-out{from{opacity:1}to{opacity:.24}}
@keyframes ps-guide-in{from{opacity:.24}to{opacity:1}}
.guide-detail.ps-guide-fade-out{animation:ps-guide-out 75ms ease-in forwards}
.guide-detail.ps-guide-fade-in{animation:ps-guide-in 145ms ease-out both}
.guide-hub .ps-guide-art-loading{position:relative;isolation:isolate;overflow:hidden;background:#e6ebe7}
.guide-hub .ps-guide-art-loading::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:linear-gradient(100deg,#e3e9e4 10%,#f7faf7 45%,#e3e9e4 80%);background-size:200% 100%;animation:ps-art-shimmer 1.15s ease-in-out infinite}
.guide-hub .ps-guide-art-loading img{opacity:0}
@keyframes ps-art-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.guide-detail.ps-guide-fade-out,.guide-detail.ps-guide-fade-in{animation:none!important}.guide-hub .ps-guide-art-loading::after{animation:none!important;background:#e9eeea!important}}

/* Pullspace v33: compact, accessible browser-only Help Assistant. */
.ps-help-launcher,.ps-help-panel{font-family:inherit;box-sizing:border-box}
.ps-help-launcher{position:fixed;right:20px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:1800;display:inline-flex;align-items:center;gap:9px;min-height:47px;padding:8px 17px 8px 9px;border:1px solid #223b4a;border-radius:999px;background:#1e3442;color:white;box-shadow:0 6px 24px #101e2f40;cursor:pointer;font-weight:800;font-size:13px;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
.ps-help-launcher:hover{transform:translateY(-2px);background:#29495c;box-shadow:0 9px 28px #101e2f50}
.ps-help-launcher:active{transform:translateY(1px)}
.ps-help-mark{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#dcf2a1;color:#162936;font-size:19px;font-weight:900}
.ps-help-panel{position:fixed;right:18px;bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:1810;width:min(374px,calc(100vw - 28px));max-height:min(76dvh,650px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #d6e0dc;border-radius:18px;background:#fff;color:#1c323d;box-shadow:0 14px 45px #14242b35}
.ps-help-panel[hidden],.ps-help-detail[hidden],.ps-help-topic-list[hidden],.ps-help-search-wrap[hidden],.ps-help-count[hidden]{display:none!important}
.ps-help-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:17px 18px 12px;background:#eff5ef}
.ps-help-heading-copy{min-width:0}
.ps-help-eyebrow{font-size:10px;letter-spacing:.09em;font-weight:850;color:#466559}
.ps-help-heading-copy h2{font-size:19px;color:#203943;letter-spacing:-.025em;margin:3px 0 3px;line-height:1.2}
.ps-help-heading-copy p{color:#62747a;margin:0;font-size:11px;line-height:1.45}
.ps-help-close{border:0;background:#dce7e0;color:#263f49;width:32px;height:32px;border-radius:50%;font-size:25px;cursor:pointer;display:grid;place-items:center;flex:none}
.ps-help-search-wrap{padding:14px 17px 4px}
.ps-help-search-label{display:block;font-size:11px;font-weight:750;color:#456069;margin-bottom:7px}
.ps-help-search{width:100%;box-sizing:border-box;border:1px solid #d3e0d7;background:#fff;color:#1c323d;padding:11px 12px;border-radius:10px;font-size:13px;min-height:42px}
.ps-help-search::placeholder{color:#7b8d8e}
.ps-help-count{margin:7px 17px 6px;color:#677e7d;font-size:10px}
.ps-help-topic-list,.ps-help-detail{padding:4px 13px 13px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.ps-help-topic-list{display:grid;align-content:start;gap:7px}
.ps-help-topic{border:1px solid #e3eae5;border-radius:11px;background:#f8faf8;color:#203943;padding:11px 12px;display:flex;align-items:center;gap:8px;justify-content:space-between;text-align:left;cursor:pointer;width:100%}
.ps-help-topic:hover,.ps-help-topic:focus-visible{border-color:#aac9b4;background:#f0f6ee}
.ps-help-topic-copy{min-width:0;display:grid;gap:3px}
.ps-help-topic strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.ps-help-topic small{font-size:10px;color:#657779}
.ps-help-topic-arrow{color:#55746a;font-size:23px;flex:none}
.ps-help-detail{padding:14px 19px 15px}
.ps-help-back{background:transparent;border:0;color:#285c50;text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:11px;padding:5px 1px}
.ps-help-detail-title{font-size:17px;line-height:1.25;color:#203943;margin:12px 0 14px}
.ps-help-steps{display:grid;gap:11px;padding-left:21px;font-size:12px;line-height:1.55;color:#364b51}
.ps-help-steps li{padding-left:3px}
.ps-help-go{width:100%;border:0;border-radius:10px;min-height:42px;cursor:pointer;background:#264d3e;color:#fff;font-weight:800;margin-top:13px}
.ps-help-go:hover{background:#34614e}
.ps-help-footer{border-top:1px solid #e5ebe5;background:#fbfcfb;padding:12px 17px 14px}
.ps-help-footer p{margin:0 0 7px;color:#3a565c;font-size:11px}
.ps-help-full-link{display:inline-flex;font-size:12px;color:#1c5a47;font-weight:850}
.ps-help-footer .ps-help-contact-note{font-size:10px;color:#667a7c;line-height:1.45;margin:7px 0 0}
.ps-help-no-results{font-size:12px;color:#657779;line-height:1.5;padding:9px 4px}
.ps-help-panel :is(button,input,a):focus-visible,.ps-help-launcher:focus-visible{outline:3px solid #71aa74;outline-offset:2px}
@media(max-width:480px){.ps-help-launcher{right:14px;bottom:calc(13px + env(safe-area-inset-bottom,0px))}.ps-help-panel{right:10px;width:calc(100vw - 20px);bottom:calc(73px + env(safe-area-inset-bottom,0px));max-height:min(75dvh,620px)}}
@media(prefers-reduced-motion:reduce){.ps-help-launcher{transition:none!important;transform:none!important}}


/* v43: visible core tabs, accessible More menu and correct dark-on-light selected states. */
.mainnav.ps-nav-v43{position:relative;max-width:none;min-width:0;overflow:visible;gap:4px;flex-shrink:1}
.mainnav.ps-nav-v43>.navlink{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:10px clamp(6px,.8vw,13px)}
.mainnav.ps-nav-v43>.navlink.active,
.mainnav.ps-nav-v43 .ps-nav-more-menu>.navlink.active{
  background:#f4f6fa!important;color:#182432!important;
  border-color:#d9e1e9!important;box-shadow:0 2px 9px rgba(0,0,0,.11)
}
.mainnav.ps-nav-v43>#ps-nav-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;min-height:36px;min-width:80px;padding:9px 12px;
  background:#222a35;color:#e8ebf1;border:1px solid #3a4857;
  border-radius:9px;font-weight:790;font-size:11px;cursor:pointer;white-space:nowrap
}
.mainnav.ps-nav-v43>#ps-nav-toggle:hover,
.mainnav.ps-nav-v43>#ps-nav-toggle[aria-expanded="true"]{border-color:var(--accent);color:#f2f7fa}
.mainnav.ps-nav-v43>#ps-nav-toggle.ps-nav-has-active{background:#f4f6fa;color:#182432!important;border-color:#d9e1e9}
.mainnav.ps-nav-v43>.ps-nav-more-menu{
  display:none;position:absolute;z-index:90;top:calc(100% + 9px);right:0;
  width:205px;min-width:205px;padding:7px;flex-direction:column;gap:3px;
  border-radius:14px;border:1px solid #3a4553;background:#1c232e;
  box-shadow:0 15px 38px rgba(0,0,0,.4)
}
.mainnav.ps-nav-v43.ps-expanded>.ps-nav-more-menu{display:flex}
.mainnav.ps-nav-v43 .ps-nav-more-menu>.navlink{
  flex:0 0 auto;min-width:0;width:100%;display:block;text-align:left;
  padding:11px 13px;border-radius:9px;white-space:normal;
  font-size:12px;color:#cad1db;background:transparent
}
.mainnav.ps-nav-v43 .ps-nav-more-menu>.navlink:not(.active):hover{background:#2a3542;color:#f3f6fa}
.mainnav.ps-nav-v43 .navlink:focus-visible,
.mainnav.ps-nav-v43 #ps-nav-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.collection-tab.active,.guide-chip.active,
.guide-tabs button.active,.guide-tabs button[aria-selected="true"]{
  background:#f4f6fa!important;
  color:#182432!important;
  border-color:#d9e1e9!important;
  text-shadow:none!important
}
@media(max-width:780px){
 .mainnav.ps-nav-v43{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;overflow:visible}
 .mainnav.ps-nav-v43:not(.ps-expanded)>.navlink:nth-child(n+5){display:none}
 .mainnav.ps-nav-v43:not(.ps-expanded)>.ps-nav-more-menu{display:none}
 .mainnav.ps-nav-v43.ps-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mainnav.ps-nav-v43.ps-expanded>.navlink{display:block}
 .mainnav.ps-nav-v43.ps-expanded>.ps-nav-more-menu{display:contents}
 .mainnav.ps-nav-v43>.navlink{min-width:0;white-space:normal;display:block;padding:10px 3px;font-size:11px;flex:auto}
 .mainnav.ps-nav-v43 .ps-nav-more-menu>.navlink{
  min-width:0;width:100%;display:block;text-align:center;padding:10px 3px;
  font-size:11px;background:transparent;white-space:normal
 }
 .mainnav.ps-nav-v43>#ps-nav-toggle{
  min-width:0;min-height:38px;white-space:normal;padding:9px 3px;
  border-radius:10px;background:var(--soft);color:var(--ink);font-size:11px
 }
 .mainnav.ps-nav-v43>#ps-nav-toggle[aria-expanded="true"]{color:var(--accent);background:#262c36}
 .mainnav.ps-nav-v43>#ps-nav-toggle.ps-nav-has-active{background:#f4f6fa;color:#182432!important}
}
