/* Drops Deal Feed & Trust Pages — Locked 6-token type scale (docs/TYPOGRAPHY_AND_COPY_GUIDE.md) */
:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --card: #ffffff;
  --tile: #f2f2f0;
  --ink: #0b0b0f;
  --ink-2: #555862;
  --ink-3: #8c909a;
  --line: rgba(11, 11, 15, 0.08);
  --green: #12a150;
  --green-soft: #e8f6ee;
  --accent: #ff4f17;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;

  /* Strict 6-Token Type Scale (Zero one-off font sizes anywhere in stylesheet) */
  --t-hero: 42px;   /* Final net price */
  --t-stat: 24px;   /* YOU SAVE amount, brand wordmark, doc page h1 */
  --t-title: 16px;  /* Product headline, primary CTA, revealed promo code, doc h2 */
  --t-body: 13px;   /* Instruction, pills, chips, copy button, drawer rows, doc prose */
  --t-meta: 11px;   /* Store eyebrow, Reg. price, qty pill, tagline, section headers, footer */
  --t-legal: 10px;  /* Disclosures, 2-sentence deal summary, rarity label */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.shell {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.tnum { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr-copy {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  font-size: var(--t-title);
}

/* ---------- Conditional TikTok / IG WebView Banner ---------- */
.social-banner {
  background: #1d1d1f;
  color: #ffffff;
  font-size: var(--t-meta);
  font-weight: 700;
  line-height: 1.35;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* ---------- Header & Tagline ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(243, 244, 246, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(11, 11, 15, .05);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 6px;
}

.brand-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand {
  font-family: "Fredoka", var(--sans, system-ui), sans-serif;
  font-weight: 600;
  font-size: calc(var(--t-stat) * 1.3);
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  user-select: none;
}
.brand .candy {
  width: .74em;
  height: .37em;
  margin-left: .04em;
  transform: translateY(.01em);
  overflow: visible;
}

.tagline {
  margin: 4px 0 0;
  font-size: var(--t-meta);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.top-nav {
  display: none;
  align-items: center;
  gap: 16px;
}

.top-nav a {
  font-size: var(--t-body);
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s ease;
}

.top-nav a[aria-current="page"] {
  color: var(--ink);
}

.kpi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  font-weight: 800;
  font-size: var(--t-body);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.kpi small {
  font-size: var(--t-meta);
  font-weight: 700;
  color: var(--ink-3);
}

.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: var(--t-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .12s ease, opacity .15s ease;
}

.back-pill:active { transform: scale(.97); }

/* ---------- Filter Rail ---------- */
.rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 16px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar { display: none; }

.rail.fade-right {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
}

.rail.fade-left {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 100%);
}

.rail.fade-both {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 28px), transparent 100%);
}

.rail button {
  flex: none;
  height: 38px;
  padding: 0 15px;
  border-radius: 13px;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  font: 700 var(--t-body)/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}

.rail button.on { background: var(--ink); color: #fff; }

/* ---------- Responsive Feed & Card Grid ---------- */
.feed {
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  flex: 1;
  align-content: start;
  align-items: start;
}

.card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 8px 24px rgba(20, 24, 40, 0.05);
  transition: box-shadow .2s ease;
}

.card.expired .tile img,
.card.expired .tile .floor {
  filter: grayscale(.85);
  opacity: .55;
}

.card.expired .body .meta,
.card.expired .body .ttl,
.card.expired .body .price {
  opacity: .58;
  filter: grayscale(.75);
  margin-bottom: 12px;
}

.card.expired .chip.ended {
  left: 12px;
  background: rgba(11, 11, 15, .78);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card.expired .chip.time {
  color: var(--ink-3);
}

/* ---------- Recently Missed Section & FOMO Alert Overlay ---------- */
.missed-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 4px 0;
  font-size: var(--t-meta);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.missed-divider::before,
.missed-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.fomo-overlay {
  position: relative;
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(11, 11, 15, .10);
  box-shadow: 0 8px 24px rgba(11, 11, 15, .07);
}

.fomo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 79, 23, .10);
  color: var(--accent);
  font-size: var(--t-legal);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fomo-title {
  margin: 7px 0 0;
  font-size: var(--t-title);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fomo-sub {
  margin: 3px 0 0;
  font-size: var(--t-meta);
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink-2);
}

.fomo-form {
  margin-top: 10px;
  display: flex;
  gap: 7px;
  align-items: stretch;
}

.fomo-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(11, 11, 15, .14);
  background: #fff;
  font: 500 var(--t-title)/1 var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}

.fomo-input::placeholder {
  color: var(--ink-3);
  font-size: var(--t-body);
}

.fomo-input:focus { border-color: var(--ink); }

.fomo-btn {
  flex: none;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 800 var(--t-body)/1 var(--sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, opacity .15s ease;
}

.fomo-btn:active { transform: scale(.97); }

.fomo-err {
  margin: 6px 2px 0;
  font-size: var(--t-legal);
  font-weight: 700;
  color: var(--accent);
}

.fomo-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--green-soft);
}

.fomo-done-text { min-width: 0; }

.fomo-done-title {
  font-size: var(--t-body);
  font-weight: 800;
  color: var(--green);
  line-height: 1.3;
}

.fomo-done-sub {
  margin-top: 2px;
  font-size: var(--t-meta);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.fomo-edit {
  flex: none;
  border: 0;
  background: rgba(18, 161, 80, .12);
  color: var(--green);
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  font: 800 var(--t-meta)/1 var(--sans);
  cursor: pointer;
}

/* ---------- Studio Product Plinth ---------- */
.tile {
  position: relative;
  height: 232px;
  border-radius: 22px;
  background: var(--tile);
  overflow: hidden;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White-background product shots blend onto the gray tile with auto-seated contact shadow */
.tile img.w {
  object-fit: contain;
  inset: 14px 18px 10px;
  width: calc(100% - 36px);
  height: calc(100% - 24px);
  mix-blend-mode: multiply;
  object-position: 50% 100%;
  transform: none;
  z-index: 1;
}

.tile .floor {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 46%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .16), transparent);
  filter: blur(2px);
  z-index: 0;
}

.T-plinth .tile { background: #f2f2f0; }
.T-spot .tile { background: radial-gradient(120% 90% at 50% 38%, #ffffff 0%, #f3f3f1 52%, #e6e6e2 100%); }
.T-spot .tile .floor { width: 52%; bottom: 12px; background: radial-gradient(closest-side, rgba(0, 0, 0, .2), transparent); }
.T-sweep .tile { background: linear-gradient(180deg, #f7f7f5 0%, #f1f1ee 64%, #e4e4df 80%, #ebebe7 100%); }
.T-sweep .tile .floor { bottom: 16px; width: 56%; height: 14px; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); }

.tile-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: var(--t-meta);
  font-weight: 700;
}

/* ---------- Corner Chips & Collectible Tiers ---------- */
.chip {
  position: absolute;
  top: 12px;
  z-index: 2;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--t-body);
  letter-spacing: -0.01em;
}

.chip.off { left: 12px; color: #fff; background: var(--ink); }
.chip.off.free { background: var(--green); }

.chip.time {
  right: 12px;
  padding-left: 6px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
}

.ring { width: 18px; height: 18px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .bg { stroke: rgba(11, 11, 15, .1); }
.ring .fg { stroke: var(--ink); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.chip.time.urgent { color: var(--accent); }
.chip.time.urgent .fg { stroke: var(--accent); }

/* Tier chips (Pocket Galaxy IV, Aurora, HOT flow, Plain) */
.chip.tc { overflow: hidden; color: #fff; isolation: isolate; }
.chip.tc .tx {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.chip.tc .t, .chip.tc .p { line-height: 1; }
.chip.tc .t {
  display: block;
  position: relative;
  top: -.108em;
  font-size: var(--t-legal);
  letter-spacing: .08em;
}

/* taffy tier chips (2026-12-04): EPIC 50%+ hot pink + sparkles, RARE 40%+ cobalt soft ice, HOT 30%+ lemon spark, under 30% plain */
.chip.tc[data-v="epic"],
.chip.tc[data-v="rare"],
.chip.tc[data-v="hot"] {
  background-size: 180px 100%;
  background-repeat: repeat-x;
  animation: tier-flow 5s linear infinite;
}
@keyframes tier-flow { to { background-position: 180px 0; } }

/* EPIC (50%+) */
.chip.tc[data-v="epic"] {
  overflow: visible;
  color: #fff;
  background-image: linear-gradient(90deg, #ff2e8a, #ff8ac4, #ff2e8a);
  box-shadow: 0 2px 8px -2px rgba(255, 46, 138, .55);
  text-shadow: 0 1px 1px rgba(140, 0, 60, .35);
}
.chip .sp { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chip .sp b {
  position: absolute;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M10 0C10.6 7 13 9.4 20 10 13 10.6 10.6 13 10 20 9.4 13 7 10.6 0 10 7 9.4 9.4 7 10 0Z'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 2px rgba(255, 80, 160, .9));
  opacity: 0;
  animation: sp-twinkle 2.6s ease-in-out infinite;
}
.chip .sp b:nth-child(1) { top: -5px; left: 2%; width: 6px; height: 6px; animation-duration: 2.6s; animation-delay: 0s; }
.chip .sp b:nth-child(2) { top: -5px; left: 17%; width: 8px; height: 8px; animation-duration: 2.2s; animation-delay: 0.5s; }
.chip .sp b:nth-child(3) { top: -5px; left: 32%; width: 5px; height: 5px; animation-duration: 3.0s; animation-delay: 1.1s; }
.chip .sp b:nth-child(4) { top: -5px; left: 47%; width: 7px; height: 7px; animation-duration: 2.4s; animation-delay: 1.6s; }
.chip .sp b:nth-child(5) { top: -5px; left: 62%; width: 6px; height: 6px; animation-duration: 2.8s; animation-delay: 2.0s; }
.chip .sp b:nth-child(6) { top: -5px; left: 77%; width: 8px; height: 8px; animation-duration: 3.2s; animation-delay: 0.8s; }
.chip .sp b:nth-child(7) { top: -5px; left: 92%; width: 5px; height: 5px; animation-duration: 2.0s; animation-delay: 1.4s; }
.chip .sp b:nth-child(8) { top: 19px; left: 8%; width: 5px; height: 5px; animation-duration: 2.5s; animation-delay: 0.3s; }
.chip .sp b:nth-child(9) { top: 19px; left: 26%; width: 7px; height: 7px; animation-duration: 2.9s; animation-delay: 1.8s; }
.chip .sp b:nth-child(10) { top: 19px; left: 44%; width: 6px; height: 6px; animation-duration: 2.3s; animation-delay: 0.9s; }
.chip .sp b:nth-child(11) { top: 19px; left: 62%; width: 5px; height: 5px; animation-duration: 3.1s; animation-delay: 2.3s; }
.chip .sp b:nth-child(12) { top: 19px; left: 80%; width: 7px; height: 7px; animation-duration: 2.7s; animation-delay: 1.2s; }
@keyframes sp-twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  45% { opacity: 1; transform: scale(1) rotate(45deg); }
  70% { opacity: 0; transform: scale(.4) rotate(90deg); }
}

/* RARE (40%+) */
.chip.tc[data-v="rare"] {
  color: #fff;
  background-image: linear-gradient(90deg, #1e55f0, #2f6bff, #6fb6ff, #2f6bff, #1e55f0);
  text-shadow: 0 1px 1px rgba(10, 30, 110, .45);
}

/* HOT (30%+) */
.chip.tc[data-v="hot"] {
  color: var(--ink);
  background-image: linear-gradient(90deg, #ffc93c, #ffc93c, #fff3b0, #ffc93c, #ffc93c);
}

/* Everyday (<30%) */
.chip[data-v="plain"] { background: var(--ink); color: #fff; }
.chip[data-v="plain"] .t { display: none; }


/* ---------- Card Body ---------- */
.body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 8px;
}
.meta { font-size: var(--t-meta); font-weight: 700; color: var(--ink-3); }
.ttl {
  margin: 4px 0 0;
  font-size: var(--t-title);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.price .l { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.price .now { font-size: var(--t-hero); line-height: .95; font-weight: 800; letter-spacing: -0.045em; }
.price .now.free { color: var(--green); }
.price .plus { font-size: var(--t-title); font-weight: 800; color: var(--green); }
.price .sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.price .was { font-size: var(--t-meta); font-weight: 700; color: var(--ink-3); }
.price .was s { text-decoration-thickness: 1.5px; }
.qty-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 7px;
  background: #f1f2f4;
  color: var(--ink-2);
  font-size: var(--t-meta);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.save {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 9px 14px 10px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
  cursor: default;
}
.save small {
  font-size: var(--t-meta);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .85;
}
.save b {
  font-size: var(--t-stat);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-top: 3px;
}

.howto {
  margin: 10px 0 0;
  font-size: var(--t-body);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink-2);
}

/* ---------- Protected Masked Promo Code Pill ---------- */
.pc3 {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pc3 > span { font-size: var(--t-body); font-weight: 700; color: var(--ink-2); }
.pc3 button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  border-radius: 12px;
  border: 1.5px dashed rgba(11, 11, 15, .22);
  background: #fff;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.pc3 button b { font-size: var(--t-title); font-weight: 800; letter-spacing: .14em; }
.pc3 button b.mask { letter-spacing: .22em; color: var(--ink-3); }
.pc3 button b.revealed { animation: unmask .35s ease; }
@keyframes unmask { from { filter: blur(5px); opacity: .3; } to { filter: none; opacity: 1; } }
.pc3 button i {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-style: normal;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: var(--t-body);
  font-weight: 800;
  display: flex;
  align-items: center;
  transition: background .2s ease;
}
.pc3 button.ok { border-color: var(--green); }
.pc3 button.ok i { background: var(--green); }

.pc3 button[data-reveal].glint i::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  animation: glint 1s ease-out 1 both;
}
@keyframes glint { to { left: 120%; } }

.manual-copy {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f4f5f7;
  font-size: var(--t-meta);
  color: var(--ink-2);
}
.manual-copy input {
  width: 96px;
  border: 1px solid rgba(11, 11, 15, .15);
  border-radius: 6px;
  padding: 3px 6px;
  font: 800 var(--t-body)/1.2 var(--sans);
  letter-spacing: .08em;
  text-align: center;
  color: var(--ink);
  background: #fff;
}

/* ---------- Primary Native Store CTA & Card Footer Dock ---------- */
.card-foot {
  margin-top: auto;
  padding-top: 14px;
}

.cta {
  height: 56px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 20px;
  font-size: var(--t-title);
  font-weight: 800;
  letter-spacing: -0.015em;
  transition: transform .12s ease, opacity .15s ease;
}
.cta:active { transform: scale(.98); }
.cta .go {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.cta:active .go { transform: translateX(3px); }
.cta.off { background: #c9cbd1; pointer-events: none; }

.cta .go.cue svg { animation: arrowthru .9s cubic-bezier(.5, 0, .2, 1) 1; }
@keyframes arrowthru {
  0% { transform: none; }
  45% { transform: translateX(22px); opacity: 0; }
  46% { transform: translateX(-22px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.disc {
  margin: 8px 6px 2px;
  font-size: var(--t-legal);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Smart Conditional Drawer ---------- */
.util {
  display: flex;
  align-items: center;
  margin-top: 12px;
}
.how {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  font: 700 var(--t-body)/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.how svg { transition: transform .3s; flex: none; }
.how[aria-expanded="true"] svg { transform: rotate(180deg); }

.drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.3, .7, .2, 1);
}
.drawer.open { grid-template-rows: 1fr; }
.drawer > div { overflow: hidden; margin: 0 -10px; padding: 0 10px; }
.dsec { margin-top: 14px; }
.dh {
  font-size: var(--t-meta);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 4px;
}
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: var(--t-body);
  color: var(--ink-2);
}
.ledger li .l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger li .v { flex: none; font-weight: 700; color: var(--ink); }
.ledger li.neg .v { color: var(--green); }
.ledger li.fin {
  margin: 4px -10px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 800;
}
.ledger li.fin .v { font-size: var(--t-title); font-weight: 800; color: var(--green); }

.items { list-style: none; margin: 0; padding: 0; }
.items li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  padding: 8px 0;
  font-size: var(--t-body);
  line-height: 1.35;
  border-top: 1px solid var(--line);
}
.items li:first-child { border-top: 0; padding-top: 2px; }
.items .q { font-weight: 700; color: var(--ink-3); }
.items .n { font-weight: 500; color: var(--ink); }
.items .p { font-weight: 700; text-align: right; white-space: nowrap; }
.filler {
  display: inline-block;
  margin-left: 6px;
  font-size: var(--t-legal);
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 5px;
  border-radius: 5px;
  background: #f1f2f4;
  color: var(--ink-2);
  vertical-align: 1px;
}
.clips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.clips li {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f5f7;
  font-size: var(--t-body);
  line-height: 1.4;
  color: var(--ink-2);
}
.sns-tip {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f5f7;
  font-size: var(--t-meta);
  line-height: 1.4;
  color: var(--ink-2);
}
.sns-tip a { color: var(--ink); font-weight: 700; }
.why {
  font-size: var(--t-legal);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-3);
  margin: 10px 0 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.why.solo { margin-top: 6px; padding-top: 4px; border-top: 0; }

.state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  font-size: var(--t-body);
  color: var(--ink-2);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.foot-bar {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.foot {
  padding: 14px 16px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  font-size: var(--t-meta);
  color: var(--ink-3);
}

.foot-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.dev-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.foot a,
.foot button {
  border: 0;
  background: none;
  padding: 0;
  font: 700 var(--t-meta)/1.2 var(--sans);
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
}

.foot a:hover,
.foot button:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Clean Info Pages (About, Privacy, 404) ---------- */
.doc-main {
  padding: 18px 16px 40px;
  display: grid;
  gap: 14px;
  flex: 1;
  align-content: start;
}

.doc-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.doc-card {
  background: var(--card);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 8px 24px rgba(20, 24, 40, .05);
}

.doc-eyebrow {
  margin: 0;
  font-size: var(--t-meta);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.doc-h1 {
  margin: 6px 0 0;
  font-size: var(--t-stat);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.doc-lead {
  margin: 10px 0 0;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
}

.doc-h2 {
  margin: 0 0 8px;
  font-size: var(--t-title);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.doc-p {
  margin: 0 0 10px;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-2);
}

.doc-p:last-child { margin-bottom: 0; }
.doc-p strong { color: var(--ink); font-weight: 700; }
.doc-p a { color: var(--ink); font-weight: 700; }

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.doc-step {
  padding: 14px;
  border-radius: 16px;
  background: var(--bg);
}

.doc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: var(--t-meta);
  font-weight: 800;
  margin-bottom: 8px;
}

.doc-step h3 {
  margin: 0 0 4px;
  font-size: var(--t-body);
  font-weight: 800;
  color: var(--ink);
}

.doc-step p {
  margin: 0;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-2);
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-2);
}

.doc-list li strong { color: var(--ink); font-weight: 700; }

.doc-badge {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-meta);
  font-weight: 800;
  margin-top: 1px;
}

.doc-callout {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid rgba(18, 161, 80, .14);
}

.doc-callout p {
  margin: 0;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.doc-callout + .doc-p {
  margin-top: 12px;
}

.doc-updated {
  margin: 10px 0 0;
  font-size: var(--t-meta);
  font-weight: 700;
  color: var(--ink-3);
}

.doc-cta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 700px) {
  .wrap { max-width: 780px; }

  .bar {
    padding: 16px 24px 8px;
  }

  .top-nav {
    display: inline-flex;
  }

  .rail {
    padding: 6px 24px 14px;
  }

  .feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 16px 24px 36px;
    align-items: stretch;
  }

  /* Align hero prices and black CTAs cleanly across every multi-column row */
  .ttl {
    min-height: calc(var(--t-title) * 1.28 * 2);
  }
  .disc {
    min-height: calc(var(--t-legal) * 1.35 * 2);
  }

  .foot {
    padding: 16px 24px 32px;
  }

  .doc-main {
    padding: 28px 24px 48px;
    gap: 16px;
  }

  .doc-card {
    padding: 26px;
  }

  .doc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .wrap { max-width: 1180px; }

  .feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 18px 24px 44px;
  }
}

/* Desktop hover polish (pointer devices only) */
@media (hover: hover) {
  .card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 14px 32px rgba(20, 24, 40, .08);
  }
  .rail button:not(.on):hover {
    background: #ebedf0;
    color: var(--ink);
  }
  .cta:hover { opacity: .93; }
  .cta:hover .go { transform: translateX(2px); }
  .fomo-btn:hover,
  .back-pill:hover { opacity: .9; }
  .how:hover {
    background: #ebedf0;
    color: var(--ink);
  }
  .top-nav a:hover { color: var(--ink); }
}

/* Respect Reduce Motion globally */
@media (prefers-reduced-motion: reduce) {
  .chip.tc[data-v="epic"],
  .chip.tc[data-v="rare"],
  .chip.tc[data-v="hot"],
  .chip .sp b,
  .cta .go.cue svg,
  .pc3 button[data-reveal].glint i::after,
  .pc3 button b.revealed {
    animation: none !important;
  }
  .drawer { transition: none; }
}
