:root{color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f4f4;background:#000;--muted:#8e8e8e;--line:#2a2a2a;--panel:#161616}*{box-sizing:border-box}html,body{margin:0;background:#000}body{min-height:100vh;display:flex;flex-direction:column}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}a{color:inherit;text-decoration:none}button,.button-link{cursor:pointer;border:0;border-radius:999px;background:transparent;color:#cfcfcf;padding:12px 18px;font-size:16px;line-height:1.2}button:hover,.button-link:hover{color:#fff;background:#1c1c1c}button:disabled{opacity:.45;cursor:wait}.primary{background:#fff;color:#000;font-weight:650}.primary:hover{background:#e8e8e8;color:#000}.full{width:100%}
.topbar{min-height:92px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:18px;padding:0 48px;position:sticky;top:0;background:#000;z-index:3}.brand{display:flex;align-items:center;gap:14px;justify-self:start;flex:none;color:#fff}.brand img{width:52px;height:52px;display:block}.brand span{font-size:22px;font-weight:650;letter-spacing:.2px}.shelf{display:flex;align-items:center;gap:2px;min-width:0;flex-wrap:wrap;justify-self:center}.shelf a{color:#b5b5b5;font-size:18px;padding:8px 12px;border-radius:24px}.shelf a:hover{color:#fff;background:transparent}.top-actions{display:flex;align-items:center;gap:4px;margin-left:0;justify-self:end;flex:none}.top-actions a,.top-actions button{color:#b5b5b5;font-size:16px;padding:8px 14px;border-radius:24px;background:transparent}.top-actions a:hover,.top-actions button:hover{color:#fff;background:transparent}html[data-page="collection"] #collectionNav,html[data-page="admin"] #studioNav{color:#fff}.search{display:flex;flex-direction:row;align-items:center;gap:8px;width:220px;height:40px;margin:0 8px 0 0;padding:0 14px;color:#bdbdbd;border:1px solid #333;border-radius:999px;background:#000;flex:none}.search input{background:none;border:0;padding:0;width:100%;min-width:0;height:24px;font-size:16px}.search span{font-size:16px;color:#9a9a9a}
main{flex:1;width:100%;padding:22px 48px 48px}.browse-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:18px 0 28px}.browse-head h1{margin:0;font-size:40px;font-weight:650;letter-spacing:-.4px;line-height:1.1}#count{margin-left:16px;color:var(--muted);font-size:22px;font-weight:500}html[data-section="game"] .shelf [data-kind="game"],html[data-section="app"] .shelf [data-kind="app"],html[data-section="news"] .shelf [data-kind="news"]{color:#fff}.browse-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}.chip-row{display:flex;align-items:center;gap:2px}.chip-row button{color:#b5b5b5;font-size:16px;padding:8px 12px;background:transparent}.chip-row button.on,.chip-row button:hover{color:#fff;background:transparent}html[data-page="admin"] #library,html[data-page="account"] #library,html[data-page="backups"] #library,html[data-page="devices"] #library{display:none!important}html[data-page="admin"] #admin,html[data-page="account"] #accountPage,html[data-page="backups"] #backupsPage,html[data-page="devices"] #devicesPage{display:block!important}
.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:44px 22px;min-height:280px}.card{background:transparent;border:2px solid transparent;border-radius:26px;padding:0 0 6px;text-align:left;min-width:0;color:#f4f4f4}.card:hover{background:transparent;border-color:#fff;transform:none;color:#fff}.cover{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:22px;background:#161616;display:block}.cover.fallback,.card .cover:not(img){display:flex;align-items:center;justify-content:center;color:#8d8d8d;font-size:22px;letter-spacing:1px}.genre{margin:16px 4px 0;color:#8d8d8d;font-size:14px;line-height:1.3}.card h3{margin:6px 4px 12px;font-size:18px;font-weight:620;letter-spacing:-.2px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta{margin:0 4px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8d8d8d;font-size:14px}.plat{background:#222;color:#e8e8e8;border-radius:4px;padding:4px 8px;font-size:12px}
.empty{grid-column:1/-1;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);gap:12px;line-height:1.5}.empty h3{color:#f4f4f4;font-size:28px;font-weight:600;margin:0}.empty .button-link{margin-top:8px}
.page-heading{padding:18px 0 24px}.page-heading:has(button){display:flex;align-items:center;justify-content:space-between;gap:16px}.page-heading h1{margin:0;font-size:40px;font-weight:650;line-height:1.15}.lead{margin:12px 0 0;color:var(--muted);line-height:1.5;font-size:16px}.panel,.release-box{background:var(--panel);border-radius:16px;padding:28px 32px}.kicker,.meta-line{margin:0;color:var(--muted);font-size:16px;line-height:1.4}.detail-layout h2{margin-top:8px}.panel p,.release-box p{margin:12px 0 0;line-height:1.65;font-size:16px}.release-box{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:8px 0 32px;align-items:start}.release-box h2,.panel h2{margin:0;font-size:26px;line-height:1.2}label{display:flex;flex-direction:column;gap:10px;margin:20px 0 0;font-size:14px;line-height:1.4;color:#c8c8c8}input,select,textarea{background:#000;border:1px solid #333;border-radius:12px;padding:14px 16px;width:100%;font-size:16px;line-height:1.4}input:focus,select:focus,textarea:focus{outline:1px solid #fff;border-color:transparent}textarea{resize:vertical}code{color:#ddd}.admin-tools{display:flex;align-items:center;gap:16px;margin:8px 0 20px;font-size:16px}.admin-tools span{margin-right:auto;color:var(--muted)}.text-button{background:none}.admin-cards{display:flex;flex-direction:column;gap:12px}.admin-card{display:flex;align-items:center;gap:20px;background:#161616;border-radius:14px;padding:16px 18px}.admin-card .cover{width:64px;height:86px;aspect-ratio:auto;border-radius:6px;flex:none}.admin-card h3{font-size:17px;margin:0 0 8px;white-space:normal;line-height:1.3}.admin-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.admin-card .info{flex:1;min-width:0}.badge{display:inline-block;background:#222;color:#eee;border-radius:6px;padding:6px 10px;font-size:13px}.badge.draft{color:#ddd}.danger{color:#ffb4b4}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat-box{background:#161616;border-radius:14px;padding:22px 24px}.stat-box strong{display:block;margin-top:12px;font-size:32px;font-weight:600;line-height:1}.stat-box span{color:var(--muted);font-size:14px;line-height:1.4}
dialog{color:inherit;background:#161616;border:0;border-radius:18px;padding:32px 36px;width:min(980px,94vw);max-height:92vh}dialog::backdrop{background:#000000d0}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading h2{margin:0;font-size:28px;line-height:1.2}.close{font-size:28px;line-height:1;padding:0 8px}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:8px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.file-drop{border:1px dashed #444;border-radius:14px;padding:24px;text-align:center;gap:8px}.file-drop strong{display:block;font-size:17px}.hint{color:var(--muted)!important;font-size:14px!important;line-height:1.65!important}.torrent-info{background:#000;border-radius:12px;padding:16px;font-size:14px;line-height:1.65;max-height:180px;overflow:auto;color:#cfcfcf}.cover-preview{height:180px;border-radius:10px;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center;color:#777}.cover-preview img{width:100%;height:100%;object-fit:cover}.check{flex-direction:row;align-items:center;gap:12px}.check input{width:auto}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.error{color:#ffb4b4!important;min-height:22px;line-height:1.45}.detail-layout{display:grid;grid-template-columns:300px 1fr;gap:36px}.detail-layout h2{font-size:36px;margin:16px 0;line-height:1.15}.detail-layout .cover{border-radius:8px}.description{white-space:pre-wrap;color:#cfcfcf;line-height:1.65;font-size:16px}.note,.info-banner{background:#1c1c1c;border-radius:14px;padding:18px 22px;color:#cfcfcf;line-height:1.65;font-size:16px}.info-banner{margin-bottom:24px}#authDialog,#configDialog{max-width:520px}#notice{position:fixed;top:96px;right:28px;z-index:5;background:#1c1c1c;color:#fff;border-radius:14px;padding:16px 20px;max-width:440px;line-height:1.5}html[data-page="admin"] #studioNav{color:#fff}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.profile-avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#000;font-size:28px;font-weight:700;margin-bottom:16px}.backup-row,.device-row{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #222}.backup-row .info,.device-row .info{flex:1;min-width:0}.backup-row h3,.device-row h3{margin:0 0 6px;font-size:17px;line-height:1.3}.backup-row p,.device-row p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}[hidden]{display:none!important}
@media(max-width:1400px){.cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1280px){.topbar{flex-wrap:wrap;padding-top:12px;padding-bottom:8px}.shelf{order:3;flex:1 0 100%}.browse-head{flex-wrap:wrap}.browse-tools{width:100%;justify-content:flex-start}}
@media(max-width:1100px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.release-box,.account-grid,.editor-grid,.detail-layout,.stat-grid{grid-template-columns:1fr 1fr}.search{width:200px}}
@media(max-width:760px){.topbar,main{padding-left:16px;padding-right:16px}.topbar{gap:10px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.shelf{order:3;width:100%}.top-actions{margin-left:0}.search{width:auto;flex:1;min-width:120px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}.browse-head{align-items:flex-start;flex-direction:column;gap:16px}.browse-tools{width:100%;justify-content:flex-start}.release-box,.account-grid,.editor-grid,.detail-layout,.stat-grid,.two{grid-template-columns:1fr}.admin-card{flex-wrap:wrap}}
.banner-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.banner-row{display:flex;align-items:center;gap:14px;background:#000;border-radius:12px;padding:10px 12px}.banner-row img,.banner-row .banner-fallback{width:112px;height:64px;object-fit:cover;border-radius:8px;background:#1a1a1a;flex:none}.banner-row .info{flex:1;min-width:0}.banner-row h3{margin:0 0 4px;font-size:16px}.banner-row p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
html:not([data-page="library"]):not([data-page="collection"]) .search{display:none}
html:not([data-page="library"]):not([data-page="collection"]) #collectionNav{margin-left:auto}
.shots{display:flex;gap:10px;overflow:auto;margin-top:12px}.shots img{height:96px;border-radius:8px;background:#000}.shots button{padding:0;border-radius:8px}
[hidden]{display:none!important}html[data-auth="out"] #studioNav,html[data-auth="user"] #studioNav{display:none!important}html[data-auth="admin"] #adminGate{display:none!important}#collectionNav{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0}#collectionNav svg,.icon-fav svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}html[data-page="collection"] #collectionNav svg,.icon-fav.on svg{fill:currentColor}.icon-fav{width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:22px;vertical-align:middle}.icon-fav.on{background:#fff;color:#000}.detail-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.detail-side{display:flex;flex-direction:column;gap:8px;margin-top:8px}.detail-side button{text-align:left;border-radius:12px;background:#000}
.home-strip{display:flex;gap:18px;align-items:stretch;margin-top:8px;min-width:0}
.home-profile{flex:0 0 280px;width:280px;background:#161616;border-radius:28px;padding:28px;min-height:420px;display:flex;flex-direction:column;align-items:flex-start}
a.home-profile:hover{background:#161616;color:#fff}
.home-profile h2{margin:8px 0 0;font-size:28px;line-height:1.15;font-weight:650}
.home-games{flex:1;min-width:0;display:flex;gap:16px;overflow:auto}
.home-game{flex:0 0 210px;width:210px;padding:6px;border-radius:26px;text-align:left;background:transparent;color:#fff}
.home-game img,.home-game .cover{width:100%;height:280px;object-fit:cover;border-radius:22px;background:#161616;display:flex;align-items:center;justify-content:center}
.home-game h3{margin:12px 4px 0;font-size:16px;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-game:hover{background:transparent;color:#fff;outline:2px solid #fff}
.home-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.72fr);gap:18px;margin-top:18px}
.dash-card{background:#161616;border-radius:28px;padding:28px;min-height:240px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.dash-card h2,.home-profile h2{margin:8px 0 0;font-size:28px;line-height:1.15;font-weight:650}
.eyebrow{margin:0;color:#8e8e8e;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.avatar-lg{width:96px;height:96px;border-radius:48px;overflow:hidden;background:#2a2a2a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:650;margin-bottom:16px}
.avatar-lg img{width:100%;height:100%;object-fit:cover;display:block}
.dash-banner{position:relative;display:flex;align-items:flex-end;width:100%;min-width:0;min-height:240px;padding:28px;border:0;border-radius:28px;overflow:hidden;background:#161616;color:#8e8e8e;text-align:left;font-size:18px;white-space:normal}
.dash-banner:hover{background:#1c1c1c;color:#fff}
.dash-banner img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.dash-caption{position:absolute;left:0;right:0;bottom:0;padding:48px 22px 22px;background:linear-gradient(transparent,#000);display:flex;flex-direction:column;gap:4px;color:#fff}
.dash-caption small{color:#d0d0d0;font-size:14px}
html[data-page="home"] #library{display:none!important}
html[data-page="home"] #home{display:block!important}
html[data-page="home"] .shelf [data-kind="home"]{color:#fff}
img.profile-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block;margin-bottom:16px}
.trophy-meter{height:8px;border-radius:4px;background:#2a2a2a;overflow:hidden;margin-top:8px}
.trophy-meter span{display:block;height:100%;background:#fff}
.trophy-list{display:flex;flex-direction:column;gap:14px;margin-top:8px}
@media (max-width:980px){.home-strip,.home-row{display:block}.home-profile,.home-game,.dash-card,.dash-banner{min-height:220px;width:100%;margin-bottom:16px}}
/* CONCLAVE 0.7 — frosted surfaces and a quiet blue ambient background. */
:root{--muted:#a0adc2}body{background:radial-gradient(ellipse at 12% 0%,#1e3048 0%,transparent 58%),radial-gradient(ellipse at 100% 70%,#1c2540 0%,transparent 55%),#090d16;background-attachment:fixed}.topbar{background:#0b111ed9;backdrop-filter:blur(24px);border-bottom:1px solid #ffffff12}.panel,.dash-card,.home-profile,a.home-profile:hover,.release-box,.note,.info-banner,dialog{background:linear-gradient(135deg,#ffffff12,#ffffff04);border:1px solid #ffffff22;box-shadow:0 16px 48px #0002;backdrop-filter:blur(20px)}.home-profile,.dash-card,.release-box,.panel{border-radius:28px}.home-profile{background:linear-gradient(145deg,#3b557766,#17233799)}.eyebrow{color:#a4b4cb}.dash-banner{border:1px solid #ffffff22;background:#192333}.dash-banner img{border-radius:28px}.search{background:#ffffff06;border-color:#ffffff28}.home-game img,.home-game .cover{box-shadow:0 12px 30px #0004}.trophy-meter{background:#ffffff16}.trophy-meter span{background:#c3dcff}

/* CONCLAVE 0.7.2 */
body{background:#000;color:#f2f2f2}.panel,.dash-card,.home-profile,.release-box,dialog{background:linear-gradient(125deg,#191a1b,#090a0b);border:1px solid #303234;box-shadow:0 18px 65px #0008;backdrop-filter:blur(24px);border-radius:24px}.home-games{display:none!important}.topbar{background:#000e}
