/* Opt-in primitives: #904 activates these on the application shell. */
[data-theme-version="v2-neon-broadcast"] { --theme-bg:#080a12; --theme-bg-elevated:#101524; --theme-surface:#151c2e; --theme-surface-strong:#1d2740; --theme-border:#344464; --theme-border-strong:#5d78a8; --theme-text:#f3f7ff; --theme-text-muted:#a9b7cf; --theme-primary:#4de2ff; --theme-primary-glow:rgb(77 226 255 / 35%); --theme-secondary:#a78bfa; --theme-danger:#ff617d; --theme-warning:#ffcb6b; --theme-success:#64e6a5; --theme-focus-ring:#fff2a6; --theme-radius-sm:.375rem; --theme-radius-md:.75rem; --theme-radius-lg:1.125rem; --theme-shadow-card:0 .75rem 2rem rgb(0 0 0 / 28%); --theme-shadow-glow:0 0 1.25rem var(--theme-primary-glow); --theme-space-page:clamp(1rem,2vw,2rem); --theme-space-card:clamp(.875rem,1.5vw,1.25rem); --theme-font-body:Inter,ui-sans-serif,system-ui,sans-serif; --theme-font-display:Orbitron,Inter,ui-sans-serif,sans-serif; --theme-motion-fast:160ms; --cc-r2-magenta:#f229ff; --cc-r2-violet:#8b3dff; --cc-r2-cyan:#10d9ff; --cc-r2-gold:#ffc21a; --cc-app-background:var(--theme-bg); --cc-app-surface:var(--theme-bg-elevated); --cc-app-surface-raised:var(--theme-surface); --cc-app-border:var(--theme-border-strong); --cc-app-accent:var(--theme-primary); --cc-app-accent-glow:var(--theme-primary-glow); --cc-app-warning:var(--theme-warning); --cc-app-danger:var(--theme-danger); --cc-app-success:var(--theme-success); --cc-app-text:var(--theme-text); --cc-app-text-muted:var(--theme-text-muted); --cc-app-focus-ring:var(--theme-focus-ring); --cc-app-radius:var(--theme-radius-sm); --cc-app-space-page:var(--theme-space-page); --cc-app-font-body:var(--theme-font-body); --cc-app-font-display:var(--theme-font-display); --cc-app-motion-fast:var(--theme-motion-fast); }
[data-theme-version="v2-neon-broadcast"] .page { background:radial-gradient(circle at 16% 0%,rgb(77 226 255 / 12%),transparent 28%),radial-gradient(circle at 88% 8%,rgb(167 139 250 / 12%),transparent 24%),var(--theme-bg); }
[data-theme-version="v2-neon-broadcast"] .app-shell-bar { background:linear-gradient(110deg,var(--theme-bg-elevated),var(--theme-surface-strong)); border-bottom-color:var(--theme-border-strong); box-shadow:0 1rem 2.5rem rgb(0 0 0 / 32%),0 0 2rem var(--theme-primary-glow); padding:.5rem var(--theme-space-page); }
[data-theme-version="v2-neon-broadcast"] .app-shell-drawer { background:var(--theme-bg-elevated); border-right:1px solid var(--theme-border); }
[data-theme-version="v2-neon-broadcast"] .content { padding:var(--theme-space-page); }
[data-theme-version="v2-neon-broadcast"] .app-shell-title { color:var(--theme-text); font-family:var(--theme-font-display); letter-spacing:.09em; }
[data-theme-version="v2-neon-broadcast"] .app-shell-header__menu-button,[data-theme-version="v2-neon-broadcast"] .app-shell-header__settings-button { border-color:var(--theme-border-strong); border-radius:var(--theme-radius-sm); color:var(--theme-primary); }
[data-theme-version="v2-neon-broadcast"] .app-shell-header__menu-button:focus-visible,[data-theme-version="v2-neon-broadcast"] .app-shell-header__settings-button:focus-visible { outline:3px solid var(--theme-focus-ring); outline-offset:3px; }
[data-theme-version="v2-neon-broadcast"] :is(.site-dashboard__primary,.admin-dashboard__primary,.site-dashboard__summary-panel) { background:linear-gradient(145deg,var(--theme-surface),var(--theme-surface-strong)) !important; border-color:var(--theme-border) !important; border-radius:var(--theme-radius-md); box-shadow:var(--theme-shadow-card); }
[data-theme-version="v2-neon-broadcast"] :is(.site-dashboard__details,.site-dashboard__inline-details,.admin-dashboard__details) { background:var(--theme-bg-elevated); border-color:var(--theme-border); border-radius:var(--theme-radius-md); }
[data-theme-version="v2-neon-broadcast"] :is(.site-dashboard__summary-entry,.site-kick-readiness__item) { border-left:2px solid var(--theme-primary); padding-left:.65rem; }
[data-theme-version="v2-neon-broadcast"] :is(.health-metrics-dashboard,.twitch-overview-dashboard,.games-media-dashboard,.streamer-admin-dashboard,.inplay-dashboard,.diagnostics-labs-dashboard) :is(.mud-paper,.mud-card) { background:var(--theme-surface) !important; border-color:var(--theme-border) !important; box-shadow:var(--theme-shadow-card); }
[data-theme-version="v2-neon-broadcast"] :is(.health-metrics-dashboard,.twitch-overview-dashboard,.games-media-dashboard,.streamer-admin-dashboard,.inplay-dashboard,.diagnostics-labs-dashboard) :is(.mud-alert,.mud-chip) { border-radius:var(--theme-radius-sm); }
[data-theme-version="v2-neon-broadcast"] :is(.mud-input-control-input-container,.mud-select,.mud-input) { background:var(--theme-bg-elevated); border-radius:var(--theme-radius-sm); }
[data-theme-version="v2-neon-broadcast"] :is(.mud-input-control-input-container,.mud-select):focus-within { outline:3px solid var(--theme-focus-ring); outline-offset:2px; }
[data-theme-version="v2-neon-broadcast"] .mud-table { background:var(--theme-surface); border:1px solid var(--theme-border); border-radius:var(--theme-radius-md); overflow:hidden; }
[data-theme-version="v2-neon-broadcast"] .mud-table-head { background:var(--theme-surface-strong); font-family:var(--theme-font-display); letter-spacing:.04em; }
[data-theme-version="v2-neon-broadcast"] .mud-table-row:hover { background:rgb(77 226 255 / 7%); } [data-theme-version="v2-neon-broadcast"] .mud-table-row:focus-within { outline:2px solid var(--theme-focus-ring); outline-offset:-2px; }
[data-theme-version="v2-neon-broadcast"] :is(.achievement,.reward,.event,.badge,.progress) { border-color:var(--theme-border); } [data-theme-version="v2-neon-broadcast"] .mud-progress-linear-bar { background-color:var(--theme-primary); }
[data-theme-version="v2-neon-broadcast"] { font-family: var(--theme-font-body); color: var(--theme-text); }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface { background:linear-gradient(145deg,var(--theme-surface),var(--theme-bg-elevated)); border:1px solid var(--theme-border); border-left:3px solid var(--theme-primary); border-radius:var(--theme-radius-md); box-shadow:var(--theme-shadow-card); min-width:0; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-input-control-input-container,.mud-select,.mud-input) { background:var(--theme-bg); border-color:var(--theme-border); color:var(--theme-text); }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-input-control-input-container,.mud-select):focus-within { border-color:var(--theme-primary); box-shadow:0 0 0 1px var(--theme-primary),0 0 1rem var(--theme-primary-glow); outline:3px solid var(--theme-focus-ring); outline-offset:2px; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-input-error,.mud-input-error .mud-input-control-input-container,.mud-input-error .mud-select) { border-color:var(--theme-danger); }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-input-error .mud-input-helper-text,.mud-input-error .mud-input-error) { color:var(--theme-danger); font-weight:600; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface .mud-input-error .mud-input-outlined-border { border-color:var(--theme-danger) !important; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface .mud-input-helper-text.mud-input-error { color:var(--theme-danger) !important; font-weight:600; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-disabled,.mud-input-control-input-container:has(input[readonly]),.mud-input-control-input-container:has(textarea[readonly])) { background:color-mix(in srgb,var(--theme-bg-elevated) 72%,var(--theme-text-muted)); cursor:not-allowed; opacity:.72; }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-progress-linear,.mud-progress-circular) { color:var(--theme-primary); }
[data-theme-version="v2-neon-broadcast"] .cc-setting-surface .app-setting-card__nested-content { border-left:1px solid var(--theme-border-strong); margin-left:.25rem; padding-left:1rem; }
@media (max-width:640px) { [data-theme-version="v2-neon-broadcast"] .cc-setting-surface { margin-inline:0 !important; } [data-theme-version="v2-neon-broadcast"] .cc-setting-surface :is(.mud-input-control-input-container,.mud-select,.mud-input) { min-width:0; width:100%; } }
[data-theme-version="v2-neon-broadcast"] .cc-preview { background:var(--theme-bg); min-height:100vh; padding:var(--theme-space-page); } [data-theme-version="v2-neon-broadcast"] .cc-preview__header { margin-bottom:var(--theme-space-page); } [data-theme-version="v2-neon-broadcast"] .cc-preview__header span { color:var(--theme-primary); font:600 .75rem/1 var(--theme-font-display); letter-spacing:.1em; } [data-theme-version="v2-neon-broadcast"] .cc-preview__header h1 { font-family:var(--theme-font-display); } [data-theme-version="v2-neon-broadcast"] .cc-preview__grid { display:grid; gap:var(--theme-space-card); grid-template-columns:repeat(2,minmax(0,1fr)); margin:auto; max-width:72rem; } [data-theme-version="v2-neon-broadcast"] .cc-preview__actions,.cc-preview__stats { display:flex; flex-wrap:wrap; gap:.75rem; } [data-theme-version="v2-neon-broadcast"] .cc-preview__stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } [data-theme-version="v2-neon-broadcast"] .cc-preview .ph-empty-state { grid-column:1/-1; }

@media (max-width: 640px) { [data-theme-version="v2-neon-broadcast"] .cc-preview__grid,[data-theme-version="v2-neon-broadcast"] .cc-preview__stats { grid-template-columns:1fr; } }
@media (max-width: 640px) { [data-theme-version="v2-neon-broadcast"] .cc-preview__grid,[data-theme-version="v2-neon-broadcast"] .cc-preview__stats { grid-template-columns:1fr; } }
