:root {
  --bg: #0c0c0d;
  --bg-soft: #141416;
  --bg-card: #17171a;
  --line: #26262b;
  --text: #ececed;
  --muted: #9a9aa2;
  --gold: #c9a24b;
  --gold-soft: #e2c98a;
  --danger: #d66;
  --green: #6ac48a;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
/* An element that sets its own display beats the UA's [hidden] rule, so
   hiding by attribute silently fails on anything laid out with flex or grid.
   This makes `el.hidden = true` mean what it says everywhere. */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.site-main { flex: 1; }
.muted { color: var(--muted); }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.2em 0 0.4em; }
h2 { font-size: 1.7rem; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a1408;
  border: 1px solid var(--gold);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:hover { background: var(--gold-soft); color: #1a1408; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,162,75,0.18); }
.btn-large { padding: 0.95rem 2rem; font-size: 1.02rem; }
.btn-small { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); box-shadow: none; }
.btn-danger { color: var(--danger); border-color: rgba(221,102,102,0.4); }
.btn-danger:hover { background: rgba(221,102,102,0.1); color: var(--danger); }
.link-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.85rem; padding: 0; text-decoration: underline; font-family: var(--sans); }
.link-btn:hover { color: var(--text); }
.inline-form { display: inline; }

/* ---- Header ---- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(12,12,13,0.85); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; font-family: var(--font); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; }
.brand-name { font-family: var(--font); font-size: 1.15rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { color: var(--muted); font-size: 0.92rem; }
.nav a:hover, .nav a.active { color: var(--text); }
.cart-link { position: relative; }
.cart-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--gold); color: #1a1408; border-radius: 999px; font-size: 0.7rem; font-weight: 700; vertical-align: middle; }

/* ---- Flash ---- */
.flash { padding: 0.7rem 0; font-size: 0.9rem; }
.flash-success { background: rgba(106,196,138,0.12); color: var(--green); }
.flash-error { background: rgba(221,102,102,0.12); color: var(--danger); }
.flash-info { background: rgba(201,162,75,0.12); color: var(--gold-soft); }

/* ---- Hero ---- */
.hero { padding: 5.5rem 0 4rem; background: radial-gradient(ellipse at top, rgba(201,162,75,0.08), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 780px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.lede { font-size: 1.15rem; color: #c8c8cd; max-width: 620px; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.8rem 0 1rem; }
.hero-note { font-size: 0.85rem; }

/* ---- Sections ---- */
.section-title { font-size: 2rem; margin-bottom: 0.3rem; }
.section-sub { margin-top: 0; }
.section-title-sm { font-size: 1.2rem; margin: 2.5rem 0 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

.steps { padding: 4rem 1.5rem; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.step { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step-num { font-family: var(--font); color: var(--gold); font-size: 1.3rem; }
.step h3 { margin: 0.6rem 0 0.4rem; }
.step p { color: var(--muted); margin: 0; }

/* ---- Teaser ---- */
.teaser { padding: 4rem 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.teaser-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; position: relative; }
.teaser-lock { font-size: 1.6rem; opacity: 0.7; margin-bottom: 0.5rem; }
.teaser-card h3 { margin: 0.3rem 0; }
.teaser-price { color: var(--gold); font-weight: 600; letter-spacing: 0.05em; filter: blur(0); }

.standard-strip { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 3rem 1.5rem; text-align: center; }
.standard-item { display: flex; flex-direction: column; }
.standard-item strong { font-family: var(--font); font-size: 1.2rem; color: var(--gold-soft); }

/* ---- Auth ---- */
.auth-wrap { display: grid; place-items: center; padding: 3.5rem 1.5rem; }
.auth-card { width: 100%; max-width: 460px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; }
.stack-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.stack-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.stack-form input, .stack-form textarea, select {
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 0.7rem 0.85rem; font-size: 0.95rem; font-family: var(--sans);
}
.stack-form input:focus, .stack-form textarea:focus { outline: none; border-color: var(--gold); }
.auth-alt { margin-top: 1.4rem; font-size: 0.9rem; text-align: center; }
.form-error { background: rgba(221,102,102,0.12); color: var(--danger); border: 1px solid rgba(221,102,102,0.3); padding: 0.7rem 0.9rem; border-radius: 9px; font-size: 0.9rem; }

/* ---- Pages ---- */
.page-narrow { max-width: 760px; padding-top: 3rem; padding-bottom: 4rem; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose p { color: #c8c8cd; }

/* ---- Status ---- */
.status-wrap { display: grid; place-items: center; padding: 4rem 1.5rem; }
.status-card { max-width: 620px; text-align: center; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2.5rem; }
.status-icon { font-size: 2.6rem; margin-bottom: 0.5rem; }
.status-pending { border-color: rgba(201,162,75,0.35); }
.status-approved { border-color: rgba(106,196,138,0.4); }
.status-meta { display: flex; justify-content: center; gap: 2.5rem; margin-top: 2rem; }
.status-meta > div { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; }

.badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.badge-pending { background: rgba(201,162,75,0.15); color: var(--gold-soft); }
.badge-approved, .badge-shipped { background: rgba(106,196,138,0.15); color: var(--green); }
.badge-rejected, .badge-cancelled { background: rgba(221,102,102,0.15); color: var(--danger); }
.badge-received { background: rgba(154,154,162,0.15); color: var(--muted); }

/* ---- Shop ---- */
.shop-head { padding: 3rem 1.5rem 1rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; padding-bottom: 4rem; }
.product-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.15s ease, transform 0.1s ease; }
.product-card:hover { border-color: rgba(201,162,75,0.4); transform: translateY(-2px); }
.product-card-link { color: var(--text); display: flex; flex-direction: column; }
.product-card-link:hover { color: var(--text); }
.product-thumb, .product-detail-media { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(135deg, #1c1c20, #101012); border-bottom: 1px solid var(--line); }
.product-detail-media { aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--radius); }
.product-initials { font-family: var(--font); font-size: 2rem; color: var(--gold); letter-spacing: 0.08em; opacity: 0.85; }
.product-initials-lg { font-family: var(--font); font-size: 3.5rem; color: var(--gold); letter-spacing: 0.08em; opacity: 0.85; }
.product-badge { position: absolute; top: 0.7rem; left: 0.7rem; background: var(--gold); color: #1a1408; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; letter-spacing: 0.03em; }
.product-body { padding: 1.1rem; }
.product-cat { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; }
.product-body h3 { margin: 0.25rem 0 0.15rem; font-size: 1.15rem; }
.product-sub { font-size: 0.85rem; margin: 0 0 0.6rem; }
.product-price { font-family: var(--font); font-size: 1.2rem; color: var(--gold-soft); margin: 0; }
.product-add { padding: 0 1.1rem 1.1rem; }

/* ---- Product detail ---- */
.product-detail { padding: 2.5rem 1.5rem 4rem; }
.back-link { font-size: 0.85rem; color: var(--muted); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; margin-top: 1.5rem; }
.product-sub-lg { font-size: 1.05rem; margin: 0.2rem 0 1rem; }
.product-price-lg { font-family: var(--font); font-size: 1.8rem; color: var(--gold-soft); margin: 0 0 1.2rem; }
.product-size { font-size: 1rem; }
.product-desc { color: #c8c8cd; }
.product-detail-add { display: flex; align-items: flex-end; gap: 1rem; margin: 1.5rem 0; }
.qty-label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.qty-label input, .qty-input { width: 72px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 0.6rem; font-size: 0.95rem; }
.spec-list { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.spec-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.spec-list strong { color: var(--text); display: inline-block; width: 90px; }

/* ---- Cart / tables ---- */
.cart-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.cart-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-total-label { text-align: right; font-weight: 600; }
.cart-total { font-family: var(--font); font-size: 1.15rem; color: var(--gold-soft); }
.cart-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; }
.cart-remove-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* ---- Checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-top: 1.5rem; }
.checkout-summary { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; align-self: start; }
.summary-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.summary-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.summary-total { display: flex; justify-content: space-between; padding-top: 0.8rem; font-size: 1.1rem; }
.summary-total strong { font-family: var(--font); color: var(--gold-soft); }
.pay-note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 0.8rem; font-size: 0.85rem; }
.order-success { text-align: center; padding: 1rem 0 1.5rem; }
.order-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.order-meta > div { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.9rem; }
.order-address { margin-top: 1rem; }

/* ---- Admin ---- */
.admin { padding: 3rem 1.5rem 4rem; }
.admin-stats { display: flex; gap: 1.5rem; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.6rem; min-width: 130px; }
.stat strong { font-family: var(--font); font-size: 2rem; color: var(--gold-soft); display: block; }
.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.review-who { display: flex; flex-direction: column; gap: 0.15rem; }
.review-who strong { font-size: 1.05rem; }
.review-reason { font-style: italic; color: #c8c8cd; margin: 0.4rem 0; }
.review-date { font-size: 0.8rem; }
.review-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.mini-select { padding: 0.3rem 0.4rem; font-size: 0.82rem; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 3rem; padding: 2.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }
.footer-brand { margin-bottom: 0.3rem; }
.disclaimer p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin: 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.2rem; font-size: 0.8rem; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .step-grid, .teaser-grid { grid-template-columns: 1fr; }
  .product-detail-grid, .checkout-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { gap: 0.9rem; font-size: 0.85rem; }
  .brand-name { display: none; }
  .review-card { flex-direction: column; align-items: flex-start; }
}

/* ---- Admin backend shell ---- */
.admin-body { display: block; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.admin-nav a {
  color: var(--muted);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.92rem;
}
.admin-nav a:hover { color: var(--text); background: var(--bg-card); }
.admin-nav a.active { color: var(--gold-soft); background: var(--bg-card); font-weight: 600; }
.admin-sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; }
.admin-main { flex: 1; min-width: 0; }
.admin-content { padding: 2rem 2.2rem 4rem; max-width: 1180px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.admin-head h1 { font-size: 1.9rem; margin: 0.1em 0 0.2em; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; margin: 1rem 0; }
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1.4rem;
}
.admin-card .cart-table { margin: 0.6rem 0 0; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.tabs a { color: var(--muted); padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.88rem; border: 1px solid transparent; }
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--gold-soft); border-color: var(--line); background: var(--bg-card); }
.search-form input[type="search"], .discount-input, .note-input {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}
.callout {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.chip { display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 0.8rem; border: 1px solid var(--line); }
.chip-ok { color: var(--green); border-color: var(--green); }
.chip-warn { color: var(--gold); border-color: var(--gold); }
.badge-paid { background: rgba(106, 196, 138, 0.15); color: var(--green); }
.badge-unpaid { background: rgba(214, 102, 102, 0.15); color: var(--danger); }
.badge-refunded, .badge-pending { background: rgba(201, 162, 75, 0.15); color: var(--gold-soft); }
.badge-approved { background: rgba(106, 196, 138, 0.15); color: var(--green); }
.badge-rejected { background: rgba(214, 102, 102, 0.15); color: var(--danger); }
.badge-neutral { background: var(--bg-soft); color: var(--muted); }
.delta-neg { color: var(--danger); }
.delta-pos { color: var(--green); }
.mini-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 1rem 0 0.2rem; }
.mini-note { font-size: 0.8rem; margin-top: 0.6rem; }
.qty-short { width: 64px; }
.link-danger { color: var(--danger); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-form { max-width: 640px; }
.check-label { display: flex; align-items: center; gap: 0.6rem; flex-direction: row !important; }
.check-label input[type="checkbox"] { width: auto; }
.stack-form select, .sync-form select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
}
.discount-row { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.note-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.note-list li { border-top: 1px solid var(--line); padding: 0.8rem 0; font-size: 0.9rem; }
.note-list p { margin: 0.2rem 0; }
.note-author { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; color: var(--muted); }
.note-dialerr { color: var(--gold); }
.sync-form { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.6rem; }

@media (max-width: 900px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-sidebar-foot { margin-top: 0; flex-direction: row; }
  .admin-cols, .form-2col { grid-template-columns: 1fr; }
  .admin-content { padding: 1.2rem 1rem 3rem; }
}

/* ---- Checkout links (draft orders) ---- */
.paylink-row { display: flex; gap: 0.6rem; align-items: center; }
.paylink-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  border-radius: 9px;
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  font-family: monospace;
}

/* ---- Traffic analytics ---- */
.stats-tight { gap: 0.9rem; }
.stats-tight .stat { min-width: 118px; padding: 0.9rem 1.1rem; flex: 1 1 118px; }
.stats-tight .stat strong { font-size: 1.5rem; }
.stats-tight .stat .muted { font-size: 0.78rem; }
.small-note { font-size: 0.85rem; margin: 0.2rem 0 1rem; }

.live-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-card); font-size: 0.86rem; white-space: nowrap;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.live-dot.is-on { background: var(--green); box-shadow: 0 0 0 3px rgba(106,196,138,0.18); }

.range-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.range-tab {
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.84rem;
  color: var(--muted); border: 1px solid transparent;
}
.range-tab:hover { color: var(--text); background: var(--bg-card); }
.range-tab.active { color: var(--gold-soft); background: var(--bg-card); border-color: var(--line); font-weight: 600; }

.toolbar-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.toggle {
  padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; color: var(--muted);
}
.toggle:hover { color: var(--text); }
.toggle.on { color: var(--gold-soft); border-color: var(--gold); }

/* Bars are pageviews; the solid inner portion is unique visitors. */
.chart {
  display: flex; align-items: flex-end; gap: 2px;
  height: 190px; margin-top: 1rem;
  padding: 0.5rem 0.2rem 0; border-bottom: 1px solid var(--line);
}
.chart-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.chart-bar {
  width: 100%; min-height: 2px; border-radius: 3px 3px 0 0;
  background: rgba(201,162,75,0.28);
  display: flex; align-items: flex-end; transition: background 0.15s;
}
.chart-col:hover .chart-bar { background: rgba(201,162,75,0.5); }
.chart-bar-inner { width: 100%; border-radius: 3px 3px 0 0; background: var(--gold); }
.chart-axis {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: var(--muted); margin-top: 0.5rem; gap: 1rem;
}
.chart-legend { display: inline-flex; align-items: center; gap: 0.45rem; }
.swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.swatch-soft { background: rgba(201,162,75,0.28); }
.swatch-solid { background: var(--gold); margin-left: 0.6rem; }

.funnel { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.funnel-step { position: relative; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.funnel-bar { position: absolute; inset: 0 auto 0 0; background: rgba(201,162,75,0.18); }
.funnel-meta {
  position: relative; display: flex; align-items: baseline; gap: 0.6rem;
  padding: 0.6rem 0.9rem; font-size: 0.88rem; flex-wrap: wrap;
}
.funnel-meta strong { min-width: 82px; }
.funnel-hint { margin-left: auto; font-size: 0.78rem; }

/* Inline bar behind the first cell of a ranked table. */
.bar-cell { position: relative; }
.bar-cell::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: var(--bar, 0%); background: rgba(201,162,75,0.12); border-radius: 4px;
}
.bar-cell > span { position: relative; word-break: break-all; }

.admin-cols-3 { grid-template-columns: repeat(3, 1fr); }
.row-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.mini-input {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); padding: 0.3rem 0.5rem; font-size: 0.8rem; width: 140px;
  font-family: var(--sans);
}
.mini-input:focus { outline: none; border-color: var(--gold); }

@media (max-width: 900px) {
  .admin-cols-3 { grid-template-columns: 1fr; }
  .chart { height: 150px; }
}

/* ============================================================================
   Conversion work: intake counter, teaser pricing, the welcome roll.
   ========================================================================== */

/* ---- Monthly intake counter ---- */
.intake { max-width: 420px; margin-top: 2rem; }
.intake-bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.intake-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.intake-note { font-size: 0.85rem; color: var(--muted); margin: 0.6rem 0 0; }
.intake-note strong { color: var(--text); }
.apply-intake { text-align: center; margin-top: 1.2rem; }

/* ---- The free-vial offer, inline in the hero ----
   Sized to stay one or two lines: it sits above the CTA, so every line it
   grows pushes the buttons further down the first screen. */
.hero-gift {
  display: flex; align-items: center; gap: 0.8rem;
  order: -1;
  background: linear-gradient(120deg, rgba(201,162,75,0.12), rgba(201,162,75,0.02));
  border: 1px solid rgba(201,162,75,0.35); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; margin: 0 0 2rem; font-size: 0.95rem; line-height: 1.5;
}
.hero-gift strong { color: var(--gold-soft); }
.gift-dice { font-size: 1.6rem; line-height: 1; flex: none; }

/* ---- Teaser cards: real thumbs, masked prices ---- */
.teaser-card { padding: 0; overflow: hidden; text-align: left; }
.teaser-body { padding: 1.1rem 1.2rem 1.4rem; }
.teaser-body h3 { margin: 0.3rem 0 0.2rem; font-size: 1.15rem; }
.teaser-sub { font-size: 0.85rem; margin: 0 0 0.7rem; }
.teaser-price {
  color: var(--gold); font-weight: 700; letter-spacing: 0.06em; margin: 0;
  font-variant-numeric: tabular-nums;
}
.teaser-price .muted { font-weight: 400; letter-spacing: 0.02em; font-size: 0.78rem; }
.coa-strip { padding-bottom: 3rem; }

/* ---- Invite code disclosure on the apply form ---- */
.invite-toggle { border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; }
.invite-toggle summary { cursor: pointer; font-size: 0.9rem; list-style: none; }
.invite-toggle summary::-webkit-details-marker { display: none; }
.invite-hint { color: var(--gold); font-weight: 600; }
.invite-toggle label { margin-top: 0.8rem; display: block; }

/* ---- Step two of applying ---- */
.status-finish { text-align: left; }
.status-finish .status-icon, .status-finish .eyebrow, .status-finish h1 { text-align: center; }
.status-finish .status-icon, .status-finish h1 { display: block; }
.finish-form { margin-top: 1.6rem; text-align: left; }
.status-perk { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.88rem; }

/* ---- The roll ---- */
.roll-wrap { display: flex; justify-content: center; padding: 3rem 1.5rem; }
.roll-card {
  width: 100%; max-width: 760px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.8rem 2rem 2.4rem;
}
.roll-card .lede { max-width: 520px; margin-inline: auto; }

.reel-window {
  --reel-gap: 12px;
  position: relative; overflow: hidden; margin: 2rem 0 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 1.2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.reel-track { display: flex; gap: var(--reel-gap); will-change: transform; }
.reel-tile {
  flex: 0 0 150px; width: 150px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; padding-bottom: 0.7rem;
}
.reel-tile strong { display: block; font-size: 0.85rem; margin-top: 0.6rem; }
.reel-tile .muted { font-size: 0.75rem; }
.reel-tile .product-thumb { aspect-ratio: 1 / 1; }
.reel-tile .product-initials { font-size: 1.4rem; }
.reel-marker {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  background: var(--gold); box-shadow: 0 0 14px rgba(201,162,75,0.7); pointer-events: none;
}
.reel-window.is-settled { border-color: rgba(201,162,75,0.5); }

.roll-result { margin: 1.5rem 0 0.5rem; }
.roll-result h2 { color: var(--gold); font-size: 2rem; margin: 0.2rem 0 0.4rem; }

/* ---- Roll banners and claim progress ---- */
.roll-banner {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  background: rgba(201,162,75,0.08); border: 1px solid rgba(201,162,75,0.3);
  border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 1.6rem;
}
.roll-banner > div { flex: 1; min-width: 240px; }
.roll-banner strong { display: block; }
.roll-banner .muted { font-size: 0.88rem; }
.roll-banner-done { background: rgba(106,196,138,0.09); border-color: rgba(106,196,138,0.35); }

.roll-progress { margin: 0; font-size: 0.92rem; }
.roll-progress .muted { font-size: 0.82rem; }
.roll-progress-done { color: var(--green); }
.roll-progress-wait { color: var(--muted); }
.roll-progress-near {
  background: rgba(201,162,75,0.08); border: 1px solid rgba(201,162,75,0.3);
  border-radius: 10px; padding: 0.8rem 1rem; margin: 0 0 1rem;
}

/* ---- Free line items ---- */
.free-line td, .free-line span:first-child { color: var(--green); }
.free-tag { color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* ---- Admin stat rows ---- */
.stat-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1rem; }
.stat-row > div { display: flex; flex-direction: column; }
.stat-row span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.stat-row strong { font-family: var(--font); font-size: 1.5rem; }

@media (max-width: 860px) {
  .hero-gift { padding: 0.8rem 0.9rem; font-size: 0.9rem; align-items: flex-start; }
  .roll-card { padding: 2rem 1.2rem; }
  .reel-tile { flex-basis: 120px; width: 120px; }
}

/* ============================================================================
   Visual system — depth, texture and light.

   The page was one flat #0c0c0d field: every surface sat on the same plane, so
   nothing read as raised, lit or layered. This adds three things a dark luxury
   palette needs to stop looking like an unstyled dark mode — a background with
   light in it, a grain so the black is not a dead digital void, and cards that
   catch a highlight along their top edge.

   Scoped to the storefront. The admin backend stays flat on purpose: it is a
   tool, and texture behind dense tables is noise.
   ========================================================================== */

:root {
  /* Cards are lit from above: lighter at the top edge, falling away below. */
  --card-bg: linear-gradient(180deg, #1c1c21 0%, #151518 100%);
  --card-edge: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px -14px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --gold-line: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.5), transparent);
}

/* The base colour moves to <html> so it is no longer propagated to the canvas
   from <body> — that propagation is what would hide the layers below. */
html { background: var(--bg); }
body:not(.admin-body) { background: transparent; }

/* Layer 1: light. Three wide, very low-opacity pools so the field has a warm
   top-left, a cool counterweight top-right, and a lift from below. */
body:not(.admin-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 640px at 10% -10%, rgba(201, 162, 75, 0.13), transparent 62%),
    radial-gradient(820px 560px at 94% 2%, rgba(118, 108, 186, 0.09), transparent 64%),
    radial-gradient(1100px 700px at 50% 112%, rgba(201, 162, 75, 0.06), transparent 60%);
}

/* Layer 2: grain. Inline SVG turbulence — no network request, and it is what
   keeps the dark areas from banding into flat plates on wide gradients. */
body:not(.admin-body)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Hero: the light source of the page ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 18% 0%, rgba(201, 162, 75, 0.16), transparent 62%),
    radial-gradient(620px 380px at 82% 12%, rgba(118, 108, 186, 0.10), transparent 66%);
  border-bottom: none;
}
/* A fine dot lattice, faded out before it reaches the copy, so the hero has
   surface without competing with the headline. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(760px 420px at 24% 8%, #000, transparent 72%);
          mask-image: radial-gradient(760px 420px at 24% 8%, #000, transparent 72%);
}
/* Hairline that reads as the edge of the lit area rather than a table rule. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-line);
}
.hero-inner { position: relative; z-index: 1; }

/* Gold-graded phrase for the half of the headline that carries the payoff. */
.grad {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 55%, #f0dcae);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ---- Cards: lit top edge, real shadow, gold on hover ---- */
.step,
.teaser-card,
.product-card,
.auth-card,
.status-card,
.roll-card,
.reel-tile,
.roll-banner,
.hero-gift {
  background-image: var(--card-bg);
  box-shadow: var(--card-edge), var(--shadow-sm);
}
.auth-card,
.status-card,
.roll-card { box-shadow: var(--card-edge), var(--shadow-lg); }

/* The gold tint on these three is the point of them — keep it over the grey. */
.hero-gift,
.roll-banner {
  background-image: linear-gradient(120deg, rgba(201, 162, 75, 0.14), rgba(201, 162, 75, 0.03));
}
.roll-banner-done {
  background-image: linear-gradient(120deg, rgba(106, 196, 138, 0.14), rgba(106, 196, 138, 0.03));
}

.step,
.teaser-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.step:hover,
.teaser-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 75, 0.42);
  box-shadow: var(--card-edge), var(--shadow-lg), 0 0 34px -14px rgba(201, 162, 75, 0.55);
}

/* ---- Product imagery: a lit vial rather than a grey box ---- */
.product-thumb,
.product-detail-media {
  background:
    radial-gradient(60% 60% at 50% 42%, rgba(201, 162, 75, 0.20), transparent 68%),
    linear-gradient(150deg, #202026, #131316 55%, #0e0e10);
  background-color: #141417;
}
.product-initials,
.product-initials-lg {
  opacity: 1;
  text-shadow: 0 0 26px rgba(201, 162, 75, 0.45);
}

/* ---- Buttons: a gold with a gradient in it ---- */
.btn {
  background-image: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px -8px rgba(201, 162, 75, 0.6);
}
.btn:hover {
  background-image: linear-gradient(180deg, #f0dcae, var(--gold-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px -8px rgba(201, 162, 75, 0.75);
}
.btn-ghost {
  background-image: none;
  box-shadow: var(--card-edge);
}
.btn-ghost:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  box-shadow: var(--card-edge);
  border-color: rgba(201, 162, 75, 0.4);
}
.btn-danger { background-image: none; box-shadow: none; }
.btn-danger:hover { background-image: none; box-shadow: none; }

/* ---- Section rhythm ---- */
.section-title { position: relative; padding-top: 1.1rem; }
.section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 75, 0));
}
.teaser {
  background:
    radial-gradient(900px 420px at 78% 0%, rgba(201, 162, 75, 0.07), transparent 64%),
    var(--bg-soft);
  border-top: none;
  border-bottom: none;
  position: relative;
}
.teaser::before,
.teaser::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-line);
}
.teaser::before { top: 0; }
.teaser::after { bottom: 0; }

/* ---- Intake bar: give the fill some light ---- */
.intake-bar {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}
.intake-bar span {
  box-shadow: 0 0 14px rgba(201, 162, 75, 0.75);
}

/* ---- Standard strip: separate the three claims ---- */
.standard-strip { gap: 0; }
.standard-item {
  padding: 0 2.2rem;
  border-right: 1px solid var(--line);
}
.standard-item:last-child { border-right: none; }

/* ---- Header: lift it off the page once you scroll ---- */
.site-header {
  background: rgba(12, 12, 13, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 860px) {
  .standard-item { border-right: none; padding: 0.5rem 1rem; }
  .hero::before { background-size: 22px 22px; }
}

/* Motion is decoration here — none of it carries meaning, so it all goes. */
@media (prefers-reduced-motion: reduce) {
  .step, .teaser-card, .product-card, .btn { transition: none; }
  .step:hover, .teaser-card:hover, .product-card:hover, .btn:hover { transform: none; }
}

/* ============================================================================
   Exit-intent prize wheel.
   ========================================================================== */

.spin-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.spin-overlay[hidden] { display: none; }

.spin-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  text-align: center;
  background-image: var(--card-bg);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--card-edge), var(--shadow-lg), 0 0 80px -30px rgba(201, 162, 75, 0.7);
  padding: 2rem 1.6rem 1.6rem;
  animation: spin-in 0.28s ease-out;
}
@keyframes spin-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.spin-modal h2 { margin: 0.2rem 0 0.5rem; font-size: 1.7rem; }
.spin-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 1.2rem; }
.spin-sub strong { color: var(--gold-soft); }

.spin-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.spin-close:hover { color: var(--text); }

/* ---- The wheel ---- */
.wheel-stage {
  position: relative;
  width: 264px;
  height: 264px;
  margin: 0 auto 1.4rem;
}
.wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 75, 0.55);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 0 30px -6px rgba(201, 162, 75, 0.4);
  /* background (the wedges) is written by exit-spin.js from the real pool */
}
.wheel-label {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 14px 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.wheel-label span { max-width: 84px; text-align: center; line-height: 1.15; }
/* Lower-half labels are rotated the long way round and pinned to the far edge
   by exit-spin.js, which lands them in the same place the right way up. */
.wheel-label.flip { align-items: flex-end; }

.wheel-pointer {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--gold);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
  z-index: 2;
}
.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #22222a, #131316);
  border: 1px solid rgba(201, 162, 75, 0.6);
  color: var(--gold);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 1;
}

.spin-won { font-family: var(--font); font-size: 1.25rem; margin: 0 0 0.3rem; }
.spin-won strong { color: var(--gold-soft); }
.spin-claim { font-size: 0.9rem; margin: 0; }
.spin-form { margin-top: 1.1rem; text-align: left; }

@media (max-width: 420px) {
  .spin-modal { padding: 1.6rem 1.1rem 1.2rem; }
  .wheel-stage { width: 224px; height: 224px; }
}

/* The wheel is the whole point, so it still spins under reduced motion — but
   the modal stops sliding in, which is decoration. */
@media (prefers-reduced-motion: reduce) {
  .spin-modal { animation: none; }
}

/* ============================================================================
   Hero free-vial ticker.

   Sits where the static offer line was, directly above the CTA, so it is kept
   to roughly the same height — every row it adds pushes the buttons down the
   first screen.
   ========================================================================== */
.hero-ticker {
  background: linear-gradient(120deg, rgba(201, 162, 75, 0.16), rgba(201, 162, 75, 0.04));
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: var(--radius);
  /* It now leads the page rather than sitting under the lede, so it carries a
     little more light than the cards below it. */
  box-shadow: var(--card-edge), var(--shadow-sm), 0 0 46px -18px rgba(201, 162, 75, 0.6);
  padding: 0.85rem 1rem;
  margin: 0 0 2rem;
  max-width: 520px;
}
.hero-ticker[hidden] { display: none; }

.ticker-face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0c0c0d;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem 0.55rem 0.95rem;
}
.ticker-name {
  font-family: var(--font);
  font-size: 1.3rem;
  color: var(--gold-soft);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* The names differ in width; a fixed minimum stops the button jittering
     left and right on every frame of the cycle. */
  flex: 1 1 auto;
}
.ticker-name.settled {
  color: #fff;
  text-shadow: 0 0 22px rgba(201, 162, 75, 0.85);
}
.ticker-face .btn { flex: none; padding: 0.5rem 1.1rem; font-size: 0.88rem; }

.ticker-cond,
.ticker-won {
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
  line-height: 1.45;
}
.ticker-cond { color: var(--muted); }
.ticker-cond strong { color: var(--gold-soft); }
.ticker-won strong { color: var(--gold-soft); font-size: 1rem; }
.ticker-won .muted { font-size: 0.85rem; }

.ticker-catch { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.ticker-catch[hidden] { display: none; }
.ticker-catch input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  background: #0c0c0d;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
}
.ticker-catch input::placeholder { color: #6f6f78; }
.ticker-catch input:focus { outline: none; border-color: var(--gold); }
.ticker-catch .btn { flex: none; }
.ticker-fine { font-size: 0.78rem; margin: 0.5rem 0 0; }

/* Source of the reel's names, read once by hero-ticker.js. */
.ticker-strip { display: none; }

@media (max-width: 560px) {
  .ticker-name { font-size: 1.12rem; }
  .ticker-catch { flex-direction: column; }
  .ticker-catch .btn { width: 100%; }
}

/* The free-offer condition. Quiet enough not to weigh down the pre-email
   state, still legible — a disclosure that cannot be read is not one. */
.ticker-terms,
.spin-terms {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---- Admin: on-page behaviour bars ---- */
.label-sm {
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin: 0 0 0.6rem;
}
.bar-row { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.4rem; font-size: 0.82rem; }
.bar-label { flex: 0 0 84px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-track { flex: 1; height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.bar-val { flex: 0 0 44px; text-align: right; font-variant-numeric: tabular-nums; }
