/* ============================================================
   dqrkis — queue sniper  ·  Molten Amber
   ============================================================ */
:root {
  --acc: #5fe3e6; --acc-bright: #a6f4f6; --acc-dim: #2e9ea1; --gold: #a6ecff;
  --glow: rgba(95,227,230,0.32); --gold-glow: rgba(166,236,255,0.30);
  --hot: #ff5c7a; --hot-glow: rgba(255,92,122,0.34);
  --c-queue: #ffce5a; --c-snipe: #5fe3e6; --c-ticket: #6aa8ff; --c-account: #6fe38a; --c-system: #b79cff;
  --bg: #070b0d; --bg2: #0a0f13; --panel: #0e151a; --panel-2: #121b21;
  --line: rgba(220,245,247,0.10); --line-soft: rgba(220,245,247,0.06);
  --hair: rgba(220,245,247,0.09); --hair-strong: rgba(220,245,247,0.16); --edge-hi: rgba(230,250,252,0.08);
  --acc-line: rgba(95,227,230,0.42);
  --panel-fill: #0d141a; --panel-fill-2: #121b22;
  --shadow-panel: 0 1px 0 var(--edge-hi) inset, 0 24px 48px -30px rgba(0,0,0,0.95), 0 8px 20px -14px rgba(0,0,0,0.7);
  --shadow-card: 0 1px 0 var(--edge-hi) inset, 0 10px 24px -18px rgba(0,0,0,0.85);
  --txt: #dfeef0; --txt-hi: #f4fbfc; --dim: #7d8f95; --dim2: #465158;
  --ink: #04181b;
  --radius: 14px; --radius-card: 11px; --radius-sm: 8px; --radius-pill: 999px;
  --mono: 'Space Mono', ui-monospace, monospace;
  --disp: 'Chakra Petch', sans-serif;
  --body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { background: radial-gradient(1200px 700px at 80% -12%, rgba(95,227,230,0.09), transparent 60%), radial-gradient(900px 620px at 6% 112%, rgba(166,236,255,0.05), transparent 55%), linear-gradient(180deg, var(--bg2), var(--bg)); color: var(--txt); font-family: var(--body); font-size: 15px; min-height: 100vh; overflow-x: hidden; position: relative; }
.hidden { display: none !important; }
.dim { color: var(--dim); } .mono { font-family: var(--mono); }

.scanlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: 0.5; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 220px rgba(0,0,0,0.85), inset 0 0 40px rgba(0,0,0,0.6); }
body.on-landing .scanlines, body.on-landing .vignette { opacity: 0; }

[data-corner] { position: relative; }
[data-corner]::before, [data-corner]::after { content: ''; position: absolute; width: 12px; height: 12px; pointer-events: none; border: 1px solid var(--acc); opacity: 0.5; }
[data-corner]::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
[data-corner]::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* circular logo badge (crops the spiky mark out of the padded PNG) */
.logo-badge { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #060606; box-shadow: 0 0 0 1px var(--line), 0 0 16px -5px var(--glow); }
.logo-badge img { position: absolute; left: 50%; top: 50%; height: 210%; width: auto; transform: translate(-51%, -48%); }
.logo-badge.lg { width: 60px; height: 60px; }
.logo-badge.sm { width: 26px; height: 26px; }
.logo-badge.xs { width: 22px; height: 22px; }

.brand-name { font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--txt-hi); line-height: 1; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--dim); margin-top: 4px; }

/* ---------------- splash ---------------- */
.splash { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity 0.5s ease; }
.splash.gone { opacity: 0; pointer-events: none; }
.splash-logo { animation: pulse 1.5s ease-in-out infinite; }
.splash-bar { width: 160px; height: 3px; background: #0e171b; border-radius: 3px; overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--acc), transparent); animation: load 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-solid { position: relative; font-family: var(--disp); font-weight: 700; font-size: 14px; letter-spacing: 0.01em; padding: 11px 22px; border: 0; border-radius: var(--radius); cursor: pointer; color: #04181b; background: linear-gradient(180deg, var(--acc-bright), var(--acc)); box-shadow: 0 6px 20px -8px var(--glow); transition: transform 0.12s, box-shadow 0.2s, filter 0.2s; overflow: hidden; }
.btn-solid:hover { filter: brightness(1.06); box-shadow: 0 8px 28px -8px var(--glow); }
.btn-solid:active { transform: translateY(1px); }
.btn-solid.full { width: 100%; margin-top: 14px; }
.btn-solid.sm { padding: 8px 16px; font-size: 12.5px; }
.btn-solid.danger { background: linear-gradient(180deg, #ff6a8a, var(--hot)); color: #24030d; box-shadow: 0 6px 20px -8px var(--hot-glow); }
.btn-solid.loading { pointer-events: none; color: transparent; }
.btn-solid.loading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border: 2px solid rgba(24,13,4,0.35); border-top-color: #04181b; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn-ghost { font-family: var(--disp); font-weight: 600; font-size: 14px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--txt-hi); cursor: pointer; transition: 0.16s; }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-ghost.sm { padding: 8px 14px; font-size: 12.5px; }
.mini-btn { font-family: var(--mono); padding: 7px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; background: var(--panel); color: var(--acc); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: 0.15s; }
.mini-btn:hover { background: rgba(95,227,230,0.1); }
.mini-btn.ghost { color: var(--dim); border-color: var(--line-soft); }
.mini-btn.ghost:hover { color: var(--hot); border-color: var(--hot); background: rgba(255,70,110,0.06); }
.linklike { background: none; border: 0; color: var(--acc); cursor: pointer; font: inherit; }
.linklike:hover { text-decoration: underline; }
.seg { display: flex; gap: 4px; background: #070d10; padding: 3px; border-radius: 2px; border: 1px solid var(--line-soft); }
.seg-btn { flex: 1; padding: 7px 4px; font-family: var(--mono); font-size: 10px; font-weight: 700; background: transparent; border: 0; color: var(--dim); cursor: pointer; border-radius: 2px; transition: 0.14s; }
.seg-btn.active { background: rgba(95,227,230,0.16); color: var(--acc); }

/* ============================================================
   LANDING
   ============================================================ */
.landing { position: relative; z-index: 3; }
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 16px 5vw; background: rgba(7,11,13,0.7); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.lp-logo { font-family: var(--disp); font-weight: 700; font-size: 20px; color: var(--txt-hi); display: flex; align-items: center; gap: 8px; }
.lp-dot { color: var(--acc); text-shadow: 0 0 12px var(--glow); }
.lp-links { display: flex; gap: 28px; }
.lp-links a { color: var(--dim); text-decoration: none; font-size: 14px; transition: 0.15s; }
.lp-links a:hover { color: var(--txt-hi); }
.lp-nav-cta { display: flex; gap: 10px; align-items: center; }

.lp-hero { position: relative; text-align: center; padding: 90px 5vw 70px; overflow: hidden; }
.lp-hero-glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: radial-gradient(ellipse at center, rgba(95,227,230,0.16), transparent 62%); pointer-events: none; }
.lp-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.lp-badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 26px; background: rgba(166,236,255,0.05); animation: fadeUp 0.6s both; }
.lp-h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(38px, 6vw, 66px); line-height: 1.04; color: var(--txt-hi); letter-spacing: -0.01em; animation: fadeUp 0.6s 0.05s both; }
.lp-sub { max-width: 580px; margin: 22px auto 0; font-size: 17px; line-height: 1.6; color: var(--dim); animation: fadeUp 0.6s 0.12s both; }
.lp-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; animation: fadeUp 0.6s 0.2s both; }
.lp-cta .btn-solid { font-size: 15px; padding: 13px 28px; }
.lp-cta .btn-ghost { display: inline-flex; align-items: center; text-decoration: none; }
.lp-ticker { position: relative; max-width: 620px; margin: 46px auto 0; height: 96px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); animation: fadeUp 0.6s 0.28s both; }
.lp-tick-row { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 5px 14px; border-bottom: 1px solid var(--line-soft); }
.lp-tick-row .ok { color: var(--acc); }
.lp-tick-row .ms { color: var(--gold); margin-left: auto; }

.lp-statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0; }
.lp-stat { background: var(--panel); padding: 26px 20px; text-align: center; }
.lp-stat b { display: block; font-family: var(--mono); font-weight: 700; font-size: 34px; color: var(--acc); text-shadow: 0 0 18px var(--glow); }
.lp-stat b span { font-size: 18px; color: var(--gold); }
.lp-stat label { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.04em; color: var(--dim); text-transform: uppercase; }

.lp-section { max-width: 1080px; margin: 0 auto; padding: 74px 5vw; }
.lp-h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 4vw, 38px); color: var(--txt-hi); text-align: center; }
.lp-section-sub { text-align: center; color: var(--dim); margin-top: 12px; font-size: 16px; }
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.lp-step { position: relative; padding: 24px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; }
.lp-step-n { font-family: var(--disp); font-weight: 700; font-size: 40px; color: transparent; -webkit-text-stroke: 1px var(--acc-dim); opacity: 0.6; }
.lp-step h3 { font-family: var(--disp); font-size: 17px; color: var(--txt-hi); margin: 10px 0 8px; }
.lp-step p { font-size: 14px; line-height: 1.55; color: var(--dim); }
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px; }
.lp-feature { padding: 24px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; transition: 0.2s; }
.lp-feature:hover { border-color: var(--line); transform: translateY(-2px); }
.lp-feature .fico { width: 34px; height: 34px; border-radius: 8px; background: rgba(95,227,230,0.12); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--acc); margin-bottom: 14px; }
.lp-feature h3 { font-family: var(--disp); font-size: 17px; color: var(--txt-hi); margin-bottom: 8px; }
.lp-feature p { font-size: 14px; line-height: 1.55; color: var(--dim); }

.lp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.lp-tier { position: relative; padding: 30px 26px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 8px; display: flex; flex-direction: column; }
.lp-tier.hl { border-color: var(--acc); box-shadow: 0 0 0 1px var(--glow), 0 30px 60px -30px var(--glow); }
.lp-tier-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--acc); color: #04181b; padding: 3px 12px; border-radius: 999px; }
.lp-tier h3 { font-family: var(--disp); font-size: 19px; color: var(--txt-hi); }
.lp-price { font-family: var(--disp); font-weight: 700; font-size: 40px; color: var(--acc); margin: 12px 0 2px; }
.lp-price span { font-size: 15px; color: var(--dim); font-weight: 400; }
.lp-tier ul { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.lp-tier li { font-size: 14px; color: var(--txt); display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.lp-tier li::before { content: ''; width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; background: var(--acc); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }

.lp-faq-wrap { max-width: 760px; }
.lp-faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.lp-q { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
.lp-q summary { list-style: none; cursor: pointer; padding: 18px 20px; font-family: var(--disp); font-weight: 600; font-size: 16px; color: var(--txt-hi); display: flex; justify-content: space-between; align-items: center; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: '+'; color: var(--acc); font-size: 20px; }
.lp-q[open] summary::after { content: '−'; }
.lp-q p { padding: 0 20px 18px; color: var(--dim); font-size: 14.5px; line-height: 1.6; }

.lp-footer { text-align: center; padding: 50px 5vw 60px; border-top: 1px solid var(--line-soft); }
.lp-footer .lp-logo { justify-content: center; margin-bottom: 16px; }
.lp-footer p { max-width: 560px; margin: 0 auto 16px; color: var(--dim2); font-size: 12.5px; line-height: 1.6; }
.lp-foot-links { color: var(--dim); font-size: 13px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================================================
   AUTH MODAL
   ============================================================ */
.auth-card { position: relative; width: 400px; max-width: 100%; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 5px; padding: 28px 26px; box-shadow: 0 40px 90px -30px #000, 0 0 60px -20px var(--glow); animation: popIn 0.32s cubic-bezier(.2,.9,.3,1.1); }
.auth-x { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: 1px solid var(--line-soft); background: transparent; color: var(--dim); border-radius: 4px; cursor: pointer; }
.auth-x:hover { color: var(--hot); border-color: var(--hot); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-mark { font-size: 32px; color: var(--acc); text-shadow: 0 0 16px var(--glow); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: #070d10; padding: 4px; border-radius: 4px; border: 1px solid var(--line-soft); }
.auth-tab { flex: 1; padding: 10px; font-size: 13px; font-weight: 600; background: transparent; border: 0; color: var(--dim); cursor: pointer; border-radius: 2px; transition: 0.15s; }
.auth-tab.active { background: rgba(95,227,230,0.14); color: var(--acc); }
#auth-form { display: flex; flex-direction: column; }
.field-err { min-height: 16px; margin: 10px 0 2px; font-family: var(--mono); font-size: 11.5px; color: var(--hot); }
.auth-foot { text-align: center; margin-top: 14px; font-size: 11px; color: var(--dim2); }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ============================================================
   APP TOPBAR
   ============================================================ */
.app { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; animation: fadeApp 0.4s ease; }
@keyframes fadeApp { from { opacity: 0; } to { opacity: 1; } }
.topbar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: linear-gradient(180deg, rgba(26,19,9,0.96), rgba(7,11,13,0.9)); border-bottom: 1px solid var(--line); backdrop-filter: blur(4px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-size: 28px; color: var(--acc); text-shadow: 0 0 12px var(--glow); animation: spin 9s linear infinite; }
.topbar-mid { display: flex; gap: 8px; }
.stat-chip { display: flex; flex-direction: column; align-items: center; min-width: 70px; padding: 5px 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.stat-chip label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.stat-chip b { font-family: var(--disp); font-weight: 700; font-size: 19px; color: var(--txt-hi); line-height: 1.1; }
.stat-chip.ok b { color: var(--acc); text-shadow: 0 0 10px var(--glow); }
.stat-chip.bad b { color: var(--hot); }
.topbar-right { display: flex; align-items: center; gap: 14px; }

.start-btn { display: flex; align-items: center; gap: 9px; padding: 10px 22px; background: linear-gradient(180deg, #0c161a, #061014); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-family: var(--disp); transition: 0.18s; }
.start-btn:hover { border-color: var(--acc); }
.start-dot { width: 0; height: 0; border-left: 11px solid var(--dim); border-top: 7px solid transparent; border-bottom: 7px solid transparent; transition: 0.2s; }
.start-text { font-weight: 700; letter-spacing: 0.02em; font-size: 15px; color: var(--dim); }
.start-btn.on { border-color: var(--acc); box-shadow: 0 0 0 1px var(--glow), 0 0 26px -4px var(--glow); background: linear-gradient(180deg, rgba(95,227,230,0.18), rgba(95,227,230,0.03)); }
.start-btn.on .start-dot { border: 0; width: 12px; height: 12px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: pulse 1.1s ease-in-out infinite; }
.start-btn.on .start-text { color: var(--acc); text-shadow: 0 0 10px var(--glow); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }

.user-chip { position: relative; cursor: pointer; }
.user-mono { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius); font-family: var(--disp); font-weight: 700; font-size: 14px; color: #04181b; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); box-shadow: 0 0 14px -4px var(--glow); }
.user-menu { position: absolute; top: 46px; right: 0; width: 190px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 50px -20px #000; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: 0.16s; z-index: 5; }
.user-chip.open .user-menu { opacity: 1; pointer-events: auto; transform: none; }
.user-name { font-family: var(--mono); font-size: 12px; color: var(--txt-hi); padding: 6px 8px 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; word-break: break-all; }
.menu-btn { display: block; width: 100%; text-align: left; padding: 9px 8px; background: transparent; border: 0; color: var(--txt); font-size: 13px; cursor: pointer; border-radius: 3px; transition: 0.14s; }
.menu-btn:hover { background: rgba(95,227,230,0.1); color: var(--acc); }
.menu-btn.danger:hover { background: rgba(255,70,110,0.1); color: var(--hot); }
.menu-btn.admin-only { display: none; }
.user-chip.is-admin .menu-btn.admin-only { display: block; }

/* ============================================================
   DECK + PANELS
   ============================================================ */
.deck { flex: 1; display: grid; grid-template-columns: 320px 1fr 340px; gap: 14px; padding: 14px; min-height: 0; }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: 0 24px 50px -30px #000; }
.col-left, .col-center { display: flex; flex-direction: column; min-height: 0; }
.col-right { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.panel-head h2 { font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; color: var(--txt-hi); }
.panel-head h2::before { content: ''; display: inline-block; width: 3px; height: 14px; background: var(--acc); border-radius: 2px; margin-right: 9px; vertical-align: -2px; box-shadow: 0 0 8px var(--glow); }
.panel-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--dim); }
.panel-head-right { display: flex; align-items: center; gap: 12px; }
.snipe-now-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; font-family: var(--disp); font-weight: 600; font-size: 12px; color: var(--acc); background: linear-gradient(180deg, rgba(95,227,230,0.12), rgba(95,227,230,0.03)); border: 1px solid var(--acc-line); border-radius: var(--radius-sm); cursor: pointer; transition: 0.15s; }
.snipe-now-btn svg { width: 15px; height: 15px; }
.snipe-now-btn:hover { background: linear-gradient(180deg, rgba(95,227,230,0.2), rgba(95,227,230,0.06)); box-shadow: 0 0 16px -4px var(--glow); }
.snipe-now-btn:active { transform: translateY(1px); }
.snipe-now-btn:disabled { opacity: 0.6; cursor: default; }
.snipe-now-btn.busy svg { animation: spin 0.8s linear infinite; }

.acct-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.acct-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; min-height: 60px; }
.acct { position: relative; padding: 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: 0.15s; animation: fadeUp 0.25s both; }
.acct:hover { border-color: var(--line); }
.acct.armed { border-left: 2px solid var(--acc); }
.acct-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 11px; align-items: center; }
.acct-av { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: #0c1519; border: 1px solid var(--line-soft); display: block; }
.acct-av.fallback { display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; color: #04181b; font-size: 15px; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); }
.acct-id { min-width: 0; }
.acct-name { font-family: var(--disp); font-weight: 700; color: var(--txt-hi); font-size: 16px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-sub { display: flex; align-items: center; gap: 6px; margin-top: 3px; min-width: 0; }
.acct-user { font-family: var(--mono); font-size: 11px; color: var(--acc); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-tag { font-family: var(--mono); font-size: 9px; color: var(--dim); background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); padding: 1px 6px; border-radius: 999px; flex-shrink: 0; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-pill { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line-soft); flex-shrink: 0; }
.acct-pill.online { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.acct-pill.connecting { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.acct-pill.error { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 50%, transparent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim2); flex-shrink: 0; }
.dot.online { background: var(--acc); box-shadow: 0 0 8px var(--glow); }
.dot.connecting { background: var(--gold); animation: blink 0.7s steps(2) infinite; }
.dot.error { background: var(--hot); }
@keyframes blink { 50% { opacity: 0.35; } }
.acct-watch { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line-soft); }
.acct-watch-info { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.acct-watch-info b { color: var(--gold); }
.acct-btns { display: flex; gap: 5px; margin-top: 10px; }
.ab { flex: 1; padding: 7px 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.02em; border-radius: 3px; cursor: pointer; background: var(--panel); border: 1px solid var(--line-soft); color: var(--txt); transition: 0.14s; white-space: nowrap; }
.ab:hover { border-color: var(--acc); color: var(--acc); }
.ab.on { background: rgba(95,227,230,0.14); border-color: color-mix(in srgb, var(--acc) 45%, transparent); color: var(--acc); }
.ab.danger { flex: 0 0 30px; color: var(--dim); }
.ab.danger:hover { border-color: var(--hot); color: var(--hot); background: rgba(255,70,110,0.06); }
.add-acct { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.add-title { font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--acc); }
.hint { font-family: var(--mono); font-size: 9px; line-height: 1.6; color: var(--dim); }

/* inputs / controls */
.inp { width: 100%; padding: 9px 11px; background: #070d10; border: 1px solid var(--line-soft); border-radius: 2px; color: var(--txt-hi); font-family: var(--body); font-size: 14px; outline: none; transition: 0.15s; }
.inp.mono { font-family: var(--mono); font-size: 12px; }
.inp::placeholder { color: var(--dim2); }
.inp:focus { border-color: var(--acc); box-shadow: 0 0 0 1px var(--glow); }
textarea.inp { resize: vertical; line-height: 1.4; }
select.inp { appearance: none; cursor: pointer; }
.ctrl { margin-bottom: 12px; }
.field-label { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--txt); margin-bottom: 6px; }
.field-label em { color: var(--dim); font-style: normal; font-weight: 400; margin-left: 6px; font-size: 11px; }
.ctrl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ctrl-row.tight { margin-bottom: 8px; }
.slider-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.slider-val { font-family: var(--mono); font-size: 12px; color: var(--acc); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc) var(--pct,4%), #16262c var(--pct,4%)); outline: none; cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 2px; background: var(--acc); border: 2px solid #061014; transform: rotate(45deg); box-shadow: 0 0 10px var(--glow); cursor: pointer; }
.slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 2px; background: var(--acc); border: 2px solid #061014; cursor: pointer; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch.sm { margin-bottom: 10px; }
.switch input { display: none; }
.switch-track { position: relative; width: 40px; height: 20px; border-radius: 3px; flex-shrink: 0; border: 1px solid var(--dim2); transition: 0.18s; }
.switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 2px; background: var(--dim); transition: 0.18s; }
.switch input:checked + .switch-track { border-color: var(--acc); }
.switch input:checked + .switch-track::after { left: 22px; background: var(--acc); box-shadow: 0 0 8px var(--glow); }
.switch-label { font-size: 12.5px; color: var(--txt); }
.switch-label em { color: var(--dim); font-style: normal; margin-left: 5px; font-size: 11px; }
.stepper { display: flex; align-items: center; gap: 7px; }
.stepper .field-label { margin: 0; }
.stepper b { font-family: var(--disp); font-size: 16px; color: var(--acc); min-width: 16px; text-align: center; }
.step { width: 24px; height: 24px; font-size: 15px; font-weight: 700; background: var(--panel); color: var(--acc); border: 1px solid var(--line); cursor: pointer; border-radius: 2px; }
.step:hover { background: rgba(95,227,230,0.12); }

/* ---------------- live channel feed ---------------- */
.feed-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.feed-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; padding: 5px 6px 5px 10px; border-radius: 999px; background: rgba(95,227,230,0.08); border: 1px solid var(--line); color: var(--txt-hi); }
.feed-chip .x { cursor: pointer; color: var(--dim); width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.feed-chip .x:hover { color: var(--hot); background: rgba(255,70,110,0.1); }
.add-channel-btn { font-family: var(--mono); font-size: 10.5px; padding: 5px 12px; border-radius: 999px; background: transparent; border: 1px dashed var(--line); color: var(--acc); cursor: pointer; transition: 0.14s; }
.add-channel-btn:hover { background: rgba(95,227,230,0.08); border-style: solid; }
.feed { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 4px; min-height: 200px; }
.feed-empty { margin: auto; text-align: center; color: var(--dim); padding: 40px; }
.feed-empty-icon { font-size: 44px; color: var(--dim2); margin-bottom: 12px; }
.feed-empty p { line-height: 1.5; }
.feed-empty .dim { font-size: 12px; margin-top: 6px; max-width: 320px; }
.msg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 7px 8px; border-radius: 2px; transition: background 0.15s; animation: msgIn 0.22s ease; }
.msg:hover { background: rgba(255,255,255,0.02); }
@keyframes msgIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.msg-av { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; color: #04181b; font-size: 12px; background: linear-gradient(135deg, #33474d, #16262b); object-fit: cover; }
.msg-body { min-width: 0; }
.msg-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.msg-author { font-weight: 700; color: var(--txt-hi); font-size: 14px; }
.msg-author.bot::after { content: 'APP'; font-family: var(--mono); font-size: 7px; background: var(--acc); color: #04181b; padding: 1px 4px; border-radius: 2px; margin-left: 5px; letter-spacing: 0.1em; }
.msg-chan { font-family: var(--mono); font-size: 9px; color: var(--gold); background: rgba(166,236,255,0.08); padding: 1px 6px; border-radius: 999px; }
.msg-time { font-family: var(--mono); font-size: 9px; color: var(--dim2); }
.msg-text { color: var(--txt); font-size: 14px; line-height: 1.4; word-wrap: break-word; }
.msg-text b { color: var(--txt-hi); }
.msg-embed { margin-top: 5px; padding: 8px 11px; border-left: 3px solid var(--acc); background: rgba(95,227,230,0.05); border-radius: 0 2px 2px 0; }
.msg-embed-title { font-family: var(--disp); font-weight: 700; color: var(--txt-hi); font-size: 14px; }
.msg-embed-desc { font-size: 13px; color: var(--txt); margin-top: 2px; }
.msg-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.disc-btn { font-family: var(--body); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 3px; border: 0; cursor: default; background: #3a3f45; color: #dbe0e6; }
.disc-btn.s3 { background: #248046; color: #fff; } .disc-btn.s1 { background: #5865f2; color: #fff; } .disc-btn.s4 { background: #da373c; color: #fff; }
.disc-btn.target { outline: 2px solid var(--acc); outline-offset: 2px; animation: targetPulse 1.2s ease-in-out infinite; }
@keyframes targetPulse { 0%,100% { box-shadow: 0 0 12px -4px var(--glow); } 50% { box-shadow: 0 0 22px 0 var(--glow); } }
.disc-btn[disabled] { opacity: 0.45; }
.msg.queue-hit { background: rgba(95,227,230,0.06); border-left: 2px solid var(--acc); }

/* ============================================================
   ACTIVITY LOG (no emoji)
   ============================================================ */
.logbar { position: relative; z-index: 2; margin: 0 14px 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; max-height: 250px; }
.log-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.log-head h2 { font-family: var(--disp); font-weight: 600; font-size: 14px; color: var(--txt-hi); }
.log-filters { display: flex; gap: 5px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; padding: 4px 10px; border-radius: 999px; cursor: pointer; background: transparent; border: 1px solid var(--line-soft); color: var(--dim); transition: 0.14s; }
.fchip i { display: inline-flex; width: 12px; height: 12px; }
.fchip i svg { width: 12px; height: 12px; }
.fchip b { font-size: 9px; color: var(--dim); background: rgba(255,255,255,0.05); padding: 0 5px; border-radius: 999px; }
.fchip:hover { color: var(--txt-hi); border-color: var(--line); }
.fchip[data-cat="all"].active { background: rgba(95,227,230,0.16); border-color: var(--acc); color: var(--acc); }
.fchip[data-cat="queue"].active { background: color-mix(in srgb, var(--c-queue) 16%, transparent); border-color: var(--c-queue); color: var(--c-queue); }
.fchip[data-cat="snipe"].active { background: color-mix(in srgb, var(--c-snipe) 16%, transparent); border-color: var(--c-snipe); color: var(--c-snipe); }
.fchip[data-cat="ticket"].active { background: color-mix(in srgb, var(--c-ticket) 16%, transparent); border-color: var(--c-ticket); color: var(--c-ticket); }
.fchip[data-cat="account"].active { background: color-mix(in srgb, var(--c-account) 16%, transparent); border-color: var(--c-account); color: var(--c-account); }
.fchip[data-cat="system"].active { background: color-mix(in srgb, var(--c-system) 16%, transparent); border-color: var(--c-system); color: var(--c-system); }
.fchip.active b { color: inherit; background: rgba(0,0,0,0.28); }
.fchip.prob { margin-left: auto; }
.fchip.prob.active { background: color-mix(in srgb, var(--hot) 16%, transparent); border-color: var(--hot); color: var(--hot); }

.log { flex: 1; overflow-y: auto; padding: 4px 6px; }
.log-row { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 10px; align-items: center; padding: 6px 12px; border-left: 2px solid transparent; border-bottom: 1px solid rgba(255,255,255,0.03); animation: msgIn 0.2s ease; }
.log-row:hover { background: rgba(255,255,255,0.02); }
.log-row.bad { background: color-mix(in srgb, var(--hot) 5%, transparent); border-left-color: var(--hot); }
.log-tile { position: relative; width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.log-tile .glyph { width: 14px; height: 14px; display: block; }
.log-tile[data-cat="queue"] { color: var(--c-queue); background: color-mix(in srgb, var(--c-queue) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c-queue) 45%, transparent); }
.log-tile[data-cat="snipe"] { color: var(--c-snipe); background: color-mix(in srgb, var(--c-snipe) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c-snipe) 45%, transparent); }
.log-tile[data-cat="ticket"] { color: var(--c-ticket); background: color-mix(in srgb, var(--c-ticket) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c-ticket) 45%, transparent); }
.log-tile[data-cat="account"] { color: var(--c-account); background: color-mix(in srgb, var(--c-account) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c-account) 45%, transparent); }
.log-tile[data-cat="system"] { color: var(--c-system); background: color-mix(in srgb, var(--c-system) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c-system) 45%, transparent); }
.log-pip { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--panel); display: flex; align-items: center; justify-content: center; }
.log-pip svg { width: 7px; height: 7px; }
.log-pip.good { background: var(--c-account); color: #062018; } .log-pip.bad { background: var(--hot); color: #2a0410; } .log-pip.warn { background: var(--gold); color: #2a1e04; }
.log-sentence { font-size: 13.5px; color: var(--txt); line-height: 1.35; word-break: break-word; }
.log-sentence .ent { color: var(--txt-hi); font-weight: 600; }
.log-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 2px; border: 1px solid var(--line-soft); border-radius: 999px; }
.log-chip .mono2 { width: 16px; height: 16px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 8px; color: #04181b; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); }
.log-chip span { font-family: var(--mono); font-size: 9.5px; color: var(--txt); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-time { font-family: var(--mono); font-size: 9.5px; color: var(--dim2); text-align: right; min-width: 40px; }
.log-empty { text-align: center; color: var(--dim); font-family: var(--mono); font-size: 11px; padding: 30px; }
.log[data-filtered="1"] .log-row:not(.match) { display: none; }
.log[data-problems="1"] .log-row:not(.bad):not(.warn) { display: none; }

/* ============================================================
   OVERLAYS / MODALS
   ============================================================ */
.overlay, .modal-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(6,4,2,0.86); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeApp 0.2s ease; }
.overlay-card { position: relative; width: 760px; max-width: 100%; max-height: 86vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 50px 100px -30px #000; animation: popIn 0.28s cubic-bezier(.2,.9,.3,1.1); }
.overlay-card.narrow { width: 520px; }
.overlay-card .panel-head { padding: 16px 18px; }
.ov-body { padding: 18px; overflow-y: auto; }
.icon-btn { width: 28px; height: 26px; border-radius: 2px; cursor: pointer; background: transparent; border: 1px solid var(--line-soft); color: var(--dim); font-size: 12px; display: flex; align-items: center; justify-content: center; transition: 0.15s; }
.icon-btn:hover { border-color: var(--acc); color: var(--acc); }
.icon-btn.kill:hover { border-color: var(--hot); color: var(--hot); }

.modal { position: relative; width: 720px; max-width: 100%; max-height: 84vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 50px 100px -30px #000, 0 0 60px -20px var(--glow); animation: popIn 0.26s cubic-bezier(.2,.9,.3,1.1); }
.modal.sm { width: 400px; } .modal.wide { width: 860px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.modal-head h2 { font-family: var(--disp); font-size: 16px; color: var(--txt-hi); }
.modal-sub { font-size: 11px; color: var(--dim); margin-top: 4px; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0; }
.modal-body-col { display: flex; flex-direction: column; padding: 18px; }
.modal-pane { display: flex; flex-direction: column; min-height: 0; padding: 14px; }
.modal-pane:first-child { border-right: 1px solid var(--line-soft); }
.pane-head { font-family: var(--disp); font-size: 13px; color: var(--acc); margin-bottom: 10px; display: flex; justify-content: space-between; }
.pane-search { margin-bottom: 10px; }
.pane-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; min-height: 220px; }
.pane-list.sm { min-height: 90px; max-height: 130px; }
.pane-loading { color: var(--dim); font-family: var(--mono); font-size: 11px; padding: 20px; text-align: center; }
.pick { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 2px; cursor: pointer; border: 1px solid transparent; transition: 0.12s; }
.pick:hover { background: rgba(255,255,255,0.03); }
.pick.selected { background: rgba(95,227,230,0.1); border-color: var(--line); }
.pick.active { border-color: var(--acc); }
.pick-ico { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 11px; color: #04181b; background: linear-gradient(135deg, var(--gold), var(--acc-dim)); }
.pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--txt-hi); font-size: 14px; }
.pick-name .hash { color: var(--dim); margin-right: 3px; }
.pick-check { width: 18px; height: 18px; border-radius: 3px; border: 1px solid var(--dim2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; }
.pick.selected .pick-check { background: var(--acc); border-color: var(--acc); color: #04181b; }
.pick-badge { font-family: var(--mono); font-size: 8px; color: var(--gold); border: 1px solid var(--line-soft); padding: 1px 5px; border-radius: 999px; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line-soft); gap: 12px; }
.modal-selected { font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* feed modal preview */
.feed-modal-body { grid-template-columns: 300px 1fr; }
.feed-preview-list { flex: 1; overflow-y: auto; padding: 4px; }
.feed-preview-list .msg { grid-template-columns: 26px 1fr; }

/* confirm modal */
.modal.confirm { padding: 26px; text-align: center; align-items: center; }
.confirm-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,70,110,0.12); border: 1px solid var(--hot); color: var(--hot); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.confirm-icon svg { width: 24px; height: 24px; }
.modal.confirm h2 { font-family: var(--disp); font-size: 19px; color: var(--txt-hi); margin-bottom: 8px; }
.modal.confirm p { color: var(--dim); font-size: 14px; line-height: 1.5; margin-bottom: 20px; max-width: 320px; }
.confirm-btns { display: flex; gap: 10px; }

/* profile */
.prof-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prof-av { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 22px; color: #04181b; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); }
.prof-name { font-family: var(--disp); font-weight: 700; font-size: 22px; color: var(--txt-hi); }
.prof-since { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 3px; }
.prof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.prof-stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 4px; padding: 12px; text-align: center; }
.prof-stat b { display: block; font-family: var(--disp); font-weight: 700; font-size: 22px; color: var(--acc); }
.prof-stat label { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.04em; }
.prof-referral { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ref-row { display: flex; gap: 8px; margin: 10px 0; }
.ref-row .inp { flex: 1; }
.ref-stat { font-size: 13px; color: var(--txt); } .ref-stat b { color: var(--gold); font-family: var(--disp); font-size: 18px; }

/* leaderboard */
.lb-list { display: flex; flex-direction: column; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 4px; }
.lb-row.me { border-color: var(--acc); box-shadow: 0 0 0 1px var(--glow); }
.lb-rank { font-family: var(--disp); font-weight: 700; font-size: 18px; color: var(--dim); text-align: center; }
.lb-row:nth-child(1) .lb-rank { color: var(--gold); } .lb-row:nth-child(2) .lb-rank { color: #cfd3d8; } .lb-row:nth-child(3) .lb-rank { color: #c88a4a; }
.lb-name { font-family: var(--disp); font-weight: 600; color: var(--txt-hi); font-size: 15px; }
.lb-name .youtag { font-family: var(--mono); font-size: 8px; color: var(--acc); border: 1px solid var(--acc); border-radius: 999px; padding: 1px 6px; margin-left: 8px; }
.lb-hits { font-family: var(--mono); font-size: 14px; color: var(--acc); } .lb-hits span { color: var(--dim); font-size: 11px; }

/* admin */
.admin-table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { position: sticky; top: 0; background: var(--panel-2); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--dim); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--txt); }
.admin-id { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.admin-callsign { font-weight: 700; color: var(--txt-hi); }
.role-badge { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; padding: 2px 7px; border-radius: 999px; }
.role-badge.admin { background: rgba(95,227,230,0.16); color: var(--acc); border: 1px solid var(--line); }
.role-badge.user { background: rgba(255,255,255,0.04); color: var(--dim); border: 1px solid var(--line-soft); }
.status-badge { font-family: var(--mono); font-size: 9px; padding: 2px 8px; border-radius: 999px; }
.status-badge.active { color: var(--c-account); border: 1px solid var(--c-account); }
.status-badge.disabled { color: var(--hot); border: 1px solid var(--hot); }
.admin-actions { display: flex; gap: 5px; justify-content: flex-end; }

/* ============================================================
   ONBOARDING TOUR
   ============================================================ */
.tour { position: fixed; inset: 0; z-index: 70; }
.tour-spot { position: absolute; border: 2px solid var(--acc); border-radius: 6px; box-shadow: 0 0 0 4000px rgba(6,4,2,0.78), 0 0 24px var(--glow); transition: all 0.3s cubic-bezier(.2,.9,.3,1); pointer-events: none; }
.tour-pop { position: absolute; width: 320px; background: var(--panel-2); border: 1px solid var(--acc); border-radius: 6px; padding: 18px; box-shadow: 0 30px 60px -20px #000, 0 0 40px -12px var(--glow); transition: all 0.3s ease; }
.tour-step { font-family: var(--mono); font-size: 10px; color: var(--acc); letter-spacing: 0.1em; }
.tour-pop h3 { font-family: var(--disp); font-size: 18px; color: var(--txt-hi); margin: 4px 0 8px; }
.tour-pop p { font-size: 14px; line-height: 1.55; color: var(--dim); }
.tour-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 10px; }
.tour-skip { font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.tour-nav { display: flex; gap: 8px; }

/* ============================================================
   TOAST + misc
   ============================================================ */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); z-index: 80; padding: 12px 22px; border-radius: 3px; background: #140d07; border: 1px solid var(--acc); font-family: var(--mono); font-size: 13px; color: var(--txt-hi); box-shadow: 0 20px 40px -12px #000, 0 0 24px -6px var(--glow); opacity: 0; pointer-events: none; transition: 0.28s cubic-bezier(.2,.9,.3,1.2); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: var(--hot); box-shadow: 0 20px 40px -12px #000, 0 0 24px -6px var(--hot-glow); }
::-webkit-scrollbar { width: 7px; height: 7px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #16262c; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--acc-dim); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  body { overflow-y: auto; }
  .deck { display: flex; flex-direction: column; }
  .col-right { overflow: visible; }
  .col-left, .col-center { min-height: auto; }
  .feed { max-height: 340px; }
  .acct-list { max-height: 300px; }
  .lp-statband { grid-template-columns: repeat(2, 1fr); }
  .lp-steps, .lp-pricing { grid-template-columns: 1fr; }
  .modal-body, .feed-modal-body { grid-template-columns: 1fr; }
  .modal-pane:first-child { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .lp-links { display: none; }
}
@media (max-width: 640px) {
  .topbar-mid { display: none; }
  .lp-statband { grid-template-columns: 1fr 1fr; }
  .prof-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PREMIUM REDESIGN — panels, cards, controls (overrides)
   ============================================================ */
body:not(.on-landing) .scanlines { opacity: 0.12; }
body:not(.on-landing) .vignette { box-shadow: inset 0 0 260px rgba(0,0,0,0.7); }

.deck { gap: 16px; padding: 16px; }
.col-right { gap: 16px; }

/* kill tactical corner brackets */
.panel[data-corner]::before, .panel[data-corner]::after,
.overlay-card[data-corner]::before, .overlay-card[data-corner]::after,
.modal[data-corner]::before, .modal[data-corner]::after,
.auth-card[data-corner]::before, .auth-card[data-corner]::after,
.logbar[data-corner]::before, .logbar[data-corner]::after { display: none; }

.panel {
  position: relative; padding: 18px;
  border: 1px solid var(--hair); border-radius: var(--radius);
  background:
    radial-gradient(130% 90% at 50% -25%, rgba(95,227,230,0.06), transparent 58%),
    linear-gradient(180deg, var(--panel-fill-2), var(--panel-fill));
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(10px) saturate(1.05); -webkit-backdrop-filter: blur(10px) saturate(1.05);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--hair); }
.panel-head h2 { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 600; font-size: 14px; letter-spacing: 0.015em; color: var(--txt-hi); }
.panel-head h2::before { content: ''; display: block; margin: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px rgba(95,227,230,0.14); }
.panel-meta { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding: 4px 9px; border-radius: var(--radius-pill); background: rgba(230,248,250,0.035); border: 1px solid var(--hair); white-space: nowrap; }
.logbar { margin: 0 16px 16px; border: 1px solid var(--hair); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-fill-2), var(--panel-fill)); box-shadow: var(--shadow-panel); }

/* account cards */
.acct { position: relative; padding: 12px 12px 13px; border: 1px solid var(--hair); border-radius: var(--radius-card); background: linear-gradient(180deg, rgba(230,248,250,0.024), rgba(230,248,250,0.006)); box-shadow: var(--shadow-card); transition: transform .16s cubic-bezier(.2,.7,.3,1), border-color .16s, box-shadow .16s, background .16s; }
.acct:hover { transform: translateY(-1px); border-color: var(--hair-strong); background: linear-gradient(180deg, rgba(230,248,250,0.04), rgba(230,248,250,0.012)); box-shadow: 0 1px 0 var(--edge-hi) inset, 0 16px 32px -20px rgba(0,0,0,0.9); }
.acct.armed { border-color: var(--acc-line); border-left: 1px solid var(--acc-line); background: linear-gradient(180deg, rgba(95,227,230,0.055), rgba(95,227,230,0.012)); box-shadow: 0 1px 0 var(--edge-hi) inset, inset 2px 0 0 var(--acc), 0 14px 30px -20px var(--glow); }
.acct-av { border-radius: 12px; border: 1px solid var(--hair); }
.acct-pill { padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--hair); background: rgba(230,248,250,0.03); }
.acct-watch { border-top: 1px solid var(--hair); }
.add-acct { border-top: 1px solid var(--hair); }
.ab { border-radius: 8px; border: 1px solid var(--hair); background: rgba(230,248,250,0.02); }
.ab:hover { border-color: var(--acc-line); }
.acct-actions .mini-btn { border-radius: 9px; }

/* controls */
.inp { padding: 11px 13px; border-radius: var(--radius-sm); background: rgba(0,0,0,0.26); border: 1px solid var(--hair); color: var(--txt-hi); transition: border-color .15s, box-shadow .15s, background .15s; }
.inp:hover { border-color: var(--hair-strong); }
.inp:focus { border-color: var(--acc-line); background: rgba(0,0,0,0.32); box-shadow: 0 0 0 3px rgba(95,227,230,0.13); }
.switch-track { width: 38px; height: 22px; border-radius: var(--radius-pill); border: 1px solid var(--dim2); background: rgba(0,0,0,0.3); }
.switch-track::after { top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--dim); }
.switch input:checked + .switch-track { border-color: var(--acc-line); background: rgba(95,227,230,0.18); }
.switch input:checked + .switch-track::after { left: 18px; background: var(--acc); box-shadow: 0 0 10px var(--glow); }
.slider { height: 5px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--acc) var(--pct,4%), #0e171b var(--pct,4%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; transform: none; border: 2px solid #08161a; background: radial-gradient(circle at 35% 30%, var(--acc-bright), var(--acc)); box-shadow: 0 2px 8px -2px var(--glow), 0 0 0 3px rgba(95,227,230,0.12); }
.slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #08161a; background: var(--acc); box-shadow: 0 0 0 3px rgba(95,227,230,0.12); }
.seg { padding: 3px; border-radius: var(--radius-sm); background: rgba(0,0,0,0.3); border: 1px solid var(--hair); }
.seg-btn { border-radius: 6px; }
.seg-btn.active { background: rgba(95,227,230,0.16); box-shadow: 0 1px 0 var(--edge-hi) inset; color: var(--acc); }
.step { border-radius: 8px; border: 1px solid var(--hair); }
.mini-btn { border-radius: 9px; border: 1px solid var(--hair); }
.stat-chip { border-radius: 10px; border: 1px solid var(--hair); }
.start-btn { border-radius: 11px; border: 1px solid var(--hair); }
.start-btn.on { border-color: var(--acc-line); }
.user-menu { border-radius: 12px; border: 1px solid var(--hair); }
.feed-chip, .add-channel-btn { border: 1px solid var(--hair); }
.overlay-card, .modal, .auth-card { border-radius: var(--radius); border: 1px solid var(--hair); }
.fchip { border-radius: var(--radius-pill); }
.log-tile { border-radius: 7px; }

/* ============================================================
   GLASS FOOTER
   ============================================================ */
.gf { position: relative; margin-top: 40px; overflow: hidden; background: linear-gradient(180deg, rgba(12,20,26,0.55), rgba(7,11,13,0.72)); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); border-top: 1px solid var(--line-soft); }
.gf::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), var(--gold), var(--acc), transparent); opacity: 0.9; box-shadow: 0 0 18px var(--glow); }
.gf::after { content: ''; position: absolute; top: -140px; left: 50%; transform: translateX(-50%); width: 900px; height: 280px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(95,227,230,0.10), transparent 70%); }
.gf-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 56px 5vw 26px; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 44px; }
.gf-brand-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.gf-brand-name { font-family: var(--disp); font-weight: 700; font-size: 23px; letter-spacing: 0.01em; color: var(--txt-hi); line-height: 1; }
.gf-brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--gold); margin-top: 6px; text-transform: uppercase; }
.gf-tag { font-size: 13.5px; line-height: 1.6; color: var(--dim); max-width: 340px; }
.gf-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--txt); padding: 6px 12px; border-radius: 999px; background: rgba(95,227,230,0.06); border: 1px solid var(--line); }
.gf-status .pulse { width: 7px; height: 7px; border-radius: 50%; background: #6fe38a; box-shadow: 0 0 8px #6fe38a; animation: gfpulse 1.4s ease-in-out infinite; }
@keyframes gfpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.gf-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.gf-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: linear-gradient(90deg, var(--acc), transparent); border-radius: 2px; }
.gf-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gf-nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--txt); font-size: 14px; transition: 0.16s; width: fit-content; cursor: pointer; }
.gf-nav a:hover { color: var(--txt-hi); transform: translateX(3px); }
.gf-pays { display: flex; flex-wrap: wrap; gap: 8px; max-width: 230px; }
.pay { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 48px; padding: 0 9px; border-radius: 7px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--line-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 12px -8px #000; transition: 0.18s; }
.pay:hover { transform: translateY(-2px); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 18px -8px var(--glow); }
.pay svg { display: block; height: 16px; width: auto; }
.gf-pay-note { margin-top: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.03em; color: var(--dim2); }
.gf-social { display: flex; flex-direction: column; gap: 10px; }
.soc { display: flex; align-items: center; gap: 11px; text-decoration: none; padding: 9px 12px; border-radius: 9px; background: rgba(255,255,255,0.02); border: 1px solid var(--line-soft); transition: 0.18s; }
.soc:hover { border-color: var(--line); background: rgba(95,227,230,0.05); transform: translateX(3px); }
.soc-ic { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); transition: 0.18s; }
.soc-ic svg { width: 16px; height: 16px; }
.soc:hover .soc-ic { box-shadow: 0 0 14px -4px currentColor; }
.soc.discord .soc-ic { color: #8b9cff; } .soc.youtube .soc-ic { color: #ff5c6c; } .soc.tiktok .soc-ic { color: #5fe6e0; }
.soc-tx b { display: block; font-family: var(--disp); font-weight: 600; font-size: 14px; color: var(--txt-hi); line-height: 1.1; }
.soc-tx span { font-family: var(--mono); font-size: 9.5px; color: var(--dim); }
.gf-bar { position: relative; border-top: 1px solid var(--line-soft); }
.gf-bar-in { max-width: 1180px; margin: 0 auto; padding: 18px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gf-copy { font-family: var(--mono); font-size: 11px; color: var(--dim2); letter-spacing: 0.02em; line-height: 1.5; max-width: 640px; }
.gf-copy b { color: var(--dim); }
.gf-legal { display: flex; align-items: center; gap: 18px; }
.gf-legal a { color: var(--dim); text-decoration: none; font-size: 12.5px; transition: 0.15s; }
.gf-legal a:hover { color: var(--acc); }
.gf-legal .sep { color: var(--dim2); }
@media (max-width: 980px) { .gf-inner { grid-template-columns: 1fr 1fr; gap: 36px 44px; } }
@media (max-width: 560px) { .gf-inner { grid-template-columns: 1fr; gap: 34px; } .gf-bar-in { flex-direction: column; text-align: center; } }

/* ============================================================
   PUBLIC LEADERBOARD (landing)
   ============================================================ */
.lp-lb { max-width: 560px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 6px; }
.lp-lb-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: .16s; }
.lp-lb-row:hover { border-color: var(--line); transform: translateX(2px); }
.lp-lb-row.top { border-color: var(--line); background: linear-gradient(90deg, rgba(95,227,230,0.06), transparent 70%); }
.lp-lb-rank { font-family: var(--disp); font-weight: 700; font-size: 18px; color: var(--dim); text-align: center; }
.lp-lb-rank.r1 { color: var(--gold); text-shadow: 0 0 14px var(--gold-glow); }
.lp-lb-rank.r2 { color: #d8dee9; } .lp-lb-rank.r3 { color: #e0965a; }
.lp-lb-name { font-family: var(--disp); font-weight: 600; font-size: 15px; color: var(--txt-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-lb-hits { font-family: var(--mono); font-size: 14px; color: var(--acc); white-space: nowrap; }
.lp-lb-hits em { font-style: normal; color: var(--dim); font-size: 11px; margin-left: 5px; }


/* ============================================================
   CUSTOM CHECKBOX (.ck)
   ============================================================ */
.ck { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.ck input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.ck-box { position: relative; width: 19px; height: 19px; flex-shrink: 0; border-radius: 6px; background: #070d10; border: 1px solid var(--dim2); box-shadow: inset 0 1px 3px rgba(0,0,0,0.55); transition: border-color .16s, box-shadow .16s, background .16s; }
.ck-box::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, var(--acc-bright), var(--acc)); opacity: 0; transform: scale(.55); transition: opacity .16s, transform .2s cubic-bezier(.2,.9,.3,1.5); }
.ck-box::after { content: ''; position: absolute; inset: 0; z-index: 1; background: #04181b; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; opacity: 0; transform: scale(.4); transition: opacity .16s, transform .2s cubic-bezier(.2,.9,.3,1.6); }
.ck:hover .ck-box { border-color: var(--acc); }
.ck input:focus-visible + .ck-box { border-color: var(--acc); box-shadow: 0 0 0 2px var(--glow); }
.ck input:checked + .ck-box { border-color: var(--acc); box-shadow: 0 0 10px -2px var(--glow), inset 0 0 0 1px rgba(95,227,230,0.4); }
.ck input:checked + .ck-box::before { opacity: 1; transform: scale(1); }
.ck input:checked + .ck-box::after { opacity: 1; transform: scale(1); }
.ck input:active + .ck-box { transform: scale(.92); }
.ck-text { font-size: 12.5px; color: var(--txt); line-height: 1.3; }
.ck-text em { color: var(--dim); font-style: normal; margin-left: 5px; font-size: 11px; }
.tour-skip.ck .ck-text { color: var(--dim); font-size: 11px; }

/* ============================================================
   SETTINGS / PROFILE RANK
   ============================================================ */
.set-section { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.set-section:last-child { border-bottom: 0; }
.set-section h3 { font-family: var(--disp); font-size: 13px; color: var(--acc); margin-bottom: 12px; letter-spacing: .02em; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.danger-zone { margin-top: 6px; padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--radius); border-left: 2px solid var(--hot); background: rgba(255,92,122,0.04); }
.danger-zone h3 { font-family: var(--disp); font-size: 13px; color: var(--hot); margin-bottom: 4px; }
.danger-zone p { font-size: 12px; color: var(--dim); margin-bottom: 12px; line-height: 1.5; }
.danger-zone .row { display: flex; gap: 10px; flex-wrap: wrap; }
.prof-rank { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; color: var(--gold); border: 1px solid var(--line); background: rgba(166,236,255,0.06); padding: 3px 9px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }

/* ============================================================
   SIGN IN vs GET STARTED (nav)
   ============================================================ */
.lp-nav-signin { font-family: var(--disp); font-weight: 600; font-size: 14px; background: none; border: 0; color: var(--dim); cursor: pointer; padding: 10px 6px; transition: color .16s; position: relative; }
.lp-nav-signin::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.lp-nav-signin:hover { color: var(--txt-hi); }
.lp-nav-signin:hover::after { transform: scaleX(1); }
.lp-nav-get { display: inline-flex; align-items: center; gap: 7px; }
.lp-nav-get span { transition: transform .18s; }
.lp-nav-get:hover span { transform: translateX(3px); }

/* ============================================================
   CUSTOM DROPDOWN (.dd) — replaces native <select>
   ============================================================ */
.dd { position: relative; }
.dd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-radius: var(--radius-sm); background: rgba(0,0,0,0.26); border: 1px solid var(--hair); color: var(--txt-hi); font-family: var(--body); font-size: 14px; cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.dd-btn:hover { border-color: var(--hair-strong); }
.dd.open .dd-btn { border-color: var(--acc-line); box-shadow: 0 0 0 3px rgba(95,227,230,0.13); }
.dd-btn .dd-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-caret { color: var(--dim); transition: transform .18s; flex-shrink: 0; font-size: 10px; }
.dd.open .dd-caret { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--panel-2); border: 1px solid var(--hair); border-radius: var(--radius-sm); box-shadow: 0 20px 40px -16px #000; padding: 5px; max-height: 240px; overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: .16s; }
.dd.open .dd-menu { opacity: 1; pointer-events: auto; transform: none; }
.dd-opt { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 7px; cursor: pointer; color: var(--txt); font-size: 14px; }
.dd-opt:hover { background: rgba(95,227,230,0.08); color: var(--acc); }
.dd-opt.sel { background: rgba(95,227,230,0.12); color: var(--acc); }
/* ===== 3D HERO ===== */
/* ============================================================
   3D HERO — Molten Amber  (drop into style.css; uses existing
   --acc/--gold/--disp/--mono/--line/--glow tokens)
   ============================================================ */
.h3d-hero { position: relative; overflow: hidden; padding: clamp(64px,8vh,116px) 5vw clamp(80px,10vh,132px); isolation: isolate; }

/* ambient background */
.h3d-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.h3d-grid { position: absolute; inset: -2px;
  background: linear-gradient(rgba(95,227,230,.05) 1px, transparent 1px) 0 0/62px 62px,
              linear-gradient(90deg, rgba(95,227,230,.05) 1px, transparent 1px) 0 0/62px 62px;
  -webkit-mask: radial-gradient(120% 92% at 72% 22%, #000 30%, transparent 74%);
          mask: radial-gradient(120% 92% at 72% 22%, #000 30%, transparent 74%); opacity: .55; }
.h3d-glow { position: absolute; border-radius: 50%; filter: blur(64px); }
.h3d-glow-a { top: -14%; right: 4%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(95,227,230,.28), transparent 62%); animation: h3dGlow 9s ease-in-out infinite; }
.h3d-glow-b { bottom: -24%; left: -6%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(166,236,255,.13), transparent 60%); animation: h3dGlow 11s ease-in-out infinite reverse; }
@keyframes h3dGlow { 0%,100% { transform: scale(1) translateY(0); opacity: .9; } 50% { transform: scale(1.12) translateY(-14px); opacity: 1; } }
.h3d-spark { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); opacity: 0; animation: h3dSpark 4s var(--d) ease-in-out infinite; }
@keyframes h3dSpark { 0%,100% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-18px); } }

.h3d-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px,4vw,64px); align-items: center; }

/* ---------- copy ---------- */
.h3d-copy { max-width: 560px; }
.h3d-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; color: var(--gold); background: rgba(166,236,255,.06); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-bottom: 24px; }
.h3d-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe38a; animation: h3dPing 1.8s ease-out infinite; }
@keyframes h3dPing { 0% { box-shadow: 0 0 0 0 rgba(111,227,138,.55); } 70%,100% { box-shadow: 0 0 0 8px rgba(111,227,138,0); } }
.h3d-title { font-family: var(--disp); font-weight: 700; font-size: clamp(40px,5.2vw,68px); line-height: 1.02; letter-spacing: -.02em; color: var(--txt-hi); }
.h3d-grad { background: linear-gradient(100deg, var(--gold), var(--acc) 55%, #2aa5c2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 22px var(--glow)); }
.h3d-sub { margin-top: 22px; font-size: 17px; line-height: 1.62; color: var(--dim); max-width: 500px; }
.h3d-sub b { color: var(--gold); font-family: var(--mono); font-weight: 700; }
.h3d-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.h3d-btn-primary { display: inline-flex; align-items: center; gap: 9px; font-family: var(--disp); font-weight: 700; font-size: 15px; padding: 14px 26px; border: 0; border-radius: 4px; cursor: pointer; color: #04181b; background: linear-gradient(180deg, var(--acc-bright), var(--acc)); box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(230,248,250,.25); transition: transform .12s, box-shadow .2s, filter .2s; }
.h3d-btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 42px -10px var(--glow), inset 0 1px 0 rgba(230,248,250,.3); }
.h3d-btn-primary svg { width: 17px; height: 17px; transition: transform .18s; }
.h3d-btn-primary:hover svg { transform: translateX(3px); }
.h3d-btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-family: var(--disp); font-weight: 600; font-size: 15px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(230,248,250,.02); color: var(--txt-hi); text-decoration: none; transition: .16s; }
.h3d-btn-ghost:hover { border-color: var(--acc); color: var(--acc); background: rgba(95,227,230,.06); }
.h3d-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.h3d-avstack { display: flex; }
.h3d-avstack span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 11px; color: #04181b; }
.h3d-avstack span:first-child { margin-left: 0; }
.h3d-trust-txt { font-size: 13px; color: var(--dim); }
.h3d-trust-txt b { color: var(--txt-hi); }
.h3d-stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- 3D stage ---------- */
.h3d-stage { perspective: 1400px; perspective-origin: 60% 40%; }
.h3d-tilt { position: relative; transform-style: preserve-3d;
  transform: rotateX(calc(6deg + var(--rx,0deg))) rotateY(calc(-17deg + var(--ry,0deg))) translate3d(var(--px,0px), var(--py,0px), 0);
  transition: transform .12s ease-out; animation: h3dRise 1s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes h3dRise { from { opacity: 0; transform: rotateX(18deg) rotateY(-30deg) translateY(40px); } }

.h3d-card { position: relative; width: 100%; border-radius: 14px; background: linear-gradient(160deg, #0f1a20, #0a1318); border: 1px solid var(--line); box-shadow: 0 50px 90px -30px #000, 0 0 0 1px rgba(95,227,230,.08), inset 0 1px 0 rgba(230,248,250,.05); overflow: hidden; transform-style: preserve-3d; }
.h3d-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 30%, rgba(166,236,255,.10) 50%, transparent 70%); animation: h3dSheen 6s ease-in-out infinite; }
@keyframes h3dSheen { 0%,100% { transform: translateX(-30%); opacity: 0; } 45%,55% { opacity: 1; } 60% { transform: translateX(30%); opacity: 0; } }
.h3d-card-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: rgba(95,227,230,.04); }
.h3d-brand { font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--txt-hi); display: flex; align-items: center; gap: 8px; }
.h3d-mark { color: var(--acc); text-shadow: 0 0 12px var(--glow); }
.h3d-armed { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--acc); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.h3d-armed-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: h3dBlink 1.1s ease-in-out infinite; }
@keyframes h3dBlink { 50% { opacity: .35; } }
.h3d-card-body { display: grid; grid-template-columns: 1fr 116px; min-height: 268px; }
.h3d-feed { padding: 16px 18px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }
.h3d-feed-label { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* queue-drop message */
.h3d-drop { display: grid; grid-template-columns: 34px 1fr; gap: 10px; position: relative; animation: h3dDropIn 6s ease-in-out infinite; }
@keyframes h3dDropIn { 0%,8% { opacity: 0; transform: translateY(-8px); } 14%,86% { opacity: 1; transform: none; } 94%,100% { opacity: 0; transform: translateY(-8px); } }
.h3d-drop-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #33474d, #16262b); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 12px; color: #dfeef0; }
.h3d-drop-head { font-size: 13px; color: var(--txt-hi); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.h3d-app { font-family: var(--mono); font-size: 7px; background: var(--acc); color: #04181b; padding: 1px 4px; border-radius: 2px; letter-spacing: .1em; }
.h3d-drop-embed { margin-top: 8px; padding: 12px; border-left: 3px solid var(--acc); background: rgba(95,227,230,.06); border-radius: 0 6px 6px 0; }
.h3d-drop-title { font-family: var(--disp); font-weight: 700; font-size: 14px; color: var(--txt-hi); margin-bottom: 10px; }
.h3d-joinbtn { position: relative; font-family: var(--body); font-weight: 700; font-size: 13px; padding: 9px 18px; border: 0; border-radius: 5px; background: #248046; color: #fff; overflow: hidden; animation: h3dBtnPulse 6s ease-in-out infinite; }
@keyframes h3dBtnPulse { 0%,24% { box-shadow: 0 0 0 0 rgba(95,227,230,0); } 32%,46% { box-shadow: 0 0 0 3px rgba(95,227,230,.5); } 50% { box-shadow: 0 0 0 6px rgba(95,227,230,0); } 100% { box-shadow: 0 0 0 0 rgba(95,227,230,0); } }
.h3d-joinbtn .l2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #1f7a44; color: #fff; opacity: 0; animation: h3dSwap 6s ease-in-out infinite; }
@keyframes h3dSwap { 0%,48% { opacity: 0; } 52%,88% { opacity: 1; } 92%,100% { opacity: 0; } }
.h3d-crosshair { position: absolute; top: 50%; right: 22px; width: 26px; height: 26px; pointer-events: none; opacity: 0; animation: h3dCross 6s ease-in-out infinite; }
.h3d-crosshair::before, .h3d-crosshair::after { content: ''; position: absolute; background: var(--acc); box-shadow: 0 0 8px var(--glow); }
.h3d-crosshair::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.h3d-crosshair::after { top: 50%; left: 0; height: 2px; width: 100%; transform: translateY(-50%); }
@keyframes h3dCross { 0%,30% { opacity: 0; transform: translate(46px,-64px) scale(1.6); } 44% { opacity: 1; transform: translate(0,-50%) scale(1); } 50% { transform: translate(0,-50%) scale(.75); } 54%,84% { opacity: .9; transform: translate(0,-50%) scale(1); } 90%,100% { opacity: 0; } }

/* right rail */
.h3d-rail { padding: 16px 14px; display: flex; flex-direction: column; gap: 14px; background: rgba(0,0,0,.2); }
.h3d-rail-stat b { display: block; font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--acc); text-shadow: 0 0 14px var(--glow); }
.h3d-rail-stat label { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.h3d-spark-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; margin-top: auto; }
.h3d-spark-bars i { flex: 1; background: linear-gradient(180deg, var(--acc), var(--acc-dim)); border-radius: 1px; animation: h3dBar 1.4s ease-in-out infinite; }
.h3d-spark-bars i:nth-child(2) { animation-delay: .15s; } .h3d-spark-bars i:nth-child(3) { animation-delay: .3s; } .h3d-spark-bars i:nth-child(4) { animation-delay: .45s; } .h3d-spark-bars i:nth-child(5) { animation-delay: .6s; }
@keyframes h3dBar { 0%,100% { height: 30%; } 50% { height: 90%; } }

/* floating layers (translateZ baked into keyframes) */
.h3d-float { position: absolute; transform: translateZ(var(--z)); }
.h3d-chip-latency { top: 8%; left: -10%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(160deg, #101c22, #0a1218); border: 1px solid var(--line); box-shadow: 0 24px 50px -18px #000, 0 0 30px -12px var(--glow); animation: h3dFloatA 5s ease-in-out infinite, h3dFlash 6s ease-in-out infinite; }
.h3d-chip-num { font-family: var(--mono); font-weight: 700; font-size: 30px; color: var(--gold); text-shadow: 0 0 18px var(--gold-glow); }
.h3d-chip-unit { font-family: var(--mono); font-size: 14px; color: var(--acc); }
.h3d-chip-label { flex-basis: 100%; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }
@keyframes h3dFlash { 0%,46% { filter: brightness(1); } 52% { filter: brightness(1.5); } 62%,100% { filter: brightness(1); } }
@keyframes h3dFloatA { 0%,100% { transform: translateZ(var(--z)) translateY(0); } 50% { transform: translateZ(var(--z)) translateY(-12px); } }
.h3d-toast { bottom: 6%; right: -12%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(160deg, #0c1815, #0a120c); border: 1px solid rgba(111,227,138,.4); box-shadow: 0 24px 50px -18px #000, 0 0 30px -14px rgba(111,227,138,.5); animation: h3dToast 6s ease-in-out infinite; }
@keyframes h3dToast { 0%,46% { opacity: 0; transform: translateZ(var(--z)) translateX(20px) scale(.9); } 54%,86% { opacity: 1; transform: translateZ(var(--z)) translateX(0) scale(1); } 94%,100% { opacity: 0; transform: translateZ(var(--z)) translateX(20px) scale(.9); } }
.h3d-toast-ico { width: 28px; height: 28px; border-radius: 50%; background: #6fe38a; color: #052018; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.h3d-toast b { display: block; font-size: 13px; color: var(--txt-hi); }
.h3d-toast span { font-family: var(--mono); font-size: 10px; color: #6fe38a; }
.h3d-fleet { top: -9%; right: 2%; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: linear-gradient(160deg, #0f1a20, #0a1318); border: 1px solid var(--line); box-shadow: 0 20px 40px -16px #000; animation: h3dFloatB 6s ease-in-out infinite; }
.h3d-fleet .av { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0a1318; margin-left: -12px; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 10px; color: #04181b; background: linear-gradient(135deg, var(--gold), var(--acc-dim)); }
.h3d-fleet .av:first-child { margin-left: 0; }
.h3d-fleet b { font-family: var(--mono); font-size: 11px; color: var(--acc); white-space: nowrap; }
@keyframes h3dFloatB { 0%,100% { transform: translateZ(var(--z)) translateY(0); } 50% { transform: translateZ(var(--z)) translateY(9px); } }

/* floor reflection */
.h3d-floor { position: absolute; left: 8%; right: 8%; bottom: -46px; height: 80px; background: radial-gradient(ellipse at center, rgba(95,227,230,.28), transparent 70%); filter: blur(22px); transform: translateZ(-40px) rotateX(80deg); opacity: .55; }

/* responsive */
@media (max-width: 960px) {
  .h3d-inner { grid-template-columns: 1fr; gap: 60px; }
  .h3d-copy { max-width: none; text-align: center; margin: 0 auto; }
  .h3d-cta, .h3d-trust { justify-content: center; }
  .h3d-stage { margin: 0 auto; max-width: 460px; width: 100%; perspective: 1200px; }
  .h3d-chip-latency { left: -4%; } .h3d-toast { right: -4%; }
}
@media (max-width: 560px) {
  .h3d-title { font-size: clamp(34px,10vw,44px); }
  .h3d-float { display: none; }
  .h3d-card-body { grid-template-columns: 1fr; }
  .h3d-feed { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}
@media (prefers-reduced-motion: reduce) {
  .h3d-tilt, .h3d-drop, .h3d-joinbtn, .h3d-crosshair, .h3d-toast, .h3d-chip-latency,
  .h3d-card::before, .h3d-spark, .h3d-spark-bars i, .h3d-glow, .h3d-fleet, .h3d-live-dot, .h3d-armed-dot { animation: none !important; }
  .h3d-joinbtn .l2 { opacity: 1; }  /* show the "Joined" success state statically */
  .h3d-toast, .h3d-chip-latency { opacity: 1; transform: translateZ(var(--z)); }
}

/* ============================================================
   SALES SECTIONS — comparison, security, testimonials, final CTA
   ============================================================ */
/* comparison */
.cmp-wrap { margin-top: 40px; overflow-x: auto; }
.cmp { width: 100%; max-width: 920px; margin: 0 auto; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--dim); text-align: center; }
.cmp thead th:first-child { text-align: left; }
.cmp td:first-child { color: var(--txt); }
.cmp td:not(:first-child) { text-align: center; color: var(--dim); font-family: var(--mono); font-size: 12.5px; }
.cmp .cmp-us { position: relative; }
.cmp thead .cmp-us { color: var(--acc); font-family: var(--disp); font-size: 15px; display: table-cell; }
.cmp thead .cmp-us .logo-badge { display: inline-block; vertical-align: middle; margin-right: 6px; }
.cmp tbody td.cmp-us { color: var(--txt-hi); font-weight: 700; background: rgba(95,227,230,0.05); }
.cmp tbody tr td.cmp-us { border-left: 1px solid var(--acc-line); border-right: 1px solid var(--acc-line); }
.cmp tbody tr:last-child td.cmp-us { border-bottom: 1px solid var(--acc-line); }
.cmp thead th.cmp-us { border: 1px solid var(--acc-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: rgba(95,227,230,0.08); }
.cmp .yes { color: var(--acc); font-weight: 700; } .cmp .no { color: var(--dim2); } .cmp .mid { color: var(--gold); }

/* security */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 40px; }
.sec-card { padding: 24px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: .2s; }
.sec-card:hover { border-color: var(--line); transform: translateY(-2px); }
.sec-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(95,227,230,0.1); border: 1px solid var(--line); color: var(--acc); margin-bottom: 14px; }
.sec-ico svg { width: 20px; height: 20px; }
.sec-card h3 { font-family: var(--disp); font-size: 16px; color: var(--txt-hi); margin-bottom: 8px; }
.sec-card p { font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.sec-foot { text-align: center; margin-top: 28px; font-family: var(--mono); font-size: 11px; color: var(--dim2); letter-spacing: 0.02em; line-height: 1.6; }

/* testimonials */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 40px; }
.tst-card { position: relative; padding: 24px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.tst-card::before { content: '\201C'; position: absolute; top: 6px; right: 18px; font-size: 90px; font-family: Georgia, serif; color: rgba(95,227,230,0.08); line-height: 1; }
.tst-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.tst-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 14px; color: #04181b; background: linear-gradient(135deg, var(--acc), var(--acc-dim)); }
.tst-head b { display: block; font-family: var(--disp); font-weight: 600; font-size: 15px; color: var(--txt-hi); }
.tst-head span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.tst-stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.tst-card p { font-size: 14px; line-height: 1.6; color: var(--txt); margin-bottom: 14px; position: relative; }
.tst-chip { display: inline-block; font-family: var(--mono); font-size: 10.5px; color: var(--acc); background: rgba(95,227,230,0.08); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* final CTA */
.lp-final { position: relative; padding: 90px 5vw; text-align: center; overflow: hidden; }
.lp-final-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 500px; background: radial-gradient(ellipse at center, rgba(95,227,230,0.14), transparent 60%); pointer-events: none; }
.lp-final-in { position: relative; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.lp-final-in .logo-badge { margin-bottom: 22px; }
.lp-final-chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--gold); border: 1px solid var(--line); background: rgba(166,236,255,0.05); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.lp-final h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(30px,4.5vw,46px); color: var(--txt-hi); line-height: 1.05; }
.lp-final p { margin: 18px auto 28px; max-width: 480px; font-size: 16px; line-height: 1.6; color: var(--dim); }
.lp-final-trust { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.02em; }

/* ============================================================
   BUTTON POLISH — account toolbar, primary gloss, logo tweak
   ============================================================ */
/* account card: labelled Connect + icon toolbar */
.acct-btns { display: flex; gap: 6px; margin-top: 12px; }
.ab-main { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px; font-family: var(--body); font-weight: 600; font-size: 12.5px; border-radius: 9px; cursor: pointer; background: rgba(230,248,250,0.03); border: 1px solid var(--hair); color: var(--txt); transition: 0.15s; white-space: nowrap; }
.ab-main svg { width: 15px; height: 15px; color: var(--dim); transition: 0.15s; }
.ab-main:hover { border-color: var(--acc-line); color: var(--acc-bright); background: rgba(95,227,230,0.07); }
.ab-main:hover svg { color: var(--acc); }
.ab-ico { width: 38px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; cursor: pointer; background: rgba(230,248,250,0.03); border: 1px solid var(--hair); color: var(--dim); transition: 0.15s; }
.ab-ico svg { width: 15px; height: 15px; }
.ab-ico:hover { border-color: var(--acc-line); color: var(--acc); background: rgba(95,227,230,0.06); }
.ab-ico.on { background: rgba(95,227,230,0.16); border-color: var(--acc-line); color: var(--acc); box-shadow: 0 0 14px -5px var(--glow); }
.ab-ico.danger:hover { border-color: var(--hot); color: var(--hot); background: rgba(255,92,122,0.08); }

/* accounts panel top actions */
#connect-all { color: var(--acc); background: rgba(95,227,230,0.09); border-color: var(--acc-line); }
#connect-all:hover { background: rgba(95,227,230,0.15); }

/* primary buttons: subtle gloss + calmer cyan so they read premium, not neon */
.btn-solid { background: linear-gradient(180deg, #86ecef, #46cccf); color: #04282b; box-shadow: 0 6px 20px -9px var(--glow), inset 0 1px 0 rgba(255,255,255,0.32); font-weight: 700; letter-spacing: 0.01em; }
.btn-solid:hover { filter: brightness(1.04); box-shadow: 0 10px 28px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-solid.danger { background: linear-gradient(180deg, #ff7d97, #ff4f6f); color: #2a0410; }
.mini-btn { color: var(--txt-hi); background: rgba(230,248,250,0.04); }
.mini-btn:hover { background: rgba(95,227,230,0.1); color: var(--acc); border-color: var(--acc-line); }
.mini-btn.ghost { color: var(--dim); background: transparent; }

/* logo: a touch less zoom so the mark has breathing room, cyan-tinted ring */
.logo-badge { background: #060a0c; box-shadow: 0 0 0 1px var(--hair), inset 0 0 0 1px rgba(95,227,230,0.12), 0 0 16px -6px var(--glow); }
.logo-badge img { height: 196%; transform: translate(-51%, -47%); }

/* ============================================================
   LEGAL PAGES (terms / privacy)
   ============================================================ */
.legal { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 40px 5vw 80px; }
.legal-back { display: inline-block; margin-bottom: 30px; color: var(--dim); text-decoration: none; font-family: var(--mono); font-size: 12px; transition: .15s; }
.legal-back:hover { color: var(--acc); }
.legal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.legal-head h1 { font-family: var(--disp); font-weight: 700; font-size: 32px; color: var(--txt-hi); }
.legal-updated { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 6px; }
.legal-callout { background: rgba(95,227,230,0.05); border: 1px solid var(--line); border-left: 3px solid var(--acc); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 30px; font-size: 14.5px; line-height: 1.6; color: var(--txt); }
.legal-callout b { color: var(--txt-hi); }
.legal h2 { font-family: var(--disp); font-weight: 600; font-size: 19px; color: var(--txt-hi); margin: 28px 0 10px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.7; color: var(--dim); }
.legal p b, .legal li b { color: var(--txt); }
.legal ul { margin: 10px 0 10px 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 13px; color: var(--dim); }
.legal-foot a { color: var(--acc); text-decoration: none; }
.legal-foot a:hover { text-decoration: underline; }

/* ============================================================
   3D SHOWCASE — realistic queue message + instant-join anim
   ============================================================ */
/* calmer tilt + pull floating cards in so nothing clips */
.h3d-tilt { transform: rotateX(calc(5deg + var(--rx,0deg))) rotateY(calc(-13deg + var(--ry,0deg))) translate3d(var(--px,0px), var(--py,0px), 0); }
.h3d-chip-latency { left: -3%; } .h3d-toast { right: -5%; } .h3d-fleet { right: 3%; }

.h3d-qmsg { display: grid; grid-template-columns: 36px 1fr; gap: 11px; animation: h3dQIn 6s ease-in-out infinite; }
@keyframes h3dQIn { 0% { opacity: 0; transform: translateY(-8px); } 5%,95% { opacity: 1; transform: none; } 99.5%,100% { opacity: 0; transform: translateY(-8px); } }
.h3d-qav { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #5865f2, #3b45c4); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 12px; color: #fff; }
.h3d-qbody { min-width: 0; }
.h3d-qhead { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--txt-hi); font-weight: 600; }
.h3d-qtime { font-family: var(--mono); font-size: 9px; color: var(--dim2); font-weight: 400; }
.h3d-qembed { margin-top: 8px; padding: 12px 14px; border-left: 4px solid #5865f2; background: rgba(88,101,242,0.07); border-radius: 4px 7px 7px 4px; }
.h3d-qtitle { font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--txt-hi); margin-bottom: 7px; }
.h3d-qdesc { font-size: 12.5px; line-height: 1.5; color: var(--dim); margin-bottom: 8px; }
.h3d-hg { display: inline-block; animation: h3dHg 2s ease-in-out infinite; }
@keyframes h3dHg { 0%,100% { transform: rotate(0); } 50% { transform: rotate(180deg); } }
.h3d-qstat { font-size: 12.5px; color: var(--dim); }
.h3d-qstat b { color: var(--txt-hi); font-weight: 600; }
.h3d-qbtns { display: flex; gap: 8px; margin-top: 12px; }
.h3d-qjoin { position: relative; font-family: var(--body); font-weight: 600; font-size: 13px; padding: 9px 22px; border: 0; border-radius: 6px; background: #5865f2; color: #fff; animation: h3dJoin 6s ease-in-out infinite; }
@keyframes h3dJoin {
  0%,11% { transform: scale(1); box-shadow: 0 0 0 0 rgba(95,227,230,0); }
  13% { transform: scale(0.93); box-shadow: 0 0 0 4px rgba(95,227,230,0.55); }
  16% { transform: scale(1); box-shadow: 0 0 0 8px rgba(95,227,230,0); background: #4752c4; }
  18%,88% { transform: scale(1); background: #4752c4; }
  92%,100% { background: #5865f2; }
}
.h3d-qleave { font-family: var(--body); font-weight: 600; font-size: 13px; padding: 9px 20px; border: 0; border-radius: 6px; background: #3a3d44; color: #dbdee1; }
/* cursor that flies in and clicks Join */
.h3d-cursor { position: absolute; right: -6px; bottom: -8px; width: 15px; height: 15px; pointer-events: none; opacity: 0;
  background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M5 3l14 8-6 1.5L10 20 5 3z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M5 3l14 8-6 1.5L10 20 5 3z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); animation: h3dCursor 6s ease-in-out infinite; }
@keyframes h3dCursor {
  0%,6% { opacity: 0; transform: translate(24px, 26px); }
  10% { opacity: 1; transform: translate(0, 0); }
  13% { opacity: 1; transform: translate(-1px, -1px) scale(0.85); }
  16% { opacity: 1; transform: translate(0, 0) scale(1); }
  22%,100% { opacity: 0; transform: translate(10px, 12px); }
}
/* success line appears right after the click */
.h3d-qsuccess { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6fe38a; font-weight: 600; padding: 9px 12px; border-radius: 7px; background: rgba(111,227,138,0.08); border: 1px solid rgba(111,227,138,0.28); opacity: 0; animation: h3dQSuccess 6s ease-in-out infinite; }
.h3d-qsuccess b { color: #a6f4c0; }
.h3d-qsuccess::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #6fe38a; color: #04281a; font-size: 11px; font-weight: 800; flex-shrink: 0; }
@keyframes h3dQSuccess {
  0%,15% { opacity: 0; transform: translateY(-6px); }
  19%,88% { opacity: 1; transform: none; }
  94%,100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .h3d-qmsg, .h3d-qjoin, .h3d-cursor, .h3d-qsuccess, .h3d-hg { animation: none !important; }
  .h3d-qsuccess { opacity: 1; } .h3d-cursor { opacity: 0; } .h3d-qjoin { background: #4752c4; }
}

/* ============================================================
   SHOWCASE — queue roster (empty -> you joined) + float cleanup
   ============================================================ */
/* reposition floating cards to card corners so they never clip the top edge */
.h3d-fleet { top: 3%; right: -3%; bottom: auto; left: auto; }
.h3d-chip-latency { top: auto; bottom: 7%; left: -4%; right: auto; }
.h3d-floor { opacity: 0.32; }

/* roster inside the embed: empty state cross-fades to "@you joined" */
.h3d-qroster { position: relative; margin-top: 6px; min-height: 46px; }
.h3d-qroster-label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.h3d-qempty { font-size: 12.5px; color: var(--dim); animation: h3dRosterEmpty 6s ease-in-out infinite; }
.h3d-qentry { position: absolute; left: 0; right: 0; top: 19px; display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; background: rgba(95,227,230,0.08); border: 1px solid var(--line); opacity: 0; animation: h3dRosterEntry 6s ease-in-out infinite; }
.h3d-qnum { width: 18px; height: 18px; border-radius: 5px; background: rgba(95,227,230,0.2); color: var(--acc); font-family: var(--mono); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.h3d-qname { font-family: var(--body); font-weight: 600; font-size: 12.5px; color: var(--acc); background: rgba(95,227,230,0.14); padding: 1px 7px; border-radius: 4px; }
.h3d-qtag { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--gold); }
@keyframes h3dRosterEmpty { 0%,13% { opacity: 1; } 17%,100% { opacity: 0; } }
@keyframes h3dRosterEntry { 0%,14% { opacity: 0; transform: translateY(6px); } 19%,88% { opacity: 1; transform: none; } 94%,100% { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .h3d-qempty { opacity: 0; } .h3d-qentry { opacity: 1; animation: none; } }

/* ============================================================
   3D SHOWCASE — visual refinement pass (calmer, more premium)
   ============================================================ */
/* subtler, less-distorted tilt */
.h3d-stage { perspective: 1900px; perspective-origin: 50% 34%; }
.h3d-tilt { transform: rotateX(calc(3.5deg + var(--rx,0deg))) rotateY(calc(-9deg + var(--ry,0deg))) translate3d(var(--px,0px), var(--py,0px), 0); }

/* richer, cleaner card surface */
.h3d-card { border-radius: 16px; border: 1px solid rgba(95,227,230,0.15);
  background: linear-gradient(168deg, #16232c 0%, #0d151b 55%, #0a1015 100%);
  box-shadow: 0 60px 110px -45px rgba(0,0,0,0.95), 0 24px 60px -34px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.07); }
/* kill the cheap diagonal light-sweep; use a soft static top glaze */
.h3d-card::before { animation: none !important; opacity: 1 !important; background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 26%) !important; transform: none !important; }
.h3d-card-top { background: linear-gradient(180deg, rgba(95,227,230,0.05), transparent); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 15px 18px; }
.h3d-armed { border-color: rgba(95,227,230,0.3); background: rgba(95,227,230,0.06); }
.h3d-feed { padding: 18px; }
.h3d-rail { background: rgba(0,0,0,0.28); }
.h3d-rail-stat b { font-size: 24px; }

/* calm the ambient motion so the join sequence is the only busy thing */
.h3d-spark-bars i { animation-duration: 2.6s; opacity: 0.9; }
.h3d-hg { animation-duration: 3s; }
.h3d-glow-a { opacity: 0.55; }
.h3d-card::after { display: none; }

/* refined glass floating chips */
.h3d-chip-latency, .h3d-fleet { border: 1px solid rgba(95,227,230,0.2); box-shadow: 0 30px 60px -22px rgba(0,0,0,0.9), 0 0 40px -18px var(--glow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.h3d-chip-latency { background: linear-gradient(160deg, rgba(22,35,44,0.96), rgba(12,20,26,0.96)); }
.h3d-fleet { background: linear-gradient(160deg, rgba(22,35,44,0.96), rgba(12,20,26,0.96)); }
.h3d-chip-num { color: var(--acc); }
.h3d-floor { opacity: 0.28; background: radial-gradient(ellipse at center, rgba(95,227,230,0.3), transparent 70%); }

/* ============================================================
   LANDING — aurora background, scroll reveal, how-it-works, rail
   ============================================================ */
.lp-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); }
.lp-aurora span:nth-child(1) { width: 620px; height: 620px; top: -14%; left: -8%; background: radial-gradient(circle, rgba(95,227,230,0.20), transparent 66%); animation: auroraA 24s ease-in-out infinite; }
.lp-aurora span:nth-child(2) { width: 560px; height: 560px; top: 28%; right: -12%; background: radial-gradient(circle, rgba(166,236,255,0.13), transparent 64%); animation: auroraB 28s ease-in-out infinite; }
.lp-aurora span:nth-child(3) { width: 520px; height: 520px; bottom: -16%; left: 30%; background: radial-gradient(circle, rgba(95,227,230,0.11), transparent 64%); animation: auroraA 32s ease-in-out infinite reverse; }
@keyframes auroraA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,44px) scale(1.14); } }
@keyframes auroraB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-30px) scale(1.1); } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.25,1); }
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } .lp-aurora span { animation: none !important; } }

/* how-it-works modal */
.how-modal { width: 720px; }
.how-body { padding: 8px 18px 16px; display: flex; flex-direction: column; overflow-y: auto; }
.how-step { display: grid; grid-template-columns: 26px 44px 1fr; gap: 14px; align-items: start; padding: 16px 2px; border-bottom: 1px solid var(--line-soft); }
.how-step:last-child { border-bottom: 0; }
.how-num { font-family: var(--disp); font-weight: 700; font-size: 18px; color: var(--acc); opacity: 0.55; text-align: center; padding-top: 8px; }
.how-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(95,227,230,0.1); border: 1px solid var(--line); color: var(--acc); }
.how-ic svg { width: 22px; height: 22px; }
.how-step h3 { font-family: var(--disp); font-size: 16px; color: var(--txt-hi); margin-bottom: 5px; }
.how-step p { font-size: 13.5px; line-height: 1.55; color: var(--dim); }

/* rail: 3 clean stats + a live pulse (no bar-graph) */
.h3d-rail { gap: 14px; justify-content: flex-start; }
.h3d-rail-live { display: flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #6fe38a; }
.h3d-rail-dot { width: 6px; height: 6px; border-radius: 50%; background: #6fe38a; box-shadow: 0 0 8px #6fe38a; animation: h3dBlink 1.2s ease-in-out infinite; }

/* ============================================================
   DASHBOARD AUDIT FIXES — spacing, alignment, hierarchy
   ============================================================ */
/* topbar: 3-track grid so stats truly center + edges align with 16px deck gutter */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 16px; }
.topbar-mid { justify-self: center; }
.topbar-right { justify-self: end; }
/* equal side rails */
.deck { grid-template-columns: 340px 1fr 340px; }
/* stat chips: legible labels, balanced number */
.stat-chip label { font-size: 9.5px; letter-spacing: 0.1em; }
.stat-chip b { font-size: 18px; }
/* header dominance restored */
.panel-head h2 { font-size: 16px; }
.acct-name { font-size: 14px; }
/* consistent control rhythm in panels */
.switch.sm { margin-bottom: 12px; }
.ctrl-row.tight { margin-bottom: 12px; }
.ctrl-row .switch.sm { margin-bottom: 0; }
.panel > *:last-child { margin-bottom: 0; }
/* stacked bare inputs (webhook url/role) get breathing room */
.panel > .inp + .inp { margin-top: 8px; }
#wh-test { flex-shrink: 0; }
/* add-account CTA sits at a consistent distance */
.add-acct .btn-solid.full { margin-top: 4px; }
/* account card: symmetric padding + on-scale gaps */
.acct { padding: 12px; }
.acct-head { gap: 12px; }
.acct-watch { margin-top: 12px; padding-top: 12px; }
/* activity log header aligns with rows (18px inset) */
.log-head { padding: 10px 18px; }
/* feed-chip remove is now a real button */
.feed-chip .x { border: 0; background: none; padding: 0; font: inherit; }

/* ============================================================
   NOTIFICATIONS · SNIPE ALERT · ADMIN UPDATES · SIGN-IN ANIM
   ============================================================ */

/* --- sign-in entrance --- */
.app-enter { animation: appEnter 0.5s cubic-bezier(.2,.8,.25,1) both; }
.app-enter .topbar { animation: appDrop 0.5s cubic-bezier(.2,.8,.25,1) both; }
.app-enter .deck > * { animation: appRise 0.55s cubic-bezier(.2,.8,.25,1) both; }
.app-enter .deck > *:nth-child(1) { animation-delay: 0.06s; }
.app-enter .deck > *:nth-child(2) { animation-delay: 0.13s; }
.app-enter .deck > *:nth-child(3) { animation-delay: 0.20s; }
.app-enter .logbar { animation: appRise 0.55s cubic-bezier(.2,.8,.25,1) 0.24s both; }
@keyframes appEnter { from { opacity: 0; } to { opacity: 1; } }
@keyframes appDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes appRise { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

/* --- notification bell --- */
.notif-chip { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #0c161a, #061014); color: var(--dim); cursor: pointer; transition: 0.16s; }
.notif-chip:hover { color: var(--acc); border-color: var(--acc-line); box-shadow: 0 0 0 1px var(--glow); }
.notif-chip svg { width: 19px; height: 19px; }
.notif-chip.open { color: var(--acc); border-color: var(--acc-line); box-shadow: 0 0 0 1px var(--glow); }
.notif-badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 9.5px; color: var(--ink); background: linear-gradient(180deg, var(--acc-bright), var(--acc)); border: 1.5px solid var(--bg); border-radius: 999px; box-shadow: 0 0 10px -1px var(--glow); }
.notif-badge.hidden { display: none; }
.notif-menu { position: absolute; top: 50px; right: 0; width: 330px; max-width: calc(100vw - 32px); background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -22px #000, 0 0 60px -30px var(--glow); opacity: 0; pointer-events: none; transform: translateY(-8px) scale(0.98); transform-origin: top right; transition: 0.17s cubic-bezier(.2,.9,.3,1.05); z-index: 20; overflow: hidden; }
.notif-chip.open .notif-menu { opacity: 1; pointer-events: auto; transform: none; }
.notif-head { padding: 13px 16px 11px; font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; color: var(--txt-hi); border-bottom: 1px solid var(--line-soft); }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); cursor: default; transition: background 0.14s; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: rgba(95,227,230,0.035); }
.notif-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.notif-kind { font-family: var(--mono); font-weight: 700; font-size: 8.5px; letter-spacing: 0.09em; text-transform: uppercase; padding: 2.5px 7px; border-radius: 999px; color: var(--acc); background: rgba(95,227,230,0.12); border: 1px solid var(--acc-line); }
.notif-kind.info { color: #6aa8ff; background: rgba(106,168,255,0.12); border-color: rgba(106,168,255,0.35); }
.notif-kind.alert { color: var(--hot); background: rgba(255,92,122,0.12); border-color: rgba(255,92,122,0.38); }
.notif-time { font-family: var(--mono); font-size: 10px; color: var(--dim2); flex-shrink: 0; }
.notif-title { font-family: var(--disp); font-weight: 600; font-size: 13.5px; color: var(--txt-hi); margin-bottom: 3px; }
.notif-body { font-size: 12.5px; line-height: 1.5; color: var(--dim); white-space: pre-wrap; }
.notif-empty { padding: 30px 16px; text-align: center; font-size: 12.5px; color: var(--dim2); }

/* --- snipe alert banner --- */
.snipe-alert { position: fixed; top: 22px; left: 50%; z-index: 120; display: flex; align-items: center; gap: 14px; padding: 15px 16px 15px 18px; min-width: 340px; max-width: calc(100vw - 32px); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--acc-line); border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000, 0 0 0 1px var(--glow), 0 0 60px -14px var(--glow); transform: translate(-50%, -26px) scale(0.94); opacity: 0; transition: transform 0.34s cubic-bezier(.16,1.1,.3,1), opacity 0.28s ease; overflow: hidden; }
.snipe-alert.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.snipe-alert.hidden { display: none; }
.snipe-alert-glow { position: absolute; inset: 0; background: radial-gradient(220px 90px at 12% 0%, var(--glow), transparent 70%); opacity: 0.6; pointer-events: none; }
.snipe-alert-ico { position: relative; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); background: linear-gradient(180deg, var(--acc-bright), var(--acc)); box-shadow: 0 0 20px -3px var(--glow); animation: snipePop 0.5s cubic-bezier(.16,1.4,.3,1) both; }
.snipe-alert-ico svg { width: 22px; height: 22px; }
.snipe-alert-body { position: relative; flex: 1; }
.snipe-alert-title { font-family: var(--disp); font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em; color: var(--acc); text-shadow: 0 0 14px var(--glow); }
.snipe-alert-text { font-size: 12.5px; color: var(--txt); margin-top: 2px; }
.snipe-alert-text b { color: var(--txt-hi); font-weight: 700; }
.snipe-alert-x { position: relative; flex-shrink: 0; width: 24px; height: 24px; border: 0; background: transparent; color: var(--dim); font-size: 13px; cursor: pointer; border-radius: 6px; transition: 0.14s; }
.snipe-alert-x:hover { color: var(--txt-hi); background: rgba(255,255,255,0.06); }
@keyframes snipePop { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* --- admin tabs + updates --- */
.admin-tabs { display: flex; gap: 6px; margin: 0 0 16px; border-bottom: 1px solid var(--line-soft); }
.admin-tab { position: relative; padding: 9px 4px; margin-bottom: -1px; font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--dim); background: transparent; border: 0; cursor: pointer; transition: color 0.15s; }
.admin-tab + .admin-tab { margin-left: 16px; }
.admin-tab:hover { color: var(--txt); }
.admin-tab.active { color: var(--acc); }
.admin-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); border-radius: 2px 2px 0 0; box-shadow: 0 0 8px var(--glow); }
.update-form { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 18px; }
.update-form textarea.inp { resize: vertical; min-height: 62px; line-height: 1.5; }
.update-form-row { display: flex; align-items: center; gap: 12px; }
.update-form-row .seg { flex: 1; max-width: 240px; }
.update-form-row .btn-solid { margin-left: auto; white-space: nowrap; }
.admin-updates { display: flex; flex-direction: column; gap: 10px; }
.au-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.au-main { flex: 1; min-width: 0; }
.au-title { display: flex; align-items: center; gap: 8px; font-family: var(--disp); font-weight: 600; font-size: 13.5px; color: var(--txt-hi); }
.au-body { font-size: 12.5px; line-height: 1.5; color: var(--dim); margin-top: 5px; white-space: pre-wrap; }
.au-time { font-family: var(--mono); font-size: 10px; color: var(--dim2); margin-top: 7px; }

/* ============================================================
   ACCOUNT HUB  ·  plans · keys · admin
   ============================================================ */
.hub-card { position: relative; display: flex; width: 940px; max-width: 100%; height: 86vh; max-height: 720px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 60px 120px -40px #000, 0 0 80px -50px var(--glow); overflow: hidden; animation: popIn 0.28s cubic-bezier(.2,.9,.3,1.1); }

/* sidebar */
.hub-side { flex: 0 0 236px; display: flex; flex-direction: column; padding: 20px 14px; background: linear-gradient(180deg, #0a1014, #070c10); border-right: 1px solid var(--line-soft); }
.hub-id { display: flex; align-items: center; gap: 11px; padding: 0 6px 4px; }
.hub-av { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-family: var(--disp); font-weight: 700; font-size: 17px; color: var(--ink); background: linear-gradient(135deg, var(--acc-bright), var(--acc-dim)); box-shadow: 0 0 18px -4px var(--glow); }
.hub-idmeta { min-width: 0; }
.hub-name { font-family: var(--disp); font-weight: 600; font-size: 15px; color: var(--txt-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-handle { font-family: var(--mono); font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-planpill { display: inline-flex; align-items: center; gap: 7px; margin: 12px 6px 16px; padding: 5px 12px; border-radius: 999px; font-family: var(--disp); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; width: fit-content; }
.hub-planpill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.hub-planpill[data-plan="free"] { color: #9fb0b6; background: rgba(159,176,182,0.12); border: 1px solid rgba(159,176,182,0.28); }
.hub-planpill[data-plan="pro"] { color: var(--acc); background: rgba(95,227,230,0.12); border: 1px solid var(--acc-line); }
.hub-planpill[data-plan="ultra"] { color: #b79cff; background: rgba(183,156,255,0.14); border: 1px solid rgba(183,156,255,0.4); }
.hub-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hub-navbtn { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--dim); font-family: var(--body); font-size: 13.5px; font-weight: 500; cursor: pointer; text-align: left; transition: 0.14s; }
.hub-navbtn svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.hub-navbtn:hover { background: rgba(255,255,255,0.035); color: var(--txt); }
.hub-navbtn.active { background: linear-gradient(180deg, rgba(95,227,230,0.16), rgba(95,227,230,0.05)); color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc-line); }
.hub-navbtn.admin-only { display: none; }
body.is-admin .hub-navbtn.admin-only { display: flex; }

/* Pro-gated controls for Free users */
.switch.plan-locked { opacity: 0.72; }
.plan-tag { display: inline-block; margin-left: 7px; padding: 1px 6px; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.06em; color: #b79cff; background: rgba(183,156,255,0.14); border: 1px solid rgba(183,156,255,0.4); border-radius: 999px; vertical-align: middle; }
#wh-style .seg-btn.locked { opacity: 0.5; }
#wh-style .seg-btn.locked::after { content: '🔒'; font-size: 8px; margin-left: 4px; }
a.btn-solid { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.btn-solid.full { display: flex; }
.delay-row { display: flex; align-items: center; gap: 9px; }
.delay-row .inp { width: 92px; }
.delay-unit { font-family: var(--mono); font-size: 11px; color: var(--dim); }
/* maintenance mode admin panel */
.maint-addrow { display: flex; gap: 8px; margin-bottom: 8px; }
.maint-addrow .inp { flex: 1; }
.maint-yourip { font-size: 12px; color: var(--dim); margin-bottom: 12px; }
.maint-yourip code { font-family: var(--mono); color: var(--acc); }
.maint-iplist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.maint-ipitem { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.maint-ipitem code { font-family: var(--mono); font-size: 12.5px; color: var(--txt-hi); }
.maint-you { font-family: var(--mono); font-size: 9px; color: var(--acc); border: 1px solid var(--acc-line); border-radius: 999px; padding: 1px 6px; margin-left: 6px; }
/* channel/server search in the add-channel modal */
.pane-search { width: 100%; margin: 6px 0 4px; padding: 7px 11px; font-size: 12.5px; font-family: var(--body); color: var(--txt); background: #070d10; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); transition: 0.15s; }
.pane-search:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 1px var(--glow); }
.pane-search::placeholder { color: var(--dim2); }

/* ---- top-picks polish ---- */
/* keyboard focus ring on every interactive control (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
.pick:focus-visible, .seg-btn:focus-visible, .hub-navbtn:focus-visible, .fchip:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px;
}
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
/* stop iOS from zooming into sub-16px inputs on focus */
@media (max-width: 640px) { .inp, .pane-search, input, textarea, select { font-size: 16px; } }
/* "how do I find my token?" expander */
.tok-help { margin-top: 8px; }
.tok-help summary { cursor: pointer; font-size: 11.5px; color: var(--acc); list-style: none; }
.tok-help summary::-webkit-details-marker { display: none; }
.tok-help summary::before { content: '›'; margin-right: 6px; display: inline-block; transition: transform .15s; }
.tok-help[open] summary::before { transform: rotate(90deg); }
.tok-help p { font-size: 11.5px; color: var(--dim); line-height: 1.55; margin-top: 6px; }
.tok-help code { font-family: var(--mono); color: var(--txt-hi); background: rgba(255,255,255,0.05); padding: 1px 4px; border-radius: 3px; }
/* redeem "get a key" link */
.hub-getkey { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--acc); text-decoration: none; }
.hub-getkey:hover { text-decoration: underline; }
/* trust row under pricing */
.lp-buytrust { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.lp-buytrust-pays { display: flex; gap: 10px; }
.lp-buytrust-pays .pay { width: 42px; height: 27px; display: flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 5px; padding: 0 5px; }
.lp-buytrust-pays .pay svg { width: 100%; height: 62%; }
.lp-buytrust-txt { font-size: 12.5px; color: var(--dim); text-align: center; }
.lp-buytrust-txt b { color: var(--txt); font-weight: 600; }
/* Start-button readiness hint */
.arm-hint { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em; color: var(--dim); white-space: nowrap; }
.arm-hint:empty { display: none; }
.arm-hint.warn { color: #ffce5a; }
.start-btn.warn { border-color: rgba(255,206,90,0.5); box-shadow: 0 0 0 1px rgba(255,206,90,0.28); }
.start-btn.warn .start-text { color: #ffce5a; }
.start-btn.warn .start-dot { background: #ffce5a; box-shadow: 0 0 8px #ffce5a; }
@media (max-width: 560px) { .arm-hint { display: none; } }
/* account connection error, shown inline on the card */
.acct-err { margin-top: 8px; padding: 6px 10px; font-size: 11px; line-height: 1.4; color: #ff8fa3; background: rgba(255,92,122,0.08); border: 1px solid rgba(255,92,122,0.22); border-radius: var(--radius-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* live feed status */
#feed-status.live { color: var(--acc); }

/* Arm all / Disarm all — 2x2 button grid */
.acct-actions.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* onboarding checklist */
.onboard { margin: 0 14px 14px; padding: 12px 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--acc-line); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--glow), 0 20px 44px -30px #000; animation: fadeUp 0.3s both; }
.onboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.onboard-title { font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--acc); }
.onboard-x { width: 22px; height: 22px; border: 0; background: transparent; color: var(--dim); cursor: pointer; border-radius: 5px; font-size: 12px; }
.onboard-x:hover { color: var(--txt-hi); background: rgba(255,255,255,0.06); }
.onboard-steps { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.onboard-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.onboard-step.done { color: var(--txt); }
.onboard-num { width: 20px; height: 20px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--dim); border: 1px solid var(--line); }
.onboard-step.done .onboard-num { color: var(--ink); background: var(--acc); border-color: var(--acc); }

/* snipe history tab */
.hist-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.hist-stat { padding: 14px 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); text-align: center; }
.hist-stat b { display: block; font-family: var(--mono); font-weight: 700; font-size: 20px; color: var(--txt-hi); }
.hist-stat label { display: block; margin-top: 3px; font-size: 10.5px; color: var(--dim); }
.hist-chart-wrap { padding: 14px 16px 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 16px; }
.hist-chart { display: flex; align-items: flex-end; gap: 4px; height: 112px; margin-top: 12px; }
.hist-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.hist-bar-n { font-family: var(--mono); font-size: 9px; color: var(--dim); }
.hist-bar-track { width: 100%; max-width: 24px; flex: 1; display: flex; align-items: flex-end; }
.hist-bar-fill { width: 100%; background: linear-gradient(180deg, var(--acc), var(--acc-dim)); border-radius: 3px 3px 0 0; transition: height 0.3s; }
.hist-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hist-servers, .hist-recent { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hist-srv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: 12.5px; }
.hist-srv-name { color: var(--txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-srv-n { color: var(--acc); font-family: var(--mono); font-weight: 700; }
.hist-row { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding: 7px 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.hist-row-acc { color: var(--txt-hi); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-row-ch { color: var(--dim); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-row-lat { font-family: var(--mono); font-size: 11px; color: var(--acc); }
.hist-row-t { font-family: var(--mono); font-size: 10px; color: var(--dim2); }
@media (max-width: 720px) { .hist-stats { grid-template-columns: repeat(2, 1fr); } .hist-cols { grid-template-columns: 1fr; } }

/* ============================================================
   PREMIUM GLASS PASS — statbar, panels, cards, micro-animations
   ============================================================ */
.statbar { display: flex; align-items: stretch; gap: 2px; padding: 5px; border-radius: 18px; background: rgba(13,20,25,0.5); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 var(--edge-hi), 0 14px 34px -22px #000; }
.stat { position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 14px; transition: background .2s; }
.stat:hover { background: rgba(255,255,255,0.035); }
.stat:not(:first-child)::before { content: ''; position: absolute; left: -1px; top: 24%; bottom: 24%; width: 1px; background: var(--hair); }
.stat-ic { display: flex; color: var(--dim); transition: color .2s; }
.stat-ic svg { width: 17px; height: 17px; }
.stat-tx { display: flex; flex-direction: column; line-height: 1; }
.stat-tx b { font-family: var(--disp); font-weight: 700; font-size: 18px; color: var(--txt-hi); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat-tx label { font-family: var(--mono); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.stat.ok .stat-ic { color: var(--acc); }
.stat.ok .stat-tx b { color: var(--acc); text-shadow: 0 0 12px var(--glow); }
.stat.bad .stat-ic { color: var(--hot); }
.stat.bad .stat-tx b { color: #ff8fa3; }
.stat.bump .stat-tx { animation: statBump .5s cubic-bezier(.2,1.3,.35,1); }
.stat.bump .stat-ic { animation: statPulse .6s ease; }
@keyframes statBump { 0% { transform: scale(1); } 32% { transform: scale(1.16); } 100% { transform: scale(1); } }
@keyframes statPulse { 0%,100% { filter: none; transform: scale(1); } 40% { filter: drop-shadow(0 0 7px currentColor); transform: scale(1.18); } }

/* glass panels — translucent + blur + hover glow + rounder */
.panel { background: linear-gradient(180deg, rgba(19,28,34,0.72), rgba(13,20,25,0.66)); -webkit-backdrop-filter: blur(15px) saturate(1.05); backdrop-filter: blur(15px) saturate(1.05); border-radius: 16px; box-shadow: inset 0 1px 0 var(--edge-hi), 0 26px 54px -34px #000; transition: border-color .24s ease, box-shadow .24s ease; }
.panel:hover { border-color: var(--acc-line); box-shadow: inset 0 1px 0 var(--edge-hi), 0 26px 54px -30px #000, 0 0 46px -26px var(--glow); }
.logbar { background: linear-gradient(180deg, rgba(19,28,34,0.72), rgba(13,20,25,0.66)); -webkit-backdrop-filter: blur(15px) saturate(1.05); backdrop-filter: blur(15px) saturate(1.05); border-radius: 16px; box-shadow: inset 0 1px 0 var(--edge-hi), 0 26px 54px -34px #000; }
.acct { border-radius: 13px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.acct:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -18px #000, 0 0 26px -20px var(--glow); }
.start-btn, .notif-chip, .user-mono { transition: transform .16s, box-shadow .16s, border-color .16s, background .16s; }
@media (prefers-reduced-motion: reduce) { .stat.bump .stat-tx, .stat.bump .stat-ic { animation: none; } }
.hub-navbtn.active svg { opacity: 1; }
.hub-side-foot { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.hub-foot-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--dim); font-family: var(--body); font-size: 13px; cursor: pointer; transition: 0.14s; }
.hub-foot-btn svg { width: 17px; height: 17px; }
.hub-foot-btn:hover { background: rgba(255,92,122,0.08); color: var(--hot); }

/* main */
.hub-main { flex: 1; min-width: 0; position: relative; overflow-y: auto; padding: 26px 28px 30px; }
.hub-close { position: absolute; top: 16px; right: 18px; z-index: 2; }
.hub-pane { display: none; animation: hubFade 0.26s ease; }
.hub-pane.active { display: block; }
@keyframes hubFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hub-h { font-family: var(--disp); font-weight: 600; font-size: 20px; color: var(--txt-hi); margin-bottom: 16px; }
.hub-sub { font-size: 13px; color: var(--dim); line-height: 1.55; margin-bottom: 16px; max-width: 520px; }
.hub-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }

/* overview */
.hub-idcard { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 16px; }
.hub-idcard-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hub-uid { font-family: var(--mono); font-size: 15px; color: var(--acc); letter-spacing: 0.02em; word-break: break-all; }
.hub-idcard-meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--dim); display: flex; gap: 10px; }
.dot-sep { opacity: 0.5; }
.hub-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.hub-stat { padding: 14px 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); text-align: center; }
.hub-stat b { display: block; font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--txt-hi); }
.hub-stat label { display: block; margin-top: 3px; font-size: 10.5px; color: var(--dim); }
.hub-refbox { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.hub-refbox .ref-row { display: flex; gap: 8px; margin: 4px 0 8px; }
.hub-refbox .ref-stat { font-size: 12px; color: var(--dim); }
.hub-refbox .ref-stat b { color: var(--acc); }

/* preferences */
.hub-field { margin-bottom: 18px; }
.hub-field .ref-row { display: flex; gap: 8px; }
.hub-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; }
.hub-toggle-txt b { display: block; font-size: 13.5px; color: var(--txt-hi); font-weight: 600; }
.hub-toggle-txt em { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); font-style: normal; }

/* security */
.hub-danger { margin-top: 22px; padding: 16px 18px; background: rgba(255,92,122,0.05); border: 1px solid rgba(255,92,122,0.22); border-radius: var(--radius); }
.hub-danger h3 { font-family: var(--disp); font-size: 13px; color: var(--hot); margin-bottom: 6px; }
.hub-danger p { font-size: 12.5px; color: var(--dim); line-height: 1.5; margin-bottom: 12px; }

/* plan tab */
.hub-planhero { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(95,227,230,0.06), transparent); }
.hub-planhero[data-plan="ultra"] { background: linear-gradient(180deg, rgba(183,156,255,0.09), transparent); border-color: rgba(183,156,255,0.3); }
.hub-planhero[data-plan="free"] { background: linear-gradient(180deg, rgba(159,176,182,0.05), transparent); }
.hub-planhero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.hub-planhero-name { font-family: var(--disp); font-weight: 700; font-size: 26px; color: var(--txt-hi); margin-top: 2px; }
.hub-planhero-exp { font-size: 12px; color: var(--dim); text-align: right; max-width: 200px; }
.hub-planhero-limits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hub-planhero-limits span { font-size: 11.5px; color: var(--txt); padding: 5px 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); border-radius: 999px; }
.hub-planhero-limits b { color: var(--acc); }
.hub-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hub-tier { display: flex; flex-direction: column; padding: 16px 15px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: 0.16s; }
.hub-tier.cur { border-color: var(--acc-line); box-shadow: 0 0 0 1px var(--acc-line), 0 0 30px -12px var(--glow); }
.hub-tier[data-plan="ultra"].cur { border-color: rgba(183,156,255,0.5); box-shadow: 0 0 0 1px rgba(183,156,255,0.5), 0 0 30px -12px rgba(183,156,255,0.4); }
.hub-tier-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.hub-tier-name { font-family: var(--disp); font-weight: 700; font-size: 16px; color: var(--txt-hi); }
.hub-tier-price { font-family: var(--mono); font-size: 15px; color: var(--acc); }
.hub-tier-price em { font-style: normal; font-size: 10px; color: var(--dim); }
.hub-tier-feats { list-style: none; flex: 1; margin-bottom: 14px; }
.hub-tier-feats li { position: relative; padding-left: 18px; font-size: 11.5px; color: var(--txt); line-height: 1.4; margin-bottom: 7px; }
.hub-tier-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--acc); font-size: 11px; }
.hub-tier-cur { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--acc); padding: 8px; }
.hub-tier-lower { text-align: center; font-size: 10.5px; color: var(--dim2); padding: 8px; }

/* redeem */
.hub-redeem { display: flex; gap: 10px; max-width: 480px; }
.hub-redeem .inp { flex: 1; text-transform: uppercase; letter-spacing: 0.06em; }
.hub-redeem-msg { margin-top: 14px; font-size: 13px; padding: 0; }
.hub-redeem-msg.ok { color: var(--c-account); }
.hub-redeem-msg.err { color: var(--hot); }

/* admin */
.hub-adminhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.hub-adminhead .hub-h { margin-bottom: 0; }
.hub-adminseg { flex: 0 0 auto; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-table th { text-align: left; padding: 10px 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.015); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; color: var(--txt); }
.admin-table tr:last-child td { border-bottom: 0; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.admin-userc { display: flex; align-items: center; gap: 9px; }
.admin-userc-txt { min-width: 0; }
.admin-callsign { font-weight: 600; color: var(--txt-hi); }
.admin-id { font-family: var(--mono); font-size: 10px; color: var(--dim2); }
.admin-exp { font-size: 10px; color: var(--dim); margin-left: 4px; }
.admin-you { font-family: var(--mono); font-size: 10px; color: var(--acc); }
.dot.off { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim2); }
.dot.online { display: inline-block; width: 8px; height: 8px; }
.status-badge.blk { color: #ff8fa3; border: 1px solid var(--hot); background: rgba(255,92,122,0.1); }
.plan-badge { display: inline-block; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2.5px 8px; border-radius: 999px; }
.plan-badge[data-plan="free"] { color: #9fb0b6; background: rgba(159,176,182,0.12); border: 1px solid rgba(159,176,182,0.26); }
.plan-badge[data-plan="pro"] { color: var(--acc); background: rgba(95,227,230,0.12); border: 1px solid var(--acc-line); }
.plan-badge[data-plan="ultra"] { color: #b79cff; background: rgba(183,156,255,0.14); border: 1px solid rgba(183,156,255,0.4); }

/* admin user modal */
.au-body { gap: 0; }
.au-status-row { font-size: 12.5px; color: var(--dim); margin-bottom: 14px; }
.au-status-row span { color: var(--txt); }
.au-block { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.au-block:first-of-type { border-top: 0; padding-top: 0; }
.au-plan { margin-bottom: 10px; }
.au-plan-row { display: flex; align-items: flex-end; gap: 10px; }
.au-full { width: 100%; margin-top: 10px; }
.au-danger .mini-btn.ghost { color: var(--hot); border-color: rgba(255,92,122,0.3); }

/* keys */
.key-form { padding: 15px 16px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 14px; }
.key-form-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.key-form-row .seg { flex: 0 0 auto; }
.key-inp { display: flex; flex-direction: column; gap: 5px; }
.key-inp span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
.key-inp .inp { width: 90px; }
.key-form-row .btn-solid { margin-left: auto; }
.key-generated { padding: 12px 14px; background: rgba(95,227,230,0.06); border: 1px solid var(--acc-line); border-radius: var(--radius); margin-bottom: 14px; }
.key-gen-head { font-size: 11.5px; color: var(--acc); margin-bottom: 8px; }
.key-gen-code { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--txt-hi); background: rgba(0,0,0,0.3); padding: 5px 9px; border-radius: 6px; margin: 0 6px 6px 0; cursor: pointer; border: 1px solid var(--line-soft); }
.key-gen-code:hover { border-color: var(--acc); }
.key-stats { display: flex; gap: 16px; margin-bottom: 12px; font-size: 12px; color: var(--dim); }
.key-stats b { color: var(--txt-hi); }
.key-list { display: flex; flex-direction: column; gap: 7px; }
.key-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.key-item.dim { opacity: 0.5; }
.key-code { font-family: var(--mono); font-size: 12px; color: var(--txt-hi); letter-spacing: 0.02em; }
.key-dur { font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.key-tag { font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 999px; }
.key-tag.free { color: var(--c-account); border: 1px solid var(--c-account); }
.key-tag.used { color: var(--dim); border: 1px solid var(--line); }
.key-tag.rev { color: var(--hot); border: 1px solid var(--hot); }
.key-note { font-size: 11px; color: var(--dim); font-style: italic; }
.key-actions { margin-left: auto; display: flex; gap: 5px; }

@media (max-width: 720px) {
  .hub-card { flex-direction: column; height: 92vh; max-height: none; }
  .hub-side { flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .hub-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; order: 3; }
  .hub-navbtn span { display: none; }
  .hub-side-foot { flex: 0 0 auto; border-top: 0; padding-top: 0; }
  .hub-statgrid { grid-template-columns: repeat(2, 1fr); }
  .hub-tiers { grid-template-columns: 1fr; }
}
