/* SIARIN design system ─ dark broadcast theme */
:root {
  --bg: #070912;
  --bg-2: #0c1020;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f8;
  --muted: #9aa2bb;
  --faint: #6b7390;
  --live: #ff2d55;
  --live-2: #ff6a3d;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --grad: linear-gradient(135deg, #ff2d55 0%, #ff6a3d 100%);
  --grad-2: linear-gradient(135deg, #7c5cff 0%, #ff2d55 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.88em; background: var(--panel-2); padding: 0.1em 0.4em; border-radius: 6px; }
::selection { background: rgba(255, 45, 85, 0.35); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hidden { display: none !important; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--text); font: 600 14px/1.2 var(--font);
  cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: 0.5; pointer-events: none; }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 45, 85, 0.7); }
.btn.primary:hover { box-shadow: 0 14px 34px -10px rgba(255, 45, 85, 0.9); filter: brightness(1.05); }
.btn.violet { background: var(--grad-2); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.ok { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
.btn.danger { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
.btn.wa { background: #22c55e; border-color: transparent; color: #04140a; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.icon { padding: 8px; }

/* ── badges ──────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.badge.live { background: rgba(255, 45, 85, 0.14); border-color: rgba(255, 45, 85, 0.4); color: #ff8aa1; }
.badge.ok { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
.badge.warn { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }
.badge.bad { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
.badge.violet { background: rgba(124, 92, 255, 0.14); border-color: rgba(124, 92, 255, 0.4); color: #c4b5fd; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.pulse { animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 45, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); } }

/* ── cards ───────────────────────────────────────────── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.pad-lg { padding: 30px; }
.card.hover { transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.card.hover:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--panel-2); }
.card h3 { font-size: 17px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h2, .card-title h3 { margin: 0; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

/* ── forms ───────────────────────────────────────────── */
.field { display: block; margin-bottom: 16px; }
.field > span, .label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.25); color: var(--text); font: 500 14px/1.4 var(--font); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { border-color: rgba(255, 45, 85, 0.6); box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.15); }
.input::placeholder { color: #59607a; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa2bb' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.input option { background: #11152a; }
.hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.15); cursor: pointer; margin-bottom: 10px; }
.check input { margin-top: 3px; accent-color: var(--live); width: 16px; height: 16px; }
.check b { display: block; font-size: 14px; }
.check small { color: var(--muted); }
.seg { display: inline-flex; padding: 4px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 12px; gap: 4px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ── alerts ──────────────────────────────────────────── */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); font-size: 14px; margin-bottom: 18px; }
.alert .ico { margin-top: 2px; }
.alert.ok { border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.alert.error { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.08); }
.alert.warn { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.08); }
.alert.info { border-color: rgba(124, 92, 255, 0.4); background: rgba(124, 92, 255, 0.08); }

/* ── tables ──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); padding: 12px 14px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255,255,255,0.015); }

/* ── progress / meters ───────────────────────────────── */
.meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width 0.4s; }
.meter.violet > i { background: var(--grad-2); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .k { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.stat .v small { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ══ PUBLIC SITE ═══════════════════════════════════════ */
.pub-bg { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 10% -10%, rgba(255, 45, 85, 0.18), transparent 60%),
  radial-gradient(800px 600px at 100% 10%, rgba(124, 92, 255, 0.18), transparent 60%),
  radial-gradient(700px 500px at 50% 110%, rgba(34, 211, 238, 0.08), transparent 60%), var(--bg); }
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(7, 9, 18, 0.72); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(255, 45, 85, 0.8); }
.logo-mark .ico { width: 20px; height: 20px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel-2); }
.nav-toggle { display: none; }
.hero { padding: 90px 0 70px; text-align: center; position: relative; }
.hero .badge { padding: 7px 14px; font-size: 13px; }
.hero h1 { font-size: clamp(36px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.045em; margin: 22px auto 18px; max-width: 900px; line-height: 1.02; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero .by { color: #fcd34d; font-weight: 700; font-size: 14px; margin-top: -6px; margin-bottom: 20px; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 54px; color: var(--muted); font-size: 14px; }
.hero-stats b { display: block; color: var(--text); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.screen { margin: 56px auto 0; max-width: 980px; border-radius: 22px; padding: 10px; background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)); box-shadow: var(--shadow); }
.screen-inner { border-radius: 14px; background: #0b0f1d; border: 1px solid var(--line); padding: 18px; text-align: left; }
.mock-row { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); margin-bottom: 10px; }
.mock-thumb { width: 92px; height: 52px; border-radius: 8px; background: linear-gradient(135deg, #1f2a5a, #6b2150); flex: none; position: relative; overflow: hidden; }
.mock-thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 9px); }
.mock-line { height: 9px; border-radius: 9px; background: rgba(255,255,255,0.12); }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ff8aa1; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 16px; }
.feature .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,45,85,0.12); color: #ff8aa1; margin-bottom: 16px; border: 1px solid rgba(255,45,85,0.25); }
.feature .fi .ico { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; }
.pricing { align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.price-card.hl { border-color: rgba(255, 45, 85, 0.55); background: linear-gradient(180deg, rgba(255,45,85,0.10), rgba(255,255,255,0.02)); box-shadow: 0 30px 80px -40px rgba(255,45,85,0.6); }
.price-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 99px; letter-spacing: 0.04em; }
.price-card .pname { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-size: 13px; }
.price-card .price { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 2px; white-space: nowrap; }
.price-card .per { color: var(--faint); font-size: 13px; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.price-card li .ico { color: var(--ok); margin-top: 3px; }
.price-card li.dim { color: var(--faint); }
.price-card li.dim .ico { color: var(--faint); }
.premium-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 28px; padding: 28px 30px; border-radius: 20px; background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(255,45,85,0.12)); border: 1px solid rgba(124,92,255,0.35); }
.premium-cta h3 { font-size: 22px; margin-bottom: 6px; }
.acc { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 12px; overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { transition: transform 0.2s; color: var(--muted); }
.acc[open] summary .ico { transform: rotate(180deg); }
.acc .acc-body { padding: 0 20px 18px; color: #cfd3e2; font-size: 14.5px; }
.acc .acc-body ul { padding-left: 20px; margin: 6px 0 12px; }
.acc .acc-body li { margin: 4px 0; }
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { position: relative; padding: 22px 22px 22px 72px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.ai-strip { border-radius: 24px; padding: 40px; background: radial-gradient(600px 300px at 0% 0%, rgba(124,92,255,0.25), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(255,45,85,0.18), transparent 70%), var(--bg-2); border: 1px solid rgba(124,92,255,0.3); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.25); font-size: 13.5px; font-weight: 600; }
.chip .ico { color: #c4b5fd; }
.footer { border-top: 1px solid var(--line); padding: 46px 0 30px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer a:hover { color: var(--text); }
.footer h4 { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: #22c55e; color: #04140a; font-weight: 800; font-size: 14px; box-shadow: 0 14px 34px -10px rgba(34,197,94,0.8); }
.wa-float .ico { width: 22px; height: 22px; }
.page-hero { padding: 60px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
.prose { max-width: 780px; margin: 0 auto; color: #d4d8e6; font-size: 15.5px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(460px, 100%); }
.qris-box { background: #fff; border-radius: 16px; padding: 14px; width: min(320px, 100%); margin: 0 auto; }
.qris-box img { width: 100%; border-radius: 8px; }
.inv-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.kv { display: grid; grid-template-columns: minmax(96px, 38%) minmax(0, 1fr); gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.stat-row .v { font-size: 20px; white-space: nowrap; }
.video-embed { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--faint); background: linear-gradient(135deg, #10162e, #1a1030); font-size: 14px; padding: 20px; }

/* ══ APP (dashboard/admin) ═════════════════════════════ */
.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); background: rgba(10, 13, 26, 0.9); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; }
.side .logo { padding: 6px 10px 18px; font-size: 19px; }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 14px 12px 6px; }
.side a.nav-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 14px; }
.side a.nav-i:hover { background: var(--panel-2); color: var(--text); }
.side a.nav-i.active { background: linear-gradient(90deg, rgba(255,45,85,0.16), rgba(255,45,85,0.02)); color: var(--text); box-shadow: inset 2px 0 0 var(--live); }
.side a.nav-i .count { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(255,45,85,0.18); color: #ff8aa1; }
.side-foot { margin-top: auto; padding-top: 16px; }
.plan-box { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; }
.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 30px; border-bottom: 1px solid var(--line); background: rgba(7, 9, 18, 0.8); backdrop-filter: blur(12px); }
.topbar h1 { font-size: 20px; margin: 0; font-weight: 800; }
.content { padding: 28px 30px 60px; max-width: 1240px; }
.menu-btn { display: none; }
.page-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty > .ico { width: 42px; height: 42px; color: var(--faint); margin: 0 auto 12px; display: block; }
.vgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.vcard { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #141b38, #2a1230); overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb .vthumb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); }
.vthumb .vbadge { position: absolute; left: 10px; top: 10px; }
.vthumb .vdur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.75); padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.vbody { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vtitle { font-weight: 700; font-size: 14.5px; line-height: 1.35; word-break: break-word; }
.vmeta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); }
.vmeta span { padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,0.05); }
.vactions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.live-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); margin-bottom: 12px; }
.live-item.is-live { border-color: rgba(255,45,85,0.45); background: linear-gradient(90deg, rgba(255,45,85,0.08), rgba(255,255,255,0.02)); }
.live-item .lthumb { width: 120px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #141b38, #2a1230); }
.live-item .lthumb img { width: 100%; height: 100%; object-fit: cover; }
.live-item h3 { margin: 0 0 4px; font-size: 16px; }
.live-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.live-meta span { display: inline-flex; align-items: center; gap: 6px; }
.live-stats { display: flex; gap: 14px; font-size: 12.5px; color: #ffb3c1; margin-top: 6px; flex-wrap: wrap; }
.live-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.logbox { background: #05070d; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; max-height: 360px; overflow: auto; }
.logbox div { padding: 2px 0; white-space: pre-wrap; word-break: break-word; }
.logbox .lv-error { color: #fca5a5; } .logbox .lv-warn { color: #fcd34d; } .logbox .lv-info { color: #a5b4fc; }
.logbox time { color: var(--faint); margin-right: 8px; }
.upload-zone { display: block; border: 2px dashed var(--line-2); border-radius: 16px; padding: 30px; text-align: center; background: rgba(0,0,0,0.15); transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.upload-zone.drag { border-color: var(--live); background: rgba(255,45,85,0.06); }
.upload-zone .ico { width: 36px; height: 36px; color: var(--muted); margin: 0 auto 10px; display: block; }
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button, .tabs a { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font: 600 14px var(--font); padding: 10px 12px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs .on { color: var(--text); border-bottom-color: var(--live); }
.tool-card { display: flex; flex-direction: column; gap: 10px; }
.tool-card .ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(124,92,255,0.14); border: 1px solid rgba(124,92,255,0.35); color: #c4b5fd; }
.tool-card .ti .ico { width: 22px; height: 22px; }
.tool-card p { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.skill-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.skill-tags span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.05); color: var(--faint); font-family: ui-monospace, Consolas, monospace; }
.ai-out { min-height: 200px; }
.ai-status { display: flex; align-items: center; gap: 10px; color: #c4b5fd; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(196,181,253,0.3); border-top-color: #c4b5fd; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.md { font-size: 14.5px; color: #dfe2ee; line-height: 1.7; word-wrap: break-word; }
.md h2, .md h3, .md h4 { color: var(--text); margin: 1.3em 0 0.5em; }
.md h2 { font-size: 20px; } .md h3 { font-size: 17px; } .md h4 { font-size: 15px; }
.md > :first-child { margin-top: 0; }
.md ul, .md ol { padding-left: 22px; }
.md li { margin: 4px 0; }
.md li.task { list-style: none; margin-left: -20px; display: flex; gap: 10px; }
.md .cb { width: 16px; height: 16px; border: 1.5px solid var(--line-2); border-radius: 4px; flex: none; margin-top: 4px; }
.md .cb.on { background: var(--ok); border-color: var(--ok); }
.md pre { background: #05070d; border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; position: relative; }
.md pre code { background: none; padding: 0; font-size: 13px; white-space: pre-wrap; }
.md blockquote { margin: 12px 0; padding: 10px 16px; border-left: 3px solid var(--violet); background: rgba(124,92,255,0.08); border-radius: 0 10px 10px 0; color: #d6d0ff; }
.md a { color: #93c5fd; text-decoration: underline; text-underline-offset: 2px; }
.md hr { border: 0; height: 1px; background: var(--line); margin: 20px 0; }
.md-table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.md table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.md th, .md td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.md th { background: rgba(255,255,255,0.04); font-weight: 700; }
.md tr:last-child td { border-bottom: 0; }
.copy-btn { position: absolute; top: 8px; right: 8px; }
.hist-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--panel); font-size: 13.5px; }
.hist-item:hover { border-color: var(--line-2); }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(3, 4, 10, 0.75); backdrop-filter: blur(6px); }
.modal .card { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: #0e1224; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; padding: 12px 18px; border-radius: 12px; background: #161b33; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.kbd { font-family: ui-monospace, Consolas, monospace; font-size: 12px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.05); }
.secret { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.04em; }

/* ── pickers (playlist, audio, thumbnails) ─────────────── */
.pick-list { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; margin-top: 6px; }
.pick { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,0.15); cursor: pointer; }
.pick input { margin-top: 3px; accent-color: var(--live); }
.pick span { display: flex; flex-direction: column; min-width: 0; }
.pick b { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.pick small { color: var(--muted); font-size: 12px; }
.pick:has(input:checked) { border-color: rgba(255,45,85,0.5); background: rgba(255,45,85,0.06); }
.thumb-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 6px; }
.thumb-pick label { position: relative; cursor: pointer; border-radius: 9px; overflow: hidden; border: 2px solid transparent; }
.thumb-pick img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.thumb-pick input { position: absolute; top: 6px; left: 6px; accent-color: var(--live); width: 16px; height: 16px; }
.thumb-pick label:has(input:checked) { border-color: var(--live); }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.thumb-grid figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.thumb-grid form { position: absolute; top: 6px; right: 6px; }
.seg.days span { min-width: 44px; text-align: center; }
.feat-lock { opacity: 0.55; }
.lock-card { border-style: dashed; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--muted); }
.cmp thead th { font-size: 14px; }
.cmp .us { background: rgba(255,45,85,0.07); font-weight: 700; }
.cmp thead .us { border-radius: 12px 12px 0 0; color: #ff8aa1; }
.yes { color: #86efac; font-weight: 800; } .no { color: #fca5a5; font-weight: 800; }
.testi { display: flex; flex-direction: column; gap: 12px; }
.testi p { margin: 0; color: #d4d8e6; font-size: 14.5px; }
.testi .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.testi .av { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-2); display: grid; place-items: center; font-weight: 800; }
.ch-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.ch-card img { width: 56px; height: 56px; border-radius: 50%; }
.ch-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; }
.ch-stats .stat .v { font-size: 20px; }
.ref-box { display: flex; gap: 8px; align-items: center; padding: 10px; border: 1px dashed rgba(255,45,85,0.5); border-radius: 12px; background: rgba(255,45,85,0.06); }
.ref-box input { flex: 1; background: transparent; border: 0; color: var(--text); font: 600 14px var(--font); outline: none; min-width: 0; }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 1020px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: rgba(7, 9, 18, 0.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 60; left: 0; top: 0; width: 270px; transform: translateX(-105%); transition: transform 0.25s; box-shadow: var(--shadow); }
  .side.open { transform: none; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 12px 16px; }
  .content { padding: 20px 16px 60px; }
  .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .stack[style*="sticky"] { position: static !important; }
  .live-item { grid-template-columns: 1fr; }
  .live-item .lthumb { width: 100%; }
  .live-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .section { padding: 56px 0; }
  .card { padding: 18px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .ai-strip { padding: 26px; }
}

/* Pabrik Video */
.ico.flip, .ico.flip-v { transform: rotate(180deg); }
.scene { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.15); margin-bottom: 10px; }
.scene-no span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; }
.scene-tools { display: flex; flex-direction: column; gap: 2px; }
.scene textarea { resize: vertical; }
@media (max-width: 860px) { .scene { grid-template-columns: minmax(0, 1fr); } .scene-no { display: none; } .scene-tools { flex-direction: row; justify-content: flex-end; } }
