
/* TiviLux 3.1 — System Control Center */
.system31-boot{min-height:60vh;display:grid;place-items:center;align-content:center;gap:12px;color:#8d99a9}.system31{max-width:1500px;margin:0 auto;padding-bottom:50px}.sys-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:12px 0 20px}.sys-hero h1{font-size:clamp(34px,4vw,58px);margin:6px 0}.sys-hero p{max-width:760px;color:#8e9aab;margin:0}.sys-health{display:flex;gap:8px;overflow:auto;padding:10px;border:1px solid #ffffff0c;border-radius:16px;background:#0b1118;margin-bottom:14px}.sys-health span{white-space:nowrap;border:1px solid #ffffff0a;border-radius:10px;padding:9px 11px;color:#8b98a8;font-size:11px}.sys-health b{color:#dbe1e7;margin-left:4px}.sys-health i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.sys-health .ok{background:#53d58a;box-shadow:0 0 10px #53d58a66}.sys-health .warn{background:#efca87;box-shadow:0 0 10px #efca8766}.sys-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:14px;align-items:start}.sys-nav{position:sticky;top:18px;border:1px solid #ffffff0d;border-radius:20px;background:#090e14;padding:8px;max-height:calc(100vh - 40px);overflow:auto}.sys-nav button{width:100%;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;text-align:left;padding:11px;border-radius:12px;color:#8c99aa}.sys-nav button i{font-style:normal;color:#667589;text-align:center}.sys-nav button b{min-width:20px;height:20px;border-radius:999px;background:#efca87;color:#111;display:grid;place-items:center;font-size:10px}.sys-nav button.active,.sys-nav button:hover{background:#121a24;color:#f2f4f6}.sys-nav button.active i{color:#efca87}.sys-panel{min-width:0;border:1px solid #ffffff0d;border-radius:22px;background:linear-gradient(145deg,#101721e8,#0a0f16e8);padding:24px;min-height:650px}.sys-panel-head{margin-bottom:18px}.sys-panel-head h2{font-size:clamp(28px,3vw,42px);margin:5px 0}.sys-panel-head p{color:#8a97a8;max-width:760px;margin:0}.sys-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sys-card{border:1px solid #ffffff0d;border-radius:18px;background:#0b1118;padding:18px;min-width:0}.sys-card h3{margin:5px 0 12px;font-size:19px}.sys-card p{color:#8794a6;line-height:1.5}.sys-big-value{font-size:27px;font-weight:850;color:#f2f4f6;margin:8px 0}.sys-toggle,.sys-select,.sys-range,.sys-action-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #ffffff09}.sys-toggle:first-of-type,.sys-select:first-of-type,.sys-range:first-of-type{border-top:0}.sys-toggle>span,.sys-select>span,.sys-range>span,.sys-action-row>div{min-width:0}.sys-toggle strong,.sys-select strong,.sys-range strong,.sys-action-row strong{display:block;font-size:13px}.sys-toggle small,.sys-select small,.sys-range small,.sys-action-row small{display:block;color:#748295;font-size:10px;margin-top:3px;line-height:1.35}.sys-toggle input{position:absolute;opacity:0;pointer-events:none}.sys-toggle i{width:46px;height:26px;border-radius:999px;background:#1c2531;border:1px solid #ffffff13;position:relative;flex:none;transition:.18s}.sys-toggle i:after{content:'';position:absolute;width:20px;height:20px;left:2px;top:2px;border-radius:50%;background:#7d8998;transition:.18s}.sys-toggle input:checked+i{background:#efca8721;border-color:#efca8750}.sys-toggle input:checked+i:after{left:22px;background:#efca87}.sys-select select{min-width:180px;max-width:46%;background:#070b10;border:1px solid #ffffff14;border-radius:10px;color:#e7ebef;padding:10px 12px}.sys-range>div{display:flex;align-items:center;gap:9px;min-width:210px}.sys-range input{width:170px}.sys-range output{min-width:52px;text-align:right;color:#efca87;font-size:11px}.sys-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.sys-presets button{border:1px solid #ffffff0e;border-radius:18px;background:#0b1118;padding:16px;text-align:left;display:grid;grid-template-columns:38px 1fr;column-gap:10px}.sys-presets button i{grid-row:1/3;width:38px;height:38px;border-radius:12px;background:#efca8710;color:#efca87;display:grid;place-items:center;font-style:normal}.sys-presets button strong{font-size:15px}.sys-presets button small{color:#768396}.sys-presets button.active,.sys-presets button:hover{border-color:#efca8740;background:#111923}.sys-provider-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #ffffff09}.sys-provider-row span strong,.sys-provider-row span small{display:block}.sys-provider-row span small{color:#738094;margin-top:3px}.sys-provider-row>div{display:flex;gap:6px}.sys-dl{margin:0}.sys-dl div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #ffffff09}.sys-dl dt{color:#7b899b}.sys-dl dd{margin:0;color:#e6eaee;font-weight:750}.sys-update-card{border:1px solid #ffffff10;border-radius:20px;background:#0b1118;padding:20px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:16px;align-items:center;margin-bottom:12px}.sys-update-card.has-update{border-color:#efca8750;box-shadow:inset 0 0 0 1px #efca870d}.sys-update-icon{width:58px;height:58px;border-radius:16px;background:#efca8710;color:#efca87;display:grid;place-items:center;font-size:27px}.sys-update-card span{font-size:9px;letter-spacing:.16em;color:#748194}.sys-update-card strong{display:block;font-size:24px;margin:3px 0}.sys-update-card p{margin:3px 0;color:#909cad}.sys-update-card small{color:#687689}.sys-file{cursor:pointer}.sys-loading{padding:50px;text-align:center;color:#7f8b9b}.has-app-update{position:relative}.has-app-update:after{content:'';position:absolute;right:8px;top:8px;width:8px;height:8px;border-radius:50%;background:#efca87;box-shadow:0 0 10px #efca87}.no-glass #header,.no-glass .sys-nav,.no-glass .sys-panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.high-contrast .sys-card,.high-contrast .sys-panel,.high-contrast .sys-nav{border-color:#ffffff2b}.large-touch button,.large-touch select{min-height:48px}body[data-ui-density='compact'] .sys-card{padding:13px}body[data-ui-density='compact'] .sys-toggle,body[data-ui-density='compact'] .sys-select,body[data-ui-density='compact'] .sys-range{padding:9px 0}body[data-ui-density='spacious'] .sys-card{padding:24px}body[data-accent='ice']{--gold:#8ed8ff}body[data-accent='platinum']{--gold:#d7dde6}.hide-channel-numbers .guide-channel-number,.hide-channel-numbers .guide-row-number{display:none!important}.hide-channel-logos .guide-channel img,.hide-channel-logos .guide-channel-logo{visibility:hidden!important}.mobile-dock-off .guide-v22-preview{position:relative!important;top:auto!important}.mv-overlays-off .mv-pane-top,.mv-overlays-off .mv-pane-info{display:none!important}
@media(max-width:900px){.sys-layout{grid-template-columns:190px minmax(0,1fr)}.sys-cards{grid-template-columns:1fr}.sys-nav button{padding:10px 8px}.sys-panel{padding:18px}}
@media(max-width:700px){.system31{margin:-4px -8px 0}.sys-hero{padding:8px 8px 14px;align-items:flex-start}.sys-hero h1{font-size:32px}.sys-hero p{font-size:12px}.sys-health{margin:0 8px 9px;border-radius:14px}.sys-layout{display:block}.sys-nav{position:sticky;top:calc(70px + env(safe-area-inset-top));z-index:45;display:flex;gap:6px;max-height:none;overflow-x:auto;padding:7px;margin:0 0 8px;border-radius:0;border-left:0;border-right:0;background:#080c12f5;backdrop-filter:blur(16px)}.sys-nav button{width:auto;min-width:max-content;display:flex;padding:9px 11px}.sys-nav button i{display:none}.sys-panel{border-radius:16px;padding:14px;min-height:0}.sys-cards{grid-template-columns:1fr}.sys-presets{grid-template-columns:1fr}.sys-toggle,.sys-select,.sys-range{gap:10px}.sys-select{align-items:flex-start;flex-direction:column}.sys-select select{max-width:none;width:100%}.sys-range{align-items:flex-start;flex-direction:column}.sys-range>div{width:100%}.sys-range input{flex:1;width:auto}.sys-update-card{grid-template-columns:46px 1fr;align-items:start}.sys-update-icon{width:46px;height:46px}.sys-update-actions{grid-column:1/-1}.sys-update-actions button{width:100%}.sys-provider-row{align-items:flex-start;flex-direction:column}.sys-provider-row>div{width:100%}.sys-provider-row>div button{flex:1}}


/* ============================================================
   TiviLux 3.1.1 — SETTINGS WIRING
   Appearance controls now affect the entire app.
   ============================================================ */
body[data-accent='gold']{--gold:#e8c38b;--v3-gold:#efca87;--v3-gold2:#c79b4d}
body[data-accent='ice']{--gold:#8ed8ff;--v3-gold:#8ed8ff;--v3-gold2:#4aa9d8}
body[data-accent='platinum']{--gold:#d7dde6;--v3-gold:#e1e6ec;--v3-gold2:#9ba7b5}

@media(min-width:701px){
 body[data-ui-density='compact'] #header{height:76px}
 body[data-ui-density='compact'] .app-main{padding-top:16px}
 body[data-ui-density='compact'] .v2-home-hero{min-height:330px}
 body[data-ui-density='compact'] .rail-section{margin-bottom:24px}
 body[data-ui-density='compact'] .v3-live-pulse{padding:17px}
 body[data-ui-density='compact'] .guide-row{min-height:72px}
 body[data-ui-density='compact'] .lux-advanced-card{padding:16px!important}

 body[data-ui-density='spacious'] #header{height:104px}
 body[data-ui-density='spacious'] .app-main{padding-top:34px}
 body[data-ui-density='spacious'] .v2-home-hero{min-height:470px}
 body[data-ui-density='spacious'] .rail-section{margin-bottom:48px}
 body[data-ui-density='spacious'] .v3-live-pulse{padding:30px}
 body[data-ui-density='spacious'] .guide-row{min-height:102px}
 body[data-ui-density='spacious'] .lux-advanced-card{padding:30px!important}
}

.high-contrast{--line:#ffffff32;--muted:#b5bdc8}
.high-contrast #header,.high-contrast #mobile-nav,.high-contrast .sys-card,.high-contrast .sys-panel,.high-contrast .sys-nav,
.high-contrast .guide-row,.high-contrast .guide-commandbar,.high-contrast .v3-live-pulse,.high-contrast .v3-pulse-card,
.high-contrast .lux-advanced-card,.high-contrast .mv-picker-panel,.high-contrast .mv-selection-panel{border-color:#ffffff38!important}
.high-contrast p,.high-contrast small,.high-contrast .muted{color:#b8c1cc!important}

.no-glass #header,.no-glass #mobile-nav,.no-glass dialog,.no-glass .lux-advanced-card,.no-glass .sys-nav,.no-glass .sys-panel,
.no-glass .guide-commandbar,.no-glass .guide-v22-preview,.no-glass .mv-replace-drawer,.no-glass .mv-launch-dock{
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important
}

@media(min-width:701px){
 .tv-mode #header{height:112px;padding-left:3vw;padding-right:3vw}
 .tv-mode #header nav a{font-size:1rem}
 .tv-mode #header nav a svg{width:25px;height:25px}
 .tv-mode button,.tv-mode .button,.tv-mode select{min-height:58px;font-size:1rem}
 .tv-mode .guide-channel{min-height:105px}
 .tv-mode .guide-channel-name strong{font-size:1rem}
 .tv-mode .guide-commandbar{min-height:72px}
 .tv-mode .osd-actions button{min-width:62px;min-height:56px}
 .tv-mode .v3-pulse-card{min-height:120px}
}

.large-touch button,.large-touch .button,.large-touch select,.large-touch input:not([type=checkbox]):not([type=range]){min-height:52px!important}
.large-touch #mobile-nav a{min-height:52px!important}
.large-touch .guide-channel-favorite,.large-touch .guide-channel-more{min-width:50px!important}

.guide-program-description{max-width:100%;margin-top:3px;color:#9aa6b7;font-size:9px;line-height:1.2;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}


.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{
 animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important
}
/* 3.2 settings polish */.sys-nav{overflow:hidden!important}.sys-nav-list{min-height:0;overflow:auto;padding-bottom:8px}.sys-find{display:grid;grid-template-columns:24px 1fr;align-items:center;margin:8px;padding:8px 10px;border:1px solid #ffffff13;border-radius:12px;background:#0b1118}.sys-find span{color:var(--v3-gold);font-size:18px}.sys-find input{min-width:0;border:0!important;background:transparent!important;color:#fff;outline:0!important;padding:0!important;min-height:28px!important;box-shadow:none!important}.sys-theme-preview{border:1px solid #ffffff10;border-radius:20px;padding:15px;margin-bottom:14px;background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--v3-gold) 18%,transparent),transparent 42%),#0a1017}.sys-theme-preview>span{font-size:8px;letter-spacing:.18em;color:var(--v3-gold);font-weight:900}.sys-theme-preview>div{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:12px;padding:15px;border:1px solid #ffffff0d;border-radius:14px;background:#090e14}.sys-theme-preview b{color:var(--v3-gold);font-size:19px}.sys-theme-preview button{min-height:38px!important;padding:8px 14px;background:var(--v3-gold);color:#111;border-radius:10px}
/* 3.2.2 release center */
.sys-release-summary{margin:14px 0;padding:18px;border:1px solid #ffffff12;border-radius:18px;background:radial-gradient(circle at 85% 0,color-mix(in srgb,var(--v3-gold) 15%,transparent),transparent 42%),#0a1017}.sys-release-summary h3{margin:6px 0;font-size:20px}.sys-release-summary p{color:#93a0b0;line-height:1.5}.sys-release-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.sys-release-badges b{font-size:9px;letter-spacing:.06em;color:var(--v3-gold);border:1px solid color-mix(in srgb,var(--v3-gold) 32%,transparent);background:color-mix(in srgb,var(--v3-gold) 8%,transparent);padding:6px 9px;border-radius:999px}

/* TiviLux 3.2.5 — Theme Lab */
/* TiviLux 3.2.6.4 — Theme accent consistency */
body[data-theme] .v3-home-hero .eyebrow,
body[data-theme] .system31 .eyebrow,
body[data-theme] .system31 .settings-kicker,
body[data-theme] .sys-theme-current{
  color:var(--gold)!important;
}


/* ================================================================
   TiviLux 3.2.14 — CURATED THEME STUDIO
   10 intentional themes. Large previews. Clear tiers. No filler.
   ================================================================ */
.sys-theme-studio{
 border:1px solid #ffffff10;
 border-radius:22px;
 padding:20px;
 margin-bottom:14px;
 background:
   radial-gradient(circle at 92% 0,color-mix(in srgb,var(--gold) 10%,transparent),transparent 30%),
   linear-gradient(145deg,#0d131b,#080c12);
 box-shadow:0 24px 70px #0004,inset 0 1px 0 #ffffff07;
}
.sys-theme-studio-head{
 display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px;
}
.sys-theme-studio-head h3{margin:4px 0 6px;font-size:27px;letter-spacing:-.035em}
.sys-theme-studio-head p{margin:0;max-width:720px;color:#8996a6;font-size:11px;line-height:1.65}
.sys-theme-stats{display:flex;gap:8px;flex:none}
.sys-theme-stats span{
 min-width:98px;padding:11px 13px;border:1px solid #ffffff0e;border-radius:13px;
 background:#080d13;color:#748295;font-size:8px;text-transform:uppercase;letter-spacing:.08em;
}
.sys-theme-stats b{display:block;color:#f4f7fb;font-size:18px;letter-spacing:-.03em;margin-bottom:2px}

.sys-theme-feature{
 display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr);gap:16px;
 padding:13px;border:1px solid #ffffff10;border-radius:18px;background:#070b10;
 box-shadow:inset 0 1px 0 #ffffff05;margin-bottom:16px;
}
.sys-theme-feature-preview{min-width:0}
.sys-theme-feature-copy{
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 12px;
}
.sys-theme-feature-copy>small{margin-top:12px;color:var(--gold);font-size:8px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.sys-theme-feature-copy h4{margin:5px 0 7px;font-size:25px;letter-spacing:-.035em}
.sys-theme-feature-copy p{margin:0;color:#8794a4;font-size:10px;line-height:1.6}
.sys-theme-feature-meta{
 display:flex;align-items:center;gap:9px;margin-top:15px;color:#657386;font-size:7px;font-weight:900;letter-spacing:.09em;
}
.sys-theme-feature-meta i{width:4px;height:4px;border-radius:50%;background:var(--gold)}

.sys-theme-toolbar{
 display:flex;justify-content:space-between;align-items:center;gap:14px;margin:4px 0 13px;
}
.sys-theme-filters{
 display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #ffffff0f;border-radius:12px;background:#080d13;
}
.sys-theme-filters button{
 min-height:34px!important;padding:7px 10px!important;border-radius:8px!important;border:0!important;background:transparent!important;
 color:#788698!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:9px!important;font-weight:850!important;
}
.sys-theme-filters button b{
 min-width:18px;padding:2px 5px;border-radius:999px;background:#ffffff0b;color:#8c99a9;font-size:7px;
}
.sys-theme-filters button.active{
 color:#fff!important;background:#ffffff0b!important;box-shadow:inset 0 0 0 1px #ffffff0d!important;
}
.sys-theme-filters button.active b{background:color-mix(in srgb,var(--gold) 18%,transparent);color:var(--gold)}
.sys-theme-tip{color:#657386;font-size:8px;letter-spacing:.05em}

.sys-theme-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sys-theme-tile{
 position:relative!important;display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:12px!important;
 width:100%!important;height:auto!important;min-height:152px!important;padding:9px!important;text-align:left!important;
 border:1px solid #ffffff0f!important;border-radius:17px!important;background:#080c12!important;overflow:hidden!important;
 transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.sys-theme-tile:hover{
 transform:translateY(-2px)!important;background:#0b1118!important;border-color:#ffffff20!important;box-shadow:0 18px 42px #0005!important;
}
.sys-theme-tile.active{
 border-color:color-mix(in srgb,var(--gold) 52%,#ffffff12)!important;
 box-shadow:0 0 0 1px color-mix(in srgb,var(--gold) 18%,transparent),0 18px 42px #0005!important;
}
.sys-theme-tile>em,.sys-theme-apply{
 position:absolute;right:10px;top:10px;padding:4px 7px;border-radius:999px;
 font-size:6px;font-style:normal;font-weight:950;letter-spacing:.11em;z-index:5;
}
.sys-theme-tile>em{background:var(--gold);color:#12100d}
.sys-theme-apply{background:#ffffff0c;color:#738194;border:1px solid #ffffff0e}
.sys-theme-tile-copy{display:flex;flex-direction:column;min-width:0;padding:7px 6px 5px 0}
.sys-theme-tile-copy>div{display:flex;align-items:center;gap:7px;padding-right:48px}
.sys-theme-tile-copy>div>small{color:var(--gold);font-size:7px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.sys-theme-tile-copy>strong{margin-top:8px;color:#f3f6fa;font-size:15px;letter-spacing:-.018em}
.sys-theme-tile-copy>p{margin:5px 0 10px;color:#768496;font-size:9px;line-height:1.48}
.sys-theme-tier{
 display:inline-flex;align-items:center;min-height:20px;padding:3px 6px;border-radius:999px;
 font-size:6px;font-weight:950;letter-spacing:.11em;
}
.sys-theme-tier.signature{background:#ffffff09;color:#9ba7b6;border:1px solid #ffffff0c}
.sys-theme-tier.experience{
 background:color-mix(in srgb,var(--gold) 13%,transparent);color:var(--gold);
 border:1px solid color-mix(in srgb,var(--gold) 24%,transparent);
}
.sys-theme-swatches{display:flex!important;gap:4px!important;margin-top:auto!important;padding:0!important}
.sys-theme-swatches i{
 width:16px;height:5px;border-radius:999px;background:var(--sw);border:1px solid #ffffff12;
}

/* mini interface scene */
.sys-theme-scene{
 position:relative;height:132px;overflow:hidden;border-radius:11px;border:1px solid #ffffff10;
 background:linear-gradient(145deg,var(--p2),var(--p1));box-shadow:inset 0 1px 0 #ffffff07;
}
.sys-theme-scene.large{height:258px;border-radius:14px}
.theme-scene-top{
 position:absolute;left:0;right:0;top:0;height:22%;display:flex;align-items:center;gap:5px;padding:0 5%;
 background:color-mix(in srgb,var(--p1) 80%,#000 20%);border-bottom:1px solid #ffffff0a;
}
.theme-scene-top i{width:18%;height:20%;border-radius:99px;background:var(--pb)}
.theme-scene-top span{margin-left:auto;width:7%;height:28%;border-radius:99px;background:#ffffff24}
.theme-scene-top b{width:10%;height:22%;border-radius:99px;background:#ffffff16}
.theme-scene-side{
 position:absolute;left:0;top:22%;bottom:0;width:13%;padding-top:8%;display:flex;flex-direction:column;align-items:center;gap:8%;
 background:#00000018;border-right:1px solid #ffffff08;
}
.theme-scene-side i{width:31%;aspect-ratio:1;border-radius:4px;background:#ffffff17}
.theme-scene-side i:first-child{background:var(--pa)}
.theme-scene-hero{
 position:absolute;left:17%;right:4%;top:29%;height:38%;padding:5%;
 background:radial-gradient(circle at 84% 12%,color-mix(in srgb,var(--pa) 27%,transparent),transparent 34%),#ffffff05;
 border:1px solid #ffffff08;border-radius:7px;
}
.theme-scene-hero small{display:block;color:var(--pa);font-size:5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.theme-scene-hero strong{display:block;width:53%;height:12%;margin-top:6%;border-radius:2px;background:#ffffffde}
.theme-scene-hero span{display:block;width:38%;height:6%;margin-top:4%;border-radius:99px;background:#ffffff55}
.theme-scene-hero em{display:block;width:20%;height:15%;margin-top:7%;border-radius:3px;background:var(--pa)}
.theme-scene-row{position:absolute;left:17%;right:4%;bottom:7%;height:18%;display:grid;grid-template-columns:repeat(4,1fr);gap:3%}
.theme-scene-row i{border-radius:4px;background:var(--p2);border:1px solid #ffffff0a}
.theme-scene-row i:first-child{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pa) 45%,transparent)}
.sys-theme-scene.large .theme-scene-top{height:16%;padding:0 3%}
.sys-theme-scene.large .theme-scene-side{top:16%;width:9%;gap:7%}
.sys-theme-scene.large .theme-scene-hero{left:12%;right:3%;top:22%;height:46%;padding:4%}
.sys-theme-scene.large .theme-scene-row{left:12%;right:3%;height:18%;bottom:6%;gap:2%}

/* individual preview personalities */
.preview-red{background:radial-gradient(circle at 78% 12%,#e5091428,transparent 34%),linear-gradient(145deg,#171010,#060606)}
.preview-red .theme-scene-hero{box-shadow:inset 4px 0 0 #e50914}
.preview-blue{background:radial-gradient(circle at 80% 8%,#3c9dff33,transparent 36%),linear-gradient(145deg,#0c1a2b,#04080e)}
.preview-emerald{background:radial-gradient(circle at 80% 8%,#25c9822d,transparent 36%),linear-gradient(145deg,#102019,#050b08)}
.preview-platinum{background:linear-gradient(145deg,#1c2025,#090b0e)}
.preview-platinum .theme-scene-hero{background:#ffffff08}
.preview-miami{background:linear-gradient(145deg,#190c24,#080612)}
.preview-miami:after{content:"";position:absolute;left:-5%;right:-5%;bottom:20%;height:1px;background:linear-gradient(90deg,#ff4fc3,#39e7ff);box-shadow:0 0 12px #39e7ff66}
.preview-miami .theme-scene-hero{box-shadow:0 0 22px #ff4fc322}
.preview-carbon{background:linear-gradient(145deg,#161b20,#050607)}
.preview-carbon *{border-radius:2px!important}
.preview-carbon .theme-scene-top{background:#080a0c}
.preview-disney{
 background:radial-gradient(ellipse at 70% -5%,#6fa8ff45,transparent 40%),linear-gradient(180deg,#10264a,#030611 82%);
}
.preview-disney .theme-scene-side{display:none}
.preview-disney .theme-scene-hero{left:4%;right:4%;top:25%;height:42%;background:linear-gradient(100deg,#071426,#0c2444)}
.preview-disney .theme-scene-row{left:4%;right:4%;grid-template-columns:repeat(5,1fr)}
.preview-disney .theme-scene-top i{background:#d7e7ff}
.preview-nfl{
 background:linear-gradient(135deg,#101821,#05070a);
}
.preview-nfl:after{content:"";position:absolute;left:0;right:0;top:21%;height:3px;background:linear-gradient(90deg,#ff3645 0 34%,#fff 34% 66%,#45a7ff 66%)}
.preview-nfl .theme-scene-hero{border-radius:3px;box-shadow:inset 4px 0 0 #ff3645}
.preview-nfl .theme-scene-row i{border-radius:2px}
.preview-college{
 background:repeating-linear-gradient(0deg,transparent 0,transparent 25px,#ffffff08 26px),linear-gradient(145deg,#202217,#080906);
}
.preview-college .theme-scene-hero{border-radius:3px;box-shadow:inset 0 3px 0 #e9902f}
.preview-college .theme-scene-row i{border-radius:2px}
.preview-college .theme-scene-top i{background:#f7e3ad}

/* keep theme accent labels correctly themed */
body[data-theme] .system31 .eyebrow,
body[data-theme] .system31 .settings-kicker{color:var(--gold)!important}

@media(max-width:1180px){
 .sys-theme-gallery{grid-template-columns:1fr}
 .sys-theme-tile{grid-template-columns:205px minmax(0,1fr)!important}
}
@media(max-width:760px){
 .sys-theme-studio{padding:13px;border-radius:16px}
 .sys-theme-studio-head{display:block}
 .sys-theme-stats{margin-top:12px}
 .sys-theme-feature{grid-template-columns:1fr}
 .sys-theme-feature-copy{padding:4px 4px 8px}
 .sys-theme-feature-preview .sys-theme-scene.large{height:190px}
 .sys-theme-toolbar{display:block}
 .sys-theme-filters{display:grid;grid-template-columns:repeat(4,1fr);width:100%}
 .sys-theme-filters button{justify-content:center!important;padding:7px 5px!important}
 .sys-theme-tip{display:block;margin-top:8px}
 .sys-theme-gallery{grid-template-columns:1fr}
 .sys-theme-tile{grid-template-columns:145px minmax(0,1fr)!important;min-height:135px!important}
 .sys-theme-scene{height:116px}
}
@media(max-width:470px){
 .sys-theme-stats span{min-width:0;flex:1}
 .sys-theme-feature-preview .sys-theme-scene.large{height:165px}
 .sys-theme-filters{grid-template-columns:1fr 1fr}
 .sys-theme-tile{grid-template-columns:1fr!important}
 .sys-theme-scene{height:145px}
 .sys-theme-tile-copy{padding:4px 5px 5px}
}
