/* ==========================================================================
   KiwiCue web app — design system
   Self-contained: app.html loads only this file, so the landing page's
   stylesheets can evolve independently without collisions.
   ========================================================================== */

:root {
  /* ---------------------------------------------------------------------
     THE SCALES. Added 2026-08-24 because this file held THIRTY distinct font
     sizes (nine of them between 11.5px and 15.5px), 51 distinct padding
     values, and thirteen radii despite --radius already existing. None of
     that was chosen; it is the residue of nudging one element at a time. It
     is also the whole reason the app read as unpolished: with no shared
     scale nothing lines up with anything else, and the eye registers that as
     "off" without being able to name it.

     THE RULE FROM HERE: if a value is not on a scale, it does not exist.
     Needing an in-between value means the scale is wrong, so change the
     scale. Do not type a literal px and move on.
     --------------------------------------------------------------------- */

  /* type — roughly a 1.22 ratio, eight steps for the entire app */
  --t-1: 11px;   /* badges, uppercase micro labels */
  --t-2: 13px;   /* meta, timestamps, captions */
  --t-3: 15px;   /* body */
  --t-4: 18px;   /* card titles, lead paragraphs */
  --t-5: 22px;   /* section headings */
  --t-6: 28px;   /* page headings */
  --t-7: 38px;   /* hero */
  --t-8: 52px;   /* display */
  --t-9: 72px;   /* draw totals: the one biggest number on a screen */

  /* space — 4pt base. Nothing between these steps exists. */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;

  /* radius — three and a pill, not thirteen */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 22px;  --r-pill: 999px;

  /* one icon family, one stroke weight, everywhere */
  --icon-stroke: 1.8;

  /* Brand colour lives in css/themes.css, which every page loads first:
     --deep, --deep-2, --deep-glow, --deep-base, --brand, --brand-ink,
     --brand-wash, --accent, --on-deep/-2/-3, --yellow, --yellow-deep,
     --spend, --spend-wash. Never hardcode a brand hex in this file; it
     would survive a palette change and break the split test. */

  /* neutrals — warm, never pure white ground */
  --bg: #f7f7f3;
  --surface: #ffffff;
  --surface-2: #f0f1ec;
  --ink: #14211b;
  --ink-2: #4a574f;
  --ink-3: #77837b;
  --line: #e3e5dd;
  --line-2: #d2d6ca;

  /* semantic */
  --free: #0e8a5f;
  --free-wash: #e3f4ec;
  --social: #7434d4;
  --social-wash: #f1e9fc;
  /* --spend / --spend-wash come from the palette: they have to dodge whatever
     hue the brand is using, or a spend badge reads as a button. */
  --urgent: #c2372c;
  --urgent-wash: #fdeceb;

  /* type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --label: "Saira Condensed", "Arial Narrow", sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* layout */
  --maxw: 1320px;
  --gutter: 40px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px rgb(16 24 40 / 0.04), 0 2px 8px rgb(16 24 40 / 0.04);
  --shadow-2: 0 6px 16px rgb(16 24 40 / 0.09), 0 2px 4px rgb(16 24 40 / 0.05);
  --shadow-3: 0 18px 42px rgb(16 24 40 / 0.16);
  --shadow-knob: 0 1px 3px rgb(16 24 40 / 0.24);   /* switch/slider handles */

  /* barely-there paper texture for light grounds */
  --dots: radial-gradient(rgb(20 33 27 / .05) 1px, transparent 1px);
  --dots-size: 18px 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background-color: var(--bg);
  background-image: var(--dots);
  background-size: var(--dots-size);
  color: var(--ink);
  line-height: 1.55;
  font-size: var(--t-3);
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 0; }
.dark-surface :focus-visible { outline-color: var(--deep-fg, #fff); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* ---------- type scale ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
}
.eyebrow {
  font-family: var(--label);
  font-weight: 700;
  font-size: var(--t-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 720px) { :root { --gutter: 18px; } }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep);
  color: var(--deep-fg, #fff);
}
.hdr-main { display: flex; align-items: center; gap: var(--s-5); height: 62px; }

.logo {
  font-family: var(--display);
  font-size: var(--t-5);
  letter-spacing: 0.01em;
  color: var(--deep-fg, #fff);
  white-space: nowrap;
}
.logo em { font-style: normal; color: var(--accent); }

.nav { display: flex; gap: var(--s-1); }
.nav a {
  position: relative;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--t-3);
  font-weight: 600;
  color: var(--on-deep);
  transition: color .16s, background-color .16s;
  white-space: nowrap;
}
.nav a:hover { color: var(--deep-fg, #fff); background: rgb(255 255 255 / .07); }
.nav a.on { color: var(--deep-fg, #fff); background: rgb(255 255 255 / .12); }

.hdr-right { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }

.search {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--r-sm);
  padding: 0 var(--s-2);
  height: 36px;
  width: 250px;
  transition: background-color .16s, border-color .16s, width .2s;
}
.search:focus-within { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .3); width: 300px; }
.search svg { width: 16px; height: 16px; stroke: var(--on-deep-2); fill: none; stroke-width: var(--icon-stroke); flex: none; }
.search input {
  background: none; border: 0; outline: none; width: 100%;
  color: var(--deep-fg, #fff); font-size: var(--t-2);
}
.search input::placeholder { color: var(--on-deep-3); }
.search kbd {
  font-family: var(--sans); font-size: var(--t-1); color: var(--on-deep-3);
  border: 1px solid rgb(255 255 255 / .18); border-radius: 0;
  padding: 0 var(--s-1); flex: none;
}

.icon-btn {
  position: relative;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--on-deep);
  cursor: pointer;
  transition: background-color .16s, color .16s;
}
.icon-btn:hover { background: rgb(255 255 255 / .1); color: var(--deep-fg, #fff); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }
.icon-btn .dot {
  position: absolute; top: 6px; right: 6px;
  min-width: 15px; height: 15px; padding: 0 var(--s-1);
  border-radius: var(--r-lg); background: var(--yellow); color: var(--on-accent);
  font-size: var(--t-1); font-weight: 800; line-height: 15px;
  border: 2px solid var(--deep);
  box-sizing: content-box;
}

.plus-chip {
  display: inline-flex; align-items: center; gap: var(--s-1);
  height: 30px; padding: 0 var(--s-3);
  border-radius: var(--r-lg);
  background: var(--yellow); color: var(--on-accent);
  font-family: var(--label); font-style: italic; font-weight: 700;
  font-size: var(--t-2); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.plus-chip.off { background: rgb(255 255 255 / .12); color: var(--on-deep); }

.avatar {
  width: 33px; height: 33px; border-radius: 50%;
  background: linear-gradient(150deg, var(--accent), var(--brand));
  color: var(--on-accent); font-weight: 800; font-size: var(--t-2);
  display: grid; place-items: center; cursor: pointer; border: 0;
}

/* category sub-nav */
.subnav { background: var(--deep-2); border-top: 1px solid rgb(255 255 255 / .07); }
.subnav-in { display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; padding: var(--s-2) 0; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav button {
  border: 0; background: transparent; cursor: pointer;
  color: var(--on-deep-2); font-size: var(--t-2); font-weight: 600;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-sm); white-space: nowrap;
  transition: color .16s, background-color .16s;
}
.subnav button:hover { color: var(--deep-fg, #fff); }
.subnav button[aria-pressed="true"] { background: var(--yellow); color: var(--on-accent); }

/* mobile nav */
.burger { display: none; }
@media (max-width: 1000px) {
  .nav, .search kbd { display: none; }
  .search { width: 180px; }
  .search:focus-within { width: 200px; }
  .burger { display: grid; }
}
@media (max-width: 760px) { .search { display: none; } }
/* below this the row cannot hold the membership chip; membership stays
   reachable through the avatar and the mobile menu */
@media (max-width: 640px) {
  .plus-chip { display: none; }
  .hdr-main { gap: var(--s-3); }
}
.mobnav { display: none; background: var(--deep-2); padding: var(--s-1) 0 var(--s-2); }
.mobnav.open { display: block; }
.mobnav a {
  display: block; padding: var(--s-2) 0; color: var(--on-deep);
  font-weight: 600; border-bottom: 1px solid rgb(255 255 255 / .06);
}
.mobnav a.on { color: var(--prize, var(--yellow)); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: 42px; padding: 0 var(--s-4);
  border: 0; border-radius: var(--r-sm);
  background: var(--brand); color: var(--deep-fg, #fff);
  font-size: var(--t-3); font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background-color .16s, transform .12s, box-shadow .16s, border-color .16s;
}
.btn:hover { background: var(--brand-ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }
.btn.lg { height: 48px; padding: 0 var(--s-5); font-size: var(--t-3); }
.btn.sm { height: 34px; padding: 0 var(--s-3); font-size: var(--t-2); border-radius: var(--r-sm); }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn.light { background: #fff; color: var(--deep); }
.btn.light:hover { background: var(--surface-2); }
.btn.gold { background: var(--yellow); color: var(--on-accent); }
.btn.gold:hover { background: var(--yellow-deep); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-weight: 700; font-size: var(--t-2); color: var(--brand-ink); cursor: pointer;
}
.link-arrow:hover { text-decoration: underline; }

/* save (heart) */
.save-btn {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgb(255 255 255 / .92); cursor: pointer;
  transition: background-color .16s, border-color .16s, color .16s;
  color: var(--ink-2);
}
.save-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }
.save-btn:hover { border-color: var(--brand); color: var(--brand); }
.save-btn[aria-pressed="true"] { color: #d1394a; border-color: #f0bcc2; background: #fdeef0; }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }

/* ==========================================================================
   Badges & meta
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-1);
  height: 23px; padding: 0 var(--s-2);
  border-radius: var(--r-sm);
  font-family: var(--label); font-weight: 700;
  font-size: var(--t-1); letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
}
.badge-free { background: var(--free-wash); color: var(--free); }
.badge-social_follow { background: var(--social-wash); color: var(--social); }
.badge-spend_required { background: var(--spend-wash); color: var(--spend); }
.badge-other { background: var(--surface-2); color: var(--ink-2); }
.badge-urgent { background: var(--urgent-wash); color: var(--urgent); }
.badge-solid { background: rgb(4 53 31 / .84); color: #fff; backdrop-filter: blur(6px); }
.badge-gold { background: var(--yellow); color: var(--on-accent); }
.badge-verified { background: var(--brand-wash); color: var(--brand-ink); }

.meta { font-size: var(--t-2); color: var(--ink-3); }
.dotsep { color: var(--line-2); margin: 0 var(--s-1); }

.g-tags { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.tag-chip {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 var(--s-2);
  border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2);
  font-size: var(--t-1); font-weight: 600;
}

/* ==========================================================================
   Page furniture
   ========================================================================== */
main { min-height: 60vh; padding-bottom: var(--s-8); }
.page { padding-top: var(--s-6); }
.page-head { display: flex; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-5); }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: var(--t-7); line-height: 1.05; }
.page-head p { color: var(--ink-2); margin-top: var(--s-1); max-width: 56ch; font-size: var(--t-3); }
.page-head .spacer { margin-left: auto; }

.section { margin-top: var(--s-8); }
.section:first-child { margin-top: 0; }
.section-head { display: flex; align-items: flex-end; gap: var(--s-4); margin-bottom: var(--s-4); }
.section-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: var(--t-6); line-height: 1.1;
}
.section-head p { color: var(--ink-2); font-size: var(--t-2); margin-top: var(--s-1); }
.section-head .spacer { margin-left: auto; }

/* ==========================================================================
   Artwork (prize imagery stand-in)
   Real photos drop in via .art > img; artwork is the designed fallback.
   ========================================================================== */
.art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  isolation: isolate;
}
.art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-badges {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: flex; gap: var(--s-1); flex-wrap: wrap;
}
.art-save { position: absolute; right: 12px; top: 12px; z-index: 2; }
.art-value {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--display); font-size: var(--t-5); color: var(--deep-fg, #fff);
  text-shadow: 0 2px 10px rgb(0 0 0 / .45);
}

/* ==========================================================================
   Giveaway card
   ========================================================================== */
.grid-g {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: var(--s-5);
}
.g-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.g-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.g-card .art > svg, .g-card .art > img { transition: transform .3s ease; }
.g-card:hover .art > svg, .g-card:hover .art > img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .g-card, .g-card .art > svg, .g-card .art > img { transition: none; }
  .g-card:hover { transform: none; }
}
.g-body { padding: var(--s-3) var(--s-4) var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.g-provider {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-2); font-weight: 600; color: var(--ink-3);
}
.g-title {
  font-size: var(--t-3); font-weight: 700; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.g-foot {
  margin-top: auto; padding-top: var(--s-3);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  border-top: 1px solid var(--line);
}
.g-close { font-size: var(--t-2); font-weight: 600; color: var(--ink-2); }
.g-close.urgent { color: var(--urgent); }
.card-link { position: absolute; inset: 0; z-index: 1; }
/* keep interactive bits above .card-link without disturbing .art-save's
   absolute placement inside the artwork */
.g-card .g-foot .link-arrow { position: relative; z-index: 2; }
.g-card .art-save { z-index: 3; }

/* featured (2-col) giveaway card */
.g-card.feat { grid-column: span 2; flex-direction: row; }
.g-card.feat .art { width: 52%; aspect-ratio: auto; flex: none; }
.g-card.feat .g-body { padding: var(--s-5) var(--s-5); gap: var(--s-2); justify-content: center; }
.g-card.feat .g-title { font-size: var(--t-5); -webkit-line-clamp: 3; }
.g-card.feat .g-desc {
  font-size: var(--t-2); color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 700px) {
  .g-card.feat { grid-column: span 1; flex-direction: column; }
  .g-card.feat .art { width: 100%; aspect-ratio: 16/10; }
}

/* horizontal scroller */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(258px, 1fr); gap: var(--s-4); overflow-x: auto; padding-bottom: var(--s-1); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ==========================================================================
   Deal card
   ========================================================================== */
.grid-d { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-4); }
.d-card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--s-4);
  box-shadow: var(--shadow-1);
  transition: transform .18s, box-shadow .18s;
}
.d-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.d-top { display: flex; align-items: center; gap: var(--s-3); }
.d-offer {
  font-family: var(--display); font-size: var(--t-6); line-height: 1;
  color: var(--brand-ink);
}
.d-offer.small { font-size: var(--t-5); }
.d-title { font-size: var(--t-3); font-weight: 600; color: var(--ink); }
.d-foot {
  margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
}

/* Retailer identity. Shows the real logo on a light tile when we have one and
   falls back to a coloured monogram when the logo fails to load. The monogram
   is neither the KiwiCue wordmark nor a money value, so no display face. */
/* Rounded-square logo tile (app-icon proportions), image filling it edge to
   edge. A percentage radius keeps the same squircle at every tile size. */
.rmark.has-logo {
  background: #fff;
  border-radius: 24%;
  box-shadow: inset 0 0 0 1px rgb(16 24 40 / .1);
  overflow: hidden;
}
.rmark.has-logo::after { content: attr(data-initials); display: none; }
.rmark.has-logo:not(:has(img)) {
  background: var(--mark, var(--ink-3)); box-shadow: none; color: #fff;
}
.rmark.has-logo:not(:has(img))::after { display: block; }
.rmark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rmark {
  width: 42px; height: 42px; flex: none;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--t-3);
  color: var(--deep-fg, #fff); letter-spacing: .02em;
}
.rmark.lg { width: 56px; height: 56px; font-size: var(--t-4); border-radius: var(--r-sm); }
.rmark.sm { width: 26px; height: 26px; font-size: var(--t-1); border-radius: var(--r-sm); }
.rname { font-size: var(--t-3); font-weight: 700; line-height: 1.25; }

.retailer-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-3); }
.retailer-tile {
  display: flex; align-items: center; gap: var(--s-2);
  background: var(--surface); border-radius: var(--r-sm);
  padding: var(--s-3); cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: box-shadow .16s, transform .16s;
}
.retailer-tile:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.retailer-tile .n { font-size: var(--t-2); font-weight: 600; line-height: 1.2; }
.retailer-tile .c { font-size: var(--t-1); color: var(--ink-3); }

/* ==========================================================================
   Hero / editorial
   ========================================================================== */
.hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep);
  color: var(--deep-fg, #fff);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 400px;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: 0; } }
.hero-art { position: relative; order: 2; }
.hero-art .art { position: absolute; inset: 0; aspect-ratio: auto; }
@media (max-width: 900px) { .hero-art { order: 0; height: 230px; } .hero-art .art { position: relative; } }
.hero-body { padding: var(--s-7) var(--s-7) var(--s-6); display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); }
@media (max-width: 900px) { .hero-body { padding: var(--s-5) var(--s-5) var(--s-6); } }
.hero h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(var(--t-6), 3.4vw, var(--t-7)); line-height: 1.03;
  max-width: 15ch;
}
.hero-facts { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-1); }
.hero-fact .k { font-size: var(--t-1); color: var(--on-deep-3); font-weight: 600; }
.hero-fact .v { font-family: var(--display); font-size: var(--t-5); margin-top: 0; }
.hero-fact .v.gold { color: var(--prize, var(--yellow)); }
.hero-cta { display: flex; gap: var(--s-2); align-items: center; margin-top: var(--s-1); flex-wrap: wrap; }
.hero-note { font-size: var(--t-2); color: var(--on-deep-3); }

/* ==========================================================================
   Member module
   ========================================================================== */
.member-mod {
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 130% at 92% 0%, rgb(255 203 47 / .16), transparent 58%),
    linear-gradient(150deg, var(--deep-2), var(--deep));
  color: var(--deep-fg, #fff);
  padding: var(--s-6) var(--s-6);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center;
}
@media (max-width: 860px) { .member-mod { grid-template-columns: 1fr; padding: var(--s-5) var(--s-5); gap: var(--s-5); } }
.member-mod h2 { font-family: var(--display); font-weight: 400; font-size: var(--t-6); line-height: 1.06; }
.member-mod p { color: var(--on-deep); margin-top: var(--s-2); font-size: var(--t-3); }
.member-bens { display: grid; gap: var(--s-2); }
.member-ben { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--t-2); }
.member-ben svg { width: 17px; height: 17px; flex: none; margin-top: var(--s-1); stroke: var(--yellow); fill: none; stroke-width: var(--icon-stroke); }

/* member stats (subscribed state) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s-3); }
.stat {
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--r-sm); padding: var(--s-3) var(--s-4);
}
.stat .v { font-family: var(--display); font-size: var(--t-6); line-height: 1; }
.stat .v.gold { color: var(--prize, var(--yellow)); }
.stat .k { font-size: var(--t-2); color: var(--on-deep-2); margin-top: var(--s-1); }
.stat.light { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-1); }
.stat.light .v { color: var(--ink); }
.stat.light .k { color: var(--ink-3); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }
.trust-item { padding: var(--s-5) var(--s-5) var(--s-1) 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: var(--s-5); }
@media (max-width: 800px) {
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}
.trust-item h3 { font-size: var(--t-3); margin-bottom: var(--s-1); }
.trust-item p { font-size: var(--t-2); color: var(--ink-2); }
.trust-num { font-family: var(--display); font-size: var(--t-3); color: var(--brand); margin-bottom: var(--s-2); }

/* ==========================================================================
   Filters (sidebar)
   ========================================================================== */
.with-side { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (max-width: 940px) { .with-side { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }
.side { position: sticky; top: 86px; }
@media (max-width: 940px) { .side { position: static; } }
.side-group { padding-bottom: var(--s-4); margin-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.side-group:last-child { border-bottom: 0; }
.side-group h3 {
  font-family: var(--label); font-weight: 700; font-size: var(--t-1);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--s-3);
}
.opt {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) 0; font-size: var(--t-2); cursor: pointer; color: var(--ink-2);
}
.opt:hover { color: var(--ink); }
.opt input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex: none; }
.opt .n { margin-left: auto; font-size: var(--t-1); color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  border: 1.5px solid var(--line-2); background: var(--surface);
  border-radius: var(--r-lg); padding: var(--s-1) var(--s-3);
  font-size: var(--t-2); font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background-color .16s, border-color .16s, color .16s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--deep-fg, #fff); }

.results-bar {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line);
}
.results-bar .count { font-size: var(--t-3); font-weight: 700; }
.results-bar .spacer { margin-left: auto; }
.sel {
  height: 36px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); padding: 0 var(--s-6) 0 var(--s-3); font-size: var(--t-2); font-weight: 600;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a574f' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 15px;
}
.filter-toggle { display: none; }
@media (max-width: 940px) { .filter-toggle { display: inline-flex; } .side.collapsed { display: none; } }

/* ==========================================================================
   Detail page
   ========================================================================== */
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 940px) { .detail { grid-template-columns: 1fr; gap: var(--s-5); } }
.detail-art { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.detail-art .art { aspect-ratio: 16/9; }
.detail-sec { margin-top: var(--s-6); }
.detail-sec h3 { font-size: var(--t-4); margin-bottom: var(--s-2); }
.detail-sec p, .detail-sec li { color: var(--ink-2); font-size: var(--t-3); }
.detail-sec ul { padding-left: var(--s-4); display: grid; gap: var(--s-1); }

.buy {
  position: sticky; top: 86px;
  background: var(--surface);
  border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-2);
}
@media (max-width: 940px) { .buy { position: static; } }
.buy h1 { font-size: var(--t-5); line-height: 1.22; margin: var(--s-2) 0 var(--s-1); }
.buy-value { font-family: var(--display); font-size: var(--t-7); color: var(--brand-ink); line-height: 1; margin: var(--s-3) 0 var(--s-1); }
.buy-rows { display: grid; gap: 0; background: var(--line); border-radius: var(--r-sm); overflow: hidden; margin: var(--s-4) 0; }
.buy-row { display: flex; justify-content: space-between; gap: var(--s-3); background: var(--surface-2); padding: var(--s-2) var(--s-3); font-size: var(--t-2); }
.buy-row .k { color: var(--ink-3); }
.buy-row .v { font-weight: 700; text-align: right; }
.ext-note {
  display: flex; gap: var(--s-2); align-items: flex-start;
  font-size: var(--t-2); color: var(--ink-2);
  background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); margin-top: var(--s-3);
}
.ext-note svg { width: 15px; height: 15px; flex: none; margin-top: 0; stroke: var(--ink-3); fill: none; stroke-width: var(--icon-stroke); }
.checked-line {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-2); color: var(--brand-ink); font-weight: 600; margin-top: var(--s-3);
}
.checked-line svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: var(--icon-stroke); }

/* ==========================================================================
   Draw page
   ========================================================================== */
.draw-hero {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(90% 120% at 50% -10%, rgb(255 203 47 / .22), transparent 60%),
    linear-gradient(165deg, var(--deep-2), var(--deep));
  color: var(--deep-fg, #fff); padding: var(--s-7) var(--s-6) var(--s-6); text-align: center;
}
.draw-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.draw-hero > * { position: relative; z-index: 1; }
.draw-amount {
  font-family: var(--display);
  font-size: clamp(var(--t-8), 9vw, var(--t-9)); line-height: .92;
  color: var(--prize, var(--yellow));
  text-shadow: 0 6px 30px rgb(255 203 47 / .3);
}
.draw-sub { font-family: var(--label); font-style: italic; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: var(--t-2); color: var(--on-deep); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
@media (max-width: 720px) { .podium { grid-template-columns: 1fr; } }
.pod {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--medal); border-radius: var(--r-md); padding: var(--s-4);
}
.pod.gold { --medal: #e8b923; }
.pod.silver { --medal: #b9c2c7; margin-top: var(--s-2); }
.pod.bronze { --medal: #c98442; margin-top: var(--s-4); }
@media (max-width: 720px) { .pod.silver, .pod.bronze { margin-top: 0; } }
.pod .place { font-family: var(--label); font-style: italic; font-weight: 700; font-size: var(--t-2); letter-spacing: .1em; text-transform: uppercase; color: var(--medal); }
.pod .amt { font-family: var(--display); font-size: var(--t-7); line-height: 1; margin: var(--s-1) 0 var(--s-1); }
.pod .lbl { font-size: var(--t-2); color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step .n {
  width: 27px; height: 27px; border-radius: var(--r-sm); background: var(--brand-wash);
  color: var(--brand-ink); font-family: var(--display); font-size: var(--t-2);
  display: grid; place-items: center; margin-bottom: var(--s-2);
}
.step h4 { font-size: var(--t-3); margin-bottom: var(--s-1); }
.step p { font-size: var(--t-2); color: var(--ink-2); }

.winners { display: grid; gap: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.winner { display: flex; align-items: center; gap: var(--s-3); background: var(--surface); padding: var(--s-3) var(--s-4); }
.winner .medal { font-family: var(--display); font-size: var(--t-2); width: 30px; color: var(--ink-3); }
.winner .amt { font-family: var(--display); font-size: var(--t-4); width: 74px; }
.winner .who { font-size: var(--t-2); font-weight: 600; }
.winner .when { margin-left: auto; font-size: var(--t-2); color: var(--ink-3); }

/* ==========================================================================
   Panels / account
   ========================================================================== */
.panel {
  background: var(--surface); box-shadow: var(--shadow-1);
  border-radius: var(--radius-lg); padding: var(--s-5);
}
.panel + .panel { margin-top: var(--s-4); }
.panel h2 { font-size: var(--t-4); margin-bottom: var(--s-1); }
.panel > p.sub { color: var(--ink-2); font-size: var(--t-2); margin-bottom: var(--s-4); }
.panel-row {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-3) 0; border-top: 1px solid var(--line);
}
.panel-row:first-of-type { border-top: 0; }
.panel-row .lbl { font-size: var(--t-3); font-weight: 600; }
.panel-row .hint { font-size: var(--t-2); color: var(--ink-3); margin-top: 0; }
.panel-row .spacer { margin-left: auto; }

/* Admin review queue */
.page-narrow { max-width: 720px; margin: 0 auto; }
.draft { transition: opacity .2s ease; }
.draft-top { display: flex; align-items: flex-start; gap: var(--s-4); }
.draft-top > div:first-child { flex: 1; min-width: 0; }
.draft-top .sub { margin-bottom: var(--s-2); }
.draft-conf {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-2); font-weight: 600; margin-top: var(--s-3);
}
.draft-conf svg {
  width: 16px; height: 16px; fill: none;
  stroke: currentColor; stroke-width: var(--icon-stroke); flex: none;
}
.draft-conf.ok { color: var(--brand-ink); }
.draft-conf.warn { color: #a05a00; }
.draft-notes {
  font-size: var(--t-2); color: var(--ink-2); margin-top: var(--s-2);
  padding: var(--s-3); background: var(--surface-2); border-radius: var(--r-sm);
}
.draft-actions {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line);
}
.draft-actions .spacer { margin-left: auto; }
.draft-actions .btn svg { width: 14px; height: 14px; }

.acct { display: grid; grid-template-columns: 210px 1fr; gap: var(--s-6); align-items: start; }
/* minmax(0,1fr) so the scrolling nav row cannot stretch the column */
@media (max-width: 860px) { .acct { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }
.acct-nav { position: sticky; top: 86px; display: grid; gap: 0; }
@media (max-width: 860px) {
  .acct-nav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    /* a grid item defaults to min-width:auto, which would let this row
       stretch its parent instead of scrolling */
    min-width: 0;
    scrollbar-width: none;
    padding-bottom: var(--s-1);
  }
  .acct-nav::-webkit-scrollbar { display: none; }
}
.acct-nav button {
  text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  font-size: var(--t-3); font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background-color .16s, color .16s;
}
.acct-nav button:hover { background: var(--surface-2); color: var(--ink); }
.acct-nav button[aria-current="true"] { background: var(--deep); color: var(--deep-fg, #fff); }

.field { margin-bottom: var(--s-4); }
.field > label { display: block; font-size: var(--t-2); font-weight: 600; margin-bottom: var(--s-1); }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: var(--t-2); }
.input {
  width: 100%; height: 42px; padding: 0 var(--s-3);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--t-3);
}
.input:focus { outline: none; border-color: var(--brand); }
.input-money { position: relative; }
.input-money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: var(--t-3); }
.input-money .input { padding-left: var(--s-5); }

/* toggle-style option cards */
.opt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); }
.opt-card {
  display: flex; align-items: flex-start; gap: var(--s-2);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: var(--s-3) var(--s-3);
  cursor: pointer; background: var(--surface);
  transition: border-color .16s, background-color .16s;
}
.opt-card:hover { border-color: var(--ink-3); }
.opt-card:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); }
.opt-card input { width: 17px; height: 17px; accent-color: var(--brand); margin-top: 0; flex: none; }
.opt-card .t { display: block; font-size: var(--t-2); font-weight: 700; }
.opt-card .d { display: block; font-size: var(--t-2); color: var(--ink-2); margin-top: 0; line-height: 1.35; }

.switch { position: relative; width: 44px; height: 25px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track {
  position: absolute; inset: 0; border-radius: var(--r-lg); background: var(--line-2);
  transition: background-color .18s;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%; background: #fff;
  transition: transform .18s; box-shadow: var(--shadow-knob);
}
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(19px); }
.switch input:focus-visible + .track { outline: 2.5px solid var(--brand); outline-offset: 2px; }

.seg-radio { display: inline-flex; background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s-1); gap: 0; }
.seg-radio label { position: relative; }
.seg-radio input { position: absolute; opacity: 0; }
.seg-radio span {
  display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
  font-size: var(--t-2); font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.seg-radio input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg-radio input:focus-visible + span { outline: 2.5px solid var(--brand); }

/* membership card */
.mcard {
  border-radius: var(--radius-lg); padding: var(--s-5); color: var(--deep-fg, #fff);
  background:
    radial-gradient(110% 130% at 88% 0%, rgb(255 203 47 / .18), transparent 60%),
    linear-gradient(150deg, var(--deep-2), var(--deep));
}
.mcard .top { display: flex; align-items: center; gap: var(--s-2); }
.mcard h2 { font-family: var(--display); font-weight: 400; font-size: var(--t-6); color: var(--deep-fg, #fff); }
.mcard p { color: var(--on-deep); font-size: var(--t-2); }
.mcard .price { font-family: var(--display); font-size: var(--t-6); margin: var(--s-3) 0 0; }
.mcard .price small { font-family: var(--sans); font-size: var(--t-2); font-weight: 600; opacity: .75; }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); }
.tabs button {
  border: 0; background: none; cursor: pointer;
  padding: var(--s-2) var(--s-3); font-size: var(--t-3); font-weight: 700; color: var(--ink-3);
  border-bottom: 2.5px solid transparent; margin-bottom: 0;
  transition: color .16s, border-color .16s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--brand-ink); border-bottom-color: var(--brand); }

/* ==========================================================================
   States
   ========================================================================== */
.state {
  text-align: center; padding: var(--s-8) var(--s-5);
  border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
  background: var(--surface);
}
.state svg { width: 40px; height: 40px; stroke: var(--ink-3); fill: none; stroke-width: var(--icon-stroke); margin: 0 auto var(--s-3); }
.state h3 { font-size: var(--t-4); margin-bottom: var(--s-1); }
.state p { color: var(--ink-2); font-size: var(--t-2); max-width: 44ch; margin: 0 auto var(--s-4); }

.skel { background: linear-gradient(90deg, var(--surface-2) 25%, #eae8e1 37%, var(--surface-2) 63%); background-size: 400% 100%; border-radius: var(--r-sm); }
@media (prefers-reduced-motion: no-preference) {
  .skel { animation: shimmer 1.3s ease-in-out infinite; }
  @keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
}
.skel-card { background: var(--surface); box-shadow: var(--shadow-1); border-radius: var(--radius-lg); overflow: hidden; }
.skel-card .a { aspect-ratio: 16/10; }
.skel-card .b { padding: var(--s-4); display: grid; gap: var(--s-2); }
.skel-card .b i { display: block; height: 11px; border-radius: 0; }

/* ==========================================================================
   Search overlay
   ========================================================================== */
.sheet {
  position: fixed; inset: 0; z-index: 200;
  background: rgb(10 20 15 / .5); backdrop-filter: blur(3px);
  display: grid; place-items: start center; padding: var(--s-8) var(--s-4) var(--s-4);
}
.sheet[hidden] { display: none; }
.sheet-box {
  width: min(640px, 100%); background: var(--surface);
  border-radius: var(--r-md); box-shadow: var(--shadow-3); overflow: hidden;
}
.sheet-in { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-4); border-bottom: 1px solid var(--line); }
.sheet-in svg { width: 19px; height: 19px; stroke: var(--ink-3); fill: none; stroke-width: var(--icon-stroke); flex: none; }
.sheet-in input { flex: 1; border: 0; outline: none; font-size: var(--t-3); background: none; }
.sheet-res { max-height: min(460px, 60vh); overflow-y: auto; padding: var(--s-2); }
.sres {
  display: flex; align-items: center; gap: var(--s-3); width: 100%;
  padding: var(--s-2) var(--s-3); border: 0; background: none; border-radius: var(--r-sm);
  cursor: pointer; text-align: left;
}
.sres:hover, .sres:focus-visible { background: var(--surface-2); }
.sres .t { font-size: var(--t-3); font-weight: 600; }
.sres .s { font-size: var(--t-2); color: var(--ink-3); }
.sres .r { margin-left: auto; }
.sheet-empty { padding: var(--s-6) var(--s-4); text-align: center; color: var(--ink-3); font-size: var(--t-2); }
.sheet-hint { padding: var(--s-2) var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-1); color: var(--ink-3); background: var(--surface-2); }

/* notifications dropdown */
.pop {
  position: absolute; right: 0; top: calc(100% + 9px);
  width: min(370px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-3); overflow: hidden; z-index: 120;
}
.pop[hidden] { display: none; }
.pop-head { display: flex; align-items: center; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.pop-head h3 { font-size: var(--t-3); }
.pop-head .spacer { margin-left: auto; }
.pop-list { max-height: 380px; overflow-y: auto; }
.note-item { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); cursor: pointer; }
.note-item:hover { background: var(--surface-2); }
.note-item:last-child { border-bottom: 0; }
.note-item.unread { background: var(--brand-wash); }
.note-item.unread:hover { background: var(--brand-wash); }
.note-ic { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; flex: none; background: var(--brand-wash); }
.note-ic svg { width: 16px; height: 16px; stroke: var(--brand-ink); fill: none; stroke-width: var(--icon-stroke); }
.note-item .t { font-size: var(--t-2); font-weight: 600; line-height: 1.35; }
.note-item .w { font-size: var(--t-1); color: var(--ink-3); margin-top: 0; }
.hdr-right { position: relative; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--deep); color: var(--on-deep-2); margin-top: var(--s-8); padding: var(--s-7) 0 var(--s-6); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 800px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.ftr .logo { font-size: var(--t-5); }
.ftr-tag { font-family: var(--label); font-style: italic; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--prize, var(--yellow)); font-size: var(--t-2); margin-top: var(--s-2); }
.ftr-blurb { font-size: var(--t-2); margin-top: var(--s-3); max-width: 34ch; }
.ftr h4 { color: var(--deep-fg, #fff); font-size: var(--t-2); font-family: var(--label); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); }
.ftr ul { list-style: none; display: grid; gap: var(--s-2); }
.ftr a { font-size: var(--t-2); }
.ftr a:hover { color: var(--deep-fg, #fff); text-decoration: underline; }
.ftr-base { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--t-2); display: flex; gap: var(--s-4); flex-wrap: wrap; }
.ftr-base .spacer { margin-left: auto; }

/* demo ribbon */
.demo-bar {
  background: var(--yellow); color: var(--on-accent);
  font-size: var(--t-2); font-weight: 600; text-align: center; padding: var(--s-1) var(--s-4);
}

/* reveal */
.rv { opacity: 0; transform: translateY(10px); }
.rv.in { opacity: 1; transform: none; transition: opacity .35s ease, transform .4s ease; transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* Review queue: say why a draft cannot be published rather than only greying
   out the button and hiding the reason in a hover tooltip. */
.draft-block {
  display: flex; gap: var(--s-2); align-items: flex-start;
  font-size: var(--t-2); color: var(--spend);
  background: var(--spend-wash); border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3); margin-top: var(--s-3);
}
.draft-block svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }

/* ==========================================================================
   Signed-in desktop refresh — August 2026

   The public site and mobile preview now share a rounded, layered visual
   language. These rules bring the signed-in product into that same family
   while retaining the existing components and responsive behaviour.
   ========================================================================== */

:root {
  --app-grid:
    linear-gradient(rgb(10 148 85 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(10 148 85 / .035) 1px, transparent 1px);
  --app-grid-size: 32px 32px;
  --app-glass: rgb(255 255 255 / .12);
  --app-glass-line: rgb(255 255 255 / .24);
  --app-deep: color-mix(in srgb, var(--deep-base) 76%, black);
}

body {
  background-color: #f4fbf7;
  background-image:
    radial-gradient(circle at 8% 2%, var(--brand-wash), transparent 28rem),
    var(--app-grid);
  background-size: auto, var(--app-grid-size);
}

.shell { max-width: 1420px; }
main { padding-bottom: 0; }
.page { padding-top: var(--s-5); }

/* Floating liquid-glass app bar. */
#hdr {
  position: sticky;
  top: 0;
  z-index: 100;
}
.hdr {
  position: relative;
  top: 0;
  padding: 14px 0 6px;
  background: linear-gradient(to bottom, rgb(244 251 247 / .95), rgb(244 251 247 / .76), transparent);
  color: var(--deep-fg, #fff);
  transition: padding .24s ease;
}
.hdr-main {
  height: 70px;
  max-width: 1500px;
  padding: 0 var(--s-4);
  gap: var(--s-4);
  border: 1px solid rgb(255 255 255 / .34);
  border-radius: 24px;
  background:
    linear-gradient(110deg, rgb(255 255 255 / .16), transparent 38%),
    linear-gradient(135deg, var(--deep-base), var(--app-deep));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .22),
    0 14px 36px rgb(4 72 43 / .18),
    0 3px 8px rgb(4 72 43 / .12);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  transition: height .24s ease, max-width .28s ease, border-radius .24s ease, box-shadow .24s ease;
}
.hdr.is-scrolled { padding-top: 8px; }
.hdr.is-scrolled .hdr-main {
  height: 60px;
  max-width: 1260px;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 10px 28px rgb(4 72 43 / .22);
}
.app-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 16px;
  transition: transform .18s ease;
}
.app-mark:hover { transform: translateY(-1px) rotate(-2deg); }
.app-mark svg { display: block; }

.nav {
  padding: 4px;
  gap: 2px;
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: 16px;
  background: rgb(2 56 34 / .18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07);
}
.nav a {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: var(--t-2);
  letter-spacing: -.01em;
}
.nav a.on {
  color: #fff;
  background: rgb(255 255 255 / .17);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 3px 10px rgb(2 48 29 / .12);
}
.nav a.on::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--yellow);
}

.search {
  width: 280px;
  height: 42px;
  padding: 0 var(--s-3);
  border-radius: 14px;
  background: rgb(255 255 255 / .11);
  border-color: rgb(255 255 255 / .2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
}
.search:focus-within { width: 320px; background: rgb(255 255 255 / .17); }
.search input { font-size: var(--t-2); }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 14px;
  background: rgb(255 255 255 / .08);
}
.icon-btn:hover { background: rgb(255 255 255 / .17); }
.icon-btn .dot {
  top: 2px;
  right: 2px;
  z-index: 2;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  line-height: 13px;
  border: 2px solid color-mix(in srgb, var(--deep-base) 84%, black);
  box-sizing: border-box;
  box-shadow: 0 2px 7px rgb(1 37 22 / .32);
}
.plus-chip {
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgb(2 48 29 / .14);
}
.avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgb(255 255 255 / .42);
  color: var(--on-accent);
  background: linear-gradient(145deg, #fff, var(--accent));
  box-shadow: 0 3px 12px rgb(2 48 29 / .16);
}
.mobnav {
  width: min(680px, calc(100% - 36px));
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: var(--app-deep);
  box-shadow: 0 12px 28px rgb(4 72 43 / .2);
}

/* Home dashboard. */
.dashboard-intro {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  overflow: hidden;
  padding: clamp(38px, 5vw, 72px);
  border: 1px solid rgb(255 255 255 / .26);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgb(255 255 255 / .26), transparent 29%),
    radial-gradient(circle at 12% 94%, rgb(255 203 47 / .12), transparent 26%),
    linear-gradient(135deg, var(--deep-2), var(--deep-base));
  box-shadow: 0 24px 60px rgb(4 104 61 / .18);
  isolation: isolate;
}
.dashboard-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.dashboard-intro::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -190px;
  width: 500px;
  height: 500px;
  z-index: -1;
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgb(255 255 255 / .025), 0 0 0 108px rgb(255 255 255 / .025);
}
.dashboard-copy .eyebrow { color: rgb(255 255 255 / .76); }
.dashboard-copy h1 {
  margin-top: var(--s-3);
  max-width: 9.5ch;
  font-size: clamp(54px, 6vw, 86px);
  line-height: .94;
  letter-spacing: -.02em;
}
.dashboard-copy h1 span { color: var(--yellow); }
.dashboard-copy > p {
  max-width: 58ch;
  margin-top: var(--s-5);
  color: rgb(255 255 255 / .86);
  font-size: var(--t-4);
}
.dashboard-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
.btn.glass {
  color: #fff;
  border: 1px solid rgb(255 255 255 / .28);
  background: rgb(255 255 255 / .11);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
  backdrop-filter: blur(18px);
}
.btn.glass:hover { background: rgb(255 255 255 / .2); }

.dashboard-status {
  padding: var(--s-4);
  border: 1px solid rgb(255 255 255 / .27);
  border-radius: 28px;
  background: rgb(249 255 251 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 20px 48px rgb(4 72 43 / .16);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}
.status-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.status-live { display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-1); font-weight: 700; color: rgb(255 255 255 / .8); }
.status-live i { width: 7px; height: 7px; border-radius: 50%; background: #9af3bf; box-shadow: 0 0 0 4px rgb(154 243 191 / .14); }
.status-feature {
  display: grid;
  gap: 2px;
  margin-top: var(--s-4);
  padding: var(--s-5);
  min-height: 154px;
  align-content: end;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 21px;
  background:
    radial-gradient(circle at 82% 20%, rgb(255 203 47 / .25), transparent 35%),
    linear-gradient(145deg, rgb(2 75 45 / .38), rgb(255 255 255 / .08));
}
.status-feature .eyebrow { color: rgb(255 255 255 / .68); }
.status-feature strong { font-family: var(--display); font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1; }
.status-feature > span:last-child { margin-top: 4px; color: rgb(255 255 255 / .72); font-size: var(--t-2); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: var(--s-2); }
.status-grid button {
  min-width: 0;
  padding: var(--s-3);
  text-align: left;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: 16px;
  background: rgb(255 255 255 / .09);
  transition: transform .16s ease, background-color .16s ease;
}
.status-grid button:hover { transform: translateY(-2px); background: rgb(255 255 255 / .15); }
.status-grid strong { display: block; font-family: var(--display); font-size: var(--t-6); font-weight: 400; line-height: 1; }
.status-grid span { display: block; overflow: hidden; margin-top: 5px; color: rgb(255 255 255 / .68); font-size: var(--t-1); text-overflow: ellipsis; white-space: nowrap; }
.status-bonus {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin-top: var(--s-2);
  padding: 10px 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: 16px;
  background: rgb(255 255 255 / .065);
  transition: transform .16s ease, background-color .16s ease;
}
.status-bonus:hover { transform: translateY(-1px); background: rgb(255 255 255 / .12); }
.status-bonus-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--on-accent);
  background: var(--yellow);
}
.status-bonus-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }
.status-bonus strong, .status-bonus small { display: block; }
.status-bonus strong { font-size: var(--t-2); }
.status-bonus small { margin-top: 2px; color: rgb(255 255 255 / .64); font-size: var(--t-1); }
.status-bonus-arrow { color: rgb(255 255 255 / .62); font-size: var(--t-4); }

/* Page rhythm and browsing furniture. */
.section { margin-top: 52px; }
.section-head { margin-bottom: var(--s-5); }
.section-head h2 { font-size: clamp(var(--t-6), 3vw, var(--t-7)); }
.section-head p { margin-top: 6px; font-size: var(--t-3); }
.page-head {
  align-items: center;
  padding: var(--s-6);
  margin-bottom: var(--s-5);
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 26px;
  background: rgb(255 255 255 / .76);
  box-shadow: 0 14px 40px rgb(20 80 52 / .06);
  backdrop-filter: blur(18px);
}
.page-head h1 { font-size: clamp(var(--t-7), 4vw, var(--t-8)); }

.quick-start {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-5) var(--s-6);
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 26px;
  background: rgb(255 255 255 / .86);
  box-shadow: 0 14px 36px rgb(20 80 52 / .07);
}
.quick-start-head { margin: 0; }
.quick-start-head h2 { margin-top: 4px; font-size: var(--t-6); }
.quick-start-head p { font-size: var(--t-2); }
.quick-chips { justify-content: flex-end; }
.chip-divider { width: 1px; height: 34px; margin: 0 3px; background: var(--line); }
.chip {
  min-height: 40px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(20 80 52 / .035);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--brand); box-shadow: 0 7px 18px rgb(20 80 52 / .08); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }

.member-section { margin-top: var(--s-5); }
.member-mod {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 30px;
  background:
    radial-gradient(90% 160% at 92% 0%, rgb(255 203 47 / .2), transparent 54%),
    linear-gradient(135deg, var(--deep-base), var(--app-deep));
  box-shadow: 0 20px 48px rgb(4 72 43 / .15);
}
.member-mod h2 { margin-top: var(--s-3) !important; font-size: clamp(var(--t-6), 3vw, var(--t-7)); }
.member-mod p { color: rgb(255 255 255 / .78); }
.stat {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-4);
  border-color: rgb(255 255 255 / .18);
  border-radius: 18px;
  background: rgb(255 255 255 / .1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09);
}

.listing-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5);
  border: 1px solid rgb(11 138 84 / .14);
  border-radius: 24px;
  background: var(--brand-wash);
}
.listing-status-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--brand); }
.listing-status-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); }
.listing-status h2 { margin-top: 3px; font-size: var(--t-5); }
.listing-status p { max-width: 76ch; margin-top: 4px; color: var(--ink-2); font-size: var(--t-2); }

/* Shared card system across every signed-in route. */
.g-card, .d-card, .panel, .state, .buy, .pod, .retailer-tile, .winners {
  border: 1px solid rgb(11 138 84 / .09);
  box-shadow: 0 10px 28px rgb(20 80 52 / .07);
}
.grid-g, .grid-d { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-card { border-radius: 24px; }
.g-card:hover, .d-card:hover { box-shadow: 0 18px 40px rgb(20 80 52 / .12); }
.g-card .art { border-bottom: 1px solid rgb(11 138 84 / .08); }
.g-body { padding: var(--s-4) var(--s-5) var(--s-5); }
.g-provider::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }
.d-card { padding: var(--s-5); border-radius: 22px; }
.d-offer { margin-top: var(--s-1); }
.retailer-tile { padding: var(--s-4); border-radius: 18px; }
.panel { border-radius: 24px; padding: var(--s-6); }

.hero {
  min-height: 360px;
  margin-top: var(--s-5);
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--app-deep), var(--deep-base));
  box-shadow: 0 20px 48px rgb(4 72 43 / .15);
}
.hero-art { margin: var(--s-4); border-radius: 22px; overflow: hidden; }
.hero-body { padding: var(--s-7); }
.hero-body > p { color: rgb(255 255 255 / .73) !important; }
.hero-fact .k { color: rgb(255 255 255 / .62); }

.trust {
  overflow: hidden;
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 26px;
  background: rgb(255 255 255 / .78);
  box-shadow: 0 14px 36px rgb(20 80 52 / .055);
}
.trust-item { min-height: 220px; padding: var(--s-6); }
.trust-item + .trust-item { padding-left: var(--s-6); }
.trust-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--brand); }

.with-side { grid-template-columns: 258px minmax(0, 1fr); }
.side {
  top: 90px;
  padding: var(--s-5);
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 22px;
  background: rgb(255 255 255 / .84);
  box-shadow: 0 12px 30px rgb(20 80 52 / .06);
  backdrop-filter: blur(18px);
}
.results-bar {
  min-height: 58px;
  padding: var(--s-2) var(--s-3);
  margin-bottom: var(--s-4);
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 18px;
  background: rgb(255 255 255 / .78);
}
.catalogue-empty {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--s-7);
  align-items: center;
  padding: clamp(36px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgb(11 138 84 / .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 20%, rgb(18 183 106 / .17), transparent 30%),
    linear-gradient(135deg, #fff, var(--brand-wash));
  box-shadow: 0 18px 46px rgb(20 80 52 / .08);
}
.catalogue-empty h2 { max-width: 13ch; margin-top: var(--s-2); font-size: clamp(var(--t-7), 5vw, var(--t-8)); line-height: 1.02; }
.catalogue-empty-copy > p { max-width: 67ch; margin-top: var(--s-4); color: var(--ink-2); font-size: var(--t-3); }
.catalogue-empty-seal {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: var(--s-4);
  text-align: center;
  border: 1px solid rgb(255 255 255 / .32);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--deep-2), var(--deep-base));
  box-shadow: 0 0 0 18px rgb(18 183 106 / .08), 0 18px 42px rgb(20 80 52 / .14);
}
.catalogue-empty-seal svg { width: 52px; height: 52px; margin: 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.catalogue-empty-seal strong { font-family: var(--label); font-style: italic; font-size: var(--t-5); line-height: 1.05; text-transform: uppercase; }
.sel, .input { border-radius: 12px; background-color: #fff; }

.draw-hero {
  padding: clamp(48px, 7vw, 92px) var(--s-6);
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 30px;
  background:
    radial-gradient(80% 110% at 50% -12%, rgb(255 203 47 / .26), transparent 58%),
    linear-gradient(145deg, var(--deep-base), var(--app-deep));
  box-shadow: 0 22px 52px rgb(4 72 43 / .15);
}
.pod { min-height: 190px; padding: var(--s-5); border-radius: 22px; background: rgb(255 255 255 / .9); }
.steps { gap: var(--s-3); }
.step { padding: var(--s-5); border: 1px solid rgb(11 138 84 / .09); border-radius: 20px; background: rgb(255 255 255 / .82); box-shadow: 0 8px 22px rgb(20 80 52 / .05); }

.pop, .sheet-box {
  border-color: rgb(11 138 84 / .12);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgb(4 72 43 / .2);
}
.pop { top: calc(100% + 14px); }
.sheet { background: rgb(4 40 25 / .46); backdrop-filter: blur(9px); }

.ftr {
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  background:
    radial-gradient(circle at 86% 0%, rgb(18 183 106 / .18), transparent 34%),
    var(--app-deep);
}

@media (max-width: 1180px) {
  .hdr-main { border-radius: 20px; }
  .nav a { padding-inline: 10px; }
  .search { width: 220px; }
  .search:focus-within { width: 250px; }
  .dashboard-intro { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-6); }
  .quick-start { grid-template-columns: 1fr; }
  .quick-chips { justify-content: flex-start; }
}

@media (max-width: 1000px) {
  .hdr-main { max-width: calc(100% - 28px); }
  .dashboard-intro { grid-template-columns: 1fr; }
  .dashboard-copy h1 { max-width: 12ch; }
  .dashboard-status { max-width: 620px; width: 100%; }
  .with-side { grid-template-columns: 1fr; }
  .side { position: static; }
}

@media (max-width: 720px) {
  body { background-size: auto, 24px 24px; }
  .hdr { padding: 7px 0 2px; }
  .hdr-main, .hdr.is-scrolled .hdr-main {
    width: calc(100% - 14px);
    max-width: none;
    height: 58px;
    padding-inline: 8px;
    border-radius: 18px;
  }
  .app-mark { width: 42px; height: 42px; }
  .app-mark svg { height: 38px; }
  .icon-btn, .avatar { width: 40px; height: 40px; }
  .dashboard-intro {
    min-height: 0;
    padding: var(--s-6) var(--s-5);
    border-radius: 26px;
  }
  .dashboard-copy h1 { font-size: clamp(46px, 15vw, 66px); }
  .dashboard-copy > p { font-size: var(--t-3); }
  .dashboard-actions .btn { flex: 1; }
  .dashboard-status { padding: var(--s-3); border-radius: 22px; }
  .status-feature { min-height: 130px; padding: var(--s-4); }
  .status-grid button { padding: 10px; }
  .quick-start { padding: var(--s-5); border-radius: 22px; }
  .quick-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-1); scrollbar-width: none; }
  .quick-chips::-webkit-scrollbar { display: none; }
  .quick-chips .chip { flex: none; }
  .chip-divider { flex: none; }
  .listing-status { grid-template-columns: auto 1fr; }
  .listing-status .btn { grid-column: 1 / -1; width: 100%; }
  .page-head { padding: var(--s-5); border-radius: 22px; }
  .section { margin-top: var(--s-7); }
  .section-head { align-items: flex-start; }
  .member-mod { border-radius: 24px; }
  .stat { min-height: 110px; }
  .trust { grid-template-columns: 1fr; }
  .trust-item { min-height: 0; padding: var(--s-5); }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); padding-left: var(--s-5); }
  .hero { border-radius: 24px; }
  .hero-art { margin: var(--s-3); }
  .hero-body { padding: var(--s-5); }
  .panel { padding: var(--s-5); }
  .catalogue-empty { grid-template-columns: 1fr; min-height: 0; padding: var(--s-6) var(--s-5); border-radius: 24px; }
  .catalogue-empty-seal { width: 180px; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hdr, .hdr-main, .app-mark, .status-grid button { transition: none; }
}

/* ==========================================================================
   Web value pass — discovery, Plus Price Finder and monthly draw
   ========================================================================== */

/* The app bar stays one consistent size while it is sticky. */
.hdr.is-scrolled { padding-top: 14px; }
.hdr.is-scrolled .hdr-main { height: 70px; max-width: 1500px; border-radius: 24px; }
.header-greeting {
  display: grid;
  gap: 0;
  min-width: 92px;
  line-height: 1.12;
  color: #fff;
}
.header-greeting small { color: rgb(255 255 255 / .64); font-size: 10px; }
.header-greeting strong { font-size: var(--t-2); }
.icon-btn { overflow: visible; }
.icon-btn .dot {
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  line-height: 1;
  border-width: 2px;
  border-radius: 999px;
}

.discover-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-7);
  padding: clamp(30px, 4.5vw, 58px);
  border: 1px solid rgb(11 138 84 / .11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgb(18 183 106 / .18), transparent 34%),
    rgb(255 255 255 / .82);
  box-shadow: 0 16px 40px rgb(20 80 52 / .075);
}
.discover-heading h1 { margin-top: 4px; font-size: clamp(54px, 7vw, 92px); line-height: .95; }
.discover-heading p { max-width: 54ch; margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-3); }
.discover-stats { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: var(--s-2); }
.discover-stats button {
  min-width: 132px;
  padding: var(--s-4);
  text-align: left;
  cursor: pointer;
  border: 1px solid rgb(11 138 84 / .12);
  border-radius: 18px;
  color: var(--ink);
  background: rgb(255 255 255 / .82);
  box-shadow: 0 7px 20px rgb(20 80 52 / .05);
}
.discover-stats button:hover { transform: translateY(-2px); border-color: var(--brand); }
.discover-stats strong { display: block; font-family: var(--display); font-size: var(--t-7); line-height: 1; color: var(--brand); }
.discover-stats span { display: block; margin-top: 5px; color: var(--ink-2); font-size: var(--t-1); font-weight: 700; }
.curated-note { display: flex; gap: 10px; align-items: center; margin: var(--s-4) 0; padding: 11px 14px; border: 1px solid rgb(11 138 84 / .14); border-radius: 14px; color: var(--green-ink); background: var(--brand-wash); font-size: var(--t-2); }
.curated-note svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; }

/* Default: centred, single column — the empty state used to fill the second
   column with a placeholder panel ("Noel Leeming / Harvey Norman / Farmers /
   What are you shopping for?"), which read as a box with nothing in it. Now
   there is nothing there at all until a real search produces a real result,
   and :has() switches back to the two-column layout only once #product-results
   actually has something to show — no JS class-toggling needed for this. */
.product-finder {
  min-height: 0;
  display: block;
  max-width: 780px;
  margin: var(--s-4) auto 0;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 4vw, 46px) clamp(20px, 2.6vw, 28px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 26px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 88% 0%, rgb(255 255 255 / .23), transparent 31%),
    linear-gradient(140deg, var(--deep-2), var(--deep-base));
  box-shadow: 0 22px 54px rgb(4 72 43 / .17);
}
.product-finder:has(#product-results:not([hidden])) {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  text-align: left;
}
/* Two lines, not four. The 10ch cap broke this into 'Search / every sale, /
   not every / store.' — wide enough for the natural comma break is enough. */
.product-finder-copy h2 { max-width: 22ch; margin: var(--s-3) auto 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.06; text-wrap: balance; }
.product-finder:has(#product-results:not([hidden])) {
  padding: clamp(30px, 4vw, 54px);
}
.product-finder:has(#product-results:not([hidden])) .product-finder-copy h2 {
  margin-left: 0; margin-right: 0; max-width: 16ch; font-size: clamp(30px, 3.2vw, 44px);
}
.product-finder-copy > p { max-width: 58ch; margin: var(--s-2) auto 0; color: rgb(255 255 255 / .77); font-size: var(--t-3); }
.product-finder:has(#product-results:not([hidden])) .product-finder-copy > p { margin-left: 0; margin-right: 0; }
.product-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-2);
  align-items: center;
  max-width: 500px;
  margin: var(--s-4) auto 0;
  padding: 7px 7px 7px 14px;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 18px;
  background: rgb(255 255 255 / .15);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16);
  backdrop-filter: blur(18px);
}
.product-finder:has(#product-results:not([hidden])) .product-search { max-width: none; margin-left: 0; }
.product-search > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; }
.product-search input { min-width: 0; height: 42px; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; text-align: left; }
.product-search input::placeholder { color: rgb(255 255 255 / .62); }
.product-search .btn { background: var(--yellow); color: var(--on-accent); white-space: nowrap; }
.product-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: var(--s-2); }
.product-finder:has(#product-results:not([hidden])) .product-suggestions { justify-content: flex-start; }
.product-suggestions button {
  padding: 7px 11px;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 999px;
  color: rgb(255 255 255 / .84);
  background: rgb(255 255 255 / .08);
  font: inherit;
  font-size: var(--t-1);
  font-weight: 700;
}
.product-suggestions button:hover { color: #fff; background: rgb(255 255 255 / .17); }
.product-finder-note { display: block; max-width: 72ch; margin: var(--s-3) auto 0; color: rgb(255 255 255 / .52); font-size: 10px; line-height: 1.45; }
.product-results {
  min-height: 320px;
  padding: var(--s-4);
  border: 1px solid rgb(255 255 255 / .26);
  border-radius: 26px;
  color: var(--ink);
  background: rgb(249 255 251 / .9);
  box-shadow: inset 0 1px 0 #fff, 0 24px 50px rgb(1 45 27 / .17);
  backdrop-filter: blur(26px);
}
.product-empty { min-height: 288px; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--s-6); }
.product-empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--brand); background: var(--brand-wash); }
.product-empty-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; }
.product-empty h3 { margin-top: var(--s-4); font-size: var(--t-5); }
.product-empty p { max-width: 42ch; margin-top: var(--s-2); color: var(--ink-2); }
.product-empty .btn { margin-top: var(--s-4); }
.product-result-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-2) var(--s-4); }
.product-result-head h3 { margin-top: 3px; font-size: var(--t-4); }
.product-result-list { display: grid; gap: 9px; }
.product-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-3);
  border: 1px solid rgb(11 138 84 / .1);
  border-radius: 16px;
  color: inherit;
  background: #fff;
  box-shadow: 0 6px 18px rgb(20 80 52 / .045);
}
.product-result:hover { transform: translateY(-1px); border-color: var(--brand); }
.product-result .retailer-mark { width: 38px; height: 38px; }
.product-result-copy { min-width: 0; }
.product-result-copy strong, .product-result-copy small { display: block; }
.product-result-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-result-copy small { margin-top: 3px; color: var(--ink-2); font-size: 10px; }
.product-price { text-align: right; }
.product-price strong, .product-price small { display: block; }
.product-price strong { color: var(--brand); font-size: var(--t-4); }
.product-price small { margin-top: 2px; color: var(--ink-2); font-size: 10px; }
.product-arrow { font-size: var(--t-4); color: var(--brand); }

.draw-stage {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding: clamp(38px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 0%, rgb(255 203 47 / .25), transparent 36%),
    linear-gradient(145deg, var(--deep-2), var(--app-deep));
  box-shadow: 0 22px 54px rgb(4 72 43 / .17);
}
.draw-stage-copy .draw-sub { margin-top: var(--s-5); color: rgb(255 255 255 / .62); font: italic 700 var(--t-2) var(--label); text-transform: uppercase; letter-spacing: .08em; }
.draw-stage-copy h2 { margin-top: 6px; color: var(--yellow); font-size: clamp(56px, 7vw, 94px); line-height: .9; }
.draw-stage-copy h2 span { display: block; margin-top: 10px; color: #fff; font-family: var(--body); font-size: var(--t-4); line-height: 1; letter-spacing: 0; }
.draw-stage-copy > p:not(.draw-sub) { max-width: 55ch; margin-top: var(--s-5); color: rgb(255 255 255 / .76); }
.draw-entry-count { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-5); padding: 11px 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 14px; background: rgb(255 255 255 / .1); }
.draw-entry-count svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); }
.draw-entry-count strong { color: var(--yellow); }
.draw-clock-card { padding: clamp(24px, 4vw, 42px); border: 1px solid rgb(255 255 255 / .3); border-radius: 26px; background: rgb(255 255 255 / .12); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 20px 44px rgb(1 38 23 / .17); backdrop-filter: blur(24px); }
.draw-clock-card .eyebrow { color: rgb(255 255 255 / .66); }
.draw-clock-card h3 { margin-top: 6px; font-size: var(--t-5); }
.draw-clock-card > p { margin-top: var(--s-4); color: rgb(255 255 255 / .66); font-size: var(--t-2); }
.draw-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: var(--s-5); }
.draw-countdown div { min-width: 0; padding: var(--s-4) var(--s-2); text-align: center; border: 1px solid rgb(255 255 255 / .17); border-radius: 15px; background: rgb(1 50 30 / .28); }
.draw-countdown strong { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 48px); line-height: 1; }
.draw-countdown span { display: block; margin-top: 6px; color: rgb(255 255 255 / .58); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.prize-section { margin-top: var(--s-7); }
.prize-podium { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: var(--s-3); align-items: end; }
.prize-card { position: relative; min-height: 220px; display: grid; align-content: center; justify-items: center; padding: var(--s-6); overflow: hidden; border: 1px solid rgb(8 80 47 / .11); border-radius: 25px; text-align: center; box-shadow: 0 15px 35px rgb(20 80 52 / .08); }
.prize-card::after { content: ""; position: absolute; inset: auto -22% -60% 25%; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .23); }
.prize-card.gold { min-height: 270px; background: linear-gradient(145deg, #ffe585, #ffc52b); color: #2b2a18; }
.prize-card.silver { background: linear-gradient(145deg, #f9fbfc, #cbd4d8); color: #263238; }
.prize-card.bronze { background: linear-gradient(145deg, #f4c59e, #bf7541); color: #392316; }
.prize-medal { width: 44px; height: 44px; display: grid; place-items: center; z-index: 1; border: 1px solid rgb(255 255 255 / .52); border-radius: 50%; font-weight: 800; background: rgb(255 255 255 / .35); }
.prize-crown { position: absolute; top: 18px; right: 22px; font-size: 28px; color: #fff; text-shadow: 0 3px 10px rgb(100 60 0 / .18); }
.prize-card .place, .prize-card .amt, .prize-card .lbl { position: relative; z-index: 1; }
.prize-card .place { margin-top: var(--s-4); font-size: var(--t-2); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.prize-card .amt { margin-top: 4px; font-size: clamp(42px, 5vw, 68px); line-height: 1; }
.prize-card .lbl { margin-top: 5px; font-size: var(--t-2); font-weight: 700; opacity: .7; }
.prize-note { margin-top: var(--s-4); text-align: center; }

@media (max-width: 1180px) {
  .header-greeting { display: none; }
  .product-finder, .draw-stage { grid-template-columns: 1fr; }
  .product-finder-copy h2 { max-width: none; font-size: 27px; }
}

@media (max-width: 820px) {
  .discover-top { align-items: stretch; flex-direction: column; }
  .discover-stats { grid-template-columns: repeat(3, 1fr); }
  .discover-stats button { min-width: 0; }
  .product-finder { min-height: 0; padding: var(--s-6) var(--s-5); border-radius: 25px; }
  .product-results { min-height: 0; }
  .draw-stage { min-height: 0; padding: var(--s-6) var(--s-5); border-radius: 25px; }
  .prize-podium { grid-template-columns: 1fr; align-items: stretch; }
  .prize-card.gold { order: -1; min-height: 230px; }
  .prize-card { min-height: 190px; }
}

@media (max-width: 560px) {
  .discover-stats { grid-template-columns: 1fr; }
  .discover-stats button { display: flex; align-items: center; justify-content: space-between; }
  .product-search { grid-template-columns: auto minmax(0, 1fr); }
  .product-search .btn { grid-column: 1 / -1; width: 100%; }
  .product-result { grid-template-columns: auto minmax(0, 1fr) auto; }
  .product-price { grid-column: 2; text-align: left; }
  .product-arrow { grid-column: 3; grid-row: 1 / 3; }
  .draw-countdown { grid-template-columns: repeat(2, 1fr); }
}

/* Catalogue polish: retailer identity leads and every listing keeps the same
   footprint, regardless of the source artwork's original proportions. */
.brand-browse {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(112px, 138px);
  gap: 10px;
  margin: 18px 0 22px;
  padding: 7px 2px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.brand-choice {
  min-height: 92px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--ink-2);
  background: transparent;
  font: inherit;
  scroll-snap-align: start;
  transition: border-color .18s, background .18s, transform .18s;
}
.brand-choice:hover { transform: translateY(-2px); background: rgb(255 255 255 / .7); }
.brand-choice.is-active { color: var(--ink); border-color: rgb(11 138 84 / .16); background: #fff; box-shadow: 0 8px 24px rgb(20 80 52 / .08); }
.brand-choice strong { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.brand-choice .rmark { width: 42px; height: 42px; border-radius: 13px; }
.brand-all { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--brand); font-weight: 800; }

.grid-g { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.g-card, .g-card.feat { min-width: 0; display: flex; flex-direction: column; grid-column: span 1; border-radius: 22px; }
.g-card .art, .g-card.feat .art { width: 100%; aspect-ratio: 4 / 3; flex: none; background: linear-gradient(145deg, #eef6f1, #e4efe9); }
.g-card .art > img, .g-card.feat .art > img { object-fit: contain; object-position: center; padding: 0; }
.g-card:hover .art > img, .g-card:hover .art > svg { transform: none; }
.g-body, .g-card.feat .g-body { min-height: 230px; justify-content: flex-start; padding: 18px; gap: 10px; }
.g-provider-row { min-width: 0; display: flex; align-items: center; gap: 11px; }
.g-provider-row > div { min-width: 0; }
.g-provider { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 12px; font-weight: 800; }
.g-provider::before { content: none; }
.gbrand-logo { width: 44px; height: 44px; flex: none; border-radius: 13px; }
.g-title, .g-card.feat .g-title { min-height: 2.64em; font-size: 16px; line-height: 1.32; -webkit-line-clamp: 2; }
.g-tags { min-height: 22px; overflow: hidden; white-space: nowrap; }
.g-foot { padding-top: 12px; }

.product-filter-row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 0 8px 13px; }
.product-filter-row label { display: grid; gap: 4px; color: var(--ink-2); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-filter-row select { min-height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: 700 11px var(--body); }
.product-threshold { margin-left: auto; padding: 9px 11px; border-radius: 999px; color: var(--green-ink); background: var(--brand-wash); font-size: 10px; font-weight: 800; }
.product-result[hidden] { display: none; }

@media (max-width: 780px) {
  .brand-browse { grid-auto-columns: 104px; }
  .grid-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid-g { grid-template-columns: 1fr; }
  .product-threshold { margin-left: 0; }
}

/* Premium desktop catalogue and liquid-glass controls. These refinements are
   intentionally route-specific so the rest of the signed-in product retains
   its existing information density. */
.hdr,
.hdr.is-scrolled { padding: 14px 0 6px; }
.hdr-main,
.hdr.is-scrolled .hdr-main {
  height: 70px;
  max-width: 1500px;
  border: 1px solid rgb(255 255 255 / .42);
  border-radius: 25px;
  background:
    linear-gradient(112deg, rgb(255 255 255 / .24), transparent 27% 70%, rgb(255 255 255 / .11)),
    linear-gradient(135deg, rgb(6 104 67 / .78), rgb(4 118 75 / .68));
  box-shadow: 0 22px 52px rgb(2 67 42 / .19), 0 4px 13px rgb(2 54 35 / .11), inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1px 0 rgb(0 39 25 / .16);
  backdrop-filter: blur(34px) saturate(185%);
  -webkit-backdrop-filter: blur(34px) saturate(185%);
}
.nav {
  padding: 5px;
  border-color: rgb(255 255 255 / .18);
  background: rgb(0 47 30 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .13), 0 8px 24px rgb(0 42 28 / .08);
}
.nav a,
.icon-btn,
.search,
.btn,
.brand-choice {
  --glass-x: 50%;
  --glass-y: 50%;
  background-image:
    radial-gradient(110px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .28), transparent 68%),
    linear-gradient(145deg, rgb(255 255 255 / .15), rgb(255 255 255 / .05));
  border-color: rgb(255 255 255 / .28);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .34), inset 0 -1px 0 rgb(0 45 29 / .12), 0 7px 18px rgb(0 48 31 / .09);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.nav a { border: 1px solid transparent; }
.nav a:hover,
.icon-btn:hover,
.btn:hover,
.brand-choice:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .46), 0 13px 24px rgb(0 43 28 / .15); }
.nav a:hover,
.icon-btn:hover,
.btn:hover,
.brand-choice:hover {
  background-image: radial-gradient(120px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .38), transparent 68%), linear-gradient(145deg, rgb(255 255 255 / .20), rgb(255 255 255 / .07));
}
.nav a.on {
  border-color: rgb(255 255 255 / .46);
  background-color: rgb(255 255 255 / .15);
  background-image: radial-gradient(120px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .40), transparent 66%), linear-gradient(145deg, rgb(255 255 255 / .25), rgb(255 255 255 / .09));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .50), inset 0 -1px 0 rgb(0 43 28 / .10), 0 9px 21px rgb(0 40 26 / .15);
}
.nav a.on::after { background: rgb(255 255 255 / .88); box-shadow: 0 0 12px rgb(255 255 255 / .44); }
.search { background-color: rgb(255 255 255 / .09); }
.icon-btn { background-color: rgb(255 255 255 / .08); }
.nav a.is-glass-pressed,
.icon-btn.is-glass-pressed,
.search.is-glass-pressed,
.btn.is-glass-pressed,
.brand-choice.is-glass-pressed { transform: translateY(1px) scale(.965); box-shadow: inset 0 2px 8px rgb(0 46 29 / .22), inset 0 1px 0 rgb(255 255 255 / .30), 0 4px 10px rgb(0 40 26 / .09); }

.giveaway-page .page-head {
  margin-bottom: 12px;
  padding: 24px 6px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.giveaway-page .page-head h1 { font-family: var(--sans); font-size: clamp(38px, 4vw, 54px); font-weight: 800; letter-spacing: -.045em; }
.giveaway-page .page-head p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.giveaway-page .curated-note { margin: 0 0 20px; border-radius: 16px; background: rgb(231 248 238 / .72); backdrop-filter: blur(18px); }
.giveaway-page .brand-browse {
  gap: 8px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / .84);
  border-radius: 26px;
  background: rgb(255 255 255 / .72);
  box-shadow: 0 16px 42px rgb(20 80 52 / .08), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.giveaway-page .brand-choice { border-color: transparent; box-shadow: none; backdrop-filter: blur(14px); }
.giveaway-page .brand-choice.is-active {
  color: var(--brand-ink);
  border-color: rgb(13 137 85 / .20);
  background-color: rgb(232 250 240 / .74);
  background-image: radial-gradient(120px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .76), transparent 66%), linear-gradient(145deg, rgb(255 255 255 / .78), rgb(218 246 231 / .64));
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgb(20 80 52 / .09);
}
.giveaway-page .with-side { gap: 26px; }
.giveaway-page .side,
.giveaway-page .results-bar {
  border: 1px solid rgb(255 255 255 / .86);
  background: rgb(255 255 255 / .76);
  box-shadow: 0 14px 38px rgb(20 80 52 / .065), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.giveaway-page .side { border-radius: 24px; }
.giveaway-page .results-bar { min-height: 64px; padding: 10px 14px; border-radius: 20px; }
.giveaway-page .grid-g { gap: 20px; }
.giveaway-page .g-card {
  border: 1px solid rgb(255 255 255 / .92);
  border-radius: 26px;
  background: rgb(255 255 255 / .94);
  box-shadow: 0 12px 32px rgb(20 80 52 / .09), inset 0 1px 0 #fff;
}
.giveaway-page .g-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgb(20 80 52 / .15), inset 0 1px 0 #fff; }
.giveaway-page .g-card .art { margin: 8px 8px 0; width: calc(100% - 16px); border: 0; border-radius: 20px; overflow: hidden; background: linear-gradient(145deg, #f5faf7, #edf5f0); }
.giveaway-page .g-body { min-height: 218px; padding: 16px 18px 20px; }
.giveaway-page .gbrand-logo { border: 1px solid rgb(14 111 70 / .10); box-shadow: 0 5px 15px rgb(20 80 52 / .08); }
.giveaway-page .save-btn { border-color: rgb(255 255 255 / .72); background: rgb(255 255 255 / .80); box-shadow: 0 7px 18px rgb(0 28 18 / .12), inset 0 1px 0 #fff; backdrop-filter: blur(16px); }

@media (max-width: 760px) {
  .hdr,
  .hdr.is-scrolled { padding-top: 8px; }
  .hdr-main,
  .hdr.is-scrolled .hdr-main { height: 60px; border-radius: 20px; }
}

/* Curated Discover home. Inspired by the calm hierarchy of premium travel
   catalogues: one useful search, then two consistent browsable rows. */
.discover-page {
  display: grid;
  gap: 22px;
  padding-top: 22px;
}
.discover-page .discover-top {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .76fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgb(255 255 255 / .90);
  border-radius: 30px;
  background:
    radial-gradient(circle at 91% 8%, rgb(28 190 117 / .15), transparent 34%),
    linear-gradient(135deg, rgb(255 255 255 / .94), rgb(245 253 248 / .84));
  box-shadow: 0 18px 48px rgb(20 80 52 / .075), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}
.discover-page .discover-heading h1 {
  max-width: 15ch;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.discover-page .discover-heading p {
  max-width: 51ch;
  margin-top: 13px;
  color: var(--ink-2);
  font-size: 15px;
}
.discover-search {
  --glass-x: 50%;
  --glass-y: 50%;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 13px 16px;
  cursor: pointer;
  text-align: left;
  border: 1px solid rgb(11 138 84 / .14);
  border-radius: 24px;
  color: var(--ink);
  background:
    radial-gradient(140px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .92), transparent 72%),
    rgb(255 255 255 / .86);
  box-shadow: 0 16px 38px rgb(20 80 52 / .10), inset 0 1px 0 #fff;
  font: inherit;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
}
.discover-search:hover {
  transform: translateY(-3px);
  border-color: rgb(11 138 84 / .30);
  box-shadow: 0 22px 48px rgb(20 80 52 / .15), inset 0 1px 0 #fff;
}
.discover-search-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, var(--deep-2), var(--deep-base));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 9px 20px rgb(5 94 58 / .18);
}
.discover-search-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.discover-search-copy { min-width: 0; display: grid; gap: 4px; }
.discover-search-copy strong { font-size: 15px; }
.discover-search-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 11px; }
.discover-search kbd {
  min-width: 29px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  background: var(--surface-2);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / .05);
  font: 700 11px var(--sans);
  text-align: center;
}

.discover-catalogue {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgb(255 255 255 / .90);
  border-radius: 30px;
  background: rgb(255 255 255 / .78);
  box-shadow: 0 16px 44px rgb(20 80 52 / .065), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.discover-row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.discover-row-head h2 { margin-top: 5px; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.035em; }
.discover-row-head p { margin-top: 7px; color: var(--ink-2); font-size: 13px; }
.discover-view-all {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  border: 1px solid rgb(11 138 84 / .14);
  border-radius: 999px;
  color: var(--green-ink);
  background: rgb(233 249 240 / .74);
  font: 800 11px var(--sans);
  transition: transform .18s, background .18s, border-color .18s;
}
.discover-view-all:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-wash); }
.discover-giveaway-grid,
.discover-deal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.discover-page .g-card,
.discover-page .d-card {
  height: 100%;
  border: 1px solid rgb(11 138 84 / .09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 9px 26px rgb(20 80 52 / .07);
}
.discover-page .g-card:hover,
.discover-page .d-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgb(20 80 52 / .13); }
.discover-page .g-card .art { margin: 7px 7px 0; width: calc(100% - 14px); border-radius: 17px; overflow: hidden; }
.discover-page .g-body { min-height: 205px; padding: 15px 16px 18px; }
.discover-page .d-card { min-height: 235px; padding: 20px; }
.discover-empty {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px dashed rgb(11 138 84 / .22);
  border-radius: 22px;
  background: var(--brand-wash);
}
.discover-empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--brand); background: #fff; }
.discover-empty-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; }
.discover-empty h3 { font-size: 18px; }
.discover-empty p { margin-top: 5px; color: var(--ink-2); font-size: 12px; }

.discover-price-tease {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 23px 26px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .30);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgb(255 255 255 / .22), transparent 34%),
    linear-gradient(135deg, var(--deep-2), var(--deep-base));
  box-shadow: 0 18px 44px rgb(4 72 43 / .14), inset 0 1px 0 rgb(255 255 255 / .22);
}
.discover-price-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .24); border-radius: 17px; background: rgb(255 255 255 / .12); }
.discover-price-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; }
.discover-price-tease .eyebrow { color: var(--yellow); }
.discover-price-tease h2 { margin-top: 4px; font-size: 22px; }
.discover-price-tease p { margin-top: 4px; color: rgb(255 255 255 / .72); font-size: 12px; }
.discover-price-tease .btn { white-space: nowrap; background-color: rgb(255 255 255 / .92); color: var(--green-ink); }

@media (max-width: 1180px) {
  .discover-page .discover-top { grid-template-columns: 1fr; min-height: 0; }
  .discover-search { width: min(650px, 100%); }
  .discover-giveaway-grid,
  .discover-deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .discover-page { gap: 14px; padding-top: 14px; }
  .discover-page .discover-top,
  .discover-catalogue { padding: 22px 18px; border-radius: 24px; }
  .discover-page .discover-heading h1 { font-size: 34px; }
  .discover-search { min-height: 72px; border-radius: 20px; }
  .discover-search-icon { width: 42px; height: 42px; border-radius: 14px; }
  .discover-search kbd { display: none; }
  .discover-row-head { align-items: flex-start; }
  .discover-view-all { padding: 9px 11px; }
  .discover-giveaway-grid,
  .discover-deal-grid { grid-template-columns: 1fr; }
  .discover-empty,
  .discover-price-tease { grid-template-columns: 1fr; justify-items: start; }
  .discover-price-tease .btn { width: 100%; }
}
