/* Necro IPTV v1.1.0 — purple/pink reference palette; Arial-style typography.
   One light design system for public pages, account and admin.
   Change these brand tokens to match a different colour reference. */
:root, html[data-theme="light"], html[data-theme="dark"] {
  color-scheme: light;
  --necro-ink:#302347; --necro-teal:#7043aa; --necro-coral:#b65aa8;
  --necro-yellow:#7946b3; --necro-paper:#fbf9fe; --necro-line:#e8dff0;
  --cyan:var(--necro-teal) !important; --cyan-dim:#57318c !important;
  --violet:var(--necro-coral) !important; --violet2:#a34c9a !important; --violet-2:#a34c9a !important; --pink:#9f4c9b !important;
  --bg:var(--necro-paper) !important; --bg2:#fff !important; --bg-2:#fff !important;
  --bg3:#f4eef9 !important; --bg-card:#fff !important; --bg-card-hov:#fff !important;
  --border:var(--necro-line) !important; --border-glow:#d9c3eb !important;
  --txt:#4d405d !important; --txt-head:var(--necro-ink) !important; --txt-muted:#7c6e8b !important;
  --text:var(--necro-ink) !important; --muted:#7c6e8b !important; --navy:#e8efe5 !important; --navy-2:#f1f5ed !important;
  --nav-bg:rgba(255,255,255,.97) !important;
  --shadow:0 10px 32px rgba(56,30,86,.06) !important; --shadow-glow:0 10px 30px rgba(56,30,86,.08) !important;
  --r:14px !important; --r-lg:22px !important; --nav-h:80px !important;
}
html[data-theme="light"] {scroll-behavior:smooth;scroll-padding-top:100px;}
html[data-theme="light"] body {background:var(--necro-paper) !important;background-image:none !important;color:var(--txt) !important;font-family:Arial,Helvetica,sans-serif !important;line-height:1.6;}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] h4,html[data-theme="light"] h5,html[data-theme="light"] h6 {font-family:Arial,Helvetica,sans-serif !important;color:var(--necro-ink);letter-spacing:-.035em;}
html[data-theme="light"] a {color:var(--necro-teal);}
html[data-theme="light"] a:focus-visible,html[data-theme="light"] button:focus-visible,html[data-theme="light"] input:focus-visible,html[data-theme="light"] select:focus-visible,html[data-theme="light"] textarea:focus-visible {outline:3px solid #7946b3 !important;outline-offset:4px;}
html[data-theme="light"] img {max-width:100%;}
.container,.container-wide {width:calc(100% - 80px);max-width:1240px;margin-left:auto;margin-right:auto;}
html[data-theme="light"] .theme-toggle,html[data-theme="light"] .theme-btn,html[data-theme="light"] button[onclick="toggleTheme()"] {display:none !important;}
html[data-theme="light"] .grad,html[data-theme="light"] .grad-2 {background:none !important;color:var(--necro-teal) !important;-webkit-text-fill-color:var(--necro-teal) !important;}
html[data-theme="light"] .btn,html[data-theme="light"] .btn-sv,html[data-theme="light"] .btn-cv {border-radius:10px !important;letter-spacing:0 !important;font-family:inherit !important;font-weight:700 !important;transition:background .18s,box-shadow .18s,transform .18s;}
html[data-theme="light"] .btn-primary,html[data-theme="light"] .btn-sv.primary,html[data-theme="light"] .btn-cv.primary,html[data-theme="light"] .cfg-submit,html[data-theme="light"] .primary-btn,html[data-theme="light"] .btn-login,html[data-theme="light"] .dge-btn-primary {
  background:var(--necro-yellow) !important;color:var(--necro-ink) !important;border:1px solid #7946b3 !important;box-shadow:none !important;-webkit-text-fill-color:var(--necro-ink) !important;
}
html[data-theme="light"] .btn-primary:hover,html[data-theme="light"] .btn-sv.primary:hover,html[data-theme="light"] .btn-cv.primary:hover,html[data-theme="light"] .cfg-submit:hover,html[data-theme="light"] .primary-btn:hover,html[data-theme="light"] .btn-login:hover {background:#8953bd !important;box-shadow:0 5px 16px rgba(56,30,86,.12) !important;}
html[data-theme="light"] .btn-outline,html[data-theme="light"] .btn-ghost,html[data-theme="light"] .btn-sv.ghost,html[data-theme="light"] .btn-cv.ghost {background:#fff !important;border:1px solid #ddd0e8 !important;color:var(--necro-ink) !important;}
html[data-theme="light"] .btn-outline:hover,html[data-theme="light"] .btn-ghost:hover {background:#f4eef9 !important;border-color:var(--necro-teal) !important;}
html[data-theme="light"] .btn-lg {padding:15px 23px !important;font-size:.96rem !important;}
html[data-theme="light"] .btn-sm {padding:10px 17px !important;}
html[data-theme="light"] .section {padding-top:78px;padding-bottom:78px;}
html[data-theme="light"] .section-label,html[data-theme="light"] .octo-kicker {color:var(--necro-teal) !important;font-weight:750;letter-spacing:.12em;}
html[data-theme="light"] .section-header h2 {font-size:clamp(1.9rem,3.2vw,2.9rem);line-height:1.15;}
html[data-theme="light"] .section-header p {color:var(--txt-muted);}
html[data-theme="light"] .divider {height:1px;background:var(--necro-line);}
/* PUBLIC NAVIGATION */
html[data-theme="light"] .nav {background:rgba(255,255,255,.97) !important;border-bottom:1px solid var(--necro-line) !important;box-shadow:none !important;backdrop-filter:blur(15px);}
html[data-theme="light"] .nav-inner {height:80px;gap:24px;}
html[data-theme="light"] .nav-logo {display:flex;align-items:center;gap:10px;color:var(--necro-ink) !important;background:none !important;-webkit-text-fill-color:var(--necro-ink) !important;font:800 1.17rem/1.1 Arial,Helvetica,sans-serif !important;letter-spacing:-.045em !important;text-transform:uppercase;white-space:nowrap;}
html[data-theme="light"] .nav-logo img {width:39px;height:39px;flex-shrink:0;}
html[data-theme="light"] .nav-links {gap:26px;}
html[data-theme="light"] .nav-links a {color:#756383;font-size:.86rem;font-weight:650;}
html[data-theme="light"] .nav-links a:hover,html[data-theme="light"] .nav-links a[aria-current="page"] {color:var(--necro-ink);}
html[data-theme="light"] .nav-links a[aria-current="page"]::after {background:var(--necro-coral);}
html[data-theme="light"] .nav-mobile {background:#fff !important;border-color:var(--necro-line) !important;}
html[data-theme="light"] .nav-mobile-link {color:var(--necro-ink) !important;}
html[data-theme="light"] .nav-hamburger span {background:var(--necro-ink) !important;}
/* NEW EDITORIAL HOMEPAGE */
.necro-hero {position:relative;padding:145px 0 78px;background:var(--necro-paper);overflow:hidden;}
.necro-hero-grid {display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:64px;}
.necro-eyebrow {display:flex;align-items:center;gap:9px;font-size:.68rem;font-weight:800;letter-spacing:.13em;color:var(--necro-teal);margin:0 0 23px;}
.necro-eyebrow>span {width:7px;height:7px;border-radius:50%;background:var(--necro-coral);}
html[data-theme="light"] .necro-hero h1 {font-size:clamp(3.2rem,5.6vw,5.4rem);font-weight:800;line-height:1.05;letter-spacing:-.065em;margin:0 0 26px;}
.necro-hero h1 em {font-family:Arial,Helvetica,sans-serif;font-weight:800;font-style:normal;color:var(--necro-teal);}
.necro-intro {max-width:490px;color:#796b89;font-size:1.02rem;line-height:1.85;margin:0 0 30px;}
.necro-hero .hero-ctas {justify-content:flex-start;gap:12px;margin:0;display:flex;flex-wrap:wrap;}
.necro-hero-notes {display:flex;flex-wrap:wrap;gap:9px 17px;font-size:.68rem;color:#7e718c;margin-top:27px;}
.necro-hero-art {position:relative;padding:22px 8px 32px 0;}
.necro-hero-art::before {content:'';position:absolute;inset:1% -3% 2% 10%;background:#eee3f5;border-radius:50% 50% 20px 20px;transform:rotate(5deg);}
.necro-screen {position:relative;background:#fff;border:7px solid #fff;border-radius:21px;overflow:hidden;box-shadow:0 20px 50px rgba(56,30,86,.15);transform:rotate(-3deg);}
.necro-screen-bar {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 10px;color:#85748f;font-size:.42rem;font-weight:700;letter-spacing:.05em;}
.necro-mini-brand {color:var(--necro-ink);font-size:.62rem;letter-spacing:-.03em;}
.necro-hero-photo {display:block;width:100%;height:310px;object-fit:cover;border-radius:11px;}
.necro-screen-caption {position:absolute;bottom:7px;left:7px;right:7px;padding:70px 22px 24px;border-radius:0 0 11px 11px;background:linear-gradient(transparent,rgba(12,31,27,.9));color:#fff;}
.necro-sports-label {display:block;font-size:.5rem;font-weight:800;letter-spacing:.15em;color:#f3dbff;margin-bottom:9px;}
.necro-screen-caption strong {font-size:1.8rem;line-height:1.15;font-weight:750;letter-spacing:-.04em;display:block;}
.necro-floating-note {position:absolute;left:-24px;bottom:3px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--necro-line);border-radius:13px;padding:15px 20px;box-shadow:0 12px 30px rgba(56,30,86,.1);}
.necro-note-icon {display:grid;place-items:center;background:#f0e7f7;border-radius:10px;width:36px;height:36px;color:var(--necro-teal);font-size:1.3rem;}
.necro-floating-note strong {display:block;font-size:.73rem;color:var(--necro-ink);}
.necro-floating-note small {display:block;font-size:.63rem;color:#8a7895;margin-top:3px;}
.necro-art-stamp {position:absolute;right:-15px;top:0;background:var(--necro-coral);color:#fff;width:81px;height:81px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;font-size:.73rem;line-height:1.15;transform:rotate(12deg);letter-spacing:.02em;box-shadow:0 0 0 6px var(--necro-paper);}
.necro-art-stamp b {font-size:1.2rem;}
/* Seamless sports slideshow: manual pause, hover pause and reduced motion. */
.necro-sports {padding:32px 0 35px;background:#fff;border-top:1px solid var(--necro-line);border-bottom:1px solid var(--necro-line);overflow:hidden;}
.necro-strip-head {display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:24px;}
.necro-strip-head .necro-eyebrow {margin-bottom:7px;font-size:.58rem;}
html[data-theme="light"] .necro-strip-head h2 {font-size:1.55rem;letter-spacing:-.045em;margin:0;}
.necro-motion-toggle {font-family:inherit;color:#8a7895;background:#fff;border:1px solid var(--necro-line);border-radius:8px;padding:9px 12px;font-size:.65rem;cursor:pointer;display:flex;align-items:center;gap:14px;}
.necro-sports-track {display:flex;width:max-content;animation:necro-marquee 46s linear infinite;}
.necro-sports-group {display:flex;gap:18px;padding-right:18px;flex-shrink:0;}
.necro-sport-card {width:266px;overflow:hidden;flex-shrink:0;background:var(--necro-paper);border:1px solid var(--necro-line);border-radius:13px;}
.necro-sport-photo {height:150px;background-image:url('sports-mosaic.png');background-size:300% 200%;background-position:var(--tile-x) var(--tile-y);background-repeat:no-repeat;background-color:#e6d9f0;}
.necro-sport-copy {display:flex;justify-content:space-between;align-items:center;padding:14px 16px;}
html[data-theme="light"] .necro-sport-copy h3 {font-size:.86rem;margin:0 0 2px;letter-spacing:-.02em;}
.necro-sport-copy p {font-size:.64rem;color:#8a7895;margin:0;}
.necro-sport-copy>span {font-size:1.2rem;color:var(--necro-teal);}
.necro-strip-note {font-size:.63rem;color:#8a7895;margin-top:16px;margin-bottom:0;}
.necro-sports.is-paused .necro-sports-track,.necro-sports-viewport:hover .necro-sports-track,.necro-sports-viewport:focus-within .necro-sports-track {animation-play-state:paused;}
@keyframes necro-marquee {to{transform:translateX(-50%);}}
/* Other public pages keep their original data and hierarchy. */
html[data-theme="light"] .hero:not(.necro-hero),html[data-theme="light"] .page-hero,html[data-theme="light"] .octo-guide-hero {background:#f4edfa !important;color:var(--necro-ink) !important;border-bottom:1px solid var(--necro-line);}
html[data-theme="light"] .hero h1,html[data-theme="light"] .page-hero h1,html[data-theme="light"] .octo-guide-hero h1 {color:var(--necro-ink) !important;}
html[data-theme="light"] .hero-bg-grad,html[data-theme="light"] #hero-canvas,html[data-theme="light"] .octo-guide-hero::after {display:none !important;}
html[data-theme="light"] .card,html[data-theme="light"] .price-card,html[data-theme="light"] .stat-card,html[data-theme="light"] .feat-card,html[data-theme="light"] .blog-card,html[data-theme="light"] .cfg-card,html[data-theme="light"] .cfg-side,html[data-theme="light"] .octo-topic-card,html[data-theme="light"] .content-card,html[data-theme="light"] .review-card,html[data-theme="light"] .faq-item,html[data-theme="light"] .device-card {background:#fff !important;border:1px solid var(--necro-line) !important;box-shadow:none !important;border-radius:15px !important;}
html[data-theme="light"] .card:hover,html[data-theme="light"] .feat-card:hover,html[data-theme="light"] .blog-card:hover {box-shadow:var(--shadow) !important;}
html[data-theme="light"] .price-card.featured {border:2px solid var(--necro-teal) !important;background:#faf6fe !important;box-shadow:0 12px 30px rgba(56,30,86,.07) !important;}
html[data-theme="light"] .price-name {color:var(--necro-ink);font-size:1.05rem;font-weight:750;}
html[data-theme="light"] .price-num {color:var(--necro-ink) !important;-webkit-text-fill-color:var(--necro-ink) !important;font-weight:800;letter-spacing:-.055em;}
html[data-theme="light"] .price-features {border-color:var(--necro-line);}
html[data-theme="light"] .price-feature {color:#756383;}
html[data-theme="light"] .badge-cyan,html[data-theme="light"] .badge-violet,html[data-theme="light"] .pricing-tab.active {background:#efe5f7 !important;color:var(--necro-teal) !important;border-color:#ddc9eb !important;}
html[data-theme="light"] .cta-section,html[data-theme="light"] .octo-final-cta {background:#f1e7f8 !important;border-top:1px solid var(--necro-line);border-bottom:1px solid var(--necro-line);}
html[data-theme="light"] .cta-section h2,html[data-theme="light"] .cta-section p {color:var(--necro-ink) !important;}
html[data-theme="light"] .footer {background:#f5effa !important;border-top:1px solid var(--necro-line);padding-top:64px;}
html[data-theme="light"] .footer-brand p,html[data-theme="light"] .footer-col a,html[data-theme="light"] .footer-bottom p {color:#84728f !important;}
html[data-theme="light"] .footer-col h5 {color:var(--necro-ink) !important;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;}
html[data-theme="light"] .footer-social {background:#fff !important;border:1px solid var(--necro-line);color:var(--necro-teal) !important;}
/* Shared form and checkout styling, with all existing fields and callbacks. */
html[data-theme="light"] .sf-input,html[data-theme="light"] .sf-select,html[data-theme="light"] .sf-textarea,html[data-theme="light"] .fc,html[data-theme="light"] .form-control-sv,html[data-theme="light"] .form-control,html[data-theme="light"] .form-select,html[data-theme="light"] .input-wrap input,html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea,html[data-theme="light"] .iw input {background:#fff !important;color:var(--necro-ink) !important;border:1px solid #ddd0e8 !important;border-radius:9px !important;box-shadow:none;}
html[data-theme="light"] .fc:focus,html[data-theme="light"] .form-control-sv:focus,html[data-theme="light"] .input-wrap input:focus,html[data-theme="light"] .field input:focus {border-color:var(--necro-teal) !important;box-shadow:0 0 0 3px rgba(112,67,170,.1) !important;}
html[data-theme="light"] .fc::placeholder,html[data-theme="light"] .field input::placeholder {color:#78897f;}
html[data-theme="light"] .cfg-side {position:sticky;top:100px;}
html[data-theme="light"] .cfg-plan,html[data-theme="light"] .cfg-price,html[data-theme="light"] .conn-n {font-family:Arial,Helvetica,sans-serif !important;letter-spacing:-.04em;}
html[data-theme="light"] .cfg-badge {background:#f3eaf9 !important;color:var(--necro-teal) !important;border-color:#decaed !important;}
html[data-theme="light"] .conn-tile,html[data-theme="light"] .dev-tile {background:#fff !important;border-color:var(--necro-line);}
html[data-theme="light"] .conn-tile.on,html[data-theme="light"] .dev-tile.on {background:#f1e8f9 !important;border-color:var(--necro-teal) !important;}
html[data-theme="light"] .stp.active .stp-n,html[data-theme="light"] .stp.done .stp-n {background:var(--necro-yellow) !important;color:var(--necro-ink) !important;}
/* Admin and customer portals: white sidebar, warm paper canvas, clear tables. */
html[data-theme="light"] #topbar,html[data-theme="light"] #ctopbar {height:80px !important;background:#fff !important;border-bottom:1px solid var(--necro-line) !important;box-shadow:none !important;padding-left:24px !important;padding-right:24px !important;}
html[data-theme="light"] #sidebar,html[data-theme="light"] #csidebar {top:80px !important;width:248px !important;background:#fff !important;border-right:1px solid var(--necro-line) !important;box-shadow:none !important;}
html[data-theme="light"] #main,html[data-theme="light"] #cmain {margin-left:248px !important;margin-top:80px !important;padding:30px 32px !important;background:var(--necro-paper) !important;min-width:0;}
html[data-theme="light"] .sidebar-label {font-size:.64rem !important;letter-spacing:.12em;color:#9886a1 !important;}
html[data-theme="light"] #sidebar .sidebar-label,html[data-theme="light"] #csidebar .sidebar-label {color:#8a7299 !important;}
html[data-theme="light"] #sidebar .nav-link i,html[data-theme="light"] #csidebar .cnav-link i {color:inherit !important;}
html[data-theme="light"] #sidebar .nav-link,html[data-theme="light"] #csidebar .cnav-link {color:#796887 !important;border:1px solid transparent !important;border-radius:9px !important;padding:11px 12px !important;font-size:.83rem !important;font-weight:600 !important;}
html[data-theme="light"] #sidebar .nav-link:hover,html[data-theme="light"] #csidebar .cnav-link:hover {background:#f4eef9 !important;color:var(--necro-ink) !important;}
html[data-theme="light"] #sidebar .nav-link.active,html[data-theme="light"] #csidebar .cnav-link.active {background:#f0e6f8 !important;color:var(--necro-teal) !important;border-color:#e4d4ef !important;box-shadow:none !important;}
html[data-theme="light"] .dashboard-brand,html[data-theme="light"] .brand,html[data-theme="light"] .brand-wordmark,html[data-theme="light"] .brand-name {background:none !important;-webkit-text-fill-color:var(--necro-ink) !important;color:var(--necro-ink) !important;text-decoration:none;font-weight:800 !important;}
html[data-theme="light"] .brand-logo,html[data-theme="light"] .dashboard-brand img,html[data-theme="light"] .brand img {background:none !important;padding:0 !important;border:0 !important;box-shadow:none !important;object-fit:contain !important;}
html[data-theme="light"] .card-sv,html[data-theme="light"] .ccard,html[data-theme="light"] .stat-c {background:#fff !important;border:1px solid var(--necro-line) !important;box-shadow:0 4px 16px rgba(56,30,86,.025) !important;border-radius:14px !important;}
html[data-theme="light"] .ccard-head,html[data-theme="light"] .card-sv .card-head {background:#fff !important;border-bottom:1px solid var(--necro-line) !important;padding:18px 22px !important;}
html[data-theme="light"] .stat-c::before,html[data-theme="light"] .stat-card::before {background:var(--necro-yellow) !important;height:3px !important;}
html[data-theme="light"] .stat-c .val,html[data-theme="light"] .stat-card .value {font-size:1.9rem !important;letter-spacing:-.05em;color:var(--necro-ink) !important;}
html[data-theme="light"] .tbl th,html[data-theme="light"] .table-sv th {background:#f7f1fc !important;color:#887392 !important;font-size:.64rem !important;border-bottom:1px solid var(--necro-line) !important;padding:14px 16px !important;}
html[data-theme="light"] .tbl td,html[data-theme="light"] .table-sv td {background:transparent;color:#564361 !important;border-bottom:1px solid #eee5f4 !important;padding:14px 16px !important;}
html[data-theme="light"] .tbl tr:hover td,html[data-theme="light"] .table-sv tr:hover td {background:#fcf9ff !important;}
html[data-theme="light"] .topbar-btn,html[data-theme="light"] .user-trigger {background:#faf7fd !important;border:1px solid var(--necro-line) !important;color:var(--necro-ink) !important;box-shadow:none !important;}
html[data-theme="light"] .dropdown-menu-sv,html[data-theme="light"] .notif-panel,html[data-theme="light"] #cUserMenu {background:#fff !important;border-color:var(--necro-line) !important;box-shadow:var(--shadow) !important;}
html[data-theme="light"] .dropdown-item-sv {color:var(--necro-ink) !important;}
html[data-theme="light"] .sv-badge.success,html[data-theme="light"] .alert-sv.success {background:#eaf5e9 !important;color:#236338 !important;border-color:#cce3ca !important;}
html[data-theme="light"] .sv-badge.warning {background:#fff6d8 !important;color:#8c6511 !important;border-color:#f1e1a9 !important;}
html[data-theme="light"] .sv-badge.danger,html[data-theme="light"] .alert-sv.error {background:#fff0eb !important;color:#b04532 !important;border-color:#f0cabc !important;}
html[data-theme="light"] .sv-badge.info {background:#e8f2ed !important;color:var(--necro-teal) !important;border-color:#cce3d8 !important;}
html[data-theme="light"] [style*="background:var(--bg-card)"],html[data-theme="light"] [style*="background:var(--bg2)"] {background:#fff !important;border-color:var(--necro-line) !important;}
html[data-theme="light"] [style*="background:var(--bg3)"] {background:#f4edf9 !important;}
/* Sign-in, signup and password recovery use the same light palette. */
html[data-theme="light"] .auth-shell {background:#fff !important;border:1px solid var(--necro-line) !important;box-shadow:0 20px 65px rgba(56,30,86,.08) !important;border-radius:22px !important;}
html[data-theme="light"] .auth-visual {background:#f3ebfa !important;color:var(--necro-ink) !important;}
html[data-theme="light"] .auth-visual::before,html[data-theme="light"] .auth-visual::after,html[data-theme="light"] .visual-grid,html[data-theme="light"] .wc-blob,html[data-theme="light"] .grain,html[data-theme="light"] .hatch {display:none !important;}
html[data-theme="light"] .visual-title,html[data-theme="light"] .visual-copy,html[data-theme="light"] .visual-title .gold,html[data-theme="light"] .brand-sub,html[data-theme="light"] .auth-visual p,html[data-theme="light"] .auth-visual h2,html[data-theme="light"] .auth-visual h3,html[data-theme="light"] .feature strong,html[data-theme="light"] .feature p {color:var(--necro-ink) !important;}
html[data-theme="light"] .feature {background:rgba(255,255,255,.7) !important;border:1px solid #e0d0eb !important;}
html[data-theme="light"] .feature-icon {background:var(--necro-yellow) !important;color:var(--necro-ink) !important;}
html[data-theme="light"] .visual-eyebrow {background:#fff !important;color:var(--necro-teal) !important;border-color:#e0d0eb !important;}
html[data-theme="light"] .auth-content {background:#fff !important;}
html[data-theme="light"] .content-title,html[data-theme="light"] .content-kicker,html[data-theme="light"] .sub,html[data-theme="light"] .field label {color:var(--necro-ink) !important;}
html[data-theme="light"] .trust-row,html[data-theme="light"] .auth-tabs {background:#f7f1fc !important;border-color:var(--necro-line) !important;color:#806f8e !important;}
html[data-theme="light"] .auth-tab.active {background:#fff !important;color:var(--necro-teal) !important;}
html[data-theme="light"] .admin-auth-brand {color:var(--necro-ink) !important;}
html[data-theme="light"] .admin-auth-logo {background:none !important;box-shadow:none !important;}
html[data-theme="light"] .digit {background:#fff !important;border:1px solid #ddd0e8 !important;color:var(--necro-ink) !important;}
@media(min-width:1100px) {html[data-theme="light"] #topbar .dashboard-brand span {display:inline !important;}}
@media(max-width:1100px) {.container,.container-wide{width:calc(100% - 48px)}.necro-hero-grid{gap:35px}html[data-theme="light"] .nav-links{gap:17px}.necro-hero-photo{height:280px}html[data-theme="light"] .nav-inner{gap:16px}html[data-theme="light"] .nav-logo{font-size:1rem !important}}
@media(max-width:900px) {.necro-hero{padding-top:120px}.necro-hero-grid{grid-template-columns:1fr;gap:30px}.necro-hero-copy{max-width:640px}.necro-intro{max-width:560px}.necro-hero-art{max-width:600px;margin:0 auto;width:100%}.necro-hero-photo{height:330px}.necro-floating-note{left:0}.necro-art-stamp{right:0}.necro-hero h1{font-size:clamp(3.2rem,8vw,4.8rem) !important}html[data-theme="light"] .auth-shell{grid-template-columns:1fr !important}html[data-theme="light"] .auth-visual{padding:30px !important;min-height:0}html[data-theme="light"] .auth-visual .feature-list{display:none}html[data-theme="light"] .visual-title{font-size:2.3rem !important}}
@media(max-width:768px) {html[data-theme="light"] #sidebar,html[data-theme="light"] #csidebar{width:248px !important}html[data-theme="light"] #main,html[data-theme="light"] #cmain{margin-left:0 !important;padding:22px 16px !important}html[data-theme="light"] #topbar,html[data-theme="light"] #ctopbar{padding:0 14px !important}html[data-theme="light"] .brand-wordmark{font-size:.9rem !important}html[data-theme="light"] .brand-logo{width:32px !important;height:32px !important}html[data-theme="light"] .section{padding-top:56px;padding-bottom:56px}html[data-theme="light"] .cfg-side{position:static}html[data-theme="light"] .auth-content{padding:30px 24px !important}}
@media(max-width:520px) {.container,.container-wide{width:calc(100% - 34px)}html[data-theme="light"] .nav-inner{gap:10px}html[data-theme="light"] .nav-logo{font-size:.9rem !important;gap:7px}html[data-theme="light"] .nav-logo img{width:31px;height:31px}html[data-theme="light"] .nav-auth-btn.btn-sm{padding:8px 10px !important;font-size:.69rem !important}html[data-theme="light"] #nav-auth-guest{gap:5px !important}.necro-hero{padding-top:112px;padding-bottom:46px}.necro-hero h1{font-size:3.1rem !important}.necro-intro{font-size:.9rem}.necro-hero-notes{font-size:.61rem;gap:9px}.necro-hero .btn-lg{padding:13px 16px !important;font-size:.82rem !important}.necro-hero-photo{height:240px}.necro-screen-caption strong{font-size:1.5rem}.necro-floating-note{padding:10px 13px}.necro-floating-note strong{font-size:.65rem}.necro-art-stamp{width:63px;height:63px;font-size:.59rem}.necro-art-stamp b{font-size:.95rem}.necro-strip-head{align-items:flex-end;gap:12px}html[data-theme="light"] .necro-strip-head h2{font-size:1.23rem}.necro-motion-toggle{font-size:.58rem;padding:7px 8px;gap:5px}.necro-sport-card{width:224px}.necro-sport-photo{height:126px}.necro-strip-note{font-size:.57rem}.necro-screen-bar{font-size:.35rem}.necro-mini-brand{font-size:.53rem}html[data-theme="light"] .auth-shell{border-radius:16px !important}html[data-theme="light"] .auth-visual{padding:25px !important}.auth-content{min-width:0}}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}.necro-sports-track{animation:none}.necro-sports-viewport{overflow-x:auto}.necro-sports-group[aria-hidden="true"]{display:none}.necro-motion-toggle{display:none}html[data-theme="light"] .reveal{opacity:1 !important;transform:none !important}html[data-theme="light"] *,html[data-theme="light"] *::before,html[data-theme="light"] *::after{transition:none !important}}

/* Reference typography applies to every text surface, including inline styles.
   Icon-font glyphs are explicitly exempt so controls retain their icons. */
html[data-theme="light"] body,
html[data-theme="light"] body *:not(.bi):not([class*="bi-"]):not(.material-symbols-outlined):not(.material-icons):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]):not(svg):not(svg *) {
  font-family:Arial,Helvetica,sans-serif !important;
}
html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,
html[data-theme="light"] .price-num,html[data-theme="light"] .cfg-price,
html[data-theme="light"] .stat-c .val,html[data-theme="light"] .stat-card .value {
  font-weight:800 !important;letter-spacing:-.045em;
}
html[data-theme="light"] .necro-hero h1 em {font-family:Arial,Helvetica,sans-serif !important;font-weight:800 !important;font-style:normal !important;color:var(--necro-teal);}
html[data-theme="light"] .btn-primary,html[data-theme="light"] .btn-sv.primary,
html[data-theme="light"] .btn-cv.primary,html[data-theme="light"] .cfg-submit,
html[data-theme="light"] .primary-btn,html[data-theme="light"] .btn-login,
html[data-theme="light"] .dge-btn-primary {
  background:linear-gradient(120deg,#6241a0,#a052ad) !important;
  border-color:#8050ac !important;color:#fff !important;-webkit-text-fill-color:#fff !important;
}
html[data-theme="light"] .btn-primary:hover,html[data-theme="light"] .btn-sv.primary:hover,
html[data-theme="light"] .btn-cv.primary:hover,html[data-theme="light"] .cfg-submit:hover,
html[data-theme="light"] .primary-btn:hover,html[data-theme="light"] .btn-login:hover {
  background:linear-gradient(120deg,#56368f,#b35baf) !important;
}
html[data-theme="light"] .necro-hero {background:radial-gradient(ellipse at 85% 18%,#f0e4f8,transparent 58%),#fbf9fe !important;}
html[data-theme="light"] .necro-hero-art::before {background:linear-gradient(145deg,#e5d2f3,#f2dfef) !important;}
html[data-theme="light"] .necro-art-stamp {background:linear-gradient(140deg,#604099,#b566af) !important;}
html[data-theme="light"] .stat-c::before,html[data-theme="light"] .stat-card::before {background:linear-gradient(90deg,#7043aa,#bd69b2) !important;}
html[data-theme="light"] .auth-visual,html[data-theme="light"] .cta-section {background:linear-gradient(145deg,#f0e6fa,#f8edf6) !important;}
html[data-theme="light"] .auth-visual .feature-icon {background:#e6d5f1 !important;color:#7043aa !important;}
html[data-theme="light"] .sidebar-label {color:#8d779b !important;}
html[data-theme="light"] [style*="color:#1d4ed8"],html[data-theme="light"] [style*="color:#7c3aed"],html[data-theme="light"] [style*="color:#00e5ff"] {color:#7043aa !important;}
html[data-theme="light"] .stp.active .stp-n,html[data-theme="light"] .stp.done .stp-n {background:#e6d4f2 !important;color:#674094 !important;}
html[data-theme="light"] [role="radio"]:focus-visible {outline:3px solid #9e6cc4;outline-offset:3px;}
/* Finance is an existing auxiliary dashboard; preserve its Tailwind structure. */
html[data-theme="light"] .bg-primary,html[data-theme="light"] .bg-primary-container {background-color:#7946b3 !important;color:white;}
html[data-theme="light"] .text-primary {color:#7043aa !important;}

html[data-theme="light"] .auth-visual * {color:var(--necro-ink) !important;}
/* Neutral verification controls and decorative brand icons follow the palette. */
html[data-theme="light"] .captcha {background:#f5eefb !important;border-color:#dfccec !important;color:#674094 !important;}
html[data-theme="light"] .captcha input {background:white !important;color:#52386d !important;border-color:#d8c0e7 !important;}
html[data-theme="light"] .captcha label,html[data-theme="light"] .captcha .cap-label,html[data-theme="light"] .input-icon {color:#8053a4 !important;}
html[data-theme="light"] svg[stroke="#00e5ff"],html[data-theme="light"] svg[stroke="#9f5bff"],html[data-theme="light"] svg[stroke="#ff2d78"] {stroke:#8b59b0 !important;}
html[data-theme="light"] [style*="background:rgba(0,229,255"],html[data-theme="light"] [style*="background:rgba(124,58,237"] {background:#f1e7f9 !important;}

/* v1.1.1: remove the requested footer gradient and separator lines only. */
html[data-theme="light"] .footer {border-top:0 !important;}
html[data-theme="light"] .footer::before,html[data-theme="light"] .footer::after {content:none !important;display:none !important;height:0 !important;background:none !important;}
html[data-theme="light"] .footer-bottom {border-top:0 !important;}
