:root{color-scheme:dark;--bg:#0b1427;--surface:#111e34;--surface-raised:#17283f;--text:#edf4fc;--muted:#a4b5cb;--quiet:#7f95b1;--accent:#a3dfff;--accent-bright:#d4f1ff;--line:rgba(158,192,231,.16);--success:#9be1bc;--warning:#edc891;--danger:#ffb3b3;--radius:16px;--ease:cubic-bezier(.2,.75,.25,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{transition:background .18s,color .18s,transform .18s,border-color .18s;--button-ring:var(--accent)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon,.platform-icon,.empty-icon,.detail-placeholder-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.skip-link{position:fixed;left:20px;top:12px;background:var(--accent);color:var(--bg);padding:10px 20px;border-radius:8px;z-index:100;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.ambient{position:absolute;inset:0 0 auto;height:720px;overflow:hidden;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 64% 0,rgba(46,90,139,.22),transparent 65%),linear-gradient(180deg,#0f1d34,transparent)}.wave{position:absolute;left:-15%;width:135%;height:490px;border-radius:50%;transform:rotate(-10deg);border-top:1px solid rgba(127,194,242,.14)}.wave-a{top:245px;box-shadow:0 -25px 80px rgba(84,144,210,.06)}.wave-b{top:268px;left:-12%;transform:rotate(-12deg);border-top-color:rgba(127,194,242,.075)}.wave-c{top:295px;left:-10%;transform:rotate(-14deg);border-top-color:rgba(127,194,242,.05)}.app-shell{max-width:1800px;margin:0 auto;padding:0 56px}.topbar{height:106px;display:flex;align-items:center;gap:60px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:27px;letter-spacing:-1.3px;line-height:1;font-weight:700}.brand-one{font-weight:350;color:var(--accent)}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:3.5px;color:var(--muted);margin-top:9px}.brand-mark{display:flex;gap:4px;width:32px;height:34px;align-items:flex-start}.brand-mark span{display:block;width:6px;height:34px;border-radius:1px;background:var(--accent)}.brand-mark span:nth-child(2){height:24px;opacity:.8}.brand-mark span:nth-child(3){height:14px;opacity:.6}.main-nav{display:flex;gap:14px;height:100%;align-items:stretch}.nav-link{position:relative;display:flex;align-items:center;gap:9px;padding:0 15px;background:none;border:0;color:var(--muted);font-size:14px}.nav-link:hover,.nav-link.is-active{color:var(--text)}.nav-link.is-active:after{position:absolute;content:"";bottom:-1px;left:15px;right:15px;height:2px;background:var(--accent)}.nav-link.is-active .icon{color:var(--accent)}.topbar-end{margin-left:auto;display:flex;align-items:center;gap:20px}.topbar-end time{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:1px}.status-pill{display:flex;align-items:center;gap:8px;min-height:44px;padding:0;background:transparent;border:0;font-size:12px;color:var(--muted)}.status-dot{width:6px;height:6px;background:var(--quiet);border-radius:50%;box-shadow:0 0 12px rgba(155,225,188,.12)}.status-pill[data-state=online] .status-dot{background:var(--success)}.status-pill[data-state=error] .status-dot{background:var(--warning)}.icon-button{min-width:44px;height:44px;padding:10px;display:inline-flex;justify-content:center;align-items:center;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--muted)}.icon-button:hover{color:var(--text);background:rgba(163,223,255,.07);border-color:var(--line)}.welcome{display:flex;align-items:center;justify-content:space-between;padding:54px 0 42px;gap:32px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:var(--quiet);margin:0 0 9px;line-height:1.5}.welcome .eyebrow{color:var(--accent);opacity:.7;font-size:10px;letter-spacing:2.8px}h1,h2,h3,p{margin-top:0}h1{font-size:35px;font-weight:450;letter-spacing:1px;line-height:1.4;margin-bottom:11px}h1 span{color:var(--accent-bright)}.welcome-copy{margin:0;color:var(--muted);font-size:13px;letter-spacing:.6px}.library-stats{display:flex;gap:32px;align-items:center;padding-right:15px}.library-stats div{display:flex;flex-direction:column;gap:3px;min-width:70px}.library-stats strong{font-size:30px;line-height:1.3;font-weight:350;font-variant-numeric:tabular-nums;letter-spacing:-1px}.library-stats span{font-size:11px;color:var(--quiet);letter-spacing:1px}.library-stats i{height:32px;width:1px;background:var(--line)}.section-overline{display:flex;align-items:center;justify-content:space-between;color:var(--quiet);font-size:11px;letter-spacing:1px;margin-bottom:8px}.platform-hint{display:flex;gap:6px;align-items:center;font-size:10px;letter-spacing:.3px}.platform-hint kbd:last-of-type{margin-right:4px}kbd{display:inline-block;padding:1px 5px;border:1px solid var(--line);border-radius:4px;background:rgba(255,255,255,.025);font:10px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:0;color:var(--muted);white-space:nowrap}.platform-section{margin-bottom:35px}.platform-nav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(163,223,255,.2) transparent;padding:10px 4px 15px;margin:0 -4px;border-bottom:1px solid var(--line)}.platform-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:108px;min-height:117px;padding:16px 12px 12px;gap:7px;border:1px solid transparent;border-radius:var(--radius);background:none;color:var(--quiet);flex:none}.platform-button:hover{background:rgba(163,223,255,.035);color:var(--text)}.platform-button.is-active{background:linear-gradient(160deg,rgba(143,206,255,.13),rgba(143,206,255,.025));border-color:rgba(158,207,248,.22);color:var(--accent-bright)}.platform-button.is-active:after{content:"";position:absolute;bottom:-16px;left:calc(50% - 11px);width:22px;height:2px;background:var(--accent);box-shadow:0 0 14px rgba(163,223,255,.4)}.platform-icon{width:33px;height:33px;stroke-width:1.35;margin-bottom:4px}.platform-button>span{font-size:12px;white-space:nowrap}.platform-button small{font-size:10px;line-height:1;color:var(--quiet);font-variant-numeric:tabular-nums}.platform-button.is-active small{color:var(--muted)}.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.library-heading .eyebrow{margin-bottom:4px}.library-heading h2{margin:0;font-size:23px;font-weight:500;line-height:1.5;letter-spacing:.3px}.library-heading h2 span{color:var(--quiet);font-size:12px;font-weight:400;margin-left:10px;letter-spacing:0}.search-wrap{position:relative;width:310px;padding-top:17px;align-self:flex-end}.search-wrap label{position:absolute;top:-3px;left:1px;font-size:10px;color:var(--quiet);letter-spacing:.6px}.search-wrap>.icon{position:absolute;left:13px;top:30px;color:var(--quiet);width:17px;height:17px}.search-wrap input{width:100%;height:44px;border-radius:9px;background:rgba(5,13,26,.33);border:1px solid var(--line);padding:0 38px 0 40px;color:var(--text);font-size:12px;transition:border-color .18s}.search-wrap input:hover{border-color:rgba(163,223,255,.35)}input::placeholder{color:var(--quiet)}input::-webkit-search-cancel-button{-webkit-appearance:none;width:15px;height:15px;cursor:pointer;background:linear-gradient(45deg,transparent 44%,#a4b5cb 45%,#a4b5cb 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,#a4b5cb 45%,#a4b5cb 55%,transparent 56%)}.search-shortcut{position:absolute;right:13px;top:29px}.search-wrap:focus-within .search-shortcut{display:none}.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.mode-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.filter-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 12px;background:transparent;border:1px solid transparent;border-radius:7px;color:var(--quiet);font-size:11px;white-space:nowrap}.filter-button .icon{width:15px;height:15px}.filter-button:hover{color:var(--text);background:rgba(163,223,255,.04)}.filter-button.is-active{background:rgba(163,223,255,.09);border-color:rgba(163,223,255,.14);color:var(--accent-bright)}.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 0;background:none;border:0;color:var(--quiet);font-size:11px;white-space:nowrap}.text-button .icon{width:15px;height:15px}.text-button:hover{color:var(--accent)}.library-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:35px;align-items:start}.games-column{min-width:0;min-height:380px}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}.game-card{min-width:0;position:relative;border-radius:12px}.game-select{display:block;width:100%;text-align:left;padding:0;background:none;border:0;border-radius:12px}.game-cover{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:linear-gradient(145deg,#1f3148,#122035);box-shadow:0 8px 23px rgba(0,0,0,.18);border:1px solid rgba(182,205,234,.06);transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s}.game-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 70%,rgba(5,13,26,.55));pointer-events:none}.game-cover img{display:block;width:100%;height:100%;object-fit:contain;background:rgba(0,0,0,.16);transition:transform .3s var(--ease)}.game-select:hover .game-cover{transform:translateY(-4px);box-shadow:0 13px 28px rgba(0,0,0,.3)}.game-card.is-selected .game-cover{outline:2px solid var(--accent);outline-offset:4px;box-shadow:0 0 24px rgba(124,202,250,.09)}.game-card.is-selected .game-title{color:var(--accent-bright)}.game-card.is-selected .game-title:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--accent);vertical-align:middle;margin-right:7px}.game-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:500;line-height:1.6;margin:13px 0 3px;overflow-wrap:anywhere;min-height:19px}.game-subtitle{display:flex;align-items:center;gap:5px;min-width:0;color:var(--quiet);font-size:10px;letter-spacing:.1px}.game-subtitle span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-subtitle .icon{width:12px;height:12px}.game-mode{position:absolute;bottom:10px;left:9px;z-index:1;display:flex;align-items:center;gap:4px;font-size:9px;padding:3px 6px;border-radius:4px;color:#e2f0fb;background:rgba(6,16,29,.8);backdrop-filter:blur(6px)}.game-mode .icon{width:12px;height:12px}.game-mode.unavailable{color:var(--warning)}.card-favorite{position:absolute;right:4px;top:4px;z-index:2;width:36px;min-width:36px;height:36px;padding:9px;border-radius:50%;color:#eff7ff;background:rgba(6,16,29,.7);opacity:0;transition:opacity .15s,background .15s}.game-card:hover .card-favorite,.game-card:focus-within .card-favorite,.card-favorite.is-favorite{opacity:1}.card-favorite.is-favorite{color:var(--accent)}.card-favorite.is-favorite .icon{fill:rgba(163,223,255,.22)}.cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:20px;text-align:center;color:var(--muted);background:radial-gradient(ellipse at 100% 0,rgba(163,223,255,.11),transparent 60%),repeating-linear-gradient(135deg,transparent,transparent 12px,rgba(163,223,255,.025) 12px,rgba(163,223,255,.025) 13px)}.cover-fallback .icon{height:40px;width:40px;stroke-width:1;opacity:.5;margin-bottom:16px}.cover-fallback strong{font-size:18px;line-height:1.5;font-weight:500;word-break:break-word;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cover-fallback small{margin-top:12px;color:var(--quiet);font-size:9px;letter-spacing:2px}.game-detail{position:sticky;top:28px;min-height:420px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(160deg,rgba(29,48,75,.65),rgba(13,25,43,.7));padding:22px;overflow:hidden}.detail-placeholder{min-height:375px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.detail-placeholder-icon{width:52px;height:52px;color:var(--quiet);stroke-width:1;opacity:.6;margin-bottom:22px}.detail-placeholder p{font-size:15px;margin-bottom:6px;color:var(--muted)}.detail-placeholder span{color:var(--quiet);font-size:12px}.detail-eyebrow{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.detail-eyebrow .eyebrow{margin:0;font-size:9px;letter-spacing:2px}.detail-eyebrow>span{font-size:9px;color:var(--quiet)}.detail-cover{height:170px;max-width:100%;display:flex;justify-content:center;margin:0 0 21px;position:relative}.detail-cover:before{content:"";position:absolute;inset:20% 0 -4%;background:radial-gradient(ellipse,rgba(126,188,228,.08),transparent 70%);pointer-events:none}.detail-cover img{max-width:100%;height:100%;object-fit:contain;border-radius:4px;box-shadow:0 10px 22px rgba(0,0,0,.25);position:relative}.detail-cover .cover-fallback{max-width:145px;border:1px solid var(--line);border-radius:6px}.detail-cover .cover-fallback strong{font-size:14px}.detail-cover .cover-fallback .icon{width:30px;height:30px;margin-bottom:9px}.detail-platform{font-size:10px;font-weight:500;color:var(--accent);margin-bottom:6px;letter-spacing:.7px}.detail-title{font-size:21px;font-weight:550;line-height:1.5;margin-bottom:12px;overflow-wrap:anywhere}.detail-description{margin-top:18px;font-size:12px;line-height:1.9;color:var(--muted);white-space:pre-line;max-height:150px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;margin-bottom:19px}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 20px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-facts div:last-child:nth-child(odd){grid-column:1/-1}.detail-facts dt{font-size:9px;color:var(--quiet);letter-spacing:.5px;margin-bottom:4px}.detail-facts dd{margin:0;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.detail-reason{padding:12px;background:rgba(237,200,145,.055);border:1px solid rgba(237,200,145,.12);border-radius:8px;margin:0 0 16px;color:var(--warning);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.detail-reason .icon{width:13px;height:13px;margin-right:5px;vertical-align:-2px}.detail-actions{display:flex;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid transparent;border-radius:8px;padding:10px 17px;font-size:12px;font-weight:550;background:var(--accent);color:#102336;white-space:nowrap}.button:hover{background:var(--accent-bright)}.button .icon{height:16px;width:16px}.button-secondary{background:rgba(163,223,255,.055);border-color:var(--line);color:var(--muted)}.button-secondary:hover{background:rgba(163,223,255,.1);color:var(--text)}.detail-launch{flex:1}.detail-favorite{border-color:var(--line);background:rgba(163,223,255,.035)}.detail-favorite.is-favorite{color:var(--accent)}.detail-favorite.is-favorite .icon{fill:rgba(163,223,255,.15)}.detail-note{margin:13px 0 0;font-size:10px;color:var(--quiet);line-height:1.7;text-align:center}.detail-video{width:100%;max-height:165px;object-fit:contain;background:#070d18;border-radius:6px;margin-bottom:18px}.video-toggle{width:100%;margin:0 0 13px;min-height:36px}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:32px 0 0}.pagination>span{font-size:11px;color:var(--quiet)}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:350px;padding:40px 24px;border:1px dashed var(--line);border-radius:var(--radius)}.empty-icon{width:48px;height:48px;stroke-width:1;color:var(--quiet);margin-bottom:18px}.empty-state h3{font-size:19px;font-weight:500;margin-bottom:9px}.empty-state p{color:var(--muted);font-size:13px;max-width:360px;line-height:1.9;margin-bottom:22px;overflow-wrap:anywhere}.skeleton .game-cover{background:linear-gradient(100deg,rgba(128,165,208,.055) 20%,rgba(128,165,208,.12) 50%,rgba(128,165,208,.055) 80%);background-size:200% 100%;animation:shimmer 1.8s ease-in-out infinite;box-shadow:none}.skeleton-line{height:9px;width:76%;border-radius:4px;background:rgba(128,165,208,.1);margin-top:16px}.skeleton-line.short{width:44%;height:6px;margin-top:9px}.session-banner,.migration-banner{display:flex;align-items:center;gap:15px;padding:13px 17px;margin-bottom:24px;border-radius:10px;background:rgba(163,223,255,.055);border:1px solid var(--line);font-size:12px}.session-banner>.icon{color:var(--accent);width:26px;height:26px}.session-banner>div{flex:1;min-width:0}.session-banner .eyebrow{display:block;font-size:9px;margin:0 0 2px}.session-banner strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.button-small{min-height:36px;font-size:11px;padding:7px 12px}.migration-banner{align-items:flex-start;color:var(--muted);font-size:11px}.migration-banner .icon{color:var(--accent);width:16px;height:16px;margin-top:1px}.footer{display:flex;align-items:center;gap:20px;justify-content:space-between;min-height:92px;border-top:1px solid var(--line);margin-top:52px;color:var(--quiet);font-size:10px;letter-spacing:.3px}.footer-signature{letter-spacing:1.5px;font-size:9px}.footer-signature span{margin:0 10px;opacity:.5}.control-hints{display:flex;gap:18px;align-items:center}.control-hints>span{display:flex;align-items:center;gap:6px}.control-hints .icon{width:16px;height:16px}.footer .text-button{font-size:10px}.help-dialog{padding:28px;max-width:650px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);border:1px solid rgba(163,223,255,.25);border-radius:20px;background:#111e32;color:var(--text);box-shadow:0 24px 100px rgba(0,0,0,.5);overflow-y:auto}.help-dialog::backdrop,.play-dialog::backdrop{background:rgba(3,9,19,.82);backdrop-filter:blur(9px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:25px}.dialog-heading h2{font-size:25px;font-weight:500;margin:0}.dialog-heading .eyebrow{color:var(--accent)}.help-content section+section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.help-content h3{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;margin-bottom:10px}.help-content h3 .icon{color:var(--accent)}.help-content p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:9px}.help-content p:last-child{margin-bottom:0}#health-detail{font-size:11px;color:var(--quiet);overflow-wrap:anywhere}.play-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#05090f;color:var(--text);overflow:hidden}.play-dialog[open]{display:flex;flex-direction:column}.play-toolbar{display:flex;align-items:center;gap:18px;padding:10px 20px;min-height:68px;flex:none;background:#101c2f;border-bottom:1px solid var(--line)}.play-heading{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.play-heading strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.play-heading span{font-size:10px;color:var(--quiet)}.button-danger{background:rgba(255,179,179,.06);color:var(--danger);border-color:rgba(255,179,179,.18)}.button-danger:hover{background:rgba(255,179,179,.14)}.play-frame-wrap{position:relative;flex:1;min-height:0}.play-frame-wrap iframe{position:relative;width:100%;height:100%;display:block;border:0;background:#05090f;z-index:1}.play-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--muted);font-size:13px;z-index:2;pointer-events:none;background:#05090f}.play-loading p{margin:0}.spinner{display:inline-block;width:24px;height:24px;border:2px solid rgba(163,223,255,.15);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 22px;border:1px solid rgba(163,223,255,.3);border-radius:10px;background:#1b3049;color:var(--text);font-size:13px;box-shadow:0 8px 40px rgba(0,0,0,.35);text-align:center}.toast[data-error=true]{border-color:rgba(237,200,145,.4);color:var(--warning)}.body-modal{overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(min-width:1600px){.game-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 23px}.library-layout{grid-template-columns:minmax(0,1fr) 320px;gap:40px}.game-detail{padding:25px}.detail-cover{height:195px}.game-title{font-size:13px}}
@media(max-width:1200px){.app-shell{padding:0 32px}.topbar{gap:35px}.library-layout{grid-template-columns:minmax(0,1fr) 260px;gap:25px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 17px}.game-detail{padding:19px}.detail-title{font-size:19px}.detail-cover{height:155px}.control-hints{gap:11px}.platform-button{min-width:100px}}
@media(max-width:900px){.app-shell{padding:0 25px}.topbar{gap:24px;height:90px}.topbar-end{gap:10px}.topbar-end time{display:none}.main-nav{gap:0}.nav-link{padding:0 11px;font-size:12px}.nav-link.is-active:after{left:11px;right:11px}.welcome{padding:40px 0 35px}h1{font-size:29px}.library-stats{gap:20px;padding:0}.library-stats strong{font-size:26px}.library-layout{grid-template-columns:minmax(0,1fr) 245px;gap:23px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-detail{padding:17px}.detail-cover{height:145px}.platform-section{margin-bottom:26px}.filter-bar{gap:8px}.filter-button{padding:6px 9px;font-size:10px}.filter-button .icon{width:14px;height:14px}.filter-bar>.text-button{font-size:10px}.mode-filters{gap:4px}.search-wrap{width:255px}.control-hints>span:nth-child(2){display:none}}
@media(max-width:650px){.app-shell{padding:0 20px}.topbar{height:80px;gap:17px;flex-wrap:wrap;position:relative;margin-bottom:43px}.brand{font-size:24px;gap:10px}.brand-mark{height:29px;width:28px;gap:3px}.brand-mark span{height:29px;width:5px}.brand-mark span:nth-child(2){height:21px}.brand-mark span:nth-child(3){height:12px}.brand small{font-size:8px;letter-spacing:3px;margin-top:7px}.topbar-end{gap:8px}.topbar-end .status-pill{font-size:10px}.topbar-end .icon-button{width:36px;min-width:36px}.main-nav{position:absolute;top:80px;left:0;height:44px;gap:18px}.nav-link{font-size:12px;padding:0 1px;gap:7px}.nav-link.is-active:after{left:0;right:0}.nav-link .icon{width:15px;height:15px}.welcome{padding:29px 0 27px;align-items:flex-start;gap:20px}h1{font-size:25px;letter-spacing:.1px;line-height:1.5;margin-bottom:8px}.welcome .eyebrow{font-size:7px;letter-spacing:1.7px;margin-bottom:8px}.welcome-copy{font-size:10px;line-height:1.9;max-width:215px;letter-spacing:0}.library-stats{gap:0;text-align:right;align-items:flex-end;flex-direction:column;padding-top:2px}.library-stats div{min-width:0;gap:1px}.library-stats strong{font-size:23px}.library-stats span{font-size:8px;letter-spacing:.3px}.library-stats i,.library-stats div:last-child{display:none}.platform-hint{display:none}.section-overline{font-size:10px;margin-bottom:1px}.platform-nav{gap:4px;padding-bottom:12px}.platform-button{min-width:82px;min-height:100px;padding:12px 8px 10px;gap:5px;border-radius:12px}.platform-button.is-active:after{bottom:-13px}.platform-icon{height:28px;width:28px}.platform-button>span{font-size:10px}.platform-button small{font-size:9px}.platform-section{margin-bottom:24px}.library-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:15px;margin-bottom:16px}.library-heading h2{font-size:21px}.library-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.search-wrap{width:100%;align-self:stretch;padding-top:16px}.search-wrap input{height:46px;font-size:16px;padding-right:33px}.search-wrap input::placeholder{font-size:12px}.search-wrap>.icon{top:31px}.search-shortcut{display:none}.filter-bar{align-items:flex-start;margin-bottom:19px;gap:4px}.mode-filters{gap:3px}.filter-button{min-height:44px;padding:6px 8px;font-size:10px}.filter-button .icon{display:none}.filter-bar>.text-button{min-width:36px;height:44px;font-size:0;padding:8px}.filter-bar>.text-button .icon{width:16px;height:16px}.library-layout{display:flex;flex-direction:column;gap:28px}.games-column{width:100%;min-height:0}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}.game-title{font-size:11px;margin-top:12px}.game-subtitle{font-size:9px}.game-cover{border-radius:7px}.game-mode{font-size:8px;bottom:7px;left:6px;padding:2px 5px;gap:3px}.game-mode .icon{width:10px;height:10px}.card-favorite{opacity:1;width:32px;min-width:32px;height:32px;padding:8px;top:2px;right:2px}.cover-fallback{padding:12px}.cover-fallback strong{font-size:13px}.cover-fallback .icon{width:28px;height:28px;margin-bottom:10px}.cover-fallback small{font-size:8px;letter-spacing:.5px}.game-detail{width:100%;position:relative;top:auto;min-height:0;padding:22px}.detail-placeholder{min-height:160px}.detail-eyebrow{margin-bottom:15px}.detail-cover{height:175px}.detail-title{font-size:22px}.detail-description{max-height:170px}.detail-facts{grid-template-columns:1fr 1fr 1fr}.detail-facts div:last-child:nth-child(odd){grid-column:auto}.detail-launch{min-height:48px}.detail-favorite{width:48px;height:48px}.detail-note{font-size:11px}.detail-video{max-height:220px}.pagination{flex-direction:column;gap:12px;margin-top:24px}.pagination .button{min-width:160px}.footer{flex-wrap:wrap;margin-top:32px;gap:3px 20px;justify-content:space-between;padding:16px 0;min-height:85px}.footer-signature{font-size:8px;letter-spacing:1px;order:1}.control-hints{order:0;width:100%;font-size:9px;justify-content:space-between}.footer>.text-button{order:2;min-height:30px;font-size:9px}.control-hints>span:nth-child(2){display:flex}.session-banner{padding:10px 12px;gap:10px;margin-bottom:18px}.session-banner strong{font-size:11px}.session-banner>.icon{display:none}.session-banner .button{font-size:10px;min-height:40px;padding:7px 10px}.session-banner>.icon-button{min-width:36px;width:36px}.help-dialog{padding:22px}.dialog-heading h2{font-size:22px}.help-content p{font-size:13px}.play-toolbar{padding:8px;gap:8px;flex-wrap:wrap}.play-toolbar>#close-play{font-size:10px;padding:8px 10px;min-height:40px}.play-heading{min-width:100px}.play-heading strong{font-size:11px}.play-heading span{font-size:9px}.play-toolbar .icon-button{width:36px;min-width:36px;height:40px}.play-toolbar>.button-danger{font-size:10px;padding:8px 10px;min-height:40px}.play-toolbar>.button-danger .icon{display:none}}
@media(max-width:430px){.app-shell{padding:0 17px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px}.game-cover{aspect-ratio:4/5}.game-title{font-size:12px}.game-subtitle{font-size:10px}.game-mode{font-size:9px}.cover-fallback strong{font-size:16px}.welcome{gap:10px}.library-stats strong{font-size:21px}.library-stats span{font-size:8px}.filter-button{padding:6px 7px}.topbar-end .status-pill{gap:5px}.game-detail{padding:20px}.detail-facts{grid-template-columns:1fr 1fr}.detail-facts div:last-child:nth-child(odd){grid-column:1/-1}}
@media(hover:none){.card-favorite{opacity:1}.game-select:hover .game-cover{transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Two compact header rows: brand/navigation/greeting, then platforms/counts. */
.topbar-welcome{margin:0;font-size:20px;font-weight:450;letter-spacing:.2px;line-height:1.5;white-space:nowrap}
.console-bar{display:flex;align-items:center;gap:28px;padding:16px 0 14px;margin-bottom:27px;border-bottom:1px solid var(--line)}
.console-bar .library-stats{display:flex;flex:none;flex-direction:row;align-items:center;text-align:left;gap:18px;padding:0 0 0 26px;border-left:1px solid var(--line)}
.console-bar .library-stats div{display:flex;flex-direction:column;align-items:baseline;gap:2px;min-width:0}
.console-bar .library-stats strong{font-size:22px;line-height:1.4;letter-spacing:0}
.console-bar .library-stats span{font-size:10px;letter-spacing:0}
.console-bar .library-stats i{display:none}
.console-bar .platform-section{flex:1;min-width:0;margin:0}
.console-bar .platform-nav{border:0;gap:7px;padding:7px 4px 10px;margin:0 -4px}
.console-bar .platform-button{min-width:99px;min-height:89px;padding:11px 12px 9px;gap:5px;border-radius:12px}
.console-bar .platform-button.is-active:after{bottom:-11px}
.console-bar .platform-icon{width:27px;height:27px;margin-bottom:2px}
.console-bar .platform-button>span{font-size:11px}
.console-bar .platform-button small{font-size:9px}
@media(min-width:651px){.topbar{height:88px;gap:36px}.brand,.main-nav{flex-shrink:0}}
@media(max-width:1100px) and (min-width:651px){.topbar{gap:22px}.topbar-welcome{font-size:17px}.console-bar{gap:24px}.console-bar .platform-button{min-width:92px}.console-bar .library-stats{padding-left:20px}}
@media(max-width:900px) and (min-width:651px){.topbar{gap:18px}.topbar-welcome{font-size:15px}.console-bar{gap:20px;padding:14px 0}.console-bar .library-stats{gap:13px;padding-left:16px}.console-bar .library-stats strong{font-size:19px}.console-bar .platform-button{min-width:88px}}
@media(max-width:650px){.topbar-welcome{position:absolute;left:0;top:80px;height:44px;display:flex;align-items:center;font-size:14px;letter-spacing:0}.main-nav{left:auto;right:0;gap:12px}.console-bar{gap:12px;padding:12px 0 8px;margin-bottom:23px}.console-bar .library-stats{display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-left:12px;text-align:right}.console-bar .library-stats div{align-items:flex-end;gap:0}.console-bar .library-stats div:last-child{display:flex}.console-bar .library-stats strong{font-size:15px;line-height:1.4}.console-bar .library-stats span{font-size:9px}.console-bar .platform-nav{gap:5px;padding:6px 4px 10px}.console-bar .platform-button{min-width:83px;min-height:86px;padding:10px 8px 8px}.console-bar .platform-button>span{font-size:10px}.console-bar .platform-icon{width:26px;height:26px}.ambient{height:480px}.wave-a{top:130px}.wave-b{top:153px}.wave-c{top:176px}}
@media(max-width:360px){.topbar-welcome{font-size:12px}.main-nav{gap:8px}.nav-link{font-size:11px;gap:5px}}
.migration-banner>div{min-width:0;overflow-wrap:anywhere}

/* Player selection keeps the library greeting in its existing top bar. */
.profile-switch{display:inline-flex;align-items:center;gap:8px;max-width:158px;min-height:42px;padding:4px 9px 4px 4px;border:1px solid var(--line);border-radius:24px;background:rgba(163,223,255,.055);font-size:11px;white-space:nowrap}
.profile-switch:hover{background:rgba(163,223,255,.13);border-color:rgba(163,223,255,.35)}
.profile-switch>span:last-child{overflow:hidden;text-overflow:ellipsis;max-width:88px}
.profile-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;font-size:14px;font-weight:600;color:#b7e5ff;background:#243e5d;border:1px solid rgba(163,223,255,.25)}
.profile-avatar[data-avatar="2"]{color:#d5c7ff;background:#37314f;border-color:rgba(213,199,255,.25)}
.profile-dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 36px);padding:34px;border:1px solid rgba(163,223,255,.26);border-radius:22px;background:radial-gradient(ellipse at top right,rgba(73,117,166,.16),transparent 68%),#111e32;color:var(--text);box-shadow:0 24px 100px rgba(0,0,0,.55);overflow-y:auto}
.profile-dialog::backdrop{background:rgba(3,9,19,.91);backdrop-filter:blur(12px)}
.profile-dialog .dialog-heading{margin-bottom:12px}.profile-dialog .dialog-heading h2{font-size:28px}.profile-description{margin:0 0 27px;font-size:13px;line-height:1.9;color:var(--muted)}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;min-height:207px;padding:26px 18px 22px;border:1px solid var(--line);border-radius:15px;background:rgba(163,223,255,.035)}
.profile-card:hover,.profile-card:focus-visible{border-color:var(--accent);background:rgba(163,223,255,.085);transform:translateY(-2px)}
.profile-card .profile-avatar{width:74px;height:74px;font-size:30px;border-radius:24px}.profile-card strong{font-weight:500;font-size:17px;max-width:100%;overflow-wrap:anywhere}.profile-card small{font-size:10px;color:var(--quiet)}
.profile-add{border-style:dashed;background:transparent}.profile-add .profile-add-icon{font-size:45px;font-weight:300;background:rgba(163,223,255,.035);border-style:dashed;color:var(--muted)}.profile-add:hover .profile-add-icon{color:var(--accent)}.profile-card[data-status="provisioning"]{background:rgba(163,223,255,.025)}.profile-card[data-status="error"]{border-color:rgba(237,200,145,.4)}.profile-card[data-status="error"] small,.profile-error{color:var(--warning)}.profile-card small{display:flex;align-items:center;justify-content:center;gap:6px;line-height:1.7}.profile-busy{display:inline-block;flex:none;width:9px;height:9px;border:1px solid rgba(163,223,255,.2);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.profile-error{font-size:11px;line-height:1.6;margin:10px 3px 0;overflow-wrap:anywhere}.profile-retry{display:block;min-height:38px;margin:9px auto 0;padding:6px 15px;border:1px solid rgba(237,200,145,.35);border-radius:8px;background:rgba(237,200,145,.05);color:var(--warning);font-size:12px}.profile-retry:hover{background:rgba(237,200,145,.12)}
.profile-message{font-size:12px;color:var(--muted);margin:16px 0 0;overflow-wrap:anywhere}.profile-message[data-error="true"]{color:var(--warning)}
.profile-footer{display:flex;flex-direction:column;gap:12px;margin-top:25px;border-top:1px solid var(--line);padding-top:19px;font-size:11px;color:var(--muted)}.profile-footer small{font-size:10px;color:var(--quiet)}
.profile-confirm{padding:18px;border:1px solid rgba(237,200,145,.25);border-radius:12px;background:rgba(237,200,145,.04);color:var(--warning);font-size:13px}.profile-confirm p{margin:0 0 18px}.profile-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
@media(min-width:651px){.topbar{gap:24px}.topbar-end{gap:10px}.topbar-welcome{flex:none}}
@media(max-width:1250px) and (min-width:651px){.topbar{gap:18px}.topbar-end time{display:none}.topbar-end .status-pill{font-size:0;gap:0;padding:10px 4px}.topbar-end .status-dot{width:7px;height:7px}.topbar-welcome{font-size:17px}.main-nav{gap:0}}
@media(max-width:900px) and (min-width:651px){.topbar{gap:14px}.topbar-welcome{font-size:14px}.nav-link{padding:0 9px}.profile-switch{font-size:10px;gap:5px;max-width:110px}.profile-switch>span:last-child{max-width:56px}.profile-avatar{width:26px;height:26px;font-size:12px}}
@media(max-width:650px){.topbar-end{gap:5px}.topbar-end .status-pill{font-size:0;gap:0;padding:10px 3px}.profile-switch{font-size:10px;gap:5px;max-width:113px;min-height:36px}.profile-switch>span:last-child{max-width:57px}.profile-avatar{width:26px;height:26px;font-size:12px}.profile-dialog{padding:25px}.profile-dialog .dialog-heading h2{font-size:24px}.profile-description{font-size:12px;margin-bottom:21px}.profile-grid{gap:13px}.profile-card{padding:22px 10px 18px;min-height:187px;gap:11px}.profile-card .profile-avatar{width:63px;height:63px;font-size:25px;border-radius:20px}.profile-card strong{font-size:15px}.profile-footer{font-size:10px}.profile-footer small{font-size:10px}.mode-filters{flex-wrap:wrap}.play-toolbar>#switch-play-profile{font-size:10px;padding:8px;min-height:40px}}
.profile-avatar .icon{width:19px;height:19px;stroke-width:1.7}.profile-avatar[data-avatar="leaf"]{background:#25443f;color:#b6e4c8;border-color:#466653}.profile-avatar[data-avatar="star"]{background:#473d34;color:#f6d59f;border-color:#706044}.profile-avatar[data-avatar="rocket"]{background:#393456;color:#d3c4ff;border-color:#5b4e7a}.profile-avatar[data-avatar="cat"]{background:#4b3441;color:#efc0d5;border-color:#725266}
.profile-card-wrap{position:relative;min-width:0}.profile-card-wrap>.profile-card{width:100%}.profile-card .profile-avatar .icon{width:42px;height:42px;stroke-width:1.4}.profile-edit{display:flex;align-items:center;justify-content:center;gap:5px;margin:9px auto 0;min-height:36px;padding:4px 12px;background:none;border:0;border-radius:6px;color:var(--quiet);font-size:11px}.profile-edit:hover{color:var(--text);background:rgba(163,223,255,.07)}.profile-card[aria-current="true"]{border-color:rgba(163,223,255,.45)}
.profile-editor{display:flex;flex-direction:column;gap:9px}.profile-editor>label,.avatar-label{font-size:13px;color:var(--text)}.profile-editor>input{width:100%;min-height:47px;border:1px solid var(--line);border-radius:8px;background:#0a1729;color:var(--text);padding:9px 13px;font-size:16px}.profile-editor>small{font-size:11px;color:var(--quiet)}.avatar-label{margin-top:17px}.avatar-options{display:flex;flex-wrap:wrap;gap:12px;margin:3px 0 20px}.avatar-option{border:1px solid transparent;border-radius:14px;background:transparent;padding:5px}.avatar-option[aria-checked="true"]{border-color:var(--accent);background:rgba(163,223,255,.07)}.avatar-option .profile-avatar{width:54px;height:54px;border-radius:11px}.avatar-option .profile-avatar .icon{width:31px;height:31px}.profile-editor-actions{display:flex;gap:10px;justify-content:flex-end}.profile-card small{min-height:16px}
@media(max-width:650px){.avatar-options{gap:6px}.avatar-option{padding:4px}.avatar-option .profile-avatar{width:43px;height:43px}.avatar-option .profile-avatar .icon{width:26px;height:26px}.profile-card .profile-avatar .icon{width:35px;height:35px}.profile-editor-actions .button{padding:10px 13px}}
@media(min-width:651px) and (max-width:740px){.topbar{gap:10px}.brand{font-size:24px;gap:10px}.brand-mark{width:28px;height:29px;gap:3px}.brand-mark span{width:5px;height:29px}.brand-mark span:nth-child(2){height:21px}.brand-mark span:nth-child(3){height:12px}.brand small{font-size:7px;letter-spacing:3px}.topbar-welcome{font-size:13px}.nav-link{font-size:11px;padding:0 7px;gap:6px}.topbar-end{gap:6px}.topbar-end>.icon-button{width:32px;min-width:32px;height:36px}}
@media(max-width:360px){.profile-switch>span:last-child{max-width:35px}.profile-switch{max-width:78px}.topbar-end{gap:4px}}

/* Live family activity stays inside the top header, with its own horizontal scroll. */
.family-strip{display:flex;align-items:center;gap:10px;flex:1 1 210px;min-width:110px;max-width:310px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:7px 4px;margin:0 -4px}.family-online-label{display:flex;align-items:center;gap:5px;flex:none;color:var(--quiet);font-size:9px;white-space:nowrap}.family-online-label i{width:5px;height:5px;border-radius:50%;background:var(--success)}.family-person{display:flex;align-items:center;gap:7px;flex:none;min-height:43px;max-width:186px;padding:4px 7px 4px 4px;border:1px solid transparent;border-radius:10px;background:rgba(163,223,255,.025);text-align:left}.family-person:hover{background:rgba(163,223,255,.075);border-color:var(--line)}.family-person>span:last-child{display:flex;flex-direction:column;min-width:0;gap:1px}.family-person strong,.family-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px}.family-person strong{font-size:10px;font-weight:500}.family-person small{font-size:9px;color:var(--quiet)}.family-empty{font-size:10px;color:var(--quiet);white-space:nowrap}.family-dialog{max-width:430px}.family-details{display:flex;align-items:center;gap:18px;margin:0 0 28px}.family-details>.profile-avatar{width:68px;height:68px;border-radius:20px}.family-details>.profile-avatar .icon{width:37px;height:37px}.family-details>div{min-width:0}.family-details strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.family-details p{font-size:12px;color:var(--quiet);margin:7px 0 0}.family-dialog>.button{width:100%}.profile-presence{display:block;max-width:100%;font-size:10px;color:var(--quiet);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:-7px}.profile-presence[data-online="true"]{color:var(--success)}
@media(min-width:1101px){.topbar{gap:20px}.topbar-end time{display:none}.topbar-end{gap:8px}.topbar-welcome{font-size:18px}.family-strip{margin-left:auto}.topbar-end{margin-left:0}}
@media(min-width:651px) and (max-width:1100px){.topbar{gap:12px}.brand{font-size:23px;gap:10px}.brand small{font-size:8px}.main-nav .nav-link{font-size:0;padding:0 9px;gap:0}.main-nav .nav-link .icon{width:18px;height:18px}.topbar-welcome{font-size:14px}.profile-switch>span:last-child{display:none}.profile-switch{padding:4px;max-width:42px}.topbar-end{gap:5px;margin-left:0}.family-strip{min-width:110px;gap:7px}.family-online-label{display:none}.family-person{gap:5px;padding-right:5px}.family-person strong,.family-person small{max-width:94px}}
@media(min-width:651px) and (max-width:740px){.topbar{gap:8px}.brand{font-size:21px;gap:8px}.brand small{font-size:7px;letter-spacing:2px}.brand-mark{width:24px}.topbar-welcome{font-size:12px}.main-nav .nav-link{padding:0 6px}.family-strip{min-width:91px}.family-person{gap:4px}.family-person strong,.family-person small{max-width:76px}.family-person .profile-avatar{width:23px;height:23px}.family-person strong{font-size:9px}.family-person small{font-size:8px}}
@media(max-width:650px){.topbar{margin-bottom:86px}.family-strip{position:absolute;top:124px;left:0;right:0;max-width:none;min-width:0;width:100%;height:43px;padding:4px 2px;margin:0;gap:10px}.family-person{min-height:34px;padding:2px 6px 2px 2px}.family-person strong{font-size:10px}.family-person small{font-size:9px}.family-person .profile-avatar{width:26px;height:26px}.family-person strong,.family-person small{max-width:125px}.family-online-label{font-size:9px}.family-strip:focus-within{overflow-y:hidden}}
.replace-dialog{max-width:520px}.replace-dialog>p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.replace-dialog .replace-warning{font-size:12px;color:var(--warning);padding:13px 15px;background:rgba(237,200,145,.055);border:1px solid rgba(237,200,145,.16);border-radius:9px;margin-bottom:24px}.replace-actions{display:flex;flex-wrap:wrap;gap:12px}.replace-actions .button{flex:1;min-width:150px;white-space:normal;overflow-wrap:anywhere}.replace-actions .button-secondary{border-color:rgba(163,223,255,.35)}
.profile-switch{border-color:rgba(163,223,255,.38);background:rgba(163,223,255,.075);border-radius:12px;max-width:205px;padding:5px 11px 5px 5px;text-align:left}.profile-switch>.current-player-copy{display:flex;flex-direction:column;max-width:145px;min-width:0;gap:1px}.current-player-copy strong,.current-player-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.current-player-copy strong{font-size:11px;font-weight:550;color:var(--text)}.current-player-copy small{font-size:9px;color:var(--muted)}.profile-switch[data-playing="true"]{border-color:rgba(155,225,188,.45)}.profile-switch[data-playing="true"] .current-player-copy small{color:var(--success)}.self-dialog{max-width:430px}.self-actions{display:flex;flex-direction:column;gap:10px}.self-actions>#self-switch-profile{margin-top:10px}.self-dialog #self-avatar .profile-avatar{width:68px;height:68px;border-radius:20px}.self-dialog #self-avatar .icon{width:37px;height:37px}
@media(min-width:651px) and (max-width:1100px){.profile-switch{max-width:122px;padding:4px 7px 4px 4px}.profile-switch>.current-player-copy{display:flex;max-width:70px}.current-player-copy strong{font-size:10px}.current-player-copy small{font-size:8px}.family-strip{min-width:92px}}
@media(min-width:651px) and (max-width:900px){.topbar-end>#help-button{display:none}.topbar{gap:8px}.family-strip{min-width:82px}.profile-switch{max-width:112px}.profile-switch>.current-player-copy{max-width:64px}}
@media(min-width:651px) and (max-width:740px){.brand-mark{display:none}.profile-switch{max-width:103px}.profile-switch>.current-player-copy{max-width:57px}.family-strip{min-width:79px}}
@media(max-width:650px){.profile-switch{max-width:127px;padding:4px 7px 4px 4px}.profile-switch>.current-player-copy{max-width:77px}.current-player-copy strong{font-size:10px}.current-player-copy small{font-size:8px}}
@media(max-width:360px){.profile-switch{max-width:84px}.profile-switch>.current-player-copy{max-width:37px}.current-player-copy strong{font-size:9px}.current-player-copy small{font-size:7px}}
.family-inbox{flex:none;display:flex;align-items:center;gap:7px;padding:7px 9px;min-height:36px;border:1px solid rgba(163,223,255,.35);border-radius:8px;background:rgba(163,223,255,.09);font-size:10px;color:var(--accent-bright);white-space:nowrap}.family-inbox b{font-size:9px;font-weight:600;border-radius:8px;padding:0 5px;background:var(--accent);color:var(--bg)}.family-invite-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.family-invite-actions:empty{display:none}.family-invite-actions .button{white-space:normal}.network-dialog{max-width:560px}.network-intro,.network-note{font-size:12px;line-height:1.9;color:var(--muted)}.network-members{display:flex;flex-wrap:wrap;gap:18px;padding:17px;border:1px solid var(--line);border-radius:10px;margin:20px 0}.network-members>div,.network-person{display:flex;align-items:center;gap:10px}.network-members span:last-child,.network-person>div{display:flex;flex-direction:column;gap:2px;min-width:0}.network-members strong,.network-person strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.network-members small,.network-person small{font-size:10px;color:var(--quiet)}.network-steps{font-size:13px;line-height:1.9;padding-left:22px;color:var(--text)}.network-steps li+li{margin-top:10px}.network-note{padding:12px 14px;background:rgba(163,223,255,.04);border-radius:8px}.network-primary{width:100%;margin-top:8px}.network-footer{display:flex;justify-content:space-between;gap:12px;margin-top:12px}.network-invite{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:12px}.network-invite>p{font-size:14px;margin:13px 0;overflow-wrap:anywhere}.network-actions{display:flex;flex-wrap:wrap;gap:8px}.network-actions:empty{display:none}.network-actions .button{min-height:39px;font-size:11px;padding:8px 13px}.network-invite .profile-avatar{width:38px;height:38px}.family-invite-message{color:var(--warning)}
@media(max-width:650px){.network-dialog{padding:22px}.network-members{gap:15px;padding:14px}.network-members>div{flex:1;min-width:120px}.network-steps{font-size:12px}.play-toolbar>#network-play-button{font-size:10px;padding:8px;min-height:40px}}
