/* Floating portal layout, inspired by the supplied neon reference. */
:root{--sidebar:0px}
.content-shell{margin-left:0;padding-top:112px;min-height:100vh;overflow-x:clip}
.sidebar{position:fixed;inset:24px auto auto 50%;transform:translateX(-50%);width:auto;max-width:calc(100vw - 32px);height:66px;min-height:0;padding:8px 12px;display:flex;flex-direction:row;align-items:center;gap:10px;border:1px solid rgb(var(--accent-rgb)/.36);border-radius:23px;background:linear-gradient(120deg,rgb(var(--accent-rgb)/.20),rgb(var(--bg-rgb)/.78));box-shadow:inset 0 1px 0 #ffffff22,0 8px 38px #0004,0 0 30px rgb(var(--secondary-rgb)/.09);backdrop-filter:blur(20px);z-index:30}
.sidebar .brand{margin:0 7px 0 0;gap:0;flex-shrink:0;padding-right:12px;border-right:1px solid rgb(var(--accent-rgb)/.22)}
.sidebar .brand>span:last-child{display:none}.sidebar .brand-mark{height:37px;width:35px;border-radius:11px;font-size:34px;line-height:35px;padding-left:6px;transform:none;box-shadow:0 0 17px rgb(var(--accent-rgb)/.28)}
.sidebar .nav-label,.sidebar .side-note,.sidebar .sidebar-footer{display:none}
.sidebar nav{display:flex;flex-direction:row;gap:5px;width:auto}
.sidebar nav a,.sidebar .settings-nav{height:46px;min-height:46px;width:46px;justify-content:center;align-items:center;gap:0;padding:0;border-radius:13px;position:relative}
.sidebar nav a>span:not(:first-child),.sidebar .settings-nav>span:not(:first-child){display:none}
.sidebar nav a .icon,.sidebar .settings-nav .icon{height:21px;width:21px}
.sidebar nav a.active:before{display:none}
.sidebar nav a.active,.sidebar .settings-nav.active{background:rgb(var(--accent-rgb)/.20);box-shadow:inset 0 1px 0 #ffffff19,0 0 18px rgb(var(--accent-rgb)/.13);color:var(--accent)}
.sidebar .sidebar-bottom{margin:0;padding:0;width:auto;display:contents}
.topbar{position:absolute;inset:22px 28px auto;border:0;min-height:66px;height:66px;padding:0;background:none;backdrop-filter:none;pointer-events:none;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar>div{pointer-events:auto}.topbar>div:first-child{max-width:220px;flex-basis:auto}.topbar #page-label{font-size:10px;letter-spacing:1.4px;color:var(--muted)}
.topbar .topbar-right{margin-left:auto;gap:14px!important;width:auto;padding:10px 14px;border:1px solid rgb(var(--accent-rgb)/.12);border-radius:16px;background:rgb(var(--bg-rgb)/.46);backdrop-filter:blur(14px)}
.topbar .preview-tag,.topbar .profile-icon{display:none}.device-status{width:auto;gap:13px;justify-content:initial}.device-clock{align-items:flex-end;min-width:100px}.device-clock time{font-size:12px}.device-clock small{font-size:9px}.device-battery{padding-left:12px}
main{max-width:1340px;padding:0 48px 42px}.page-footer{padding:25px 48px;margin-top:25px;background:rgb(var(--bg-rgb)/.38);border-color:rgb(var(--accent-rgb)/.10)}
.portal-hero{display:flex;justify-content:center;align-items:center;min-height:calc(100svh - 137px);border:0;gap:0;margin:0 auto;text-align:center;width:100%;isolation:isolate}
.portal-hero .hero-copy{width:min(720px,100%);padding:60px 0 105px;display:flex;flex-direction:column;align-items:center}
.portal-hero .eyebrow{font-size:10px;letter-spacing:3px;color:var(--accent);opacity:.72;margin-bottom:19px;text-shadow:0 0 20px rgb(var(--accent-rgb)/.25)}
.portal-hero h1{display:flex;justify-content:center;align-items:center;gap:18px;font-size:100px;font-weight:750;letter-spacing:-6px;line-height:1.05;margin:0 0 17px;color:#fff;filter:drop-shadow(0 0 28px rgb(var(--secondary-rgb)/.13))}
.portal-hero h1 .portal-wordmark{color:#fff;display:inline-flex;align-items:baseline;text-shadow:0 0 3px #fff3,0 0 28px rgb(var(--accent-rgb)/.2)}
.portal-wordmark-dot{color:var(--accent);letter-spacing:-7px}
.portal-brand-symbol{display:inline-grid;place-items:center;width:64px;height:69px;border:3px solid rgb(var(--accent-rgb)/.75);border-radius:20px;color:var(--accent);font-size:60px;font-weight:850;line-height:1;letter-spacing:-4px;padding:0 6px 4px 0;box-shadow:inset 0 0 18px rgb(var(--accent-rgb)/.13),0 0 20px rgb(var(--accent-rgb)/.25);transform:rotate(-6deg)}
.portal-hero .hero-copy>p{font-size:14px;color:var(--accent);margin-bottom:42px;max-width:none;text-shadow:0 0 12px rgb(var(--accent-rgb)/.25)}
#home-search-slot{width:min(680px,100%)}
.hero-search{height:58px;border-radius:100px;position:relative;margin:auto;max-width:none;width:100%;padding:7px 9px 7px 22px;gap:13px;border:1px solid rgb(var(--accent-rgb)/.56);background:linear-gradient(115deg,rgb(var(--accent-rgb)/.14),rgb(var(--bg-rgb)/.62));box-shadow:inset 0 1px 0 #ffffff12,0 0 0 4px rgb(var(--accent-rgb)/.025),0 0 25px rgb(var(--secondary-rgb)/.14);backdrop-filter:blur(12px)}
.hero-search input{font-size:14px;letter-spacing:0;color:var(--text);position:relative;z-index:1}.hero-search input::placeholder{color:#e9e3f1b3}.hero-search>.icon{height:18px;width:18px;color:#fff;position:relative;z-index:1}.hero-search kbd{height:20px;width:20px;border-radius:6px;color:var(--muted);background:rgb(var(--bg-rgb)/.45);border-color:rgb(var(--accent-rgb)/.2)}
.hero-search .search-submit{height:40px;width:40px;min-width:40px;border-radius:50%;background:rgb(var(--accent-rgb)/.12);color:var(--accent);border:1px solid rgb(var(--accent-rgb)/.2);position:relative;z-index:1}.hero-search .search-submit:hover{background:var(--accent);color:var(--accent-ink);box-shadow:0 0 16px rgb(var(--accent-rgb)/.35)}
.hero-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgb(var(--accent-rgb)/.07),0 0 32px rgb(var(--secondary-rgb)/.2)}
.search-string-lights{position:absolute;inset:1px 18px;pointer-events:none;border-top:1px solid rgb(var(--accent-rgb)/.24);border-bottom:1px solid rgb(var(--accent-rgb)/.24);border-radius:50px;z-index:2}
.search-string-lights i{position:absolute;left:calc(var(--bulb-index)*100%/17);top:-3px;height:4px;width:3px;border-radius:50%;color:var(--bulb-color);background:var(--bulb-color);box-shadow:0 0 4px currentColor,0 0 9px currentColor;transform:rotate(12deg);animation:bulb-glow 3.6s ease-in-out infinite alternate;animation-delay:calc(var(--bulb-index)*-190ms)}
.search-string-lights i[data-row='1']{top:auto;bottom:-3px;transform:rotate(-12deg);animation-direction:alternate-reverse}
@keyframes bulb-glow{from{opacity:.64;box-shadow:0 0 3px currentColor,0 0 6px currentColor}to{opacity:1;box-shadow:0 0 5px currentColor,0 0 12px currentColor}}
.portal-hero .search-meta{width:min(650px,100%);margin-top:17px;font-size:11px;color:var(--muted);padding:0 8px}.portal-hero .search-meta>span:first-child{opacity:.8}.portal-hero .search-meta>span:last-child{display:flex}.portal-hero .search-meta kbd{height:17px;width:17px;font-size:9px}
.quick-links{max-width:850px;margin:0 auto 58px;gap:14px}.quick-links button{background:rgb(var(--bg-rgb)/.55);border-color:rgb(var(--accent-rgb)/.16);backdrop-filter:blur(12px);border-radius:13px;padding:14px;font-size:12px;box-shadow:0 6px 25px #0002}.quick-links button:hover{border-color:rgb(var(--accent-rgb)/.5);background:rgb(var(--accent-rgb)/.10)}
.games-section,.home-bottom{max-width:1180px;margin-left:auto;margin-right:auto}.games-section{padding:26px;border:1px solid rgb(var(--accent-rgb)/.14);border-radius:20px;background:rgb(var(--bg-rgb)/.72);backdrop-filter:blur(12px)}
.section-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.section-heading h2{font-size:25px;letter-spacing:-.8px}.game-grid{gap:18px;grid-template-columns:repeat(6,minmax(0,1fr))}.featured-grid>.game-card:nth-child(n){display:block}.game-cover{border-radius:13px;aspect-ratio:1.18}.game-info{gap:4px}.game-name{font-size:12px}.game-subline{font-size:10px}.game-card .favorite-button{height:33px;width:33px;border-radius:9px}.catalog-note{font-size:11px;line-height:1.8;margin-top:24px}.home-bottom{margin-top:25px;border-radius:18px}.recent-section{margin-top:28px}.page-intro{margin:24px 0 30px}.page-intro h1{font-size:39px}.library-page,.settings-page{margin:0 auto}.settings-page{max-width:940px}.settings-panel,.appearance-panel,.cloak-panel{background:rgb(var(--bg-rgb)/.74);backdrop-filter:blur(14px);border-color:rgb(var(--accent-rgb)/.17);border-radius:18px}.browser-page{padding-top:24px}.browser-window{border-radius:17px;border-color:rgb(var(--accent-rgb)/.24);box-shadow:0 20px 70px #0004}.browser-frame{min-height:440px;height:calc(100svh - 294px)}.browser-toolbar{background:rgb(var(--bg-rgb)/.9);padding:11px}.browser-heading h1{font-size:29px}.toast{left:50%;max-width:min(90vw,600px);border-radius:12px}
.source-badge{display:inline-flex;align-items:center;align-self:flex-start;gap:5px;font-size:9px;font-weight:500;line-height:1.5;padding:3px 6px;border:1px solid rgb(255 255 255/.09);border-radius:5px;color:var(--muted);background:rgb(var(--bg-rgb)/.65)}
.source-badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.source-reachable{color:#a9e2c1}.source-unavailable{color:#f7a4b1}.source-restricted,.source-needs-review{color:#e4c891}.source-audit-summary{font-size:12px;line-height:1.8;padding:14px 16px;border:1px solid rgb(var(--accent-rgb)/.13);border-radius:10px;color:var(--muted);background:rgb(var(--bg-rgb)/.5);margin:18px 0 0}.source-filter-control{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.library-toolbar{gap:16px;flex-wrap:wrap}.library-search{min-width:230px}.sort-control{margin-left:auto}.source-filter-control select{min-width:155px}.library-disclaimer{font-size:11px;color:var(--muted)}
.theme-preview[data-style='contours']{background:radial-gradient(ellipse at 75% 85%,color-mix(in srgb,var(--preview-secondary) 35%,transparent),transparent 65%),var(--preview-bg)}.theme-preview[data-style='contours']:after{content:'';position:absolute;inset:-65px -30px;border:2px solid var(--preview-secondary);border-radius:43% 57% 38% 62%;transform:rotate(-28deg);box-shadow:0 0 8px var(--preview-secondary),inset 0 0 7px var(--preview-secondary)}
@media(min-width:1650px){.portal-hero h1{font-size:115px}.portal-brand-symbol{width:73px;height:78px;font-size:69px}.portal-hero .hero-copy>p{font-size:15px}.portal-hero .hero-copy{padding-bottom:125px}}
@media(max-width:1180px){.topbar>div:first-child{visibility:hidden}.topbar .topbar-right{padding:9px 10px}.device-battery{padding-left:9px}.device-status{gap:10px}.sidebar{left:30px;transform:none}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.featured-grid>.game-card:nth-child(n+5){display:none}.portal-hero h1{font-size:88px}.portal-brand-symbol{width:58px;height:63px;font-size:55px}.portal-hero .hero-copy{padding:55px 0 95px}}
@media(max-width:760px){.sidebar{left:50%;transform:translateX(-50%);top:18px;height:62px;padding:7px 11px;border-radius:20px;gap:5px}.sidebar .brand{padding-right:10px;margin-right:4px}.sidebar nav{gap:3px}.sidebar nav a,.sidebar .settings-nav{width:43px;height:43px;min-height:43px;border-radius:11px}.sidebar nav a .icon,.sidebar .settings-nav .icon{width:20px;height:20px}.sidebar .brand-mark{width:33px;height:35px;font-size:32px;line-height:32px}.topbar{inset:90px 22px auto;height:50px;min-height:50px;display:block}.topbar>div:first-child{display:none}.topbar .topbar-right{width:fit-content;max-width:100%;margin:0 auto;border:0;padding:0;background:none;backdrop-filter:none}.device-status{gap:13px;width:auto;justify-content:center}.device-clock{min-width:99px;align-items:flex-end;flex-direction:column}.device-clock time{font-size:11px}.device-clock small{font-size:9px}.device-battery{min-height:24px;padding-left:11px}.battery-icon{height:15px;width:23px}#battery-text{font-size:11px}.battery-unavailable #battery-text{font-size:10px}.content-shell{padding-top:148px}main{padding:0 25px 30px}.portal-hero{min-height:calc(100svh - 175px)}.portal-hero .hero-copy{padding:45px 0 85px}.portal-hero h1{font-size:76px;letter-spacing:-4.5px;gap:13px}.portal-brand-symbol{width:51px;height:56px;font-size:48px;border-radius:15px;border-width:2px}.portal-hero .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:17px}.portal-hero .hero-copy>p{font-size:13px;margin-bottom:35px}.hero-search{height:56px;padding-left:17px;gap:10px}.hero-search input{font-size:16px}.hero-search kbd{display:none}.hero-search .search-submit{height:38px;width:38px;min-width:38px}.portal-hero .search-meta{font-size:10px;margin-top:16px;justify-content:center}.portal-hero .search-meta>span:last-child{display:none}.quick-links{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:35px}.quick-links button{padding:12px;font-size:12px}.quick-links button>.icon{display:none}.games-section{padding:19px;border-radius:17px}.section-heading{flex-wrap:wrap;gap:12px}.section-heading h2{font-size:22px}.section-heading .text-link{font-size:12px;margin:0}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.featured-grid>.game-card:nth-child(n){display:block}.game-name{font-size:12px}.game-subline{font-size:10px}.source-badge{font-size:9px}.home-bottom{padding:19px}.page-footer{padding:22px 25px;gap:14px;font-size:11px}.page-footer>span{display:none}.page-intro{margin:20px 0 27px}.page-intro h1{font-size:32px}.page-intro p{font-size:12px}.library-toolbar{gap:13px}.library-search{min-width:0;flex-basis:100%}.sort-control{margin-left:0}.source-filter-control{margin-left:auto;font-size:11px}.source-filter-control select{min-width:0;width:145px;padding:8px;font-size:13px}.source-audit-summary{font-size:11px}.browser-page{padding-top:17px}.browser-heading h1{font-size:26px}.browser-frame{min-height:400px;height:calc(100svh - 350px)}.browser-toolbar{padding:9px}.browser-controls{gap:3px}.browser-toolbar .icon-button{height:37px;width:37px}#browser-address-form{font-size:16px;height:42px}.browser-window{border-radius:13px}.toast{max-width:calc(100vw - 35px);font-size:12px;bottom:18px}.appearance-panel,.cloak-panel{padding:22px}}
@media(max-width:480px){.sidebar{max-width:calc(100vw - 24px);gap:3px;padding:7px 9px}.sidebar nav{gap:2px}.sidebar nav a,.sidebar .settings-nav{height:41px;width:41px;min-height:41px}.sidebar .brand{padding-right:9px;margin-right:3px}.sidebar .brand-mark{width:31px;height:34px;font-size:31px;line-height:31px}.content-shell{padding-top:142px}.topbar{top:86px}main{padding:0 20px 26px}.portal-hero{min-height:calc(100svh - 169px)}.portal-hero .hero-copy{padding:28px 0 80px}.portal-hero h1{font-size:66px;letter-spacing:-4px;gap:11px}.portal-brand-symbol{width:44px;height:49px;font-size:43px;border-radius:13px}.portal-hero .hero-copy>p{font-size:12px;margin-bottom:31px}.portal-hero .eyebrow{font-size:7px;letter-spacing:1.8px}.hero-search{height:54px;gap:9px;padding-left:15px}.hero-search input{font-size:14px;letter-spacing:-.15px}.hero-search>.icon{height:16px;width:16px}.hero-search .search-submit{height:34px;width:34px;min-width:34px}.hero-search .search-submit .icon{width:16px;height:16px}.search-string-lights{inset:1px 15px}.search-string-lights i{height:3.5px;width:2.5px}.quick-links{gap:9px}.quick-links button{font-size:11px;padding:11px}.games-section{padding:17px 14px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}.featured-grid>.game-card:nth-child(n+5){display:none}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.1px}.catalog-note{font-size:10px}.game-cover{aspect-ratio:1.1}.source-badge{padding:3px 5px;font-size:8px}.game-info{gap:3px}.home-bottom p{font-size:11px}.page-footer{padding:20px;font-size:10px}.page-intro h1{font-size:29px}.page-intro .eyebrow{font-size:8px}.library-results .subtle-label{font-size:8px}.source-filter-control{flex-basis:100%;margin-left:0;justify-content:space-between}.source-filter-control select{flex:1;font-size:16px;max-width:215px}.sort-control select{font-size:14px}.browser-heading h1{font-size:25px}.appearance-panel,.cloak-panel{padding:18px 15px}.appearance-heading h2{font-size:21px}.theme-caption strong{font-size:12px}.appearance-color-label strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.search-string-lights i{animation:none}}

/* Keep every destination reachable as the community grows. */
@media(max-width:600px){.sidebar{gap:2px;padding:7px 6px}.sidebar nav{gap:1px}.sidebar nav a,.sidebar .settings-nav{height:38px;width:34px;min-height:38px}.sidebar .brand{display:none}.sidebar nav a .icon,.sidebar .settings-nav .icon{width:17px;height:17px}}
@media(max-width:360px){.sidebar{padding-left:4px;padding-right:4px}.sidebar nav a,.sidebar .settings-nav{width:29px;height:36px;min-height:36px}}
