:root {
  --ink: #0b1f17;
  --ink-2: #143528;
  --paper: #edf1f5;
  --paper-2: #f7f9fb;
  --line: #d5dde8;
  --muted: #667286;
  --heat: #1fa971;
  --heat-deep: #0f7a4f;
  --perklo: #3ddc97;
  --rise: #0f9d8a;
  --gold: #efb100;
  --viral: #7a1cff;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(16, 20, 28, 0.08);
  --radius: 18px;
  --font-display: "Outfit", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 2rem));
  --directory-sidebar: 280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(226, 59, 18, 0.10), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(15, 157, 138, 0.10), transparent 50%),
    linear-gradient(180deg, #e8eef5 0%, var(--paper) 35%, #e6ebf1 100%);
  min-height: 100vh;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 20, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 28, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  z-index: 0;
}

.atmosphere {
  position: fixed;
  inset: auto -10% -20% auto;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(226,59,18,.12), rgba(239,177,0,.08), rgba(15,157,138,.12), transparent 70%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(-8%, -6%, 0) rotate(18deg); }
}

body > *:not(.atmosphere) { position: relative; z-index: 1; }

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  flex: 0 0 auto;
}
.brand__mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(16, 20, 28, 0.16);
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.045em;
}
.brand__word em {
  font-style: normal;
  color: var(--perklo);
}
.brand--compact .brand__mark { width: 28px; height: 28px; border-radius: 8px; }
.brand--compact .brand__word { font-size: 1.2rem; }

/* Banner + header stick as one unit (avoids mobile overlap). */
body > .site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
}
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 80;
}

.site-header {
  position: relative;
  top: auto;
  z-index: auto;
  background: rgba(251, 251, 253, 0.86);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  min-height: 3.4rem;
}
.header-top .search-form--hero {
  margin-left: auto;
}
.header-top .header-actions {
  margin-left: 0;
}

.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink-2);
  cursor: pointer;
}
.header-menu-btn:hover,
.site-header.is-nav-open .header-menu-btn {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.header-menu-btn .icon { width: 1rem; height: 1rem; }

.search-form {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.045);
  border: 0;
  border-radius: 999px;
  min-width: 0;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.search-form:focus-within {
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(0, 113, 227, 0.35);
}
.search-form--hero {
  height: 34px;
  padding: 0 0.75rem 0 0.7rem;
  width: 200px;
  flex: 0 1 200px;
}
.search-form__icon {
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.search-form__icon .icon { width: 0.95rem; height: 0.95rem; }
.search-form input {
  border: 0;
  outline: 0;
  padding: 0.4rem 0.15rem 0.4rem 0.4rem;
  width: 100%;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}
.search-form input::placeholder { color: #8a93a3; }
.search-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}
.header-action {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: 999px;
}
.header-action .icon { width: 1.05rem; height: 1.05rem; color: currentColor; }
.header-action:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.header-post {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  text-decoration: none;
  background: var(--heat);
  transition: transform 0.15s ease, background 0.15s ease;
}
.header-post .icon { width: 0.95rem; height: 0.95rem; }
.header-post:hover {
  background: var(--heat-deep);
  transform: scale(1.04);
}

.header-sub {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
}
.header-sub__inner {
  padding: 0.15rem 0 0.45rem;
}

/* Segmented mode control */
.mode-seg {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: min(100%, 22rem);
  flex: 0 1 auto;
}
.mode-seg::-webkit-scrollbar { display: none; }
.mode-seg a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  text-decoration: none;
  color: #6e6e73;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.mode-seg a .icon {
  width: 1rem;
  height: 1rem;
  color: currentColor;
}
.mode-seg a:hover { color: var(--ink); }
.mode-seg a.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.mode-seg__label {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.cat-rail {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6e6e73;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.cat-rail a:hover,
.cat-rail a.is-active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}
.rail-sep {
  width: 1px;
  height: 1rem;
  background: var(--line);
  flex: 0 0 auto;
  margin: 0 0.25rem;
}

.hero-strip {
  padding: 1.35rem 0 0.25rem;
}
.hero-strip--compact {
  padding: 0.7rem 0 0.15rem;
}
.hero-strip--compact .hero-strip__inner {
  padding: 0.55rem 0 0.55rem;
}
.hero-strip--compact h1 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  max-width: none;
}
.hero-strip--compact .lede {
  font-size: 0.92rem;
  max-width: 52ch;
}
.hero-strip--compact .hero-strip__pulse {
  width: 72px;
  height: 72px;
}
.hero-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  padding: 1rem 0 0.85rem;
  border-bottom: 2px solid var(--ink);
}
.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--heat);
}
.hero-strip h1,
.deal-page h1,
.empty-state h1,
.section-title,
.admin-header h1 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}
.hero-strip h1 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); max-width: 14ch; }
.lede { margin: 0.45rem 0 0; color: var(--muted); max-width: 46ch; font-size: 0.98rem; }

.hero-strip__pulse {
  position: relative;
  width: 110px;
  height: 110px;
  flex: 0 0 auto;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(226,59,18,.35);
  animation: pulse 2.4s ease-out infinite;
}
.pulse-core {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ink), #2a3548);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 16px 40px rgba(16,20,28,.28);
}
.pulse-core span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}
.pulse-core small {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  opacity: 0.7;
}
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.deals-section { padding: 1.15rem 0 3rem; }
.directory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--directory-sidebar);
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.directory-layout__main {
  min-width: 0;
  padding-bottom: 0;
}
.directory-layout__main .page-nav { margin-top: 0.5rem; }
.deal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  margin-top: 1rem;
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}
.page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.page-nav a:hover {
  border-color: var(--ink-2);
  background: var(--paper-2);
}
.page-nav .page-current {
  font-size: 0.9rem;
  color: var(--muted);
}

.deal-card {
  --thumb: 168px;
  background:
    radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%), rgba(226,59,18,.08), transparent 45%),
    var(--card);
  border: 1px solid rgba(213,221,232,.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: var(--thumb) minmax(0, 1fr);
  align-items: stretch;
  transform: translateY(10px);
  opacity: 0;
  animation: rise-in .5s ease forwards;
  animation-delay: var(--delay, 0ms);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(16,20,28,.12);
  border-color: rgba(226,59,18,.35);
}
@keyframes rise-in {
  to { transform: translateY(0); opacity: 1; }
}

.deal-card__media {
  position: relative;
  display: block;
  width: var(--thumb);
  height: var(--thumb);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2330, #334155);
  text-decoration: none;
  flex: 0 0 var(--thumb);
  align-self: start;
}
.deal-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.deal-card:hover .deal-card__media img { transform: scale(1.05); }
.deal-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  font-family: var(--font-display);
}

.temp-badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  grid-template-columns: 10px auto;
  gap: 0.15rem 0.55rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  background: rgba(16,20,28,.88);
  color: #fff;
  backdrop-filter: blur(8px);
}
.temp-badge__mercury {
  grid-row: span 2;
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--heat), var(--gold));
  box-shadow: 0 0 16px rgba(226,59,18,.55);
  animation: shimmer 1.8s ease-in-out infinite;
}
.temp-badge strong { font-size: 0.95rem; line-height: 1; }
.temp-badge em { font-style: normal; font-size: 0.68rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

.heat-viral .temp-badge__mercury,
.heat-viral .gauge span { background: linear-gradient(180deg, #9b4dff, #ff3d81); }
.heat-blazing .temp-badge__mercury { background: linear-gradient(180deg, #ff2d00, #ffb000); }
.heat-hot .temp-badge__mercury { background: linear-gradient(180deg, #e23b12, #efb100); }
.heat-warm .temp-badge__mercury { background: linear-gradient(180deg, #efb100, #ffe08a); }
.heat-fresh .temp-badge__mercury { background: linear-gradient(180deg, var(--rise), #7dffdf); }
.heat-cool .temp-badge__mercury { background: linear-gradient(180deg, #7a8799, #c5d0de); }

.save-chip {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.deal-card__body { padding: 0.85rem 0.95rem 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-width: 0; }
.deal-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
}
.deal-card__meta a { color: var(--rise); text-decoration: none; }
.deal-card__merchant,
.deal-card__when,
.deal-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}
a.deal-card__merchant {
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  max-width: 100%;
}
a.deal-card__merchant:hover .merchant,
a.deal-card__merchant:focus-visible .merchant {
  color: var(--heat);
}
a.deal-card__merchant:focus-visible {
  outline: 2px solid rgba(226, 59, 18, 0.45);
  outline-offset: 2px;
}
.deal-card__favicon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  flex: 0 0 auto;
}
.merchant {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 14ch;
}
.dot {
  width: 4px; height: 4px; border-radius: 50%; background: #b7c2d0;
}
.deal-card__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.28;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.deal-card__title a { text-decoration: none; }
.deal-card__title a:hover { color: var(--heat-deep); }
.deal-card__byline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
}
.deal-card__byline a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 750;
}
.deal-card__byline a:hover { color: var(--heat); }
.deal-card__byline-kind {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(16, 20, 28, 0.06);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.deal-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  flex: 1;
}
.deal-card__flags {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 2;
}
.deal-flag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.deal-flag--bf {
  background: rgba(16, 20, 28, 0.88);
  color: #ffd27a;
}
.deal-flag--feat {
  background: rgba(15, 157, 138, 0.92);
  color: #fff;
}
.deal-card__desk {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.deal-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 34px;
  padding: 0 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.deal-stat .icon { color: var(--ink-2); opacity: 0.7; }
.deal-stat strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 750;
}
.deal-tool {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.deal-tool:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.deal-tool.is-active,
.deal-tool[aria-pressed="true"] {
  background: rgba(226, 59, 18, 0.08);
  border-color: rgba(226, 59, 18, 0.35);
  color: var(--heat-deep);
}
.deal-tool.is-active .icon,
.deal-tool[aria-pressed="true"] .icon { color: var(--heat); }
.deal-tool.is-busy { opacity: 0.65; pointer-events: none; }
.account-stat-link {
  display: grid;
  gap: inherit;
  text-decoration: none;
  color: inherit;
}
.account-stat-link:hover strong { color: var(--heat); }
.deal-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.2rem;
}
.price-block strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.price-block--empty strong,
.price-block__open {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.82rem !important;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0 !important;
}
.price-block s {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.price-block--lg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 1rem;
}
.price-block--lg strong { font-size: 2rem; }
.price-block--lg .save-chip { position: static; }

.deal-card__actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.deal-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.deal-card__go--code {
  min-width: 9.5rem;
  justify-content: center;
}
.deal-card__go.is-copied {
  filter: saturate(1.05);
}
.deal-card__go-short { display: none; }
.deal-card__precheck {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 34px;
  white-space: nowrap;
}
.deal-card__precheck.is-busy,
.deal-card__precheck.is-done {
  opacity: 0.85;
}
.deal-card__precheck-short { display: none; }
.deal-card__precheck-result.deal-precheck-result {
  margin: 0.4rem 0 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.25;
  border-radius: 8px;
}
.vote-form { display: inline-flex; gap: 0.25rem; }
.vote-form button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink-2);
  transition: .15s ease;
  display: inline-grid;
  place-items: center;
}
.vote-form button:hover { border-color: var(--ink); }
.vote-form button[value="up"]:hover { background: #ffe8e1; color: var(--heat); }
.vote-form button[value="down"]:hover { background: #e8f7f4; color: var(--rise); }
.vote-form--lg button {
  width: auto;
  padding: 0 0.9rem;
  height: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--heat {
  background: linear-gradient(135deg, var(--heat), #ff6a3d 55%, #ff8f1f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(226,59,18,.28);
}
.btn--heat:hover { box-shadow: 0 16px 34px rgba(226,59,18,.38); }
.btn--ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--small { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.btn--xl { padding: 0.95rem 1.45rem; font-size: 1.02rem; }

/* ——— Deal desk (product page) ——— */
.deal-desk {
  --desk-ink: #12151c;
  --desk-muted: #5c6678;
  --desk-line: rgba(18, 21, 28, 0.1);
  --desk-sheet: #ffffff;
  --desk-rail: #f3f5f8;
  --desk-accent: var(--heat);
  --desk-shell: min(1240px, calc(100% - 2rem));
  --desk-sidebar: 300px;
  position: relative;
  padding-bottom: 3rem;
  color: var(--desk-ink);
  background:
    radial-gradient(980px 420px at 8% -8%, rgba(226, 59, 18, 0.09), transparent 55%),
    radial-gradient(760px 360px at 92% 4%, rgba(15, 157, 138, 0.08), transparent 52%),
    linear-gradient(180deg, #e9eef4 0%, #f2f5f8 40%, #eef1f5 100%);
}
.deal-desk > .shell,
.deal-desk .deal-desk__nav,
.deal-desk .deal-desk__layout {
  width: var(--desk-shell);
  margin-inline: auto;
}
.deal-desk__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  padding: 1.05rem 0 0.65rem;
}
.deal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--desk-muted);
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: color .18s ease, transform .18s ease;
}
.deal-back .icon { width: 0.95rem; height: 0.95rem; }
.deal-back:hover { color: var(--desk-ink); transform: translateX(-2px); }
.deal-desk__crumb { color: #a0a8b5; }
.deal-desk__crumb-link {
  color: var(--desk-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.deal-desk__crumb-link:hover { color: var(--desk-ink); }

.deal-desk__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--desk-sidebar);
  gap: 1.25rem 1.4rem;
  align-items: start;
  padding-bottom: 1.5rem;
}
.deal-desk__main {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.deal-sheet {
  background: var(--desk-sheet);
  border: 1px solid var(--desk-line);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(18, 21, 28, 0.07);
  overflow: clip;
  animation: deal-panel-in .55s cubic-bezier(.22, 1, .36, 1) both;
}
.deal-sheet__hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 28rem;
}
.deal-sheet__visual {
  position: relative;
  min-width: 0;
  min-height: 22rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0%, #f4f5f7 48%, #ebecef 100%);
  isolation: isolate;
  border-right: 1px solid var(--desk-line);
  animation: deal-visual-in .7s cubic-bezier(.22, 1, .36, 1) both;
}
.deal-sheet__visual--logo {
  background: linear-gradient(155deg, #f7f8fb, #e9edf3);
}
.deal-sheet__visual img {
  position: relative;
  width: min(100%, 28rem);
  height: auto;
  max-height: min(100%, 32rem);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.75rem;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.deal-sheet__visual:hover img { transform: scale(1.025); }
.deal-sheet__visual img.is-logo-img {
  width: 42%;
  padding: 0;
}
.deal-sheet__placeholder {
  display: grid;
  place-items: center;
  font-family: "Sora", var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.05em;
}
.deal-sheet__placeholder em { color: var(--heat); font-style: normal; }

.deal-sheet__buy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 1.5rem 1.55rem 1.25rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  background: #fff;
  animation: deal-panel-in .65s .05s cubic-bezier(.22, 1, .36, 1) both;
}
.deal-sheet__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0;
  color: var(--desk-muted);
  font-size: 0.84rem;
  font-weight: 650;
}
.deal-sheet__eyebrow a {
  color: inherit;
  text-decoration: none;
}
.deal-sheet__eyebrow a:hover { color: var(--desk-ink); }
.deal-sheet__buy h1 {
  font-family: "Sora", var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0;
  max-width: 34ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.deal-sheet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.deal-sheet__tags a {
  text-decoration: none;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.05);
  color: var(--desk-muted);
  font-size: 0.78rem;
  font-weight: 650;
}
.deal-sheet__tags a:hover {
  background: rgba(18, 21, 28, 0.09);
  color: var(--desk-ink);
}
.deal-sheet__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin: 0.2rem 0 0.15rem;
}
.deal-sheet__price strong {
  font-family: "Sora", var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.05em;
  line-height: 1;
  font-weight: 700;
}
.deal-sheet__price s {
  color: #8b93a3;
  font-size: 1.05rem;
  font-weight: 500;
}
.deal-sheet__save {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(226, 59, 18, 0.12);
  color: var(--heat-deep);
  font-weight: 750;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}
.deal-sheet__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  color: var(--desk-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.deal-sheet__metrics li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
}
.deal-sheet__metrics strong {
  font-family: "Sora", var(--font-display);
  color: var(--desk-ink);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.deal-sheet__metrics .heat-ring { display: none; }
.deal-sheet__actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}
.deal-sheet__actions > .deal-cta {
  width: 100%;
  max-width: 20rem;
  justify-content: center;
  border-radius: 14px;
  background: var(--desk-ink);
}
.deal-sheet__actions > .deal-cta.deal-cta--voucher {
  background: var(--desk-ink);
}
.deal-sheet__actions > .deal-cta:hover,
.deal-sheet__actions > .deal-cta.deal-cta--voucher:hover {
  background: #2a2e38;
}
.deal-sheet__secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.deal-sheet .vote-form--deal button {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
}
.deal-sheet .deal-precheck-btn,
.deal-sheet .ask-agent__summary {
  min-height: 2.4rem;
  border-radius: 12px;
  padding: 0 0.85rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.deal-sheet__by {
  margin: 0.15rem 0 0;
  color: var(--desk-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.deal-sheet__by a {
  color: var(--desk-ink);
  text-decoration: none;
  font-weight: 650;
}
.deal-sheet__by a:hover { color: var(--heat); }
.deal-sheet .affiliate-note {
  margin: 0.35rem 0 0;
  color: #8b93a3;
  font-size: 0.78rem;
  line-height: 1.45;
}
.deal-sheet .affiliate-note a { color: var(--desk-muted); }

.deal-sheet__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--desk-line);
}
.deal-sheet__foot .deal-freshness {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.8rem;
}
.deal-sheet__foot .deal-freshness a {
  color: var(--desk-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.deal-sheet__sep { margin: 0 0.2rem; opacity: 0.5; }
.deal-sheet__report {
  position: relative;
}
.deal-sheet__report > summary {
  list-style: none;
  cursor: pointer;
  color: var(--desk-muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.deal-sheet__report > summary::-webkit-details-marker { display: none; }
.deal-sheet__report > summary::marker { content: ''; }
.deal-sheet__report > summary:hover { color: var(--desk-ink); }
.deal-sheet__report[open] > summary { color: var(--desk-ink); }
.deal-sheet__report .deal-status-report {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.4rem);
  z-index: 5;
  margin: 0;
  padding: 0.55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--desk-line);
  box-shadow: 0 12px 28px rgba(18, 21, 28, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 16rem;
}
.deal-sheet--copy,
.deal-sheet--share {
  padding: 1.15rem 1.35rem 1.2rem;
}
.deal-sheet__facts,
.deal-sheet__summary {
  margin: 0;
  color: var(--desk-ink);
  font-size: 1.02rem;
  line-height: 1.6;
  letter-spacing: -0.015em;
}
.deal-sheet__summary { margin-top: 0.75rem; color: var(--desk-muted); }
.deal-sheet--share h2,
.deal-desk .comments-section h2,
.deal-desk .section-title {
  font-family: "Sora", var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  margin: 0 0 0.35rem;
}
.deal-sheet--share p {
  margin: 0 0 0.75rem;
  color: var(--desk-muted);
  font-size: 0.92rem;
}
.deal-desk .comments-section,
.deal-desk .deal-desk__related {
  padding: 1.15rem 1.3rem 1.25rem;
}
.deal-desk .deal-copy {
  color: #1c2230;
  font-size: 1.02rem;
  line-height: 1.7;
  letter-spacing: -0.015em;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin-top: 0.85rem;
}
.deal-desk .faq-block { margin-top: 1rem; }

.heat-ring {
  --temp: 0;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}
.heat-ring--sheet {
  width: 36px;
  height: 36px;
  margin-left: auto;
}
.heat-ring__track,
.heat-ring__fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.heat-ring__track {
  background: rgba(0, 0, 0, 0.06);
}
.heat-ring__fill {
  background: conic-gradient(var(--heat) calc(var(--temp) * 1%), transparent 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: heat-spin-in .9s cubic-bezier(.22, 1, .36, 1) both;
}
.heat-viral .heat-ring__fill { background: conic-gradient(#7c3aed calc(var(--temp) * 1%), transparent 0); }
.heat-blazing .heat-ring__fill { background: conic-gradient(#ff2d00 calc(var(--temp) * 1%), transparent 0); }
.heat-popular .heat-ring__fill { background: conic-gradient(var(--heat) calc(var(--temp) * 1%), transparent 0); }
.heat-warm .heat-ring__fill { background: conic-gradient(var(--gold) calc(var(--temp) * 1%), transparent 0); }
.heat-fresh .heat-ring__fill { background: conic-gradient(var(--rise) calc(var(--temp) * 1%), transparent 0); }
.heat-cool .heat-ring__fill { background: conic-gradient(#86868b calc(var(--temp) * 1%), transparent 0); }
.heat-ring__core {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--heat);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.heat-ring--sheet .heat-ring__core { inset: 6px; }
.heat-viral .heat-ring__core { color: #7c3aed; }
.heat-fresh .heat-ring__core { color: #0d9488; }
.heat-cool .heat-ring__core { color: #86868b; }
.heat-ring__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.heat-ring__copy em {
  font-style: normal;
  color: #6e6e73;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}
.price-stack strong {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 1;
  font-weight: 700;
}
.price-stack s {
  display: inline;
  color: #86868b;
  font-size: 1.05rem;
  font-weight: 500;
}
.deal-save-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 980px;
  background: rgba(226, 59, 18, 0.1);
  color: var(--heat-deep);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}

.deal-cta {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 980px;
  text-decoration: none;
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
  background: var(--ink);
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  max-width: 100%;
}
.deal-cta:hover {
  background: #2a2a2e;
  transform: scale(1.015);
  box-shadow: none;
}
.deal-cta:active { transform: scale(0.985); }
.deal-cta__code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: rgba(16,20,28,.92);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.deal-cta__code .icon { width: 1rem; height: 1rem; color: var(--gold); }
.deal-cta__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.28);
  margin: 0.2rem 0;
}
.deal-cta__label {
  padding: 0;
  font-size: 1.02rem;
  white-space: nowrap;
}
.deal-cta > .icon { width: 1.05rem; height: 1.05rem; margin: 0; }
.deal-cta--voucher {
  background: var(--heat);
}
.deal-cta--voucher:hover { background: var(--heat-deep); }
.deal-cta--copy {
  background: var(--ink);
}
.deal-card__code {
  appearance: none;
  border: 1px dashed rgba(226,59,18,.3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: start;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(226,59,18,.08);
  color: var(--heat-deep);
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  min-height: 36px;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.deal-card__code span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-card__code .icon { color: var(--heat); flex: 0 0 auto; }
.deal-card__code:hover { background: rgba(226,59,18,.14); border-color: rgba(226,59,18,.5); }
.deal-card__go {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.deal-card__freshness {
  display: block;
  margin: 0.35rem 0 0;
  color: #9a3412;
  font-size: 0.78rem;
  line-height: 1.3;
}
.deal-freshness {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e6e73;
  font-size: 0.88rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.deal-freshness--stale {
  color: #9a3412;
}
.deal-ended-banner,
.deal-suspect-banner {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  border: 0;
}
.deal-ended-banner {
  background: rgba(127, 29, 29, 0.07);
  color: #7f1d1d;
}
.deal-suspect-banner {
  background: rgba(146, 64, 14, 0.07);
  color: #9a3412;
}
.deal-cta--ended {
  opacity: 0.72;
  background: #6e6e73;
}
.deal-cta--ended:hover { background: #515154; }
.deal-precheck-btn {
  min-height: 2.5rem;
  border-radius: 980px;
  font-weight: 600;
}
.deal-precheck-result {
  margin: 0.65rem 0 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
  color: #334155;
}
.deal-precheck-result.is-warn {
  background: rgba(127, 29, 29, 0.08);
  border-color: rgba(127, 29, 29, 0.22);
  color: #7f1d1d;
}
.deal-precheck-result.is-ok {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.2);
  color: #166534;
}
.deal-precheck-result.is-pending {
  color: #475569;
}
.deal-cookie-drops {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.deal-cookie-drops iframe {
  width: 1px;
  height: 1px;
  border: 0;
}
.deal-status-report {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  align-items: center;
  margin: 0.75rem 0 0.2rem;
}
.deal-status-report__label {
  font-size: 0.82rem;
  color: #86868b;
  margin-right: 0.2rem;
  letter-spacing: -0.01em;
}
.deal-status-report .btn--sm {
  min-height: 1.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.82rem;
}
.deal-status-report__msg {
  flex: 1 1 100%;
  font-size: 0.88rem;
}
.deal-status-report__msg.is-ok { color: #166534; }
.deal-status-report__msg.is-err { color: #9a3412; }
.deal-ended {
  padding: 3rem 0 4rem;
}
.deal-ended__panel {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(180, 83, 9, 0.12), transparent 55%),
    linear-gradient(165deg, #fffaf5 0%, #f8fafc 55%, #eef2ff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.deal-ended__eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9a3412;
}
.deal-ended h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
.deal-ended__lead {
  margin: 0 0 0.65rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.45;
}
.deal-ended__reason {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}
.deal-ended__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.voucher-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.voucher-search input[type="search"] {
  flex: 1 1 16rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 0.85rem;
}
.voucher-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.voucher-card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.voucher-card p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
}
.voucher-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.voucher-card__head strong { display: block; }
.voucher-card__favicon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.voucher-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #64748b;
  font-size: 0.8rem;
}
.voucher-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}
.vouchers-strip {
  margin: 0.4rem auto 1.1rem;
}
.vouchers-strip__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.vouchers-strip__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
}
.vouchers-strip__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, 15rem);
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
}
.vouchers-strip__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  min-height: 7.5rem;
}
.vouchers-strip__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.vouchers-strip__favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
}
.vouchers-strip__card strong {
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vouchers-strip__card > span { color: #475569; font-size: 0.86rem; line-height: 1.3; }
.vouchers-strip__card em {
  margin-top: auto;
  font-style: normal;
  font-weight: 700;
  color: var(--heat, #e23b12);
  font-size: 0.86rem;
}
.vouchers-strip__note {
  margin: 0.55rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
}

/* ——— Apple-style voucher search desk ——— */
.page-vouchers {
  --vs-bg: #f5f5f7;
  --vs-ink: #1d1d1f;
  --vs-muted: #6e6e73;
  --vs-line: rgba(0, 0, 0, 0.08);
  --vs-blue: #0071e3;
  --vs-card: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(0, 113, 227, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--vs-bg) 42%, #eef0f4 100%);
}
.page-vouchers::before { opacity: 0.12; }
.page-vouchers .atmosphere { opacity: 0.35; filter: blur(56px); }
.page-vouchers .site-header,
.page-vouchers .header-sub {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.vs-page {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  padding-top: 2.4rem;
  color: var(--vs-ink);
  font-family: var(--font-display);
}
.vs-hero {
  position: relative;
  text-align: center;
  padding: 1.2rem 0 1.6rem;
  animation: vs-rise 0.55s ease both;
}
.vs-hero__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 180px;
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.16), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.vs-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vs-muted);
  font-weight: 600;
}
.vs-brand {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 700;
}
.vs-lede {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: var(--vs-muted);
  font-size: 1.05rem;
  line-height: 1.45;
  font-family: var(--font-body);
}
.vs-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto;
  max-width: 34rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--vs-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.vs-search:focus-within {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 14px 44px rgba(0, 113, 227, 0.14);
  transform: translateY(-1px);
}
.vs-search__icon { color: var(--vs-muted); display: inline-flex; flex: 0 0 auto; }
.vs-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.05rem;
  color: var(--vs-ink);
  padding: 0.35rem 0.2rem;
}
.vs-search__clear {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vs-muted);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
}
.vs-search__go {
  border: 0;
  border-radius: 980px;
  padding: 0.65rem 1.1rem;
  background: var(--vs-blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.vs-search__go:hover { filter: brightness(1.05); }
.vs-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.vs-suggestions a {
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--vs-line);
  color: var(--vs-ink);
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.vs-suggestions a:hover {
  background: #fff;
  transform: translateY(-1px);
}
.vs-count {
  margin: 1rem 0 0;
  color: var(--vs-muted);
  font-size: 0.92rem;
  font-family: var(--font-body);
}
.vs-count--error { color: #b42318; font-weight: 600; }
.vs-panel {
  margin-top: 1.4rem;
  animation: vs-rise 0.65s ease 0.08s both;
}
.vs-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  border-radius: 22px;
  background: var(--vs-card);
  border: 1px solid var(--vs-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05);
}
.vs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--vs-line);
}
.vs-row:last-child { border-bottom: 0; }
.vs-trust {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding-top: 0.15rem;
}
.vs-trust__btn {
  appearance: none;
  border: 1px solid var(--vs-line);
  background: #fff;
  color: var(--vs-ink);
  border-radius: 980px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  font-family: var(--font-body);
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.vs-trust__btn:hover { border-color: rgba(0, 140, 70, 0.4); background: rgba(0, 140, 70, 0.08); color: #0b7a3e; }
.vs-trust__btn--fail:hover { border-color: rgba(185, 28, 28, 0.35); background: rgba(185, 28, 28, 0.07); color: #9a3412; }
.vs-trust__btn:disabled { opacity: 0.55; cursor: default; }
.vs-trust__counts {
  font-size: 0.78rem;
  color: var(--vs-muted);
  font-family: var(--font-body);
  margin-left: 0.15rem;
}
.vs-trust__counts.is-empty { opacity: 0.72; }
.vs-trust__msg {
  flex: 1 1 100%;
  font-size: 0.8rem;
  font-family: var(--font-body);
}
.vs-trust__msg.is-ok { color: #166534; }
.vs-trust__msg.is-err { color: #9a3412; }
.vs-row__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.vs-row__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--vs-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.vs-row__mark img,
.vs-row__favicon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
}
.vs-row__copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.vs-row__copy strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.vs-row__copy span,
.vs-row__copy small {
  font-family: var(--font-body);
  color: var(--vs-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.vs-row__copy span,
.vs-row__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vs-row__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.vs-code {
  border: 1px solid var(--vs-line);
  background: #fff;
  border-radius: 980px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--vs-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vs-code:hover { border-color: rgba(0, 113, 227, 0.35); background: #f0f7ff; }
.vs-code.is-copied,
.deal-card__code.is-copied,
.deal-cta.is-copied,
.vouchers-strip__card.is-copied em {
  border-color: rgba(0, 140, 70, 0.45);
  background: rgba(0, 140, 70, 0.1);
  color: #0b7a3e;
}
.vouchers-strip__card.is-copied {
  outline: 2px solid rgba(0, 140, 70, 0.35);
  outline-offset: 2px;
}
.vs-open {
  text-decoration: none;
  border-radius: 980px;
  padding: 0.45rem 0.85rem;
  background: var(--vs-ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.vs-open:hover { background: #000; }
.vs-empty {
  text-align: center;
  padding: 2.2rem 1.2rem;
  border-radius: 22px;
  background: var(--vs-card);
  border: 1px solid var(--vs-line);
}
.vs-empty h2 {
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}
.vs-empty p {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--vs-muted);
  font-family: var(--font-body);
}
.vs-empty--soft { background: rgba(255, 255, 255, 0.45); }
.vs-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.1rem;
  color: var(--vs-muted);
  font-family: var(--font-body);
}
.vs-pager a {
  color: var(--vs-blue);
  text-decoration: none;
  font-weight: 600;
}
@keyframes vs-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .vs-page { padding-top: 1.4rem; }
  .vs-row {
    flex-direction: column;
    align-items: stretch;
  }
  .vs-row__actions { justify-content: flex-start; }
  .vs-search { padding-left: 0.85rem; }
  .vs-search__go { padding-inline: 0.9rem; }
}

.deal-go { min-width: min(100%, 220px); }
.vote-form--deal {
  display: inline-flex;
  gap: 0.35rem;
}
.vote-form--deal button {
  width: auto;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  color: var(--ink);
  transition: background .15s ease;
}
.vote-form--deal button:hover { background: rgba(0, 0, 0, 0.08); }
.vote-form--deal .icon { width: 0.95rem; height: 0.95rem; }

.deal-stats {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  background: rgba(16,20,28,.035);
  border-radius: 18px;
  border: 1px dashed rgba(16,20,28,.12);
}
.deal-stats--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 0 0 0 0.15rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-left: auto;
}
.deal-stats li {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0.35rem 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.deal-stats--inline li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  padding: 0;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.82rem;
  font-weight: 500;
  color: #86868b;
}
.deal-stats .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--ink-2);
}
.deal-stats strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-transform: none;
}
.deal-stats--inline strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.deal-copy {
  color: #1d1d1f;
  font-size: 1.05rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0 0.5rem;
  box-shadow: none;
  line-height: 1.7;
  letter-spacing: -0.015em;
}
.deal-copy p {
  margin: 0 0 1em;
}
.deal-copy p:last-child {
  margin-bottom: 0;
}
.deal-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.2rem 0;
}
@keyframes deal-panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes deal-visual-in {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes deal-body-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes deal-heat-in {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes heat-spin-in {
  from { opacity: 0; transform: rotate(-40deg) scale(.85); }
  to { opacity: 1; transform: none; }
}

/* Deal sidebar rail */
.deal-rail {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 5.5rem;
  animation: deal-body-in .7s .12s cubic-bezier(.22, 1, .36, 1) both;
}
.deal-rail__card {
  background: #fff;
  border: 1px solid var(--desk-line, rgba(18, 21, 28, 0.1));
  border-radius: 18px;
  padding: 0.85rem 0.85rem 0.7rem;
  box-shadow: 0 12px 28px rgba(18, 21, 28, 0.05);
}
.deal-rail__card--feed { padding-top: 0.7rem; }
.deal-rail__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: var(--desk-rail, #f3f5f8);
}
.deal-rail__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.deal-rail__tab {
  display: grid;
  place-items: center;
  min-height: 2rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--desk-muted, #5c6678);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.deal-rail__input:checked + .deal-rail__tab,
.deal-rail__tab:hover {
  color: var(--desk-ink, #12151c);
}
.deal-rail__input:checked + .deal-rail__tab {
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 21, 28, 0.08);
}
.deal-rail__panel { display: none; }
.deal-rail__card--feed:has(input[value="rising"]:checked) [data-rail-panel="rising"],
.deal-rail__card--feed:has(input[value="top"]:checked) [data-rail-panel="top"],
.deal-rail__card--feed:has(input[value="latest"]:checked) [data-rail-panel="latest"] {
  display: block;
}
.deal-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.deal-rail__head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Sora", var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.deal-rail__head a {
  color: var(--heat);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}
.deal-rail__head a:hover { text-decoration: underline; }
.deal-rail__list {
  display: grid;
  gap: 0.45rem;
}
.deal-rail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.deal-rail__chips a {
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--desk-rail, #f3f5f8);
  border: 1px solid var(--desk-line, rgba(18, 21, 28, 0.08));
  color: var(--desk-muted, #5c6678);
  font-size: 0.78rem;
  font-weight: 650;
}
.deal-rail__chips a:hover {
  color: var(--desk-ink, #12151c);
  border-color: rgba(18, 21, 28, 0.16);
}

.deal-mini {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 14px;
  transition: background .15s ease, transform .15s ease;
}
.deal-mini:hover {
  background: var(--desk-rail, #f3f5f8);
  transform: translateY(-1px);
}
.deal-mini__media {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f5;
  position: relative;
}
.deal-mini__media--logo { background: linear-gradient(145deg, #f7f8fb, #e8ecf2); }
.deal-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deal-mini__media--logo img {
  object-fit: contain;
  padding: 18%;
}
.deal-mini__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Sora", var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8b93a3;
}
.deal-mini__body {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}
.deal-mini__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--desk-muted, #5c6678);
  font-size: 0.72rem;
  font-weight: 650;
}
.deal-mini__meta em {
  font-style: normal;
  color: var(--heat);
  font-weight: 750;
}
.deal-mini__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-mini__title {
  font-size: 0.84rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--desk-ink, #12151c);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-mini__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8rem;
}
.deal-mini__price b {
  font-family: "Sora", var(--font-display);
  letter-spacing: -0.02em;
}
.deal-mini__price i {
  font-style: normal;
  color: var(--heat-deep);
  font-weight: 700;
  font-size: 0.74rem;
}

.share-box,
.comments-section,
.empty-state,
.admin-panel {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.share-box h2,
.comments-section h2,
.faq-block h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.share-box h2 .icon,
.comments-section h2 .icon,
.faq-block h2 .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--heat);
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.share-row input {
  flex: 1 1 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fff;
}

.comments-section { margin: 0 auto 2rem; width: var(--shell); }
.comment-form { margin: 1rem 0 1.4rem; }
.comment-list { display: grid; gap: 0.8rem; }
.comment {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}
.comment header {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.25rem;
}
.comment time { color: var(--muted); font-size: 0.8rem; }

.stack-form { display: grid; gap: 0.85rem; }
.stack-form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; }
.stack-form input,
.stack-form textarea,
.stack-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #fff;
  width: 100%;
}
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
  outline: 2px solid rgba(226,59,18,.25);
  border-color: var(--heat);
}

.flash {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
}
.flash--success { background: #e5f8f3; color: #0b6d5f; border: 1px solid #b7ebde; }
.flash--error { background: #ffe8e1; color: #9d2408; border: 1px solid #ffc7b8; }

.empty-state { text-align: center; padding: 2.5rem 1.2rem; }
.empty-state--page { margin: 3rem auto; }
.muted { color: var(--muted); }
.section-title { margin: 0 0 1rem; font-size: 1.5rem; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 2.5rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.footer-grid .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}
.footer-drop {
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 20, 28, 0.03);
}
.footer-drop summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.footer-drop summary::-webkit-details-marker { display: none; }
.footer-drop summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
  margin-top: -0.15rem;
}
.footer-drop[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}
.footer-drop[open] {
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 20, 28, 0.08);
}
.footer-drop__menu {
  display: grid;
  gap: 0.1rem;
  padding: 0 0.55rem 0.7rem;
  border-top: 1px solid var(--line);
}
.footer-drop__menu a {
  display: block;
  text-decoration: none;
  font-weight: 650;
  color: var(--ink-2);
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  margin: 0;
}
.footer-drop__menu a:hover {
  background: rgba(226, 59, 18, 0.06);
  color: var(--heat);
}
.footer-base {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  justify-content: space-between;
  align-items: baseline;
}
.footer-aff a {
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.affiliate-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 52ch;
}
.affiliate-note a {
  color: var(--ink-2);
  font-weight: 700;
}

.legal-page { padding-bottom: 2.5rem; }
.legal-updated {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  padding: 0.85rem 0 0.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.4rem;
}
.legal-nav a {
  text-decoration: none;
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.legal-nav a:hover,
.legal-nav a.is-active {
  color: var(--ink);
  border-bottom-color: var(--heat);
}
.legal-prose {
  max-width: 68ch;
  padding: 1.2rem 0 2rem;
}
.legal-prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.55rem;
}
.legal-prose p,
.legal-prose li {
  color: var(--ink-2);
  line-height: 1.6;
}
.legal-prose ul {
  padding-left: 1.15rem;
}
.legal-prose code {
  font-size: 0.9em;
  background: rgba(16,20,28,.06);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}
.legal-prose a {
  color: var(--heat-deep);
  font-weight: 700;
}

/* Admin */
.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(226,59,18,.16), transparent),
    #121821;
}
.admin-login__panel {
  width: min(420px, calc(100% - 2rem));
  background: #fff;
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.admin-login h1 {
  font-family: var(--font-display);
  margin: 1rem 0 0.3rem;
}
.admin-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #e8edf3;
}
.admin-nav {
  background: #10141c;
  color: #fff;
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admin-nav .brand { color: #fff; }
.admin-nav nav { display: grid; gap: 0.35rem; }
.admin-nav a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-weight: 700;
}
.admin-nav a.is-active,
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-user { margin-top: auto; color: rgba(255,255,255,.5); font-size: 0.8rem; }
.admin-main { padding: 1.5rem; }
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.admin-stats--6 {
  grid-template-columns: repeat(6, 1fr);
}
.admin-stats article {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--line);
}
.admin-stats span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.admin-stats strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.admin-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #445;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-pill--ok {
  background: #e5f7ee;
  color: #146c43;
}
.admin-pill--live {
  background: #fff1e0;
  color: #9a4b00;
}
.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f6fa;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}
.admin-chip strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.admin-chip:hover {
  background: #fff;
  border-color: #c9d4e3;
}
.admin-log {
  margin: 0.6rem 0 0;
  padding: 0.75rem 0.9rem;
  max-height: 14rem;
  overflow: auto;
  background: #10141c;
  color: #d7e0ea;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.admin-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.admin-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

.source-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.source-steps li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.source-steps li.is-active {
  border-color: rgba(226,59,18,.45);
  color: var(--heat);
  background: rgba(226,59,18,.06);
}
.class-picker {
  display: grid;
  gap: 0.55rem;
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.25rem;
}
.class-picker__item {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: auto 1fr;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  font-weight: 500;
}
.class-picker__item input { margin-top: 0.2rem; }
.class-picker__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}
.class-picker__meta em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.class-picker__sample {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.source-schedule__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.source-confirm {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
}
.source-confirm > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.source-confirm dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.source-confirm dd { margin: 0; }
.source-pagination {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}
.source-pagination h3 {
  margin: 0;
  font-size: 1rem;
}
.linkish {
  background: none;
  border: 0;
  color: var(--rise);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.linkish.danger { color: var(--heat); }
.temp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  background: #fff3e8;
  color: var(--heat-deep);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.check-row { display: flex; gap: 1rem; }
.check { display: flex !important; align-items: center; gap: 0.4rem; font-weight: 700; }
.inline-create {
  grid-template-columns: 1fr 120px auto;
  align-items: end;
  margin-bottom: 1rem;
}

@media (min-width: 981px) {
  .directory .deal-card__desk,
  .directory--bf .deal-card__desk,
  .account-main .deal-card__desk {
    display: inline-flex;
  }
  .directory .deal-card,
  .directory--bf .deal-card,
  .account-main .deal-card {
    --thumb: 148px;
  }
  .directory .deal-card__body,
  .directory--bf .deal-card__body,
  .account-main .deal-card__body {
    padding: 0.7rem 0.8rem 0.75rem;
    gap: 0.32rem;
  }
  .directory .deal-card__title,
  .directory--bf .deal-card__title,
  .account-main .deal-card__title {
    font-size: 0.95rem;
  }
  .directory .deal-card__excerpt,
  .directory--bf .deal-card__excerpt,
  .account-main .deal-card__excerpt {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .directory .deal-grid,
  .directory--bf .deal-grid {
    gap: 0.7rem;
  }
}

@media (max-width: 980px) {
  .directory-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .desk-sidebar { display: none; }
  .deal-card__desk { display: none !important; }
  .deal-card__flags { display: none; }
  .deal-card { --thumb: 132px; grid-template-columns: var(--thumb) minmax(0, 1fr); }
  .deal-desk__layout {
    grid-template-columns: 1fr;
  }
  .deal-rail {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .deal-sheet__hero {
    grid-template-columns: 1fr;
  }
  .deal-sheet__hero {
    min-height: 0;
  }
  .deal-sheet__visual {
    max-width: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-bottom: 1px solid var(--desk-line);
  }
  .deal-sheet__visual img {
    max-height: 100%;
    padding: 1.1rem;
  }
  .deal-sheet__actions > .deal-cta {
    max-width: none;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-stats,
  .admin-stats--6 { grid-template-columns: repeat(2, 1fr); }
  .inline-create { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(1180px, calc(100% - 1.15rem)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-drop { grid-column: 1 / -1; }
  .hero-strip { padding: 0.85rem 0 0.1rem; }
  .hero-strip__inner {
    padding: 0.65rem 0 0.7rem;
    gap: 0.85rem;
  }
  .hero-strip h1 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    max-width: none;
  }
  .lede {
    font-size: 0.88rem;
    margin-top: 0.3rem;
  }
  .hero-strip__pulse {
    width: 72px;
    height: 72px;
  }
  .pulse-core { inset: 10px; }
  .pulse-core span { font-size: 1.15rem; }
  .directory-layout { padding-bottom: 1.5rem; }
  .deals-section { padding: 0.55rem 0 0; }
  .deal-grid { gap: 0.55rem; }
  .deal-card {
    --thumb: 88px;
    grid-template-columns: var(--thumb) minmax(0, 1fr);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(16,20,28,.06);
  }
  .deal-card__media {
    width: var(--thumb);
    height: 100%;
    min-height: var(--thumb);
    aspect-ratio: auto;
    align-self: stretch;
  }
  .deal-card__body {
    padding: 0.55rem 0.6rem 0.6rem;
    gap: 0.28rem;
    min-width: 0;
  }
  .deal-card__meta {
    font-size: 0.66rem;
    gap: 0.22rem 0.28rem;
  }
  .deal-card__favicon { width: 13px; height: 13px; border-radius: 3px; }
  .merchant { max-width: 11ch; letter-spacing: 0.03em; font-size: 0.64rem; }
  .deal-card__meta-extra { display: none; }
  .deal-card__title {
    font-size: 0.86rem;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .deal-card__title a {
    display: inline;
    -webkit-tap-highlight-color: transparent;
  }
  .deal-card__byline {
    font-size: 0.66rem;
    gap: 0.22rem;
  }
  .deal-card__byline-kind { display: none; }
  .deal-card__excerpt { display: none; }
  .deal-card__code {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    font-size: 0.78rem;
    border-radius: 10px;
    padding: 0.3rem 0.55rem;
  }
  .deal-card__footer {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.1rem;
  }
  .price-block strong { font-size: 0.95rem; }
  .price-block s { font-size: 0.68rem; }
  .deal-card__actions {
    margin-left: auto;
    display: inline-flex;
    gap: 0.3rem;
    width: auto;
  }
  .deal-card__actions .vote-form button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .deal-card__go {
    min-height: 32px;
    width: auto;
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
    border-radius: 9px;
  }
  .deal-card__go .icon { width: 0.75rem; height: 0.75rem; }
  .deal-card__go-full { display: none; }
  .deal-card__go-short { display: inline; }
  .deal-card__precheck {
    min-height: 32px;
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
    border-radius: 9px;
  }
  .deal-card__precheck .icon { width: 0.75rem; height: 0.75rem; }
  .deal-card__precheck-full { display: none; }
  .deal-card__precheck-short { display: inline; }
  .deal-card__precheck-result.deal-precheck-result {
    font-size: 0.68rem;
    padding: 0.28rem 0.45rem;
    margin-top: 0.3rem;
  }
  .temp-badge {
    left: 0.3rem;
    bottom: 0.3rem;
    padding: 0.22rem 0.38rem;
    gap: 0.05rem 0.28rem;
    border-radius: 10px;
  }
  .temp-badge__mercury { height: 16px; width: 6px; }
  .temp-badge strong { font-size: 0.68rem; }
  .temp-badge em { display: none; }
  .save-chip {
    top: 0.3rem;
    right: 0.3rem;
    font-size: 0.62rem;
    padding: 0.16rem 0.35rem;
  }
  .desk-chip {
    padding: 0.38rem 0.62rem;
    font-size: 0.72rem;
  }
  .deal-cta {
    width: 100%;
    justify-content: center;
  }
  .deal-cta__label { padding: 0; }
  .hero-strip__inner { align-items: start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .share-row .btn { width: 100%; }
  .deal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-rail {
    grid-template-columns: 1fr;
  }
  .deal-sheet__buy {
    padding: 1.05rem 1rem 1.1rem;
  }
  .deal-sheet__body {
    padding: 0 1rem 1.15rem;
  }
  .deal-sheet__buy h1 {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem);
  }
  .deal-sheet__secondary { width: 100%; }
  .deal-go,
  .vote-form--deal { width: 100%; }
  .vote-form--deal button { flex: 1; justify-content: center; }
  .deal-desk .comments-section,
  .deal-desk .deal-desk__related {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .deal-card { opacity: 1; transform: none; }
}

.account-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.account-chip {
  text-decoration: none;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.text-link {
  font-weight: 750;
  text-decoration: none;
  color: var(--ink-2);
}
.text-link:hover { color: var(--heat); }

.heat-popular .temp-badge__mercury { background: linear-gradient(180deg, #e23b12, #efb100); }

.auth-shell {
  display: grid;
  place-items: center;
  padding: 2.5rem 0 3.5rem;
}
.auth-card {
  width: min(520px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.auth-switch { margin: 1rem 0 0; color: var(--muted); }
.auth-switch a { font-weight: 800; color: var(--ink); }

.danger-card { border-color: #ffc7b8; }
.btn--danger {
  background: linear-gradient(135deg, #b02400, #e23b12);
  color: #fff;
  box-shadow: 0 12px 28px rgba(176,36,0,.25);
}
.post-form { width: min(720px, 100%); }

@media (max-width: 980px) {
  .search-form--hero {
    width: 160px;
    flex-basis: 160px;
  }
  .brand__word { font-size: 1.25rem; }
}

@media (max-width: 760px) {
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search"
      "modes modes";
    gap: 0.55rem 0.5rem;
    align-items: center;
    padding: 0.55rem 0 0.45rem;
    min-height: 0;
  }
  .brand { grid-area: brand; min-width: 0; }
  .brand__word { font-size: 1.25rem; }
  .header-actions { grid-area: actions; gap: 0.4rem; }
  .search-form--hero {
    grid-area: search;
    margin-left: 0;
    width: 100%;
    flex: none;
    height: 48px;
    padding: 0 1rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
  }
  .search-form--hero .icon { width: 1.2rem; height: 1.2rem; color: #424245; }
  .search-form input {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.6rem 0.25rem 0.6rem 0.5rem;
    color: #1d1d1f;
  }
  .search-form input::placeholder { color: #6e6e73; }
  .mode-seg {
    grid-area: modes;
    max-width: none;
    width: 100%;
    padding: 0.2rem;
    gap: 0.3rem;
    background: transparent;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
  }
  .mode-seg a {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 0;
    height: 42px;
    padding: 0 0.95rem;
    gap: 0;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
    box-shadow: none;
  }
  .mode-seg a .icon { display: none; }
  .mode-seg__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .mode-seg a.is-active {
    color: #fff;
    background: #1d1d1f;
    border-color: #1d1d1f;
    box-shadow: none;
  }
  .header-action,
  .header-post {
    width: 44px;
    height: 44px;
  }
  .header-action {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
  }
  .header-action .icon,
  .header-post .icon {
    width: 1.2rem;
    height: 1.2rem;
  }
  .header-menu-btn { display: none; }
  .header-sub {
    display: block;
    border-top: 0;
  }
  .header-sub__inner {
    padding: 0 0 0.55rem;
  }
  .cat-rail {
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .cat-rail a {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d1d1f;
    padding: 0.6rem 0.95rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  .cat-rail a.is-active {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
  }
}

@media (min-width: 761px) {
  .header-menu-btn { display: none; }
  .mode-seg__label { display: none; }
}

.icon { display:inline-flex; width:1.15rem; height:1.15rem; flex: 0 0 auto; }
.icon svg { width:100%; height:100%; display:block; }
.icon--xs { width: 0.78rem; height: 0.78rem; }
.icon--sm { width: 0.9rem; height: 0.9rem; }
.icon--lg { width: 1.35rem; height: 1.35rem; }

/* ——— Directory sidebar / daily desk ——— */
.desk-sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
}
.desk-sidebar__mobile-rail {
  display: none;
}
.desk-sidebar__panel {
  display: grid;
  gap: 0.75rem;
}
.desk-sidebar__head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
}
.desk-sidebar__date {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}
.desk-card {
  background: var(--card);
  border: 1px solid rgba(213,221,232,.95);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
  box-shadow: 0 10px 28px rgba(16,20,28,.05);
}
.desk-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.desk-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.desk-card--tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  background:
    radial-gradient(400px 120px at 0% 0%, rgba(239,177,0,.14), transparent 55%),
    var(--card);
}
.desk-card--tip .icon { color: var(--gold); margin-top: 0.1rem; }
.desk-card--cta {
  background:
    radial-gradient(420px 140px at 100% 0%, rgba(226,59,18,.12), transparent 50%),
    linear-gradient(180deg, #fff, #f7f9fb);
}
.desk-card--cta .btn { margin: 0.7rem 0 0.55rem; }
.desk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--ink-2);
  text-decoration: none;
}
.desk-link:hover { color: var(--heat); }
.desk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.desk-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  text-decoration: none;
  padding: 0.35rem 0.4rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
}
.desk-list a:hover { background: rgba(16,20,28,.04); }
.desk-list__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-list__meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}
.desk-list--plain a {
  display: block;
  grid-template-columns: none;
}
.desk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.desk-tags a {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(15,157,138,.1);
  color: var(--rise);
  font-size: 0.74rem;
  font-weight: 750;
  text-decoration: none;
}
.desk-tags a:hover { background: rgba(15,157,138,.18); }
.desk-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--ink-2);
  box-shadow: 0 6px 16px rgba(16,20,28,.05);
}
.desk-chip img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.desk-chip--cta {
  background: linear-gradient(135deg, var(--heat), var(--heat-deep));
  color: #fff;
  border-color: transparent;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: .15s ease;
  padding: 0;
  flex: 0 0 auto;
}
.icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.icon-btn--heat {
  background: linear-gradient(135deg, var(--heat), #ff6a3d 55%, #ff8f1f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(226,59,18,.25);
}
.search-form--icon { min-width: min(260px, 100%); }
.search-form--icon button {
  background: transparent;
  color: var(--ink);
  padding: 0 0.75rem;
}
.account-links--icons { gap: 0.4rem; }
.avatar-xxs, .avatar-xs, .avatar-md, .avatar-lg {
  border-radius: 50%;
  object-fit: cover;
  background: #1b2330;
}
.avatar-xxs { width: 18px; height: 18px; }
.avatar-xs { width: 28px; height: 28px; }
.avatar-md { width: 64px; height: 64px; }
.avatar-lg { width: 96px; height: 96px; }
.poster-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
}
.poster-link:hover { color: var(--heat); }
.kw-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--rise);
  border: 1px solid #b7ebde;
  background: #e8faf5;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
}
.kw-chip .icon { color: inherit; }
.kw-chip.is-active, .kw-chip:hover {
  background: #0f9d8a;
  border-color: #0f9d8a;
  color: #fff;
}
.rail-sep {
  width: 1px;
  height: 1.1rem;
  background: var(--line);
  flex: 0 0 auto;
  align-self: center;
  margin: 0 0.15rem;
}
.keyword-row { display:flex; flex-wrap:wrap; gap:0.4rem; margin:0.7rem 0 0.2rem; }
.input-row { display:flex; gap:0.5rem; align-items:stretch; }
.input-row input { flex:1; }
.image-preview-wrap img {
  margin-top: 0.5rem;
  max-width: 220px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.profile-edit-head { display:flex; align-items:center; gap:0.8rem; }

@media (max-width: 640px) {
  .input-row { flex-direction: column; }
}

.aeo-summary {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-2);
  background: rgba(15,157,138,.08);
  border-left: 3px solid var(--rise);
  padding: 0.85rem 1rem;
  border-radius: 0 16px 16px 0;
  margin: 0;
}
.aeo-summary .icon {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--rise);
}
.faq-block {
  margin: 0;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.faq-block h2 { margin: 0 0 0.7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.45rem;
}
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { margin: 0.45rem 0 0; color: var(--muted); }

/* ——— Black Friday brand floor carousel ——— */
.bf-floor {
  --bf-ink: #f7f3ec;
  --bf-mute: rgba(247, 243, 236, 0.68);
  --bf-line: rgba(247, 243, 236, 0.12);
  --bf-ember: #e23b12;
  --bf-ember-deep: #b82c0c;
  --bf-gold: #f0b45a;
  margin: 0 0 1.25rem;
  padding: 1.15rem 0 1.25rem;
  color: var(--bf-ink);
  background:
    radial-gradient(ellipse 70% 80% at 8% 0%, rgba(226, 59, 18, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 92% 20%, rgba(240, 180, 90, 0.12), transparent 50%),
    linear-gradient(165deg, #1a1410 0%, #100e0c 48%, #16120f 100%);
  border-block: 1px solid rgba(240, 180, 90, 0.12);
}
.bf-floor__inner {
  display: grid;
  gap: 0.85rem;
}
.bf-floor__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bf-floor__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-gold);
}
.bf-floor__title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: #fff;
}
.bf-floor__lede {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--bf-mute);
}
.bf-floor__head-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.bf-floor__all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1a1410;
  background: var(--bf-gold);
}
.bf-floor__all:hover { filter: brightness(1.05); }
.bf-floor__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.bf-floor__nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--bf-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bf-floor__nav:hover { background: rgba(255, 255, 255, 0.1); }
.bf-floor__nav--next .icon { transform: scaleX(-1); }
.bf-floor__count {
  min-width: 3.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bf-mute);
}
.bf-floor__stage.is-swap .bf-floor__spot {
  animation: bfFloorIn 0.4s ease both;
}
@keyframes bfFloorIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.bf-floor__spot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem 1.1rem;
  align-items: center;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.22);
  border: 1px solid var(--bf-line);
  overflow: hidden;
}
.bf-floor__mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.bf-floor__mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.bf-floor__meta { min-width: 0; }
.bf-floor__sector {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bf-gold);
}
.bf-floor__name {
  margin: 0.18rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #fff;
}
.bf-floor__note {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.88);
}
.bf-floor__blurb {
  margin: 0.28rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--bf-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bf-floor__cta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}
.bf-floor__sale,
.bf-floor__desk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
}
.bf-floor__sale {
  background: var(--bf-ember);
  color: #fff;
}
.bf-floor__sale:hover { background: var(--bf-ember-deep); }
.bf-floor__desk {
  color: var(--bf-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bf-line);
}
.bf-floor__desk:hover {
  background: rgba(255, 255, 255, 0.12);
}
.bf-floor__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}
.bf-floor__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bf-ember), var(--bf-gold));
}
.bf-floor__rail {
  list-style: none;
  margin: 0;
  padding: 0.1rem 0 0.15rem;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bf-floor__rail::-webkit-scrollbar { display: none; }
.bf-floor__rail > li { flex: 0 0 auto; scroll-snap-align: start; }
.bf-floor__tile {
  width: 148px;
  min-height: 74px;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--bf-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--bf-ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.bf-floor__tile:hover {
  border-color: rgba(240, 180, 90, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.bf-floor__tile.is-active {
  border-color: rgba(226, 59, 18, 0.55);
  background: rgba(226, 59, 18, 0.16);
  transform: translateY(-1px);
}
.bf-floor__tile-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bf-floor__tile-mark img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.bf-floor__tile-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}
.bf-floor__tile-copy strong {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bf-floor__tile-copy small {
  font-size: 0.68rem;
  color: var(--bf-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.brand-writeup {
  padding: 0.4rem 0 1.2rem;
  max-width: 68ch;
}
.brand-writeup p {
  color: var(--ink-2);
  font-size: 1.02rem;
}

@media (max-width: 820px) {
  .bf-floor__spot {
    grid-template-columns: auto 1fr;
  }
  .bf-floor__cta {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .bf-floor__sale,
  .bf-floor__desk { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .bf-floor { padding: 1rem 0 1.1rem; }
  .bf-floor__tile { width: 132px; min-height: 68px; }
  .bf-floor__blurb { -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-floor__stage.is-swap .bf-floor__spot { animation: none; }
}

/* ——— Apple-style account + public profile ——— */
.page-account,
.page-profile {
  --me-ink: #1d1d1f;
  --me-soft: #6e6e73;
  --me-line: rgba(0, 0, 0, 0.08);
  --me-paper: #f5f5f7;
  --me-card: #ffffff;
  --me-blue: #0071e3;
  --me-blue-soft: rgba(0, 113, 227, 0.08);
  --me-green: #34c759;
  --me-radius: 18px;
  --me-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 14px 40px rgba(0, 0, 0, 0.06);
  --font-display: "Sora", "Outfit", "Avenir Next", sans-serif;
}
.page-account {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(0, 113, 227, 0.07), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(52, 199, 89, 0.05), transparent 50%),
    linear-gradient(180deg, #fbfbfd 0%, var(--me-paper) 42%, #eef0f3 100%);
}
.page-account .atmosphere { opacity: 0.35; filter: saturate(0.7); }
.page-profile .atmosphere { opacity: 0.25; }

.me-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.75rem 0 3.5rem;
  align-items: start;
}
.me-nav {
  position: sticky;
  top: 6.4rem;
  display: grid;
  gap: 1.15rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--me-line);
  box-shadow: var(--me-shadow);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.me-nav__identity {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.2rem 0.25rem 0.85rem;
  border-bottom: 1px solid var(--me-line);
}
.me-nav__identity strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--me-ink);
}
.me-nav__identity span {
  color: var(--me-soft);
  font-size: 0.86rem;
}
.me-nav__group { display: grid; gap: 0.18rem; }
.me-nav__label {
  margin: 0 0 0.2rem;
  padding: 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--me-soft);
}
.me-nav a {
  display: block;
  text-decoration: none;
  color: var(--me-ink);
  font-weight: 650;
  padding: 0.58rem 0.75rem;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.me-nav a:hover { background: rgba(0, 0, 0, 0.04); }
.me-nav a.is-active {
  background: var(--me-blue-soft);
  color: var(--me-blue);
}
.me-nav a.danger { color: #ff3b30; }
.me-nav a.danger.is-active { background: rgba(255, 59, 48, 0.08); }

.me-main { min-width: 0; }
.me-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.15rem;
}
.me-kicker {
  margin: 0 0 0.2rem;
  color: var(--me-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.me-header h1 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--me-ink);
  line-height: 1.05;
}
.me-sub {
  margin: 0.35rem 0 0;
  color: var(--me-soft);
  font-size: 0.95rem;
}

.me-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.me-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.me-stat {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--me-card);
  border: 1px solid var(--me-line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.me-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--me-shadow);
}
.me-stat span {
  display: block;
  color: var(--me-soft);
  font-size: 0.76rem;
  font-weight: 700;
}
.me-stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--me-ink);
}

.me-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.me-tile {
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  color: inherit;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: var(--me-card);
  border: 1px solid var(--me-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  min-height: 5.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.me-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--me-shadow);
  border-color: rgba(0, 113, 227, 0.2);
}
.me-tile strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--me-ink);
}
.me-tile span { color: var(--me-soft); font-size: 0.88rem; }
.me-tile--accent {
  background: linear-gradient(160deg, #0071e3, #2d8fff);
  border-color: transparent;
  color: #fff;
}
.me-tile--accent strong,
.me-tile--accent span { color: #fff; }
.me-tile--accent span { opacity: 0.85; }

.me-panel {
  background: var(--me-card);
  border: 1px solid var(--me-line);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 1rem;
}
.me-panel--danger { border-color: rgba(255, 59, 48, 0.25); }
.me-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.me-panel__head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.me-panel__head a {
  color: var(--me-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.me-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.me-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid var(--me-line);
}
.me-list li:last-child { border-bottom: 0; }
.me-list a,
.me-list > li > div {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.me-list strong {
  font-weight: 700;
  color: var(--me-ink);
  letter-spacing: -0.02em;
}
.me-list span { color: var(--me-soft); font-size: 0.86rem; }
.me-list__meta { color: var(--me-soft); font-size: 0.84rem; white-space: nowrap; }
.me-list__side {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex: 0 0 auto;
}
.me-pill {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--me-soft);
  font-size: 0.75rem;
  font-weight: 750;
}
.me-pill--ok {
  background: rgba(52, 199, 89, 0.14);
  color: #1a7f37;
}

.me-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--me-line);
}
.me-empty--inset {
  border: 0;
  background: transparent;
  padding: 1.5rem 0.5rem;
}
.me-empty h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.me-empty p { margin: 0 0 1rem; color: var(--me-soft); }

.me-form {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
  padding: 1.25rem;
  background: var(--me-card);
  border: 1px solid var(--me-line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.me-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  color: var(--me-ink);
}
.me-form input,
.me-form textarea,
.me-form select {
  width: 100%;
  border: 1px solid var(--me-line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fbfbfd;
}
.me-form input:focus,
.me-form textarea:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 4px var(--me-blue-soft);
}
.me-form__avatar {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.35rem;
}
.me-form__avatar strong { display: block; }
.me-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.me-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.me-privacy { display: grid; gap: 1rem; }
.me-toggle {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.35rem 0;
}
.me-toggle strong { display: block; font-family: var(--font-display); letter-spacing: -0.02em; }
.me-toggle em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  color: var(--me-soft);
  font-size: 0.9rem;
}
.me-toggle input {
  width: 2.8rem;
  height: 1.55rem;
  accent-color: var(--me-blue);
}
.me-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--me-soft);
  display: grid;
  gap: 0.45rem;
}
.me-warning {
  margin: 0 0 1rem;
  color: #b42318;
  font-weight: 650;
}

/* Public profile */
.me-profile__hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 1.8rem;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(0, 113, 227, 0.12), transparent 55%),
    radial-gradient(700px 360px at 88% 20%, rgba(52, 199, 89, 0.08), transparent 50%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  border-bottom: 1px solid var(--me-line);
}
.me-profile__hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: center;
}
.me-profile__avatar-wrap {
  padding: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.35), rgba(52, 199, 89, 0.25));
  box-shadow: var(--me-shadow);
}
.me-profile__avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid #fff;
  background: #1d1d1f;
}
.me-profile__intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--me-ink);
}
.me-profile__handle {
  margin: 0.4rem 0 0;
  color: var(--me-blue);
  font-weight: 750;
  font-size: 1.05rem;
}
.me-profile__location {
  margin: 0.35rem 0 0;
  color: var(--me-soft);
  font-weight: 600;
}
.me-profile__bio {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 1.05rem;
  color: #3a3a3c;
  line-height: 1.45;
}
.me-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.me-profile__stats > div {
  min-width: 5.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--me-line);
  backdrop-filter: blur(12px);
}
.me-profile__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--me-ink);
}
.me-profile__stats span {
  color: var(--me-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.me-profile__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.me-profile__deals { padding: 1.6rem 0 3rem; }
.me-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.me-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: 1.45rem;
}
.me-section-head p { margin: 0; color: var(--me-soft); font-weight: 650; }

@media (max-width: 1100px) {
  .me-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .me-shell { grid-template-columns: 1fr; }
  .me-nav { position: static; }
  .me-profile__hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .me-stats,
  .me-stats--4,
  .me-tiles,
  .me-form__grid { grid-template-columns: 1fr; }
  .me-list li { flex-direction: column; align-items: flex-start; }
  .me-profile__avatar { width: 104px; height: 104px; }
}

/* ——— Developers / AI agents docs ——— */
.page-developers {
  --dev-ink: #1d1d1f;
  --dev-soft: #6e6e73;
  --dev-line: rgba(0, 0, 0, 0.08);
  --dev-blue: #0071e3;
  --dev-blue-soft: rgba(0, 113, 227, 0.08);
  --dev-card: #ffffff;
  --font-display: "Sora", "Outfit", "Avenir Next", sans-serif;
  background:
    radial-gradient(1000px 480px at 8% 0%, rgba(0, 113, 227, 0.08), transparent 55%),
    radial-gradient(800px 420px at 92% 8%, rgba(52, 199, 89, 0.05), transparent 50%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 40%, #eef0f3 100%);
}
.page-developers .atmosphere { opacity: 0.28; filter: saturate(0.75); }

.dev-page { padding-bottom: 3.5rem; }
.dev-hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.6rem;
  border-bottom: 1px solid var(--dev-line);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(0, 113, 227, 0.16), transparent 55%),
    radial-gradient(700px 360px at 88% 30%, rgba(100, 210, 255, 0.12), transparent 50%),
    linear-gradient(165deg, #0b1220 0%, #121826 48%, #0e1522 100%);
  color: #f5f5f7;
}
.dev-hero__glow {
  position: absolute;
  inset: auto -10% -40% 40%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(0, 113, 227, 0.35), rgba(100, 210, 255, 0.12), transparent 62%);
  filter: blur(36px);
  animation: devGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes devGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-8%, -5%, 0) scale(1.08); }
}
.dev-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}
.dev-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}
.dev-hero__brand em {
  font-style: normal;
  background: linear-gradient(120deg, #64d2ff, #0071e3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dev-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.04em;
  font-weight: 650;
  color: rgba(245, 245, 247, 0.92);
  line-height: 1.15;
  max-width: 16ch;
  animation: devRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dev-hero__lede {
  margin: 0.85rem 0 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.68);
  animation: devRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.dev-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
  animation: devRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}
.dev-hero__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.dev-hero__cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@keyframes devRise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

.dev-resources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: -1.35rem;
  position: relative;
  z-index: 2;
}
.dev-chip {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--dev-line);
  box-shadow: 0 10px 30px rgba(16, 20, 28, 0.08);
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dev-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(16, 20, 28, 0.12);
}
.dev-chip span {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--dev-ink);
}
.dev-chip em {
  font-style: normal;
  color: var(--dev-soft);
  font-size: 0.86rem;
}

.dev-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}
.dev-toc {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--dev-line);
  backdrop-filter: blur(16px);
}
.dev-toc__label {
  margin: 0 0 0.35rem;
  padding: 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dev-soft);
}
.dev-toc a {
  text-decoration: none;
  color: var(--dev-ink);
  font-weight: 650;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
}
.dev-toc a:hover {
  background: var(--dev-blue-soft);
  color: var(--dev-blue);
}

.dev-main { min-width: 0; display: grid; gap: 1.1rem; }
.dev-flash { margin: 0; }
.dev-section {
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 22px;
  background: var(--dev-card);
  border: 1px solid var(--dev-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  scroll-margin-top: 6.5rem;
}
.dev-section__head { margin-bottom: 1rem; }
.dev-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dev-blue);
}
.dev-section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--dev-ink);
}
.dev-section__head p {
  margin: 0.55rem 0 0;
  color: var(--dev-soft);
  line-height: 1.45;
  max-width: 62ch;
}
.dev-section__head a { color: var(--dev-blue); font-weight: 700; }

.dev-endpoints { display: grid; gap: 0.55rem; margin-bottom: 1rem; }
.dev-endpoint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
}
.dev-endpoint strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--dev-ink);
}
.dev-endpoint p {
  margin: 0.25rem 0 0;
  color: var(--dev-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}
.dev-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: rgba(52, 199, 89, 0.14);
  color: #1a7f37;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dev-code {
  margin: 0 0 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: #0b1220;
  color: #d7e0ef;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.dev-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
  background: none;
  padding: 0;
  color: inherit;
}
.dev-code--key {
  background: linear-gradient(145deg, #10182a, #0b1220);
  border-color: rgba(0, 113, 227, 0.35);
  color: #64d2ff;
  word-break: break-all;
  white-space: pre-wrap;
}
.dev-note {
  margin: 0;
  color: var(--dev-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}
.dev-note a { color: var(--dev-blue); font-weight: 700; }
.dev-note code,
.dev-section__head code,
.dev-endpoint code,
.dev-list code,
.dev-rules code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: rgba(0, 113, 227, 0.08);
  color: #0a5bb8;
  padding: 0.08rem 0.35rem;
  border-radius: 6px;
}

.dev-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.dev-tool {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--dev-blue-soft);
  color: var(--dev-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}
a.dev-tool:hover {
  background: rgba(0, 113, 227, 0.18);
}

.dev-tool-catalog {
  display: grid;
  gap: 0.55rem;
}
.dev-tool-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
  scroll-margin-top: 6.5rem;
}
.dev-tool-card__meta {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  min-width: 7.5rem;
}
.dev-tool-card__meta strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  color: var(--dev-ink);
  word-break: break-word;
}
.dev-tool-card__title {
  margin: 0 0 0.3rem;
  font-weight: 750;
  color: var(--dev-ink);
  letter-spacing: -0.02em;
}
.dev-tool-card p {
  margin: 0;
  color: var(--dev-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}
.dev-tool-card__args {
  margin-top: 0.45rem !important;
}
.dev-tool-card__args code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: #0a5bb8;
  word-break: break-word;
}
.dev-method--write {
  background: rgba(255, 149, 0, 0.16);
  color: #9a5b00;
}

.dev-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}
.dev-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
  font-size: 0.82rem;
  color: var(--dev-soft);
  font-weight: 650;
}
.dev-status strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--dev-ink);
}

.dev-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.dev-rules article {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
}
.dev-rules strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  color: var(--dev-ink);
}
.dev-rules p {
  margin: 0;
  color: var(--dev-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}
.dev-rules a { color: var(--dev-blue); font-weight: 700; }

.dev-register {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}
.dev-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
}
.dev-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
  color: var(--dev-ink);
}
.dev-form input,
.dev-form textarea {
  width: 100%;
  border: 1px solid var(--dev-line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fff;
}
.dev-form input:focus,
.dev-form textarea:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 0 0 4px var(--dev-blue-soft);
}
.dev-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dev-soft);
}
.dev-form .check input { width: auto; margin-top: 0.2rem; }

.dev-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--dev-soft);
  line-height: 1.45;
}
.dev-list--ordered {
  list-style: decimal;
  padding-left: 1.35rem;
}
.dev-list--ordered li::marker {
  font-weight: 700;
  color: var(--dev-ink);
}
.dev-list strong { color: var(--dev-ink); }

@media (max-width: 980px) {
  .dev-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-layout { grid-template-columns: 1fr; }
  .dev-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }
  .dev-toc__label { grid-column: 1 / -1; }
  .dev-rules { grid-template-columns: 1fr 1fr; }
  .dev-register { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dev-hero { padding: 2.4rem 0 2rem; }
  .dev-resources { grid-template-columns: 1fr; margin-top: -1rem; }
  .dev-toc { grid-template-columns: 1fr 1fr; }
  .dev-rules { grid-template-columns: 1fr; }
  .dev-section { padding: 1.1rem 1rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dev-hero__glow,
  .dev-hero h1,
  .dev-hero__lede,
  .dev-hero__cta { animation: none; }
}

/* ——— Cookie consent (futuristic Apple) ——— */
/* Must beat `body > *:not(.atmosphere) { position:relative; z-index:1 }` */
body > .cookie-orbit {
  position: fixed;
  z-index: 9999;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.96);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-orbit {
  position: fixed;
  z-index: 9999;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.96);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-orbit.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
.cookie-orbit.is-leaving {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  pointer-events: none;
}
.cookie-orbit[hidden] { display: none !important; }
.cookie-orbit__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 140%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 113, 227, 0.35), transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(94, 92, 230, 0.28), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(52, 199, 89, 0.18), transparent 55%);
  filter: blur(28px);
  animation: cookieGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes cookieGlow {
  from { transform: translate3d(-4%, 0, 0) scale(1); opacity: 0.75; }
  to { transform: translate3d(4%, -6%, 0) scale(1.08); opacity: 1; }
}
.cookie-orbit__panel {
  position: relative;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem 1rem 1rem;
  border-radius: 24px;
  color: #f5f5f7;
  background:
    linear-gradient(145deg, rgba(28, 28, 30, 0.82), rgba(22, 22, 24, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 113, 227, 0.08);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  overflow: hidden;
}
.cookie-orbit__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  background-size: 220% 100%;
  animation: cookieSheen 5.5s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.55;
}
@keyframes cookieSheen {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}
.cookie-orbit__mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 113, 227, 0.35), rgba(94, 92, 230, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 0 24px rgba(0, 113, 227, 0.25);
}
.cookie-orbit__mark span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}
.cookie-orbit__mark span:nth-child(1) {
  transform: translate(-7px, -5px);
  animation: cookiePulse 2.4s ease-in-out infinite;
}
.cookie-orbit__mark span:nth-child(2) {
  width: 11px;
  height: 11px;
  background: linear-gradient(145deg, #64d2ff, #0071e3);
  animation: cookiePulse 2.4s ease-in-out infinite 0.2s;
}
.cookie-orbit__mark span:nth-child(3) {
  transform: translate(8px, 6px);
  animation: cookiePulse 2.4s ease-in-out infinite 0.4s;
}
@keyframes cookiePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
.cookie-orbit__mark span:nth-child(1) {
  animation-name: cookieOrbit1;
}
.cookie-orbit__mark span:nth-child(3) {
  animation-name: cookieOrbit3;
}
@keyframes cookieOrbit1 {
  0%, 100% { opacity: 0.55; transform: translate(-7px, -5px) scale(0.92); }
  50% { opacity: 1; transform: translate(-7px, -5px) scale(1.08); }
}
@keyframes cookieOrbit3 {
  0%, 100% { opacity: 0.55; transform: translate(8px, 6px) scale(0.92); }
  50% { opacity: 1; transform: translate(8px, 6px) scale(1.08); }
}
.cookie-orbit__copy { position: relative; min-width: 0; }
.cookie-orbit__kicker {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(100, 210, 255, 0.9);
}
.cookie-orbit__copy h2 {
  margin: 0;
  font-family: "Sora", "Outfit", "Avenir Next", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f5f5f7;
}
.cookie-orbit__copy p:last-child {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(245, 245, 247, 0.68);
}
.cookie-orbit__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.cookie-orbit__yes {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  letter-spacing: -0.02em;
  padding: 0.65rem 1.15rem;
  border-radius: 980px;
  color: #04101f;
  background: linear-gradient(180deg, #f5f5f7 0%, #d2d2d7 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 20px rgba(0, 113, 227, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cookie-orbit__yes:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px rgba(0, 113, 227, 0.35);
}
.cookie-orbit__yes:active { transform: translateY(0) scale(0.98); }
.cookie-orbit__link {
  text-align: center;
  text-decoration: none;
  color: rgba(245, 245, 247, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
}
.cookie-orbit__link:hover { color: #64d2ff; }

@media (max-width: 640px) {
  .cookie-orbit { inset: auto 0.65rem 0.65rem 0.65rem; }
  .cookie-orbit__panel {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "mark copy"
      "actions actions";
    gap: 0.75rem;
    border-radius: 22px;
    padding: 0.95rem;
  }
  .cookie-orbit__mark { grid-area: mark; }
  .cookie-orbit__copy { grid-area: copy; }
  .cookie-orbit__actions {
    grid-area: actions;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  .cookie-orbit__yes { min-width: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-orbit,
  .cookie-orbit__glow,
  .cookie-orbit__panel::before,
  .cookie-orbit__mark span {
    animation: none;
    transition: none;
  }
}

/* ——— Cadbury Secret Santa live banner ——— */
.cadbury-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #3d0a1f 0%, #6b1438 40%, #9b1b4a 70%, #3d0a1f 100%);
  color: #fff8f2;
  border-bottom: 1px solid rgba(255, 214, 170, 0.28);
  box-shadow: 0 8px 28px rgba(40, 4, 16, 0.35);
}
.cadbury-banner[hidden] { display: none !important; }
.cadbury-banner.is-live {
  background: linear-gradient(90deg, #5a1028 0%, #a01f4f 35%, #d4a017 55%, #a01f4f 75%, #5a1028 100%);
  background-size: 200% 100%;
  animation: cadbury-sheen 6s linear infinite;
}
@keyframes cadbury-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.cadbury-banner__rail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  min-height: 2.4rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.cadbury-banner__pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ffb4c8;
  box-shadow: 0 0 0 0 rgba(255, 180, 200, 0.7);
  animation: cadbury-pulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}
.cadbury-banner.is-live .cadbury-banner__pulse {
  background: #ffe08a;
  box-shadow: 0 0 0 0 rgba(255, 224, 138, 0.75);
}
@keyframes cadbury-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 180, 200, 0.55); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(255, 180, 200, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 180, 200, 0); }
}
.cadbury-banner__tag {
  flex: 0 0 auto;
  font: 700 0.68rem/1 Outfit, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 214, 170, 0.35);
}
.cadbury-banner__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cadbury-banner__track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  font: 600 0.92rem/1.3 Figtree, sans-serif;
  will-change: transform;
  animation: cadbury-scroll 32s linear infinite;
}
.cadbury-banner.is-live .cadbury-banner__track {
  animation-duration: 22s;
}
@keyframes cadbury-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cadbury-banner__track a {
  color: #fff6e8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cadbury-banner__cta {
  flex: 0 0 auto;
  font: 700 0.78rem/1 Outfit, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #ffe08a;
  color: #3d0a1f;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.cadbury-banner__cta[hidden] { display: none !important; }
.cadbury-banner__sound {
  flex: 0 0 auto;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  cursor: pointer;
  font-size: 0.85rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.cadbury-banner__sound[aria-pressed="false"] { opacity: 0.55; }

.cadbury-page { padding: 2rem 0 3.5rem; }
.cadbury-page__hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.2rem 0 0.75rem;
}
.cadbury-page__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9b1b4a;
  margin: 0;
}
.cadbury-page__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.cadbury-page__stats article {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(155, 27, 74, 0.08);
  border: 1px solid rgba(155, 27, 74, 0.18);
}
.cadbury-page__stats span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.cadbury-page__stats strong {
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
}
.cadbury-page__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.cadbury-page__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cadbury-page__list .btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
@media (max-width: 720px) {
  .cadbury-page__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cadbury-banner__tag { display: none; }
  .cadbury-banner__rail {
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
  }
  .cadbury-banner__viewport {
    flex: 1 1 0;
    min-width: 0;
  }
  .cadbury-banner__sound {
    flex: 0 0 auto;
  }
  .cadbury-banner.is-live .cadbury-banner__cta {
    flex: 0 0 auto;
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .cadbury-banner__track { font-size: 0.86rem; }
  .cadbury-page__list li { flex-direction: column; align-items: stretch; }
  .cadbury-page__list .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cadbury-banner.is-live,
  .cadbury-banner__track,
  .cadbury-banner__pulse { animation: none; }
}

.cadbury-page__faq { margin-top: 2.5rem; max-width: 42rem; }
.cadbury-page__faq h2 { font-family: Outfit, sans-serif; margin-bottom: 1rem; }
.cadbury-page__faq h3 { font-size: 1.05rem; margin: 1.25rem 0 0.35rem; }
.cadbury-page__faq p { margin: 0; opacity: 0.9; line-height: 1.55; }


/* ——— MCP one-click install (developers) ——— */
.mcp-install {
  min-width: 0;
  max-width: 100%;
  margin: 0 0 1.1rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 18px;
  background: #f5f5f7;
  border: 1px solid var(--dev-line);
  scroll-margin-top: 6.5rem;
}
.mcp-install__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  color: var(--dev-ink);
}
.mcp-install__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0.85rem 0 1rem;
}
.mcp-install__badge {
  display: inline-flex;
  border-radius: 8px;
  line-height: 0;
}
.mcp-install__badge img { display: block; height: 32px; width: auto; }
.mcp-install__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #fff;
  background: #0066b8;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.mcp-install__btn span { font-size: 0.7rem; }
.mcp-install__btn:hover { background: #005ba4; }
.mcp-install__btn--insiders { background: #1f9c5a; }
.mcp-install__btn--insiders:hover { background: #198a4f; }
.mcp-install__badge:focus-visible,
.mcp-install__btn:focus-visible,
.mcp-copy:focus-visible,
.mcp-install__url input:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.55);
  outline-offset: 2px;
}
.mcp-install__url { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.mcp-install__url label { font-weight: 650; font-size: 0.86rem; color: var(--dev-ink); }
.mcp-install__url-row { display: flex; gap: 0.5rem; }
.mcp-install__url input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--dev-line);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  color: var(--dev-ink);
}
.mcp-copy {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 113, 227, 0.25);
  background: var(--dev-blue-soft);
  color: var(--dev-blue);
  font-weight: 750;
  font-size: 0.84rem;
  cursor: pointer;
}
.mcp-copy:hover { background: rgba(0, 113, 227, 0.16); }
.mcp-snippets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.mcp-snippet {
  min-width: 0;
  padding: 0.85rem 0.9rem 0.2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--dev-line);
}
.mcp-snippet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.mcp-snippet h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 1rem;
  color: var(--dev-ink);
}
.mcp-snippet p {
  margin: 0.35rem 0 0.65rem;
  color: var(--dev-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}
.mcp-snippet p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: rgba(0, 113, 227, 0.08);
  color: #0a5bb8;
  padding: 0.05rem 0.3rem;
  border-radius: 6px;
}
.mcp-snippet .dev-code { font-size: 0.78rem; }
@media (max-width: 980px) {
  .mcp-snippets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .mcp-install { padding: 0.9rem 0.85rem 1rem; }
  .mcp-install__buttons > a { flex: 1 1 100%; justify-content: center; }
  .mcp-install__badge { justify-content: flex-start; }
  .mcp-install__badge img { height: 40px; }
  .mcp-install__btn { min-height: 44px; }
  .mcp-copy { min-height: 44px; }
}

/* dev-main implicit grid column sized to min-content of <pre>, so sections overflowed on mobile */
.dev-main { grid-template-columns: minmax(0, 1fr); }

/* ——— Mobile deal card v3 (≤640px): compact row, no overlap. Desktop untouched. ——— */
.deal-card__heat,
.deal-card__pct,
.deal-card__free,
.deal-card .vote-count { display: none; }

@media (max-width: 640px) {
  .deal-grid { gap: 8px; }
  .deal-card {
    --thumb: 76px;
    --dc-gap: 8px;
    --dc-ink: #10141c;
    --dc-muted: #6b7686;
    --dc-line: #e7ebf0;
    --dc-soft: #f4f6f9;
    --dc-cta: var(--heat);
    position: relative;
    display: grid;
    grid-template-columns: var(--thumb) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "media meta"
      "media title"
      "media price"
      "media actions"
      "fresh fresh"
      "result result";
    column-gap: var(--dc-gap);
    row-gap: 2px;
    align-items: start;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--dc-line);
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 20, 28, 0.04);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
  }
  .deal-card:hover { transform: none; box-shadow: 0 1px 2px rgba(16, 20, 28, 0.04); border-color: var(--dc-line); }
  .deal-card__body,
  .deal-card__footer { display: contents; }

  .deal-card__media {
    grid-area: media;
    width: var(--thumb);
    height: var(--thumb);
    min-width: var(--thumb);
    min-height: var(--thumb);
    max-height: var(--thumb);
    aspect-ratio: 1 / 1;
    align-self: start;
    border-radius: 8px;
    background: var(--dc-soft);
    overflow: hidden;
  }
  .deal-card__media img {
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    object-fit: contain;
    object-position: center;
    transform: none !important;
    mix-blend-mode: multiply;
  }
  .deal-card__placeholder {
    color: #9aa5b4;
    font-size: 0.7rem;
    font-weight: 700;
  }
  .deal-card__media .temp-badge,
  .deal-card__media .save-chip { display: none; }

  /* Meta: merchant · heat */
  .deal-card__meta {
    grid-area: meta;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    height: 16px;
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--dc-muted);
    line-height: 1;
    overflow: hidden;
  }
  .deal-card__meta .dot,
  .deal-card__when,
  .deal-card__meta .dot.deal-card__meta-extra,
  .deal-card__meta-extra { display: none; }
  .deal-card__merchant {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .deal-card__favicon { width: 14px; height: 14px; border-radius: 3px; flex: 0 0 auto; }
  .deal-card__meta .merchant {
    max-width: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
    color: var(--dc-ink);
  }
  .deal-card__heat {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    margin-left: auto;
    height: 16px;
    padding: 0 6px 0 4px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #0b7a6b;
    background: rgba(15, 157, 138, 0.1);
  }
  .deal-card__heat .icon { width: 10px; height: 10px; }
  .heat-warm .deal-card__heat { color: #9a6700; background: rgba(239, 177, 0, 0.16); }
  .heat-popular .deal-card__heat { color: #c2410c; background: rgba(226, 59, 18, 0.1); }
  .heat-blazing .deal-card__heat { color: #fff; background: #e23b12; }
  .heat-viral .deal-card__heat { color: #fff; background: linear-gradient(135deg, #7a1cff, #ff3d81); }
  .heat-cool .deal-card__heat { color: #475569; background: #eef1f5; }

  /* Title: 2 lines */
  .deal-card__title {
    grid-area: title;
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    letter-spacing: -0.01em;
    color: var(--dc-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .deal-card__title a { color: inherit; }
  .deal-card__title a::after { content: none; }
  .deal-card__excerpt,
  .deal-card__byline,
  .deal-card__desk,
  .deal-card__flags { display: none !important; }

  /* Price / was / discount on one line */
  .price-block {
    grid-area: price;
    align-self: start;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0 6px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
  }
  .price-block strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dc-ink);
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
  }
  .price-block s {
    display: inline;
    font-size: 0.72rem;
    color: var(--dc-muted);
    font-variant-numeric: tabular-nums;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .deal-card__pct,
  .deal-card__free {
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .deal-card__pct { color: #0b7a3a; background: #e6f6ec; }
  .deal-card__free { color: #fff; background: #0f9d8a; }
  .price-block--empty strong,
  .price-block__open {
    font-size: 0.78rem !important;
    font-weight: 650;
    color: var(--dc-muted);
  }

  /* Bottom action row under the text (not a full-width empty bar) */
  .deal-card__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    overflow: hidden;
  }
  .deal-card__actions .vote-form {
    display: inline-flex;
    gap: 0;
    flex: 0 0 auto;
  }
  .deal-card__actions .vote-form button,
  .deal-card__actions .deal-card__precheck,
  .deal-card__actions .ask-agent__summary,
  .deal-card__actions .ask-agent__summary.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: #5b6676;
    font-size: 0;
    line-height: 0;
    gap: 0;
  }
  .deal-card__actions .vote-form button .icon,
  .deal-card__actions .deal-card__precheck .icon,
  .deal-card__actions .ask-agent__summary .icon {
    width: 18px;
    height: 18px;
    margin: 0;
  }
  .deal-card__actions .vote-form button:active,
  .deal-card__actions .vote-form button:hover,
  .deal-card__actions .deal-card__precheck:hover,
  .deal-card__actions .deal-card__precheck:active,
  .deal-card__actions .ask-agent__summary:hover,
  .deal-card__actions .ask-agent__summary:active {
    background: var(--dc-soft);
    color: var(--dc-ink);
  }
  .deal-card__actions .vote-form button[value="up"]:hover { color: var(--heat); background: #fff1ec; }
  .deal-card__actions .vote-form button[value="down"]:hover { color: var(--rise); background: #e9f7f4; }
  .deal-card .vote-count { display: none; }
  .deal-card__precheck-full,
  .deal-card__precheck-short,
  .deal-card__actions .ask-agent__label-full,
  .deal-card__actions .ask-agent__label-short { display: none !important; }
  .deal-card__actions .ask-agent {
    display: inline-flex;
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    margin: 0;
  }
  .deal-card__actions .ask-agent__summary { list-style: none; cursor: pointer; }
  .deal-card__go,
  .deal-card__go.btn--heat,
  .deal-card__go.btn--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1 1 auto;
    margin-left: 4px;
    min-width: 0;
    max-width: none;
    width: auto;
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    border: 0;
    background: var(--dc-cta);
    color: #fff;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .deal-card__go--code { min-width: 0; }
  .deal-card__go:hover,
  .deal-card__go:active { background: var(--heat-deep); box-shadow: none; }
  .deal-card__go.btn--ghost { background: var(--dc-ink); }
  .deal-card__go.is-copied { background: #0f9d8a; }
  .deal-card__go .icon { display: none; }
  .deal-card__go-full { display: none; }
  .deal-card__go-short {
    display: inline;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: 0.8rem;
  }
  .deal-card__actions :focus-visible {
    outline: 2px solid rgba(226, 59, 18, 0.55);
    outline-offset: 2px;
  }

  .deal-card__freshness {
    grid-area: fresh;
    margin: 4px 0 0;
    font-size: 0.7rem;
  }
  .deal-card__precheck-result.deal-precheck-result {
    grid-area: result;
    margin: 4px 0 0;
    font-size: 0.72rem;
    padding: 6px 8px;
  }

  /* Voucher / code listing rows */
  .vs-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 8px;
    padding: 8px 2px;
    align-items: center;
  }
  .vs-row__main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
  }
  .vs-row__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .vs-code,
  .vs-code--open {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .vs-open {
    flex: 0 0 auto;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .vs-trust {
    grid-column: 1 / -1;
    padding-top: 0;
    gap: 6px;
  }
  .vs-trust__btn {
    min-height: 40px;
    padding: 0 12px;
  }
}

@media (max-width: 359px) {
  .deal-card { --thumb: 72px; --dc-gap: 6px; padding: 7px; }
  .price-block strong { font-size: 0.9rem; }
  .deal-card__go,
  .deal-card__go.btn--heat,
  .deal-card__go.btn--ghost,
  .deal-card__go-short { font-size: 0.75rem; padding-left: 8px; padding-right: 8px; }
}

/* ——— Logo / placeholder fallback images (no blank squares) ——— */
.deal-card__media--logo,
.deal-card__media.is-logo { background: #f4f6f9; }
.deal-card__media--logo img,
.deal-card__media.is-logo img {
  inset: 20%;
  width: 60%;
  height: 60%;
  object-fit: contain;
  transform: none !important;
}
.deal-sheet__visual:has(img.is-logo-img),
.deal-sheet__visual--logo {
  background: linear-gradient(160deg, #fafafa, #f0f0f5);
}
.deal-sheet__visual img.is-logo-img {
  width: 42%;
  height: auto;
  object-fit: contain;
  padding: 0;
  transform: none !important;
}
@media (max-width: 640px) {
  .deal-card__media--logo img,
  .deal-card__media.is-logo img {
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    mix-blend-mode: normal;
  }
}

/* ——— Agent brief pages ——— */
.brief-page { padding-bottom: 3rem; }
.brief-hero { padding: 2.2rem 0 1.2rem; }
.brief-hero .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heat);
}
.brief-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.brief-hero .lede {
  margin: 0.65rem 0 0;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.45;
}
.brief-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}
.brief-chips li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-2);
}
.brief-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
  align-items: center;
}
.brief-deals,
.brief-mcp { margin-top: 1.4rem; }
.brief-deals__head,
.brief-mcp__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.85rem;
}
.brief-deals__head .section-title,
.brief-mcp__head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brief-mcp__head p {
  margin: 0.35rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.brief-mcp__code {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #111827;
  color: #e5e7eb;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.brief-mcp__code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: transparent;
  color: inherit;
}

/* ——— Compact precheck result banner ——— */
.deal-precheck-result {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.45rem 0 0.25rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.3;
}
.deal-precheck-result__verdict {
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.deal-precheck-result__msg {
  color: inherit;
  opacity: 0.92;
}
.deal-precheck-result__meta {
  font-size: 0.72rem;
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}
.deal-card__precheck-result.deal-precheck-result {
  gap: 0.12rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
}
.deal-card__precheck-result .deal-precheck-result__verdict {
  font-size: 0.74rem;
}
.deal-card__precheck-result .deal-precheck-result__meta {
  font-size: 0.66rem;
}

/* ——— Ask my agent ——— */
.ask-agent {
  position: relative;
  display: inline-block;
}
.ask-agent__summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.ask-agent__summary::-webkit-details-marker { display: none; }
.ask-agent__summary::marker { content: ''; }
.ask-agent__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.4rem);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(15, 15, 20, 0.12);
  display: none;
  flex-direction: column;
  gap: 0.55rem;
}
.ask-agent[open] > .ask-agent__panel {
  display: flex;
}
.ask-agent__lede,
.ask-agent__howto,
.ask-agent__go {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}
.ask-agent__go code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.74rem;
}
.ask-agent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ask-agent--card .ask-agent__label-short { display: none; }
.ask-agent--card .ask-agent__panel {
  right: 0;
  left: auto;
}
@media (max-width: 720px) {
  .ask-agent--card .ask-agent__label-full { display: none; }
  .ask-agent--card .ask-agent__label-short { display: inline; }
  .ask-agent__panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: auto;
    bottom: 0.75rem;
    width: auto;
    max-height: min(70vh, 28rem);
    overflow: auto;
  }
  .deal-sheet__actions .ask-agent {
    width: 100%;
  }
  .deal-sheet__actions .ask-agent__summary {
    width: 100%;
    justify-content: center;
  }
}

/* ——— Store MCP + agent leaderboard ——— */
.store-mcp {
  margin: 0.35rem auto 1.1rem;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.88));
}
.store-mcp__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heat);
}
.store-mcp__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.store-mcp__lede {
  margin: 0.4rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 62ch;
}
.store-mcp__lede code,
.store-mcp__tools code {
  font-size: 0.84em;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.08em 0.35em;
  border-radius: 6px;
}
.store-mcp__tools {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.store-mcp__more {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}
.store-mcp__more a {
  color: var(--heat);
  font-weight: 650;
  text-decoration: none;
}
.store-mcp__more a:hover { text-decoration: underline; }

.agents-page { padding-bottom: 2.5rem; }
.agents-leaderboard { margin-top: 0.25rem; }
.agents-leaderboard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.9rem;
}
.agents-leaderboard__head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}
.agents-leaderboard__head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 48ch;
}
.agents-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}
.agents-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.agents-table th,
.agents-table td {
  text-align: left;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
}
.agents-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: rgba(248, 250, 252, 0.9);
}
.agents-table tr:last-child td { border-bottom: 0; }
.agents-table a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.agents-table a:hover { color: var(--heat); }
.agents-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b7a3e;
  background: rgba(0, 140, 70, 0.1);
  border: 1px solid rgba(0, 140, 70, 0.22);
  border-radius: 980px;
  padding: 0.18rem 0.55rem;
}
.agents-badge--muted {
  color: var(--muted);
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}
.agents-empty {
  text-align: center;
  padding: 2rem 1.2rem;
  border-radius: 18px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.55);
}
.agents-empty h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.agents-empty p {
  margin: 0 auto 1rem;
  max-width: 40ch;
  color: var(--muted);
}
.agents-empty code {
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.05em 0.35em;
  border-radius: 5px;
}
.agents-deals { margin-top: 1.6rem; }
.agents-deals h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

/* Never let display:flex on precheck results override the hidden attribute (empty bar on every card). */
.deal-precheck-result[hidden],
.deal-card__precheck-result[hidden] { display: none !important; }


/* Similar live deals on ended / gone deal pages */
.deal-ended__similar { margin: 1.1rem 0 0; }
.deal-ended__similar h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.deal-ended__similar-list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.deal-ended__similar-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.6rem; padding: 0.45rem 0; border-top: 1px solid var(--line, #e7ebf0); }
.deal-ended__similar-go { margin-left: auto; font-weight: 700; font-size: 0.85rem; color: var(--heat, #e23b12); text-decoration: none; white-space: nowrap; }
.deal-sheet__buy .deal-ended__similar { margin-top: 0.8rem; }
.deal-ended-banner p { margin: 0; }
