/* ============================================================
   Eclyzer Giveaway - gaya "Codex-like" (dark)
   Terinspirasi halaman openai.com/codex: latar hitam, teks putih,
   tombol pill putih, headline besar rapat, whitespace lega.
   (Logo & aset OpenAI tidak disalin - hanya gaya UI umum.)
   ============================================================ */

:root {
  --bg: #000000;
  --bg-2: #0e0e0e;
  --bg-3: #141414;
  --card: #0c0c0c;
  --ink: #ffffff;
  --ink-soft: #d6d6d6;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(255, 255, 255, 0.26);
  --btn: #ffffff;
  --btn-ink: #000000;
  --btn-hover: #d9d9d9;
  --green: #4ade80;
  --green-bg: rgba(74, 222, 128, 0.1);
  --amber: #fbbf24;
  --amber-bg: rgba(251, 191, 36, 0.12);
  --red: #f87171;
  --red-solid: #dc2626;
  --radius: 20px;
  --shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.8);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: min(1140px, 92%); margin: 0 auto; }
a { color: var(--ink); text-decoration: none; }
img, svg { display: block; }

/* garis gradien tipis ala codex */
.topline { height: 2px; background: linear-gradient(90deg, #5b8def, #a78bfa, #f472b6, #5b8def); }

/* ---------- Header (transparan, background muncul saat cursor hover) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header:hover {
  background: rgba(0, 0, 0, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 38px; height: 38px; flex-shrink: 0;
  background: transparent;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-weight: 700; letter-spacing: 0.12em; font-size: 14px; }
.brand-name span { display: block; font-weight: 500; letter-spacing: 0.01em; font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { background: var(--bg-3); color: var(--ink); }
.nav .btn { margin-left: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: var(--font);
  font-weight: 600; font-size: 15px; color: var(--btn-ink);
  padding: 13px 28px; border-radius: 999px;
  background: var(--btn);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { background: var(--bg-3); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-danger { background: var(--red-solid); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* ---------- Hero ---------- */
.hero { padding: 100px 0 70px; text-align: center; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px); font-weight: 700; letter-spacing: -0.035em;
  margin: 0 auto 20px; line-height: 1.02; max-width: 820px;
}
.hero p.sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted);
  max-width: 620px; margin: 0 auto 36px; line-height: 1.6; font-weight: 400;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.025em; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

/* filter */
.filters { display: flex; gap: 8px; }
.chip {
  border: 1px solid var(--line-dark); background: transparent;
  padding: 9px 20px; border-radius: 999px; font-family: var(--font);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #000; }

/* ---------- Prize cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-dark); }
.card-top {
  height: 132px; position: relative; display: flex; align-items: center; justify-content: center;
  background: #090909; border-bottom: 1px solid var(--line);
}
.card-top .glyph { width: 58px; height: 58px; opacity: 0.95; }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: #000;
}
.badge.mode-flash { background: #000; color: #fff; outline: 1px solid rgba(255, 255, 255, 0.4); outline-offset: -1px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.card-body h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.card-body .desc { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.status-line { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.status-line .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.status-line.live { color: var(--green); }
.status-line.soon { color: var(--ink-soft); }
.status-line.soon .pulse { background: var(--ink); animation: none; }
.status-line.closed .pulse, .status-line.soldout .pulse, .status-line.off .pulse { background: #4a4a4a; animation: none; }
.status-line.closed, .status-line.soldout, .status-line.off { color: var(--muted); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.countdown { display: flex; gap: 8px; }
.cd-box {
  flex: 1; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 4px; text-align: center;
}
.cd-box b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.cd-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: -7px; }

.stockbar { height: 6px; border-radius: 999px; background: #222; overflow: hidden; }
.stockbar i { display: block; height: 100%; border-radius: 999px; background: var(--ink); transition: width 0.4s ease; }
.stock-text { font-size: 13px; font-weight: 500; color: var(--muted); }
.stock-text b { color: var(--ink); }

.card-foot { margin-top: auto; padding-top: 6px; }
.card-foot .btn { width: 100%; }
.entered-note {
  text-align: center; font-size: 13.5px; font-weight: 600; color: var(--green);
  background: var(--green-bg); border: 1px dashed rgba(74, 222, 128, 0.4);
  padding: 12px; border-radius: 12px;
}

/* ---------- Cara ikut ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.step .num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #000; background: #fff;
  margin-bottom: 14px;
}
.step h4 { margin: 0 0 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }
.step p b { color: var(--ink-soft); }

/* ---------- Winners ---------- */
.winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.winner {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.winner .trophy {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #000;
}
.winner .trophy svg { width: 22px; height: 22px; }
.winner b { display: block; font-size: 15px; font-weight: 700; }
.winner small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 3px; }
.winner .wprize { color: var(--ink-soft); font-weight: 600; }
.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
  background: var(--bg-2); border: 1px dashed var(--line-dark); border-radius: var(--radius); font-size: 14.5px;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font-size: 13.5px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-inner a { font-weight: 600; color: var(--ink-soft); }
.footer-inner a:hover { color: var(--ink); }

/* ---------- Modal (popup) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.overlay.show { display: flex; }
.modal {
  position: relative;
  width: min(480px, 100%); background: #111113;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 75px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 30px 28px 26px; animation: pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh; overflow-y: auto;
}
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 999px; }
.modal::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.28); }
.modal.wide { width: min(660px, 100%); }
@keyframes pop {
  from { transform: scale(0.96) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal h3 {
  margin: 0 0 6px; font-size: 21px; font-weight: 700;
  letter-spacing: -0.02em; padding-right: 36px; color: #fff;
}
.modal .msub {
  margin: 0 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6;
}
.modal .msub b { color: #fff; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.modal-close:hover {
  color: #fff; background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.bigicon {
  width: 64px; height: 64px; border-radius: 50%; margin: 4px auto 16px;
  background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -4px rgba(255, 255, 255, 0.25);
}
.bigicon svg { width: 28px; height: 28px; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600;
  margin-bottom: 6px; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  padding: 11px 14px; background: #161618; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}
.field input::placeholder, .field textarea::placeholder { color: #666; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255, 255, 255, 0.6); background: #1a1a1d;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
/* dropdown rapi: chevron custom */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field select option { background: #141414; color: #fff; }
.field input[type="datetime-local"] { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 76px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.checkrow input { width: 18px; height: 18px; accent-color: #fff; cursor: pointer; }
.ferr {
  font-size: 13px; color: #f87171; font-weight: 500;
  margin: 6px 0 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.22);
  display: none; line-height: 1.45;
}
.ferr.show { display: block; }

.via-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px;
  background: #18181b; padding: 4px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.via-tab {
  border: 0; background: transparent; border-radius: 8px; padding: 9px 12px;
  font-family: var(--font); font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted);
  transition: all 0.15s ease; text-align: center;
}
.via-tab:hover { color: #fff; }
.via-tab.on {
  border-color: #fff; color: #000; background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.keybox {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 14px;
  padding: 18px 16px; text-align: center; margin: 10px 0 18px;
}
.keybox .klabel { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.keybox .kval { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 18px; font-weight: 700; word-break: break-all; color: #fff; }
.keybox .kdemo { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--amber); background: var(--amber-bg); padding: 3px 10px; border-radius: 999px; }

.shake { animation: shake 0.3s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.admin-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 76px; }
.atab {
  border: 1px solid transparent; background: transparent; text-align: left;
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 11px 14px; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.atab svg { width: 17px; height: 17px; flex-shrink: 0; }
.atab:hover { background: var(--bg-3); color: var(--ink); }
.atab.on { background: #fff; color: #000; }
.admin-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.admin-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.admin-panel h2 { margin: 0 0 5px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.admin-panel .psub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; line-height: 1.6; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-soft); }
.tbl td b { color: var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--bg-3); color: var(--ink-soft); border: 1px solid var(--line); }
.pill.off { color: var(--muted); }
.pill.warn { background: var(--amber-bg); color: var(--amber); border-color: transparent; }
.rowbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.iconbtn { border: 1px solid var(--line-dark); background: transparent; border-radius: 9px; padding: 7px 13px; font-family: var(--font); font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--ink-soft); }
.iconbtn:hover { border-color: #fff; color: #fff; }
.iconbtn:disabled { opacity: 0.4; cursor: not-allowed; }
.iconbtn.danger:hover { border-color: var(--red); color: var(--red); }

.gate { max-width: 400px; margin: 80px auto; text-align: center; }
.gate .modal { text-align: left; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat b { font-size: 28px; display: block; letter-spacing: -0.02em; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.draw-stage { text-align: center; padding: 26px 10px; }
.draw-names { min-height: 92px; display: flex; align-items: center; justify-content: center; }
.draw-names b { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.draw-winner-card { background: #101010; border: 1.5px solid #fff; border-radius: 16px; padding: 24px; margin: 12px 0 18px; }
.draw-winner-card b { font-size: 24px; display: block; letter-spacing: -0.01em; }
.draw-winner-card span { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .atab { white-space: nowrap; }
  .field-row { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 70px 0 50px; }
  .modal { padding: 26px 22px 24px; }
}

/* ---------- Perbaikan tombol nav (teks hitam pekat, latar putih seperti Lihat Giveaway) ---------- */
.nav a.btn {
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 700;
}
.nav a.btn:hover {
  background: var(--btn-hover);
  color: var(--btn-ink);
  transform: translateY(-1px);
}
.btn { font-weight: 700; }

/* ---------- Kanvas 3D latar ---------- */
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero, .section, .site-footer { position: relative; z-index: 1; }

/* ---------- Terminal mockup ala Codex ---------- */
.term {
  max-width: 740px; margin: 54px auto 0; text-align: left;
  background: #0b0b0d; border: 1px solid var(--line-dark); border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 140px -50px rgba(130, 150, 255, 0.35);
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
.term-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tdots { display: flex; gap: 7px; }
.tdots i { width: 11px; height: 11px; border-radius: 50%; }
.tdots i:nth-child(1) { background: #ff5f57; }
.tdots i:nth-child(2) { background: #febc2e; }
.tdots i:nth-child(3) { background: #28c840; }
.term-title { font-size: 12px; color: var(--muted); font-family: var(--font); font-weight: 600; }
.term-tabs { display: flex; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.ttab { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 11px 2px; font-family: var(--font); }
.ttab.on { color: #fff; border-bottom: 2px solid #fff; margin-bottom: -1px; }
.term-body { padding: 18px 20px 22px; font-size: 13.5px; line-height: 2; }
.tl { white-space: pre-wrap; word-break: break-all; }
.tl .tp { color: #fff; font-weight: 700; margin-right: 8px; }
.tl.dim { color: #6b6b6b; }
.tl.add { color: var(--green); }
.tl.del { color: var(--red); }
.caret { display: inline-block; width: 9px; height: 17px; background: #fff; vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Dropdown custom (pengganti select bawaan) ---------- */
.dd { position: relative; }
.dd-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px;
  background: #101010; cursor: pointer;
}
.dd-btn svg { width: 14px; height: 14px; color: var(--muted); transition: transform 0.15s ease; flex-shrink: 0; }
.dd.open .dd-btn { border-color: #fff; }
.dd.open .dd-btn svg { transform: rotate(180deg); color: #fff; }
.dd-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 80;
  background: #161616; border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 6px; display: none;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85);
}
.dd.open .dd-list { display: block; animation: pop 0.15s ease; }
.dd-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--ink-soft); font-family: var(--font); font-size: 14.5px; font-weight: 500;
  padding: 11px 12px; border-radius: 8px; cursor: pointer;
}
.dd-opt:hover { background: #242424; color: #fff; }
.dd-opt.on { color: #fff; font-weight: 700; }
.dd-opt.on::after {
  content: ""; width: 15px; height: 15px; flex-shrink: 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
