/* ============================================
   A6K Hosting — Smart Hosting Landing Page
   style.css
   ============================================ */

/* ---------- Tokens & reset ---------- */
:root {
  --bg: #070B16;
  --bg-2: #101A35;
  --panel: rgba(255, 255, 255, .04);
  --panel-solid: #131F3D;
  --border: #23365D;
  --border-strong: rgba(0, 212, 255, .5);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --muted-2: #7C8AA5;
  --a1: #00D4FF;
  --a2: #2563EB;
  --a3: #A5B4FC;
    --grad: linear-gradient(135deg, #00D4FF 0%, #2563EB 55%, #7047FF 100%);

  /* Owner palette tokens (2026-11-13) */
  --bg-primary: #070B16;
  --bg-secondary: #101A35;
  --bg-card: #131F3D;
  --primary: #2563EB;
  --accent: #00D4FF;
  --accent-purple: #7047FF;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --brand-gradient: linear-gradient(135deg, #00D4FF 0%, #2563EB 55%, #7047FF 100%);
  --ok: #4ade80;
  --warn: #F59E0B;
  --gold: #7DD3FC;
  --danger: #f87171;
  --radius: 18px;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --shadow-glow: 0 10px 40px rgba(37, 99, 235, .35);
  --shadow-panel: 0 24px 70px rgba(2, 6, 23, .6);
  --head: #F8FAFC;
  --tx-strong: #ffffff;
  --tx-soft: #CBD5E1;
  --surf-faint: rgba(255, 255, 255, .02);
  --surf-soft: rgba(255, 255, 255, .03);
  --surf: rgba(255, 255, 255, .05);
  --surf-strong: rgba(255, 255, 255, .06);
  --grid-line: rgba(255, 255, 255, .028);
  --scroll-thumb: rgba(255, 255, 255, .16);
  --spot: rgba(0, 212, 255, .1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

/* ---------- Ultra-smooth page-to-page navigation ----------
   Modern browsers cross-fade between same-origin pages (View Transitions) instead of hard-swapping.
   Paired with the warm-session quick loader in script.js (700ms branded flash) = silky navigation.
   Unsupported browsers ignore this rule and navigate instantly — nothing breaks. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
strong { color: var(--tx-strong); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--head);
  line-height: 1.14;
  letter-spacing: -.012em;
}

::selection { background: rgba(37, 99, 235, .55); color: var(--tx-strong); }

:focus-visible {
  outline: 2px solid var(--a3);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
section { padding: 96px 0; position: relative; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.grad-text {
  background: linear-gradient(90deg, #A5B4FC, #2563EB 30%, #93C5FD 50%, #2563EB 70%, #A5B4FC);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: 200% center; } }

/* ---------- Background FX ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 460px at 12% -6%, rgba(37, 99, 235, .17), transparent 60%),
    radial-gradient(820px 420px at 88% 2%, rgba(0, 212, 255, .1), transparent 60%),
    radial-gradient(700px 500px at 50% 118%, rgba(165, 180, 252, .08), transparent 60%),
    var(--bg);
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(1200px 720px at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(1200px 720px at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .93rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--grad);
  color: #071228;
  box-shadow: 0 6px 24px rgba(37, 99, 235, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surf-soft);
}
.btn-ghost:hover { border-color: var(--a2); background: rgba(37, 99, 235, .1); transform: translateY(-2px); }

.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-light { background: #EAF2FF; color: #0A1830; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37, 99, 235, .25); }
.btn-outline-light { border-color: rgba(0, 212, 255, .55); color: #00D4FF; }
.btn-outline-light:hover { background: rgba(0, 212, 255, .1); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 120;
  border-radius: 0 3px 3px 0;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0 10px;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
.site-header .nav { pointer-events: auto; }
/* entrance plays once at the reveal moment (body.entered) — not behind the loader */
body.entered .site-header {
  animation: headerIn .8s cubic-bezier(.22, .9, .3, 1) both;
}
/* v5em — floating glass control bar: the capsule IS the nav, inset from the hairline beam */
.site-header .nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 20, 38, .72), rgba(8, 13, 26, .58));
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 18px 46px rgba(2, 6, 23, .45), inset 0 1px 0 rgba(224, 242, 254, .09);
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
[data-theme="light"] .site-header .nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(243, 247, 255, .78));
  border: 1px solid rgba(56, 84, 138, .22);
  box-shadow: 0 14px 36px rgba(7, 11, 22, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.site-header.scrolled {
  padding: 10px 0 6px;
}
.site-header.scrolled .nav {
  background: linear-gradient(180deg, rgba(9, 14, 28, .92), rgba(7, 11, 22, .86));
  border-color: rgba(125, 211, 252, .2);
  box-shadow: 0 22px 54px rgba(2, 6, 23, .6), inset 0 1px 0 rgba(224, 242, 254, .1);
}
[data-theme="light"] .site-header.scrolled .nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(240, 245, 253, .94));
  border-color: rgba(56, 84, 138, .3);
  box-shadow: 0 18px 42px rgba(7, 11, 22, .2);
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0), #00D4FF, #2563EB, #7047FF, rgba(112, 71, 255, 0));
  background-size: 220% 100%;
  background-position: 0% 0;
  animation: headerBeam 9s linear infinite;
  opacity: .5;
  pointer-events: none;
}
[data-theme="light"] .site-header::before { opacity: .35; }
@keyframes headerBeam { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }
@keyframes headerIn { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
body.cinema .site-header::before { opacity: .95; animation-duration: 6.5s; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--tx-strong); }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 26px; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
/* burger-menu extras (mobile-only links) — hidden in the desktop bar */
.nav-m-only { display: none; }
.nav-cta { padding: .5rem 1.05rem; font-size: .84rem; }
.nav-cta svg { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.nav-cta:hover svg { transform: translateX(2px) scale(1.08); }
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px 3px 4px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .2);
  background: rgba(13, 20, 38, .55);
  color: var(--tx-strong);
  font-size: .8rem;
  font-weight: 600;
  max-width: 190px;
  transition: border-color .2s, background .2s;
}
.nav-user-av {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--grad);
  color: #061024;
  display: grid;
  place-content: center;
  font-size: .7rem;
  font-weight: 800;
  flex: none;
}
.nav-user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user:hover { border-color: rgba(125, 211, 252, .42); background: rgba(19, 30, 54, .72); }
html[data-theme="light"] .nav-user { background: rgba(255, 255, 255, .72); border-color: rgba(37, 99, 235, .2); }
html[data-theme="light"] .nav-user:hover { background: #fff; border-color: rgba(37, 99, 235, .4); }
/* Admin pill — rendered only while an admin session is live (knob: visual.header_admin) */
.nav-adm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .44rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .26);
  background: rgba(13, 20, 38, .55);
  color: var(--tx-strong);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s, background .2s, color .2s;
}
.nav-adm svg { color: rgba(125, 211, 252, .8); transition: color .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.nav-adm:hover { border-color: rgba(125, 211, 252, .5); background: rgba(19, 30, 54, .78); color: #fff; }
.nav-adm:hover svg { color: var(--tx-strong); transform: scale(1.1); }
html[data-theme="light"] .nav-adm { background: rgba(255, 255, 255, .72); border-color: rgba(37, 99, 235, .22); color: #0f2b5c; }
html[data-theme="light"] .nav-adm:hover { background: #fff; border-color: rgba(37, 99, 235, .45); }
@media (max-width: 860px) { .nav-adm { padding: .38rem .6rem; } .nav-adm span { display: none; } }
.nav-links a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s;
}

/* ---------- LIVE brand logo — calm aura + idle float always on; brand-fx amplifies (glow pulse + sheen sweep) ---------- */
.brand { position: relative; }
.brand::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border-radius: 18px;
  background:
    radial-gradient(46% 130% at 16% 38%, rgba(0, 212, 255, .17), transparent 62%),
    radial-gradient(42% 120% at 88% 62%, rgba(37, 99, 235, .15), transparent 60%);
  opacity: .85;
  pointer-events: none;
}
.brand .logo {
  filter: drop-shadow(0 0 7px rgba(0, 212, 255, .45)) drop-shadow(0 0 16px rgba(37, 99, 235, .3));
  transition: filter .3s ease;
}
.brand:hover .logo {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, .65)) drop-shadow(0 0 22px rgba(37, 99, 235, .45));
}
.brand .logo { animation: logoFloat 7s ease-in-out infinite; }
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
body.cinema.brand-fx .brand::before { opacity: 1; }
body.cinema.brand-fx .brand .logo { animation: brandGlow 3.4s ease-in-out infinite, logoFloat 7s ease-in-out infinite; }
@keyframes brandGlow {
  0%, 100% { filter: drop-shadow(0 0 7px rgba(0, 212, 255, .45)) drop-shadow(0 0 16px rgba(37, 99, 235, .3)); }
  50% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, .7)) drop-shadow(0 0 22px rgba(37, 99, 235, .5)) drop-shadow(0 0 40px rgba(112, 71, 255, .3)); }
}
body.cinema.brand-fx .brand::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 38%; height: 170%;
  transform: translateX(-240%) skewX(-18deg) translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(224, 242, 254, .16), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: brandSheen 5.4s ease-in-out infinite;
}
@keyframes brandSheen {
  0%, 56%, 100% { transform: translateX(-240%) skewX(-18deg) translateY(-50%); }
  80% { transform: translateX(360%) skewX(-18deg) translateY(-50%); }
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px 7px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.nav-toggle:hover { background: var(--surf); }
.nav-toggle span { width: 20px; height: 2px; background: var(--tx-strong); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 60px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: #7DD3FC;
  background: rgba(0, 212, 255, .08);
  border: 1px solid rgba(0, 212, 255, .35);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: 1.13rem; max-width: 480px; margin-bottom: 30px; }
.hero-sub strong { color: var(--tx-strong); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { color: var(--muted-2); font-size: .85rem; margin-bottom: 22px; }

.trust-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.sep { color: var(--muted-2); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.5); opacity: 1; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --- Hero server panel --- */
.hero-visual { position: relative; }

.panel {
  background: linear-gradient(180deg, rgba(13, 20, 38, .78), rgba(8, 13, 26, .68));
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, .55), inset 0 1px 0 rgba(148, 197, 255, .08);
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(125, 211, 252, .12);
  background: linear-gradient(180deg, rgba(19, 30, 54, .55), transparent);
}
.dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.dots span:nth-child(1) { background: #f87171; }
.dots span:nth-child(2) { background: #fbbf24; }
.dots span:nth-child(3) { background: #34d399; }
.panel-title {
  font-size: .7rem;
  color: #B9CDEB;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #7DD3FC;
  border: 1px solid rgba(125, 211, 252, .45);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, .1);
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #7DD3FC; animation: blink 1.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.panel-body {
  display: grid;
  gap: 15px;
  padding: 15px 16px 16px;
  align-items: start;
}

.panel-strip {
  display: grid;
  grid-template-columns: auto 1fr 1.55fr;
  gap: 18px;
  align-items: center;
}
.ring-sm { width: 84px; }
.ring-sm .ring { width: 84px; height: 84px; }
.ring-sm .ring-txt strong { font-size: .78rem; }
.ring-sm .ring-txt small { font-size: .62rem; }
.panel-strip .meters { gap: 11px; min-width: 130px; }
.panel-strip #heroChart { height: 62px; }
.panel-strip .deps { margin-top: 8px; gap: 7px; }
.panel-strip .dep { padding: 7px 10px; font-size: .76rem; }
.panel-strip .dep-main small { font-size: .68rem; }

/* --- Live Ops typed console --- */
.hero-term {
  position: relative;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, .14);
  background: linear-gradient(180deg, rgba(10, 17, 34, .88), rgba(5, 9, 20, .92));
  box-shadow: inset 0 1px 0 rgba(148, 197, 255, .06), inset 0 12px 30px rgba(2, 6, 17, .45);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, Menlo, monospace;
  font-size: .74rem;
  line-height: 1.55;
  min-height: 148px;
  overflow: hidden;
}
.hero-term::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(125, 211, 252, .04) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hero-term::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(125, 211, 252, .07), transparent);
  animation: termSweep 5.5s linear infinite;
  pointer-events: none;
}
@keyframes termSweep { from { transform: translateY(-120%); } to { transform: translateY(340%); } }

.term-feed { display: grid; gap: 4px; }
.term-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #00D4FF;
  text-transform: uppercase;
}
.term-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
  animation: termIn .28s ease;
}
@keyframes termIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.term-line:nth-last-child(n+4) { opacity: .55; }
.term-line:nth-last-child(n+4) .tl-msg { color: #8FA6C9; }
.tl-t { color: #63789E; font-size: .66rem; letter-spacing: .03em; flex: none; font-variant-numeric: tabular-nums; }
.tl-p { color: #00D4FF; font-weight: 700; flex: none; }
.tl-tag { font-weight: 700; text-transform: uppercase; font-size: .64rem; letter-spacing: .09em; flex: none; }
.tl-msg { color: #C9DCFA; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tl-ok { color: #34D399; }
.tl-info { color: #7DD3FC; }
.tl-warn { color: #FBBF24; }
.tl-dim { color: #A9BAD6; }
.term-caret {
  width: 7px;
  height: 13px;
  flex: none;
  align-self: center;
  border-radius: 2px;
  background: #00D4FF;
  box-shadow: 0 0 8px rgba(0, 212, 255, .65);
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

[data-theme="light"] .hero-term {
  background: linear-gradient(180deg, rgba(228, 240, 255, .94), rgba(219, 234, 252, .96));
  border-color: rgba(37, 99, 235, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
[data-theme="light"] .term-logo { color: #1D4FA1; }
[data-theme="light"] .tl-t { color: #7C8AA5; }
[data-theme="light"] .tl-p { color: #1D4FA1; }
[data-theme="light"] .tl-msg { color: #22406B; }
[data-theme="light"] .term-line:nth-last-child(n+4) .tl-msg { color: #64748B; }
[data-theme="light"] .tl-ok { color: #0E6E46; }
[data-theme="light"] .tl-info { color: #0B3966; }
[data-theme="light"] .tl-warn { color: #854D0E; }
[data-theme="light"] .tl-dim { color: #51617A; }
[data-theme="light"] .term-caret { background: #2563EB; box-shadow: none; }

.ring-wrap { position: relative; width: 108px; }
.ring { width: 108px; height: 108px; }
.ring-fg { stroke-dashoffset: 163.4; animation: ringIn 1.6s .3s ease-out forwards; }
@keyframes ringIn { to { stroke-dashoffset: 1; } }
.ring-txt {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-txt strong { font-family: var(--font-display); font-size: .98rem; }
.ring-txt small { color: var(--muted); font-size: .68rem; }

.meters { display: grid; gap: 16px; align-content: center; min-width: 150px; }
.meter { display: grid; grid-template-columns: 32px 1fr 38px; align-items: center; gap: 8px; font-size: .74rem; }
.meter span { color: var(--muted); font-weight: 600; }
.meter b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  transition: width .9s cubic-bezier(.25, .9, .35, 1);
}

.panel-col-wide { min-width: 0; }
#heroChart { width: 100%; height: 96px; }

.deps { margin-top: 14px; display: grid; gap: 9px; }
.dep {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surf-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: .8rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, .15); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(251, 191, 36, .15); }
.dep-main { display: grid; line-height: 1.35; min-width: 0; }
.dep-main small { color: var(--muted-2); font-size: .72rem; }
.dep-time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.ok-c { color: var(--ok); }
.warn-c { color: var(--warn); }

.float-chip {
  position: absolute;
  background: rgba(10, 17, 32, .88);
  border: 1px solid rgba(125, 211, 252, .22);
  color: #CFE6FF;
  font-size: .78rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(3, 6, 14, .5), inset 0 1px 0 rgba(148, 197, 255, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: floatY 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.fc1 { top: -18px; right: 8%; }
.fc2 { bottom: 22px; left: -4%; animation-delay: -3s; }
@keyframes floatY { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* ---------- Live ticker ---------- */
.ticker { padding: 34px 0 8px; }
.ticker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.55fr;
  gap: 18px;
}

.t-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.t-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.t-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.t-label small { color: var(--muted-2); font-weight: 500; }
.t-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tx-strong);
}
.t-sub { color: var(--muted-2); font-size: .76rem; margin-top: 6px; }
.t-wide { display: flex; flex-direction: column; }
.t-wide canvas { flex: 1; min-height: 64px; margin-top: 4px; }

/* ---------- Cards / features ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat { padding: 28px 26px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, .5); box-shadow: 0 18px 44px rgba(2, 6, 23, .45); }
.feat-ico {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  border-radius: 13px;
  color: #7DD3FC;
  background: linear-gradient(135deg, rgba(37, 99, 235, .2), rgba(0, 212, 255, .08));
  border: 1px solid rgba(0, 212, 255, .32);
  margin-bottom: 18px;
}
.feat h3 { font-size: 1.08rem; margin-bottom: 9px; }
.feat p { color: var(--muted); font-size: .93rem; }

/* ---------- Pricing ---------- */
.billing-row { display: flex; justify-content: center; margin-bottom: 42px; }
.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--surf);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
}
.seg-btn {
  padding: .55rem 1.3rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  transition: background .25s, color .25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.seg-btn small {
  font-size: .68rem;
  font-weight: 700;
  color: #7DD3FC;
  background: rgba(125, 211, 252, .14);
  border: 1px solid rgba(125, 211, 252, .4);
  padding: 2px 8px;
  border-radius: 99px;
}
.seg-btn.active { background: var(--grad); color: #071228; box-shadow: 0 4px 18px rgba(37, 99, 235, .38); }
.seg-btn.active small { color: #E0F2FE; background: rgba(2, 6, 23, .45); border-color: rgba(2, 6, 23, .45); }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(3, 6, 14, .5); }

.plan.featured {
  background:
    linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(37, 99, 235, .22);
}
.pop-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #071228;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 99px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .5);
  white-space: nowrap;
}

.plan h3 { font-size: 1.2rem; }
.plan-blurb { color: var(--muted); font-size: .85rem; margin: 4px 0 18px; }

.price { display: flex; align-items: baseline; gap: 3px; font-family: var(--font-display); }
.price .cur { color: var(--muted); font-size: 1.1rem; }
.price-value { font-size: 2.55rem; font-weight: 800; color: var(--tx-strong); font-variant-numeric: tabular-nums; transition: opacity .2s; }
.price .per { color: var(--muted); font-size: .95rem; margin-left: 2px; }
.bill-note { color: var(--muted-2); font-size: .76rem; margin: 4px 0 20px; }

.plan-list { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--tx-soft); }
.ck { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--a2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan-btn { width: 100%; }

/* --- Calculator --- */
.calc {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  padding: 40px 44px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(37, 99, 235, .14), transparent 60%),
    var(--panel);
}
.calc-copy h3 { font-size: 1.45rem; margin-bottom: 8px; }
.calc-copy > p { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }

.calc-inputs { display: grid; gap: 22px; }
.calc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.calc-field { display: grid; gap: 8px; align-content: start; }
.calc-field label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.calc-field output {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--tx-strong);
  font-variant-numeric: tabular-nums;
}
input[type="range"] { accent-color: var(--a2); width: 100%; cursor: pointer; }

.calc-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.calc-chip span {
  display: inline-block;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}
.calc-chip:hover span { border-color: var(--a2); color: var(--tx-strong); }
.calc-chip input:checked + span {
  background: linear-gradient(135deg, rgba(0, 212, 255, .2), rgba(165, 180, 252, .12));
  border-color: var(--a2);
  color: var(--tx-strong);
}
.calc-chip input:focus-visible + span { outline: 2px solid var(--a3); outline-offset: 2px; }

.calc-result {
  background: var(--surf-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
}
.cr-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2563EB; margin-bottom: 8px; }
.cr-plan { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--tx-strong); }
.cr-price { display: flex; align-items: baseline; gap: 3px; margin-top: 6px; font-family: var(--font-display); }
.cr-price .cur { color: var(--muted); font-size: 1rem; }
.cr-price #calcPrice { font-size: 2.2rem; font-weight: 800; color: var(--tx-strong); font-variant-numeric: tabular-nums; }
.cr-price .per { color: var(--muted); font-size: .9rem; }
.cr-period { color: var(--muted-2); font-size: .78rem; margin: 6px 0 18px; }
.cr-why { display: grid; gap: 8px; margin-bottom: 22px; }
.cr-why li {
  position: relative;
  padding-left: 20px;
  color: var(--tx-soft);
  font-size: .86rem;
}
.cr-why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--a2);
  font-weight: 700;
}
.cr-note { color: var(--muted-2); font-size: .75rem; text-align: center; margin-top: 12px; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 46px 40px;
  border-radius: 24px;
  background:
    linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 70px rgba(3, 6, 14, .5);
  text-align: center;
}
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--tx-strong); font-variant-numeric: tabular-nums; }
.stat-cap { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 28px 26px; position: relative; transition: transform .25s, border-color .25s; }
.testi:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.testi .stars { font-size: .9rem; display: block; margin-bottom: 14px; }
.testi blockquote { color: var(--tx-soft); font-size: .95rem; margin-bottom: 22px; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--g, var(--grad));
  font-weight: 700;
  font-size: .85rem;
  color: #071228;
  flex: none;
}
.testi figcaption div { display: grid; line-height: 1.3; }
.testi figcaption small { color: var(--muted-2); font-size: .78rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.faq-intro p { color: var(--muted); margin-bottom: 24px; max-width: 380px; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--tx-strong);
  transition: color .2s;
}
.faq-q:hover { color: #A5B4FC; }
.faq-x { position: relative; width: 14px; height: 14px; flex: none; }
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--a3);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s;
}
.faq-x::before { inset: 6px 0; height: 2px; }
.faq-x::after { inset: 0 6px; width: 2px; }
.faq-item.open .faq-x::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); font-size: .93rem; padding: 0 4px 20px; max-width: 640px; }

/* ---------- CTA band ---------- */
.cta { padding-top: 40px; }
.cta-band {
  text-align: center;
  padding: 70px 30px;
  border-radius: 28px;
  background:
    radial-gradient(640px 300px at 50% -40%, rgba(37, 99, 235, .3), transparent 70%),
    linear-gradient(180deg, #1a150a, #0e0a05);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px rgba(2, 6, 23, .6);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 14px; }
.cta-band > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-small { color: var(--muted-2); font-size: .8rem; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 34px;
  background: linear-gradient(180deg, rgba(9, 14, 28, .78), rgba(5, 8, 18, .92));
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(125, 211, 252, .35) 32%, rgba(37, 99, 235, .55) 50%, rgba(125, 211, 252, .35) 68%, transparent 96%);
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(125, 211, 252, .07), transparent);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.foot-ghost {
  position: absolute;
  right: -26px;
  bottom: -72px;
  font-size: clamp(150px, 22vw, 300px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .9;
  background: linear-gradient(115deg, rgba(125, 211, 252, .045), rgba(37, 99, 235, .12) 45%, rgba(125, 211, 252, .035));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { color: var(--muted); font-size: .9rem; margin: 14px 0 12px; max-width: 300px; }
.foot-domain {
  display: inline-block;
  color: var(--a2);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 18px;
}
.foot-domain:hover { text-decoration: underline; }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--tx-strong); text-decoration: underline; }

.news { display: flex; gap: 8px; max-width: 340px; }
.news input {
  flex: 1;
  min-width: 0;
  background: var(--surf);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .6rem 1rem;
  font-size: .88rem;
  color: var(--tx-strong);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.news input::placeholder { color: var(--muted-2); }
.news input:focus { border-color: var(--a2); box-shadow: 0 0 0 3px rgba(59, 130, 246, .16); }

.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; font-weight: 700; }
.foot-col a { position: relative; color: var(--muted); font-size: .9rem; transition: color .2s; width: fit-content; }
.foot-col a::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  width: 7px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.22, .9, .3, 1);
}
.foot-col a:hover { color: var(--tx-strong); }
.foot-col a:hover::before,
.foot-col a:focus-visible::before { transform: scaleX(1); }

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  color: var(--ok);
  font-weight: 600;
  background: rgba(52, 211, 153, .08);
  border: 1px solid rgba(52, 211, 153, .3);
  padding: 6px 14px;
  border-radius: 999px;
}
.foot-bottom p { color: var(--muted-2); font-size: .8rem; }

/* ---------- Support chat — v5ei messenger family ---------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad);
  color: #071228;
  display: grid;
  place-content: center;
  box-shadow: 0 14px 40px rgba(37, 99, 235, .5);
  z-index: 150;
  transition: transform .25s ease, box-shadow .25s;
}
.chat-fab span { grid-area: 1 / 1; display: grid; place-content: center; }
.chat-fab .chat-fab-x { display: none; }
.chat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 50px rgba(0, 212, 255, .55); }
.chat-fab.active { transform: rotate(180deg) scale(.96); }
.chat-fab.active .chat-fab-ic { display: none; }
.chat-fab.active .chat-fab-x { display: grid; }
.chat-fab-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: grid;
  place-content: center;
  border-radius: 999px;
  background: var(--warn);
  color: #1A1200;
  border: 2.5px solid #0A1322;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(245, 158, 11, .45);
  animation: badgePop .35s cubic-bezier(.3, 1.5, .4, 1) both;
}
.chat-fab-badge[hidden] { display: none; }
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }
body.cinema .chat-fab::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, .55);
  animation: fabHalo 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fabHalo { 0% { transform: scale(.86); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.38); opacity: 0; } }
.chat-fab.active::after { display: none; }

/* Panel: messenger glass card — global `section` padding (96px 0) must NOT leak
   into the chat window (it put empty bands above the header / below the composer,
   owner screenshot bug from the old widget) */
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 96px;
  width: 380px;
  max-width: calc(100vw - 28px);
  padding: 0;
  height: min(580px, calc(100vh - 122px));
  height: min(580px, calc(100dvh - 122px));
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, #0E1A33 0%, #0C172B 55%, #0B1426 100%);
  border: 1px solid rgba(56, 84, 138, .5);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .65), 0 0 0 1px rgba(0, 212, 255, .07), 0 0 44px rgba(37, 99, 235, .14);
  z-index: 160;
  transform: translateY(22px) scale(.95);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.3, 1.25, .4, 1), opacity .25s;
  overflow: hidden;
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }

.chat-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: linear-gradient(120deg, rgba(37, 99, 235, .22), rgba(0, 212, 255, .07) 55%, rgba(37, 99, 235, .12)), #101D36;
  border-bottom: 1px solid rgba(56, 84, 138, .45);
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grad);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .3), 0 4px 12px rgba(37, 99, 235, .3);
  display: grid;
  place-content: center;
  flex: none;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-title { display: grid; line-height: 1.3; min-width: 0; }
.chat-title strong {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--tx-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-title small { color: var(--muted-2); font-size: .68rem; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chat-title small i { width: 7px; height: 7px; background: var(--ok); border-radius: 50%; display: inline-block; flex: none; box-shadow: 0 0 8px rgba(52, 211, 153, .6); }
.chat-title small i.warn { background: var(--warn); box-shadow: 0 0 8px rgba(245, 158, 11, .55); }
.chat-queue-pill {
  flex: none; border-radius: 999px; padding: 4px 12px; font-size: .68rem; font-weight: 700;
  letter-spacing: .02em; border: 1px solid rgba(52, 211, 153, .35); color: var(--ok, #34d399);
  background: rgba(52, 211, 153, .09); white-space: nowrap; animation: dil-pulse 2.2s ease-in-out infinite;
}
.queue-banner .sys-pill { border-color: rgba(0, 212, 255, .35); color: #9fe4ff; background: rgba(0, 212, 255, .07); font-weight: 600; }
[data-theme="light"] .queue-banner .sys-pill { color: #0369a1; background: rgba(3, 105, 161, .06); }
[data-theme="light"] .chat-queue-pill { border-color: rgba(5, 150, 105, .35); }
.chat-sound {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  place-content: center;
  flex: none;
  transition: background .2s, color .2s, opacity .2s;
}
.chat-sound:hover { background: rgba(255, 255, 255, .07); color: var(--tx-strong); }
.chat-sound { line-height: 0; }
.chat-sound .snd-off { display: none; }
.chat-sound.muted .snd-on { display: none; }
.chat-sound.muted .snd-off { display: block; }
.chat-sound.muted { opacity: .55; }
.chat-close {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-content: center;
  line-height: 1;
  flex: none;
}
.chat-close:hover { background: rgba(255, 255, 255, .07); color: var(--tx-strong); }

.chat-msgs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.chat-msgs::-webkit-scrollbar { width: 6px; }
.chat-msgs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 3px; }

.msg { display: grid; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.msg.user { justify-self: end; }
.msg.agent { justify-self: start; }
.msg.sys { justify-self: center; padding: 2px 14px; }
.msg .bubble {
  padding: 9px 13px;
  border-radius: 17px;
  font-size: .85rem;
  line-height: 1.5;
  max-width: min(300px, calc(100vw - 132px));
  overflow-wrap: anywhere;
  animation: msgIn .3s cubic-bezier(.25, 1.2, .4, 1) both;
}
.msg.agent .bubble {
  background: #17233D;
  border: 1px solid rgba(56, 84, 138, .45);
  border-bottom-left-radius: 6px;
  color: #DEE7F2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.msg.user .bubble {
  background: var(--grad);
  color: #071228;
  font-weight: 500;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .32);
}
.msg.user .stamp { color: rgba(7, 18, 40, .8); opacity: 1; }
.stamp {
  display: block;
  font-style: normal;
  font-size: .6rem;
  opacity: .55;
  margin-top: 4px;
  text-align: right;
  letter-spacing: .02em;
}
.stamp:empty { display: none; }
.sys-pill {
  display: inline-block;
  max-width: 100%;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .38);
  color: #FFD9A0;
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  animation: msgIn .3s ease both;
}
.msg.typing .bubble { display: inline-flex; align-items: center; gap: 5px; padding: 12px 15px; }
.msg.typing .bubble i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: tBlink 1s infinite;
}
.msg.typing .bubble i:nth-child(2) { animation-delay: .18s; }
.msg.typing .bubble i:nth-child(3) { animation-delay: .36s; }
@keyframes tBlink { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* Quick-reply pills: ONE tidy scrollable row — never wrapping into a second messy line */
.chat-chips {
  display: flex;
  gap: 6px;
  padding: 4px 10px 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips.gone { display: none; }
.chip {
  padding: .32rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 84, 138, .5);
  background: rgba(37, 99, 235, .08);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  transition: all .2s;
}
.chip:hover { border-color: var(--a2); color: var(--tx-strong); background: rgba(37, 99, 235, .16); }

.chat-input {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-top: 1px solid rgba(56, 84, 138, .4);
  background: none;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  background: var(--surf);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: .84rem;
  color: var(--tx-strong);
  outline: none;
  transition: border-color .2s, background .2s;
}
.chat-input input::placeholder { color: var(--muted-2); }
.chat-input input:focus { border-color: var(--a2); background: var(--surf-strong); }
.chat-input button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #071228;
  display: grid;
  place-content: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .4);
  transition: transform .2s, box-shadow .2s;
}
.chat-input button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 212, 255, .5); }

/* Motion-sensitive users: the widget renders instantly, nothing animates */
@media (prefers-reduced-motion: reduce) {
  body.cinema .chat-fab::after { animation: none; }
  .msg, .msg .bubble, .sys-pill, .chat-fab-badge { animation: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: #0D1830;
  border: 1px solid var(--border-strong);
  color: var(--tx-strong);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 20px 50px rgba(3, 6, 14, .6);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity .3s, transform .3s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.hidden { display: none !important; }

/* ---------- Sub-pages: hero & shared bits ---------- */
.page-hero { padding: 165px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.page-hero > .container p { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
.page-hero .trust-row { justify-content: center; margin-top: 22px; }

.sub-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.sub-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.sub-head p { color: var(--muted); }

.plans-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plans-4 .price-value { font-size: 1.9rem; }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plans-5 .plan { padding: 24px 20px 26px; }
.plans-5 .plan h3 { font-size: 1.02rem; }
.plans-5 .price-value { font-size: 2.05rem; }
.plans-5 .plan-list li { font-size: .8rem; }

.link-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.link-chips a {
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
}
.link-chips a:hover { border-color: var(--a2); color: var(--tx-strong); background: rgba(0, 212, 255, .08); }
.link-chips a span { color: var(--a3); margin-right: 6px; }
.link-chips-label { align-self: center; color: var(--muted-2); font-size: .8rem; font-weight: 600; }

.checks-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.check-band-item {
  display: flex; gap: 10px; align-items: center;
  padding: 15px 17px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: .88rem;
  color: var(--tx-soft);
}
.check-band-item .ck { width: 17px; height: 17px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-card { padding: 30px 30px 32px; display: grid; gap: 12px; align-content: start; }
.split-card h3 { font-size: 1.25rem; }

/* ---------- Spec tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}
.spec-table { width: 100%; border-collapse: collapse; min-width: 780px; font-size: .86rem; }
.spec-table th, .spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  color: var(--tx-soft);
  font-variant-numeric: tabular-nums;
}
.spec-table thead th {
  font-family: var(--font-display);
  font-size: .74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
}
.spec-table tbody th { color: var(--muted); font-weight: 600; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .hl { background: rgba(0, 212, 255, .08); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 26px; align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card { padding: 24px 24px 26px; display: grid; gap: 8px; align-content: start; }
.info-card .feat-ico { margin-bottom: 8px; }
.info-card h3 { font-size: 1.02rem; }
.info-card p { color: var(--muted); font-size: .88rem; }
.info-card a { color: var(--a3); font-weight: 600; font-size: .92rem; }
.info-card a:hover { text-decoration: underline; }

.form-card { padding: 34px 36px 38px; }
.buy-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, .45);
  background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(0, 212, 255, .08));
  margin-bottom: 22px;
  font-size: .9rem;
}
.buy-banner .tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--a3); }
.buy-banner strong { font-family: var(--font-display); font-size: 1.05rem; }
.buy-banner .mini { color: var(--muted-2); font-size: .78rem; margin-left: auto; }
.buy-banner .mini a { color: var(--a3); }
.buy-banner.hidden { display: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.field label b { color: var(--danger); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surf);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: .78rem 1rem;
  color: var(--tx-strong);
  font-size: .92rem;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--a2); background: rgba(37, 99, 235, .08); }
.field textarea { resize: vertical; min-height: 130px; font-family: inherit; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: #131F3D; color: #F8FAFC; }

.success-panel { text-align: center; padding: 46px 26px 40px; display: none; }
.success-panel.show { display: block; animation: msgIn .35s ease both; }
.success-ico {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .5);
  color: var(--ok);
}
.success-panel h3 { font-size: 1.4rem; margin-bottom: 10px; }
.success-panel p { color: var(--muted); font-size: .92rem; max-width: 420px; margin: 0 auto 8px; }
.success-panel .lead { color: var(--tx-strong); font-weight: 600; }
.success-panel .mini { color: var(--muted-2); font-size: .78rem; margin-bottom: 20px; }
.success-panel .mini a { color: var(--a3); font-weight: 600; }

/* ---------- Domain search ---------- */
.domain-search { max-width: 730px; margin: 30px auto 18px; display: flex; gap: 10px; }
.domain-search input {
  flex: 1;
  min-width: 0;
  background: var(--surf-strong);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  color: var(--tx-strong);
  font-size: 1.02rem;
  outline: none;
  transition: border-color .2s;
}
.domain-search input::placeholder { color: var(--muted-2); }
.domain-search input:focus { border-color: var(--a2); }
.domain-result { max-width: 730px; margin: 0 auto 44px; }
.domain-result.hidden { display: none; }
.dr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--surf);
  flex-wrap: wrap;
}
.dr-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  flex: none;
}
.dr-icon.ok { color: var(--ok); background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); }
.dr-icon.no { color: var(--danger); background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); }
.dr-main { display: grid; gap: 3px; min-width: 0; }
.dr-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--tx-strong); overflow-wrap: anywhere; }
.dr-state { color: var(--muted); font-size: .8rem; }
.dr-state.ok { color: var(--ok); font-weight: 600; }
.dr-state.no { color: var(--danger); font-weight: 600; }
.dr-price { margin-left: auto; display: grid; text-align: right; }
.dr-price b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--tx-strong); font-variant-numeric: tabular-nums; }
.dr-price small { color: var(--muted-2); font-size: .72rem; }
.dr-suggest { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.dr-suggest button {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s;
}
.dr-suggest button:hover { border-color: var(--a2); color: var(--tx-strong); background: rgba(37, 99, 235, .1); }

/* ---------- Nav dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: var(--font-body);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--tx-strong); }
.nav-drop-btn svg { transition: transform .2s; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 320px;
  background: linear-gradient(180deg, rgba(13, 20, 38, .97), rgba(9, 13, 26, .95));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 18px;
  padding: 9px;
  display: grid;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  box-shadow: 0 26px 60px rgba(2, 6, 23, .6), inset 0 1px 0 rgba(224, 242, 254, .08);
  z-index: 60;
}
[data-theme="light"] .drop-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(243, 247, 255, .95));
  border-color: rgba(56, 84, 138, .22);
  box-shadow: 0 22px 48px rgba(7, 11, 22, .16);
}
.nav-drop.open .drop-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.drop-panel a {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  gap: 1px 10px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 12px;
  transition: background .18s;
}
.drop-panel .dr-ic {
  grid-row: 1 / span 2;
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37, 99, 235, .14);
  border: 1px solid rgba(125, 211, 252, .2);
  color: #7DD3FC;
  transition: background .18s, color .18s, border-color .18s;
}
.drop-panel a:hover { background: var(--surf-strong); }
.drop-panel a:hover .dr-ic { background: var(--grad); color: #071228; border-color: transparent; }
.drop-panel a b { font-family: var(--font-display); font-size: .92rem; color: var(--tx-strong); }
.drop-panel a small { color: var(--muted-2); font-size: .76rem; }
@media (min-width: 861px) {
  .nav-drop:hover .drop-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
}

.active-link { color: var(--tx-strong) !important; position: relative; }
.active-link::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans-5 { grid-template-columns: repeat(3, 1fr); }
  .plans-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .checks-band { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .plans-5 { grid-template-columns: 1fr; }
  .plans-4 { grid-template-columns: 1fr; }
  .plans-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checks-band { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; border-radius: 22px; }
  .domain-search input { border-radius: 16px; }
  .domain-search .btn { width: 100%; }
  .form-card { padding: 26px 20px; }
  .dr-price { margin-left: 0; text-align: left; }

  .nav-drop { width: 100%; }
  .nav-drop-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav-drop-btn:hover { background: var(--surf); color: var(--tx-strong); }
  .drop-panel {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    background: var(--surf-soft);
    border: none;
    margin-top: 6px;
    display: none;
  }
  .nav-drop.open .drop-panel { display: grid; opacity: 1; pointer-events: auto; transform: none; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 150px; }
  .hero-sub { max-width: 560px; }
  .plans:not(.plans-5) { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .ticker-grid { grid-template-columns: 1fr 1fr 1fr; }
  .t-wide { grid-column: span 3; }
  .stats-band { grid-template-columns: repeat(2, 1fr); text-align: center; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .ticker-grid { grid-template-columns: 1fr 1fr; }
  .t-wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 34px 20px; }
  .calc-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 54px 22px; }
  .calc { padding: 28px 22px; }
  .fc1 { right: 2%; }
  .fc2 { left: 2%; bottom: -10px; }
  .panel-strip { grid-template-columns: 1fr 1fr; align-items: start; }
  .panel-col-wide { grid-column: span 2; order: 3; }

  .site-header .nav { grid-template-columns: auto 1fr auto; padding: 8px 10px; gap: 10px; border-radius: 16px; }
  .brand { font-size: .92rem; gap: 7px; white-space: nowrap; }
  .site-header .brand .logo { height: 30px; border-radius: 9px; }
  .nav-actions { gap: 7px; }
  .nav-actions .nav-cta { font-size: .78rem; padding: .45rem .9rem; }
  .nav-actions .nav-auth { padding: .5rem .85rem; font-size: .8rem; }
  .nav-actions > .nav-cta:not(.nav-auth) { display: none; }
  .nav-user { padding: 3px 8px 3px 4px; }
  .nav-user-name { display: none; }
  .nav-user-av { width: 24px; height: 24px; }
  .theme-switch .ts-track { width: 40px; }
  .theme-switch[aria-checked="true"] .ts-knob { transform: translateX(12px); }
  .nav-toggle { display: flex; }
  .nav-m-only { display: block; }
  .nav-m-first { border-top: 1px dashed rgba(125, 211, 252, .18); margin-top: 6px; padding-top: 10px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 6px;
    background: linear-gradient(180deg, rgba(13, 20, 38, .98), rgba(9, 13, 26, .96));
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(125, 211, 252, .16);
    border-radius: 18px;
    padding: 16px;
    display: none;
    box-shadow: 0 26px 60px rgba(2, 6, 23, .6);
  }
  [data-theme="light"] .nav-links {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 245, 253, .96));
    border-color: rgba(56, 84, 138, .22);
    box-shadow: 0 22px 48px rgba(7, 11, 22, .18);
  }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 10px; border-radius: 10px; }
  .nav-links li a:not(.btn):hover { background: var(--surf); }
}
@media (max-width: 480px) {
  .brand em { display: none; }
  .nav-actions .nav-auth { padding: .48rem .7rem; }
  .nav-toggle { padding: 7px 6px; }
}

/* ---------- Interactive pass — buttons that answer you ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 15%, rgba(224, 242, 254, .38) 50%, transparent 85%);
  transform: translateX(-130%);
  transition: transform .65s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(130%); }

.btn-primary:hover {
  background: linear-gradient(135deg, #7DD3FC, #2563EB 52%, #A5B4FC);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, .5),
    0 12px 34px rgba(37, 99, 235, .5),
    0 0 26px rgba(0, 212, 255, .4);
}
.btn-ghost:hover {
  border-color: var(--a3);
  color: var(--tx-strong);
  background: linear-gradient(135deg, rgba(37, 99, 235, .18), rgba(165, 180, 252, .08));
  box-shadow: 0 0 20px rgba(37, 99, 235, .35), 0 10px 26px rgba(2, 6, 23, .5);
}
.btn-light:hover { box-shadow: 0 12px 34px rgba(37, 99, 235, .3); }
.btn-outline-light:hover { box-shadow: 0 0 20px rgba(0, 212, 255, .3), 0 10px 26px rgba(2, 6, 23, .5); }

/* Held down = a bright burst ring */
.btn-primary:active {
  transform: translateY(1px) scale(.985);
  box-shadow:
    0 0 0 4px rgba(0, 212, 255, .35),
    0 0 24px 4px rgba(37, 99, 235, .6);
}
.btn-ghost:active, .btn-outline-light:active, .btn-light:active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .4), 0 0 18px rgba(37, 99, 235, .5);
}

/* Click burst — a wave of light that blooms and fades (script.js adds .glow-burst on click) */
.glow-burst { animation: glowBurst .45s ease-out; }
@keyframes glowBurst {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
  30%  { box-shadow: 0 0 0 5px rgba(0, 212, 255, .5), 0 0 30px 7px rgba(37, 99, 235, .55); }
  100% { box-shadow: 0 0 0 9px rgba(0, 212, 255, 0), 0 0 26px 3px rgba(37, 99, 235, 0); }
}

/* Small pills join the glow */
.seg-btn:hover, .chip:hover, .link-chips a:hover, .dr-suggest button:hover {
  box-shadow: 0 0 16px rgba(37, 99, 235, .3);
}

/* ---------- Ambient accents ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #0A1122; }
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, .4);
  border-radius: 8px;
  border: 2px solid #0A1122;
}
::-webkit-scrollbar-thumb:hover { background: rgba(125, 211, 252, .6); }
html { scrollbar-color: rgba(37, 99, 235, .5) #0A1122; }

.hero h1 .grad-text, .page-hero h1 .grad-text {
  filter: drop-shadow(0 0 22px rgba(37, 99, 235, .3));
}

.t-value, .price-value, .cr-price #calcPrice, .stat-num {
  text-shadow: 0 0 22px rgba(37, 99, 235, .28);
}

.plan.featured { box-shadow: 0 24px 60px rgba(37, 99, 235, .26), 0 0 34px rgba(37, 99, 235, .12); }
.plan.featured:hover { box-shadow: 0 28px 66px rgba(37, 99, 235, .32), 0 0 40px rgba(37, 99, 235, .18); }

.pop-badge { animation: badgePulse 2.8s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(37, 99, 235, .5); }
  50% { box-shadow: 0 6px 26px rgba(125, 211, 252, .8); }
}

/* ---------- Phone & tablet vision pass ---------- */
@media (max-width: 1080px) {
  .info-stack { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .info-stack { grid-template-columns: 1fr; }

  /* 16px inputs stop phone browsers from auto-zooming on focus */
  .field input, .field select, .field textarea,
  .news input, .chat-input input, .domain-search input {
    font-size: 16px;
  }

  /* Comfortable chat on a phone */
  .chat-fab {
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  .chat-panel {
    right: 10px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
    height: min(560px, calc(100vh - 118px));
    height: min(560px, calc(100dvh - 118px));
  }

  /* Bigger tap targets */
  .chip { padding: .55rem 1rem; font-size: .84rem; }
  .dr-suggest button { padding: .65rem 1.1rem; }
  .link-chips a { padding: .7rem 1.2rem; }
}

/* Small phones: the chat becomes a full-bleed bottom sheet (v5ei) */
@media (max-width: 480px) {
  .chat-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .chat-panel {
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border-right: 0;
    border-bottom: 0;
    transform: translateY(30px);
    transform-origin: bottom center;
  }
  .chat-msgs { padding: 12px 12px 8px; }
}

/* Touch screens: no floating hovers — the glow comes from the tap instead */
@media (hover: none) {
  .btn:hover, .btn-ghost:hover, .chat-fab:hover,
  .t-card:hover, .feat:hover, .plan:hover, .testi:hover { transform: none; }
  .btn-primary:hover { box-shadow: 0 6px 24px rgba(37, 99, 235, .28); }
  .btn-ghost:hover, .btn-outline-light:hover, .btn-light:hover { box-shadow: none; }
}

/* ---------- Theme switch (light ⇄ black) + mouse-life FX ---------- */
.li-switch { display: flex; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 28px; padding: 0 8px; border-radius: 999px;
  border: 1px solid var(--border, #23365D); color: var(--tx, #F8FAFC);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-decoration: none;
  background: rgba(255, 255, 255, .04); transition: border-color .2s, color .2s, background .2s;
}
.lang-switch:hover { border-color: rgba(0, 212, 255, .6); color: #00D4FF; background: rgba(0, 212, 255, .08); }
[data-theme="light"] .lang-switch { background: rgba(37, 99, 235, .06); }
.theme-switch {
  display: inline-flex;
  padding: 0;
  margin-left: -8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.ts-track {
  position: relative;
  width: 50px;
  height: 28px;
  border-radius: 999px;
  background: var(--surf-strong);
  border: 1px solid var(--border-strong);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.theme-switch:hover .ts-track,
.theme-switch:focus-visible .ts-track {
  box-shadow: 0 0 18px rgba(37, 99, 235, .4);
  border-color: var(--a2);
}
.ts-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: #071228;
  background: var(--grad);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 0 16px rgba(37, 99, 235, .38);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), scale .2s ease;
}
.theme-switch[aria-checked="true"] .ts-knob { transform: translateX(22px); }
.theme-switch:active .ts-knob { scale: .85; }
.theme-switch[aria-checked="true"] .ts-track {
  background: rgba(0, 212, 255, .28);
  border-color: var(--a2);
  box-shadow: 0 0 16px rgba(37, 99, 235, .3);
}
.ts-knob svg { display: none; }
.theme-switch[aria-checked="false"] .ts-moon { display: block; }
.theme-switch[aria-checked="true"] .ts-sun { display: block; }

/* Mouse spotlight — a warm glow that trails the cursor */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px 380px at var(--mx, 50%) var(--my, 30%), var(--spot), transparent 66%);
  opacity: 0;
  transition: opacity .6s ease;
}
body.spot-on::after { opacity: 1; }
[data-theme="light"] body::after { background: radial-gradient(560px 380px at var(--mx, 50%) var(--my, 30%), rgba(0, 212, 255, .14), transparent 66%); }
.hero-visual .panel { transition: transform .35s ease-out; }

/* ---------- Light gold theme ---------- */
[data-theme="light"] {
  --bg: #F3F7FF;
  --bg-2: #EAF1FC;
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #FFFFFF;
  --border: rgba(35, 54, 93, .18);
  --border-strong: rgba(37, 99, 235, .42);
  --text: #1E293B;
  --muted: #5B6B85;
  --muted-2: #7C8AA5;
  --head: #0F1B33;
  --tx-strong: #0B1530;
  --tx-soft: #3B4B66;
  --surf-faint: rgba(37, 99, 235, .04);
  --surf-soft: rgba(37, 99, 235, .06);
  --surf: rgba(37, 99, 235, .08);
  --surf-strong: rgba(37, 99, 235, .1);
  --grid-line: rgba(37, 99, 235, .055);
  --scroll-thumb: rgba(37, 99, 235, .34);
  --a1: #0891B2;
  --a2: #2563EB;
  --a3: #4F46E5;
  --gold: #0891B2;
    --grad: linear-gradient(135deg, #00D4FF 0%, #2563EB 55%, #7047FF 100%);
  --primary: #1D4ED8;
  --accent: #0891B2;
  --accent-purple: #6D28D9;
  --text-primary: #1E293B;
  --text-secondary: #5B6B85;
  --bg-primary: #F3F7FF;
  --bg-secondary: #EAF1FC;
  --bg-card: #FFFFFF;

  --shadow-glow: 0 10px 40px rgba(37, 99, 235, .22);
  --shadow-panel: 0 24px 70px rgba(15, 23, 42, .12);
}
[data-theme="light"] .bg-fx {
  background:
    radial-gradient(900px 460px at 12% -6%, rgba(37, 99, 235, .2), transparent 60%),
    radial-gradient(820px 420px at 88% 2%, rgba(37, 99, 235, .13), transparent 60%),
    radial-gradient(700px 500px at 50% 118%, rgba(165, 180, 252, .18), transparent 60%),
    var(--bg);
}
[data-theme="light"] .site-header.scrolled { background: rgba(243, 247, 255, .88); }
[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, rgba(238, 244, 255, .92), rgba(224, 233, 250, .96));
  border-top: 1px solid rgba(37, 99, 235, .18);
}
[data-theme="light"] .site-footer::before {
  background: linear-gradient(90deg, transparent 4%, rgba(37, 99, 235, .25) 32%, rgba(37, 99, 235, .45) 50%, rgba(37, 99, 235, .25) 68%, transparent 96%);
}
[data-theme="light"] .site-footer::after {
  background: linear-gradient(180deg, rgba(37, 99, 235, .05), transparent);
}
[data-theme="light"] .foot-ghost {
  background: linear-gradient(115deg, rgba(37, 99, 235, .04), rgba(37, 99, 235, .1) 45%, rgba(37, 99, 235, .03));
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .foot-col a::before { background: linear-gradient(90deg, #2563EB, #A5B4FC); }

/* ---------- HELP CENTER (faq.php) + LEGAL (tos.php) — v5emh ---------- */
.faq-visual {
  position: relative;
  width: 108px;
  margin: 26px auto 0;
}
.faq-orb {
  position: absolute;
  inset: -34px -60px;
  border-radius: 50%;
  background:
    radial-gradient(60% 120% at 30% 30%, rgba(0, 212, 255, .18), transparent 62%),
    radial-gradient(55% 110% at 75% 70%, rgba(37, 99, 235, .2), transparent 60%);
  filter: blur(2px);
}
.faq-logo {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, .28), 0 14px 40px rgba(2, 6, 23, .55), 0 0 34px rgba(0, 212, 255, .22);
}
.faq-visual .float-chip { position: absolute; white-space: nowrap; animation: floatY 6s ease-in-out infinite alternate; }
.fc-faq-a { right: -150px; top: -6px; }
.fc-faq-b { left: -190px; bottom: -4px; animation-delay: -3s; }
.faq-intro { max-width: 620px; margin: 20px auto 0; }
.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 26px auto 0;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .2);
  background: rgba(13, 20, 38, .6);
  color: var(--muted-2);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .4), inset 0 1px 0 rgba(148, 197, 255, .08);
  transition: border-color .2s, box-shadow .2s;
}
.faq-search:focus-within { border-color: var(--a2); box-shadow: 0 0 0 3px rgba(59, 130, 246, .16), 0 14px 34px rgba(2, 6, 23, .4); }
.faq-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: .7rem 0;
  font-size: .92rem;
  color: var(--tx-strong);
}
.faq-search input::placeholder { color: var(--muted-2); }
.faq-body { padding: 34px 0 90px; }
.faq-sec { max-width: 780px; margin: 0 auto 40px; }
.faq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-ic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  background: rgba(37, 99, 235, .16);
  border: 1px solid rgba(125, 211, 252, .22);
  color: #7DD3FC;
  flex: none;
}
.faq-head h2 { font-size: 1.18rem; display: flex; align-items: baseline; gap: 10px; }
.faq-head h2 small { color: var(--muted-2); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 20, 38, .55), rgba(8, 13, 26, .42));
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(125, 211, 252, .3); }
.faq-item[open] .faq-plus { transform: rotate(135deg); }
.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  flex: none;
  transition: transform .28s cubic-bezier(.22, .9, .3, 1), border-color .2s;
}
.faq-plus::before {
  content: "";
  position: absolute;
  inset: 50% 6px 50% 6px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--grad);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--tx-strong);
  list-style: none;
  font-size: .95rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover .faq-plus { border-color: var(--a2); }
.faq-a {
  padding: 2px 18px 16px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
  max-width: 700px;
}
.faq-empty {
  max-width: 780px;
  margin: 0 auto 30px;
  padding: 16px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}
.faq-empty strong { color: var(--tx-strong); }
.faq-empty span { display: block; margin-top: 4px; font-size: .84rem; }
.faq-cta { margin-top: 56px; }

.page-hero-legal { padding-bottom: 6px; }
.legal-intro { max-width: 680px; margin: 0 auto; }
.legal-meta { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .2);
  background: rgba(13, 20, 38, .55);
  color: var(--muted);
  font-size: .78rem;
}
.legal-chip b { color: var(--tx-strong); }
.legal-chip a { color: var(--tx-strong); font-weight: 600; }
.legal-chip a:hover { color: var(--a2); }
.legal-body { padding: 40px 0 90px; }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.legal-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 20, 38, .6), rgba(8, 13, 26, .45));
}
.legal-nav-title { color: var(--muted-2); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 10px 8px; }
.legal-nav a {
  color: var(--muted);
  font-size: .84rem;
  padding: 7px 10px;
  border-radius: 9px;
  transition: color .2s, background .2s;
}
.legal-nav a:hover { color: var(--tx-strong); background: rgba(59, 130, 246, .12); }
.legal-sec { scroll-margin-top: 120px; margin-bottom: 36px; max-width: 760px; }
.legal-sec h2 { font-size: 1.24rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.legal-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-content: center;
  background: rgba(37, 99, 235, .16);
  border: 1px solid rgba(125, 211, 252, .22);
  color: #7DD3FC;
  flex: none;
}
.legal-sec p { color: var(--muted); font-size: .92rem; line-height: 1.8; margin-bottom: 10px; }
.legal-sec h3 { color: var(--tx-strong); font-size: .95rem; margin: 14px 0 6px; }
.legal-sec-special {
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 20, 38, .55), rgba(8, 13, 26, .4));
  padding: 24px 26px;
}
.legal-note { color: var(--a2) !important; font-weight: 600; font-size: .86rem !important; }
.legal-foot { max-width: 760px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.legal-foot a { color: #7DD3FC; font-weight: 600; }
.legal-foot a:hover { text-decoration: underline; }
[data-theme="light"] .legal-nav { background: rgba(255, 255, 255, .7); border-color: rgba(37, 99, 235, .16); }
[data-theme="light"] .legal-sec-special { background: rgba(255, 255, 255, .66); }
[data-theme="light"] .legal-ic, [data-theme="light"] .faq-ic { background: rgba(37, 99, 235, .1); color: var(--a1); }
[data-theme="light"] .faq-item { background: rgba(255, 255, 255, .6); }
[data-theme="light"] .faq-search { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .fc-faq-a, [data-theme="light"] .fc-faq-b {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(37, 99, 235, .2);
  color: #2E4A79;
}
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .legal-nav-title { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .fc-faq-a { right: -120px; }
  .fc-faq-b { left: -130px; }
  .faq-head h2 { font-size: 1.05rem; }
  .legal-nav { grid-template-columns: 1fr; padding: 10px; }
}

/* ---------- end ---------- */
[data-theme="light"] .cta-band {
  background:
    radial-gradient(640px 300px at 50% -40%, rgba(37, 99, 235, .22), transparent 70%),
    linear-gradient(180deg, #EFF6FF, #DBEAFE);
}
[data-theme="light"] .panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(240, 246, 255, .72));
  border-color: rgba(37, 99, 235, .16);
  box-shadow: 0 24px 60px rgba(30, 58, 138, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}
[data-theme="light"] .panel-head {
  border-bottom-color: rgba(37, 99, 235, .14);
  background: linear-gradient(180deg, rgba(224, 235, 255, .55), transparent);
}
[data-theme="light"] .panel-title { color: #45608F; }
[data-theme="light"] .float-chip {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(37, 99, 235, .2);
  color: #2E4A79;
  box-shadow: 0 14px 34px rgba(30, 58, 138, .14);
}
[data-theme="light"] .hero-badge,
[data-theme="light"] .live-pill,
[data-theme="light"] .feat-ico { color: var(--a1); }
[data-theme="light"] .live-pill i { background: var(--a1); }
[data-theme="light"] html { scrollbar-color: rgba(37, 99, 235, .5) #E8EFFA; }
[data-theme="light"] ::-webkit-scrollbar-track { background: #E8EFFA; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, .45); border-color: #E8EFFA; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(37, 99, 235, .7); }

/* Premium-dark widgets stay dark in light mode (chat, toast, dropdown) */
[data-theme="light"] .chat-head,
[data-theme="light"] .chat-input { background: rgba(255, 255, 255, .02); }
[data-theme="light"] .chat-avatar { color: #fff; }
[data-theme="light"] .chat-close { color: #94A3B8; }
[data-theme="light"] .chat-close:hover { color: #fff; }
[data-theme="light"] .chat-title small { color: #7C8AA5; }
[data-theme="light"] .msg.agent .bubble { background: rgba(255, 255, 255, .07); }
[data-theme="light"] .chip:hover { color: #fff; }
[data-theme="light"] .chat-input input { background: rgba(255, 255, 255, .05); color: #fff; }
[data-theme="light"] .toast { color: #fff; }
[data-theme="light"] .drop-panel a b { color: #fff; }
[data-theme="light"] .drop-panel a small { color: #7C8AA5; }
[data-theme="light"] .drop-panel a:hover { background: rgba(255, 255, 255, .06); }

@media (max-width: 720px) {
  .theme-switch { margin: 6px auto 0; }
  [data-theme="light"] .nav-links { background: rgba(243, 247, 255, .97); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   CINEMATIC 5D PASS + LUXURY LOADER — v5d1 (2026-11-13)
   All GPU-cheap (gradients + transforms — no video, no filters).
   Knobs: inc/config.php ($A6K_CINEMA / $A6K_LOADER / $A6K_LOADER_MS)
   Escapes: ?cinema=0 · ?loader=0 · prefers-reduced-motion
   ============================================================ */

/* ---------- Luxury loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-content: center;
  background:
    radial-gradient(720px 420px at 50% 14%, rgba(37, 99, 235, .13), transparent 62%),
    radial-gradient(560px 380px at 24% 88%, rgba(125, 211, 252, .08), transparent 60%),
    #070B16;
  opacity: 1;
  visibility: visible;
  animation: ldFadeAway .8s ease 6.2s forwards; /* hard fail-safe: if JS ever dies the loader still clears itself */
}
@keyframes ldFadeAway { to { opacity: 0; visibility: hidden; pointer-events: none; } }
#loader.done { opacity: 0; transform: scale(1.035); visibility: hidden; pointer-events: none; transition: opacity .65s ease, transform .65s ease, visibility .65s; }

.ld-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(46% 30% at 50% 40%, rgba(37, 99, 235, .10), transparent 70%),
    radial-gradient(28% 22% at 34% 60%, rgba(0, 212, 255, .07), transparent 70%),
    radial-gradient(30% 24% at 68% 30%, rgba(165, 180, 252, .06), transparent 70%);
  animation: ldAurora 9s ease-in-out infinite alternate;
}
@keyframes ldAurora { from { transform: rotate(-2.2deg) scale(1); } to { transform: rotate(2.2deg) scale(1.06); } }

.ld-core { position: relative; display: grid; justify-items: center; gap: 0; }

.ld-badge {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-content: center;
  animation: ldBadgeIn .9s cubic-bezier(.25, .9, .3, 1) both, ldBreath 2.6s ease-in-out .9s infinite alternate;
  filter: drop-shadow(0 0 26px rgba(37, 99, 235, .45)) drop-shadow(0 0 64px rgba(37, 99, 235, .22));
}
@keyframes ldBadgeIn { from { opacity: 0; transform: scale(.72); filter: blur(6px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes ldBreath { from { transform: scale(1); } to { transform: scale(1.045); } }

/* Spinning conic sheen ring around the badge — light only, no closed shape behind any figure */
.ld-ring {
  position: absolute;
  inset: -17px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 212, 255, 0) 0%, rgba(0, 212, 255, .0) 58%, rgba(165, 180, 252, .85) 78%, #E0F2FE 92%, rgba(0, 212, 255, 0) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  animation: ldSpin 1.5s linear infinite;
}
@keyframes ldSpin { to { transform: rotate(360deg); } }

.ld-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.ld-word {
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.05rem;
  letter-spacing: .01em;
  color: var(--head, #F8FAFC);
  animation: ldRise .8s ease .18s both;
  text-shadow: 0 0 34px rgba(37, 99, 235, .25);
}
.ld-word b {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ldSheen 2.3s linear infinite;
}
@keyframes ldSheen { to { background-position: 200% center; } }
@keyframes ldRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ld-tag {
  margin-top: 9px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted-2);
  animation: ldRise .8s ease .3s both;
}

.ld-bar {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: ldRise .8s ease .42s both;
}
.ld-bar i {
  display: block;
  width: min(250px, 56vw);
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  position: relative;
  overflow: visible;
}
.ld-bar i::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--ldp, 0%);
  border-radius: 99px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0, 212, 255, .65), 0 0 4px rgba(224, 242, 254, .9);
}
.ld-pct {
  min-width: 46px;
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  font-weight: 700;
  color: var(--a3, #A5B4FC);
  text-shadow: 0 0 12px rgba(37, 99, 235, .4);
}
.ld-pct b { font-weight: 700; }

/* ---------- Loader 5D cinematic layer (knobs: visual.loader_fx × visual.cinema — gradients/transforms only, no video) ---------- */
.ld-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(var(--ldpx, 0px), var(--ldpy, 0px), 0);
  transition: transform 1.2s cubic-bezier(.2, .8, .3, 1);
  will-change: transform;
}

.ld-vig {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 5, 12, .5), transparent 15%, transparent 85%, rgba(2, 5, 12, .55)),
    radial-gradient(120% 105% at 50% 46%, transparent 58%, rgba(2, 5, 12, .5) 100%);
}

/* glow aura BEHIND the figure (breathing, never a closed ring) */
.ld-aura {
  position: absolute;
  inset: -78px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(0, 212, 255, .20), transparent 70%),
    radial-gradient(50% 50% at 50% 50%, rgba(112, 71, 255, .15), transparent 78%);
  filter: blur(2px);
  animation: ldAuraIn 1.2s ease .2s both, ldAura 3.2s ease-in-out 1.2s infinite alternate;
}
@keyframes ldAuraIn { from { opacity: 0; transform: scale(.66); } to { opacity: 1; transform: none; } }
@keyframes ldAura { from { opacity: .72; transform: scale(.97); } to { opacity: 1; transform: scale(1.06); } }

.ld-tilt {
  transform: perspective(760px) rotateX(var(--ldx, 0deg)) rotateY(var(--ldy, 0deg));
  transition: transform .55s cubic-bezier(.2, .8, .3, 1);
  will-change: transform;
}
/* light sheen sweeping across the whole core */
.ld-tilt::after {
  content: "";
  position: absolute;
  inset: -30% -55%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(160, 190, 255, .05) 44%, rgba(224, 242, 254, .13) 50%, rgba(160, 190, 255, .05) 56%, transparent 62%);
  transform: translateX(-70%) rotate(6deg);
  animation: ldSweep 4.6s cubic-bezier(.5, 0, .5, 1) 1.4s infinite;
}
@keyframes ldSweep { 0%, 12% { transform: translateX(-70%) rotate(6deg); opacity: 0; } 34% { opacity: 1; } 58%, 100% { transform: translateX(70%) rotate(6deg); opacity: 0; } }

.ld-tilt .ld-word { text-shadow: 0 0 34px rgba(37, 99, 235, .25), 0 18px 46px rgba(112, 71, 255, .22); }
.ld-tilt .ld-bar i::before { box-shadow: 0 0 18px rgba(0, 212, 255, .8), 0 0 5px rgba(224, 242, 254, 1); }
#loader:has(.ld-tilt).done { transform: scale(1.09); }
#loader.done .ld-tilt::after { animation: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  #loader .ld-field, #loader .ld-aura, #loader .ld-tilt::after { animation: none !important; }
  #loader .ld-tilt { transform: none; }
}

/* ---------- Entrance choreography (fires when the loader lifts) ---------- */
body.entering { cursor: wait; }
body.entering .reveal, body.entering .site-header { opacity: 0 !important; transition: none !important; }
body.entering .reveal { transform: translateY(24px) !important; }
body.entering .site-header { transform: translateY(-16px) !important; }
body.entered .site-header { animation: cineDrop .6s cubic-bezier(.25, .9, .3, 1) both; }
@keyframes cineDrop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* ---------- 5D background field (built by script.js inside .bg-fx) ---------- */
.fx-field {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px + var(--sy, 0) * -0.045px), 0);
  will-change: transform;
}

.fx-stars {
  position: absolute;
  inset: -60px 0 0 0;
  background-repeat: repeat;
}
.fx-stars.s1 {
  background-image:
    radial-gradient(1.6px 1.6px at 25% 18%, rgba(165, 180, 252, .8), transparent 100%),
    radial-gradient(1.2px 1.2px at 68% 42%, rgba(125, 211, 252, .55), transparent 100%),
    radial-gradient(1.4px 1.4px at 86% 12%, rgba(255, 250, 235, .65), transparent 100%),
    radial-gradient(1px 1px at 44% 76%, rgba(125, 211, 252, .5), transparent 100%),
    radial-gradient(1.3px 1.3px at 12% 55%, rgba(165, 180, 252, .4), transparent 100%);
  background-size: 420px 340px;
  opacity: .5;
  animation: fxDrift1 130s linear infinite, fxTwinkle 7s ease-in-out infinite alternate;
}
.fx-stars.s2 {
  background-image:
    radial-gradient(2px 2px at 60% 30%, rgba(165, 180, 252, .75), transparent 100%),
    radial-gradient(1.4px 1.4px at 30% 64%, rgba(224, 242, 254, .5), transparent 100%),
    radial-gradient(1.8px 1.8px at 82% 74%, rgba(125, 211, 252, .6), transparent 100%),
    radial-gradient(1.2px 1.2px at 8% 24%, rgba(125, 211, 252, .45), transparent 100%);
  background-size: 640px 520px;
  opacity: .35;
  animation: fxDrift2 190s linear infinite, fxTwinkle 9s ease-in-out 1.2s infinite alternate;
}
.fx-stars.s3 {
  background-image:
    radial-gradient(2.6px 2.6px at 40% 22%, rgba(224, 242, 254, .9), transparent 100%),
    radial-gradient(2px 2px at 74% 58%, rgba(165, 180, 252, .8), transparent 100%),
    radial-gradient(2.2px 2.2px at 16% 78%, rgba(125, 211, 252, .7), transparent 100%);
  background-size: 980px 820px;
  opacity: .28;
  animation: fxDrift3 260s linear infinite, fxTwinkle 11s ease-in-out 2.4s infinite alternate;
}
@keyframes fxDrift1 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-420px, 340px, 0); } }
@keyframes fxDrift2 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(640px, -520px, 0); } }
@keyframes fxDrift3 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-980px, 820px, 0); } }
@keyframes fxTwinkle { from { opacity: .45; } to { opacity: .8; } }

.fx-fog {
  position: absolute;
  width: 64vw;
  height: 46vw;
  min-width: 520px;
  min-height: 380px;
  opacity: .06;
  pointer-events: none;
}
.fx-fog.f1 {
  left: -12vw;
  top: 4%;
  background: radial-gradient(46% 50% at 50% 50%, rgba(37, 99, 235, .55), rgba(0, 212, 255, .18) 55%, transparent 78%);
  animation: fxFog1 46s ease-in-out infinite alternate;
}
.fx-fog.f2 {
  right: -16vw;
  bottom: -8%;
  background: radial-gradient(44% 48% at 50% 50%, rgba(165, 180, 252, .5), rgba(37, 99, 235, .14) 58%, transparent 78%);
  animation: fxFog2 62s ease-in-out infinite alternate;
}
@keyframes fxFog1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9vw, 5vh, 0) scale(1.16); } }
@keyframes fxFog2 { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-11vw, -6vh, 0) scale(1); } }

.fx-comet {
  position: absolute;
  top: 8%;
  left: -16%;
  width: 150px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0), rgba(125, 211, 252, .85) 62%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 0 12px rgba(0, 212, 255, .55);
  opacity: 0;
  transform: rotate(-14deg);
  pointer-events: none;
  animation: fxComet 26s linear infinite;
}
.fx-comet.c2 { top: 26%; animation-delay: 13.5s; animation-duration: 31s; }
@keyframes fxComet {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(-14deg); }
  1%   { opacity: 1; }
  6%   { opacity: 0; transform: translate3d(126vw, 24vh, 0) rotate(-14deg); }
  100% { opacity: 0; transform: translate3d(126vw, 24vh, 0) rotate(-14deg); }
}

/* Safety: if cinema is off, make sure none of the field ever paints */
body:not(.cinema) .fx-field, body:not(.cinema) #cursorCore { display: none !important; }

/* ---------- Cursor core glow (tight twin of the soft spotlight) ---------- */
#cursorCore {
  position: absolute;
  top: 0;
  left: 0;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(165, 180, 252, .16), rgba(0, 212, 255, .07) 46%, transparent 72%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
  will-change: transform;
  z-index: 1;
}
body.spot-on #cursorCore { opacity: 1; }

/* ---------- Hero aura + panel sheen sweep + float chip parallax ---------- */
.hero-visual { transform-style: preserve-3d; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  background:
    radial-gradient(48% 44% at 50% 46%, rgba(37, 99, 235, .2), rgba(0, 212, 255, .07) 52%, transparent 74%);
  border-radius: 40px;
  animation: heroAura 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroAura { from { opacity: .75; transform: scale(.985); } to { opacity: 1; transform: scale(1.02); } }

.hero-visual .panel { position: relative; will-change: transform; }
.hero-visual .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 22%, rgba(224, 242, 254, .16) 46%, rgba(255, 255, 255, .26) 50%, rgba(224, 242, 254, .16) 54%, transparent 76%);
  transform: translateX(-120%);
  pointer-events: none;
  opacity: 0;
}
.hero-visual .panel.sweep::after { opacity: 1; animation: panelSweep 1s cubic-bezier(.3, .8, .3, 1) forwards; }
@keyframes panelSweep { to { transform: translateX(120%); opacity: 0; } }

.float-chip {
  translate: var(--fcx, 0px) var(--fcy, 0px);
  transition: translate .3s ease-out;
}

/* ---------- Hover ignition — gradient chips & glow edges, amplified ---------- */
.feat-ico {
  transition: box-shadow .3s ease, background .3s ease, transform .3s ease, border-color .3s ease;
}
.feat:hover .feat-ico, .info-card:hover .feat-ico {
  background: linear-gradient(135deg, rgba(0, 212, 255, .5), rgba(165, 180, 252, .22));
  border-color: rgba(165, 180, 252, .7);
  color: #071228;
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 0 26px rgba(37, 99, 235, .5), 0 10px 22px rgba(2, 6, 23, .4);
}
.feat:hover, .plan:hover, .t-card:hover, .info-card:hover, .split-card:hover, .check-band-item:hover {
  border-color: rgba(0, 212, 255, .55) !important;
  box-shadow:
    0 18px 44px rgba(2, 6, 23, .45),
    0 0 0 1px rgba(0, 212, 255, .22) inset,
    0 0 30px rgba(37, 99, 235, .16);
}
.plan.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(224, 242, 254, .9), transparent);
  opacity: .55;
  animation: planEdge 3.4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes planEdge { from { opacity: .3; transform: scaleX(.7); } to { opacity: .9; transform: scaleX(1.02); } }

.foot-domain { text-shadow: 0 0 18px rgba(37, 99, 235, .3); }
.foot-domain:hover { text-shadow: 0 0 26px rgba(125, 211, 252, .55); }

/* ---------- Section-head reveal gets a 3D rise instead of a flat lift ---------- */
.section-head.reveal, .page-hero .reveal {
  transform: translateY(30px) scale(.985);
  transition:
    opacity .85s cubic-bezier(.22, .9, .35, 1) var(--d, 0s),
    transform .85s cubic-bezier(.22, .9, .35, 1) var(--d, 0s),
    filter .85s cubic-bezier(.22, .9, .35, 1) var(--d, 0s);
  filter: blur(7px);
}
.section-head.reveal.in, .page-hero .reveal.in { transform: none; filter: blur(0); }
/* End-visible law: never leave anything hidden if the transition never fires */
@media (prefers-reduced-motion: reduce) {
  .section-head.reveal, .page-hero .reveal { transform: none; filter: none; }
}

/* ---------- Small screens: keep it calm & cheap ---------- */
@media (max-width: 720px) {
  .fx-fog { min-width: 380px; min-height: 280px; opacity: .05; }
  #cursorCore { display: none; }
  .hero-visual::before { animation: none; }
  .ld-badge { width: 78px; height: 78px; }
  .ld-logo { width: 48px; height: 48px; }
  .ld-ring { inset: -14px; }
  .ld-word { font-size: 1.6rem; }
}

/* ---------- Admin banner (site-wide notification bar) ---------- */
.a6-banner {
  position: relative;
  z-index: 140;
  padding: .6rem 1.2rem;
  text-align: center;
  font-size: .85rem;
  color: #DEE7F2;
  background: linear-gradient(90deg, rgba(37,99,235,.35), rgba(0,212,255,.22));
  border-bottom: 1px solid rgba(56,84,138,.45);
}
.a6-banner a { color: #7DD3FC; text-decoration: underline; }
.a6-banner.warn {
  background: linear-gradient(90deg, rgba(245,158,11,.30), rgba(245,158,11,.15));
  color: #FDF0D5;
  border-bottom-color: rgba(245,158,11,.4);
}

/* ---------- Client Area (WHMCS-style portal) ---------- */
.cl-wrap { padding: 84px 0 40px; }
.cl-wrap.narrow { padding-top: 64px; }
.cl-card {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(10,20,42,.6);
  border: 1px solid rgba(56,84,138,.38);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(2,6,23,.55);
}
.cl-card h1 { font-size: 1.5rem; letter-spacing: .01em; }
.cl-sub { color: #93A6C4; font-size: .9rem; margin: 6px 0 22px; }
.cl-alt { color: #93A6C4; font-size: .85rem; margin-top: 18px; text-align: center; }
.cl-alt a, .cl-card a { color: #7DD3FC; }
.cl-field { margin-bottom: 16px; }
.cl-field label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; margin-bottom: 6px; }
.cl-field input, .cl-field select, .cl-field textarea {
  width: 100%;
  background: rgba(7,13,30,.75);
  border: 1px solid rgba(56,84,138,.45);
  color: #E9F0FA;
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
}
.cl-field textarea { min-height: 110px; resize: vertical; }
.cl-flash { max-width: 860px; margin: 0 auto 18px; padding: 11px 16px; border-radius: 12px; font-size: .88rem; }
.a6-flash { max-width: 860px; margin: 0 auto 18px; padding: 11px 16px; border-radius: 12px; font-size: .88rem; }
.a6-flash.ok { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: #A7F3D0; }
.a6-flash.err { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.4); color: #FCA5A5; }
.cl-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cl-grid > .cl-stat {
  background: rgba(10,20,42,.6);
  border: 1px solid rgba(56,84,138,.38);
  border-radius: 16px;
  padding: 20px 22px;
}
.cl-stat .n { font-family: "Space Grotesk", Segoe UI, sans-serif; font-size: 1.9rem; font-weight: 700; color: #F8FAFC; }
.cl-stat .t { color: #93A6C4; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.cl-panel {
  max-width: 980px;
  margin: 20px auto 0;
  background: rgba(10,20,42,.6);
  border: 1px solid rgba(56,84,138,.38);
  border-radius: 16px;
  padding: 24px 26px;
}
.cl-panel > h2 { font-size: 1.05rem; letter-spacing: .04em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cl-panel > h2 a { font-size: .74rem; color: #7DD3FC; margin-left: auto; letter-spacing: .06em; }
.cl-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cl-table th { text-align: left; color: #94A3B8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid rgba(56,84,138,.4); }
.cl-table td { padding: 11px 10px; border-bottom: 1px solid rgba(56,84,138,.22); color: #DEE7F2; }
.cl-table tr:last-child td { border-bottom: 0; }
.cl-table td.num, .cl-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cl-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; }
.cl-badge.on  { color: #A7F3D0; border-color: rgba(16,185,129,.45); background: rgba(16,185,129,.10); }
.cl-badge.mid { color: #FDE9C0; border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.10); }
.cl-badge.off { color: #FCA5A5; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.08); }
.cl-badge.dim { color: #93A6C4; border-color: rgba(147,166,196,.4); background: rgba(147,166,196,.08); }
.cl-money { font-variant-numeric: tabular-nums; font-weight: 600; }
.cl-pay { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.35); color: #DEE7F2; font-size: .9rem; }
.cl-pay .row { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.cl-pay .row b { color: #7DD3FC; font-weight: 600; }
.cl-note { color: #93A6C4; font-size: .82rem; line-height: 1.7; margin-top: 12px; }
.cl-thread { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.cl-msg { max-width: 78%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.65; }
.cl-msg.client { align-self: flex-end; background: rgba(37,99,235,.18); border: 1px solid rgba(37,99,235,.4); color: #E9F0FA; border-bottom-right-radius: 4px; }
.cl-msg.admin  { align-self: flex-start; background: rgba(16,185,129,.10); border: 1px solid rgba(16,185,129,.35); color: #E9F0FA; border-bottom-left-radius: 4px; }
.cl-msg small { display: block; color: #93A6C4; font-size: .68rem; margin-bottom: 4px; letter-spacing: .06em; text-transform: uppercase; }
.cl-head-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.cl-head-row .when { color: #93A6C4; font-size: .8rem; }
.cl-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cl-openbtn { display: inline-block; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, #00D4FF, #2563EB 60%, #7047FF); color: #071228; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 18px rgba(37,99,235,.35); user-select: none; }
.cl-openbtn:hover { filter: brightness(1.12); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
@media (max-width: 720px) {
  .cl-card { padding: 30px 22px; margin: 0 14px; }
  .cl-panel { margin-left: 14px; margin-right: 14px; padding: 18px 16px; }
  .cl-table { font-size: .8rem; }
}

/* ============================================================
   HEADER LIFE PASS — v5ec (2026-11-13)
   Nav glow underline · cinema stagger · Sign up breathing glow ·
   mobile auth pills. Logo halo/float + header beam live above.
   Escapes: ?cinema=0 · prefers-reduced-motion (global kill).
   ============================================================ */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, .55));
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active-link::after { transform: scaleX(1); }
.nav-links a:not(.btn).active-link { color: var(--tx-strong); }

body.cinema.entered .nav-links > li { animation: navItemIn .55s cubic-bezier(.22, .9, .3, 1) both; }
body.cinema .nav-links > li:nth-child(1) { animation-delay: .04s; }
body.cinema .nav-links > li:nth-child(2) { animation-delay: .10s; }
body.cinema .nav-links > li:nth-child(3) { animation-delay: .16s; }
body.cinema .nav-links > li:nth-child(4) { animation-delay: .22s; }
body.cinema .nav-links > li:nth-child(5) { animation-delay: .28s; }
body.cinema .nav-links > li:nth-child(n+6) { animation-delay: .34s; }
@keyframes navItemIn { from { opacity: 0; transform: translateY(-9px); } }

body.cinema .nav-links .nav-cta.btn-primary { animation: ctaPulse 4.6s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(37, 99, 235, .30); }
  50% { box-shadow: 0 6px 30px rgba(0, 212, 255, .42), 0 0 26px rgba(37, 99, 235, .28); }
}

@media (max-width: 1080px) {
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .nav-cta { width: 100%; justify-content: center; }
}

/* ---------- LOGO INTEGRATION — v5ed (real logo.png crops in every brand spot) ---------- */
/* header + 404: wide eagle+cloud emblem rides as a rounded dark tile; float/halo/brand-fx stay */
.brand .logo {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(56, 84, 138, .35);
}
.brand:hover .logo { box-shadow: 0 0 0 1px rgba(56, 84, 138, .5); }
html[data-theme="light"] .brand .logo { box-shadow: 0 0 0 1px rgba(56, 84, 138, .28), 0 4px 14px rgba(7, 11, 22, .18); }

/* loader: square cloud-icon badge keeps the circular conic ring composition */
.ld-logo { border-radius: 15px; box-shadow: 0 0 0 1px rgba(56, 84, 138, .35); }
html[data-theme="light"] .ld-logo { box-shadow: 0 0 0 1px rgba(56, 84, 138, .28); }

/* ---------- AUTH TAB — v5ee (one pill, both forms, lux glass modal) ---------- */
.a6-auth {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 8, 18, .66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.a6-auth.is-open { opacity: 1; visibility: visible; }
.a6-auth-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(13, 25, 50, .94), rgba(7, 11, 22, .97));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 30px 20px;
  box-shadow: 0 40px 120px rgba(2, 6, 23, .7), 0 0 0 1px rgba(125, 211, 252, .08);
  transform: translateY(16px) scale(.97);
  transition: transform .32s cubic-bezier(.22, .9, .3, 1);
}
.a6-auth.is-open .a6-auth-card { transform: none; }
[data-theme="light"] .a6-auth-card {
  background: linear-gradient(160deg, #ffffff, #eef4fd);
  box-shadow: 0 40px 120px rgba(15, 23, 42, .25), 0 0 0 1px var(--border);
}
.a6-auth-x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(125, 211, 252, .06);
  color: var(--tx);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.a6-auth-x:hover { border-color: var(--gold-1); color: var(--tx-strong); transform: rotate(90deg); }
.a6-auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(125, 211, 252, .07);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
[data-theme="light"] .a6-auth-tabs { background: rgba(37, 99, 235, .06); }
.a6-auth-tab {
  position: relative;
  z-index: 1;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  cursor: pointer;
  border-radius: 999px;
  transition: color .25s ease;
}
.a6-auth-tab:hover { color: var(--tx-strong); }
.a6-auth-tab.is-on { color: var(--tx-strong); }
.a6-auth-ink {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
  transform: translateX(0);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1);
}
.a6-auth-pane .cl-field { margin-bottom: 13px; }
.a6-auth-pane .cl-field:last-of-type { margin-bottom: 18px; }
.a6-auth-grid { display: grid; }
.a6-auth-foot { margin-top: 14px; text-align: center; color: var(--muted); font-size: .74rem; letter-spacing: .06em; }
body.a6-auth-lock { overflow: hidden; }

/* footer: full lockup as the brand card */
.foot-brand .brand { gap: 0; }
.foot-brand .logo-full {
  width: min(212px, 100%);
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(56, 84, 138, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.foot-brand .brand:hover .logo-full {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(56, 84, 138, .5), 0 0 30px rgba(37, 99, 235, .22);
}
html[data-theme="light"] .foot-brand .logo-full { box-shadow: 0 0 0 1px var(--border); }

/* ---------- LOADER BADGE KNOBS — v5ef (ring switchable, breathing glow halo) ---------- */
.ld-badge.ld-glow .ld-logo { animation: ldHalo 2.6s ease-in-out .9s infinite alternate; }
@keyframes ldHalo {
  from { box-shadow: 0 0 0 1px rgba(56, 84, 138, .35), 0 0 16px rgba(37, 99, 235, .35), 0 0 46px rgba(37, 99, 235, .20); }
  to   { box-shadow: 0 0 0 1px rgba(56, 84, 138, .35), 0 0 30px rgba(0, 212, 255, .55), 0 0 78px rgba(37, 99, 235, .35); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-badge.ld-glow .ld-logo { animation: none; box-shadow: 0 0 0 1px rgba(56, 84, 138, .35), 0 0 22px rgba(37, 99, 235, .4); }
}

/* ---------- LOGIN — v5eh (harmonized: full-height centered stage, deeper glass, every class styled) ---------- */
@view-transition { navigation: auto; }
/* Sitewide smooth navigation — every cross-document page change cross-fades instead of snapping */
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .46s; animation-timing-function: cubic-bezier(.22, .9, .3, 1); }
.lg-card { view-transition-name: lgcard; }
.lg-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: max(640px, 100vh);
  padding: 91px 18px 24px;
}
.lg-fx { position: absolute; inset: 0; pointer-events: none; }
#lgStars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.lg-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.lg-orb-a { width: 490px; height: 490px; left: -150px; top: -120px; background: radial-gradient(circle, rgba(37, 99, 235, .58), transparent 66%); opacity: .75; animation: lgFloat 11s ease-in-out infinite alternate; }
.lg-orb-b { width: 440px; height: 440px; right: -120px; bottom: -100px; background: radial-gradient(circle, rgba(0, 212, 255, .48), transparent 66%); opacity: .75; animation: lgFloat 13s ease-in-out .6s infinite alternate-reverse; }
.lg-orb-c { width: 580px; height: 580px; left: 50%; top: 46%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(109, 40, 217, .36), transparent 67%); opacity: .8; animation: lgPulse 9s ease-in-out infinite alternate; }
@keyframes lgFloat { from { transform: translateY(-18px); } to { transform: translateY(24px); } }
@keyframes lgPulse { from { opacity: .55; transform: translate(-50%, -50%) scale(.96); } to { opacity: .85; transform: translate(-50%, -50%) scale(1.05); } }
.lg-horizon {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  width: min(1140px, 94%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .42) 25%, rgba(37, 99, 235, .6) 50%, rgba(0, 212, 255, .42) 75%, transparent);
  box-shadow: 0 12px 80px rgba(37, 99, 235, .35), 0 2px 24px rgba(0, 212, 255, .28);
  opacity: .9;
}
.lg-card {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  grid-template-columns: 340px 1fr;
  width: min(920px, 100%);
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(15, 28, 58, .92), rgba(8, 13, 26, .97) 55%, rgba(10, 16, 32, .96));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 50px 140px rgba(2, 6, 23, .75), 0 0 0 1px rgba(125, 211, 252, .06), 0 0 120px rgba(37, 99, 235, .22), 0 30px 90px rgba(0, 212, 255, .07);
  animation: lgUp .8s cubic-bezier(.22, .9, .3, 1) both;
}
.lg-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(148, 197, 255, .55), rgba(0, 212, 255, .4), transparent); }
.lg-card::after { content: ""; position: absolute; inset: 1px 1px auto 1px; height: 130px; pointer-events: none; background: linear-gradient(180deg, rgba(148, 197, 255, .07), transparent); }
@keyframes lgUp { from { opacity: 0; transform: translateY(34px) scale(.985); } to { opacity: 1; transform: none; } }
.lg-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 19px;
  padding: 38px 34px 30px;
  background: linear-gradient(180deg, rgba(0, 212, 255, .07), rgba(37, 99, 235, .05) 55%, transparent);
  border-right: 1px solid var(--border);
}
.lg-side::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .55), transparent); }
.lg-side::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 1px; background: linear-gradient(180deg, transparent, rgba(0, 212, 255, .55) 30%, rgba(37, 99, 235, .4) 70%, transparent); box-shadow: 0 0 20px rgba(0, 212, 255, .3); }
.lg-side > * { animation: lgRise .7s cubic-bezier(.22, .9, .3, 1) both; }
.lg-side > :nth-child(1) { animation-delay: .16s; }
.lg-side > :nth-child(2) { animation-delay: .24s; }
.lg-side > :nth-child(3) { animation-delay: .32s; }
.lg-side > :nth-child(4) { animation-delay: .4s; }
.lg-side > :nth-child(5) { animation-delay: .48s; }
.lg-side-kick {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(0, 212, 255, .26);
  border-radius: 999px;
  background: rgba(0, 212, 255, .06);
  box-shadow: inset 0 0 16px rgba(0, 212, 255, .1), 0 0 20px rgba(0, 212, 255, .12);
  font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7DD3FC;
  text-shadow: 0 0 14px rgba(0, 212, 255, .5);
  white-space: nowrap;
}
.lg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: #00D4FF;
  box-shadow: 0 0 10px rgba(0, 212, 255, .9);
  animation: lgDot 2.4s ease-in-out infinite;
}
@keyframes lgDot { 0%, 100% { opacity: .65; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }
.lg-badge { width: 104px; height: 104px; margin-bottom: 2px; position: relative; display: grid; place-content: center; }
.lg-badge .ld-logo.lg-big { width: 68px; height: 68px; }
.lg-badge-ring { position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(farthest-side, transparent calc(100% - 1.5px), rgba(0, 212, 255, .55) calc(100% - 1px), transparent 100%); opacity: .8; animation: lgHaloPulse 3s ease-in-out infinite alternate; }
@keyframes lgHaloPulse { from { opacity: .45; transform: scale(.985); } to { opacity: .9; transform: scale(1.02); } }
.lg-word { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.25; color: var(--head, #F8FAFC); }
.lg-word b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 26px rgba(0, 212, 255, .25); }
.lg-tag { color: var(--muted); font-size: .87rem; line-height: 1.65; }
.lg-props { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.lg-props li { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 3px; align-items: start; animation: lgRise .7s ease both; }
.lg-props .lg-ic { grid-row: 1 / span 2; }
.lg-props b { grid-column: 2; }
.lg-props small { grid-column: 2; }
.lg-props li:nth-child(2) { animation-delay: .1s; }
.lg-props li:nth-child(3) { animation-delay: .2s; }
@keyframes lgRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lg-props .lg-ic { width: 28px; height: 28px; margin-top: 1px; border-radius: 9px; display: grid; place-content: center; background: var(--grad); box-shadow: 0 4px 16px rgba(37, 99, 235, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lg-props b { display: block; font-size: .92rem; color: var(--tx-strong); }
.lg-props small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.lg-main { display: flex; flex-direction: column; justify-content: center; padding: 40px 38px 34px; }
.lg-tabs {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 999px;
  background: rgba(8, 13, 26, .6);
}
.lg-tab {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  transition: color .2s ease, background .25s ease, box-shadow .25s ease;
}
.lg-tab:hover { color: var(--tx-strong); }
.lg-tab.active { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .4), inset 0 1px 0 rgba(255, 255, 255, .28); }
.lg-tabs button.lg-tab { border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 600; position: relative; z-index: 1; }
.lg-tabs-ink {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 8px 22px rgba(37, 99, 235, .4), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .32s cubic-bezier(.3, 1.1, .35, 1), width .32s cubic-bezier(.3, 1.1, .35, 1);
  pointer-events: none;
}
.lg-tabs button.lg-tab.active { background: transparent; box-shadow: none; color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, .25); }
.lg-pane { display: none; }
.lg-main > .lg-pane.active { display: flex; flex-direction: column; justify-content: center; flex: 1; animation: lgPaneIn .4s cubic-bezier(.22, .9, .3, 1) both; animation-delay: 0s; }
.lg-pane.active > * { animation: lgRise .68s cubic-bezier(.22, .9, .3, 1) both; animation-delay: .06s; }
.lg-pane.active > :nth-child(2) { animation-delay: .12s; }
.lg-pane.active > :nth-child(3) { animation-delay: .18s; }
.lg-pane.active > :nth-child(4) { animation-delay: .24s; }
.lg-pane.active > :nth-child(5) { animation-delay: .3s; }
@keyframes lgPaneIn { from { opacity: 0; transform: translateX(calc(var(--lgdx, 1) * 26px)); } to { opacity: 1; transform: none; } }
.lg-trust.p-signin:not(.active), .lg-trust.p-register:not(.active) { display: none; }
.lg-main > * { animation: lgRise .68s cubic-bezier(.22, .9, .3, 1) both; }
.lg-main > :nth-child(1) { animation-delay: .12s; }
.lg-main > :nth-child(2) { animation-delay: .2s; }
.lg-main > :nth-child(3) { animation-delay: .28s; }
.lg-main > :nth-child(4) { animation-delay: .36s; }
.lg-main > :nth-child(5) { animation-delay: .44s; }
.lg-main > :nth-child(6) { animation-delay: .52s; }
.lg-kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 15px;
  border: 1px solid rgba(0, 212, 255, .28);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(0, 212, 255, .1), rgba(37, 99, 235, .09));
  box-shadow: 0 0 24px rgba(37, 99, 235, .18), inset 0 0 14px rgba(0, 212, 255, .07);
  font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7DD3FC;
  text-shadow: 0 0 14px rgba(0, 212, 255, .45);
}
.lg-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.05rem;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #F8FAFC 55%, #A8C0EE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lg-sub { color: var(--muted); font-size: .93rem; margin: 0 0 24px; }
.lg-flash { margin: 0 0 16px; border-radius: 12px; }
.lg-field { margin-bottom: 16px; }
.lg-field label { display: block; font-weight: 600; font-size: .82rem; color: var(--tx); margin-bottom: 7px; letter-spacing: .02em; }
.lg-lrow { display: flex; align-items: baseline; justify-content: space-between; }
.lg-mini { font-size: .76rem; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.lg-mini:hover { color: #7DD3FC; }
.lg-inputwrap { position: relative; }
.lg-in-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s ease; }
.lg-inputwrap input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 18, 38, .55);
  color: var(--tx-strong);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .25s ease, background .2s ease;
}
.lg-inputwrap input::placeholder { color: #4A5C7E; }
.lg-inputwrap input:focus { outline: 0; border-color: rgba(0, 212, 255, .6); background: rgba(12, 22, 46, .74); box-shadow: 0 0 0 3px rgba(0, 212, 255, .15), 0 0 26px rgba(0, 212, 255, .12); }
.lg-inputwrap input:focus + .lg-in-ico, .lg-inputwrap:focus-within .lg-in-ico { color: #7DD3FC; }
.lg-inputwrap:has(.lg-eye) input { padding-right: 50px; }
.lg-eye {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.lg-eye:hover { color: var(--tx-strong); background: rgba(125, 211, 252, .08); }
.lg-eye.on { color: #7DD3FC; }
.lg-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 22px;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(37, 99, 235, .42), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .22s ease, box-shadow .25s ease;
}
.lg-btn::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -46%; width: 34%; transform: skewX(-22deg) translateX(0); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); opacity: 0; transition: none; }
.lg-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0, 140, 255, .52), inset 0 1px 0 rgba(255, 255, 255, .28); }
.lg-btn:hover::after { opacity: 1; animation: lgSheen .9s ease forwards; }
@keyframes lgSheen { from { transform: skewX(-22deg) translateX(0); } to { transform: skewX(-22deg) translateX(430%); opacity: 0; } }
.lg-btn:active { transform: translateY(0) scale(.99); }
.lg-arrow {
  display: inline-grid;
  place-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: transform .25s cubic-bezier(.22, .9, .3, 1), background .25s ease;
}
.lg-btn:hover .lg-arrow { transform: translateX(4px); background: rgba(255, 255, 255, .3); }
.lg-alt { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .88rem; }
.lg-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(125, 211, 252, .06); color: var(--tx-strong); text-decoration: none; font-weight: 600; font-size: .85rem; transition: border-color .2s ease, box-shadow .25s ease, background .2s ease; }
.lg-btn-ghost:hover { border-color: rgba(0, 212, 255, .55); background: rgba(0, 212, 255, .09); box-shadow: 0 10px 26px rgba(0, 140, 255, .22); }
.lg-back { display: inline-block; margin-top: 16px; color: var(--muted); font-size: .8rem; text-decoration: none; }
.lg-back:hover { color: #7DD3FC; }
.lg-trust {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 999px;
  background: rgba(8, 13, 26, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono, ui-monospace, Consolas, monospace);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, .9);
}
.lg-trust svg { color: #00D4FF; filter: drop-shadow(0 0 6px rgba(0, 212, 255, .55)); }
@media (max-width: 880px) {
  .lg-hero { min-height: 0; padding: 24px 12px 40px; }
  .lg-trust { position: static; transform: none; justify-self: center; }
  .lg-card { grid-template-columns: 1fr; }
  .lg-side { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 24px 22px; gap: 14px; }
  .lg-side::after { display: none; }
  .lg-main { padding: 26px 22px 24px; }
  .lg-title { font-size: 1.7rem; }
  .lg-orb-c { width: 380px; height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-orb, .lg-card, .lg-badge-ring, .lg-dot, .lg-props li, .lg-side > *, .lg-main > *, .lg-pane.active, .lg-pane.active > * { animation: none; }
  .lg-tabs-ink, .lg-tabs button.lg-tab { transition: none; }
}

/* ---------- auth shell (login/register/forgot/reset) — light theme
   the card was dark-glass with no light layer; now a white lux card ---------- */
[data-theme="light"] #lgStars { opacity: .18; }
[data-theme="light"] .lg-orb-a { opacity: .38; }
[data-theme="light"] .lg-orb-b { opacity: .34; }
[data-theme="light"] .lg-orb-c { opacity: .3; }
[data-theme="light"] .lg-horizon { opacity: .4; box-shadow: 0 12px 60px rgba(37, 99, 235, .18), 0 2px 18px rgba(8, 145, 178, .14); }
[data-theme="light"] .lg-card {
  border-color: rgba(37, 99, 235, .22);
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(243, 247, 255, .98) 55%, #fff);
  box-shadow: 0 34px 90px rgba(15, 23, 42, .14), 0 0 0 1px rgba(37, 99, 235, .06), 0 0 70px rgba(37, 99, 235, .1);
}
[data-theme="light"] .lg-card::before { background: linear-gradient(90deg, transparent, rgba(8, 145, 178, .5), rgba(37, 99, 235, .35), transparent); }
[data-theme="light"] .lg-card::after { background: linear-gradient(180deg, rgba(37, 99, 235, .05), transparent); }
[data-theme="light"] .lg-side { background: linear-gradient(180deg, rgba(8, 145, 178, .05), rgba(37, 99, 235, .04) 55%, transparent); }
[data-theme="light"] .lg-side-kick,
[data-theme="light"] .lg-kick {
  border-color: rgba(8, 145, 178, .3);
  background: linear-gradient(120deg, rgba(8, 145, 178, .08), rgba(37, 99, 235, .07));
  box-shadow: inset 0 0 12px rgba(8, 145, 178, .05);
  color: #0B6C8E;
  text-shadow: none;
}
[data-theme="light"] .lg-dot { background: #0891B2; box-shadow: 0 0 8px rgba(8, 145, 178, .7); }
[data-theme="light"] .lg-word b { text-shadow: 0 0 18px rgba(37, 99, 235, .18); }
[data-theme="light"] .lg-badge-ring { background: radial-gradient(farthest-side, transparent calc(100% - 1.5px), rgba(8, 145, 178, .45) calc(100% - 1px), transparent 100%); }
[data-theme="light"] .lg-tabs { border-color: rgba(37, 99, 235, .18); background: rgba(37, 99, 235, .07); }
[data-theme="light"] .lg-tab:hover { color: #0B1530; }
[data-theme="light"] .lg-title { background: linear-gradient(180deg, #0F1B33 45%, #1D4ED8); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .lg-inputwrap input {
  border-color: rgba(22, 50, 80, .2);
  background: #fff;
  color: #0B1530;
}
[data-theme="light"] .lg-inputwrap input::placeholder { color: #8BA3BD; }
[data-theme="light"] .lg-inputwrap input:focus {
  border-color: rgba(8, 145, 178, .55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .13), 0 0 22px rgba(8, 145, 178, .1);
}
[data-theme="light"] .lg-inputwrap input:focus + .lg-in-ico,
[data-theme="light"] .lg-inputwrap:focus-within .lg-in-ico { color: #0891B2; }
[data-theme="light"] .lg-eye:hover { background: rgba(37, 99, 235, .06); }
[data-theme="light"] .lg-eye.on { color: #0891B2; }
[data-theme="light"] .lg-mini:hover, [data-theme="light"] .lg-back:hover { color: #1D4ED8; }
[data-theme="light"] .lg-btn-ghost { background: rgba(255, 255, 255, .75); }
[data-theme="light"] .lg-btn-ghost:hover { border-color: rgba(8, 145, 178, .5); background: #fff; box-shadow: 0 10px 26px rgba(37, 99, 235, .16); }
[data-theme="light"] .lg-trust {
  border-color: rgba(37, 99, 235, .18);
  background: rgba(255, 255, 255, .75);
  color: #5B6B85;
}
[data-theme="light"] .lg-trust svg { color: #0891B2; filter: drop-shadow(0 0 4px rgba(8, 145, 178, .3)); }
[data-theme="light"] .a6-flash.ok { background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .38); color: #065F46; }
[data-theme="light"] .a6-flash.err { background: rgba(239, 68, 68, .08); border-color: rgba(220, 38, 38, .38); color: #991B1B; }

/* ============================================================
   v5ej — client area portal (clientarea.php)
   Glass rail + KPIs + attention + invoice print + wallet + affiliate
   ============================================================ */

.ca-wrap {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 116px auto 90px;
  padding: 0 18px;
  align-items: start;
}

/* ---- glass rail ---- */
.ca-rail {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 31, 61, .72), rgba(16, 26, 53, .5));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.ca-rail::after {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 260px; height: 220px;
  background: radial-gradient(closest-side, rgba(0, 212, 255, .14), transparent 70%);
  pointer-events: none;
}
.ca-ident { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ca-ava {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.2rem;
  color: #0B1226;
  background: var(--brand-gradient);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .45);
}
.ca-ident-t { min-width: 0; display: grid; gap: 2px; }
.ca-ident-t strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.ca-ident-t small { color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-ident .cl-badge { grid-column: 2; justify-self: start; }
/* balance + notifications header strip (rail) */
.ca-headstrip { display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px; }
.ca-bal {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-radius: 12px; text-decoration: none;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .02);
}
.ca-bal .ic { color: #22c55e; display: grid; place-items: center; }
.ca-bal .v { font-family: var(--font-display); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.ca-bal .k { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin-left: auto; }
.ca-bal:hover { border-color: rgba(34, 197, 94, .4); }
.ca-bell { position: relative; }
.ca-bellbtn {
  display: grid; place-items: center; width: 40px; height: 100%;
  min-height: 40px; border-radius: 12px; cursor: pointer; list-style: none;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .02); position: relative;
}
.ca-bellbtn::-webkit-details-marker { display: none; }
.ca-bellbtn .dot {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  display: grid; place-items: center; padding: 0 4px; border-radius: 9px;
  font-size: .66rem; font-weight: 700; color: #fff;
  background: #22c55e; box-shadow: 0 0 0 2px var(--bg, #0B1226);
}
.ca-bell.red .ca-bellbtn { border-color: rgba(239, 68, 68, .55); animation: caBellPulse 1.8s ease-in-out infinite; }
.ca-bell.red .ca-bellbtn .dot { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, .8), 0 0 0 2px var(--bg, #0B1226); }
@keyframes caBellPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .0); } 50% { box-shadow: 0 0 14px 2px rgba(239, 68, 68, .35); } }
.ca-belldrop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 280px;
  padding: 10px; display: grid; gap: 6px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--panel, #101A38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.ca-belldrop > b { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 2px 4px 4px; }
.ca-nd { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--text, inherit); font-size: .84rem; }
.ca-nd svg { flex: 0 0 auto; margin-top: 1px; }
.ca-nd:hover { background: rgba(255, 255, 255, .05); }
.ca-nd.bad { color: #fca5a5; } .ca-nd.bad svg { color: #ef4444; }
.ca-nd.mid { color: #fcd34d; } .ca-nd.mid svg { color: #f59e0b; }
.ca-nd.warn { color: #a5b4fc; } .ca-nd.warn svg { color: #6366f1; }
.ca-nd.none { color: var(--muted); }
/* notifications bell in the SITE header (owner order: the red alerts live in the header) */
.hdr-bell { position: relative; }
.hdr-bell summary {
  display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px;
  border-radius: 50%; cursor: pointer; list-style: none;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03); position: relative;
  color: var(--text, inherit); transition: border-color .18s ease, background .18s ease;
}
.hdr-bell summary::-webkit-details-marker { display: none; }
.hdr-bell summary:hover { border-color: rgba(96, 165, 250, .55); background: rgba(255, 255, 255, .06); }
.hdr-bell-dot {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px;
  display: grid; place-items: center; padding: 0 4px; border-radius: 9px;
  font-size: .64rem; font-weight: 700; color: #fff;
  background: #22c55e; box-shadow: 0 0 0 2px var(--bg, #0B1226);
}
.hdr-bell.red summary { border-color: rgba(239, 68, 68, .65); animation: caBellPulse 1.8s ease-in-out infinite; }
.hdr-bell.red .hdr-bell-dot { background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, .8), 0 0 0 2px var(--bg, #0B1226); }
.hdr-bell-pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 90; width: 292px;
  padding: 10px; display: grid; gap: 6px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--panel, #101A38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.hdr-bell-pop > b { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 2px 4px 6px; }
.hdr-nd { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--text, inherit); font-size: .84rem; }
.hdr-nd:hover { background: rgba(255, 255, 255, .05); }
.hdr-nd .hd { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.hdr-nd.bad { color: #fca5a5; } .hdr-nd.bad .hd { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, .7); }
.hdr-nd.mid { color: #fcd34d; } .hdr-nd.mid .hd { background: #f59e0b; }
.hdr-nd.warn { color: #a5b4fc; } .hdr-nd.warn .hd { background: #6366f1; }
/* avatar photo inside the rail identity */
.ca-ava.has-img { overflow: hidden; padding: 0; }
.ca-ava.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
/* ticket attachment pill */
.ca-attrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ca-att {
  font-size: .74rem; padding: 4px 10px; border-radius: 9px;
  border: 1px solid var(--border); color: var(--muted); text-decoration: none; word-break: break-all;
}
.ca-att:hover { border-color: rgba(37, 99, 235, .5); color: var(--text, inherit); }
/* file attach field (tickets + profile avatar) — custom dropzone, native input hidden */
.cl-file {
  position: relative; display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 13px 15px; cursor: pointer;
  border: 1px dashed var(--border); border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cl-file > input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cl-file .ic { font-size: 1.3rem; line-height: 1; flex: 0 0 auto; filter: saturate(1.2); }
.cl-file .tt { display: grid; gap: 2px; min-width: 0; line-height: 1.3; font-size: .87rem; color: var(--text, inherit); font-weight: 600; }
.cl-file .tt small { font-weight: 400; color: var(--muted); font-size: .74rem; }
.cl-file .fname {
  margin-left: auto; flex: 0 1 auto; max-width: 42%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .75rem; color: var(--muted);
  padding: 5px 12px; border-radius: 9px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
}
.cl-file:hover, .cl-file:focus-within { border-color: rgba(37, 99, 235, .65); background: rgba(37, 99, 235, .07); }
.cl-file.armed { border-style: solid; border-color: rgba(34, 197, 94, .6); background: rgba(34, 197, 94, .06); }
.cl-file.armed .fname { color: var(--text, inherit); border-color: rgba(34, 197, 94, .5); }
.cl-profile-av { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.cl-profile-av .cl-file { margin: 0; }
.cl-profile-av + .cl-field { margin-top: 10px; }
/* wallet top-up card — the «add balance» gateway */
.ca-topup { border-color: rgba(34, 197, 94, .35); }
.ca-topup > h2 .hico { color: #22c55e; }
/* receipt hero — the inviting «I paid already» gateway */
.ca-paysteps { display: grid; gap: 6px; margin: 10px 0 2px; }
.ca-paysteps .ps {
  display: flex; align-items: baseline; gap: 9px;
  font-size: .82rem; color: var(--text, inherit); line-height: 1.4;
}
.ca-paysteps .ps b:first-child {
  flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center;
  font-size: .72rem; border-radius: 50%; color: #fff; align-self: center;
  background: rgba(34, 197, 94, .85);
}
.ca-sliphero {
  margin-top: 14px; border: 1px solid rgba(34, 197, 94, .35); border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .07), rgba(34, 197, 94, .02) 55%, transparent);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ca-sliphero:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, .6);
  box-shadow: 0 10px 30px rgba(34, 197, 94, .16);
}
.ca-sliphero[open] { border-color: rgba(34, 197, 94, .55); box-shadow: 0 12px 34px rgba(34, 197, 94, .14); }
.ca-sliphero summary {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px;
  list-style: none; cursor: pointer; border-radius: 16px;
}
.ca-sliphero summary::-webkit-details-marker { display: none; }
.ca-sh-ic { font-size: 1.7rem; line-height: 1; flex: 0 0 auto; }
.ca-sh-tx { display: grid; gap: 3px; min-width: 0; }
.ca-sh-tx b { font-size: .98rem; }
.ca-sh-tx small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.ca-sh-go {
  margin-left: auto; flex: 0 0 auto; font-size: .78rem; font-weight: 700;
  color: #166534; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .4);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.ca-sliphero:hover .ca-sh-go, .ca-sliphero[open] .ca-sh-go { background: var(--brand-gradient, linear-gradient(135deg, #22c55e, #16a34a)); color: #fff; border-color: transparent; }
.ca-sliphero[open] summary { border-bottom: 1px solid rgba(34, 197, 94, .2); }
.ca-sliphero .ca-ppform { padding: 14px 16px 16px; display: grid; gap: 4px; }
.ca-ppgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ca-pphint {
  font-size: .78rem; color: var(--muted); padding: 8px 12px;
  border: 1px dashed rgba(34, 197, 94, .4); border-radius: 10px; background: rgba(34, 197, 94, .05);
}
.ca-pphint b { color: inherit; }
.ca-ppsend { width: 100%; justify-content: center; margin-top: 8px; font-weight: 700; }
.ca-ppsend, .btn.ca-ppsend { box-shadow: 0 8px 22px rgba(34, 197, 94, .25); }
.ca-slipfile { margin-top: 4px; }
.ca-nav { display: grid; gap: 4px; }
.ca-navlink {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--tx-soft);
  font-size: .9rem; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.ca-navlink svg { flex: 0 0 auto; color: var(--muted); transition: color .2s ease; }
.ca-navlink:hover { background: var(--surf-soft); color: var(--tx-strong); }
.ca-navlink:hover svg { color: var(--a1); }
.ca-navlink.active {
  color: var(--tx-strong);
  background: linear-gradient(90deg, rgba(0, 212, 255, .14), rgba(37, 99, 235, .1));
  border-color: rgba(0, 212, 255, .35);
  box-shadow: 0 8px 26px rgba(0, 140, 255, .18), inset 0 0 0 1px rgba(0, 212, 255, .08);
}
.ca-navlink.active svg { color: var(--a1); }
.ca-ct {
  margin-left: auto;
  font-style: normal;
  font-size: .72rem; font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surf-faint);
  font-variant-numeric: tabular-nums;
}
.ca-ct.warn { color: #FDE9C0; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .12); }
.ca-rail-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.ca-signout { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .84rem; font-weight: 600; transition: color .2s ease; }
.ca-signout:hover { color: #FCA5A5; }
.ca-since { color: var(--muted-2); font-size: .72rem; letter-spacing: .04em; }

/* ---- banner + flash ---- */
.ca-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, .35);
  background: linear-gradient(90deg, rgba(0, 212, 255, .12), rgba(37, 99, 235, .08));
  box-shadow: 0 10px 30px rgba(0, 140, 255, .14);
  font-size: .9rem;
}
.ca-banner .ca-b-ic { color: var(--a1); display: grid; place-items: center; }
.ca-banner .ca-b-txt { flex: 1; min-width: 0; }
.ca-b-x {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surf-faint);
  color: var(--muted);
  font-size: 1.05rem; line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.ca-b-x:hover { color: var(--tx-strong); border-color: rgba(0, 212, 255, .5); }

/* ---- pagehead ---- */
.ca-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 20px; }
.ca-eyebrow {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--a1);
  opacity: .9;
  margin-bottom: 6px;
}
.ca-pagehead h1, .ca-invnum { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.ca-invnum { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ca-pagehead-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ca-sub { color: var(--muted); font-size: .94rem; max-width: 640px; }
.ca-dim { color: var(--muted-2); }

/* ---- KPIs ---- */
.ca-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ca-kpi {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surf-soft);
  overflow: hidden;
}
.ca-kpi::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(220px 120px at 12% -20%, rgba(0, 212, 255, .13), transparent 70%);
  pointer-events: none;
}
.ca-kpi .ico {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  color: #EAF6FF;
  background: var(--brand-gradient);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .4);
  margin-bottom: 10px;
}
.ca-kpi .n { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ca-kpi .t { color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* ---- attention cards ---- */
.ca-attention { display: grid; gap: 10px; margin-bottom: 18px; }
.ca-note { color: var(--muted); font-size: .88rem; }
.ca-note a { color: var(--a1); }
.ca-attention .ca-note {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surf-soft);
  transition: transform .25s cubic-bezier(.22, .9, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.ca-attention .ca-note .ic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.ca-attention .ca-note > div { min-width: 0; display: grid; gap: 2px; }
.ca-attention .ca-note b { color: var(--tx-strong); font-size: .92rem; }
.ca-attention .ca-note p { color: var(--muted); font-size: .8rem; }
.ca-attention .ca-note .arrow { margin-left: auto; color: var(--muted); font-weight: 700; transition: transform .25s ease; }
.ca-attention .ca-note:hover { transform: translateY(-2px); border-color: rgba(0, 212, 255, .45); box-shadow: 0 12px 30px rgba(0, 140, 255, .16); }
.ca-attention .ca-note:hover .arrow { transform: translateX(4px); color: var(--a1); }
.ca-attention .mid .ic { background: rgba(37, 99, 235, .16); color: var(--a3); }
.ca-attention .warn .ic { background: rgba(245, 158, 11, .14); color: #FCD34D; }
.ca-attention .warn { border-color: rgba(245, 158, 11, .4); }
.ca-attention .stop .ic { background: rgba(239, 68, 68, .14); color: #FCA5A5; }
.ca-attention .stop { border-color: rgba(239, 68, 68, .38); }

/* ---- action buttons row ---- */
.ca-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.ca-act {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surf);
  color: var(--tx-soft);
  font-weight: 600; font-size: .86rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
.ca-act .ic { display: grid; place-items: center; color: var(--a1); }
.ca-act:hover { color: var(--tx-strong); border-color: rgba(0, 212, 255, .5); background: rgba(0, 212, 255, .08); box-shadow: 0 10px 26px rgba(0, 140, 255, .18); transform: translateY(-1px); }

/* ---- panels ---- */
.ca-panel {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 31, 61, .55), rgba(16, 26, 53, .3));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-panel);
  margin-bottom: 18px;
  min-width: 0;
}
.ca-panel::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(0, 212, 255, .35), transparent 30%, transparent 70%, rgba(112, 71, 255, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}
.ca-panel h2 { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; }
.ca-panel h2 .hico { display: grid; place-items: center; color: var(--a1); }
.ca-more { margin-left: auto; color: var(--a1); font-size: .8rem; font-weight: 600; }
.ca-more:hover { text-decoration: underline; }
.ca-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }

/* ---- service cards ---- */
.ca-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ca-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surf-soft);
  transition: transform .25s cubic-bezier(.22, .9, .3, 1), border-color .25s ease, box-shadow .25s ease;
}
.ca-card:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .45); box-shadow: 0 16px 38px rgba(0, 140, 255, .16); }
.ca-card-head { display: flex; align-items: center; gap: 11px; }
.ca-card-head .ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #EAF6FF; background: var(--brand-gradient); box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.ca-card-head > div { min-width: 0; display: grid; gap: 1px; flex: 1; }
.ca-card-head b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-card-head small { color: var(--muted); font-size: .74rem; }
.ca-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 8px; }
.ca-meta b { color: var(--tx-soft); text-align: right; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ca-card-foot { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.ca-mini {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surf-faint);
  color: var(--tx-soft);
  font-size: .78rem; font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ca-mini:hover { color: var(--tx-strong); border-color: rgba(0, 212, 255, .5); }
.ca-mini.gold {
  color: #1A2438;
  background: linear-gradient(135deg, #7DD3FC, #38BDF8);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(56, 189, 248, .35);
}
.ca-mini.gold:hover { box-shadow: 0 10px 26px rgba(56, 189, 248, .5); color: #0B1226; }

/* ---- tables ---- */
.ca-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ca-table th { text-align: left; color: var(--muted-2); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ca-table td { padding: 11px 10px; border-bottom: 1px solid rgba(35, 54, 93, .5); vertical-align: middle; }
.ca-table tr:last-child td { border-bottom: 0; }
.ca-table td a { color: var(--tx-soft); font-weight: 600; }
.ca-table td a:hover { color: var(--a1); }
.ca-table .num { text-align: right; }

/* ---- pills ---- */
.ca-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ca-pill.ok { color: #A7F3D0; border-color: rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .1); }
.ca-pill.warn { color: #FDE9C0; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1); }
.ca-pill.danger { color: #FECACA; border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .12); }
.ca-pill.expired { color: #FCA5A5; border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .08); }

/* ---- filters + invoice detail ---- */
.ca-filters { display: inline-flex; gap: 6px; padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surf-faint); }
.ca-filters a { padding: 6px 14px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--muted); transition: color .2s ease, background .2s ease; }
.ca-filters a:hover { color: var(--tx-strong); }
.ca-filters a.on { color: #0B1226; background: var(--brand-gradient); box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.ca-pay { border-radius: 14px; border: 1px solid var(--border); background: var(--surf-soft); padding: 16px; display: grid; gap: 10px; margin-top: 14px; }
.ca-pay b { color: var(--tx-strong); }
.ca-pay.ok { border-color: rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .08); }
.ca-pay.stop { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .07); }
.ca-pay .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 12px; border-radius: 11px; border: 1px solid rgba(35, 54, 93, .6); background: var(--surf-faint); font-size: .84rem; }
.ca-pay .row > span { color: var(--muted); min-width: 190px; }
.ca-pay .row > b { flex: 1; min-width: 180px; font-variant-numeric: tabular-nums; word-break: break-all; }
.ca-payrow { border-color: rgba(0, 212, 255, .4) !important; background: rgba(0, 212, 255, .06) !important; }
.ca-paybtn { padding: 8px 15px; font-size: .8rem; border-radius: 10px; white-space: nowrap; }
.ca-copy {
  padding: 6px 13px;
  border-radius: 9px;
  border: 1px solid rgba(0, 212, 255, .4);
  background: rgba(0, 212, 255, .08);
  color: var(--a1);
  font-size: .76rem; font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ca-copy:hover { background: rgba(0, 212, 255, .16); box-shadow: 0 8px 20px rgba(0, 140, 255, .25); }
.ca-printbtn { display: none; }
@media print { .ca-printbtn { display: inline-block !important; } }

/* ---- ticket thread ---- */
.ca-thread { display: grid; gap: 12px; }
.ca-msg {
  max-width: 78%;
  padding: 12px 15px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--surf);
  font-size: .88rem;
  display: grid; gap: 5px;
}
.ca-msg small { color: var(--muted-2); font-size: .7rem; }
.ca-msg.me { justify-self: end; margin-left: auto; border-color: rgba(0, 212, 255, .4); background: linear-gradient(135deg, rgba(0, 212, 255, .13), rgba(37, 99, 235, .1)); border-radius: 15px 15px 4px 15px; }
.ca-msg.sup { justify-self: start; border-color: rgba(112, 71, 255, .35); background: rgba(112, 71, 255, .08); border-radius: 15px 15px 15px 4px; }
.ca-composer { margin-top: 16px; display: grid; gap: 10px; }
.ca-composer textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 22, .5);
  color: var(--text);
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ca-composer textarea:focus { outline: none; border-color: rgba(0, 212, 255, .55); box-shadow: 0 0 0 3px rgba(0, 212, 255, .12); }
.ca-composer .btn { justify-self: start; }

/* ---- facts / feed / empty ---- */
.ca-facts { display: grid; }
.ca-facts .row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px dashed rgba(35, 54, 93, .6); font-size: .85rem; }
.ca-facts .row:last-child { border-bottom: 0; }
.ca-facts .row span { color: var(--muted); min-width: 130px; }
.ca-facts .row b { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.ca-feed { display: grid; }
.ca-feed-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 11px; font-size: .84rem; transition: background .2s ease; }
.ca-feed-row:hover { background: var(--surf); }
.ca-feed-row .ic { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(37, 99, 235, .14); color: var(--a3); }
.ca-feed-row .x { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tx-soft); }
.ca-feed-row .when { margin-left: auto; color: var(--muted-2); font-size: .72rem; white-space: nowrap; }
.ca-empty { display: grid; place-items: center; text-align: center; gap: 7px; padding: 38px 20px; }
.ca-empty .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(37, 99, 235, .13); color: var(--a1); margin-bottom: 4px; }
.ca-empty b { font-family: var(--font-display); font-size: 1rem; }
.ca-empty p { color: var(--muted); font-size: .85rem; max-width: 420px; }
.ca-empty .btn { margin-top: 8px; }
.ca-empty.slim { padding: 22px 14px; }
.ca-empty.slim .ic { width: 36px; height: 36px; }

/* ---- auto-renew switch ---- */
.ca-tglform { display: inline-flex; }
.ca-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surf-faint);
  color: var(--muted);
  font-size: .74rem; font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ca-toggle i { width: 26px; height: 15px; border-radius: 999px; background: rgba(148, 163, 184, .35); position: relative; transition: background .25s ease; }
.ca-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 999px; background: #fff; transition: transform .25s cubic-bezier(.22, .9, .3, 1); }
.ca-toggle.on { color: #A7F3D0; border-color: rgba(16, 185, 129, .5); background: rgba(16, 185, 129, .1); box-shadow: 0 6px 18px rgba(16, 185, 129, .18); }
.ca-toggle.on i { background: linear-gradient(135deg, #34D399, #10B981); }
.ca-toggle.on i::after { transform: translateX(11px); }
.ca-toggle:hover { border-color: rgba(0, 212, 255, .5); }

/* ---- wallet ---- */
.ca-wallethead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; align-items: stretch; }
.ca-balance {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, .35);
  background: linear-gradient(135deg, rgba(0, 212, 255, .14), rgba(37, 99, 235, .12) 55%, rgba(112, 71, 255, .1));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(2, 6, 23, .5), inset 0 1px 0 rgba(255, 255, 255, .1);
  padding: 26px;
  overflow: hidden;
  display: grid; gap: 8px; align-content: start;
}
.ca-balance::before {
  content: '';
  position: absolute; right: -70px; top: -70px;
  width: 240px; height: 240px;
  border-radius: 999px;
  border: 1px dashed rgba(0, 212, 255, .3);
  pointer-events: none;
}
.ca-balance .n { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; color: var(--tx-strong); text-shadow: 0 6px 30px rgba(0, 140, 255, .4); font-variant-numeric: tabular-nums; }
.ca-balance small { color: var(--tx-soft); font-size: .8rem; max-width: 380px; }
.ca-walletside { display: grid; gap: 18px; align-content: start; }
.ca-walletside .ca-panel { margin-bottom: 0; }
.ca-upper { text-transform: uppercase; letter-spacing: .06em; font-family: ui-monospace, Consolas, monospace; }

/* ---- share box (affiliate) ---- */
.ca-sharebox {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px dashed var(--border);
  background: var(--surf-faint);
}
.ca-sharebox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--a1); font-size: .85rem; font-family: ui-monospace, Consolas, monospace; }
.ca-share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: .8rem; }
.ca-code { color: var(--a3); font-family: ui-monospace, Consolas, monospace; background: rgba(112, 71, 255, .12); border: 1px solid rgba(112, 71, 255, .3); border-radius: 7px; padding: 2px 7px; font-size: .8em; }

/* ---- entrance animation ---- */
@keyframes caIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ca-main > * { animation: caIn .5s cubic-bezier(.22, .9, .3, 1) both; }
  .ca-main > *:nth-child(2) { animation-delay: .05s; }
  .ca-main > *:nth-child(3) { animation-delay: .1s; }
  .ca-main > *:nth-child(4) { animation-delay: .15s; }
  .ca-main > *:nth-child(5) { animation-delay: .2s; }
  .ca-main > *:nth-child(6) { animation-delay: .25s; }
  .ca-main > *:nth-child(n+7) { animation-delay: .3s; }
  .ca-kpis .ca-kpi { animation: caIn .5s cubic-bezier(.22, .9, .3, 1) both; }
  .ca-kpis .ca-kpi:nth-child(1) { animation-delay: .05s; }
  .ca-kpis .ca-kpi:nth-child(2) { animation-delay: .12s; }
  .ca-kpis .ca-kpi:nth-child(3) { animation-delay: .19s; }
  .ca-kpis .ca-kpi:nth-child(4) { animation-delay: .26s; }
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .ca-wrap { grid-template-columns: 1fr; margin-top: 100px; }
  .ca-rail {
    position: sticky;
    top: 66px;
    z-index: 40;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(7, 11, 22, .82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .ca-ident { border-bottom: 0; padding-bottom: 0; grid-template-columns: 38px minmax(0, 1fr); }
  .ca-ava { width: 38px; height: 38px; font-size: 1rem; }
  .ca-ident .cl-badge, .ca-rail-foot { display: none; }
  .ca-nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; margin-left: auto; }
  .ca-nav::-webkit-scrollbar { display: none; }
  .ca-navlink { white-space: nowrap; padding: 8px 12px; }
  .ca-ct { flex: 0 0 auto; }
  .ca-two, .ca-wallethead, .ca-walletside { grid-template-columns: 1fr; }
  .ca-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ca-wrap { padding: 0 12px; gap: 14px; margin-top: 92px; }
  .ca-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-cards { grid-template-columns: 1fr; }
  .ca-panel { padding: 15px; }
  .ca-panel h2 { flex-wrap: wrap; }
  .ca-panel::before { display: none; }
  .ca-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ca-msg { max-width: 92%; }
  .ca-sharebox { flex-wrap: wrap; }
  .ca-sharebox code { white-space: normal; word-break: break-all; }
  .ca-pagehead { margin-bottom: 14px; }
}

/* ---- light theme ---- */
[data-theme="light"] .ca-rail { background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(240, 246, 255, .66)); border-color: rgba(37, 99, 235, .18); box-shadow: 0 24px 60px rgba(37, 99, 235, .14); }
[data-theme="light"] .ca-ident { border-color: rgba(37, 99, 235, .14); }
[data-theme="light"] .ca-rail-foot, [data-theme="light"] .ca-meta, [data-theme="light"] .ca-facts .row, [data-theme="light"] .ca-table th, [data-theme="light"] .ca-table td { border-color: rgba(37, 99, 235, .14); }
[data-theme="light"] .ca-main .ca-navlink { color: #45608F; }
[data-theme="light"] .ca-main .ca-navlink:hover, [data-theme="light"] .ca-main .ca-navlink.active { color: #16324F; }
[data-theme="light"] .ca-ct { background: rgba(37, 99, 235, .06); color: #45608F; }
[data-theme="light"] .ca-panel { background: rgba(255, 255, 255, .72); border-color: rgba(37, 99, 235, .16); box-shadow: 0 20px 50px rgba(37, 99, 235, .1); }
[data-theme="light"] .ca-kpi, [data-theme="light"] .ca-card { background: rgba(255, 255, 255, .68); border-color: rgba(37, 99, 235, .18); }
[data-theme="light"] .ca-balance { color: #16324F; background: linear-gradient(135deg, rgba(0, 212, 255, .16), rgba(37, 99, 235, .12) 55%, rgba(112, 71, 255, .1)); border-color: rgba(37, 99, 235, .3); }
[data-theme="light"] .ca-balance .n { color: #0B3966; text-shadow: none; }
[data-theme="light"] .ca-balance small { color: #3D5A85; }
[data-theme="light"] .ca-sub, [data-theme="light"] .ca-note, [data-theme="light"] .ca-kpi .t, [data-theme="light"] .ca-card-head small, [data-theme="light"] .ca-meta, [data-theme="light"] .ca-empty p, [data-theme="light"] .ca-feed-row .x { color: #3D5A85; }
[data-theme="light"] .ca-table td a { color: #22406B; }
[data-theme="light"] .ca-table td a:hover { color: #2563EB; }
[data-theme="light"] .ca-dim, [data-theme="light"] .ca-since, [data-theme="light"] .ca-msg small, [data-theme="light"] .ca-feed-row .when { color: #5E779F; }
[data-theme="light"] .ca-banner { background: linear-gradient(90deg, rgba(0, 212, 255, .12), rgba(37, 99, 235, .08)); }
[data-theme="light"] .ca-attention .ca-note { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .ca-composer textarea, [data-theme="light"] .ca-pay { background: rgba(255, 255, 255, .8); }
[data-theme="light"] .ca-filters a.on { color: #fff; }
[data-theme="light"] .ca-filters { background: rgba(37, 99, 235, .06); }
[data-theme="light"] .ca-filters a:hover { color: #16324F; }
[data-theme="light"] .ca-act, [data-theme="light"] .ca-mini { color: #22406B; background: rgba(255, 255, 255, .7); }
[data-theme="light"] .ca-act:hover, [data-theme="light"] .ca-mini:hover { color: #16324F; }
[data-theme="light"] .ca-msg.me { background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(37, 99, 235, .08)); }
[data-theme="light"] .ca-msg.sup { background: rgba(112, 71, 255, .08); }
[data-theme="light"] .ca-sharebox, [data-theme="light"] .ca-pay .row { background: rgba(37, 99, 235, .05); }

/* ---- print: clean A4 invoice/report ---- */
@media print {
  .site-header, .site-footer, .ca-rail, .ca-banner, .ca-actions-row, .ca-filters, .ca-composer, .ca-b-x, .a6-flash, .chat-fab, .ca-more, .ca-paynow, .ca-paybtn, .ca-payrow, .ca-tglform, .ca-copy { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .ca-wrap { display: block; margin: 0; max-width: none; padding: 0; }
  .ca-main { padding: 0; }
  .ca-panel, .ca-card, .ca-kpi { break-inside: avoid; border-color: #D7DEEA !important; box-shadow: none !important; background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ca-panel::before { display: none !important; }
  .ca-kpi .n, .ca-pagehead h1, .ca-panel h2 { color: #111 !important; }
  .ca-sub, .ca-note, .ca-kpi .t, .ca-dim, .ca-meta, .ca-table th, .ca-empty p { color: #444 !important; }
  .ca-table td { color: #222; border-color: #E4E9F2; }
}

/* ================= order.php — Phase 43 redesign ================= */
.ord-hero { text-align: center; max-width: 780px; margin: 0 auto 20px; }
.ord-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.02em; line-height: 1.12; }
.ord-hero p { color: var(--muted); margin-top: 9px; font-size: .9rem; line-height: 1.6; }
.ord-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 11px;
  padding: 5px 15px; border-radius: 99px;
  border: 1px solid rgba(0, 212, 255, .35); background: rgba(0, 212, 255, .08);
  color: var(--a1); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ord-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 6px 15px; border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, .4); background: rgba(16, 185, 129, .08);
  color: #A7F3D0; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.ord-toggle { margin-bottom: 16px; }

/* ---- catalog: side-label band rows — every group one tight row, cards side by side ---- */
.ord-bands { border-top: 1px solid rgba(35, 54, 93, .35); max-width: 1360px; margin: 0 auto; }
.ord-band {
  display: grid;
  grid-template-columns: minmax(150px, 188px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border-bottom: 1px solid rgba(35, 54, 93, .35);
}
.ord-bandlabel { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.ord-bandlabel .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--grad); box-shadow: 0 0 12px rgba(0, 140, 255, .8); flex: none; }
.ord-bandlabel h3 { font-family: var(--font-display); font-size: 1rem; color: var(--tx-strong); letter-spacing: -.01em; }
.ord-bandlabel p { color: var(--muted-2); font-size: .72rem; line-height: 1.55; }
.ord-bandcount {
  display: inline-flex; align-self: flex-start; margin-top: auto;
  padding: 3px 10px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surf-faint);
  color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ord-band .plans { gap: 12px; align-items: stretch; }
.ord-band .plan { padding: 18px 15px 19px; }
.ord-band .plan h3 { font-size: .97rem; }
.ord-band .plan-blurb { font-size: .72rem; margin: 3px 0 12px; }
.ord-band .price .cur { font-size: .9rem; }
.ord-band .price-value { font-size: 1.55rem; }
.ord-band .price .per { font-size: .76rem; }
.ord-band .bill-note { font-size: .63rem; margin: 3px 0 12px; }
.ord-band .plan-list { gap: 6px; margin-bottom: 14px; }
.ord-band .plan-list li { font-size: .68rem; gap: 7px; }
.ord-band .ck { width: 13px; height: 13px; }
.ord-band .plan-btn { padding: 9px 12px; font-size: .76rem; border-radius: 10px; }
.ord-band .pop-badge { font-size: .55rem; padding: 3px 9px; top: -10px; box-shadow: 0 4px 12px rgba(37, 99, 235, .45); }
.ord-footnote { text-align: center; color: var(--muted-2); font-size: .78rem; margin-top: 20px; }
.ord-footnote a { color: var(--a1); font-weight: 600; }

@media (max-width: 1100px) {
  .ord-band { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .ord-bandlabel { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .ord-bandlabel p { flex: 1 1 100%; order: 3; }
  .ord-bandlabel h3 { order: 0; }
  .ord-bandcount { margin-top: 0; order: 2; }
  .ord-band .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ord-band { padding: 14px 2px; }
  .ord-band .plans { grid-template-columns: 1fr; }
  .ord-band .plan { padding: 15px 13px 16px; }
}

/* ---- review two-panel ---- */
.ord-review { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr); gap: 26px; align-items: start; max-width: 1080px; margin: 0 auto; }
.ord-review .card.ord-plandetail { padding: 30px 30px 32px; }
.ord-badge {
  display: inline-block; vertical-align: middle; margin-left: 12px;
  padding: 4px 12px; border-radius: 99px;
  border: 1px solid rgba(0, 212, 255, .4); background: rgba(0, 212, 255, .08);
  color: var(--a1); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ord-termchips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 22px; }
.ord-chip {
  display: grid; gap: 3px; padding: 12px 15px; border-radius: 13px;
  border: 1px solid var(--border); background: var(--surf-faint);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ord-chip b { color: var(--tx-soft); font-size: .84rem; display: flex; align-items: center; gap: 8px; }
.ord-chip small { color: var(--muted-2); font-size: .74rem; }
.ord-chip:hover { border-color: rgba(0, 212, 255, .5); }
.ord-chip.on {
  border-color: rgba(0, 212, 255, .55);
  background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(37, 99, 235, .08));
  box-shadow: 0 8px 22px rgba(0, 140, 255, .18);
}
.ord-chip.on b { color: var(--tx-strong); }
.ord-ems {
  font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #A7F3D0; border: 1px solid rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .1);
  padding: 2px 8px; border-radius: 99px;
}

/* ---- order summary card ---- */
.ord-sum {
  position: sticky; top: 96px;
  border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surf), rgba(7, 11, 22, .75));
  padding: 24px 22px 26px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ord-sumtitle {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--tx-strong);
}
.ord-sumtitle::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0, 212, 255, .4), transparent); }
.ord-rows { display: grid; margin: 14px 0 6px; }
.ord-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(35, 54, 93, .55); font-size: .84rem; }
.ord-row:last-child { border-bottom: 0; }
.ord-row span { color: var(--muted); flex: none; }
.ord-row b { color: var(--tx-soft); font-weight: 600; text-align: right; min-width: 0; }
.ord-amount { display: flex; align-items: baseline; gap: 4px; font-family: var(--font-display); margin: 8px 0 0; }
.ord-amount .cur { color: var(--muted); font-size: 1.25rem; }
.ord-amount .v { font-size: 2.6rem; font-weight: 800; color: var(--tx-strong); text-shadow: 0 6px 30px rgba(0, 140, 255, .35); font-variant-numeric: tabular-nums; }
.ord-amount .per { color: var(--muted); font-size: .9rem; }
.ord-save {
  display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 2px;
  padding: 4px 11px; border-radius: 99px;
  background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .45);
  color: #A7F3D0; font-size: .72rem; font-weight: 700;
}
.ord-gate { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; }
.ord-gate span {
  padding: 3px 10px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surf-faint);
  color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .03em;
}
.ord-cta {
  width: 100%; justify-content: center; padding: 13px 20px; font-size: .95rem; border-radius: 13px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .4);
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ord-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 140, 255, .5); }
.ord-cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.ord-cta:hover::after { transform: translateX(120%); }
.ord-trust { margin-top: 14px; text-align: center; color: var(--muted-2); font-size: .72rem; line-height: 1.55; }
.ord-trust a { color: var(--a1); font-weight: 600; }
.ord-back { margin-top: 14px; text-align: center; font-size: .8rem; }
.ord-back a { color: var(--a1); }
.ord-back a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .ord-review { grid-template-columns: 1fr; }
  .ord-sum { position: static; }
  .ord-gt .n { display: none; }
}
@media (max-width: 640px) {
  .ord-termchips { grid-template-columns: 1fr; }
  .ord-review .card.ord-plandetail { padding: 20px 18px 24px; }
  .ord-amount .v { font-size: 2.2rem; }
}

[data-theme="light"] .ord-hero .kicker, [data-theme="light"] .ord-badge, [data-theme="light"] .ord-note { background: rgba(37, 99, 235, .08); color: #16324F; border-color: rgba(37, 99, 235, .25); }
[data-theme="light"] .ord-note { background: rgba(16, 185, 129, .1); color: #0E6E46; border-color: rgba(16, 185, 129, .35); }
[data-theme="light"] .ord-bandlabel h3, [data-theme="light"] .ord-sumtitle { color: #16324F; }
[data-theme="light"] .ord-band, [data-theme="light"] .ord-bands { border-color: rgba(37, 99, 235, .16); }
[data-theme="light"] .ord-chip, [data-theme="light"] .ord-gate span { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .ord-chip b, [data-theme="light"] .ord-row b { color: #22406B; }
[data-theme="light"] .ord-chip.on { background: linear-gradient(135deg, rgba(0, 212, 255, .1), rgba(37, 99, 235, .06)); }
[data-theme="light"] .ord-sum { background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(240, 246, 255, .7)); box-shadow: 0 24px 60px rgba(37, 99, 235, .14); }
[data-theme="light"] .ord-amount .v { color: #0B3966; text-shadow: none; }
[data-theme="light"] .ord-row { border-color: rgba(37, 99, 235, .16); }

/* ---- Phase 43-red: invoices "Pay now" CTA ---- */
.btn-danger {
  background: linear-gradient(135deg, #FF5A5A 0%, #E0264A 58%, #C41E5E 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(228, 45, 85, .3);
  animation: caPayPulse 2.8s ease-in-out infinite;
}
@keyframes caPayPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(228, 45, 85, .3); }
  50%      { box-shadow: 0 13px 38px rgba(228, 45, 85, .55); }
}
.ca-paynow {
  padding: 9px 18px; border-radius: 11px; font-size: .8rem; font-weight: 700; letter-spacing: .01em;
  white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, filter .25s ease;
}
.ca-paynow::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.ca-paynow:hover {
  animation: none; transform: translateY(-2px); filter: brightness(1.07);
  box-shadow: 0 16px 40px rgba(228, 45, 85, .5);
}
.ca-paynow:hover::after { transform: translateX(120%); }
.ca-paynow-sm { padding: 6px 12px; font-size: .72rem; border-radius: 9px; margin-left: 8px; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .btn-danger { animation: none; } }

/* ---- Phase 44: pay-success celebration ---- */
.ps-hero { text-align: center; padding: 30px 10px 10px; }
.ps-hero h1, .ps-orb, .ps-sub, .ps-receipt { animation: psIn .6s ease backwards; }
.ps-orb {
  position: relative; width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(21, 220, 130, .2), transparent 66%);
  animation-delay: .05s;
}
.ps-orb svg { position: relative; z-index: 2; width: 100%; height: 100%; filter: drop-shadow(0 12px 34px rgba(16, 220, 130, .45)); }
.ps-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(43, 238, 138, .4); animation: psPulse 2.4s ease-out infinite; }
.ps-ring.r2 { animation-delay: 1.2s; }
.ps-c, .ps-t { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ps-c { stroke: #2BEE8A; stroke-width: 3.2; stroke-dasharray: 183; stroke-dashoffset: 183; animation: psDraw .7s .2s cubic-bezier(.3,.7,.3,1) forwards; }
.ps-t { stroke: #C8FFDF; stroke-width: 5; stroke-dasharray: 50; stroke-dashoffset: 50; animation: psDraw .5s .8s cubic-bezier(.2,.9,.3,1.3) forwards; }
.ps-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.01em;
  background: linear-gradient(120deg, #EAFFF4, #2BEE8A 45%, #0FBF6E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation-delay: .14s;
}
.ps-sub { color: var(--muted); max-width: 660px; margin: 10px auto 24px; line-height: 1.6; font-size: .95rem; animation-delay: .24s; }
.ps-sub b { color: var(--tx-strong); }
.ps-receipt { max-width: 560px; margin: 0 auto; padding: 20px 24px; text-align: left; animation-delay: .38s; }
.ps-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 2px; border-bottom: 1px dashed var(--border); font-size: .88rem; color: var(--muted); }
.ps-row b { color: var(--tx-strong); font-variant-numeric: tabular-nums; }
.ps-amt { color: #2BEE8A !important; font-size: 1.15rem; text-shadow: 0 0 18px rgba(43, 238, 138, .45); }
.ps-streak {
  margin-top: 14px; padding: 11px 14px; border-radius: 12px; font-size: .8rem; line-height: 1.55;
  background: rgba(16, 220, 130, .09); border: 1px solid rgba(16, 220, 130, .3); color: #B7FFD6;
}
.ps-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.ps-main { box-shadow: 0 10px 26px rgba(37, 99, 235, .4); }
.ps-note { margin-top: 14px; color: var(--muted-2); font-size: .74rem; }
@keyframes psIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes psPulse { 0% { transform: scale(.82); opacity: .9; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
@keyframes psDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ps-ring { animation: none; opacity: 0; }
  .ps-c, .ps-t { animation: none; stroke-dashoffset: 0; }
  .ps-hero h1, .ps-orb, .ps-sub, .ps-receipt { animation: none; }
}
[data-theme="light"] .ps-streak { background: rgba(16, 185, 129, .08); color: #0E6E46; border-color: rgba(16, 185, 129, .32); }
[data-theme="light"] .ps-sub, [data-theme="light"] .ps-note { color: #51617A; }
[data-theme="light"] .ps-amt { text-shadow: none; }

/* ---- Phase 45: service manage panel ---- */
.svc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: start; }
.svc-col { display: grid; gap: 16px; min-width: 0; }
.svc-phead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .92rem; }
.svc-phead b { color: var(--tx-strong); letter-spacing: .01em; }
.svc-phead .ca-dim { font-size: .74rem; }
.svc-phead .ca-mini { margin-left: auto; }
.svc-actions { display: grid; gap: 10px; }
.svc-actions .btn { width: 100%; justify-content: center; }
.svc-actions .ca-copy { display: none; }
.ca-meta .ca-copy { margin-left: 10px; flex-shrink: 0; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr; } }

/* Phase 45: admin connection & credentials editor */
.svc-edit { border-top: 1px solid rgba(37, 99, 235, .22); }
.svc-edit summary { cursor: pointer; font-size: .74rem; padding: 8px 0 2px; user-select: none; }
.svc-edit summary:hover { color: var(--tx-strong); }
.svc-grid16 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
@media (max-width: 1200px) { .svc-grid16 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Phase 46: VPS power deck (service page) ---- */
.pw-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(43, 238, 138, .35); background: rgba(43, 238, 138, .08); color: #B8FFDA; font-size: .66rem; font-weight: 700; letter-spacing: .05em; }
.pw-live i { width: 7px; height: 7px; border-radius: 50%; background: #2BEE8A; box-shadow: 0 0 10px rgba(43, 238, 138, .8); animation: pwBlink 1.6s ease-in-out infinite; }
.pw-live.sus { border-color: rgba(244, 180, 54, .4); background: rgba(244, 180, 54, .09); color: #FFE4B5; }
.pw-live.sus i { background: #F4B436; box-shadow: 0 0 10px rgba(244, 180, 54, .8); }
.pw-live.off { border-color: rgba(148, 163, 184, .35); background: rgba(148, 163, 184, .08); color: #C9D4E8; }
.pw-live.off i { background: #8CA0C0; box-shadow: none; animation: none; }
@keyframes pwBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.pw-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 10px 0 14px; }
.pw-state { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.pw-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.pw-dot.on { background: #2BEE8A; box-shadow: 0 0 0 5px rgba(43, 238, 138, .14), 0 0 18px rgba(43, 238, 138, .7); animation: pwBlink 1.6s ease-in-out infinite; }
.pw-dot.sus { background: #F4B436; box-shadow: 0 0 0 5px rgba(244, 180, 54, .14), 0 0 18px rgba(244, 180, 54, .6); }
.pw-dot.off { background: #8CA0C0; }
.pw-state b { display: block; color: var(--tx-strong); font-size: 1.05rem; line-height: 1.2; }
.pw-state small { color: var(--muted-2); font-size: .73rem; }
.pw-btns { margin-left: auto; }
.pw-btns form { display: flex; gap: 8px; }
.pw-btn { border: 0; padding: 10px 18px; border-radius: 11px; font-weight: 700; font-size: .8rem; cursor: pointer; transition: transform .22s ease, box-shadow .3s ease, filter .22s ease; }
.pw-btn.stop { background: linear-gradient(135deg, #FF5A5A 0%, #E0264A 58%, #C41E5E 100%); color: #fff; box-shadow: 0 10px 26px rgba(228, 45, 85, .3); }
.pw-btn.amber { background: linear-gradient(135deg, #FFC964 0%, #F4A536 60%, #E08A1F 100%); color: #2A1B04; box-shadow: 0 10px 26px rgba(244, 165, 54, .25); }
.pw-btn.go { background: linear-gradient(135deg, #37E39B 0%, #16A75B 58%, #0C8A48 100%); color: #04281A; box-shadow: 0 10px 26px rgba(22, 167, 91, .3); }
.pw-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pw-vitals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pw-vit { border: 1px solid var(--border); background: var(--surf-faint); border-radius: 12px; padding: 10px 12px; display: grid; align-content: start; gap: 6px; min-width: 0; }
.pw-vit .k { color: var(--muted-2); font-size: .64rem; font-weight: 700; letter-spacing: .06em; }
.pw-vit b { color: var(--tx-strong); font-size: .92rem; font-variant-numeric: tabular-nums; }
.pw-vit small { color: var(--muted-2); font-size: .62rem; }
.pw-bar { height: 7px; border-radius: 99px; background: rgba(148, 163, 184, .16); overflow: hidden; }
.pw-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00D4FF, #2563EB); box-shadow: 0 0 12px rgba(0, 212, 255, .45); transition: width .7s ease; }
@media (max-width: 980px) {
  .pw-vitals { grid-template-columns: repeat(2, 1fr); }
  .pw-btns { margin-left: 0; width: 100%; }
  .pw-btns form { display: grid; grid-template-columns: 1fr 1fr; }
  .pw-state { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .pw-live i, .pw-dot.on { animation: none; } .pw-bar i { transition: none; } }
[data-theme="light"] .pw-live { border-color: rgba(16, 185, 129, .4); background: rgba(16, 185, 129, .08); color: #0E6E46; }
[data-theme="light"] .pw-live.sus { border-color: rgba(202, 138, 4, .4); background: rgba(202, 138, 4, .08); color: #854D0E; }
[data-theme="light"] .pw-live.off { border-color: rgba(100, 116, 139, .4); background: rgba(100, 116, 139, .08); color: #475569; }
[data-theme="light"] .pw-vit { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .pw-vit b { color: #16324F; }
[data-theme="light"] .pw-state b { color: #16324F; }

/* ============ Domain Observatory (dmx) — domains.php v2 ============ */
.dmx-fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0 10px; }
.dmx-fcard { position: relative; background: linear-gradient(180deg, rgba(19, 31, 61, .5), rgba(10, 17, 34, .65)); border: 1px solid rgba(35, 54, 93, .55); border-radius: 18px; padding: 22px 22px 18px; overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.dmx-fcard::after { content: ''; position: absolute; inset: -60% -20%; background: radial-gradient(38% 50% at 30% 0%, rgba(0, 212, 255, .13), transparent 60%), radial-gradient(38% 50% at 85% 20%, rgba(112, 71, 255, .13), transparent 60%); pointer-events: none; }
.dmx-fcard:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .4); box-shadow: 0 18px 46px rgba(2, 8, 23, .5); }
.dmx-fhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dmx-fhead h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dmx-fprice { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--tx-strong); font-size: 1.05rem; }
.dmx-fcopy { display: block; margin-top: 6px; font-weight: 600; color: var(--tx-strong); font-size: .95rem; }
.dmx-fsub { margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.dmx-frow { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.dmx-renew { color: var(--muted); font-size: .78rem; }
.dmx-go { border: 1px solid rgba(0, 212, 255, .35); background: rgba(0, 212, 255, .08); color: #9fdcff; font-weight: 600; font-size: .8rem; border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.dmx-go:hover { background: rgba(0, 212, 255, .16); color: #fff; border-color: rgba(0, 212, 255, .55); transform: translateX(2px); }
.dmx-bar { display: flex; align-items: center; gap: 12px; background: rgba(7, 11, 22, .82); backdrop-filter: blur(14px); border: 1px solid rgba(35, 54, 93, .55); border-radius: 999px; padding: 10px 14px; }
.dmx-bar input { flex: 1 1 190px; min-width: 130px; background: transparent; border: 0; outline: 0; color: #F8FAFC; font: inherit; font-size: .9rem; }
.dmx-bar input::placeholder { color: var(--muted); }
.dmx-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.dmx-pills::-webkit-scrollbar { display: none; }
.dmx-pill { flex: 0 0 auto; border: 1px solid rgba(125, 211, 252, .16); background: rgba(19, 31, 61, .45); color: var(--muted); font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.dmx-pill i { font-style: normal; opacity: .65; margin-left: 4px; font-size: .72rem; }
.dmx-pill:hover { color: var(--tx-strong); border-color: rgba(125, 211, 252, .35); }
.dmx-pill.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(37, 99, 235, .35); }
.dmx-sort { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(125, 211, 252, .16); background: rgba(19, 31, 61, .45); color: #F8FAFC; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.dmx-sort:hover { border-color: rgba(125, 211, 252, .4); }
.dmx-live { margin: 12px 2px 14px; color: var(--muted); font-size: .8rem; }
.dmx-live b { color: var(--tx-strong); }
.dmx-lkup { margin: 0 2px 16px; color: var(--muted); font-size: .84rem; }
.dmx-lkup a { color: #00d4ff; font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(0, 180, 255, .4); }
[data-theme="light"] .dmx-lkup a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, .35); }
.dmx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; }
.dmx-tile { position: relative; background: linear-gradient(180deg, rgba(19, 31, 61, .42), rgba(10, 17, 34, .6)); border: 1px solid rgba(35, 54, 93, .55); border-radius: 16px; padding: 16px 16px 14px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; overflow: hidden; }
.dmx-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 0%, rgba(0, 212, 255, .1), transparent 70%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.dmx-tile:hover { transform: translateY(-3px); border-color: rgba(0, 212, 255, .45); box-shadow: 0 14px 34px rgba(2, 8, 23, .45); }
.dmx-tile:hover::before { opacity: 1; }
.dmx-tag { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fdcff; background: rgba(0, 212, 255, .08); border: 1px solid rgba(0, 212, 255, .22); padding: 3px 9px; border-radius: 999px; }
.dmx-tag.tg-business, .dmx-tag.tg-premium { color: #cdbcfe; background: rgba(112, 71, 255, .1); border-color: rgba(112, 71, 255, .3); }
.dmx-tag.tg-shop, .dmx-tag.tg-life { color: #ffe3a3; background: rgba(255, 210, 74, .08); border-color: rgba(255, 210, 74, .28); }
.dmx-tag.tg-creative { color: #ffb3c8; background: rgba(255, 88, 133, .08); border-color: rgba(255, 88, 133, .25); }
.dmx-tile h3 { margin-top: 12px; font-size: 1.34rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.dmx-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.dmx-price b { font-family: 'Space Grotesk', sans-serif; font-size: 1.22rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dmx-price small { color: var(--muted); font-size: .72rem; }
.dmx-tile .dmx-renew { margin-top: 2px; display: block; }
.dmx-tile .dmx-go { margin-top: 12px; }
.dmx-empty { margin-top: 14px; color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) {
  .dmx-fgrid { grid-template-columns: repeat(2, 1fr); }
  .dmx-bar { flex-wrap: wrap; border-radius: 18px; }
}
@media (max-width: 640px) {
  .dmx-fgrid { grid-template-columns: 1fr; }
  .dmx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .dmx-fcard, .dmx-tile, .dmx-go { transition: none; } }

/* ---- Phase 57/57b: checkout gate cards (registrant WHOIS + VPS build) ---- */
.ord-reg {
  margin: 16px 0 2px; padding: 15px 16px 14px; border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, .16); background: rgba(9, 16, 34, .5);
  box-shadow: inset 0 1px 0 rgba(148, 180, 220, .07), 0 12px 30px rgba(2, 8, 23, .28);
}
.ord-reg .cl-field { margin-top: 12px; }
.ord-reg .cl-field textarea { resize: vertical; min-height: 54px; box-sizing: border-box; }
.ord-reg .cl-field select, .cl-field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgba(148, 176, 205, .85) 50%), linear-gradient(135deg, rgba(148, 176, 205, .85) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.ord-reg .cl-field select, .ord-reg .cl-field input, .ord-reg .cl-field textarea { box-sizing: border-box; }
.ord-reg select:has(option[value=""]:checked) { color: var(--muted); }
.ord-reg input:focus, .ord-reg textarea:focus, .ord-reg select:focus { outline: none; border-color: rgba(0, 212, 255, .55); box-shadow: 0 0 0 3px rgba(0, 212, 255, .13); }
.ord-reg ::placeholder { color: rgba(148, 176, 205, .55); }
.ord-req { color: #67d5ff; font-style: normal; }
.ord-reggrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ord-terms { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: .8rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.ord-terms input { margin-top: 3px; accent-color: #06b6d4; }
.ord-terms a { color: #67d5ff; text-decoration: underline; }
.ord-pwbtns { display: inline-flex; gap: 10px; align-items: center; margin-left: 8px; }
.ord-gen { border: 1px solid rgba(0, 212, 255, .35); background: rgba(0, 212, 255, .09); color: #9fe4ff; font: inherit; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.ord-gen:hover { background: rgba(0, 212, 255, .18); border-color: rgba(0, 212, 255, .6); }
.ord-show { font-size: .74rem; font-weight: 600; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
[data-theme="light"] .ord-reg { background: rgba(255, 255, 255, .72); border-color: rgba(37, 99, 235, .18); box-shadow: none; }
[data-theme="light"] .ord-reg input[type="text"], [data-theme="light"] .ord-reg textarea, [data-theme="light"] .ord-reg select, [data-theme="light"] .cl-field select { background-color: #fff; border-color: rgba(22, 50, 80, .2); }
[data-theme="light"] .ord-reg select:has(option[value=""]:checked) { color: #5b7794; }
[data-theme="light"] .ord-reg ::placeholder { color: #8ba3bd; }
[data-theme="light"] .ord-terms { color: #2b455f; }

/* ---- Phase 61: Domain information lookup (.dil-*) ---- */
.dil-intro { max-width: 690px; margin: 10px auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.dil-search {
  max-width: 680px; margin: 26px auto 0; display: flex; align-items: center; gap: 8px;
  padding: 7px 8px 7px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel);
  box-shadow: 0 14px 40px rgba(2, 8, 23, .3); color: var(--muted);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dil-search:focus-within { border-color: rgba(0, 212, 255, .55); box-shadow: 0 0 0 3px rgba(0, 212, 255, .13), 0 14px 40px rgba(2, 8, 23, .3); }
.dil-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--tx-strong); font: inherit; font-size: 1.02rem; padding: 10px 4px;
}
.dil-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden;
  border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer;
  background: linear-gradient(135deg, var(--grad-a, #06b6d4), var(--grad-b, #2563eb));
  color: #fff; font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(0, 150, 235, .3); transition: filter .2s ease, transform .2s ease;
}
.dil-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.dil-btn.busy { opacity: .65; pointer-events: none; }
.dil-btn-ink { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%); transform: translateX(-110%); }
.dil-btn.busy .dil-btn-ink { animation: dil-ink 1.1s linear infinite; }
@keyframes dil-ink { to { transform: translateX(110%); } }
.dil-try { max-width: 680px; margin: 14px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .85rem; }
.dil-try button {
  border: 1px solid var(--border); background: transparent; color: var(--tx); font: inherit;
  font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 5px 14px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.dil-try button:hover { border-color: rgba(0, 212, 255, .5); color: var(--tx-strong); background: rgba(0, 212, 255, .07); }
.dil-off { max-width: 620px; margin: 24px auto 0; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: .95rem; }
.dil-off a { color: var(--tx-strong); font-weight: 600; }

.dil-body { padding: 40px 0 30px; }
.dil-empty { padding: 40px 10px; text-align: center; color: var(--muted); display: grid; gap: 8px; justify-items: center; font-size: .98rem; }
.dil-empty strong { color: var(--tx-strong); font-size: 1.1rem; }
.dil-orb {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(0, 212, 255, .8), rgba(37, 99, 235, .35) 62%, transparent 78%);
  box-shadow: 0 0 34px rgba(0, 190, 255, .4); animation: dil-pulse 2.4s ease-in-out infinite;
}
@keyframes dil-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.14); opacity: 1; } }
.dil-note { max-width: 720px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: .78rem; }

.dil-loading { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 34px 10px; color: var(--muted); font-size: .95rem; }
.dil-spin {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 3px solid rgba(0, 212, 255, .2); border-top-color: #00d4ff; animation: dil-rot .8s linear infinite;
}
@keyframes dil-rot { to { transform: rotate(360deg); } }
.dil-msg { max-width: 640px; margin: 10px auto; padding: 14px 18px; border-radius: 14px; font-size: .93rem; border: 1px solid; }
.dil-msg.warn { border-color: rgba(180, 83, 9, .35); background: rgba(180, 83, 9, .08); color: var(--warn, #b45309); }
.dil-msg.err { border-color: rgba(220, 38, 38, .35); background: rgba(220, 38, 38, .08); color: var(--danger, #dc2626); }

.dil-hero {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 0 2px;
}
.dil-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dil-title h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--tx-strong); word-break: break-all; }
.dil-pill { border-radius: 999px; padding: 6px 16px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.dil-pill.ok { background: rgba(5, 150, 105, .14); color: var(--ok, #059669); border: 1px solid rgba(5, 150, 105, .35); }
.dil-pill.warn { background: rgba(180, 83, 9, .13); color: var(--warn, #b45309); border: 1px solid rgba(180, 83, 9, .35); }
.dil-pill.dim { background: rgba(125, 145, 170, .12); color: var(--muted); border: 1px solid var(--border); }
.dil-hero-links { display: flex; gap: 16px; align-items: center; font-size: .88rem; }
.dil-hero-links a { color: var(--tx-strong); font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(0, 180, 255, .4); }
.dil-hero-links a:hover { color: #00d4ff; }

.dil-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 10px; margin: 18px 0 6px; }
.dil-chip {
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel);
  display: grid; gap: 3px;
}
.dil-chip span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.dil-chip b { color: var(--tx-strong); font-size: .92rem; font-weight: 700; word-break: break-word; }
.dil-days { font-style: normal; font-size: .78rem; font-weight: 700; }
.dil-days.past { color: var(--danger, #dc2626); }
.dil-days.soon { color: var(--warn, #b45309); }

.dil-buy {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin: 14px 0; padding: 14px 18px; border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, .3); background: rgba(0, 212, 255, .07);
  color: var(--tx); font-size: .95rem;
}
.dil-cta {
  border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: .88rem; text-decoration: none;
  background: linear-gradient(135deg, var(--grad-a, #06b6d4), var(--grad-b, #2563eb)); color: #fff;
  box-shadow: 0 8px 20px rgba(0, 150, 235, .28); white-space: nowrap;
}
.dil-buy span { color: var(--muted); }

.dil-card {
  margin: 14px 0; padding: 18px 20px; border-radius: 18px;
  border: 1px solid var(--border); background: var(--panel);
  box-shadow: 0 12px 30px rgba(2, 8, 23, .22);
}
.dil-head { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 10px; }
.dil-kv { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.dil-kv:last-child { border-bottom: 0; }
.dil-k { color: var(--muted); flex: none; }
.dil-v { color: var(--tx-strong); text-align: right; word-break: break-word; overflow-wrap: anywhere; }
.dil-v small { color: var(--muted); }
.dil-v a { color: #00d4ff; text-decoration: none; }
.dil-none { color: var(--muted); font-size: .9rem; }

.dil-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.dil-badge { border-radius: 999px; padding: 5px 14px; font-size: .78rem; font-weight: 600; border: 1px solid var(--border); background: rgba(125, 211, 252, .08); color: var(--tx); }

.dil-ns { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.dil-ns:last-child { border-bottom: 0; }
.dil-ns-host { color: var(--tx-strong); font-weight: 700; }
.dil-ns-ttl { color: var(--muted); font-size: .78rem; flex: none; }
.dil-ns-ips { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.dil-ns-ips code { font-size: .8rem; padding: 2px 9px; border-radius: 8px; background: rgba(0, 180, 255, .09); border: 1px solid var(--border); color: var(--tx); }
.dil-ns-ips em { color: var(--muted); font-size: .8rem; }

.dil-rec { display: grid; grid-template-columns: 56px minmax(80px, 1fr) 2.4fr 52px; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.dil-rec:last-child { border-bottom: 0; }
.dil-type { justify-self: start; border-radius: 8px; padding: 2px 9px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.dil-type.t-a { background: rgba(37, 99, 235, .15); color: #7fb3ff; }
.dil-type.t-c { background: rgba(14, 165, 233, .15); color: #7dd3fc; }
.dil-type.t-mx { background: rgba(168, 85, 247, .16); color: #d0a9f5; }
.dil-type.t-tx { background: rgba(5, 150, 105, .15); color: #34d399; }
.dil-type.t-ns { background: rgba(0, 212, 255, .12); color: #67d5ff; }
.dil-type.t-soa { background: rgba(180, 83, 9, .15); color: #e2a95f; }
.dil-rec-nm { color: var(--muted); font-size: .82rem; word-break: break-all; }
.dil-rec-data { color: var(--tx-strong); word-break: break-all; overflow-wrap: anywhere; }
.dil-rec-ttl { color: var(--muted); font-size: .78rem; text-align: right; }

/* Wayback capture timeline — per-year counts + one dot per archived month (Phase 72n) */
.dil-wb { margin-top: 14px; padding: 14px 0 2px; border-top: 1px dashed var(--border); direction: ltr; }
.dil-wb-ys { display: flex; flex-wrap: wrap; gap: 8px; }
.dil-wb-yr { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0, 180, 255, .07); font-size: .78rem; }
.dil-wb-yr b { color: var(--tx-strong); font-weight: 700; }
.dil-wb-yr i { font-style: normal; color: #67d5ff; font-weight: 800; font-size: .74rem; }
[data-theme="light"] .dil-wb-yr { background: rgba(37, 99, 235, .06); }
[data-theme="light"] .dil-wb-yr i { color: #2563EB; }
.dil-wb-tl { margin-top: 12px; }
.dil-wb-row { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.dil-wb-y { min-width: 46px; color: var(--muted); font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dil-wb-dots { display: flex; flex-wrap: wrap; gap: 4px; }
.dil-wb-dot { width: 13px; height: 13px; border-radius: 4px; background: linear-gradient(145deg, rgba(0, 212, 255, .85), rgba(37, 99, 235, .9)); box-shadow: 0 0 8px rgba(0, 212, 255, .35), inset 0 1px 0 rgba(224, 242, 254, .35); transition: transform .18s ease, box-shadow .18s ease; cursor: default; }
.dil-wb-dot:hover { transform: scale(1.42); box-shadow: 0 0 14px rgba(0, 212, 255, .75); }
[data-theme="light"] .dil-wb-dot { box-shadow: 0 1px 4px rgba(7, 11, 22, .25); }
.dil-wb-cap { margin-top: 10px; color: var(--muted); font-size: .78rem; }
.dil-wb-link { display: inline-block; margin-top: 8px; color: #67d5ff; font-size: .84rem; font-weight: 700; text-decoration: none; }
.dil-wb-link:hover { text-decoration: underline; }
[data-theme="light"] .dil-wb-link { color: #2563EB; }

.dil-free { margin: 14px 0; padding: 22px 22px; border-radius: 18px; text-align: center; display: grid; gap: 5px; border: 1px solid rgba(5, 150, 105, .35); background: rgba(5, 150, 105, .09); }
.dil-free strong { color: var(--ok, #059669); font-size: 1.12rem; }
.dil-free span { color: var(--muted); font-size: .92rem; }

.dil-raw { margin: 16px 0 4px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }
.dil-raw summary { padding: 13px 18px; cursor: pointer; color: var(--muted); font-size: .86rem; font-weight: 600; }
.dil-raw[open] summary { border-bottom: 1px dashed var(--border); }
.dil-raw pre {
  margin: 0; padding: 14px 18px; max-height: 420px; overflow: auto;
  font-size: .76rem; line-height: 1.5; color: var(--tx); white-space: pre; user-select: all;
}

[data-theme="light"] .dil-search { box-shadow: 0 12px 30px rgba(30, 64, 120, .12); }
[data-theme="light"] .dil-chip, [data-theme="light"] .dil-card, [data-theme="light"] .dil-raw { background: #fff; box-shadow: 0 10px 24px rgba(30, 64, 120, .08); }
[data-theme="light"] .dil-type.t-a { color: #1d4ed8; }
[data-theme="light"] .dil-type.t-mx { color: #7e22ce; }
[data-theme="light"] .dil-badge { background: rgba(37, 99, 235, .06); }
[data-theme="light"] .dil-ns-ips code { background: rgba(37, 99, 235, .06); }
[data-theme="light"] .dil-buy { background: rgba(37, 99, 235, .05); border-color: rgba(37, 99, 235, .25); }

@media (max-width: 760px) {
  .dil-search { max-width: 100%; }
  .dil-hero-links { width: 100%; justify-content: flex-start; }
  .dil-card { padding: 15px 16px; }
  .dil-kv { flex-direction: column; gap: 2px; }
  .dil-v { text-align: left; }
}
@media (max-width: 640px) {
  .dil-rec { grid-template-columns: 52px 1fr; grid-template-rows: auto auto; row-gap: 3px; }
  .dil-rec-ttl { grid-column: 2; text-align: left; }
  .dil-btn { padding: 11px 16px; font-size: .88rem; }
}
@media (max-width: 640px) { .ord-reg { padding: 13px 12px; } .ord-reggrid { grid-template-columns: 1fr; } }

/* ---------- Lookup page — numbered how-it-works steps ---------- */
.dil-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  font-size: 1.25rem; font-weight: 800;
  background: linear-gradient(135deg, var(--a1), var(--a2, #1d4ed8));
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .35);
}
[data-theme="light"] .dil-step-num { box-shadow: 0 8px 22px rgba(37, 99, 235, .2); }

/* ---------- Lookup page — tool tabs + your-ip line ---------- */
.dil-tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 4px auto 22px; max-width: 640px;
}
.dil-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line, rgba(255, 255, 255, .14));
  background: rgba(255, 255, 255, .04);
  color: var(--muted); font: inherit; font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .2s ease;
}
.dil-tab:hover { color: var(--fg); border-color: rgba(125, 211, 252, .45); transform: translateY(-1px); }
.dil-tab.on {
  background: linear-gradient(135deg, var(--a1), var(--a2, #1d4ed8));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .35);
}
[data-theme="light"] .dil-tab { background: rgba(2, 6, 23, .04); border-color: rgba(2, 6, 23, .1); }
[data-theme="light"] .dil-tab.on { color: #fff; }
.dil-yourip {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 18px; border-radius: 14px;
  border: 1px dashed rgba(125, 211, 252, .4);
  background: rgba(125, 211, 252, .06);
  font-size: .9rem;
}
.dil-yourip span { color: var(--muted); }
.dil-yourip strong { color: var(--fg); letter-spacing: .02em; }
.dil-yourip button {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--a1, #7dd3fc); font: inherit; font-weight: 700; font-size: .88rem;
  transition: opacity .2s ease;
}
.dil-yourip button:hover { opacity: .8; text-decoration: underline; }
[data-theme="light"] .dil-yourip { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .05); }
@media (max-width: 640px) {
  .dil-tab { padding: 8px 12px; font-size: .8rem; }
  .dil-yourip { justify-content: center; text-align: center; }
}

/* ---------- Lookup results — luxe polish (owner: «بطريقة فخمة») ---------- */
.dil-card {
  position: relative;
  border: 1px solid rgba(125, 211, 252, .14);
  background: linear-gradient(160deg, rgba(125, 211, 252, .05), rgba(2, 6, 23, .15) 55%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .35s ease;
}
.dil-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .55), rgba(59, 130, 246, .55), transparent);
  opacity: .6; pointer-events: none;
}
.dil-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, .38);
  box-shadow: 0 22px 54px rgba(2, 6, 23, .5), 0 0 26px rgba(37, 99, 235, .12);
}
[data-theme="light"] .dil-card {
  border-color: rgba(2, 6, 23, .08);
  background: linear-gradient(160deg, rgba(37, 99, 235, .04), rgba(2, 6, 23, .015) 55%);
}
.dil-head span {
  font-weight: 700;
  background: linear-gradient(90deg, var(--fg), #9dd7ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .dil-head span { background: linear-gradient(90deg, var(--fg), #1d4ed8); -webkit-background-clip: text; background-clip: text; }
.dil-chip {
  border: 1px solid rgba(125, 211, 252, .22);
  background: linear-gradient(150deg, rgba(125, 211, 252, .1), rgba(2, 6, 23, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(2, 6, 23, .25);
}
[data-theme="light"] .dil-chip {
  border-color: rgba(2, 6, 23, .08);
  background: linear-gradient(150deg, rgba(37, 99, 235, .06), rgba(2, 6, 23, .015));
  box-shadow: 0 4px 14px rgba(2, 6, 23, .06);
}
.dil-title h2 {
  font-size: clamp(1.7rem, 4.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--fg, #fff), #9dd7ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(125, 211, 252, .28));
}
[data-theme="light"] .dil-title h2 { background: linear-gradient(90deg, var(--fg), #1d4ed8); -webkit-background-clip: text; background-clip: text; }

/* ---------- Lookup results — the luxe dossier box (owner: «بوكس فخم») ---------- */
.dil-stage {
  position: relative;
  padding: 20px 28px 26px; margin: 6px 0 26px;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, .16);
  background:
    radial-gradient(58% 40% at 50% 0%, rgba(37, 99, 235, .14), transparent 70%),
    linear-gradient(165deg, rgba(18, 32, 63, .55), rgba(2, 6, 23, .35));
  box-shadow: 0 32px 80px rgba(2, 6, 23, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.dil-stage::before, .dil-stage::after {
  content: ''; position: absolute; width: 46px; height: 46px; opacity: .85; pointer-events: none;
  transition: opacity .3s ease;
}
.dil-stage::before { top: -1px; left: -1px; border-top: 2px solid #7dd3fc; border-left: 2px solid #7dd3fc; border-top-left-radius: 24px; }
.dil-stage::after { bottom: -1px; right: -1px; border-bottom: 2px solid #3b82f6; border-right: 2px solid #3b82f6; border-bottom-right-radius: 24px; }
.dil-stage:hover::before, .dil-stage:hover::after { opacity: 1; }
.dil-stage-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(125, 211, 252, .12);
}
.dil-stage-tag {
  padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #9dd7ee;
  border: 1px solid rgba(125, 211, 252, .35);
  background: rgba(125, 211, 252, .07);
}
.dil-stage-id {
  font-weight: 700; font-size: .95rem; min-width: 0;
  background: linear-gradient(90deg, var(--fg, #fff), #9dd7ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.dil-stage.busy::before { animation: dil-corner .9s ease-in-out infinite; }
.dil-stage.busy::after { animation: dil-corner .9s ease-in-out .45s infinite; }
@keyframes dil-corner { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
[data-theme="light"] .dil-stage {
  border-color: rgba(2, 6, 23, .1);
  background:
    radial-gradient(58% 40% at 50% 0%, rgba(37, 99, 235, .07), transparent 70%),
    linear-gradient(165deg, rgba(255, 255, 255, .85), rgba(241, 245, 255, .65));
  box-shadow: 0 26px 60px rgba(2, 6, 23, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}
[data-theme="light"] .dil-stage::before { border-color: #2563eb; }
[data-theme="light"] .dil-stage::after { border-color: #2563eb; }
[data-theme="light"] .dil-stage-tag { color: #1d4ed8; border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .06); }
[data-theme="light"] .dil-stage-id { background: linear-gradient(90deg, var(--fg), #1d4ed8); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 640px) { .dil-stage { padding: 16px 16px 20px; border-radius: 18px; } .dil-stage::before, .dil-stage::after { width: 30px; height: 30px; } }

/* Phase 68 — EGP transfer strip + payment receipt upload */
.ca-egp { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(16, 185, 129, .45); background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(0, 212, 255, .08)); animation: caEgpIn .4s ease both; }
.ca-egp .ic { flex-shrink: 0; padding: 7px 10px; border-radius: 9px; font-weight: 700; font-size: .72rem; letter-spacing: .06em; color: #065f46; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 6px 16px rgba(16, 185, 129, .35); }
.ca-egp b { color: var(--tx-strong); font-size: .95rem; display: block; }
.ca-egp small { color: var(--muted); font-size: .74rem; display: block; margin-top: 2px; }
@keyframes caEgpIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
[data-theme="light"] .ca-egp { background: rgba(16, 185, 129, .08); }
.ca-slip { border: 1px dashed rgba(0, 212, 255, .45); border-radius: 12px; padding: 0 14px; background: rgba(0, 212, 255, .04); transition: border-color .25s ease, background .25s ease; }
.ca-slip[open] { background: rgba(0, 212, 255, .07); padding-bottom: 14px; }
.ca-slip summary { cursor: pointer; list-style: none; padding: 12px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--tx-strong); font-size: .88rem; }
.ca-slip summary::-webkit-details-marker { display: none; }
.ca-slip summary::after { content: '▾'; margin-left: auto; color: var(--muted); transition: transform .25s ease; }
.ca-slip[open] summary::after { transform: rotate(180deg); }
.ca-slip summary:hover { color: #7DD3FC; }
.ca-slip form { display: grid; gap: 10px; padding-top: 4px; }
.ca-slip-note { border-radius: 10px; padding: 10px 12px; font-size: .8rem; margin: 6px 0 4px; }
.ca-slip-note.ok { border: 1px solid rgba(16, 185, 129, .4); background: rgba(16, 185, 129, .09); color: #34d399; }
.ca-slip-note.err { border: 1px solid rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); color: #fca5a5; }
[data-theme="light"] .ca-slip-note.ok { color: #065f46; }
[data-theme="light"] .ca-slip-note.err { color: #991b1b; }
.ca-pp-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; white-space: nowrap; margin-left: 8px; vertical-align: middle; }
.ca-pp-pill.pend { border: 1px solid rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .12); color: #fbbf24; }
.ca-pp-pill.stop { border: 1px solid rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .1); color: #f87171; }
[data-theme="light"] .ca-pp-pill.pend { color: #92400e; }
[data-theme="light"] .ca-pp-pill.stop { color: #991b1b; }
@media (prefers-reduced-motion: reduce) { .ca-egp { animation: none; } }

/* ============ Phase 72a — saved cards (PCI-safe vault) ============ */
.ca-cards { display: grid; gap: 8px; margin: 8px 0 4px; }
.ca-cards::before { content: "Payment cards"; display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.ca-cardrow { align-items: center; border: 1px solid var(--border-c, #23365D); border-radius: 12px; padding: 10px 12px; gap: 12px; }
.ca-cardrow form { margin: 0; }
.ca-cardchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(0, 212, 255, .4); background: linear-gradient(135deg, rgba(0, 212, 255, .12), rgba(37, 99, 235, .1)); font-weight: 700; font-size: .82rem; }
.ca-cardchip small { font-weight: 600; color: var(--muted); margin-left: 4px; }
.ca-inlineform { display: inline-flex; }
@media (max-width: 760px) {
  .ca-cardrow { flex-wrap: wrap; }
  .ca-cardrow .ca-paybtn { width: 100%; justify-content: center; }
}

/* ============ Phase 70 — Arabic (RTL) layer, gated on html[dir="rtl"] — Arabic-Egyptian site language ============ */
[dir="rtl"] {
  direction: rtl;
  font-family: "Cairo", "Outfit", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .hero-copy,
[dir="rtl"] .foot-brand { text-align: right; }
/* Latin-only islands stay LTR inside the RTL page */
[dir="rtl"] .price,
[dir="rtl"] .hero-term,
[dir="rtl"] .panel-title,
[dir="rtl"] .dep-time,
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="password"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] .foot-domain { direction: ltr; text-align: left; }
[dir="rtl"] .nav-drop-btn svg { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .feat-ico svg { transform: scaleX(-1); }
[dir="rtl"] .chat-fab,
[dir="rtl"] .chat-panel { right: auto; left: 24px; }
[dir="rtl"] .toast { right: auto; left: 24px; }
[dir="rtl"] .foot-ghost { left: auto; right: -2%; }
[dir="rtl"] .news { direction: ltr; } /* email form keeps latin flow */
[dir="rtl"] .price-value { unicode-bidi: plaintext; }

/* ---------- Light-theme harmony — 2026-11-13 components (header bell, balance chip,
   dropzone, receipt hero): keep the same proportions, just honest light-surface colors ---------- */
html[data-theme="light"] .hdr-bell summary { background: rgba(255, 255, 255, .72); border-color: rgba(37, 99, 235, .22); color: #1E293B; }
html[data-theme="light"] .hdr-bell summary:hover { background: #fff; border-color: rgba(37, 99, 235, .5); }
html[data-theme="light"] .hdr-bell.red summary { border-color: rgba(220, 38, 38, .5); }
html[data-theme="light"] .hdr-bell-pop { background: #fff; box-shadow: 0 18px 44px rgba(30, 64, 120, .16); }
html[data-theme="light"] .hdr-bell-pop > b { color: #5B6B85; }
html[data-theme="light"] .hdr-nd { color: #3B4B66; }
html[data-theme="light"] .hdr-nd:hover { background: rgba(37, 99, 235, .06); }
html[data-theme="light"] .hdr-nd.bad { color: #991B1B; }
html[data-theme="light"] .hdr-nd.bad .hd { box-shadow: none; }
html[data-theme="light"] .hdr-nd.mid { color: #854D0E; }
html[data-theme="light"] .hdr-nd.warn { color: #4338CA; }
html[data-theme="light"] .ca-bal { background: rgba(255, 255, 255, .6); border-color: rgba(37, 99, 235, .18); }
html[data-theme="light"] .ca-bal:hover { background: #fff; border-color: rgba(22, 163, 74, .45); }
html[data-theme="light"] .cl-file { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .cl-file:hover, html[data-theme="light"] .cl-file:focus-within { background: rgba(37, 99, 235, .05); }
html[data-theme="light"] .cl-file .fname { background: rgba(37, 99, 235, .05); }
html[data-theme="light"] .cl-file.armed { background: rgba(34, 197, 94, .08); }
html[data-theme="light"] .ca-sliphero { background: linear-gradient(135deg, rgba(34, 197, 94, .08), rgba(34, 197, 94, .02) 55%, transparent), #fff; }
html[data-theme="light"] .ca-sliphero:hover, html[data-theme="light"] .ca-sliphero[open] { box-shadow: 0 12px 30px rgba(22, 163, 74, .14); }
html[data-theme="light"] .ca-sliphero[open] summary { border-bottom-color: rgba(34, 197, 94, .25); }
html[data-theme="light"] .ca-pphint { background: rgba(34, 197, 94, .06); }
html[data-theme="light"] .ca-topup { border-color: rgba(22, 163, 74, .35); }
html[data-theme="light"] .ca-topup > h2 .hico { color: #16A34A; }
html[data-theme="light"] .ca-att { background: rgba(37, 99, 235, .04); }
html[data-theme="light"] .ca-ct.warn { color: #854D0E; }
html[data-theme="light"] .ca-signout:hover { color: #B91C1C; }
