/* SVProTeam theme for the AIOStreams web app: OLED black + purple. Served as /svpt/app.css (injected) and mirrored in APP_CUSTOM_CSS. */
:root{
  --color-brand-50:245 238 255;--color-brand-100:237 224 255;--color-brand-200:221 197 255;--color-brand-300:196 150 255;
  --color-brand-400:168 108 255;--color-brand-500:139 69 255;--color-brand-600:124 58 237;--color-brand-700:98 40 200;
  --color-brand-800:70 30 150;--color-brand-900:45 20 100;--color-brand-950:25 10 60;--color-brand-default:139 69 255;
  --svpt-purple:#8b45ff;--svpt-glow:0 0 18px rgba(139,69,255,.55);--svpt-card:#07060b;--svpt-line:rgba(160,110,255,.28);
}
html,body,#root{background:#000!important;color-scheme:dark}
[data-ui="page-background"],[data-ui="art-panels"]{background:#000!important}
/* hero: tall, rounded, framed like the mock */
[data-ui="hero"]{width:auto!important;max-width:calc(100vw - 24px);height:min(58svh,520px)!important;min-height:340px;border-radius:22px;overflow:hidden;margin:8px 12px 0;box-shadow:0 0 0 1px var(--svpt-line),0 10px 40px rgba(139,69,255,.18)}
@media (min-width:900px){[data-ui="hero"]{margin:12px 28px 0}}
[data-ui="hero-shade"]{background:linear-gradient(to top,#000 4%,rgba(0,0,0,.55) 38%,rgba(40,0,70,.25) 100%)!important}
[data-ui="hero-backdrop"]{transition:opacity .7s ease!important}
[data-ui="hero-action"]{border-radius:999px!important;border:1.5px solid var(--svpt-purple)!important;background:rgba(20,5,40,.55)!important;color:#fff!important;box-shadow:var(--svpt-glow);backdrop-filter:blur(6px)}
[data-ui="hero-action"]:first-child{background:linear-gradient(135deg,#7c3aed,#a855f7)!important}
[data-ui="hero-dot"]{background:rgba(255,255,255,.35)!important}
[data-ui="hero-dot"][aria-current="true"],[data-ui="hero-dot"][data-active="true"],[data-ui="hero-dot"][aria-selected="true"]{background:var(--svpt-purple)!important;box-shadow:var(--svpt-glow)}
[data-ui="hero-meta"]{color:#e9ddff}
/* rows + posters */
[data-ui="media-row-title"]{font-weight:700;letter-spacing:.2px}
[data-ui="media-row-action"]{color:#c4a1ff!important}
[data-ui="poster-card-image"],[data-ui="wide-card-image"]{border-radius:14px!important;box-shadow:0 0 0 1px rgba(160,110,255,.22),0 8px 22px rgba(0,0,0,.7);transition:transform .18s ease,box-shadow .18s ease}
[data-ui="poster-card"]:hover [data-ui="poster-card-image"],[data-ui="media-row-item"]:focus-visible [data-ui="poster-card-image"],[data-ui="poster-card"]:focus-visible [data-ui="poster-card-image"]{transform:scale(1.04);box-shadow:0 0 0 2px var(--svpt-purple),var(--svpt-glow)}
[data-ui="poster-card-title"],[data-ui="wide-card-title"]{color:#f3ecff}
[data-ui="progress-bar-fill"]{background:var(--svpt-purple)!important}
/* navigation: floating glass pill with purple glow */
[data-ui="mobile-nav"]{background:rgba(8,4,16,.88)!important;border:1px solid var(--svpt-line)!important;border-radius:28px!important;box-shadow:0 0 24px rgba(139,69,255,.25);backdrop-filter:blur(14px)}
[data-ui="mobile-nav-item"][aria-current],[data-ui="mobile-nav-item"][data-active="true"],[data-ui="mobile-nav-item"][aria-current="page"]{color:#fff!important;background:rgba(139,69,255,.28)!important;box-shadow:var(--svpt-glow);border-radius:20px}
[data-ui="sidebar"]{background:#000!important;border-color:var(--svpt-line)!important}
::selection{background:rgba(139,69,255,.5)}
*{scrollbar-color:#3b1d73 #000}
/* hide the AIOStreams logo / branding where it is only decoration */
[data-ui="sidebar-logo"] img,[data-ui="brand-logo"] img{filter:hue-rotate(40deg) saturate(1.3)}
/* Home keeps two poster rows */
[data-svpt-hide]{display:none!important}
/* floating trial timer */
.svpt-timer{position:fixed;right:14px;bottom:96px;z-index:60;display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1.5px solid var(--svpt-purple);background:rgba(12,4,24,.92);color:#fff;font:600 13px/1 system-ui;box-shadow:var(--svpt-glow);backdrop-filter:blur(10px)}
@media (min-width:900px){.svpt-timer{bottom:24px;right:24px}}
.svpt-timer .dot{width:8px;height:8px;border-radius:50%;background:#a855f7;box-shadow:0 0 8px #a855f7}
.svpt-timer.paid .dot{background:#34d399;box-shadow:0 0 8px #34d399}.svpt-timer.expired .dot,.svpt-timer.revoked .dot{background:#f87171;box-shadow:0 0 8px #f87171}
/* modal + sheet */
.svpt-modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px)}
.svpt-modal.sheet{align-items:flex-end}@media (min-width:700px){.svpt-modal.sheet{align-items:center}}
.svpt-card{position:relative;width:100%;max-width:440px;background:#07040e;border:1px solid var(--svpt-line);border-radius:24px;padding:22px;color:#f3ecff;font:15px/1.45 system-ui;box-shadow:0 0 40px rgba(139,69,255,.25);text-align:center}
.svpt-card.tall{text-align:left;max-height:86svh;overflow:auto}
.svpt-card h2{margin:0 0 8px;font-size:20px}.svpt-card h3{margin:0 0 8px;font-size:14px;color:#c4a1ff;text-transform:uppercase;letter-spacing:.6px}
.svpt-card p{margin:0 0 14px;color:#cdbfe6}.svpt-card small{display:block;margin-top:10px;color:#8f7fb0}
.svpt-ico{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;font-size:28px;background:linear-gradient(135deg,#7c3aed,#a855f7);box-shadow:var(--svpt-glow)}
.svpt-btn{display:block;width:100%;box-sizing:border-box;margin:8px 0 0;padding:13px 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;font:600 15px system-ui;text-align:center;text-decoration:none;box-shadow:var(--svpt-glow);cursor:pointer}
.svpt-btn.ghost{background:transparent;border:1.5px solid var(--svpt-purple);box-shadow:none}.svpt-btn:disabled{opacity:.4;cursor:default}
.svpt-x{position:absolute;top:10px;right:14px;background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.svpt-sec{margin-top:18px;padding-top:14px;border-top:1px solid rgba(160,110,255,.16)}
.svpt-card input{width:100%;box-sizing:border-box;margin:0 0 8px;padding:12px;border-radius:12px;border:1px solid #3b2a63;background:#000;color:#fff;font-size:15px}
.svpt-card .row{display:flex;gap:8px}.svpt-card .row.wrap{flex-wrap:wrap}.svpt-card .row .svpt-btn{margin:0;width:auto;flex:0 0 auto}.svpt-card .row input{margin:0;flex:1}
.svpt-card .row.wrap .svpt-btn{flex:1}
.svpt-status{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:14px;background:#120a24;border:1px solid var(--svpt-line)}
.svpt-status.ok{border-color:#34d399}.svpt-status.bad{border-color:#f87171}.svpt-status span{color:#cdbfe6;font-size:13px}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.svpt-plan{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;border-radius:14px;border:1.5px solid var(--svpt-line);background:#0d0719;color:#fff;font:15px system-ui;cursor:pointer}
.svpt-plan span{color:#c4a1ff}.msg{margin-top:6px;font-size:13px}.msg.ok{color:#86efac}.msg.bad{color:#fca5a5}.muted{color:#9a8bb5}
[data-ui="home-rows"]{display:flex;flex-direction:column}[data-svpt-order="0"]{order:0}[data-svpt-order="1"]{order:1}[data-svpt-order="2"]{order:2}
