/* Desktop composition: independent navigation and split discovery hero. */
.mobile-only{display:none}
:root[data-layout=desktop] .desktop-only{display:block}
:root[data-layout=mobile] .desktop-only{display:none}
.desktop-notice{background:var(--dark);color:#dae4f8;font-size:10px;letter-spacing:.6px}
.desktop-notice .container{min-height:35px;display:flex;align-items:center;gap:20px}
.desktop-notice .container>span:first-child{font:9px/1.6 ui-monospace,monospace;letter-spacing:1.6px;color:#abb8d3}
.desktop-notice .container>span:nth-child(2){padding-left:20px;border-left:1px solid #46516b}
.desktop-notice a{display:inline-flex;align-items:center;gap:7px;margin-left:auto;min-height:35px;color:#e3eafb}
.desktop-notice a:hover{color:#fff}.desktop-notice svg{width:13px;height:13px}
.desktop-header{background:var(--header-tint);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);position:relative;z-index:15}
.desktop-topbar{min-height:86px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}
.desktop-topbar>.brand{justify-self:start}.desktop-topbar>.header-actions{justify-self:end;gap:18px}
.desktop-navigation{display:flex;align-items:center;gap:30px;font-size:13px}
.desktop-navigation a{display:flex;align-items:center;gap:6px;min-height:48px;color:var(--muted);position:relative}
.desktop-navigation a:hover,.desktop-navigation a.selected{color:var(--text)}
.desktop-navigation a.selected:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;border-radius:2px;background:var(--accent)}
.desktop-navigation svg{width:13px;height:13px}
.desktop-topbar .button{background:var(--accent);color:var(--on-accent);padding-inline:18px;box-shadow:0 4px 16px var(--button-glow)}
.desktop-topbar .button:hover{background:var(--text);color:var(--surface)}
.theme-control{display:inline-flex;align-items:center;gap:8px;border:0;background:none;min-height:46px;padding:0 3px;font-size:10px;color:var(--muted);white-space:nowrap}
.theme-track{position:relative;display:flex;align-items:center;justify-content:space-between;width:58px;height:29px;border:1px solid var(--line);border-radius:16px;padding-inline:6px;background:var(--raised)}
.theme-track>svg{width:14px;height:14px;z-index:2;color:var(--muted)}
.theme-track>i{position:absolute;width:23px;height:23px;top:2px;left:2px;background:var(--surface);border-radius:50%;box-shadow:0 1px 5px #0002;transition:transform .36s cubic-bezier(.2,.7,.2,1),background-color .45s}
:root[data-theme=dark] .theme-track>i{transform:translateX(28px)}
:root[data-theme=dark] .theme-track>svg:last-of-type{color:var(--accent)}
:root[data-theme=light] .theme-track>svg:first-of-type{color:var(--accent)}
.desktop-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.17fr 1fr;gap:50px;min-height:490px;padding:58px 6px 56px;align-items:center;overflow:clip}
:root[data-layout=desktop] .desktop-hero{display:grid}
.hero-wash{position:absolute;inset:-1px 0 -30px;overflow:hidden;pointer-events:none;z-index:-1;mask-image:linear-gradient(#000 75%,transparent);-webkit-mask-image:linear-gradient(#000 75%,transparent)}
.aurora{position:absolute;display:block;border-radius:50%;width:520px;height:520px;filter:blur(48px);opacity:.6}
.aurora-blue{right:-30px;top:-180px;background:radial-gradient(circle,var(--halo-blue),transparent 65%);animation:aurora-flow 15s ease-in-out infinite alternate}
.aurora-violet{right:140px;bottom:-150px;width:400px;height:400px;background:radial-gradient(circle,var(--halo-violet),transparent 68%);animation:aurora-flow 18s ease-in-out -5s infinite alternate-reverse}
.hero-grid{position:absolute;inset:0;background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:40px 40px;opacity:.3;mask-image:radial-gradient(ellipse at 80% 40%,#000,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 80% 40%,#000,transparent 70%)}
.hero-eyebrow{display:flex;align-items:center;gap:9px;color:var(--muted);font:9px/1.7 ui-monospace,monospace;letter-spacing:1.7px;margin-bottom:24px}
.hero-eyebrow>span{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 11px var(--button-glow)}
.desktop-hero h1{font-size:clamp(40px,4vw,56px);line-height:1.3;letter-spacing:-2.1px;margin-bottom:23px;font-weight:750}
.gradient-text{color:var(--accent);background:linear-gradient(110deg,var(--gradient-a),var(--gradient-b),var(--gradient-c));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-description{font-size:15px;line-height:1.95;color:var(--muted);margin-bottom:28px}
.hero-cta{display:flex;align-items:center;gap:26px}.hero-cta .button{background:var(--accent);color:var(--on-accent);padding-inline:24px;min-height:50px;box-shadow:0 6px 20px var(--button-glow)}
.hero-cta .button:hover{background:var(--text);color:var(--surface)}
.hero-channel{display:flex;align-items:center;gap:8px;min-height:48px;font-size:12px;color:var(--muted)}.hero-channel svg{width:18px;height:18px;color:var(--accent)}
.hero-version{display:flex;align-items:center;gap:9px;font:10px/1.6 ui-monospace,monospace;color:var(--muted);margin-top:19px}.hero-version i{height:3px;width:3px;background:var(--line-strong);border-radius:50%}
.desktop-hero-copy{position:relative;z-index:2}
.desktop-hero-art{position:relative;min-width:0;min-height:375px;display:flex;align-items:center;justify-content:center;--art-x:0px;--art-y:0px}
.light-orbit{position:absolute;border:1px solid var(--orbit-line);width:390px;height:260px;border-radius:50%;transform:rotate(-25deg);pointer-events:none}
.orbit-b{width:340px;height:355px;transform:rotate(32deg);border-color:var(--line);opacity:.6}
.discovery-panel{position:relative;z-index:1;width:min(100%,330px);padding:22px;border-radius:18px;border:1px solid var(--glass-border);background:var(--glass-surface);box-shadow:0 24px 75px var(--panel-shadow),inset 0 1px var(--glass-border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transform:translate(var(--art-x),var(--art-y)) rotate(-4deg);transition:transform .5s cubic-bezier(.2,.7,.2,1);will-change:transform}
.discovery-head{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;min-height:33px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.panel-mark{display:grid;place-items:center;background:var(--accent);color:var(--on-accent);width:28px;height:28px;border-radius:8px;font-size:18px;font-weight:750;line-height:1;letter-spacing:-1px;padding-right:2px}.panel-online{margin-left:auto;width:5px;height:5px;border-radius:50%;background:var(--green)}
.discovery-main{padding:21px 0 22px}.discovery-main>span{font-size:11px;color:var(--muted)}.discovery-main strong{display:block;font:450 66px/1.3 ui-monospace,monospace;letter-spacing:-4px;color:var(--text)}.discovery-main small{color:var(--muted);font-size:10px}
.discovery-tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px}.discovery-tiles>div{background:var(--raised);border:1px solid var(--line);padding:12px 11px;border-radius:8px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.discovery-tiles svg{color:var(--accent);width:17px;height:17px}.discovery-tiles span{color:var(--muted);font-size:10px;grid-column:1/-1;grid-row:2}.discovery-tiles b{font:500 17px/1.4 ui-monospace,monospace;grid-column:2;grid-row:1}
.discovery-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:16px;font-size:9px;color:var(--muted)}.discovery-bottom svg{width:15px;height:15px;color:var(--accent)}
.art-stamp{position:absolute;right:0;bottom:1px;color:var(--subtle);font:8px/1.6 ui-monospace,monospace;letter-spacing:1.7px;text-align:right}
:root[data-layout=desktop] .library{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:30px;padding-top:50px;align-items:start}
:root[data-layout=desktop] .section-heading{grid-column:1/-1;grid-row:1}
:root[data-layout=desktop] .search-row{grid-column:2;grid-row:2;margin-top:23px}
:root[data-layout=desktop] .filter-help{grid-column:2;grid-row:3}
:root[data-layout=desktop] .category-section{grid-column:1;grid-row:2/9;display:block;margin-top:23px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:14px 12px}
:root[data-layout=desktop] .filter-label{display:block;font-size:10px;padding:0 7px 12px}
:root[data-layout=desktop] .category-chips{display:flex;flex-direction:column;gap:5px}
:root[data-layout=desktop] .category-chip{width:100%;border:0;border-radius:5px;background:transparent;min-height:44px;padding:9px 9px;gap:5px;font-size:12px;justify-content:space-between}
:root[data-layout=desktop] .category-chip:last-child{font-size:10px;line-height:1.7}
:root[data-layout=desktop] .category-chip:hover{background:var(--raised)}
:root[data-layout=desktop] .category-chip[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}
:root[data-layout=desktop] .category-chip[aria-pressed=true] span{color:var(--accent)}
:root[data-layout=desktop] .filter-panel{grid-column:2;grid-row:4;gap:18px;margin-top:12px;padding-block:10px 14px}
:root[data-layout=desktop] .game-field select{width:150px}
:root[data-layout=desktop] .results-toolbar{grid-column:2;grid-row:5}
:root[data-layout=desktop] .active-filters{grid-column:2;grid-row:6}
:root[data-layout=desktop] .resource-grid,:root[data-layout=desktop] .empty-state,:root[data-layout=desktop] .error-state{grid-column:2;grid-row:7}
:root[data-layout=desktop] .load-area{grid-column:2;grid-row:8}
:root[data-layout=desktop] .resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
:root[data-layout=desktop] .resource-preview{height:145px}
:root[data-layout=desktop] .resource-body{padding:16px 15px 0}
:root[data-layout=desktop] .resource-footer{padding:12px 15px}
:root[data-layout=desktop] .resource h3{font-size:14px}
:root[data-layout=desktop] .resource-description{font-size:11px;min-height:41px}
:root[data-layout=desktop] .resource-tag{font-size:9px;padding:2px 5px}
:root[data-layout=desktop] .filter-toggle{display:none}
@media(max-width:1099px){.desktop-topbar{gap:18px}.desktop-navigation{gap:20px}.desktop-topbar>.header-actions{gap:10px}.theme-control>[data-theme-label]{display:none}.desktop-hero{gap:30px;padding-inline:0;min-height:445px}.desktop-hero h1{font-size:42px;letter-spacing:-1.7px}.hero-cta{gap:18px}.hero-channel{font-size:11px}.desktop-hero-art{min-height:340px}.discovery-panel{width:290px;padding:20px}.light-orbit{width:335px}.orbit-b{width:310px;height:330px}:root[data-layout=desktop] .library{grid-template-columns:165px minmax(0,1fr);column-gap:22px}:root[data-layout=desktop] .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}:root[data-layout=desktop] .filter-panel{gap:12px;flex-wrap:wrap}:root[data-layout=desktop] .game-field select{width:135px}}
@media(min-width:1500px){.desktop-hero{min-height:530px}.desktop-hero h1{font-size:60px}.desktop-hero-art{min-height:400px}.discovery-panel{width:350px}.light-orbit{width:430px;height:290px}.orbit-b{width:390px;height:390px}:root[data-layout=desktop] .library{grid-template-columns:205px minmax(0,1fr);column-gap:32px}:root[data-layout=desktop] .resource-preview{height:165px}}
@media(prefers-reduced-motion:reduce){.discovery-panel{will-change:auto;transform:rotate(-4deg)}.aurora{animation:none}}
@media(max-width:819px){html:not([data-layout]) .desktop-only{display:none}}
