:root {
  --bg: #070c10;
  --bg2: #0d141c;
  --panel: #121b24;
  --line: rgba(180, 200, 220, 0.14);
  --text: #eef3f8;
  --muted: #8fa3b5;
  --gold: #e2bd62;
  --gold2: #f3d68a;
  --em: #3dcf9a;
  --radius: 16px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 20px 50px rgba(0,0,0,.4);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
body {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(61,207,154,.12), transparent 55%),
    radial-gradient(700px 360px at 95% 0%, rgba(226,189,98,.1), transparent 50%),
    var(--bg);
}
a { color: var(--gold2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.shell { max-width: 1100px; margin: 0 auto; padding: 16px 16px 56px; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--em), var(--gold));
  color: #102016; font-weight: 800; display: grid; place-items: center;
}
.brand strong { display: block; }
.brand span { color: var(--muted); font-size: .8rem; }
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: 12px; padding: 10px 14px; cursor: pointer; font-weight: 700;
}
.btn-gold { background: linear-gradient(135deg, var(--em), var(--gold)); color: #102016; border: 0; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 8px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 650;
}
.tab.on { background: rgba(226,189,98,.15); color: var(--text); border-color: rgba(226,189,98,.35); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.vcard { overflow: hidden; padding: 0; cursor: pointer; transition: transform .12s; }
.vcard:hover { transform: translateY(-2px); }
.vthumb { position: relative; aspect-ratio: 16/9; background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vdur {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75);
  color: #fff; font-size: .72rem; padding: 3px 7px; border-radius: 6px; font-weight: 700;
}
.vmeta { padding: 12px 14px 14px; }
.vmeta h3 { margin: 0 0 4px; font-size: 1rem; }
.vmeta p { margin: 0; color: var(--muted); font-size: .82rem; }
.badge-org {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 6px;
  color: var(--em); font-size: .75rem; font-weight: 800;
}
.player-wrap {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #000; margin-bottom: 14px;
}
.player-wrap video { width: 100%; max-height: 70vh; display: block; background: #000; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 6px; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); padding: 12px 14px;
}
.auth-box { max-width: 420px; margin: 24px auto; }
.auth-box h2 { font-family: var(--display); margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.switch { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.switch button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 10px; padding: 10px 6px; cursor: pointer; font-weight: 700; font-size: .82rem;
}
.switch button.on { background: rgba(61,207,154,.14); color: var(--text); }
.ad-slot {
  min-height: 100px; border: 1px dashed var(--line); border-radius: 12px;
  display: grid; place-items: center; color: var(--muted); font-size: .8rem;
  margin: 14px 0; background: rgba(255,255,255,.02); overflow: hidden;
}
.wallet {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0;
}
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
  background: var(--bg2); font-size: .85rem; color: var(--muted);
}
.chip b { color: var(--text); }
.nominee {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  background: var(--bg2); display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: #163226; border: 1px solid var(--line); padding: 12px 18px;
  border-radius: 999px; z-index: 40; max-width: 92vw; box-shadow: var(--shadow);
}
.toast.err { background: #2a1518; border-color: rgba(255,122,134,.45); }
.google-slot { min-height: 44px; display: flex; justify-content: center; margin-top: 10px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.h1 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 8px; }
.progress {
  height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin: 10px 0;
}
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--em), var(--gold)); }
.auth-box { max-width: 420px; margin: 12px auto 24px; }
.auth-box h2 { margin: 6px 0 8px; font-family: var(--display); font-size: 1.45rem; }
.auth-box .sub { margin: 0 0 14px; }
.pill {
  display: inline-block; margin: 0 0 4px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(61,207,154,.12); border: 1px solid rgba(61,207,154,.28);
  color: var(--em); font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
}
.divider {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; color: var(--muted); font-size: .8rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.switch {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.switch button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 650; font-size: .85rem;
}
.switch button.on {
  background: rgba(226,189,98,.15); color: var(--text); border-color: rgba(226,189,98,.35);
}
.field { margin-bottom: 10px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.field input {
  width: 100%; border: 1px solid var(--line); background: var(--bg2);
  border-radius: 12px; padding: 11px 12px;
}
.field input:focus { outline: 1px solid rgba(226,189,98,.45); }
