/**
 * CashVers design preview (test.cashvers.com only — loaded when cashvers_use_apple_refined()).
 * HQ 2026-11-11: bold, plain fintech style. No serif italics, no "code" mono labels,
 * charcoal surfaces (v2), lime accent for actions only, pill buttons, rounder cards.
 * Everything is scoped to html[data-cv-preview="1"] so it outranks :root tokens and
 * single-class rules in the older stylesheets.
 */

/* CLS fix: metric-matched fallbacks so the Archivo/Inter swap (font-display:swap) does not reflow text. */
@font-face {
  font-family: "Inter Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  font-weight: 500;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo");
  size-adjust: 109%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  font-weight: 600 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 102.5%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  font-weight: 600 900;
  font-stretch: 100% 104%;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 102%;
  ascent-override: 86.1%;
  descent-override: 20.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  font-weight: 600 900;
  font-stretch: 105% 110%;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 112%;
  ascent-override: 78.4%;
  descent-override: 18.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  font-weight: 600 900;
  font-stretch: 111% 125%;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold");
  size-adjust: 126%;
  ascent-override: 69.7%;
  descent-override: 16.7%;
  line-gap-override: 0%;
}

/* Metrics from Inter/Archivo vs Arial; Archivo faces split by font-stretch because the real font has a wdth axis. */

html[data-cv-preview="1"] {
  /* Type */
  --f-display: "Archivo", "Archivo Fallback", "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;
  --f-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: var(--f-display);
  --f-mono: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif;

  /* Surfaces — near-neutral charcoal (v2: was too green) */
  --bg: #0B0C0B;
  --bg-2: #131514;
  --bg-3: #1B1E1C;
  --line: #242826;
  --line-strong: #323734;
  --fg: #F4F5F3;
  --fg-dim: #B9BEBA;
  --fg-mute: #868C88;
  --fg-faint: #555A57;

  /* Accent — lime, used for actions and highlights only */
  --accent: #9FE870;
  --accent-deep: #B6F08F;
  --accent-fg: #102500;
  --accent-soft: rgba(159, 232, 112, 0.12);
  --pos: #9FE870;

  /* Store tokens */
  --cv-card-bg: #131514;
  --cv-card-bg2: #1B1E1C;
  --cv-header-bg: rgba(11, 12, 11, 0.85);
  --cv-border: rgba(255, 255, 255, 0.08);
  --cv-border-hi: rgba(255, 255, 255, 0.18);
  --cv-surface: rgba(255, 255, 255, 0.04);
  --cv-surface-hi: rgba(255, 255, 255, 0.08);
  --cv-btn: #9FE870;
  --cv-btn-hover: #B6F08F;
  --cv-btn-fg: #102500;

  /* Elevation & motion */
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-2: 0 1px 0 rgba(255,255,255,.05) inset, 0 24px 48px -20px rgba(0,0,0,.75);
  --ease: cubic-bezier(.2,.8,.2,1);

  /* Shape */
  --r: 12px;
  --r-1: 10px;
  --r-2: 14px;
  --r-3: 20px;
  --r-4: 28px;

  /* Apple-refined layer aliases */
  --bg2: var(--bg-2);
  --bg3: var(--bg-3);
  --line2: var(--line-strong);
  --dim: var(--fg-dim);
  --mute: var(--fg-mute);
  --acc: var(--accent);
  --acc2: var(--accent-deep);
}

html[data-cv-preview="1"] body,
html[data-cv-preview="1"] .handoff-main {
  background: var(--bg) !important;
  color: var(--fg);
  font-family: var(--f-sans) !important;
  font-feature-settings: "cv11", "ss01";
}

/* ---------- Headings: heavy, tight, no italics ---------- */
html[data-cv-preview="1"] h1,
html[data-cv-preview="1"] h2,
html[data-cv-preview="1"] h3,
html[data-cv-preview="1"] .earn-title,
html[data-cv-preview="1"] .earn-h2,
html[data-cv-preview="1"] .section-title,
html[data-cv-preview="1"] .hero h1,
html[data-cv-preview="1"] .store-head h1,
html[data-cv-preview="1"] .cv-pdp-hero__title {
  font-family: var(--f-display) !important;
  font-weight: 800 !important;
  font-stretch: 112%;
  letter-spacing: -0.025em !important;
  line-height: 1.02;
}
html[data-cv-preview="1"] h3 { font-weight: 700 !important; letter-spacing: -0.015em !important; line-height: 1.15; }

/* The serif-italic highlight becomes a plain colour highlight */
html[data-cv-preview="1"] .serif,
html[data-cv-preview="1"] .cv-em,
html[data-cv-preview="1"] .em-newsreader .cv-em,
html[data-cv-preview="1"] h1 .serif.accent,
html[data-cv-preview="1"] h2 .serif.accent {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: var(--accent);
}

/* ---------- Numbers & labels: tabular sans instead of "code" mono ---------- */
html[data-cv-preview="1"] .mono,
html[data-cv-preview="1"] [class*="mono"],
html[data-cv-preview="1"] .eyebrow,
html[data-cv-preview="1"] .kbd {
  font-family: var(--f-sans) !important;
  font-variant-numeric: tabular-nums;
}
html[data-cv-preview="1"] .eyebrow {
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--accent);
}
html[data-cv-preview="1"] .eyebrow .dot { display: none; }

/* ---------- Buttons: pills, bold ---------- */
html[data-cv-preview="1"] .btn,
html[data-cv-preview="1"] .cv-btn,
html[data-cv-preview="1"] .cv-p,
html[data-cv-preview="1"] .cv-g,
html[data-cv-preview="1"] button.btn {
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-family: var(--f-sans) !important;
  letter-spacing: 0 !important;
}
html[data-cv-preview="1"] .btn-primary,
html[data-cv-preview="1"] .cv-btn--primary,
html[data-cv-preview="1"] .cv-p {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--accent-fg) !important;
}
html[data-cv-preview="1"] .btn-primary:hover,
html[data-cv-preview="1"] .cv-p:hover { background: var(--accent-deep) !important; }
html[data-cv-preview="1"] .btn-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--fg) !important;
}
html[data-cv-preview="1"] .btn-lg { padding: 14px 26px !important; font-size: 16px !important; }

/* ---------- Cards: rounder, softer ---------- */
html[data-cv-preview="1"] .card,
html[data-cv-preview="1"] .mini-card,
html[data-cv-preview="1"] .offer-card,
html[data-cv-preview="1"] .wall-card,
html[data-cv-preview="1"] .quest,
html[data-cv-preview="1"] .quests-strip,
html[data-cv-preview="1"] .cv-card,
html[data-cv-preview="1"] .game-card,
html[data-cv-preview="1"] .ledger,
html[data-cv-preview="1"] .stat,
html[data-cv-preview="1"] .cv-pdp-info-card,
html[data-cv-preview="1"] .cv-pdp-info-tabs__frame,
html[data-cv-preview="1"] .modal-content {
  border-radius: 18px !important;
}
html[data-cv-preview="1"] .card,
html[data-cv-preview="1"] .mini-card,
html[data-cv-preview="1"] .offer-card,
html[data-cv-preview="1"] .quest,
html[data-cv-preview="1"] .ledger,
html[data-cv-preview="1"] .modal-content {
  background: var(--bg-2) !important;
  border-color: var(--line) !important;
}

/* ---------- Header ---------- */
html[data-cv-preview="1"] .handoff-header,
html[data-cv-preview="1"] header.handoff-nav,
html[data-cv-preview="1"] .site-header {
  background: rgba(11, 12, 11, 0.8) !important;
  border-bottom-color: var(--line) !important;
  backdrop-filter: saturate(140%) blur(12px);
}

/* Forms */
html[data-cv-preview="1"] .form-control,
html[data-cv-preview="1"] .form-select,
html[data-cv-preview="1"] input[type="text"],
html[data-cv-preview="1"] input[type="email"],
html[data-cv-preview="1"] input[type="number"],
html[data-cv-preview="1"] input[type="password"] {
  border-radius: 12px !important;
  background: var(--bg) !important;
  border-color: var(--line-strong) !important;
  color: var(--fg) !important;
}
html[data-cv-preview="1"] .form-control:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; }

/* Selection / focus */
html[data-cv-preview="1"] ::selection { background: var(--accent); color: var(--accent-fg); }
html[data-cv-preview="1"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================================
   Earn v2 (partials/handoff/earn-walls-v2.blade.php)
   ========================================================================== */
.cvx-start {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin: 8px 0 28px;
}
@media (min-width: 900px) { .cvx-start { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

.cvx-unlock {
  position: relative;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(159,232,112,.16), transparent 55%),
    var(--bg-2);
  border: 1px solid rgba(159,232,112,.28);
  color: var(--fg);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-1);
}
.cvx-unlock h2 { color: var(--fg) !important; font-size: clamp(22px, 3vw, 30px) !important; margin: 0; }
.cvx-unlock p { margin: 0; color: var(--fg-dim); font-size: 15px; }
.cvx-unlock .btn { align-self: flex-start; }
.cvx-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.cvx-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); border-radius: 99px; transition: width .8s var(--ease); }
.cvx-bar-meta { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--fg-dim); }

.cvx-balance {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  align-content: start;
}
.cvx-balance .k { font-size: 13px; color: var(--fg-mute); }
.cvx-balance .v { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cvx-balance .v.accent { color: var(--accent); }
.cvx-balance .actions { grid-column: 1 / -1; display: flex; gap: 8px; }

.cvx-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 6px 0 14px; flex-wrap: wrap; }
.cvx-head h2 { font-size: clamp(24px, 3vw, 32px) !important; margin: 0; }
.cvx-head p { margin: 4px 0 0; color: var(--fg-dim); }

.cvx-walls { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cvx-walls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cvx-walls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cvx-wall {
  appearance: none;
  text-align: left;
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--fg);
  cursor: pointer;
  transition: border-color .15s, transform .15s, background .15s;
}
.cvx-wall:hover { border-color: var(--accent); background: var(--bg-3); transform: translateY(-1px); }
.cvx-wall.is-top { border-color: rgba(159, 232, 112, 0.45); }
.cvx-wall-logo {
  width: 56px; height: 56px; border-radius: 14px;
  background: #F4F8F1;
  display: grid; place-items: center; overflow: hidden;
}
.cvx-wall-logo img { max-width: 44px; max-height: 32px; object-fit: contain; }
.cvx-wall-logo span { color: #163300; font-weight: 800; }
.cvx-wall-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cvx-wall-sub { color: var(--fg-dim); font-size: 13px; margin-top: 2px; }
.cvx-tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--accent); color: var(--accent-fg); }
.cvx-tag.soft { background: var(--accent-soft); color: var(--accent); }
.cvx-go {
  font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg); white-space: nowrap;
}
.cvx-wall:not(.is-top) .cvx-go { background: rgba(255, 255, 255, 0.07); color: var(--fg); }

.cvx-steps {
  display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr);
  margin: 16px 0 6px;
}
@media (min-width: 760px) { .cvx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cvx-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.cvx-step b { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.cvx-step div { font-size: 14px; color: var(--fg-dim); }
.cvx-step strong { color: var(--fg); display: block; font-size: 15px; }

.cvx-tips { margin-top: 10px; font-size: 13px; color: var(--fg-mute); }
.cvx-tips summary { cursor: pointer; color: var(--fg-dim); font-weight: 600; }
.cvx-tips ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }

/* Offer cards: one clear call to action */
html[data-cv-preview="1"] .offer-card .offer-meta .offer-reward { display: none; }
.cvx-offer-cta { display: inline-flex; margin-top: 8px; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 99px; background: var(--accent); color: var(--accent-fg); }

/* Phone header: show the balance (earners check it most); keep the cart compact */
@media (max-width: 767px) {
  html[data-cv-preview="1"] .header-right .balance-pill.hide-mobile {
    display: inline-flex !important;
    align-items: center;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: var(--accent-soft) !important;
    border: 1px solid rgba(159, 232, 112, 0.3) !important;
  }
  html[data-cv-preview="1"] .header-right .balance-pill .lbl { display: none !important; }
  html[data-cv-preview="1"] .header-right .balance-pill .val { color: var(--accent) !important; font-weight: 700; font-size: 14px; }
  html[data-cv-preview="1"] .pk-cart-nav-total,
  html[data-cv-preview="1"] .pk-cart-nav-label { display: none !important; }
}

/* Offerwall logos that were invisible on dark (old Earn layout / other pages) */
html[data-cv-preview="1"] .wall-glyph {
  background: #F4F8F1 !important;
  border-radius: 12px !important;
}

/* ==========================================================================
   v2 components — modern layer (test.cashvers.com)
   ========================================================================== */

/* Header: glass bar, pill nav */
html[data-cv-preview="1"] .handoff-header,
html[data-cv-preview="1"] header.handoff-nav,
html[data-cv-preview="1"] .site-header {
  background: rgba(11, 12, 11, 0.72) !important;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
html[data-cv-preview="1"] .handoff-header nav a,
html[data-cv-preview="1"] .nav-links a {
  border-radius: 999px;
  padding: 7px 12px;
  transition: background .2s, color .2s;
}
html[data-cv-preview="1"] .handoff-header nav a:hover,
html[data-cv-preview="1"] .nav-links a:hover { background: rgba(255,255,255,.06); }
html[data-cv-preview="1"] .handoff-header nav a.active,
html[data-cv-preview="1"] .nav-links a.active,
html[data-cv-preview="1"] .handoff-header nav a[aria-current="page"] { background: rgba(255,255,255,.09); color: var(--fg) !important; }
.cvx-header-search {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  color: var(--fg-mute) !important; font-size: 14px; text-decoration: none !important;
  transition: border-color .2s, color .2s;
}
.cvx-header-search:hover { border-color: var(--line-strong); color: var(--fg) !important; }
.cvx-header-search kbd { font: 600 11px var(--f-sans); padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--fg-dim); }
@media (max-width: 1100px) { .cvx-header-search span, .cvx-header-search kbd { display: none; } .cvx-header-search { width: 36px; padding: 0; justify-content: center; } }

/* Buttons: depth + press */
html[data-cv-preview="1"] .btn,
html[data-cv-preview="1"] .cvx-go { transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s !important; }
html[data-cv-preview="1"] .btn:active { transform: scale(.97); }
html[data-cv-preview="1"] .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 18px -8px rgba(159,232,112,.55); }

/* Cards: elevation, hover lift, image zoom */
html[data-cv-preview="1"] .cv-card,
html[data-cv-preview="1"] .game-card,
html[data-cv-preview="1"] .offer-card {
  border: 1px solid var(--cv-border) !important;
  background: var(--bg-2) !important;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s !important;
  overflow: hidden;
}
html[data-cv-preview="1"] .cv-card:hover,
html[data-cv-preview="1"] .game-card:hover,
html[data-cv-preview="1"] .offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--cv-border-hi) !important;
}
html[data-cv-preview="1"] .cv-card img,
html[data-cv-preview="1"] .game-card img,
html[data-cv-preview="1"] .offer-card img { transition: transform .5s var(--ease); }
html[data-cv-preview="1"] .cv-card:hover img,
html[data-cv-preview="1"] .game-card:hover img,
html[data-cv-preview="1"] .offer-card:hover img { transform: scale(1.04); }
html[data-cv-preview="1"] .game-card__price,
html[data-cv-preview="1"] .cv-card__price { font-family: var(--f-display) !important; font-weight: 800 !important; letter-spacing: -.01em; }

/* Store: big search bar on every screen size, sidebar search hidden */
html[data-cv-preview="1"] .product-keys-store .filters__group--search { display: none !important; }
html[data-cv-preview="1"] .store-mobile-search {
  display: block !important;
  position: sticky; top: 64px; z-index: 45;
  background: linear-gradient(var(--bg) 70%, transparent) !important;
  border: 0 !important;
  padding: 10px 0 16px !important;
  margin: 4px 0 8px !important;
}
html[data-cv-preview="1"] .store-mobile-search__inner input {
  height: 56px !important;
  font-size: 17px !important;
  padding-left: 52px !important;
  border-radius: 999px !important;
  background: var(--bg-2) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: var(--shadow-1);
  transition: border-color .2s, box-shadow .2s;
}
html[data-cv-preview="1"] .store-mobile-search__inner input:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-2) !important;
}
html[data-cv-preview="1"] .store-mobile-search__inner svg { left: 20px !important; width: 18px; height: 18px; }
html[data-cv-preview="1"] .store-search-suggest {
  background: var(--bg-2) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-2) !important;
  top: calc(100% + 8px) !important;
  max-height: 440px !important;
  padding: 6px;
}
html[data-cv-preview="1"] .store-suggest-item { border-radius: 12px; border-bottom: 0 !important; }
html[data-cv-preview="1"] .store-suggest-item:hover,
html[data-cv-preview="1"] .store-suggest-item:focus { background: rgba(255,255,255,.06) !important; }
@media (max-width: 860px) {
  html[data-cv-preview="1"] .store-mobile-search { top: 56px; }
  html[data-cv-preview="1"] .store-mobile-search__inner input { height: 48px !important; font-size: 16px !important; }
}

/* Store title: tighter, bigger */
html[data-cv-preview="1"] .store-topbar__title { font-size: clamp(30px, 4.4vw, 52px) !important; }
html[data-cv-preview="1"] .store-topbar__title em { font-style: normal; color: var(--accent); }
html[data-cv-preview="1"] .store-topbar__kicker { font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--fg-mute) !important; }

/* Chips: pill rail */
html[data-cv-preview="1"] .chip {
  border-radius: 999px !important;
  background: rgba(255,255,255,.05) !important;
  border: 1px solid var(--line) !important;
  color: var(--fg-dim) !important;
  font-weight: 600 !important;
  font-family: var(--f-sans) !important;
  transition: background .2s, color .2s, border-color .2s;
}
html[data-cv-preview="1"] .chip:hover { color: var(--fg) !important; border-color: var(--line-strong) !important; }
html[data-cv-preview="1"] .chip.is-active { background: var(--fg) !important; color: var(--bg) !important; border-color: var(--fg) !important; }

/* Section titles */
html[data-cv-preview="1"] .rail-head h2,
html[data-cv-preview="1"] .cv-rail__title,
html[data-cv-preview="1"] .section-head h2 { font-size: clamp(20px, 2.4vw, 28px) !important; }
html[data-cv-preview="1"] .rail-head .tick,
html[data-cv-preview="1"] .cv-rail__title .tick { display: none !important; }

/* Scroll reveal (JS adds .cvx-reveal / .is-in; respects reduced motion) */
.cvx-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cvx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cvx-reveal { opacity: 1; transform: none; transition: none; }
  html[data-cv-preview="1"] *, html[data-cv-preview="1"] *::before, html[data-cv-preview="1"] *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Logo / payout marquee (home) */
.cvx-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cvx-marquee__track { display: flex; gap: 12px; width: max-content; animation: cvx-marquee 40s linear infinite; }
.cvx-marquee:hover .cvx-marquee__track { animation-play-state: paused; }
@keyframes cvx-marquee { to { transform: translateX(-50%); } }
.cvx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--fg-dim); font-weight: 600; white-space: nowrap; }
.cvx-pill b { color: var(--fg); }

/* Containers never wider than the screen */
html[data-cv-preview="1"] img { max-width: 100%; }

/* Home hero: neutral light instead of lime haze; particles off */
html[data-cv-preview="1"] .hero-ambient__mesh {
  opacity: .9;
  background:
    radial-gradient(ellipse 50% 45% at 20% 25%, rgba(255,255,255,.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 55%, rgba(159,232,112,.05) 0%, transparent 65%);
}
html[data-cv-preview="1"] .hero-ambient__glow { background: radial-gradient(ellipse at center, rgba(255,255,255,.04) 0%, transparent 70%); }
html[data-cv-preview="1"] .hero-ambient__particles { display: none; }

/* Phones: keep the logo; store has its own big search bar */
@media (max-width: 560px) { .cvx-header-search { display: none !important; } }

/* ==========================================================================
   Store landing v2 (partials/product-keys/store-landing-v2.blade.php)
   ========================================================================== */

/* Landing = full width (no filter sidebar); filters return when you search or filter */
html[data-cv-preview="1"] .cvx-landing .store-layout { display: block !important; }
html[data-cv-preview="1"] .cvx-landing .browse__side,
html[data-cv-preview="1"] .cvx-landing #store-filters-panel,
html[data-cv-preview="1"] .cvx-landing .browse__bar { display: none !important; }
html[data-cv-preview="1"] .cvx-landing .store-main { width: 100%; }
html[data-cv-preview="1"] .cvx-landing .store-topbar { padding-bottom: 4px; min-height: 0; }
html[data-cv-preview="1"] .cvx-landing .store-topbar__aside { display: none; }

.cvx-store-top {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin: 6px 0 18px;
}
@media (min-width: 1024px) { .cvx-store-top { grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); } }
.cvx-store-top__main > * { margin: 0 !important; height: 100%; }
html[data-cv-preview="1"] .cvx-store-top .hero {
  border-radius: 22px !important;
  overflow: hidden;
  border: 1px solid var(--cv-border) !important;
  background: var(--bg-2) !important;
  box-shadow: var(--shadow-1);
}
html[data-cv-preview="1"] .cvx-store-top .hero__eyebrow { font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700; color: var(--accent) !important; }
html[data-cv-preview="1"] .cvx-store-top .hero__title { font-size: clamp(22px, 2.6vw, 34px) !important; }
html[data-cv-preview="1"] .cvx-store-top .hero__price { font-family: var(--f-display) !important; font-weight: 800 !important; }
html[data-cv-preview="1"] .cvx-store-top .btn--accent { background: var(--accent) !important; color: var(--accent-fg) !important; border-radius: 999px !important; border: 0 !important; font-weight: 700 !important; }
html[data-cv-preview="1"] .cvx-store-top .btn--ghost { border-radius: 999px !important; }
html[data-cv-preview="1"] .cvx-store-top .hero__timer-digits { font-family: var(--f-sans) !important; font-variant-numeric: tabular-nums; border-radius: 8px !important; }

.cvx-store-top__side { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) and (max-width: 1023px) { .cvx-store-top__side { grid-template-columns: 1fr 1fr; } }
.cvx-promo {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 150px; padding: 20px;
  border-radius: 22px; border: 1px solid var(--cv-border);
  color: var(--fg) !important; text-decoration: none !important;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.cvx-promo:hover { transform: translateY(-2px); border-color: var(--cv-border-hi); box-shadow: var(--shadow-2); }
.cvx-promo--gift { background: radial-gradient(120% 120% at 100% 0%, rgba(99, 132, 255, .22), transparent 60%), var(--bg-2); }
.cvx-promo--earn { background: radial-gradient(120% 120% at 100% 0%, rgba(159, 232, 112, .18), transparent 60%), var(--bg-2); }
.cvx-promo__eyebrow { font-size: 13px; font-weight: 700; color: var(--fg-mute); }
.cvx-promo__title { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; max-width: 85%; }
.cvx-promo__cta { font-weight: 700; font-size: 14px; color: var(--accent); }
.cvx-promo__art { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; }
.cvx-promo__art img { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }

.cvx-platforms {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
@media (max-width: 1023px) { .cvx-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cvx-platforms { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .cvx-platforms::-webkit-scrollbar { display: none; }
  .cvx-platform { flex: 0 0 96px; scroll-snap-align: start; }
}
.cvx-platform {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border-radius: 18px;
  background: var(--bg-2); border: 1px solid var(--cv-border);
  color: var(--fg-dim) !important; text-decoration: none !important; font-weight: 600; font-size: 13px;
  transition: transform .2s var(--ease), border-color .2s, color .2s, background .2s;
}
.cvx-platform:hover { transform: translateY(-2px); border-color: var(--cv-border-hi); color: var(--fg) !important; background: var(--bg-3); }
.cvx-platform__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.cvx-platform__icon img { width: 26px; height: 26px; object-fit: contain; }
.cvx-platform__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Rail headers with "View all" */
html[data-cv-preview="1"] .sect__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
html[data-cv-preview="1"] .sect__title .tick { display: none !important; }
html[data-cv-preview="1"] .sect__title { font-family: var(--f-display) !important; font-weight: 800 !important; font-size: clamp(20px, 2.2vw, 26px) !important; letter-spacing: -.02em !important; }
html[data-cv-preview="1"] .sect__meta { font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--fg-mute) !important; }
.cvx-viewall {
  margin-left: auto; font-weight: 700; font-size: 14px; color: var(--fg) !important;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); text-decoration: none !important;
}
.cvx-viewall:hover { background: rgba(255,255,255,.1); }

/* Game card v2: cleaner tags, bold price, always-visible add button on touch */
html[data-cv-preview="1"] .game-card { border-radius: 16px !important; }
html[data-cv-preview="1"] .game-card__cover { border-radius: 14px 14px 0 0; }
html[data-cv-preview="1"] .game-card__platform {
  background: rgba(10, 11, 10, .72) !important; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12) !important; border-radius: 999px !important;
  font-family: var(--f-sans) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
}
html[data-cv-preview="1"] .game-card__dlc,
html[data-cv-preview="1"] .game-card__preorder { border-radius: 999px !important; font-family: var(--f-sans) !important; letter-spacing: 0 !important; }
html[data-cv-preview="1"] .game-card__discount { border-radius: 999px !important; font-family: var(--f-sans) !important; font-weight: 800 !important; background: var(--accent) !important; color: var(--accent-fg) !important; }
html[data-cv-preview="1"] .game-card__wish { border-radius: 999px !important; background: rgba(10,11,10,.6) !important; backdrop-filter: blur(6px); }
html[data-cv-preview="1"] .game-card__body { padding: 12px 12px 14px !important; gap: 6px; }
html[data-cv-preview="1"] .game-card__name { font-family: var(--f-sans) !important; font-weight: 600 !important; font-size: 14px !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
html[data-cv-preview="1"] .game-card__price { font-size: 18px !important; color: var(--fg) !important; }
html[data-cv-preview="1"] .game-card__msrp { font-family: var(--f-sans) !important; color: var(--fg-mute) !important; }
html[data-cv-preview="1"] .game-card__foot {
  font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important;
  font-size: 12px !important; color: var(--fg-mute) !important;
}
html[data-cv-preview="1"] .game-card__cta {
  border-radius: 999px !important; font-family: var(--f-sans) !important; font-weight: 700 !important;
  background: var(--accent) !important; color: var(--accent-fg) !important; letter-spacing: 0 !important; text-transform: none !important;
}
html[data-cv-preview="1"] .game-card__lowstock { font-family: var(--f-sans) !important; text-transform: none !important; color: #F5B547 !important; }

/* Store trust strip */
html[data-cv-preview="1"] .store-trust-strip { background: transparent !important; border-top: 1px solid var(--line) !important; }
html[data-cv-preview="1"] .store-trust-strip__item svg { color: var(--accent) !important; }

/* Full-width landing grid: more, smaller cards */
html[data-cv-preview="1"] .cvx-landing .cv-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)) !important; gap: 14px !important; }
@media (max-width: 560px) { html[data-cv-preview="1"] .cvx-landing .cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }

/* ==========================================================================
   Offers v2 (partials/handoff/offer-card-v2.blade.php)
   ========================================================================== */
html[data-cv-preview="1"] .cvo-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 12px !important;
}
@media (max-width: 560px) { html[data-cv-preview="1"] .cvo-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.cvo-card {
  appearance: none; text-align: left; width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: 20px;
  background: var(--bg-2); border: 1px solid var(--cv-border);
  color: var(--fg); cursor: pointer; box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.cvo-card:hover { transform: translateY(-2px); border-color: var(--cv-border-hi); box-shadow: var(--shadow-2); background: var(--bg-3); }
.cvo-card.is-featured { border-color: rgba(159,232,112,.35); }
.cvo-card[hidden] { display: none !important; }
.cvo-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cvo-icon {
  position: relative; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; overflow: hidden;
  background: var(--bg-3); display: grid; place-items: center;
  font-weight: 800; color: var(--fg-mute); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}
.cvo-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cvo-head { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cvo-name { font-weight: 700; font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cvo-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cvo-tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--fg-dim); }
.cvo-tag.is-warn { background: rgba(245,181,71,.14); color: #F5B547; }
.cvo-tag.is-hot { background: var(--accent-soft); color: var(--accent); }
.cvo-first {
  display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 14px;
  background: rgba(159,232,112,.07); border: 1px solid rgba(159,232,112,.14); min-width: 0;
}
.cvo-first__amt { font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--accent); white-space: nowrap; }
.cvo-first__txt { font-size: 13px; color: var(--fg-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cvo-first--plain { background: rgba(255,255,255,.04); border-color: var(--cv-border); }
.cvo-first--plain .cvo-first__txt { white-space: normal; }
.cvo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.cvo-total { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cvo-total__k { font-size: 12px; color: var(--fg-mute); }
.cvo-total__v { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.cvo-go { padding: 9px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px -8px rgba(159,232,112,.6); }

.cvo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.cvo-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.cvo-tabs::-webkit-scrollbar { display: none; }
.cvo-tab {
  flex: 0 0 auto; appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--fg-dim); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cvo-tab:hover { color: var(--fg); border-color: var(--line-strong); }
.cvo-tab.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cvo-tab[hidden] { display: none; }
.cvo-tab__n { font-weight: 600; opacity: .6; margin-left: 2px; }
.cvo-fit { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-dim); cursor: pointer; }
.cvo-fit input { accent-color: var(--accent); width: 16px; height: 16px; }
.cvo-empty { text-align: center; padding: 40px 16px; border-radius: 20px; border: 1px dashed var(--line-strong); color: var(--fg-dim); }

/* Offer pop-up */
html[data-cv-preview="1"] #ApiModal .modal-content { border-radius: 24px !important; background: var(--bg-2) !important; border: 1px solid var(--line-strong) !important; overflow: hidden; }
html[data-cv-preview="1"] #ApiModal #data-creative { border-radius: 16px !important; }
html[data-cv-preview="1"] #ApiModal #modal-game-name { font-family: var(--f-display) !important; font-weight: 800 !important; letter-spacing: -.015em; text-transform: none !important; }
html[data-cv-preview="1"] #ApiModal #game-payout { font-family: var(--f-display) !important; font-weight: 800 !important; color: var(--accent) !important; }
html[data-cv-preview="1"] #ApiModal .modal-event-step { border-radius: 14px !important; background: rgba(255,255,255,.04) !important; border: 1px solid var(--cv-border) !important; }
html[data-cv-preview="1"] #ApiModal .modal-event-step__badge { border-radius: 999px !important; background: var(--accent-soft) !important; color: var(--accent) !important; font-family: var(--f-sans) !important; }
html[data-cv-preview="1"] #ApiModal .modal-event-step__reward { color: var(--accent) !important; font-family: var(--f-sans) !important; font-weight: 800 !important; }
html[data-cv-preview="1"] #ApiModal .api-modal-cta { border-radius: 999px !important; background: var(--accent) !important; color: var(--accent-fg) !important; font-weight: 800 !important; }
html[data-cv-preview="1"] #ApiModal .modal-footer { border-color: var(--line) !important; }

/* Offer pop-up: steps first, short description */
html[data-cv-preview="1"] #ApiModal .api-modal-body-scroll { display: flex; flex-direction: column; }
html[data-cv-preview="1"] #ApiModal #modal-events-wrap { order: 1; }
html[data-cv-preview="1"] #ApiModal .description-block { order: 2; }
html[data-cv-preview="1"] #ApiModal .requirements-block { order: 3; }
html[data-cv-preview="1"] #ApiModal #game-description { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
html[data-cv-preview="1"] #ApiModal .api-modal-h6 { font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; color: var(--fg) !important; font-size: 15px !important; }

/* Earn page: the old offer rail rules (column flow on phones) must not apply to v2 cards */
html[data-cv-preview="1"] .earn-section .offer-grid.cvo-grid,
html[data-cv-preview="1"] .offer-grid.cvo-grid {
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}
@media (max-width: 560px) {
  html[data-cv-preview="1"] .earn-section .offer-grid.cvo-grid,
  html[data-cv-preview="1"] .offer-grid.cvo-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
.cvo-card { min-width: 0; }

/* ==========================================================================
   Product page v2
   ========================================================================== */
html[data-cv-preview="1"] .cv-pdp-wrap { position: relative; isolation: isolate; }
.cvp-backdrop {
  position: absolute; z-index: -1; pointer-events: none;
  top: -80px; left: 50%; width: 100vw; height: 560px; transform: translateX(-50%);
  background-image: var(--cvp-img); background-size: cover; background-position: center 30%;
  filter: blur(70px) saturate(1.2); opacity: .32;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}
@media (prefers-reduced-transparency: reduce) { .cvp-backdrop { display: none; } }

/* Title & facts */
html[data-cv-preview="1"] .cv-pdp-hero__title { font-size: clamp(28px, 3.6vw, 46px) !important; line-height: 1.04 !important; }
html[data-cv-preview="1"] .cv-pdp-info-card {
  border-radius: 16px !important; background: rgba(19,21,20,.72) !important; backdrop-filter: blur(10px);
  border-color: var(--cv-border) !important;
}
html[data-cv-preview="1"] .cv-pdp-info-card [class*="label"],
html[data-cv-preview="1"] .cv-pdp-crumb,
html[data-cv-preview="1"] .cv-buycard__kicker,
html[data-cv-preview="1"] .cv-buycard__fact { font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; }
html[data-cv-preview="1"] .cv-pdp-media img,
html[data-cv-preview="1"] .cv-pdp-hero img { border-radius: 16px; }

/* Gallery: no empty / broken thumbnail tiles */
html[data-cv-preview="1"] .cv-pdp-thumb:not(.cv-pdp-thumb--trailer):not(:has(img)),
html[data-cv-preview="1"] .cv-pdp-thumb:has(img.is-broken) { display: none !important; }
html[data-cv-preview="1"] .cv-pdp-thumb { border-radius: 12px !important; overflow: hidden; }

/* Buy box */
html[data-cv-preview="1"] .cv-buycard {
  border-radius: 24px !important; background: rgba(19,21,20,.86) !important; backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong) !important; box-shadow: var(--shadow-2) !important;
}
html[data-cv-preview="1"] .cv-buycard__current,
html[data-cv-preview="1"] .cv-buycard__price { font-family: var(--f-display) !important; font-weight: 800 !important; letter-spacing: -.02em !important; }
html[data-cv-preview="1"] .cv-buycard__current { font-size: clamp(34px, 3.4vw, 44px) !important; color: var(--fg) !important; }
html[data-cv-preview="1"] .cv-buycard__save { border-radius: 999px !important; background: var(--accent) !important; color: var(--accent-fg) !important; font-family: var(--f-sans) !important; font-weight: 800 !important; }
html[data-cv-preview="1"] .cv-buycard__badges > * { border-radius: 999px !important; font-family: var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; }
html[data-cv-preview="1"] .cv-buycard__cta { border-radius: 999px !important; min-height: 52px; font-size: 16px !important; font-weight: 800 !important; }
html[data-cv-preview="1"] .cv-buycard__cta:not(.cv-buycard__cta--ghost) { background: var(--accent) !important; color: var(--accent-fg) !important; box-shadow: 0 10px 28px -12px rgba(159,232,112,.7); }
html[data-cv-preview="1"] .cv-pay-card { border-radius: 14px !important; }
html[data-cv-preview="1"] .cv-pay-card.active { border-color: var(--accent) !important; background: var(--accent-soft) !important; }
html[data-cv-preview="1"] .cv-buycard__check-icon { color: var(--accent) !important; }

/* Tabs */
html[data-cv-preview="1"] .cv-pdp-info-tabs__frame { background: var(--bg-2) !important; border-radius: 22px !important; }
html[data-cv-preview="1"] .cv-pdp-info-tabs [role="tab"],
html[data-cv-preview="1"] .cv-pdp-info-tabs button { border-radius: 999px !important; font-family: var(--f-sans) !important; font-weight: 700 !important; }

/* "You might also like": compact grid */
html[data-cv-preview="1"] .cv-related-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; gap: 14px !important; }
@media (max-width: 560px) { html[data-cv-preview="1"] .cv-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
html[data-cv-preview="1"] .cv-related__head h2 { font-family: var(--f-display) !important; font-weight: 800 !important; }

/* Phone sticky buy bar */
html[data-cv-preview="1"] .cv-mobile-buybar,
html[data-cv-preview="1"] .pd-sticky-bar { background: rgba(11,12,11,.86) !important; backdrop-filter: blur(14px); border-top: 1px solid var(--line) !important; }

/* Store/PDP wrappers redefine --accent locally; pin the preview palette there too */
html[data-cv-preview="1"] .cv-pdp-wrap,
html[data-cv-preview="1"] .product-keys-store,
html[data-cv-preview="1"] .cart-page,
html[data-cv-preview="1"] .handoff-main {
  --accent: #9FE870; --accent-deep: #B6F08F; --accent-fg: #102500; --accent-soft: rgba(159,232,112,.12);
  --cv-btn: #9FE870; --cv-btn-hover: #B6F08F; --cv-btn-fg: #102500;
}

/* Decorative full-bleed layers must never create sideways scroll */
html[data-cv-preview="1"] .handoff-main { overflow-x: clip; }

/* ==========================================================================
   Surveys v2 (partials/handoff/surveys-v2.blade.php)
   ========================================================================== */
.cvs-page { padding-top: 8px; padding-bottom: 32px; }
.cvs-head { margin: 8px 0 22px; }
.cvs-head .earn-title { margin-top: 10px; }
.cvs-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 28px; }
@media (max-width: 560px) { .cvs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.cvs-card {
  appearance: none; text-align: left; width: 100%; min-width: 0;
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  border-radius: 20px; background: var(--bg-2); border: 1px solid var(--cv-border);
  color: var(--fg); cursor: pointer; box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.cvs-card:hover { transform: translateY(-2px); border-color: var(--cv-border-hi); background: var(--bg-3); box-shadow: var(--shadow-2); }
.cvs-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.cvs-card__cat { font-size: 13px; font-weight: 600; color: var(--fg-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvs-chip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; flex: 0 0 auto; }
.cvs-chip--quick { background: var(--accent-soft); color: var(--accent); }
.cvs-chip--medium { background: rgba(255,255,255,.08); color: var(--fg-dim); }
.cvs-chip--long { background: rgba(245,181,71,.14); color: #F5B547; }
.cvs-card__pay { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.cvs-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--fg-mute); }
.cvs-card__go { margin-top: 4px; text-align: center; padding: 10px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 800; font-size: 14px; }
.cvs-card--skeleton { cursor: default; min-height: 168px; gap: 12px; }
.cvs-card--skeleton span { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05)); background-size: 200% 100%; animation: cvs-shimmer 1.4s linear infinite; }
.cvs-card--skeleton span:nth-child(1) { height: 14px; width: 60%; }
.cvs-card--skeleton span:nth-child(2) { height: 30px; width: 45%; }
.cvs-card--skeleton span:nth-child(3) { height: 38px; width: 100%; margin-top: auto; border-radius: 999px; }
@keyframes cvs-shimmer { to { background-position: -200% 0; } }
.cvs-card--skeleton:hover { transform: none; }
.cvs-empty { padding: 22px 24px; border-radius: 20px; border: 1px dashed var(--line-strong); background: var(--bg-2); margin-bottom: 24px; }
.cvs-empty h2 { font-size: clamp(20px, 2.4vw, 26px) !important; margin: 0 0 6px; }
.cvs-empty p { margin: 0; color: var(--fg-dim); }
.cvs-walls { margin-bottom: 18px; }
.cvs-tips { margin-top: 8px; }
