/* ==========================================================================
   SLUGGY — design system
   Paper, ink and moss; one slime accent used sparingly.
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* Sober storefront: neutral paper, crisp white surfaces, Sluggy orange as the accent only. */
  --paper: #f6f5f3;
  --paper-2: #efedea;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-2: #faf9f7;
  --sunken: #f1efec;
  --ink: #1c1712;
  --ink-2: #5a524b;
  --ink-3: #6f675f;
  --line: #e8e4df;
  --line-2: #d9d3cc;
  --accent: #f26b0f;
  --accent-hover: #e05e05;
  --accent-active: #c95204;
  --accent-ink: #ffffff;
  --accent-soft: #fff1e7;
  --cta: #1c1712;
  --cta-hover: #342b24;
  --cta-active: #0d0a07;
  --cta-ink: #ffffff;
  --glow: rgb(255 122 31 / .45);
  --slime: #ffc79b;
  --slime-2: #f26b0f;
  --slime-ink: #b8500c;
  --focus: #f26b0f;
  --moss: #fff0e4;
  --moss-2: #ffe4cf;
  --moss-ink: #2b1d15;
  --ok: #23753a;
  --ok-bg: #e9f5ec;
  --warn: #92560a;
  --warn-bg: #fdf3e1;
  --danger: #b33b25;
  --danger-bg: #fcebe7;
  --info: #2b5878;
  --info-bg: #e9f1f7;
  --bg-art: none;
  --glass-blur: none;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-1: 0 1px 2px rgb(20 15 10 / .06);
  --shadow-2: 0 12px 28px -16px rgb(20 15 10 / .22), 0 2px 6px rgb(20 15 10 / .04);
  --shadow-3: 0 30px 70px -24px rgb(20 15 10 / .3);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fredoka", "Geist", ui-rounded, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --subnav-h: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #131210; --paper-2: #181715; --surface: #1c1b19; --surface-solid: #1c1b19; --surface-2: #2a2825; --sunken: #262421;
  --ink: #f4f1ec; --ink-2: #c4bdb5; --ink-3: #9a938b; --line: #2c2a27; --line-2: #3a3733;
  --accent: #ff8a3d; --accent-hover: #ff9b55; --accent-active: #f26b0f; --accent-ink: #1c0d04; --accent-soft: #2e1e13; --glow: rgb(255 140 50 / .5);
  --cta: #f4f1ec; --cta-hover: #ffffff; --cta-active: #e3ddd5; --cta-ink: #131210;
  --slime: #ffb987; --slime-2: #ff9a5a; --slime-ink: #ffab70; --focus: #ff8a3d; --moss: #241a14; --moss-2: #2c2018; --moss-ink: #fdf0e6;
  --ok: #8fd19e; --ok-bg: #16231a; --warn: #e2b45b; --warn-bg: #2a2112; --danger: #ef8d78; --danger-bg: #2b1814; --info: #8fc0e0; --info-bg: #132029;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow-2: 0 12px 28px -16px rgb(0 0 0 / .7); --shadow-3: 0 30px 70px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131210; --paper-2: #181715; --surface: #1c1b19; --surface-solid: #1c1b19; --surface-2: #2a2825; --sunken: #262421;
    --ink: #f4f1ec; --ink-2: #c4bdb5; --ink-3: #9a938b; --line: #2c2a27; --line-2: #3a3733;
    --accent: #ff8a3d; --accent-hover: #ff9b55; --accent-active: #f26b0f; --accent-ink: #1c0d04; --accent-soft: #2e1e13; --glow: rgb(255 140 50 / .5);
    --cta: #f4f1ec; --cta-hover: #ffffff; --cta-active: #e3ddd5; --cta-ink: #131210;
    --slime: #ffb987; --slime-2: #ff9a5a; --slime-ink: #ffab70; --focus: #ff8a3d; --moss: #241a14; --moss-2: #2c2018; --moss-ink: #fdf0e6;
    --ok: #8fd19e; --ok-bg: #16231a; --warn: #e2b45b; --warn-bg: #2a2112; --danger: #ef8d78; --danger-bg: #2b1814; --info: #8fc0e0; --info-bg: #132029;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .4); --shadow-2: 0 12px 28px -16px rgb(0 0 0 / .7); --shadow-3: 0 30px 70px -24px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg-art); background-color: var(--paper); background-attachment: fixed; color: var(--ink); font: 400 16px/1.55 var(--font); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
main { flex: 1; outline: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: var(--mono); font-size: .9em; }
code { padding: .1em .38em; border-radius: var(--radius-xs); background: var(--sunken); }
kbd { display: inline-grid; place-items: center; min-width: 1.6em; padding: .05em .4em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; font-size: 11px; color: var(--ink-3); background: var(--surface); }
::selection { background: var(--slime); color: #141613; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.noscript { max-width: 640px; margin: 80px auto; padding: 0 var(--gutter); }
html.has-dialog { overflow: hidden; }

/* Route progress */
.route-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--slime-2), var(--slime)); opacity: 0; }
.route-progress.active { opacity: 1; animation: progress 1.4s var(--ease-out) forwards; }
@keyframes progress { 0% { transform: scaleX(0); } 60% { transform: scaleX(.7); } 100% { transform: scaleX(.92); } }

/* ───────────── Typography ───────────── */
.display { font-weight: 650; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
.display em, .h1 em { font-style: normal; color: var(--slime-ink); }
.display--md { font-size: clamp(30px, 3.6vw, 44px); }
.display--sm { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.h1 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; }
.h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; }
.h3 { font-size: 17px; }
.h4 { font-size: 15.5px; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.fine { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.fine .icon { flex: none; margin-top: 2px; }
.eyebrow { display: block; margin-bottom: 10px; font: 600 13px/1.3 var(--font); color: var(--slime-ink); }
.eyebrow__dot { display: none; }
.eyebrow--light { color: color-mix(in srgb, var(--moss-ink) 70%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); cursor: pointer; }
.link-btn:hover { text-decoration-color: currentColor; }
.placeholder { padding: 0 .3em; border-radius: 4px; background: var(--warn-bg); color: var(--warn); font-family: var(--mono); font-size: .88em; }
.plain { margin: 6px 0 8px; padding-left: 18px; list-style: disc; }

/* ───────────── Buttons ───────────── */
/* One button system. Every variant defines rest / hover / active / focus-visible / disabled. */
.btn { --h: 42px; --bg: transparent; --bg-hover: var(--bg); --bg-active: var(--bg-hover); --fg: var(--ink); --bd: transparent; --bd-hover: var(--bd);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 16px;
  border: 1px solid var(--bd); border-radius: 10px; background: var(--bg); color: var(--fg);
  font: 600 14.5px/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease; }
.btn:hover:not(:disabled):not(.is-disabled) { background: var(--bg-hover); border-color: var(--bd-hover); }
.btn:active:not(:disabled):not(.is-disabled) { background: var(--bg-active); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--focus); }
.btn:disabled, .btn.is-disabled { --bg: var(--sunken); --fg: var(--ink-3); --bd: var(--line); background: var(--bg); color: var(--fg); border-color: var(--bd); cursor: not-allowed; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-primary { --bg: var(--cta); --bg-hover: var(--cta-hover); --bg-active: var(--cta-active); --fg: var(--cta-ink); }
.btn-ghost { --bg: var(--surface-solid); --bg-hover: var(--surface-2); --bg-active: var(--sunken); --bd: var(--line-2); --bd-hover: var(--ink-3); }
.btn-quiet { --bg: var(--sunken); --bg-hover: var(--paper-2); --bg-active: var(--line); }
.btn-light { --bg: var(--ink); --bg-hover: #3a2c23; --bg-active: #000; --fg: var(--paper); }
.btn-danger { --bg: var(--danger); --bg-hover: #9c3220; --bg-active: #862a1a; --fg: #fff; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 15.5px; }
.btn-sm { --h: 36px; padding: 0 12px; font-size: 14px; border-radius: 9px; }
.btn-xs { --h: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
fieldset + .btn-block { margin-top: 18px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stack-actions { display: grid; gap: 10px; margin-top: 18px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 9px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.icon-btn:hover { background: var(--sunken); }
.icon-btn--sm { min-width: 34px; height: 34px; }
.icon-btn__text { font: 500 12.5px var(--font); letter-spacing: .02em;; font-variant-numeric: tabular-nums; }
.presence { position: absolute; right: 8px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--slime-2); box-shadow: 0 0 0 2px var(--paper); }
.spinner { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) {
  .route-progress, .spinner { animation: none; }
  .cart-btn__count.bump, .cart-btn.xp-hit { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ───────────── Header ───────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
html.scrolled .site-header { box-shadow: 0 6px 18px -14px rgb(20 15 10 / .25); }
.scroll-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.header-inner { max-width: var(--max); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand--logo { gap: 0; }
.brand__img { display: block; height: 44px; width: auto; object-fit: contain; }
.brand__word { position: relative; font: 700 italic 22px/1 var(--serif); letter-spacing: .01em; }
.brand__y { color: var(--accent); }
.brand > .brand__word::after { content: ''; position: absolute; bottom: -3px; left: 20%; right: -12%; height: 2.5px; background: linear-gradient(90deg, transparent, var(--accent) 25%, var(--accent) 60%, transparent); border-radius: 2px; pointer-events: none; }
.search-trigger { flex: 1; max-width: 620px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); color: var(--ink-3); font-size: 15px; text-align: left; transition: border-color .12s, box-shadow .2s; }
.search-trigger span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-trigger:hover { border-color: var(--ink-3); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.locale-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.locale-btn:hover { background: var(--sunken); color: var(--ink); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: 4px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: border-color .12s, box-shadow .3s; }
.cart-btn:hover { border-color: var(--accent); }
.cart-btn__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 600 12px var(--font); }
.cart-btn__count[data-count="0"] { background: var(--sunken); color: var(--ink-3); }
.cart-btn__count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.3); } }
.cart-btn.xp-hit { animation: xp-hit .6s var(--ease-out); }
@keyframes xp-hit { 0% { box-shadow: 0 0 0 0 var(--glow); } 40% { box-shadow: 0 0 0 6px var(--glow), 0 0 28px 6px var(--glow); border-color: var(--accent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.menu-btn { display: none; }
.subnav { border-top: 1px solid var(--line); }
.subnav__inner { max-width: var(--max); height: var(--subnav-h); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a, .subnav__all { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .12s, color .12s; }
.subnav a:hover, .subnav__all:hover { background: var(--sunken); color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.subnav__all { margin-right: 6px; color: var(--ink); font-weight: 600; }
.subnav a.is-hot { color: var(--ink); font-weight: 600; }
.hot-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: hot 2.2s ease-out infinite; }
@keyframes hot { 0% { box-shadow: 0 0 0 0 var(--glow); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
html[data-route="checkout"] .subnav, html[data-route="checkout"] .search-trigger, html[data-route="checkout"] .menu-btn, html[data-route="checkout"] .cart-btn { display: none; }

/* XP orbs canvas — behind everything, never intercepts input. */
.xp-orbs { position: fixed; inset: 0; z-index: -1; width: 100vw; height: 100vh; pointer-events: none; }

/* Categories drawer */
.dialog--drawer { width: min(380px, 92vw); height: 100dvh; max-height: 100dvh; margin: 0 auto 0 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border: 0; border-right: 1px solid var(--line); background: var(--surface-solid); }
.dialog--drawer[open] { animation: drawer-in .3s var(--ease-out); }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer { display: flex; flex-direction: column; min-height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 20px; }
.drawer__body { flex: 1; padding: 4px 12px 16px; }
.drawer__feature { display: flex; align-items: center; gap: 12px; margin: 6px 0 10px; padding: 14px; border-radius: var(--radius); background: linear-gradient(120deg, var(--accent-soft), transparent); border: 1px solid var(--line-2); text-decoration: none; }
.drawer__feature span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.drawer__feature small { font-size: 12.5px; color: var(--ink-3); }
.drawer__title { margin: 18px 8px 6px; font: 600 12px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.drawer__link { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--ink); }
.drawer__link span { flex: 1; }
.drawer__link small { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.drawer__link > .icon:last-child { color: var(--ink-3); }
.drawer__link:hover { background: var(--sunken); }
.drawer__foot { display: flex; gap: 8px; padding: 14px 16px 20px; border-top: 1px solid var(--line); }

/* ───────────── Footer ───────────── */
.site-footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); background: var(--paper-2); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 36ch; color: var(--ink-2); font-size: 14.5px; }
.footer-brand .footer-pay { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ink-3); }
.status-dot.is-live { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.status-dot.is-off { background: var(--danger); }
.status-dot.is-warn { background: var(--warn); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 { margin-bottom: 4px; font: 600 15px var(--font); color: var(--ink); }
.footer-col a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
/* ───────────── Layout ───────────── */
.page { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 52px) var(--gutter) 0; }
.page.narrow { max-width: 720px; }
.page-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.page-head .lead { margin-top: 14px; }
.page-head--wide { max-width: 920px; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__aside { max-width: 38ch; color: var(--ink-3); font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-2--top { align-items: start; gap: 20px; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.error-page .lead { margin-top: 12px; }

/* ───────────── Forms ───────────── */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field__hint { font-size: 12.5px; color: var(--ink-3); }
.field__error { font-size: 12.5px; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 15.5px; transition: border-color .15s, box-shadow .15s; appearance: none; }
textarea.input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.input { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 40%, transparent); }
.input:disabled, .input[readonly] { background: var(--sunken); color: var(--ink-3); }
.input--sm { height: 38px; font-size: 14px; padding: 0 12px; }
select.input--sm { padding-right: 32px; }
.input--mono { font-family: var(--mono); font-size: 13.5px; }
.field--invalid .input, .input[aria-invalid="true"] { border-color: var(--danger); }
.input-wrap { position: relative; display: block; }
.input-wrap .input { padding-right: 48px; }
.input-wrap__btn { position: absolute; right: 5px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-3); }
.input-wrap__btn:hover { color: var(--ink); background: var(--sunken); }
.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check .field__error { flex-basis: 100%; }
.consents { display: grid; gap: 4px; margin: 6px 0 18px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.consents .check { flex-wrap: wrap; margin-bottom: 8px; }
.form-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.form-card > .h3 { margin-bottom: 6px; }
.form-card > .muted { margin-bottom: 20px; font-size: 14.5px; }
.form-card .fine { margin-top: 14px; }
.form-stack { display: grid; gap: 4px; }
.form-stack > .btn { justify-self: start; }
.form-message { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.form-message[data-tone="danger"] { background: var(--danger-bg); color: var(--danger); }
.form-message[data-tone="ok"] { background: var(--ok-bg); color: var(--ok); }
.meter { display: flex; align-items: center; gap: 10px; }
.meter__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; max-width: 200px; }
.meter__bar i { height: 4px; border-radius: 4px; background: var(--line); transition: background-color .2s; }
.meter__label { font-size: 12.5px; color: var(--ink-3); }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.meter[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--slime-2); }
.meter[data-score="4"] i { background: var(--ok); }
.search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.search-field .icon { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.search-field input { width: 100%; height: 42px; padding: 0 14px 0 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 15px; }
.search-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 40%, transparent); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 38px; height: 22px; flex: none; border-radius: 99px; background: var(--line-2); transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sunken); }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: block; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: background-color .15s, color .15s; }
.seg__opt input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--focus); }
.radio-list { display: grid; gap: 2px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: var(--radius-sm); font-size: 14.5px; cursor: pointer; }
.radio:hover { background: var(--sunken); }
.radio input { accent-color: var(--ink); margin: 0; }
.radio small { margin-left: auto; font: 12px var(--font); color: var(--ink-3);; font-variant-numeric: tabular-nums; }
.range { display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.stepper { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.stepper__btn { width: 42px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); border-radius: 9px; }
.stepper__btn:hover:not(:disabled) { background: var(--sunken); }
.stepper__btn:disabled { color: var(--line-2); cursor: not-allowed; }
.stepper__input { width: 40px; border: 0; background: transparent; text-align: center; font: 500 16px var(--font); -moz-appearance: textfield; appearance: textfield;; font-variant-numeric: tabular-nums; }
.stepper__input::-webkit-inner-spin-button, .stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper__input:focus { outline: none; }
.stepper--sm { height: 38px; }
.stepper--sm .stepper__btn { width: 34px; }
.stepper__value { min-width: 26px; text-align: center; font: 500 14.5px var(--font);; font-variant-numeric: tabular-nums; }

/* ───────────── Feedback ───────────── */
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 13px 16px; border-radius: var(--radius); font-size: 14.5px; line-height: 1.5; }
.callout .icon { flex: none; margin-top: 3px; }
.callout b { font-weight: 600; }
.callout a { font-weight: 500; }
.callout--danger { background: var(--danger-bg); color: var(--danger); }
.callout--warn { background: var(--warn-bg); color: var(--warn); }
.callout--info { background: var(--info-bg); color: var(--info); }
.callout--ok { background: var(--ok-bg); color: var(--ok); }
.callout--lg { margin-top: 32px; padding: 20px 22px; font-size: 15.5px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: var(--sunken); color: var(--ink-2); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--info { background: var(--info-bg); color: var(--info); }
.pill--danger { background: var(--danger-bg); color: var(--danger); }
.dot-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.dot-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot-status--ok { color: var(--ok); }
.dot-status--warn { color: var(--warn); }
.empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty__glyph { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: var(--sunken); color: var(--ink-2); }
.empty h3 { font-size: 17px; }
.empty p { max-width: 42ch; color: var(--ink-3); font-size: 14.5px; }
.empty .btn { margin-top: 10px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.panel--center { display: grid; justify-items: center; text-align: center; gap: 10px; }
.panel--center p { max-width: 44ch; }
.panel__glyph { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sunken); }
.sk { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--sunken); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 60%, transparent), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk--title { height: 38px; width: 50%; margin-bottom: 18px; }
.sk--line { height: 14px; margin-bottom: 10px; }
.sk--line.short { width: 60%; }
.sk--block { height: 220px; margin-bottom: 16px; border-radius: var(--radius-lg); }
.sk--block.short { height: 120px; }
.sk--card { aspect-ratio: 1.586; border-radius: var(--radius-lg); margin-bottom: 14px; }
.sk--hero { aspect-ratio: 1.586; border-radius: var(--radius-xl); }
.sk--field { height: 48px; margin-bottom: 12px; }
.sk--button { height: 52px; }
.skeleton-stack { display: grid; gap: 4px; }

.toast-region { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; border-radius: var(--radius); background: var(--ink); color: var(--paper); box-shadow: var(--shadow-3); font-size: 14px; animation: toast-in .35s var(--ease-out); }
.toast--ok .icon:first-child { color: var(--slime); }
.toast--danger .icon:first-child { color: #ff9b85; }
.toast__text { flex: 1; }
.toast__action { color: var(--slime); font-weight: 500; white-space: nowrap; text-decoration: none; }
.toast__close { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: inherit; opacity: .6; }
.toast__close:hover { opacity: 1; background: rgb(255 255 255 / .1); }
.toast.leaving { animation: toast-out .2s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ───────────── Dialogs ───────────── */
.dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3); overflow: auto; }
.dialog::backdrop { background: rgb(14 17 14 / .45); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .28s var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.dialog--sm { width: min(460px, calc(100vw - 24px)); }
.dialog--md { width: min(680px, calc(100vw - 24px)); }
.dialog__body { padding: 24px; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dialog__head h2 { font-size: 19px; }
.dialog__body > .muted { margin-bottom: 18px; font-size: 14.5px; }
.dialog__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.dialog--palette { width: min(640px, calc(100vw - 24px)); margin-top: 12vh; }
.palette__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.palette__input { flex: 1; height: 60px; border: 0; background: transparent; font-size: 17px; color: var(--ink); outline: none; }
.palette__input::-webkit-search-cancel-button { display: none; }
.palette__list { max-height: min(420px, 55vh); overflow: auto; padding: 8px; }
.palette__item { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.palette__item[aria-selected="true"] { background: var(--sunken); }
.palette__thumb { width: 54px; flex: none; }
.palette__glyph { width: 54px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.palette__main { display: grid; gap: 2px; min-width: 0; }
.palette__main b { font-weight: 500; font-size: 15px; }
.palette__main small { color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette__meta { margin-left: auto; font: 12px var(--font); color: var(--ink-3);; font-variant-numeric: tabular-nums; }
.palette__empty { padding: 28px 12px; text-align: center; color: var(--ink-3); }
.palette__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.palette__foot kbd { margin-right: 3px; }

/* ───────────── Gift card ───────────── */
.gc { --gc-a: #fff1e3; --gc-b: #ffd2ad; --gc-ink: #5a2f12; --gc-trail: #ff9550;
  position: relative; aspect-ratio: 1.586; width: 100%; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); color: var(--gc-ink);
  background: linear-gradient(160deg, rgb(255 255 255 / .75), rgb(255 255 255 / 0) 45%), radial-gradient(120% 140% at 100% 100%, var(--gc-b), var(--gc-a) 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7), inset 0 -10px 24px -12px color-mix(in srgb, var(--gc-trail) 40%, transparent), 0 10px 24px -16px color-mix(in srgb, var(--gc-trail) 70%, transparent); container-type: inline-size; }
.gc[data-tone="moss"] { --gc-a: #f2fae3; --gc-b: #cfe9a2; --gc-ink: #33440f; --gc-trail: #8fbf3a; }
.gc[data-tone="plum"] { --gc-a: #f6f0ff; --gc-b: #d8c8fb; --gc-ink: #3d2870; --gc-trail: #9b7be6; }
.gc[data-tone="amber"] { --gc-a: #fff4e6; --gc-b: #ffc996; --gc-ink: #5f300c; --gc-trail: #ff9550; }
.gc[data-tone="teal"] { --gc-a: #ecfafb; --gc-b: #b3e2e8; --gc-ink: #134650; --gc-trail: #44aebd; }
.gc[data-tone="rose"] { --gc-a: #fff0f4; --gc-b: #f9c2d1; --gc-ink: #63213a; --gc-trail: #e57495; }
.gc[data-tone="stone"] { --gc-a: #fbf7f2; --gc-b: #e6dacb; --gc-ink: #45392e; --gc-trail: #b39c82; }
.gc__trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.gc__sheen { fill: none; stroke: #fff; stroke-width: 22; stroke-linecap: round; opacity: .55; }
.gc__line { fill: none; stroke: var(--gc-trail); stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.gc__drops { fill: #fff; opacity: .9; }
.gc__top { position: absolute; left: 7%; right: 7%; top: 9%; display: flex; justify-content: space-between; font: 600 clamp(8px, 4.4cqi, 13px)/1 var(--serif); letter-spacing: .04em; opacity: .7; }
.gc__mono { position: absolute; left: 7%; top: 50%; translate: 0 -54%; font: 600 clamp(22px, 22cqi, 96px)/.9 var(--serif); letter-spacing: -.01em; text-shadow: 0 1px 0 rgb(255 255 255 / .6); }
.gc__bottom { position: absolute; left: 7%; right: 7%; bottom: 9%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gc__name { font-weight: 500; font-size: clamp(10px, 6cqi, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc__value { font: 500 clamp(10px, 6.4cqi, 20px) var(--mono); }
.gc--xs { border-radius: 6px; }
.gc--xs .gc__top, .gc--xs .gc__bottom { display: none; }
.gc--xs .gc__mono { left: 50%; translate: -50% -52%; font-size: 15px; }
.gc--sm { border-radius: 10px; }
.gc--sm .gc__top { display: none; }
.gc--lg { border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8), var(--shadow-3); }
.gc__name, .gc__value { font-family: var(--serif); font-weight: 600; }

/* ───────────── Home ───────────── */
/* Campaign hero: key art (or the illustrated sunset) under a translucent orange veil. */
.campaign { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(520px, 64vh, 680px); display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.campaign__bg { position: absolute; inset: 0; z-index: -2; }
.campaign__bg img, .campaign__bg .scene { width: 100%; height: 100%; object-fit: cover; }
.campaign__bg .scene { animation: drift 40s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes drift { to { transform: scale(1.06) translateX(-1.5%); } }
.campaign__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(255 238 222 / .94) 0%, rgb(255 214 176 / .78) 34%, rgb(255 160 90 / .28) 62%, rgb(255 130 50 / .08) 100%),
  linear-gradient(0deg, rgb(255 236 220 / .9) 0%, transparent 28%); }
.campaign.has-art .campaign__veil { background:
  linear-gradient(90deg, rgb(255 236 218 / .95) 0%, rgb(255 200 150 / .8) 36%, rgb(255 140 60 / .3) 64%, rgb(255 120 40 / .12) 100%),
  linear-gradient(0deg, rgb(255 236 220 / .92) 0%, transparent 30%); }
:root[data-theme="dark"] .campaign__veil { background: linear-gradient(90deg, rgb(28 13 5 / .94) 0%, rgb(60 25 8 / .8) 36%, rgb(120 50 10 / .3) 64%, rgb(160 60 10 / .1) 100%), linear-gradient(0deg, rgb(26 12 5 / .95) 0%, transparent 30%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .campaign__veil { background: linear-gradient(90deg, rgb(28 13 5 / .94) 0%, rgb(60 25 8 / .8) 36%, rgb(120 50 10 / .3) 64%, rgb(160 60 10 / .1) 100%), linear-gradient(0deg, rgb(26 12 5 / .95) 0%, transparent 30%); } }
.campaign__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(36px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.campaign__copy { max-width: 640px; }
.campaign__kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--slime-ink); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.campaign__kicker time { font-weight: 500; color: var(--ink-2); }
.campaign__title { margin-top: 18px; font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.campaign__sub { margin-top: 16px; max-width: 52ch; font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); }
.countdown { display: flex; gap: 10px; margin-top: 26px; }
.countdown__cell { min-width: 78px; padding: 12px 10px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); text-align: center; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 10px 30px -18px var(--glow); }
.countdown__cell b { display: block; font: 700 clamp(26px, 3vw, 34px)/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown__cell small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.countdown__done { padding: 12px 16px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.campaign__offers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.offer-chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); text-decoration: none; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: border-color .12s, box-shadow .2s; }
.offer-chip b { padding: 4px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.offer-chip:hover { border-color: var(--ink-3); }
.campaign__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.campaign__cover { width: clamp(220px, 24vw, 320px); }
.campaign__cover .cover, .campaign__cover .media { border-radius: 18px; box-shadow: 0 40px 80px -30px rgb(120 40 0 / .55), 0 0 0 1px rgb(255 255 255 / .4) inset; transform: rotate(2.5deg); animation: cover-float 7s ease-in-out infinite; }
@keyframes cover-float { 50% { transform: rotate(2.5deg) translateY(-10px); } }
.btn-glass { --bg: var(--surface-solid); --bg-hover: #fff; --bg-active: var(--surface-2); --bd: var(--line-2); --bd-hover: var(--ink-3); }
.hero-search { display: flex; gap: 8px; margin-top: 28px; max-width: 560px; }
.hero-search__field { position: relative; flex: 1; display: flex; align-items: center; }
.hero-search__field .icon { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.hero-search__field input { width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface-2); font-size: 16px; color: var(--ink); }
.hero-search__field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Illustrated cover (game without uploaded art) and real pictures */
.cover, .media { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--sunken); }
.cover, .media--cover { aspect-ratio: 3 / 4; }
.media--card { aspect-ratio: 1.586; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.cover .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(40 12 20 / .78) 100%); }
.cover__band { position: absolute; z-index: 1; left: 0; right: 0; top: 0; padding: 7px 12px; font: 700 11.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #3b2a24; }
[data-platform="ps"] .cover__band { background: #0b46b8; }
[data-platform="xbox"] .cover__band { background: #107c10; }
[data-platform="steam"] .cover__band { background: #1b2838; }
[data-platform="nintendo"] .cover__band { background: #d6001c; }
.cover__title { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; font: 700 clamp(18px, 2vw, 24px)/1.02 var(--font); letter-spacing: -.02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .4); text-wrap: balance; }
/* ───────────── Mascot ───────────── */
.mascot { display: block; overflow: visible; }
.mascot--xl { width: 470px; }
.mascot--md { width: 220px; }
.mascot--sm { width: 120px; }
.sg-body { transform-origin: 50% 92%; transform-box: view-box; animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.025, .985); } }
.sg-antenna { transform-box: fill-box; animation: sway 4.2s ease-in-out infinite; }
.sg-antenna--l { transform-origin: 100% 100%; }
.sg-antenna--r { transform-origin: 0% 100%; animation-delay: -1.4s; }
@keyframes sway { 50% { transform: rotate(-6deg); } }
.sg-antenna--r { animation-name: sway-r; }
@keyframes sway-r { 50% { transform: rotate(6deg); } }
.sg-bulb { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 50% { filter: brightness(1.12) drop-shadow(0 0 6px #ffc68f); } }
.sg-look { transition: transform .18s ease-out; }
.sg-lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: blink 5.5s infinite; }
.sg-eye--r .sg-lid { animation-delay: .04s; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(0); } 95.5% { transform: scaleY(2); } }
.sg-aura { animation: glow-aura 5s ease-in-out infinite; }
@keyframes glow-aura { 50% { opacity: .7; } }
.sg-happy-eye, .sg-mouth--happy, .sg-mouth--sad, .sg-mouth--wow { display: none; }
.mascot[data-mood="happy"] .sg-sclera, .mascot[data-mood="happy"] .sg-look, .mascot[data-mood="happy"] .sg-eye > circle:not(.sg-sclera), .mascot[data-mood="happy"] .sg-lid { display: none; }
.mascot[data-mood="happy"] .sg-happy-eye, .mascot[data-mood="happy"] .sg-mouth--happy { display: inline; }
.mascot[data-mood="happy"] .sg-mouth--idle, .mascot[data-mood="sad"] .sg-mouth--idle, .mascot[data-mood="wow"] .sg-mouth--idle { display: none; }
.mascot[data-mood="sad"] .sg-mouth--sad, .mascot[data-mood="wow"] .sg-mouth--wow { display: inline; }
.mascot[data-mood="sad"] .sg-lid { transform: scaleY(.85); animation: none; }
.mascot[data-mood="sad"] .sg-antenna--l { transform: rotate(-18deg); animation: none; }
.mascot[data-mood="sad"] .sg-antenna--r { transform: rotate(18deg); animation: none; }
.mascot[data-mood="happy"] .sg-body { animation: hop 1.4s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: none; } 30% { transform: translateY(-10px) scale(.98, 1.03); } 55% { transform: scale(1.04, .96); } }
.mascot[data-mood="wow"] .sg-sclera { transform-box: fill-box; transform-origin: center; transform: scale(1.06); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.page .section { padding-left: 0; padding-right: 0; }
.cat { display: grid; align-content: start; gap: 3px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: border-color .15s, box-shadow .25s, transform .25s var(--ease-out); }
.cat:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.cat__icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--slime-ink); transition: box-shadow .25s; }
.cat__name { font-weight: 600; font-size: 15.5px; }
.cat__desc { font-size: 13px; color: var(--ink-3); }
.cat__count { margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.cat--sk { min-height: 140px; border-radius: 14px; }

/* Tiles */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tile-grid--games, .tile-grid:has(.tile--game) { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.tile { display: grid; align-content: start; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: border-color .15s, box-shadow .3s, transform .3s var(--ease-out); }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.tile__media { position: relative; display: block; padding: 10px 10px 0; }
.tile__media .cover, .tile__media .media, .tile__media .gc { border-radius: 12px; }
.tile__badges { position: absolute; right: 18px; top: 44px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tile:not(.tile--game) .tile__badges { top: 18px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surface-solid); color: var(--ink); font: 600 11.5px var(--font); letter-spacing: .02em; box-shadow: var(--shadow-1); }
.badge--deal { background: var(--accent); color: var(--accent-ink); }
.tile__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.tile__platform { font: 600 11.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tile__name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.tile__name a { text-decoration: none; }
.tile__name a::after { content: ""; position: absolute; inset: 0; }
.tile { position: relative; }
.tile__value { font-weight: 500; color: var(--ink-3); }
.region { justify-self: start; font-size: 12.5px; font-weight: 600; }
.region--europe { color: #1e7a3c; }
.region--global { color: #2463b5; }
.region--country { color: #b5480c; }
:root[data-theme="dark"] .region--europe { color: #8fd8a2; } :root[data-theme="dark"] .region--global { color: #9cc4f5; } :root[data-theme="dark"] .region--country { color: #ffb784; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .region--europe { color: #8fd8a2; } :root:not([data-theme="light"]) .region--global { color: #9cc4f5; } :root:not([data-theme="light"]) .region--country { color: #ffb784; } }
.tile__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 6px; }
.tile__foot .price { justify-items: start; }
.tile__add { position: relative; z-index: 1; }
.tile .dot-status { font-size: 12px; white-space: normal; }
.tile .price__alt { display: none; }
.tile--sk { padding: 10px; }
.tile--sk .sk--line { margin-bottom: 0; }
.price { display: inline-grid; justify-items: end; line-height: 1.2; }
.price__main { font: 700 18px var(--font); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__was { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.price__alt { font: 12px var(--font); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.price--lg .price__main { font-size: 32px; }
.price--lg { justify-items: start; }
.price--na { font-size: 13px; color: var(--ink-3); }

/* Activation guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.guide h3 { font-size: 16.5px; }
.guide__format { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.guide ol, .steps-list { counter-reset: step; display: grid; gap: 10px; margin-top: 14px; }
.guide li, .steps-list li { counter-increment: step; position: relative; padding-left: 32px; font-size: 14px; color: var(--ink-2); }
.guide li::before, .steps-list li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--slime-ink); font: 600 12px var(--font); }
.guide__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro .muted { margin: 14px 0 22px; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 16.5px; list-style: none; cursor: pointer; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .25s var(--ease), background-color .2s; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.accordion__item p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 15px; }
/* ───────────── Shop ───────────── */
.shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters__head h2 { font-size: 15px; }
.filters__form { display: grid; gap: 22px; }
.filters__group { margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filters__group legend { margin-bottom: 10px; padding: 0; font: 600 15px var(--serif); color: var(--ink); }
.shop-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.filters-toggle { display: none; }
.sort .input { width: auto; }
.shop-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 32px; margin-bottom: 22px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 11px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 13px; }
.chip:hover { border-color: var(--ink); }
.grid-empty { grid-column: 1 / -1; }

/* ───────────── Product ───────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pdp--game { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); }
.pdp--sk { gap: 48px; }
.pdp__media { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 20px); }
.pdp__art { padding: clamp(14px, 2vw, 22px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 30px 60px -36px var(--glow); }
.pdp__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.pdp__sub { display: block; margin-top: 6px; font-size: .5em; font-weight: 500; letter-spacing: -.01em; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--ink-2); }
.fact > .icon { flex: none; margin-top: 1px; color: var(--ink-3); }
.fact b { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fact--ok { border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: var(--ok-bg); }
.fact--ok > .icon { color: var(--ok); }
.fact--ko { border-color: color-mix(in srgb, var(--danger) 35%, transparent); background: var(--danger-bg); }
.fact--ko > .icon { color: var(--danger); }
.pdp__info > .callout { margin-top: 16px; }
.variants { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.variants legend { margin-bottom: 10px; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.variants__list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { display: grid; gap: 2px; min-width: 110px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .15s, box-shadow .2s; }
.variant b { font-size: 15px; font-weight: 600; }
.variant small { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.variant:hover { border-color: var(--accent); }
.variant.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buybox { margin-top: 24px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--surface-2); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.buybox__price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.buy__main { flex: 1; min-width: 200px; }
.buybox > .muted { margin-top: 12px; font-size: 14px; }
.offers { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.offer { display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px 110px 120px; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.offer:last-child { border-bottom: 0; }
.offer.is-current { background: var(--accent-soft); }
.offer__platform { font-weight: 600; }
.offer__region { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.offer__region small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.offer__region .ok { color: var(--ok); }
.offer__region .ko { color: var(--ink-3); }
.offer__price { font: 700 16px var(--font); text-align: right; font-variant-numeric: tabular-nums; }
.offer__here { font-size: 12.5px; color: var(--ink-3); text-align: right; }
.offer .btn { justify-self: end; }
.pdp-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.detail-block { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.detail-block > p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.detail-block > p.muted { color: var(--ink-3); font-size: 13.5px; }
/* ───────────── Cart & summary ───────────── */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.cart__empty { grid-column: 1 / -1; }
.lines { border-top: 1px solid var(--line); margin-bottom: 18px; }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__thumb { display: block; }
.line__info { display: grid; gap: 4px; min-width: 0; }
.line__name { font-weight: 500; text-decoration: none; }
.line__meta { font-size: 13.5px; color: var(--ink-3); }
.line__issue { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--danger); }
.line__total { font: 500 15px var(--font); min-width: 84px; text-align: right;; font-variant-numeric: tabular-nums; }
.line--issue .line__thumb { opacity: .55; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.summary > .h3 { margin-bottom: 14px; }
.summary__rows { display: grid; gap: 10px; margin: 0 0 20px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.summary__rows dd { margin: 0; font-family: var(--font);; font-variant-numeric: tabular-nums; }
.summary__total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink) !important; font-weight: 600; font-size: 17px !important; }
.summary__total dd { font-size: 20px; }
.summary__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.summary .fine { margin-top: 14px; }
.summary__note .icon { flex: none; margin-top: 2px; }
.summary__trust { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.summary__trust li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.mini-lines { display: grid; gap: 12px; margin-bottom: 18px; }
.mini-lines li { display: flex; align-items: center; gap: 12px; }
.mini-lines__thumb { width: 52px; flex: none; }
.mini-lines__info { display: grid; gap: 1px; min-width: 0; flex: 1; }
.mini-lines__info b { font-weight: 500; font-size: 14px; }
.mini-lines__info small { font-size: 12.5px; color: var(--ink-3); }
.mini-lines__price { font: 500 14px var(--font); white-space: nowrap;; font-variant-numeric: tabular-nums; }

/* ───────────── Checkout (Sluggy Pay) ───────────── */
.checkout { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.checkout__head { margin-bottom: 28px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.steps li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-3); }
.steps li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 500 12px var(--mono); }
.steps li.is-current { color: var(--ink); font-weight: 500; }
.steps li.is-current span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-done span { background: var(--slime); color: #141613; border-color: var(--slime); }
.pay { display: grid; gap: 18px; }
.pay__recipient { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.pay__recipient span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.pay__recipient .muted { font-family: var(--font); font-size: 12.5px;; font-variant-numeric: tabular-nums; }
.paybrand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 17px/1 var(--serif); color: var(--ink); }
.paybrand b { font-weight: 700; font-style: italic; }
.paybrand span { padding: 3px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 700 12px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.methods { margin: 0; padding: 0; border: 0; min-width: 0; }
.methods legend { margin-bottom: 12px; padding: 0; }
.methods__list { display: grid; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.method { border-bottom: 1px solid var(--line); transition: background-color .15s; }
.method:last-child { border-bottom: 0; }
.method__head { position: relative; display: flex; align-items: center; gap: 10px 14px; min-height: 68px; padding: 14px 18px; cursor: pointer; flex-wrap: wrap; }
.method__head:hover { background: var(--sunken); }
.method__head input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.method__radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface-solid); transition: border .15s, box-shadow .2s; }
.method__text { display: grid; gap: 2px; flex: 1 1 180px; min-width: 0; }
.method__text b { font-weight: 600; }
.method__text small { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.method__brands { display: flex; align-items: center; gap: 6px; flex: none; }
.method.is-selected { background: var(--surface-2); }
.method.is-selected .method__radio, .method__head:has(input:checked) .method__radio { border: 6px solid var(--ink); }
.method__head:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.methods:disabled .method__head { opacity: .6; cursor: not-allowed; }
.method .payframe { margin: 0 18px 18px; }
/* Payment network marks (text badges) */
.pm { display: inline-grid; place-items: center; height: 24px; min-width: 38px; padding: 0 6px; border-radius: 5px; background: #fff; border: 1px solid rgb(0 0 0 / .1); font: 800 11px/1 var(--font); letter-spacing: .02em; color: #1a1f71; }
.pm--visa { font-style: italic; font-size: 12px; letter-spacing: .04em; }
.pm--mc { display: inline-flex; gap: 0; padding: 0 7px; }
.pm--mc i { width: 13px; height: 13px; border-radius: 50%; background: #eb001b; }
.pm--mc i + i { margin-left: -5px; background: #f79e1b; mix-blend-mode: multiply; }
.pm--cb { color: #fff; background: linear-gradient(135deg, #1c4f9c, #2aa5c9); border: 0; }
.pm--usdc { color: #fff; background: #2775ca; border: 0; }
.pm--usdc_sol { color: #fff; background: #2775ca; border: 0; }
.payframe { position: relative; min-height: 120px; padding: 6px 0 0; }
.payframe__frame { display: block; width: 100%; height: 340px; border: 0; background: transparent; color-scheme: light; transition: height .25s var(--ease); }
.payframe__loading { position: absolute; left: 0; right: 0; top: 10px; }
.payframe.is-ready .payframe__loading { display: none; }
.payframe:not(.is-ready) .payframe__frame { opacity: 0; }.processing { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--info-bg); color: var(--info); }
.processing div { display: grid; gap: 2px; }
.processing small { opacity: .8; }

.verify-overlay { position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; background: rgb(14 12 10 / .6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: overlay-in .35s var(--ease-out) both; }
@keyframes overlay-in { from { opacity: 0; } }
.verify-card { width: min(420px, calc(100% - 32px)); padding: 40px 32px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-3), 0 0 80px -20px var(--glow); text-align: center; animation: verify-card-in .4s var(--ease-out) both; }
@keyframes verify-card-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.verify-card__logo { height: 44px; width: auto; margin: 0 auto 18px; display: block; }
.verify-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; }
.verify-card__icon--spin { background: var(--accent-soft); color: var(--accent); }
.verify-card__icon--ok { background: var(--ok-bg, #e8f5e9); color: var(--ok); animation: verify-pop .4s var(--ease-out); }
.verify-card__icon--fail { background: var(--danger-bg, #fbe9e7); color: var(--danger); animation: verify-pop .4s var(--ease-out); }
@keyframes verify-pop { 0% { transform: scale(.5); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.verify-card__icon .spinner { width: 32px; height: 32px; }
.verify-card__brand { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 0 22px; font: 500 15px var(--font); color: var(--ink-3); letter-spacing: .01em; }
.verify-card__brand b { color: var(--ink); font-weight: 700; }
.verify-card__brand span { color: var(--accent); font-weight: 600; }
.verify-card__brand svg { flex: none; }
.verify-card__icon--spin .cmark { animation: spin 1.6s cubic-bezier(.4,0,.2,1) infinite; }
.verify-card__icon--ok .cmark { animation: verify-pop .4s var(--ease-out); }
.verify-card__icon--fail .cmark { animation: verify-pop .4s var(--ease-out); filter: grayscale(.6) opacity(.7); }
.verify-card__title { margin: 0 0 6px; font: 700 20px/1.3 var(--font); color: var(--ink); }
.verify-card__sub { margin: 0 0 4px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.verify-card__fine { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.verify-card__addr { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 44px 12px 14px; margin: 12px 0; font: 500 12.5px/1.5 var(--mono, 'SF Mono', Menlo, Consolas, monospace); overflow-wrap: anywhere; word-break: break-all; user-select: all; letter-spacing: .3px; color: var(--ink); }
.verify-card__copy { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: var(--accent-soft); color: var(--accent); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .15s; }
.verify-card__copy:hover { background: var(--accent); color: #fff; }
.verify-card__copy:active { transform: translateY(-50%) scale(.92); }
.verify-card__copy.is-copied { background: var(--ok); color: #fff; }
.verify-card__amounts { margin: 6px 0 2px; display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.verify-card__crypto-amt { font: 700 18px/1.3 var(--font); color: var(--accent); letter-spacing: -.01em; }
.verify-card__usd-amt { font-size: 13px; color: var(--ink-3); }
.verify-card__timer { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 14px auto 4px; }
.verify-card__timer span { position: absolute; font: 700 13px/1 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.verify-card__detail { text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 13px; line-height: 1.6; }
.verify-card__detail-row { display: flex; justify-content: space-between; gap: 8px; }
.verify-card__detail-row span { color: var(--ink-3); flex: none; }
.verify-card__detail-row b { color: var(--ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.verify-card__status { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 14px; border-radius: 20px; font: 600 13px/1.4 var(--font); }
.verify-card__status--err { background: var(--danger-bg, #fbe9e7); color: var(--danger); }
.verify-card__status--ok { background: var(--ok-bg, #e8f5e9); color: var(--ok); }
.verify-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.verify-card__actions .btn { width: 100%; justify-content: center; }
.verify-card__actions .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgb(0 0 0 / .1); }
.verify-card__actions .btn:active { transform: translateY(0); }
.verify-card__steps { display: flex; justify-content: center; gap: 8px; margin: 18px 0 0; }
.verify-card__step { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .3s, transform .3s; }
.verify-card__step.is-active { background: var(--accent); transform: scale(1.3); }
.verify-card__step.is-done { background: var(--accent); opacity: .5; }
@media (max-width: 480px) { .verify-card { padding: 28px 20px; } .verify-card__addr { font-size: 11px; padding: 10px 40px 10px 10px; } .verify-card__crypto-amt { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .verify-overlay, .verify-card, .verify-card__icon--ok, .verify-card__icon--fail { animation: none; } }
.summary--checkout { top: calc(var(--header-h) + 20px); }
.timer { display: flex; align-items: center; gap: 14px; margin: -4px 0 20px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.timer__ring { width: 40px; height: 40px; flex: none; rotate: -90deg; }
.timer__ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.timer__ring .timer__progress { stroke: var(--slime-2); stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .3s; }
.timer b { display: block; font: 600 20px/1.1 var(--font); letter-spacing: -.02em;; font-variant-numeric: tabular-nums; }
.timer small { font-size: 12.5px; color: var(--ink-3); }
.timer--low .timer__progress { stroke: var(--danger); }
.timer--low b { color: var(--danger); }

/* ───────────── Order ───────────── */
.order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
.order__head .lead { margin-top: 12px; }
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline__step { position: relative; display: flex; gap: 18px; padding-bottom: 30px; }
.timeline__step::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.timeline__step:last-child::before { display: none; }
.timeline__step.is-done::before { background: var(--slime-2); }
.timeline__node { position: relative; z-index: 1; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-3); }
.is-done .timeline__node { background: var(--slime); border-color: var(--slime); color: #141613; }
.is-active .timeline__node { border-color: var(--ink); }
.is-error .timeline__node { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.timeline__title { font-size: 16.5px; margin: 6px 0 4px; }
.timeline__step p { color: var(--ink-2); font-size: 14.5px; }
.is-todo .timeline__title, .is-muted .timeline__title { color: var(--ink-3); font-weight: 500; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 40%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* ───────────── Auth ───────────── */
.auth { max-width: 1100px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.auth__card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-2); }
.auth__logo { display: inline-flex; margin-bottom: 26px; color: var(--ink); }
.auth__card > .muted { margin: 8px 0 26px; font-size: 15px; }
.auth__row { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.auth__alt { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--ink-3); }
.auth__alt a { color: var(--ink); font-weight: 500; }
.auth__aside { display: grid; gap: 40px; }
.auth__quote span { display: block; margin-top: 14px; font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.auth__points { display: grid; gap: 14px; }
.auth__points li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 15px; }
.auth__points .icon { color: var(--slime-ink); }

/* ───────────── Dashboards ───────────── */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.dash__nav { position: sticky; top: calc(var(--header-h) + 20px); }
.dash__who { display: flex; align-items: center; gap: 12px; padding: 0 4px 20px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.dash__who div { display: grid; min-width: 0; }
.dash__who b { font-weight: 500; font-size: 15px; }
.dash__who small { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 21px; }
.avatar--admin { background: var(--slime); color: #141613; }
.dash__nav nav { display: grid; gap: 2px; }
.dash__nav nav a, .dash__logout { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink-2); font-size: 14.5px; text-decoration: none; text-align: left; }
.dash__nav nav a:hover, .dash__logout:hover { background: var(--sunken); color: var(--ink); }
.dash__nav nav a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.dash__admin { margin-top: 10px; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding-top: 16px !important; }
.dash__logout { margin-top: 10px; color: var(--danger); }
.dash__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.stat small { font-size: 12.5px; color: var(--ink-3); }
.stat b { font: 500 22px/1.15 var(--font); letter-spacing: -.03em;; font-variant-numeric: tabular-nums; }
.stat__sub { font-size: 12.5px; color: var(--ink-3); }
.card-block { margin-bottom: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.card-block > .h3 { margin-bottom: 16px; }
.card-block__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.rows { display: grid; }
.row-link { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .12s; }
.row-link:last-child { border-bottom: 0; }
a.row-link:hover { background: var(--surface-2); }
.row-link--static { grid-template-columns: minmax(0, 1fr) auto auto; }
.row-link__main { display: grid; gap: 2px; min-width: 0; }
.row-link__main b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link__main small { font-size: 12.5px; color: var(--ink-3); }
.row-link__amount { font: 500 14.5px var(--font);; font-variant-numeric: tabular-nums; }
.codes { display: grid; gap: 12px; margin-top: 16px; }
.code-card { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.code-card__art { width: 120px; flex: none; }
.code-card__info { display: grid; gap: 4px; min-width: 0; flex: 1; }
.code-card__info small { color: var(--ink-3); font-size: 13px; }
.code-card__code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.code-card__code code { padding: 8px 12px; font-size: 15px; letter-spacing: .06em; user-select: all; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { position: sticky; top: 0; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); text-align: left; font: 600 12.5px var(--font); color: var(--ink-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:last-child:not(.actions) { white-space: nowrap; }
.dash--admin .table td:nth-child(4) { min-width: 190px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { font-family: var(--font); text-align: right; white-space: nowrap;; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions .btn + .btn { margin-left: 6px; }
.cell-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); font-family: var(--font); text-align: inherit; }
.cell-wrap { max-width: 360px; }
.cell-json { display: block; background: none; padding: 0; font-size: 12px; color: var(--ink-3); word-break: break-all; }
.services { display: grid; gap: 4px; }
.services li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.services li:last-child { border-bottom: 0; }
.services small { color: var(--ink-3); font-size: 12.5px; }
.services b { font-weight: 500; }
.card-block .fine { margin-top: 14px; }

/* ───────────── Support / security / legal / 404 ───────────── */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.topic { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.topic__glyph { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 11px; background: var(--sunken); }
.topic h2 { margin-bottom: 8px; }
.topic p { font-size: 14.5px; color: var(--ink-2); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
.contact .muted { margin: 12px 0 22px; }
.layers { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.layer { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.layer header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin-bottom: 18px; }
.layer__num { grid-column: 1 / -1; font: 600 12.5px var(--font); color: var(--slime-ink); }
.layer__glyph { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--slime) 22%, var(--surface)); color: var(--slime-ink); }
.layer ul { display: grid; gap: 12px; }
.layer li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.layer li .icon { flex: none; margin-top: 4px; color: var(--ok); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; }
.legal__nav nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.legal__nav a { padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.legal__nav a:hover { background: var(--sunken); }
.legal__nav a[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: var(--shadow-1); }
.legal__doc .h1 { margin-bottom: 24px; }
.legal__doc section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal__doc section p { margin-top: 8px; color: var(--ink-2); }
.lost { text-align: center; padding-top: clamp(48px, 8vw, 96px); }
.lost__mark { position: relative; display: grid; place-items: center; margin-bottom: 32px; color: var(--ink); }
.lost__trail { width: 300px; height: 60px; margin-top: -8px; }
.lost__trail path { fill: none; stroke: var(--slime-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; }
.lost .lead { margin: 14px auto 0; }
.lost .row-actions { justify-content: center; }

.order__head { align-items: center; justify-content: flex-start; }
.order__mascot { flex: none; width: 112px; }
.order__mascot .mascot { width: 100%; }
.order__title { flex: 1; }
.empty--mascot { padding-top: 28px; }
.empty--mascot .mascot { width: 140px; margin-bottom: 4px; }
.auth__hero .mascot { width: 230px; }
.lost__mark .mascot { width: 200px; }

/* ───────────── Responsive ───────────── */
@media (max-width: 1180px) {
  .locale-btn span { display: none; }
  .offer { grid-template-columns: 120px minmax(0, 1fr) 150px 100px 100px; }
}
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .checkout { grid-template-columns: minmax(0, 1fr) 330px; }
  .cart { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .menu-btn { display: inline-flex; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; gap: 10px; }
  .search-trigger { order: 10; flex-basis: 100%; max-width: none; height: 42px; }
  .search-trigger kbd, .subnav__all { display: none; }
  .campaign__inner { grid-template-columns: 1fr; }
  .campaign__cover { display: none; }
  .campaign__veil, .campaign.has-art .campaign__veil { background: linear-gradient(180deg, rgb(255 238 222 / .9) 0%, rgb(255 214 176 / .82) 55%, rgb(255 190 140 / .7) 100%); }
  .pdp--game { grid-template-columns: 1fr; }
  .pdp--game .pdp__art { max-width: 300px; }
  .offer { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .offer__stock, .offer__here { display: none; }
  .offer__price { grid-column: 2; grid-row: 1; }
  .offer .btn { grid-column: 2; grid-row: 2; }
  .hide-sm { display: none !important; }
  .trustbar__inner { grid-template-columns: 1fr 1fr; }
  .trustbar__item:nth-child(3) { border-left: 0; }
  .trustbar__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .assurance, .assurance__list { grid-template-columns: 1fr; }
  .order__mascot { width: 84px; }
  .faq, .contact, .auth, .pdp, .cart, .checkout, .order__grid { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .pdp__media, .summary, .filters, .dash__nav, .legal__nav nav { position: static; }
  .checkout__aside { order: -1; }
  .summary--checkout .summary__trust { display: none; }
  .summary--checkout .mini-lines { margin-bottom: 8px; }
  .trace__steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .shop { grid-template-columns: 1fr; gap: 0; }
  .filters { overflow: hidden; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; border: 0 solid var(--line); border-radius: var(--radius-lg); background: var(--surface); opacity: 0; transition: max-height .35s var(--ease-out), padding .25s, opacity .2s, border-width .25s, margin-bottom .25s; }
  .filters.open { max-height: 600px; padding: 18px; margin-bottom: 20px; border-width: 1px; opacity: 1; }
  .filters-toggle { display: inline-flex; }
  .dash, .legal { grid-template-columns: 1fr; gap: 20px; }
  .dash__nav nav, .legal__nav nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .dash__nav nav a, .dash__logout, .legal__nav a { flex: none; white-space: nowrap; }
  .dash__who { display: none; }
  .dash__admin { margin-top: 0; border-top: 0 !important; padding-top: 10px !important; }
  .dash__logout { margin-top: 0; }
  .order__head { flex-direction: column; }
}
@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .brand__word { display: none; }
  .brand__img { height: 36px; }
  .cart-btn { padding: 0 6px 0 10px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .trace__steps { grid-template-columns: 1fr; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .trustbar__item + .trustbar__item { border-left: 0; border-top: 1px solid var(--line); }
  .hero-search .btn { padding: 0 14px; }
  .tile-grid, .tile-grid--games, .tile-grid:has(.tile--game) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile__body { padding: 10px 10px 12px; }
  .price__main { font-size: 16px; }
  .tile__add span { display: none; }
  .tile__add { --h: 34px; width: 34px; padding: 0; }
  .countdown { gap: 6px; }
  .countdown__cell { min-width: 0; flex: 1; padding: 10px 4px 8px; }
  .campaign__title { font-size: 40px; }
  .facts { grid-template-columns: 1fr; }
  .hide-xs { display: none; }
  .method__brands { display: none; }
  .method .payframe { margin: 0 10px 12px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat { min-height: 130px; padding: 16px; }
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 10px 14px; }
  .line__thumb { grid-area: thumb; align-self: start; }
  .line__info { grid-area: info; }
  .line .stepper { grid-area: qty; justify-self: start; }
  .line__total { grid-area: total; }
  .line .icon-btn { grid-area: remove; justify-self: end; }
  .row-link { grid-template-columns: minmax(0, 1fr) auto; }
  .row-link > .pill { grid-column: 1; justify-self: start; }
  .row-link > .icon { display: none; }
  .code-card { flex-direction: column; align-items: stretch; }
  .code-card__art { width: 100%; max-width: 220px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { flex-wrap: wrap; }
  .footer-trail { display: none; }
  .toast-region { right: 16px; left: 16px; bottom: 16px; width: auto; }
  .buy .stepper { flex: none; }
  .buy .btn-ghost { flex: 1; }
  .dialog__body { padding: 20px; }
}

/* ───────────── Motion & print ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .trace__step { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .toast-region, .stack-actions, .route-progress, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .page { padding: 0; }
  .order__grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; box-shadow: none; border-color: #ccc; }
  .timeline__node { border-color: #999; }
  .pill { border: 1px solid #999; }
}

/* ───────────── Admin forms, media, legal ───────────── */
.form-stack { display: grid; gap: 16px; }
.form-group { margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.form-group legend { padding: 0 0 12px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.field--todo .input { border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.field__label em { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--warn-bg); color: var(--warn); font-style: normal; font-size: 11.5px; font-weight: 600; }
.field--narrow { max-width: 320px; }
.callout--ok { background: var(--ok-bg); color: var(--ok); }
.media-field { display: grid; gap: 8px; margin-bottom: 16px; }
.media-field__row { display: flex; gap: 14px; align-items: center; }
.media-field__preview { width: 120px; aspect-ratio: 1.586; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px; border: 1px dashed var(--line-2); background: var(--sunken); color: var(--ink-3); }
.media-field--cover .media-field__preview { width: 90px; aspect-ratio: 3 / 4; }
.media-field--wide .media-field__preview { width: 160px; aspect-ratio: 2 / 1; }
.media-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.media-field__actions { display: grid; gap: 6px; min-width: 0; }
.media-field__buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.cell-product { display: flex; gap: 12px; align-items: center; }
.cell-thumb { width: 36px; height: 36px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--sunken); color: var(--ink-3); }
.cell-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-lines__thumb--cover, .palette__thumb--cover { width: 40px; }
.palette__thumb .cover__title, .mini-lines__thumb .cover__title { display: none; }
.palette__thumb .cover, .palette__thumb .media, .mini-lines__thumb .cover, .mini-lines__thumb .media { border-radius: 6px; }
.palette__thumb .cover__band, .mini-lines__thumb .cover__band { padding: 3px 4px; font-size: 7px; letter-spacing: .02em; }
.plain-list { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 18px; list-style: disc; color: var(--ink-2); font-size: 14.5px; }
.legal__doc .lead { margin: 10px 0 18px; }
.legal__body { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 10px; }
.legal__body ul { display: grid; gap: 8px; padding-left: 18px; list-style: disc; }
.legal__body ol { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; }
.legal__body .table-wrap { margin: 4px 0 12px; }
.table--legal td { font-size: 13.5px; }
.kv { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.kv dt { color: var(--ink-3); font-size: 14px; }
.kv dd { margin: 0; color: var(--ink); }
.missing { padding: 1px 7px; border-radius: 5px; background: var(--warn-bg); color: var(--warn); font-size: .88em; font-weight: 600; }
.legal__doc section { padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .campaign__bg .scene, .campaign__cover .cover, .campaign__cover .media, .hot-dot { animation: none !important; } }
@media (max-width: 900px) {
  :root[data-theme="dark"] .campaign__veil, :root[data-theme="dark"] .campaign.has-art .campaign__veil { background: linear-gradient(180deg, rgb(28 13 5 / .9) 0%, rgb(50 22 8 / .82) 55%, rgb(70 30 10 / .72) 100%); }
}
@media (max-width: 900px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .campaign__veil, :root:not([data-theme="light"]) .campaign.has-art .campaign__veil { background: linear-gradient(180deg, rgb(28 13 5 / .9) 0%, rgb(50 22 8 / .82) 55%, rgb(70 30 10 / .72) 100%); }
}
/* Hero XP orbs */
.campaign__orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.campaign__orbs i { position: absolute; bottom: -24px; width: var(--s, 10px); height: var(--s, 10px); border-radius: 50%; background: radial-gradient(circle, #fffaec 0 14%, #ffd696 22%, rgb(255 140 60 / .7) 38%, rgb(255 128 48 / .18) 62%, transparent 72%); filter: drop-shadow(0 0 6px rgb(255 150 60 / .8)); opacity: 0; animation: orb-rise var(--d, 14s) linear infinite; animation-delay: var(--w, 0s); }
@keyframes orb-rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(var(--x, 20px), -50vh) scale(1); } 85% { opacity: .9; } 100% { transform: translate(calc(var(--x, 20px) * -.5), -105vh) scale(.8); opacity: 0; } }
.campaign__orbs i:nth-child(1) { left: 4%; --s: 9px; --d: 11s; --w: -2s; --x: 18px; }
.campaign__orbs i:nth-child(2) { left: 9%; --s: 6px; --d: 14s; --w: -9s; --x: -14px; }
.campaign__orbs i:nth-child(3) { left: 15%; --s: 12px; --d: 17s; --w: -4s; --x: 26px; }
.campaign__orbs i:nth-child(4) { left: 22%; --s: 7px; --d: 12s; --w: -11s; --x: -20px; }
.campaign__orbs i:nth-child(5) { left: 30%; --s: 10px; --d: 15s; --w: -6s; --x: 16px; }
.campaign__orbs i:nth-child(6) { left: 38%; --s: 5px; --d: 10s; --w: -1s; --x: -12px; }
.campaign__orbs i:nth-child(7) { left: 46%; --s: 13px; --d: 19s; --w: -13s; --x: 22px; }
.campaign__orbs i:nth-child(8) { left: 53%; --s: 8px; --d: 13s; --w: -7s; --x: -18px; }
.campaign__orbs i:nth-child(9) { left: 60%; --s: 6px; --d: 11s; --w: -3s; --x: 14px; }
.campaign__orbs i:nth-child(10) { left: 66%; --s: 11px; --d: 16s; --w: -10s; --x: -24px; }
.campaign__orbs i:nth-child(11) { left: 72%; --s: 7px; --d: 12s; --w: -5s; --x: 20px; }
.campaign__orbs i:nth-child(12) { left: 78%; --s: 14px; --d: 20s; --w: -15s; --x: -16px; }
.campaign__orbs i:nth-child(13) { left: 84%; --s: 6px; --d: 10s; --w: -8s; --x: 12px; }
.campaign__orbs i:nth-child(14) { left: 89%; --s: 9px; --d: 14s; --w: -2s; --x: -22px; }
.campaign__orbs i:nth-child(15) { left: 94%; --s: 12px; --d: 18s; --w: -12s; --x: 18px; }
.campaign__orbs i:nth-child(16) { left: 98%; --s: 5px; --d: 11s; --w: -6s; --x: -10px; }
@media (prefers-reduced-motion: reduce) { .campaign__orbs i { animation: none; opacity: .8; bottom: auto; top: calc(var(--s) * 6%); } }

.toolbar__group { display: flex; flex-wrap: wrap; gap: 8px; }
.cell-tag { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--slime-ink); font-size: 11px; font-weight: 600; vertical-align: 1px; }

/* ───────────── Product picture stage ─────────────
   Every uploaded picture sits on the same Sluggy stage, as a card, at its own proportions. */
.media:has(.media__img) { isolation: isolate; border: 1px solid var(--line); background: linear-gradient(160deg, #f8f6f3 0%, #eeeae5 100%); }
:root[data-theme="dark"] .media:has(.media__img) { background: linear-gradient(160deg, #24221f 0%, #1b1a18 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .media:has(.media__img) { background: linear-gradient(160deg, #24221f 0%, #1b1a18 100%); } }
.media .media__img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 76%; max-height: 72%; object-fit: contain; border-radius: 9px;
  box-shadow: 0 18px 30px -16px rgb(110 40 0 / .5), 0 3px 8px rgb(110 40 0 / .16); transition: transform .4s var(--ease-out), box-shadow .4s; }
.media[data-shape="card"] .media__img { width: 76%; max-height: none; aspect-ratio: 1.586; object-fit: cover; }
.media--cover[data-shape="card"] .media__img { width: 74%; aspect-ratio: 3 / 4; }
.media[data-shape="tall"] .media__img { max-height: 80%; }
.tile:hover .media__img, .pdp__art .media:hover .media__img { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 26px 38px -18px rgb(110 40 0 / .55), 0 4px 10px rgb(110 40 0 / .18); }
.pdp__art .media .media__img { border-radius: 14px; }
/* PDP: a portrait photo gets a portrait frame instead of a wide beige rectangle. */
.pdp__art .media--card[data-shape="tall"] { aspect-ratio: 11 / 16; max-width: 380px; margin-inline: auto; }
.pdp__art .media--card[data-shape="tall"] .media__img { max-width: 96%; max-height: 97%; box-shadow: 0 22px 38px -18px rgb(110 40 0 / .55), 0 4px 10px rgb(110 40 0 / .2); }
/* Tiles keep their landscape frame for grid alignment ; a portrait photo just sits taller inside. */
.tile .media--card[data-shape="tall"] .media__img { max-width: 58%; max-height: 92%; }
.palette__thumb .media .media__img, .mini-lines__thumb .media .media__img, .cell-thumb .media__img { max-width: 84%; max-height: 80%; border-radius: 3px; box-shadow: 0 2px 4px rgb(110 40 0 / .25); }
.palette__thumb .media::before, .palette__thumb .media::after, .mini-lines__thumb .media::before, .mini-lines__thumb .media::after { display: none; }

/* Tiles: one structure for every product, so prices and buttons line up. */
.tile { grid-template-rows: auto 1fr; }
.tile__body { display: flex; flex-direction: column; gap: 5px; }
.tile__body .region { align-self: flex-start; }
.tile__foot { margin-top: auto; padding-top: 8px; }
/* The card value is always stated by Sluggy, whatever the picture prints. */
.media__value { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 4px 9px; border-radius: 8px; background: var(--surface-solid); color: var(--ink); font: 700 13px/1 var(--font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -8px rgb(110 40 0 / .45), 0 0 0 1px var(--line-2); }
.pdp__art .media__value { right: 14px; bottom: 14px; padding: 7px 12px; font-size: 17px; border-radius: 10px; }
.palette__thumb .media__value, .mini-lines__thumb .media__value, .cell-thumb .media__value { display: none; }
/* Mixed grids (tall game covers + gift cards): tiles keep their natural height instead of stretching. */
.tile-grid:has(.tile--game):has(.tile:not(.tile--game)) { align-items: start; }

/* ───────────── Brands & zones ───────────── */
.zone-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.zone-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink-2); font: 500 14px var(--font); text-decoration: none; cursor: pointer; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: border-color .12s, background-color .12s, color .12s, box-shadow .2s; }
.zone-chip small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.zone-chip:hover { border-color: var(--accent); color: var(--ink); }
.zone-chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 600; }
.zone-links { display: flex; flex-wrap: wrap; gap: 8px; }
.zone-links .zone-chip { height: 32px; padding: 0 12px; font-size: 13.5px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.brand-tile { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; color: var(--ink); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: border-color .15s, box-shadow .3s, transform .3s var(--ease-out); }
.brand-tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.brand-tile:hover .media__img { transform: translateY(-4px) rotate(-1.5deg); }
.brand-tile__art { display: block; padding: 10px 10px 0; }
.brand-tile__art .media, .brand-tile__art .gc { border-radius: 12px; }
.brand-tile__art .media__value { display: none; }
.brand-tile__name { display: grid; place-items: center; aspect-ratio: 1.586; border-radius: 12px; background: var(--sunken); font: 700 20px var(--font); letter-spacing: -.02em; }
.brand-tile__body { display: grid; align-content: start; gap: 2px; padding: 12px 14px 14px; }
.brand-tile__body b { font-size: 16px; font-weight: 650; }
.brand-tile__body small { font-size: 13px; color: var(--ink-3); }
.brand-tile__zones { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--slime-ink); }
.brand-tile__count { position: absolute; top: 18px; left: 18px; padding: 3px 8px; border-radius: 6px; background: var(--surface-solid); font: 600 11.5px var(--font); color: var(--ink-2); box-shadow: var(--shadow-1); }
.brand-tile--sk { min-height: 230px; }
@media (max-width: 600px) {
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-tile__body small { display: none; }
  .zone-bar { margin-top: -6px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .zone-chip { flex: none; }
}
/* Crypto asset picker (checkout) */
.method__brands .cmark { display: block; }
.method__brands .cmark + .cmark { margin-left: -4px; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin: 0 18px 14px; }
.asset { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-solid); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .12s, background-color .12s; }
.asset span { display: grid; gap: 1px; min-width: 0; }
.asset b { font-size: 14px; font-weight: 600; }
.asset small { font: 500 11.5px var(--mono); color: var(--ink-3); }
.asset:hover { border-color: var(--ink-3); }
.asset.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.asset:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.methods:disabled .asset { opacity: .55; cursor: not-allowed; }
.cmark { flex: none; border-radius: 50%; }
@media (max-width: 600px) { .assets { margin: 0 10px 12px; grid-template-columns: 1fr 1fr; } }
/* Favourites */
.fav-btn { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface-solid); color: var(--ink-2); cursor: pointer; transition: color .12s, border-color .12s, transform .15s var(--ease-out); }
.fav-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.fav-btn:active { transform: scale(.92); }
.fav-btn.is-on { color: #e0452b; border-color: color-mix(in srgb, #e0452b 40%, transparent); }
.fav-btn.is-on .icon { animation: fav-pop .35s var(--ease-out); }
@keyframes fav-pop { 40% { transform: scale(1.3); } }
.fav-btn--inline { position: static; order: 99; margin-left: auto; }
.tile .tile__badges { right: auto; left: 18px; align-items: flex-start; }
.icon-btn__badge { position: absolute; top: 4px; right: 3px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 600 10px/1 var(--font); font-variant-numeric: tabular-nums; }

/* ───────────── Home intro: the Sluggy brand first ───────────── */
.intro { background: var(--surface); border-bottom: 1px solid var(--line); }
.intro__inner { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 76px) var(--gutter) clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.intro__word { display: flex; margin: 0; font: 700 clamp(68px, 11vw, 152px)/.88 var(--serif); letter-spacing: .005em; color: var(--ink); }
.intro__word span { display: inline-block; animation: letter-in .75s var(--ease-out) both; }
.intro__word span:nth-child(1) { animation-delay: .04s; }
.intro__word span:nth-child(2) { animation-delay: .1s; }
.intro__word span:nth-child(3) { animation-delay: .16s; }
.intro__word span:nth-child(4) { animation-delay: .22s; }
.intro__word span:nth-child(5) { animation-delay: .28s; }
.intro__word span:nth-child(6) { animation-delay: .34s; color: var(--accent); }
@keyframes letter-in { from { opacity: 0; transform: translateY(45%) rotate(-5deg); } }
.intro__tag { margin-top: 20px; max-width: 28ch; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink-2); animation: rise .6s .4s var(--ease-out) both; }
.intro .hero-search { margin-top: 26px; animation: rise .6s .5s var(--ease-out) both; }
.intro__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; animation: rise .6s .58s var(--ease-out) both; }
.intro__mascot { justify-self: center; width: min(400px, 100%); animation: mascot-in .9s .2s var(--ease-out) both; }
.intro__mascot .mascot { width: 100%; }
.intro__mascot .sg-aura { display: none; }
@keyframes mascot-in { from { opacity: 0; transform: translateX(36px) scale(.94); } }
.intro__promises { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.intro__promises li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); animation: rise .6s var(--ease-out) both; }
.intro__promises li:nth-child(1) { animation-delay: .62s; }
.intro__promises li:nth-child(2) { animation-delay: .7s; }
.intro__promises li:nth-child(3) { animation-delay: .78s; }
.intro__promises li:nth-child(4) { animation-delay: .86s; }
.intro__promises .icon { flex: none; margin-top: 1px; color: var(--accent); }
.intro__promises b { display: block; margin-bottom: 3px; font-size: 14.5px; font-weight: 600; }
.intro__promises span { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
/* The GTA banner now sits under the intro: a band, not the whole first screen. */
.campaign { min-height: clamp(460px, 56vh, 600px); }
@media (max-width: 900px) {
  .intro__inner { grid-template-columns: 1fr; }
  .intro__mascot { order: -1; width: 190px; justify-self: start; }
  .intro__promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .intro__word { font-size: 64px; }
  .intro__promises { grid-template-columns: 1fr; }
}
/* Fallback Sluggy card: flat and quiet (no decorative trail); the heart sits where the currency was. */
.gc { background: linear-gradient(160deg, var(--gc-a) 0%, color-mix(in srgb, var(--gc-b) 45%, var(--gc-a)) 100%); }
.gc__trail { display: none; }
.tile .gc__region, .brand-tile .gc__region { visibility: hidden; }
/* Banner with real key art: dark veil on the text side, the picture stays vivid. */
.campaign.has-art .campaign__bg img { object-position: 60% 50%; }
.campaign.has-art .campaign__veil, :root[data-theme="dark"] .campaign.has-art .campaign__veil { background:
  linear-gradient(90deg, rgb(18 8 22 / .82) 0%, rgb(24 10 30 / .6) 34%, rgb(30 12 36 / .18) 62%, transparent 82%),
  linear-gradient(0deg, rgb(18 8 22 / .55) 0%, transparent 35%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .campaign.has-art .campaign__veil { background: linear-gradient(90deg, rgb(18 8 22 / .82) 0%, rgb(24 10 30 / .6) 34%, rgb(30 12 36 / .18) 62%, transparent 82%), linear-gradient(0deg, rgb(18 8 22 / .55) 0%, transparent 35%); } }
.campaign.has-art .campaign__title { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.campaign.has-art .campaign__sub { color: rgb(255 255 255 / .86); }
.campaign.has-art .campaign__kicker { background: rgb(255 255 255 / .94); color: #b8500c; border-color: transparent; }
.campaign.has-art .campaign__kicker time { color: #4a3a30; }
.campaign.has-art .countdown__cell { background: rgb(255 255 255 / .94); border-color: transparent; }
.campaign.has-art .countdown__cell b { color: #1c1712; }
.campaign.has-art .countdown__cell small { color: #6d645c; }
.campaign.has-art .offer-chip { background: rgb(255 255 255 / .94); border-color: transparent; color: #4a423b; }
.campaign.has-art .offer-chip b { color: #1c1712; }
.campaign.has-art .campaign__cta .btn-primary { --bg: #fff; --bg-hover: #f4efe9; --bg-active: #e9e2da; --fg: #1c1712; }
@media (max-width: 900px) {
  .campaign.has-art .campaign__veil, :root[data-theme="dark"] .campaign.has-art .campaign__veil { background: linear-gradient(180deg, rgb(18 8 22 / .5) 0%, rgb(18 8 22 / .78) 60%, rgb(18 8 22 / .88) 100%); }
  .campaign.has-art .campaign__bg img { object-position: 70% 50%; }
}
@media (max-width: 900px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .campaign.has-art .campaign__veil { background: linear-gradient(180deg, rgb(18 8 22 / .5) 0%, rgb(18 8 22 / .78) 60%, rgb(18 8 22 / .88) 100%); } }
/* Game packshots (cut-out boxes, transparent PNG): whole picture, shadow that follows the box. */
.media--cover .media__img, .media--cover[data-shape="card"] .media__img { width: auto; max-width: 78%; max-height: 86%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 14px 16px rgb(20 10 0 / .3)) drop-shadow(0 2px 3px rgb(20 10 0 / .2)); }
.tile:hover .media--cover .media__img, .pdp__art .media--cover:hover .media__img { box-shadow: none; filter: drop-shadow(0 20px 20px rgb(20 10 0 / .32)) drop-shadow(0 2px 3px rgb(20 10 0 / .2)); }
.palette__thumb .media--cover .media__img, .mini-lines__thumb .media--cover .media__img { max-width: 92%; max-height: 92%; filter: none; }
/* Banner packshot */
.campaign__cover .media { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.campaign__cover .media img { object-fit: contain; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)) drop-shadow(0 4px 8px rgb(0 0 0 / .25)); }
.campaign.has-art .campaign__inner:has(.campaign__cover) { grid-template-columns: minmax(0, 1fr) auto; }
.campaign.has-art .campaign__inner:not(:has(.campaign__cover)) { grid-template-columns: minmax(0, 1fr); }
/* Game tiles with a packshot: badges in a row above the box, the box sits lower. */
.tile--game:has(.media__img) .media__img { inset: 15% 0 3% 0; max-height: 82%; }
.tile--game:has(.media__img) .tile__badges { flex-direction: row; top: 18px; left: 18px; }
/* ───────────── Game box: sized to the picture, with a shrink-wrap (blister) light effect ───────────── */
.media--cover:has(.media__box) { container-type: size; }
.media--cover .media__box { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; filter: drop-shadow(0 14px 16px rgb(20 10 0 / .3)) drop-shadow(0 2px 3px rgb(20 10 0 / .2)); transition: transform .45s var(--ease-out); }
.tile--game .media--cover .media__box { inset: 12% 0 0 0; }
.media--cover .media__box .media__img { position: static; inset: auto; margin: 0; display: block; width: auto; height: auto; max-width: 74cqw; max-height: 84cqh; aspect-ratio: auto; object-fit: contain; border-radius: 3px; box-shadow: none; filter: none; transform: none; }
.tile--game .media--cover .media__box .media__img { max-height: 80cqh; }
.tile:hover .media--cover .media__box, .pdp__art .media--cover:hover .media__box { transform: translateY(-4px); }
.tile:hover .media--cover .media__img { transform: none; }

/* Plastic wrap: fixed reflections + a highlight that sweeps across on hover. */
.blister { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 22%, rgb(255 255 255 / .34) 27%, rgb(255 255 255 / .08) 31%, transparent 36%, transparent 61%, rgb(255 255 255 / .2) 64%, transparent 68%),
    linear-gradient(180deg, rgb(255 255 255 / .22) 0%, rgb(255 255 255 / 0) 16%, rgb(255 255 255 / 0) 82%, rgb(0 0 0 / .1) 100%),
    radial-gradient(120% 60% at 85% 4%, rgb(255 255 255 / .28), transparent 55%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4), inset 2px 0 0 rgb(255 255 255 / .28), inset -1px 0 0 rgb(0 0 0 / .12); }
.blister::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -80%; width: 60%; background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / .55) 50%, transparent 100%); transform: translateX(0) skewX(-12deg); opacity: 0; transition: transform .9s var(--ease-out), opacity .3s; }
.tile:hover .blister::after, .pdp__art .media:hover .blister::after, .campaign__cover:hover .blister::after { transform: translateX(330%) skewX(-12deg); opacity: 1; }

/* Banner packshot */
.campaign__cover .pack { position: relative; width: fit-content; margin-inline: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)) drop-shadow(0 4px 8px rgb(0 0 0 / .25)); transform: rotate(2.5deg); animation: cover-float 7s ease-in-out infinite; }
.campaign__cover .pack img { display: block; width: clamp(200px, 20vw, 280px); height: auto; border-radius: 4px; }
.campaign__cover .pack .blister { border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .blister::after { display: none; } }
/* Footer: accepted payment methods */
.footer-pay { margin-top: 20px; }
.footer-pay__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.footer-pay__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.footer-pay__marks .pm { height: 26px; min-width: 42px; }
.footer-pay__sep { width: 1px; height: 20px; margin: 0 4px; background: var(--line-2); }
.footer-pay__coin { display: inline-grid; place-items: center; }
.footer-pay__note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
/* Headings / main receive focus programmatically after navigation (screen readers): no visible ring there.
   Interactive elements keep their keyboard focus ring. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible, main:focus { outline: none; }

/* ───────────── Launch offer ───────────── */
.launch { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3vw, 28px) var(--gutter) 0; }
.launch__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 28px); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); }
.launch__tag { align-self: start; padding: 5px 10px; border-radius: 6px; background: var(--accent); color: #fff; font: 700 11.5px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.launch__title { font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; color: var(--paper); }
.launch__copy p { margin-top: 6px; font-size: 14px; color: color-mix(in srgb, var(--paper) 72%, transparent); }
.launch__actions { display: flex; align-items: center; gap: 16px; }
.launch__actions .btn-primary { --bg: var(--paper); --bg-hover: color-mix(in srgb, var(--paper) 88%, var(--ink)); --bg-active: color-mix(in srgb, var(--paper) 78%, var(--ink)); --fg: var(--ink); }
.launch__actions .link-arrow { color: var(--paper); font-size: 14px; }
.offer-meter { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); }
.offer-meter p { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.offer-meter progress { display: block; width: 100%; height: 6px; margin: 10px 0 8px; border: 0; border-radius: 4px; overflow: hidden; appearance: none; background: var(--sunken); }
.offer-meter progress::-webkit-progress-bar { background: var(--sunken); border-radius: 4px; }
.offer-meter progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; transition: width .3s; }
.offer-meter progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.offer-meter a { font-size: 12.5px; color: var(--ink-3); }
.offer-meter.is-done { border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: var(--ok-bg); color: var(--ok); }
.offer-meter.is-done progress::-webkit-progress-value { background: var(--ok); }
.offer-meter.is-done progress::-moz-progress-bar { background: var(--ok); }
.order > .callout { margin-bottom: 24px; }

/* ───────────── French services (PCS, Paysafecard) ───────────── */
.fr-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.fr-band__flag { display: inline-flex; margin-bottom: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fr-band__flag i { width: 12px; height: 18px; }
.fr-band__flag i:nth-child(1) { background: #0055a4; } .fr-band__flag i:nth-child(2) { background: #fff; } .fr-band__flag i:nth-child(3) { background: #ef4135; }
.fr-band__copy .muted { margin-top: 10px; font-size: 15px; }
.fr-band__cards { display: grid; gap: 10px; }
.fr-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); text-decoration: none; transition: border-color .15s, box-shadow .2s; }
.fr-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.fr-card__art .gc, .fr-card__art .media { border-radius: 8px; }
.fr-card__art .media__value, .fr-card__art .gc__value { display: none; }
.fr-card__body { display: grid; gap: 2px; }
.fr-card__body b { font-size: 17px; }
.fr-card__body small { color: var(--ink-3); font-size: 13px; }
.fr-card__body span { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--slime-ink); }

/* ───────────── Region checker ───────────── */
.checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(20px, 4vw, 48px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.checker__copy .muted { margin-top: 10px; font-size: 15px; }
.checker__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: end; }
.checker__form .field { margin: 0; }
.checker__result { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.checker__ok, .checker__ko { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.checker__ok { color: var(--ok); } .checker__ok b { color: var(--ink); }
.checker__ko { color: var(--warn); }
.checker__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; margin: 10px 0; }
.checker__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.checker__list a { text-decoration: none; }
.checker__list b { font-variant-numeric: tabular-nums; }

/* ───────────── Brand pages, crypto guide ───────────── */
.brand-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: 22px; }
.brand-head .lead { margin-top: 12px; }
.brand-head__range { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--slime-ink); }
.brand-page .zone-bar { margin: 0 0 22px; }
.brand-page .pdp-details { margin-top: 40px; }
.guide-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.guide-hero .lead { margin-top: 12px; }
.guide-hero__mascot { width: 120px; flex: none; }
.steps-list--big { margin: 0 0 28px; gap: 14px; }
.steps-list--big li { font-size: 15.5px; }
.crypto-table td { vertical-align: middle; }
.crypto-cell { display: inline-flex; align-items: center; gap: 8px; }
.crypto-cell small { color: var(--ink-3); font-family: var(--mono); }
.crypto-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px 20px; margin: 18px 0 0; }
.crypto-notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.crypto-notes .cmark { margin-top: 1px; }

/* ───────────── Family tiles (all amounts of a card), alerts ───────────── */
.tile--family .media__value, .tile--family .gc__value { display: none; }
.tile__amounts { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; line-height: 1.4; }
.price__from { display: block; font-size: 11.5px; color: var(--ink-3); text-align: left; }
.tile--family .price { justify-items: start; }
.buybox__alert { margin-top: 12px; }
.link-btn.buybox__alert { color: var(--ink-2); font-size: 13.5px; }
.warn-text { color: var(--warn); }
@media (max-width: 900px) {
  .launch__inner { grid-template-columns: 1fr; }
  .fr-band, .checker, .brand-head { grid-template-columns: 1fr; }
  .guide-hero__mascot { display: none; }
}
@media (max-width: 600px) {
  .checker__form { grid-template-columns: 1fr; }
  .fr-card { grid-template-columns: 84px minmax(0, 1fr) auto; }
}
/* Game boxes shown large: the packshot fills its frame (tiles and product page). */
.tile--game .media--cover .media__box .media__img { max-width: 84cqw; max-height: 84cqh; }
.tile--game .media--cover .media__box { inset: 10% 0 0 0; }
.pdp__art .media--cover .media__box .media__img { max-width: 90cqw; max-height: 92cqh; }
/* Launch offer: its own band with equal breathing room above and below (never touching the GTA banner). */
.launch { padding: clamp(20px, 3vw, 32px) var(--gutter); }

/* Brand marks (the brand's own uploaded card visual, shown small) */
.fr-band__logos { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fr-band__logos .fr-band__flag { margin-bottom: 0; }
.fr-band__logo { width: 64px; height: auto; aspect-ratio: 1.586; object-fit: cover; border-radius: 6px; box-shadow: 0 1px 2px rgb(20 15 10 / .12), 0 0 0 1px var(--line); }

/* ═══════════════════════════════════════════════════════════════
   ENHANCEMENTS — 100-point upgrade
   ═══════════════════════════════════════════════════════════════ */

/* ── Page transitions ── */
#main > section, #main > .page, #main > .checkout, #main > .auth {
  animation: pageIn .4s var(--ease-out) both;
}
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }

/* ── Compact header on scroll ── */
html.scrolled .header-inner { height: 52px; }
html.scrolled .brand__word { font-size: 19px; }
html.scrolled .brand__img { height: 38px; }
html.scrolled .search-trigger { height: 38px; font-size: 14px; }
html.scrolled .subnav { --subnav-h: 38px; }
html.scrolled .subnav a, html.scrolled .subnav__all { height: 28px; font-size: 13px; }
.header-inner, .brand__word, .brand__img, .search-trigger, .subnav, .subnav a, .subnav__all {
  transition: height .25s var(--ease), font-size .25s var(--ease);
}

/* ── Toast mobile: higher position ── */
@media (max-width: 600px) {
  .toast-region { bottom: 72px; }
}

/* ── Dark mode image polish ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .media:has(.media__img) .media__img,
  :root:not([data-theme="light"]) .tile .gc {
    box-shadow: 0 12px 24px -10px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .06);
  }
}
:root[data-theme="dark"] .media:has(.media__img) .media__img,
:root[data-theme="dark"] .tile .gc {
  box-shadow: 0 12px 24px -10px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .06);
}

/* ── Stock indicator bar ── */
.stock-bar { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; }
.stock-bar__track { flex: 1; max-width: 80px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stock-bar__fill { height: 100%; border-radius: 4px; transition: width .4s var(--ease); }
.stock-bar--high .stock-bar__fill { background: var(--ok); }
.stock-bar--med .stock-bar__fill { background: var(--warn); }
.stock-bar--low { color: var(--danger); }
.stock-bar--low .stock-bar__fill { background: var(--danger); animation: stock-pulse 1.5s ease-in-out infinite; }
@keyframes stock-pulse { 50% { opacity: .5; } }

/* ── Badge "Nouveau" / "Populaire" ── */
.badge--new { background: var(--ok-bg); color: var(--ok); }
.badge--popular { background: var(--accent-soft); color: var(--slime-ink); }
.badge--verified { background: var(--ok-bg); color: var(--ok); }

/* ── Back-to-top button ── */
.back-top { position: fixed; z-index: 35; right: 24px; bottom: 24px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface-solid); color: var(--ink-2); box-shadow: var(--shadow-2); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), background-color .15s; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--sunken); color: var(--ink); }
@media (max-width: 600px) { .back-top { right: 16px; bottom: 80px; width: 40px; height: 40px; } }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Guarantee banner ── */
.guarantee { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.guarantee__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius); background: var(--ok-bg); color: var(--ok); font-size: 14px; font-weight: 600; text-align: center; }
.guarantee__inner .icon { flex: none; }

/* ── Trustbar (below intro promises) ── */
.trustbar { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.trustbar__item { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-left: 1px solid var(--line); }
.trustbar__item:first-child { border-left: 0; }
.trustbar__item .icon { flex: none; color: var(--ok); }
.trustbar__num { font: 700 20px/1.1 var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.trustbar__label { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 600px) {
  .trustbar__inner { grid-template-columns: 1fr 1fr; }
  .trustbar__item:nth-child(odd) { border-left: 0; }
  .trustbar__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Testimonials ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.testimonial { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.testimonial__stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 10px; }
.testimonial__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.testimonial__author { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--slime-ink); font: 600 15px var(--font); }
.testimonial__meta { display: grid; gap: 1px; }
.testimonial__meta b { font-size: 14px; font-weight: 600; }
.testimonial__meta small { font-size: 12px; color: var(--ink-3); }

/* ── How it works (3 steps) ── */
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hiw-step { position: relative; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.hiw-step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 18px var(--font); }
.hiw-step h3 { font-size: 17px; margin-bottom: 6px; }
.hiw-step p { font-size: 14px; color: var(--ink-3); }
.hiw-step__arrow { position: absolute; right: -24px; top: 50%; translate: 0 -50%; color: var(--line-2); z-index: 1; }
.hiw-step:last-child .hiw-step__arrow { display: none; }
@media (max-width: 900px) { .how-it-works { grid-template-columns: 1fr; } .hiw-step__arrow { display: none; } }

/* ── Checkout stepper (progress bar) ── */
.checkout-stepper { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.checkout-stepper__step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.checkout-stepper__dot { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); font: 600 12px var(--font); background: var(--surface); transition: all .2s; }
.checkout-stepper__step.is-active { color: var(--ink); font-weight: 600; }
.checkout-stepper__step.is-active .checkout-stepper__dot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.checkout-stepper__step.is-done .checkout-stepper__dot { background: var(--ok); color: #fff; border-color: var(--ok); }
.checkout-stepper__line { flex: 1; height: 2px; margin: 0 10px; background: var(--line); border-radius: 2px; min-width: 20px; }
.checkout-stepper__step.is-done + .checkout-stepper__line { background: var(--ok); }

/* ── Reservation timer (checkout) ── */
.reservation-timer { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); color: var(--warn); font-size: 13.5px; font-weight: 500; }
.reservation-timer .icon { flex: none; }
.reservation-timer b { font: 600 16px var(--mono); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.reservation-timer.is-urgent { background: var(--danger-bg); border-color: color-mix(in srgb, var(--danger) 25%, transparent); color: var(--danger); }

/* ── SSL/security badge in checkout ── */
.security-badge { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.security-badge .icon { color: var(--ok); }

/* ── Cross-sell strip ── */
.cross-sell { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.cross-sell__title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.cross-sell__grid { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cross-sell__grid::-webkit-scrollbar { display: none; }
.cross-sell__item { flex: none; width: 150px; display: grid; gap: 6px; text-decoration: none; }
.cross-sell__item .gc, .cross-sell__item .media { border-radius: 10px; }
.cross-sell__item b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cross-sell__item small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ── Undo toast action ── */
.toast__undo { color: var(--slime); font-weight: 600; background: none; border: none; cursor: pointer; white-space: nowrap; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ── Product breadcrumbs ── */
.breadcrumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; font-size: 13px; color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs__sep { font-size: 10px; }

/* ── Product quantity selector ── */
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qty-row .stepper { flex: none; }
.qty-row__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

/* ── Product share buttons ── */
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.share-row__label { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.share-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--ink-2); transition: border-color .12s, color .12s; }
.share-btn:hover { border-color: var(--ink-3); color: var(--ink); }

/* ── Star ratings (cosmetic) ── */
.stars { display: inline-flex; gap: 1px; }
.stars__star { color: #f59e0b; }
.stars__star--empty { color: var(--line-2); }
.stars__count { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.tile .stars { margin-top: 2px; }

/* ── Sort & filter bar enhancements ── */
.shop-bar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort-select { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.sort-select:hover { border-color: var(--ink-3); }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--sunken); }
.view-toggle__btn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; transition: background .15s, color .15s; }
.view-toggle__btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.tile-grid--list { grid-template-columns: 1fr; }
.tile-grid--list .tile { grid-template-columns: 160px 1fr; grid-template-rows: auto; }
.tile-grid--list .tile__body { padding: 16px 18px; }
.tile-grid--list .tile__media { padding: 8px; }

/* ── Search history ── */
.palette__history { padding: 8px 14px 4px; }
.palette__history-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.palette__history-list { display: flex; flex-wrap: wrap; gap: 6px; }
.palette__history-item { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); cursor: pointer; transition: border-color .12s; }
.palette__history-item:hover { border-color: var(--ink-3); color: var(--ink); }

/* ── Price range filter ── */
.price-range { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.price-range input[type="range"] { flex: 1; accent-color: var(--accent); }
.price-range__value { min-width: 48px; font-size: 13px; font-weight: 500; color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; }

/* ── Mini cart dropdown ── */
.mini-cart { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow-3); z-index: 50; animation: dialog-in .2s var(--ease-out); }
.mini-cart__empty { text-align: center; padding: 20px 0; color: var(--ink-3); font-size: 14px; }
.mini-cart__footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mini-cart__total { font: 600 16px var(--font); }
@media (max-width: 600px) { .mini-cart { display: none; } }

/* ── Footer payment badges bigger ── */
.footer-pay__marks .pm { height: 30px; min-width: 48px; font-size: 12px; border-width: 1.5px; }
.footer-pay__marks .pm--mc i { width: 15px; height: 15px; }

/* ── Footer trust section ── */
.footer-trust { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-trust__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.footer-trust__badge .icon { color: var(--ok); }

/* ── Bolt icon pulse (livraison instantanée) ── */
.intro__promises li:first-child .icon { animation: bolt-pulse 2s ease-in-out infinite; }
@keyframes bolt-pulse { 0%, 100% { color: var(--accent); } 50% { color: var(--warn); filter: drop-shadow(0 0 6px var(--glow)); } }
@media (prefers-reduced-motion: reduce) { .intro__promises li:first-child .icon { animation: none; } }

/* ── About / How it works page ── */
.about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; margin-bottom: 48px; }
.about-hero__visual { display: grid; place-items: center; padding: 40px; border-radius: var(--radius-xl); background: var(--accent-soft); }
.about-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.about-value { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.about-value .icon { color: var(--accent); margin-bottom: 12px; }
.about-value h3 { font-size: 16px; margin-bottom: 6px; }
.about-value p { font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__visual { order: -1; } }
.brand-head__logo { display: block; width: 96px; height: auto; aspect-ratio: 1.586; object-fit: cover; margin-bottom: 16px; border-radius: 8px; box-shadow: 0 6px 16px -8px rgb(20 15 10 / .3), 0 0 0 1px var(--line); }
/* Links inside a payment method row sit above the row-wide invisible radio, so they stay clickable. */
.method__text a { position: relative; z-index: 1; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.method__text a:hover { color: var(--accent); }

/* Favourite heart in the card body (top right), clear of the picture and the amount printed on gift cards. */
.tile__body { position: relative; }
.tile__body > .fav-btn { top: 8px; right: 10px; width: 30px; height: 30px; }
.tile__body > .tile__platform, .tile__body > .tile__name { padding-right: 38px; }

/* Product page: what the customer gets, and how they can pay. */
.assurances { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.assurances li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.assurances li > .icon { flex: none; margin-top: 2px; color: var(--ink); }
.assurances b { display: block; color: var(--ink); font-weight: 600; }
.pdp-pay { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pdp-pay__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.terms-list { margin: 10px 0 12px; padding-left: 20px; display: grid; gap: 6px; list-style: disc; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.terms-list li::marker { color: var(--ink-3); }

/* Home: one row of amounts per brand. */
.brand-row__title { display: inline-flex; align-items: center; gap: 2px; color: inherit; text-decoration: none; }
.brand-row__title:hover { color: var(--accent-ink); }
.brand-row + .brand-row { margin-top: 0; }
@media (min-width: 900px) { .brand-row .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.drawer__title a { color: inherit; text-decoration: none; }
.drawer__title a:hover { color: var(--ink); }

/* Real card scheme logos (Visa, Mastercard, CB). */
.pm-logo { display: block; width: auto; height: 26px; border-radius: 4px; }
/* Payment card logo inside Sluggy Pay verification cards: centered, bigger, with a soft chip background. */
.verify-card .pm-logo { height: 34px; width: auto; margin: 6px auto 14px; padding: 8px 16px; background: var(--surface-2, #f7f5f2); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 8px rgb(20 10 0 / .06); display: block; }
.pm-logo--cb { border-radius: 3px; }
.method .pm-logo { height: 22px; }
/* ───────────── Home top, reworked: one continuous warm surface instead of four stacked bands ───────────── */
/* Intro fades from white into the page paper through a soft Sluggy orange, no hard border. */
.intro { border-bottom: 0; background:
  radial-gradient(70% 90% at 82% 30%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 70%),
  linear-gradient(180deg, var(--surface) 0%, var(--surface) 55%, var(--paper) 100%); }
:root[data-theme="dark"] .intro { background: radial-gradient(70% 90% at 82% 30%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .intro { background: radial-gradient(70% 90% at 82% 30%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); } }

/* Promises: white cards that stand out, icon in a soft orange badge, readable body text. */
.intro__promises li { align-items: flex-start; padding: 18px; border-color: var(--line); background: var(--surface); box-shadow: 0 1px 2px rgb(28 23 18 / .04), 0 8px 24px -16px rgb(28 23 18 / .18); }
.intro__promises .icon { box-sizing: content-box; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--slime-ink); margin-top: 0; }
.intro__promises b { color: var(--ink); font-size: 15px; }
.intro__promises span { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }

/* Launch offer: Sluggy's translucent orange instead of a black slab; dark text, ink button. */
.launch { padding: clamp(8px, 1.5vw, 16px) var(--gutter) clamp(28px, 4vw, 44px); }
.launch__inner { position: relative; overflow: hidden; background:
  radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 70%),
  linear-gradient(120deg, var(--accent-soft) 0%, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); color: var(--ink); box-shadow: 0 10px 30px -22px color-mix(in srgb, var(--accent) 80%, transparent); }
.launch__title { color: var(--ink); }
.launch__copy p { color: var(--ink-2); }
.launch__tag { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .launch__tag { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .launch__tag { color: var(--accent-ink); } }
.launch__actions .btn-primary { --bg: var(--ink); --bg-hover: color-mix(in srgb, var(--ink) 88%, var(--accent)); --bg-active: color-mix(in srgb, var(--ink) 78%, var(--accent)); --fg: var(--paper); }
.launch__actions .link-arrow { color: var(--ink); }.launch__tag { justify-self: start; }
.brand-head__logo--tall { width: 48px; aspect-ratio: 656 / 1038; object-fit: contain; border-radius: 6px; }

/* Cart lines show the real card picture (same treatment as the small thumbnails elsewhere). */
.line__thumb .media { border-radius: 10px; aspect-ratio: 1.586; }
.line__thumb .media--cover { aspect-ratio: 3 / 4; }
.line__thumb .media--card[data-shape="tall"] { aspect-ratio: 3 / 4; }
.line__thumb .media .media__img { max-width: 86%; max-height: 82%; border-radius: 4px; box-shadow: 0 2px 6px rgb(110 40 0 / .22); }
.line__thumb .media--cover .media__img, .line__thumb .media--card[data-shape="tall"] .media__img { max-width: 92%; max-height: 92%; }
.line__thumb .media::before, .line__thumb .media::after { display: none; }
.line__thumb .media__value { display: none; }
/* Showcase payment form (no provider connected yet). */
.preview .methods { margin-top: 26px; border: 0; padding: 0; }
.preview .methods legend { margin-bottom: 12px; }
.preview .consents { margin-top: 18px; }
.input--mono { font-family: var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cardform { display: grid; gap: 14px; padding: 4px 18px 18px; }
.cardform .grid-2 { gap: 14px; }
.cardform__number { position: relative; display: block; }
.cardform__number .input { padding-right: 104px; }
.cardform__brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 12px/1 var(--font); letter-spacing: .02em; color: var(--ink-2); }
.cryptoform { padding: 0 18px 18px; }
.cryptoform__rows { display: grid; gap: 8px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.cryptoform__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cryptoform__rows dt { color: var(--ink-3); }
.cryptoform__rows dd { margin: 0; font-weight: 600; text-align: right; }
.cryptoform__rows dd.muted { font-weight: 400; }
.preview .assets { padding: 0 18px 12px; }/* Consent text sits beside its box (the long sentence used to wrap under it). */
.consents .check > span:not(.field__error) { flex: 1 1 0; min-width: 0; }

/* Crypto receiving address (showcase payment form). */
.cryptoform__address { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.cryptoform__label { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.cryptoform__value { font: 500 14px/1.45 var(--mono); color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.cryptoform__warn { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cryptoform__warn .icon { flex: none; margin-top: 2px; color: #b8500c; }
/* Server-rendered text for search engines: kept in the HTML, never flashed on screen while the app starts.
   Shown only if the app has not replaced it after 2 s (JavaScript off or failed). */
.seo-prerender { opacity: 0; animation: seo-fallback 0s linear 2s forwards; }
@keyframes seo-fallback { to { opacity: 1; } }

/* ── Chatbot widget ─────────────────────────────────────────── */
.chat-bubble {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / .18);
  transition: transform .15s, opacity .15s;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

.chat-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 901;
  width: 370px; max-width: calc(100vw - 24px); height: 520px; max-height: calc(100dvh - 40px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgb(0 0 0 / .18);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .2s, transform .2s;
}
.chat-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

.chat-panel__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--accent); color: var(--accent-ink);
}
.chat-panel__head b { flex: 1; font-size: 14px; font-weight: 600; }
.chat-panel__status { display: flex; align-items: center; gap: 5px; font-size: 11px; opacity: .85; }
.chat-panel__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chat-panel__close {
  background: none; border: none; color: inherit; font-size: 22px;
  cursor: pointer; line-height: 1; padding: 0 2px; opacity: .7;
}
.chat-panel__close:hover { opacity: 1; }

.chat-panel__body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}

.chat-msg { display: flex; }
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg__bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.45; word-break: break-word;
}
.chat-msg--bot .chat-msg__bubble {
  background: var(--sunken); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--accent); color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}

.chat-panel__options {
  display: flex; flex-direction: column; gap: 5px; padding: 8px 14px;
  max-height: 220px; overflow-y: auto;
}
.chat-panel__options:empty { padding: 0; }
.chat-opt {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 14px; font-size: 13px;
  color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
  text-align: left; line-height: 1.4; width: 100%;
}
.chat-opt:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chat-opt--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chat-opt--primary:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chat-contact { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.chat-contact input, .chat-contact textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; background: var(--surface); color: var(--ink); font-family: inherit; outline: none; }
.chat-contact input:focus, .chat-contact textarea:focus { border-color: var(--accent); }
.chat-contact textarea { min-height: 70px; resize: vertical; }
.chat-contact__actions { display: flex; gap: 6px; }
.chat-contact__actions .chat-opt { flex: 1; text-align: center; }

/* ───────────── UX polish ───────────── */
@media (min-width: 601px) and (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .variants__list { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; flex-wrap: nowrap !important; }
  .variants__list::-webkit-scrollbar { display: none; }
  .variants__list .variant { scroll-snap-align: start; flex: none; }
}
.chat-panel__input {
  display: flex; gap: 6px; padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.chat-panel__input input {
  flex: 1; border: 1px solid var(--line); border-radius: 18px;
  padding: 7px 14px; font-size: 13px; background: var(--surface);
  color: var(--ink); outline: none;
}
.chat-panel__input input:focus { border-color: var(--accent); }
.chat-panel__input button {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.chat-panel__input button:hover { background: var(--accent-hover); }

.chat-gauge { width: 100%; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 6px 0 4px; }
.chat-gauge__fill { width: 0; height: 100%; border-radius: 4px; background: var(--accent); animation: chatGauge 2.8s ease-in-out forwards; }
.chat-gauge__label { font-size: 12px; color: var(--ink-3); }
@keyframes chatGauge { 0% { width: 0; } 60% { width: 70%; } 100% { width: 100%; } }

.chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3);
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: scale(.85); } 30% { opacity: 1; transform: scale(1); } }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 16px); right: 8px; bottom: 8px; height: calc(100dvh - 16px); max-height: none; border-radius: var(--radius); }
  .chat-bubble { bottom: 14px; right: 14px; width: 48px; height: 48px; }
}

/* ─── Order confirmation (paid) ─── */
.confirm { max-width: 780px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 60px; }
.confirm__hero { text-align: center; padding: 40px 20px 32px; margin-bottom: 36px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--line); }
.confirm__mascot { display: inline-block; margin-bottom: 12px; }
.confirm__mascot .mascot { width: 80px; }
.confirm__check { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 16px; animation: confirm-pop .5s var(--ease-out); }
@keyframes confirm-pop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.confirm__title { font: 700 clamp(24px, 5vw, 34px)/1.15 var(--serif); margin: 0 0 12px; }
.confirm__lead { font-size: 15px; color: var(--ink-2); max-width: 520px; margin: 0 auto 16px; line-height: 1.5; }
.confirm__badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.confirm__badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.confirm__badge--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.confirm__ref { font: 500 13px var(--mono); color: var(--ink-3); }

.confirm__codes { margin-bottom: 36px; }
.confirm__codes .h2 { margin-bottom: 6px; }
.confirm__codes .muted { margin-bottom: 20px; font-size: 14px; }
.confirm__cards { display: grid; gap: 16px; }

.code-card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); transition: box-shadow .2s; }
.code-card:hover { box-shadow: var(--shadow-2); }
.code-card__visual { display: grid; place-items: center; }
.code-card__img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 1.586; object-fit: cover; }
.code-card__placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 1.586; border-radius: 10px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); }
.code-card__mono { font: 700 28px var(--serif); color: var(--accent-ink); }
.code-card__info { display: grid; align-content: start; gap: 12px; }
.code-card__name { font: 650 17px/1.3 var(--font); margin: 0; }
.code-card__code-wrap { display: grid; gap: 6px; padding: 14px; border-radius: 10px; background: var(--sunken); }
.code-card__label { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.code-card__code { font: 700 18px/1.3 var(--mono); color: var(--accent); letter-spacing: .04em; word-break: break-all; user-select: all; }
.code-card__copy { justify-self: start; }
.code-card__copy.is-copied { background: var(--ok); color: #fff; border-color: var(--ok); }
.code-card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.code-card__status { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; }

.confirm__recap { margin-bottom: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.confirm__recap .h2 { margin-bottom: 16px; }
.recap-grid { display: grid; gap: 0; margin: 0; }
.recap-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap-grid > div:last-child { border-bottom: 0; }
.recap-grid dt { color: var(--ink-3); min-width: 0; }
.recap-grid dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; word-break: break-word; }

.confirm__thanks { text-align: center; padding: 28px 20px; margin-bottom: 28px; border-radius: var(--radius-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%, var(--surface) 100%); border: 1px solid var(--line); }
.confirm__thanks-mascot { display: inline-block; margin-bottom: 8px; }
.confirm__thanks h2 { font: 650 20px/1.3 var(--serif); margin: 0 0 8px; }
.confirm__thanks p { font-size: 14px; color: var(--ink-2); margin: 0 0 6px; line-height: 1.5; }
.confirm__warn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }

.confirm__support { text-align: center; padding: 24px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.confirm__support h2 { font: 650 18px/1.3 var(--font); margin: 0 0 8px; }
.confirm__support p { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
.confirm__support-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .code-card { grid-template-columns: 1fr; }
  .code-card__visual { max-width: 200px; justify-self: center; }
  .confirm__hero { padding: 28px 16px 24px; }
  .confirm__title { font-size: clamp(22px, 6vw, 28px); }
}