@font-face{font-family:Manrope;src:url("/manrope.ttf") format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
:root{font-family:Manrope,"Segoe UI",sans-serif;font-size:16px;color-scheme:light;--ink:#252b39;--muted:#606c7e;--line:#75849c30;--panel:#c8cedad9;--solid:#cbd1dd;--control:#aab5c84d;--active:#2b3b50;--active-ink:#f2f6fb;--mint:#5acbb5;--mint-soft:#a6d0c9;--mint-ink:#25675b;--danger:#9f3d55;--art:#aebaca;--bg:#b8c0d0;--shadow:0 6px 22px #2634470c;--scroll-thumb:#7d8ea5;--scroll-track:#aeb9ca;--surface-top:#d1d6e2;--surface-bottom:#c4cddc;--field:#c9d1dfb8;--side-bg:#aab6ca;--side-text:#34475c;--side-muted:#4e627a;--badge-bg:#c9d8e8;--badge-ink:#33455b}
:root[data-text-size="large"]{font-size:20px}
:root[data-theme="dark"]{color-scheme:dark;--ink:#f2f2f2;--muted:#a4a4a4;--line:#ffffff17;--panel:#101010;--solid:#151515;--control:#202020;--active:#2a2a2a;--active-ink:#fff;--mint:#dedede;--mint-soft:#202020;--mint-ink:#e5e5e5;--danger:#ed9ba7;--art:#151515;--bg:#000;--shadow:0 6px 22px #0002;--scroll-thumb:#494949;--scroll-track:#080808;--surface-top:#131313;--surface-bottom:#101010;--field:#111;--side-bg:#050505;--side-text:#ededed;--side-muted:#a4a4a4;--badge-bg:#1b1b1bf2;--badge-ink:#f1f1f1}
*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
::-webkit-scrollbar{width:9px;height:7px}::-webkit-scrollbar-track{background:var(--scroll-track);border-radius:20px}::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:2px solid var(--scroll-track);border-radius:20px}::-webkit-scrollbar-thumb:hover{background:#718ca5}
body{margin:0;color:var(--ink);line-height:1.5;background:var(--bg)}
button,input,select{font:500 .875rem Manrope,"Segoe UI",sans-serif;color:var(--ink)}
button{cursor:pointer;border:1px solid var(--line);border-radius:12px;padding:10px 15px;min-height:42px;background:var(--panel);transition:background .15s,box-shadow .15s,transform .15s}
button:hover{background:var(--control);box-shadow:0 3px 12px #1724440b}button:disabled{opacity:.4;cursor:default;box-shadow:none}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
input,select{min-width:0}input::placeholder{color:var(--muted)}
.primary{background:var(--active);color:var(--active-ink);border-color:transparent}.primary:hover{background:var(--active);filter:brightness(1.15)}.danger{color:var(--danger);background:transparent}.quiet,.text-button{background:transparent;color:var(--muted)}.text-button{border:0;padding:6px 2px;min-height:32px;white-space:nowrap;font-size:.75rem}
.icon,.icon-slot{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;flex-shrink:0}
.icon{background:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.icon-slot>.icon{width:100%;height:100%}.icon-button{width:42px;min-width:42px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;padding:28px 12px 16px;display:flex;flex-direction:column;z-index:3;color:var(--side-text);background:var(--side-bg);border-right:1px solid var(--line);box-shadow:none;isolation:isolate}
.sidebar::before{content:"";position:absolute;inset:0;background:transparent;z-index:-1;pointer-events:none}
.brand{display:flex;align-items:center;gap:12px;padding:0 16px 32px;flex-shrink:0}.logo{height:48px;width:48px;object-fit:contain;border-radius:50%;background:#fff;box-shadow:0 3px 16px #0710183d}.wordmark{font-size:.8125rem;font-weight:800;line-height:1.4;letter-spacing:.8px;max-width:95px}
.side-nav{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.nav-item{position:relative;display:flex;align-items:center;gap:15px;border:0;background:transparent;color:#bdc7d7;text-align:left;padding:13px 17px;min-height:54px;font-size:.875rem;line-height:1.4}.nav-item:hover{background:#ffffff0a;color:#fff}.nav-item.selected{background:linear-gradient(90deg,#20cfa01a,#b0dbe006);color:#fff}.nav-item.selected::before{content:"";position:absolute;inset:8px auto 8px 0;width:4px;border-radius:3px;background:var(--mint);box-shadow:0 0 14px #00e8ad55}.nav-item.selected>.icon-slot{color:#04dc9a;filter:drop-shadow(0 0 7px #00c99844)}.nav-count{margin-left:auto;flex-shrink:0;background:#a1b5c315;border-radius:20px;padding:1px 6px;min-width:24px;text-align:center;font-size:.75rem;color:#ecf2fa}
.headset{flex-shrink:0;margin:26px 9px 14px;padding:12px 13px;border:1px solid #d7e7ff25;border-radius:14px;background:linear-gradient(120deg,#40516c23,#b1b6ec13);box-shadow:0 0 20px #6f77a00a;backdrop-filter:blur(14px);position:relative}
.device-picture{display:block;width:100%;height:88px;object-fit:cover;filter:drop-shadow(0 8px 9px #0004);margin-bottom:8px}.headset-heading{display:flex;justify-content:space-between;align-items:center;gap:7px}.headset-heading strong{font-size:.875rem}.headset-heading small{display:block;font-size:.65rem;color:#98aabe;overflow-wrap:anywhere;margin-top:4px}.device-transport{font-size:.6875rem;color:#b9c6d7;margin-top:8px}.device-charge{display:flex;align-items:center;gap:5px;color:#c9d8e8}.device-charge .icon-slot{width:20px;height:20px;color:#18daa6}.device-charge strong{font-size:.75rem}.theme-toggle{position:relative;display:flex;align-items:center;gap:10px;padding:8px 16px;color:#b6c7d8;background:#15243270;border:0;margin:auto 0 0;min-height:38px;font-size:.75rem;flex-shrink:0}.theme-toggle:hover{background:#23394a}.theme-toggle .icon{width:17px;height:17px}.side-footer{font-size:.625rem;color:#8698ae;padding:8px 16px 0;flex-shrink:0}
.content{margin-left:226px;padding:36px 34px 22px;max-width:1860px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.search-box{display:flex;align-items:center;gap:14px;height:49px;padding:0 17px;flex:1;max-width:695px;border:1px solid var(--line);border-radius:14px;background:var(--field);box-shadow:none;backdrop-filter:blur(20px);color:var(--ink)}.search-box input{border:0;outline:none;background:transparent;padding:10px 0;width:100%;font-size:1rem;color:var(--ink)}.header-actions{display:flex;align-items:center;gap:22px}.header-actions>.icon-button{width:46px;height:46px;border-radius:13px;box-shadow:var(--shadow);backdrop-filter:blur(10px)}.server-button{display:flex;align-items:center;gap:12px;background:#141b2b;color:#fff;border-color:#ffffff20;box-shadow:0 6px 10px #111b2920;padding:12px 17px;min-height:47px;border-radius:13px;font-size:.9375rem;white-space:nowrap}.server-button:hover{background:#202b3e}.server-button .icon-slot{width:16px;height:16px}.server-dot{width:15px;height:15px;border-radius:50%;background:#8995aa;box-shadow:inset 0 2px 4px #fff5,0 0 8px #11df9b15}.server-button[data-online="true"] .server-dot{background:#04d995}.server-button[data-online="false"] .server-dot{background:#ee7185}
.dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:38px}.metric-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;isolation:isolate;overflow:hidden;padding:17px 20px 16px;min-width:0;min-height:137px;background:linear-gradient(145deg,var(--surface-top),var(--surface-bottom));border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);backdrop-filter:blur(16px);text-align:left;color:var(--ink)}.metric-card::before{content:"";position:absolute;inset:0;z-index:-1;background:none;opacity:0;pointer-events:none}.metric-storage::after{content:"";position:absolute;inset:0 0 0 50%;background:none;z-index:-1}.metric-battery::after,.metric-queue::after{content:"";position:absolute;inset:0 0 0 60%;background:none;z-index:-1}.metric-access::after{content:"";position:absolute;inset:0 0 0 45%;background:none;z-index:-1}
.metric-label{display:flex;align-items:center;gap:11px;font-size:.75rem;line-height:1.4;min-height:25px;padding-right:0}.metric-label>.icon-slot{width:23px;height:23px;color:var(--mint-ink);filter:none}.metric-access .metric-label>.icon-slot{color:var(--muted);filter:none}.metric-value{display:block;font-size:1.65rem;line-height:1.25;letter-spacing:-.6px;font-weight:800;margin-top:12px;white-space:nowrap;z-index:1}.metric-note{font-size:.75rem;line-height:1.5;color:var(--muted);margin-top:3px;z-index:1}.metric-caption{font-size:.65rem;color:var(--muted);margin-top:3px}.metric-link{position:absolute;right:17px;bottom:19px;width:17px;height:17px;transform:rotate(-45deg);color:var(--ink)}.metric-watermark{position:absolute;right:12px;bottom:15px;width:60px;height:60px;color:#0fcba442;transform:rotate(-10deg);z-index:-1}.metric-access .metric-watermark{color:#9167de55}.metric-storage progress{height:5px;width:calc(100% - 33px);margin:9px 0 0}
progress{display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:6px;background:#9dabc32e;overflow:hidden}progress::-webkit-progress-bar{background:#9dabc32e}progress::-webkit-progress-value{background:linear-gradient(90deg,#0cddae,#00b17d);border-radius:6px}progress::-moz-progress-bar{background:#00c494;border-radius:6px}
#message:empty{display:none}#message{font-size:.75rem;line-height:1.6;color:var(--muted);background:var(--control);border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin:0 0 18px;white-space:pre-wrap}
.activation{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);background:var(--panel);border-radius:15px;margin-bottom:22px}.activation>div{flex:1}.activation h3{margin:0;font-size:1rem}.activation p{font-size:.8125rem;margin:5px 0}.activation input{width:170px;min-height:43px;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:8px 12px}
h1{font-size:2rem;letter-spacing:-.8px;line-height:1.2;margin:0;font-weight:800;display:flex;align-items:center;gap:14px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px;flex-wrap:wrap}.count{font-size:1rem;font-weight:650;letter-spacing:0;color:var(--ink);background:var(--control);padding:5px 9px;border-radius:9px}.library-tools{display:flex;align-items:center;gap:22px}.sort-control{display:flex;align-items:center;gap:7px;position:relative;padding-left:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow)}.sort-control>.icon-slot{width:17px;height:17px}.sort-control select{appearance:none;-webkit-appearance:none;background:transparent;border:0;max-width:205px;padding:10px 30px 10px 3px;min-height:42px;font-size:.75rem;cursor:pointer;outline:none}.sort-chevron{position:absolute;right:10px;pointer-events:none}.view-switch{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden;box-shadow:var(--shadow)}.view-switch .icon-button{border:0;background:transparent;min-width:42px;height:42px;min-height:42px;border-radius:10px;color:var(--muted)}.view-switch .selected{background:var(--active);color:var(--active-ink)}.view-switch .icon-slot{width:18px;height:18px}
.library-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:24px}#tabs{display:flex;align-items:center;gap:3px;padding:3px;border-radius:13px;background:var(--control);max-width:100%;overflow:auto}#tabs button{border:0;background:transparent;color:var(--ink);font-size:.8125rem;font-weight:600;padding:10px 20px;min-height:39px;white-space:nowrap}#tabs button span{margin-left:8px;font-size:.75rem;opacity:.7}#tabs .selected{background:var(--active);color:var(--active-ink);box-shadow:0 3px 7px #18203225}#tabs .selected span{background:#ffffff20;border-radius:6px;padding:1px 4px;opacity:1}.manage-note{font-size:.8125rem;color:var(--danger);margin:0 0 15px}#queue-tools{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}#queue-tools>.download-hint{flex-basis:100%;margin:0}
.games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 22px}.tile{position:relative;overflow:hidden;min-width:0;border-radius:13px;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);backdrop-filter:blur(18px);transition:transform .15s,box-shadow .15s}.tile:hover{transform:translateY(-3px);box-shadow:0 9px 20px #25234b24}.tile-open{display:block;width:100%;padding:0;border:0;border-radius:0;text-align:left;background:transparent;min-height:0}.tile-open:hover{background:transparent;box-shadow:none}.cover{width:100%;aspect-ratio:16/10;position:relative;overflow:hidden;display:grid;place-items:center;background:var(--art)}.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cover::after{content:"";position:absolute;inset:0;background:linear-gradient(#080e2245,transparent 50%);pointer-events:none}.fallback{font-size:2.5rem;color:var(--muted);opacity:.4}.badge{position:absolute;left:11px;top:11px;max-width:calc(100% - 55px);z-index:1;display:block;border-radius:20px;padding:5px 9px;background:#f5f6fff0;color:#263447;font-size:.65rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 8px #0b153226}.badge[data-kind="installed"]{background:#c3ffe8f2;color:#046d4d}.badge[data-kind="downloading"]{background:#f1f6fff5;color:#273e52}.favorite,.quick-action,.more-action{position:absolute;display:flex;align-items:center;justify-content:center;padding:0;border:0}.favorite{right:9px;top:10px;z-index:2;width:30px;height:30px;min-height:30px;border-radius:50%;background:#1a233339;color:#fff;backdrop-filter:blur(6px)}.favorite .icon{width:22px;height:22px}.favorite:hover{background:#26393c80}.favorite[data-active="true"]{background:#00c995;color:#fff}.tile-body{padding:12px 60px 14px 15px;min-height:85px}.tile-title{font-size:.8125rem;line-height:1.45;font-weight:800;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.9em;overflow:hidden;overflow-wrap:anywhere}.tile-meta{font-size:.6875rem;line-height:1.5;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-action{width:33px;height:33px;min-height:33px;border-radius:50%;right:31px;bottom:18px;background:var(--active);color:var(--active-ink);box-shadow:0 3px 7px #111c3220}.quick-action:hover{background:var(--active);filter:brightness(1.2)}.quick-action .icon{width:17px;height:17px}.more-action{width:23px;height:30px;min-height:30px;right:3px;bottom:19px;border-radius:7px;color:var(--ink);background:transparent}.more-action .icon{width:18px;height:18px}.tile-progress{position:absolute;inset:auto 0 0;width:100%;height:4px;border-radius:0}.tile[data-state="downloading"]{border-color:#20dcab90}.empty{padding:45px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px}.empty>.icon-slot{width:32px;height:32px}.empty h3{color:var(--ink);font-size:1.125rem}.empty p{font-size:.875rem}
#shell[data-layout="list"] .games{grid-template-columns:1fr}#shell[data-layout="list"] .tile-open{display:flex;align-items:center}#shell[data-layout="list"] .cover{width:150px;flex-shrink:0;aspect-ratio:16/9}#shell[data-layout="list"] .tile-body{padding:12px 130px 12px 18px;min-height:0}#shell[data-layout="list"] .tile-title{min-height:0;font-size:.9375rem}#shell[data-layout="list"] .favorite{top:26px;right:90px;background:var(--control);color:var(--muted)}#shell[data-layout="list"] .quick-action{right:44px;bottom:25px}#shell[data-layout="list"] .more-action{right:10px;bottom:27px}#shell[data-layout="list"] .badge{font-size:.625rem;max-width:calc(100% - 15px);left:7px;top:auto;bottom:7px;padding:3px 6px}
.back{padding-left:0;border:0;background:transparent;color:var(--muted);font-size:.875rem;margin-bottom:15px}.detail-layout{display:grid;grid-template-columns:.95fr 1fr;gap:28px}.detail-layout>div{min-width:0}.detail-art{border:1px solid var(--line);border-radius:15px;aspect-ratio:16/10;box-shadow:var(--shadow)}.detail-art::after{display:none}.detail-layout h1{font-size:1.8125rem;line-height:1.3;display:block;margin:0 0 12px}.detail-badge{position:static;display:inline-block;max-width:100%;margin:0 0 15px;font-size:.75rem;padding:6px 11px}.detail-meta,.status{font-size:.8125rem;line-height:1.7;color:var(--muted);margin-bottom:15px}.status{color:var(--mint-ink);overflow-wrap:anywhere}.buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.buttons button{font-size:.8125rem}.storage-explain{font-size:.75rem;line-height:1.7;color:var(--muted);margin-top:15px}.space-warning{background:#fff4df;color:#805b20;border:1px solid #d7bd8b;border-radius:13px;padding:13px;font-size:.8125rem;margin:12px 0}.space-warning button{display:block;margin-top:10px;font-size:.75rem;color:#74551c;background:#fff9ed;border-color:#d7bd8b}.transfer{padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:var(--shadow);margin:14px 0}.amount{font-size:.875rem;font-variant-numeric:tabular-nums}.transfer progress{width:100%;height:6px;margin:14px 0}.transfer-numbers{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.75rem}.transfer-numbers>span{display:flex;flex-direction:column;gap:4px}.transfer-numbers small{font-size:.625rem;letter-spacing:.5px}.transfer-numbers strong{font-size:.875rem;color:var(--ink);font-variant-numeric:tabular-nums}.download-hint{font-size:.75rem;color:var(--mint-ink);margin:12px 0 0;line-height:1.6}.game-features{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}.feature-tag{font-size:.6875rem;border:1px solid var(--line);padding:5px 9px;border-radius:8px;background:var(--control)}.game-description{margin-top:22px;padding-top:19px;border-top:1px solid var(--line)}.game-description h2,.game-gallery h2{font-size:1rem;margin:0 0 12px}.game-description p{font-size:.8125rem;line-height:1.85;color:var(--muted);margin:0;white-space:pre-line}.game-gallery{margin-top:20px}.gallery-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.screenshot-thumb{padding:0;min-height:0;aspect-ratio:16/10;overflow:hidden;border-radius:9px;background:var(--art)}.screenshot-thumb img{display:block;width:100%;height:100%;object-fit:cover}.screenshot-thumb:hover{border-color:var(--mint);box-shadow:0 0 0 2px var(--mint-soft)}
.page-view{max-width:950px;padding-top:5px}.page-view>p{color:var(--muted);font-size:.875rem;margin-bottom:24px}.setting-card{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);backdrop-filter:blur(15px);margin-bottom:17px}.setting-card>div:first-child{flex:1 1 240px}.setting-card h3{font-size:1rem;margin:0 0 7px}.setting-card p{font-size:.8125rem;line-height:1.7;color:var(--muted);margin:0;max-width:530px}.setting-card button{font-size:.8125rem}.theme-options,.text-size-options{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--control);border-radius:12px}.theme-options button,.text-size-options button{border:0;background:transparent;border-radius:9px;min-height:37px;padding:8px 11px}.theme-options .selected,.text-size-options .selected{background:var(--active);color:var(--active-ink);box-shadow:var(--shadow)}.about-logo{width:80px;height:80px;object-fit:contain;border-radius:50%;background:#fff;margin-bottom:18px}.page-view>small{font-size:.8125rem;color:var(--muted)}footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:15px;margin-top:28px;color:var(--muted);font-size:.6875rem}.sideload-button{display:flex;align-items:center;gap:7px;background:transparent;min-height:34px;font-size:.75rem;padding:6px 10px}.sideload-button .icon-slot{width:15px;height:15px}
dialog{width:100%;max-width:min(450px,90vw);max-height:90vh;overflow:auto;background:var(--solid);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 80px #090f354d;color:var(--ink);padding:20px}dialog::backdrop{background:#111b395e;backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-heading h2{font-size:1.125rem;line-height:1.5;margin:0}.dialog-heading .icon-button{font-size:1.5rem;width:32px;min-width:32px;height:32px;min-height:32px}.action-list{display:flex;flex-direction:column;gap:7px}.action-list button{text-align:left;font-size:.875rem}.screenshot-dialog{max-width:min(1100px,94vw);max-height:92vh;padding:16px}.screenshot-dialog img{display:block;width:100%;max-height:65vh;object-fit:contain;background:var(--bg);border-radius:12px}.gallery-navigation{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:14px;font-size:.875rem;color:var(--muted)}
[hidden]{display:none!important}#device-dock:empty{display:none}#device-dock .headset{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 20px;padding:10px 14px;color:var(--ink);background:var(--panel);border-color:var(--line)}#device-dock .device-picture{width:62px;height:42px;margin:0}#device-dock .headset-heading{flex:1}#device-dock #device{display:none}#device-dock .device-transport{margin:0;color:var(--muted)}#device-dock .device-charge{color:var(--ink)}
:root[data-text-size="large"] .sidebar{width:250px}:root[data-text-size="large"] .content{margin-left:250px}:root[data-text-size="large"] .games{grid-template-columns:repeat(3,minmax(0,1fr))}:root[data-text-size="large"] .dashboard{gap:14px}:root[data-text-size="large"] .metric-card{padding:15px}:root[data-text-size="large"] .metric-value{font-size:1.4rem}:root[data-text-size="large"] .tile-body{padding-right:16px;padding-bottom:49px}:root[data-text-size="large"] .quick-action{bottom:10px}:root[data-text-size="large"] .more-action{bottom:11px}
@media(min-width:1500px){.sidebar{width:244px;padding-top:36px}.content{margin-left:244px;padding:45px 42px 24px}.brand{padding-bottom:39px}.nav-item{min-height:57px}.headset{margin-top:35px}.device-picture{height:103px}.dashboard{gap:23px;margin-bottom:45px}.metric-card{min-height:143px}.metric-value{font-size:1.75rem}.games{gap:25px}.tile-title{font-size:.875rem}.tile-meta{font-size:.75rem}.tile-body{min-height:85px}.cover{aspect-ratio:16/10}h1{font-size:2.2rem}.badge{font-size:.6875rem}}
@media(max-height:850px) and (min-width:701px){.sidebar{padding-top:18px}.brand{padding-bottom:17px}.logo{width:40px;height:40px}.side-nav{gap:2px}.nav-item{min-height:42px;padding-top:9px;padding-bottom:9px}.headset{margin-top:20px;padding:10px 12px}.device-picture{height:70px}.device-transport{font-size:.65rem}.headset-heading small{display:none}.side-footer{display:none}.content{padding-top:26px}.topbar{margin-bottom:24px}.dashboard{margin-bottom:28px}.metric-card{min-height:129px}.metric-value{margin-top:9px}}
@media(max-width:1100px){.sidebar{width:200px;padding-left:9px;padding-right:9px}.content{margin-left:200px;padding-left:24px;padding-right:24px}.brand{padding-left:8px;gap:8px}.wordmark{font-size:.75rem}.nav-item{padding-left:13px;padding-right:13px;gap:12px}.games{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}.dashboard{gap:12px}.metric-card{padding:13px 12px;min-height:128px}.metric-label{gap:7px;font-size:.6875rem}.metric-label>.icon-slot{width:19px;height:19px}.metric-value{font-size:1.4rem}.metric-note{font-size:.6875rem}.metric-caption{font-size:.6rem}.metric-watermark{width:42px;height:42px}.metric-link{right:10px;bottom:14px}.topbar{gap:15px}.header-actions{gap:12px}.detail-layout{grid-template-columns:1fr}.detail-art{max-width:700px}.game-gallery{margin-bottom:22px}.library-tools{gap:12px}#tabs button{padding:9px 14px}.text-button{font-size:.6875rem}:root[data-text-size="large"] .dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-text-size="large"] .games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.content{padding:20px 15px}.dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.metric-card{min-height:119px}.games{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.tile-body{padding:10px 11px 48px;min-height:111px}.quick-action{bottom:10px}.more-action{bottom:11px}.tile-title{font-size:.8125rem}.badge{left:7px;top:7px;font-size:.625rem;padding:4px 7px}.favorite{right:6px;top:7px;width:26px;min-height:26px;height:26px}.favorite .icon{width:19px;height:19px}.topbar{gap:8px;margin-bottom:20px}.search-box{padding:0 11px;gap:8px}.search-box input{font-size:.8125rem}.header-actions{gap:7px}.header-actions>.icon-button{width:38px;min-width:38px;height:42px}.server-button{padding:10px;gap:0;min-height:42px}.server-button>span:not(.server-dot){display:none}.server-dot{width:13px;height:13px}.section-head{gap:15px}.view-switch{display:none}h1{font-size:1.65rem}.sort-control select{max-width:150px;font-size:.6875rem}.library-controls{gap:7px}#tabs{width:100%;justify-content:space-between}#tabs button{font-size:.75rem;padding:9px}#tabs button span{font-size:.625rem;margin-left:4px}.activation{flex-wrap:wrap}.activation input{width:100%}.detail-layout h1{font-size:1.6rem}.transfer-numbers{flex-wrap:wrap}.metric-value{font-size:1.35rem}.metric-label{font-size:.65rem}.metric-caption{font-size:.575rem}}
:root #shell[data-device-docked="true"] .sidebar{width:70px;padding:14px 8px 12px}:root #shell[data-device-docked="true"] .content{margin-left:70px}#shell[data-device-docked="true"] .brand{padding:0 0 18px;justify-content:center}#shell[data-device-docked="true"] .logo{width:36px;height:36px}#shell[data-device-docked="true"] .wordmark,#shell[data-device-docked="true"] .side-footer{display:none}:root #shell[data-device-docked="true"] .nav-item{justify-content:center;padding:10px 4px;font-size:0;gap:0;min-height:43px}#shell[data-device-docked="true"] .nav-count{position:absolute;right:0;top:0;font-size:.6rem;padding:1px 3px;min-width:14px}#shell[data-device-docked="true"] .theme-toggle{justify-content:center;padding:8px;margin:auto 0 0;min-height:35px}#shell[data-device-docked="true"] .theme-toggle>span:not(.icon-slot){display:none}
@media(max-width:470px){:root[data-text-size="large"] .games{grid-template-columns:1fr}.metric-label{font-size:.6rem;gap:5px}.metric-value{font-size:1.1rem}.metric-card{padding:11px}.metric-watermark{width:30px;height:30px}.metric-note{font-size:.625rem}.metric-label>.icon-slot{width:15px;height:15px}.metric-caption{display:none}.sort-control select{max-width:130px}.sort-control>.icon-slot:first-child{display:none}.server-button{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.icon[data-name="layout-grid"]{-webkit-mask-image:url("/ui-assets/layout-grid.svg");mask-image:url("/ui-assets/layout-grid.svg")}
.icon[data-name="heart"]{-webkit-mask-image:url("/ui-assets/heart.svg");mask-image:url("/ui-assets/heart.svg")}
.icon[data-name="download"]{-webkit-mask-image:url("/ui-assets/download.svg");mask-image:url("/ui-assets/download.svg")}
.icon[data-name="settings"]{-webkit-mask-image:url("/ui-assets/settings.svg");mask-image:url("/ui-assets/settings.svg")}
.icon[data-name="info"]{-webkit-mask-image:url("/ui-assets/info.svg");mask-image:url("/ui-assets/info.svg")}
.icon[data-name="battery"]{-webkit-mask-image:url("/ui-assets/battery.svg");mask-image:url("/ui-assets/battery.svg")}
.icon[data-name="moon"]{-webkit-mask-image:url("/ui-assets/moon.svg");mask-image:url("/ui-assets/moon.svg")}
.icon[data-name="sun"]{-webkit-mask-image:url("/ui-assets/sun.svg");mask-image:url("/ui-assets/sun.svg")}
.icon[data-name="search"]{-webkit-mask-image:url("/ui-assets/search.svg");mask-image:url("/ui-assets/search.svg")}
.icon[data-name="refresh-cw"]{-webkit-mask-image:url("/ui-assets/refresh-cw.svg");mask-image:url("/ui-assets/refresh-cw.svg")}
.icon[data-name="chevron-down"]{-webkit-mask-image:url("/ui-assets/chevron-down.svg");mask-image:url("/ui-assets/chevron-down.svg")}
.icon[data-name="clock-3"]{-webkit-mask-image:url("/ui-assets/clock-3.svg");mask-image:url("/ui-assets/clock-3.svg")}
.icon[data-name="list"]{-webkit-mask-image:url("/ui-assets/list.svg");mask-image:url("/ui-assets/list.svg")}
.icon[data-name="plus"]{-webkit-mask-image:url("/ui-assets/plus.svg");mask-image:url("/ui-assets/plus.svg")}
.icon[data-name="play"]{-webkit-mask-image:url("/ui-assets/play.svg");mask-image:url("/ui-assets/play.svg")}
.icon[data-name="pause"]{-webkit-mask-image:url("/ui-assets/pause.svg");mask-image:url("/ui-assets/pause.svg")}
.icon[data-name="ellipsis-vertical"]{-webkit-mask-image:url("/ui-assets/ellipsis-vertical.svg");mask-image:url("/ui-assets/ellipsis-vertical.svg")}
.icon[data-name="cpu"]{-webkit-mask-image:url("/ui-assets/cpu.svg");mask-image:url("/ui-assets/cpu.svg")}
.icon[data-name="wifi"]{-webkit-mask-image:url("/ui-assets/wifi.svg");mask-image:url("/ui-assets/wifi.svg")}
.icon[data-name="hard-drive"]{-webkit-mask-image:url("/ui-assets/hard-drive.svg");mask-image:url("/ui-assets/hard-drive.svg")}
.icon[data-name="circle-check"]{-webkit-mask-image:url("/ui-assets/circle-check.svg");mask-image:url("/ui-assets/circle-check.svg")}
.icon[data-name="arrow-right"]{-webkit-mask-image:url("/ui-assets/arrow-right.svg");mask-image:url("/ui-assets/arrow-right.svg")}
.icon[data-name="arrow-up-down"]{-webkit-mask-image:url("/ui-assets/arrow-up-down.svg");mask-image:url("/ui-assets/arrow-up-down.svg")}
.icon[data-name="zap"]{-webkit-mask-image:url("/ui-assets/zap.svg");mask-image:url("/ui-assets/zap.svg")}

:root[data-text-size="large"] #shell[data-layout="list"] .games{grid-template-columns:1fr}

/* A single tonal palette joins navigation, widgets and game cards. */
.sidebar{color:var(--side-text)}
.nav-item{color:var(--side-muted)}
.nav-item:hover{color:var(--side-text);background:var(--control)}
.nav-item.selected{color:var(--ink);background:var(--mint-soft)}
.nav-item.selected::before{box-shadow:none;background:var(--mint)}
.nav-item.selected>.icon-slot{color:var(--mint-ink);filter:none}
.nav-count{color:inherit;background:var(--control)}
.headset{border-color:var(--line);background:var(--panel);box-shadow:none;backdrop-filter:none}
.headset-heading small,.device-transport,.side-footer{color:var(--side-muted)}
.device-charge{color:var(--side-text)}
.device-charge .icon-slot{color:var(--mint)}
.theme-toggle{color:var(--side-muted);background:transparent}
.theme-toggle:hover{background:var(--control)}
.server-button{background:var(--panel);border-color:var(--line);color:var(--ink);box-shadow:none}
.server-button:hover{background:var(--control)}
.server-dot{width:11px;height:11px;box-shadow:none}
.metric-value{font-weight:750}
.metric-watermark{opacity:.16;color:var(--mint-ink);width:48px;height:48px;right:14px;bottom:16px;transform:none}
.metric-access .metric-watermark{color:var(--muted)}
.metric-card:hover{background:var(--control)}
.metric-label{color:var(--muted)}
#message{border:0;background:transparent;padding:0;margin-bottom:18px;font-size:.6875rem;color:var(--muted)}
.badge{background:var(--badge-bg);color:var(--badge-ink);box-shadow:0 2px 7px #0002}
.badge[data-kind="installed"]{background:#254c43f2;color:#b5e7d5}
.badge[data-kind="downloading"]{background:#293e55f5;color:#d3e6f6}
:root:not([data-theme="dark"]) .badge[data-kind="installed"]{background:#b4d8caf5;color:#275044}
:root:not([data-theme="dark"]) .badge[data-kind="downloading"]{background:#b9caddf5;color:#344a62}
.favorite{background:#1c293b7d;color:#e5edf5}
.favorite[data-active="true"]{background:#35685d;color:#d6f5e8}
.quick-action{background:var(--control);color:var(--ink);box-shadow:none;border:1px solid var(--line)}
.quick-action:hover{background:var(--mint-soft);filter:none}
#tabs .selected{box-shadow:none;background:var(--active);color:var(--active-ink)}
#tabs .selected span{background:#ffffff12}
:root[data-theme="dark"] .primary{background:#ededed;border-color:#ffffff24;color:#111}
:root[data-theme="dark"] .space-warning{background:#453b2c;color:#e6cca0;border-color:#a48b594d}
:root[data-theme="dark"] .space-warning button{background:#584832;color:#f0d5a9;border-color:#8e764b}
.logo,.about-logo{box-shadow:none}

/* Launcher+ colours only; keep all existing control and layout geometry. */
.load-more{display:block;margin:24px auto 0;min-width:220px}
#connection-status{margin:0 0 18px;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-size:.8125rem;line-height:1.7}
:root[data-theme="dark"] .badge[data-kind="installed"],
:root[data-theme="dark"] .badge[data-kind="downloading"]{background:#191919ed;color:#efefef}
:root[data-theme="dark"] .favorite{background:#1119;color:#f2f2f2}
:root[data-theme="dark"] .favorite:hover{background:#303030d9}
:root[data-theme="dark"] .favorite[data-active="true"]{background:#e5e5e5;color:#111}
:root[data-theme="dark"] .cover::after{background:linear-gradient(#0005,transparent 50%)}
:root[data-theme="dark"] .tile:hover{box-shadow:0 9px 20px #0004}
:root[data-theme="dark"] .tile[data-state="downloading"]{border-color:#ffffff40}
:root[data-theme="dark"] progress,
:root[data-theme="dark"] progress::-webkit-progress-bar{background:#303030}
:root[data-theme="dark"] progress::-webkit-progress-value{background:#dedede}
:root[data-theme="dark"] progress::-moz-progress-bar{background:#dedede}
:root[data-theme="dark"] ::-webkit-scrollbar-thumb:hover{background:#686868}
:root[data-theme="dark"] dialog{box-shadow:0 24px 80px #0008}
:root[data-theme="dark"] dialog::backdrop{background:#0009}

.size-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}.size-control select{max-width:190px;font-size:.8125rem}.custom-size{display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-height:44px;font-size:.8125rem}.custom-size input{width:5.5ch;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;text-align:center;outline:none;appearance:textfield;-moz-appearance:textfield}.custom-size input::-webkit-inner-spin-button,.custom-size input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.custom-size:focus-within{border-color:var(--ink)}.custom-size input[aria-invalid="true"]{color:#e86c6c}.filter-note{color:var(--muted);font-size:.75rem}.size-filters [hidden]{display:none!important}@media(max-width:700px){.size-filters{gap:8px}.filter-note{flex-basis:100%}.library-tools{gap:10px}}

.update-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:20px;margin-bottom:20px}.update-banner>div:first-child{flex:1;min-width:0}.update-banner p{margin:6px 0;color:var(--muted)}.update-banner progress{width:100%;margin:8px 0}.update-actions{display:flex;gap:10px;flex-wrap:wrap}.update-banner small,.privacy-note{color:var(--muted);font-size:.8rem}.update-banner[hidden],.update-banner [hidden]{display:none!important}@media(max-width:700px){.update-banner{align-items:stretch;flex-direction:column}}
