:root {
  color-scheme: dark;
  --bg: #101214; --paper: #1a1d20; --raised: #25282c;
  --ink: #f5f6f4; --muted: #a3aaad; --line: #303438;
  --accent: #91b5cf; --accent-ink: #132433; --soft: #22313d;
  --smoke: 175 181 188; --smoke-opacity: .16; --round: 20px;
  --z-safe-top: calc(max(env(safe-area-inset-top, 0px), var(--z-system-top, var(--tg-safe-area-inset-top, 0px))) + var(--z-content-top, var(--tg-content-safe-area-inset-top, 0px)));
  --z-safe-bottom: calc(max(env(safe-area-inset-bottom, 0px), var(--z-system-bottom, var(--tg-safe-area-inset-bottom, 0px))) + var(--z-content-bottom, var(--tg-content-safe-area-inset-bottom, 0px)));
  --z-safe-left: calc(max(env(safe-area-inset-left, 0px), var(--z-system-left, var(--tg-safe-area-inset-left, 0px))) + var(--z-content-left, var(--tg-content-safe-area-inset-left, 0px)));
  --z-safe-right: calc(max(env(safe-area-inset-right, 0px), var(--z-system-right, var(--tg-safe-area-inset-right, 0px))) + var(--z-content-right, var(--tg-content-safe-area-inset-right, 0px)));
  --z-page-height: var(--z-viewport-height, var(--tg-viewport-stable-height, 100dvh));
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.45; -webkit-tap-highlight-color: transparent;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f8; --paper: #fff; --raised: #edf0f2;
  --ink: #171b1d; --muted: #606b73; --line: #e1e5e8; --soft: #e4edf4;
  --accent: #456b86; --accent-ink: #fff;
  --smoke: 65 73 83; --smoke-opacity: .14;
}
:root[data-accent="violet"] { --accent: #b9a2f9; --accent-ink: #211139; --soft: #2c253c; }
:root[data-theme="light"][data-accent="violet"] { --soft: #eee8fa; }
* { box-sizing: border-box; }
html, body { touch-action: pan-x pan-y; }
body { margin: 0; background: var(--bg); color: var(--ink); isolation: isolate; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .42; cursor: default; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button svg { pointer-events: none; }
svg { display: block; width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ui-icon { stroke-width: 2; }
.ui-icon > * { vector-effect: non-scaling-stroke; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.sheet-open { overflow: hidden; }

/* Bounded, soft layers follow closed paths, without resets or a JS frame loop. */
.ambient-smoke { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; }
.ambient-smoke::before, .ambient-smoke::after {
  content: ""; position: absolute; inset: -15%; opacity: var(--smoke-opacity);
  background:
    radial-gradient(ellipse 45% 22% at 13% 24%, rgb(var(--smoke) / .8), transparent 76%),
    radial-gradient(ellipse 28% 40% at 69% 52%, rgb(var(--smoke) / .55), transparent 78%),
    radial-gradient(ellipse 48% 23% at 37% 86%, rgb(var(--smoke) / .7), transparent 80%);
  filter: blur(20px); animation: smoke-drift 48s ease-in-out infinite;
}
.ambient-smoke::after {
  background:
    radial-gradient(ellipse 48% 29% at 88% 18%, rgb(var(--smoke) / .6), transparent 78%),
    radial-gradient(ellipse 48% 25% at 20% 62%, rgb(var(--smoke) / .55), transparent 78%);
  animation-name: smoke-return; animation-duration: 64s; animation-delay: -19s;
}
@keyframes smoke-drift {
  0%, 100% { transform: translate3d(-2%, -1%, 0) scale(1); }
  33% { transform: translate3d(3%, 2%, 0) scale(1.04); }
  66% { transform: translate3d(-1%, 4%, 0) scale(1.02); }
}
@keyframes smoke-return {
  0%, 100% { transform: translate3d(2%, 1%, 0) scale(1.03); }
  50% { transform: translate3d(-3%, -3%, 0) scale(1); }
}
:root[data-motion="paused"] .ambient-smoke::before,
:root[data-motion="paused"] .ambient-smoke::after { animation-play-state: paused; }

/* Original artwork is embedded complete in the shell; no network or JS reveal gate. */
.access-gate { position: relative; isolation: isolate; overflow: hidden; min-height: var(--z-page-height); width: 100%; margin: auto; padding: calc(50px + var(--z-safe-top)) max(28px, var(--z-safe-right)) calc(50px + var(--z-safe-bottom)) max(28px, var(--z-safe-left)); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: var(--bg); }
.access-gate h1 { font-size: 26px; font-weight: 700; letter-spacing: -.8px; margin: 8px 0 10px; }
.access-gate p:not(.eyebrow) { color: var(--muted); line-height: 1.65; max-width: 320px; margin: 0; }
.loader-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.loader-atmosphere::before, .loader-atmosphere::after { content: ''; position: absolute; left: 50%; top: 46%; width: min(120vw, 560px); height: min(75vh, 580px); border-radius: 50%; filter: blur(30px); opacity: .6; }
.loader-atmosphere::before { background: radial-gradient(ellipse at 30% 36%, #b87fa12b, transparent 57%), radial-gradient(ellipse at 62% 60%, #8d79bb33, transparent 65%); transform: translate3d(-56%, -55%, 0) rotate(-14deg); }
.loader-atmosphere::after { background: radial-gradient(ellipse at 66% 40%, #6aacc52b, transparent 60%), radial-gradient(ellipse at 32% 70%, #9384c025, transparent 62%); transform: translate3d(-44%, -45%, 0) rotate(14deg); }
:root[data-theme="light"] .loader-atmosphere::before, :root[data-theme="light"] .loader-atmosphere::after { opacity: .4; }
.loader-brand { position: relative; width: clamp(104px, 28vw, 120px); aspect-ratio: 1; flex-shrink: 0; margin-bottom: 26px; pointer-events: none; }
.loader-logo { display: block; width: 100%; height: 100%; user-select: none; }
.original-logo { object-fit: contain; border-radius: 50%; }
.access-gate p.loader-name { color: var(--ink); font-size: clamp(27px, 7vw, 31px); font-weight: 650; letter-spacing: -1.1px; line-height: 1.2; margin: 0 0 17px; }
.access-gate[data-state="loading"] .loader-title { color: var(--muted); font-size: 12px; line-height: 1.6; font-weight: 450; letter-spacing: 1.4px; margin: 0; }
.loader-lettering { display: inline-flex; }
.loader-lettering > span { display: inline-block; opacity: .7; }
.loader-track { position: relative; width: 76px; height: 2px; border-radius: 2px; margin-top: 22px; background: var(--line); overflow: hidden; }
.loader-track > span { display: block; width: 28px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, #b5a4ce 45%, #a1c7d4 65%, transparent); transform: translateX(24px); }
.access-gate[data-state="loading"] .loader-atmosphere::before { animation: loader-haze 20s ease-in-out infinite; }
.access-gate[data-state="loading"] .loader-atmosphere::after { animation: loader-haze-return 26s ease-in-out infinite; }
.access-gate[data-state="loading"] .loader-logo { animation: loader-float 5.6s ease-in-out infinite; }
.access-gate[data-state="loading"] .loader-lettering > span { animation: loader-letter-wave 3.2s cubic-bezier(.45, 0, .55, 1) infinite; }
.loader-lettering > span:nth-child(2) { animation-delay: .09s; }
.loader-lettering > span:nth-child(3) { animation-delay: .18s; }
.loader-lettering > span:nth-child(4) { animation-delay: .27s; }
.loader-lettering > span:nth-child(5) { animation-delay: .36s; }
.loader-lettering > span:nth-child(6) { animation-delay: .45s; }
.loader-lettering > span:nth-child(7) { animation-delay: .54s; }
.loader-lettering > span:nth-child(8) { animation-delay: .63s; }
.loader-lettering > span:nth-child(9) { animation-delay: .72s; }
.access-gate[data-state="loading"] .loader-track > span { animation: loader-travel 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.access-gate[data-state="message"] .loader-brand { width: 96px; margin-bottom: 20px; }
.access-gate[data-state="message"] .loader-atmosphere, .access-gate[data-state="message"] .loader-name, .access-gate[data-state="message"] .loader-track { display: none; }
@keyframes loader-haze { 0%, 100% { transform: translate3d(-56%, -55%, 0) rotate(-14deg); } 50% { transform: translate3d(-46%, -49%, 0) rotate(-5deg); } }
@keyframes loader-haze-return { 0%, 100% { transform: translate3d(-44%, -45%, 0) rotate(14deg); } 50% { transform: translate3d(-54%, -51%, 0) rotate(5deg); } }
@keyframes loader-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -3px, 0); } }
@keyframes loader-letter-wave { 0%, 55%, 100% { transform: translate3d(0, 0, 0); opacity: .7; } 25% { transform: translate3d(0, -2px, 0); opacity: 1; } }
@keyframes loader-travel { 0% { transform: translateX(-28px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(76px); opacity: 0; } }
:root[data-motion="paused"] .access-gate .loader-atmosphere::before,
:root[data-motion="paused"] .access-gate .loader-atmosphere::after,
:root[data-motion="paused"] .access-gate .loader-logo,
:root[data-motion="paused"] .access-gate .loader-lettering > span,
:root[data-motion="paused"] .access-gate .loader-track > span { animation-play-state: paused; }
.loading-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-top: 25px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

#app { max-width: 520px; margin: 0 auto; min-height: var(--z-page-height); display: flex; flex-direction: column; padding: var(--z-safe-top) var(--z-safe-right) 0 var(--z-safe-left); position: relative; }
.app-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 22px 20px 17px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-mark { width: 32px; height: 32px; display: block; object-fit: contain; flex-shrink: 0; background: transparent; border: 0; border-radius: 50%; padding: 0; transform: none; }
.wordmark { display: inline-flex; align-items: baseline; font-size: clamp(23px,6vw,28px); line-height: 1.2; font-weight: 750; letter-spacing: -1.1px; white-space: nowrap; }
/* The original logo's pink, violet, blue and cyan, without a glow or image overlay. */
.wordmark-zebra {
  color: #ae43ff;
  background: linear-gradient(115deg, #ff4fd8 0%, #ae43ff 25%, #6556ff 50%, #368bff 70%, #33d6ee 85%, #ff4fd8 100%);
  background-size: 220% 100%; background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; animation: wordmark-shimmer 12s ease-in-out infinite;
}
/* The same hues, deepened only for legibility on the light background. */
:root[data-theme="light"] .wordmark-zebra { color: #8531cc; background-image: linear-gradient(115deg, #b52393 0%, #8531cc 25%, #5543d6 50%, #2469c4 70%, #087d93 85%, #b52393 100%); }
@keyframes wordmark-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
:root[data-motion="paused"] .wordmark-zebra { animation-play-state: paused; }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-button svg { width: 19px; height: 19px; }
.test-banner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 20px 12px; color: var(--muted); font-size: 10px; }
.view-controls { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.fullscreen-trigger { min-width: 34px; justify-content: center; }
.test-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.test-tag::before { content: ""; height: 5px; width: 5px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.layout-switch { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 8px; color: var(--muted); font-size: 10px; min-height: 32px; display: flex; align-items: center; gap: 6px; }
.layout-switch svg { width: 13px; height: 13px; }
.main { padding: 0 18px 24px; flex: 1; min-width: 0; }
.eyebrow { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 650; color: var(--muted); margin: 0 0 12px; }

/* Full-bleed 3:1 artwork, native swipe; one bounded timer in app.js. */
.hero { min-width: 0; margin: 0 0 18px; }
.banner-track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 18px; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { display: block; flex: 0 0 100%; min-width: 0; aspect-ratio: 3 / 1; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #211a35; scroll-snap-align: center; scroll-snap-stop: always; }
.banner-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-slide:focus-visible { outline-offset: -3px; }
.banner-controls { display: flex; align-items: center; justify-content: center; margin-top: 3px; }
/* Also hide controls from an older document in flight during a static update. */
.banner-step, .banner-toggle { display: none; }
.banner-dots { display: flex; align-items: center; gap: 0; }
.banner-dot { display: flex; align-items: center; justify-content: center; width: 30px; height: 36px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--muted); }
.banner-dot span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .45; }
.banner-dot[aria-current="true"] { color: var(--accent); }
.banner-dot[aria-current="true"] span { opacity: 1; }
.primary { display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; background: var(--accent); color: var(--accent-ink); min-height: 46px; padding: 12px 16px; border-radius: 13px; font-weight: 650; }
.primary svg { width: 18px; height: 18px; }

.catalog-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 3px 4px 3px 14px; margin: 0 0 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); color: var(--muted); }
.catalog-search > svg { width: 19px; height: 19px; }
.catalog-search:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
#catalog-search { flex: 1; min-width: 0; width: 100%; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; -webkit-appearance: none; appearance: none; }
#catalog-search:focus-visible { outline: 0; }
#catalog-search::placeholder { color: var(--muted); opacity: 1; font-size: 14px; }
#catalog-search::-webkit-search-cancel-button, #catalog-search::-webkit-search-decoration { display: none; -webkit-appearance: none; }
.search-clear { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 11px; color: var(--muted); }
.search-clear svg { width: 17px; height: 17px; }
.results-count { flex-shrink: 0; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.search-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 10px 38px; text-align: center; }
.search-empty .empty-symbol { width: 60px; height: 60px; border-radius: 20px; }
.search-empty .empty-symbol svg { width: 25px; height: 25px; }
.search-empty h3 { margin: 0; font-size: 17px; font-weight: 650; }
.search-empty p { max-width: 265px; margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.search-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 5px; }
.secondary { min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 12px; }

.categories { display: flex; gap: 4px; background: var(--raised); padding: 4px; border-radius: 14px; margin-bottom: 20px; }
.category { border: 0; background: transparent; color: var(--muted); border-radius: 11px; min-height: 40px; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 550; padding: 7px 4px; }
.category svg { width: 16px; height: 16px; }
.category[aria-pressed="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 2px 5px #00000008; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.heading h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.45px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
.game-card { border: 0; position: relative; min-width: 0; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; background: transparent; color: var(--ink); }
.catalog-art { display: block; width: 100%; max-width: 126px; aspect-ratio: 1; border-radius: 22%; background: var(--paper); overflow: hidden; box-shadow: 0 5px 14px #00000012; }
.catalog-icon { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Keep the official portrait intact; frame the helmet at the top in square avatars. */
img[src*="/icons/pubg-pc.png"] { object-position: center top; }
.game-card strong { display: block; font-size: 12px; line-height: 1.3; letter-spacing: -.2px; font-weight: 650; margin-top: 9px; max-width: 100%; overflow-wrap: anywhere; }
.game-card small { display: block; font-size: 10px; line-height: 1.4; color: var(--muted); margin-top: 4px; max-width: 100%; }
:root[data-layout="compact"] .game-card small { display: none; }
:root[data-layout="compact"] .grid { row-gap: 18px; }
.chevron { margin-left: auto; color: var(--muted); width: 16px; height: 16px; }
.game-row { border: 1px solid var(--line); background: var(--paper); padding: 11px; border-radius: var(--round); display: flex; align-items: center; gap: 13px; min-height: 78px; width: 100%; text-align: left; }
.tile { display: flex; align-items: center; justify-content: center; background: var(--raised); color: var(--ink); width: 49px; height: 49px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.tile svg { width: 24px; height: 24px; }
.sheet-icon { width: 100%; height: 100%; object-fit: cover; }
.game-row strong { font-weight: 600; font-size: 14px; display: block; }
.game-row small { color: var(--muted); font-size: 11px; display: block; margin-top: 4px; }
.help { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 11px; justify-content: center; margin: 24px 0 0; }
.help svg { width: 15px; height: 15px; }

.bottom-nav { position: sticky; bottom: 0; z-index: 3; padding: 13px 10px max(15px, var(--z-safe-bottom)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--paper); border-top: 1px solid var(--line); margin-top: auto; }
.screen-back { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; margin: 0 0 6px; min-height: 44px; background: transparent; color: var(--muted); border: 0; font-size: 12px; }
.screen-back svg { width: 18px; height: 18px; }
.nav-button { border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; font-size: 10px; line-height: 1.2; min-width: 0; min-height: 48px; padding: 0; }
.nav-button > span:last-child { max-width: 100%; text-align: center; }
.nav-icon { width: 48px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 10px; line-height: 0; }
.nav-button svg { width: 24px; height: 24px; }
.nav-button[aria-current="page"] { color: var(--ink); }
.nav-button[aria-current="page"] .nav-icon { background: var(--accent); color: var(--accent-ink); }
.panel-title { font-size: 28px; font-weight: 700; letter-spacing: -.8px; line-height: 1.15; margin: 12px 0 23px; }
.empty-state { padding: 60px 15px; text-align: center; display: flex; align-items: center; flex-direction: column; gap: 13px; }
.empty-symbol { width: 74px; height: 74px; border-radius: 25px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.empty-symbol svg { width: 32px; height: 32px; }
.empty-state h2 { font-size: 18px; font-weight: 600; margin: 0; }
.empty-state p { max-width: 275px; margin: 0 0 8px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.bonus-card { border-radius: var(--round); background: var(--soft); padding: 26px 22px; margin-bottom: 18px; }
.bonus-card > svg { width: 37px; height: 37px; margin-bottom: 24px; }
.bonus-card h2 { font-size: 30px; font-weight: 700; letter-spacing: -1px; line-height: 1.14; margin: 0 0 14px; }
.bonus-card p:not(.eyebrow) { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.6; }
.percentage { font-size: 58px; font-weight: 750; letter-spacing: -3px; line-height: 1.3; margin-top: 22px; }
.note { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 15px 2px; }
.profile-header { display: flex; align-items: center; gap: 15px; margin: 12px 0 28px; }
.avatar { width: 60px; height: 60px; background: var(--soft); border-radius: 21px; display: flex; align-items: center; justify-content: center; }
.avatar svg { width: 27px; height: 27px; }
.profile-header h1 { font-size: 24px; letter-spacing: -.7px; margin: 0 0 4px; font-weight: 650; }
.profile-header p { margin: 0; font-size: 11px; color: var(--muted); }
.profile-row { display: flex; align-items: center; gap: 12px; min-height: 62px; width: 100%; padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; text-align: left; font-size: 13px; margin-bottom: 9px; }
.owner-status { display: flex; align-items: center; gap: 9px; background: var(--soft); padding: 14px; border-radius: 14px; font-size: 12px; margin-top: 18px; }
.owner-status svg { width: 18px; height: 18px; }

/* Real review archive UI: scoped styles, no borrowed artwork or invented scores. */
.reviews-page { padding: 9px 0 12px; }
.reviews-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(88px, 25vw, 108px); align-items: center; gap: 18px; min-height: 120px; text-align: left; margin-bottom: 24px; }
.reviews-intro-copy { min-width: 0; }
.reviews-mascot-stage { width: 100%; max-width: 120px; aspect-ratio: 1; justify-self: end; margin: 0; pointer-events: none; user-select: none; }
.reviews-intro h1 { font-size: clamp(23px, 6.3vw, 28px); font-weight: 700; letter-spacing: -.65px; line-height: 1.18; margin: 0 0 10px; }
.reviews-intro-copy > p { font-size: 12px; line-height: 1.7; color: var(--muted); max-width: 28ch; margin: 0; }
/* Whole selected illustration: static, transparent, and independent of the text column. */
.reviews-art { display: block; width: 100%; height: auto; fill: none; stroke: none; }
@media (max-width: 359px) {
 .reviews-intro { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; min-height: 144px; }
 .reviews-intro h1 { font-size: 23px; letter-spacing: -.55px; }
 .reviews-intro-copy > p { font-size: 11px; }
}
.reviews-invite { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 14px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.reviews-invite > div { min-width: 0; }
.reviews-invite strong { display: block; font-size: 12px; font-weight: 600; }
.reviews-invite > div > span { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 4px; }
.reviews-write { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--soft); color: var(--accent); min-height: 44px; padding: 10px; font-size: 10px; font-weight: 600; }
.reviews-write svg { width: 14px; height: 14px; }
.review-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 17px; background: var(--bg); }
.review-filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 60px; padding: 8px 4px; text-align: center; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 500; white-space: nowrap; }
.review-filter > strong { order: -1; display: block; max-width: 100%; min-width: 2ch; overflow: hidden; text-overflow: ellipsis; padding: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.review-filter > span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(10px, 2.65vw, 11px); line-height: 16px; }
.review-filter[aria-pressed="true"] { background: var(--soft); border-color: var(--line); color: var(--ink); }
.review-filter[aria-pressed="true"] > strong { color: var(--accent); }
.review-filter:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.review-count-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 11px 4px 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.review-count-summary[hidden] { display: none; }
.review-count-summary strong { margin-left: 5px; color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.review-count-summary small { font-size: 11px; }
.reviews-status { min-height: 16px; color: var(--muted); font-size: 10px; line-height: 16px; margin: 13px 1px 17px; }
.reviews-feed-body { min-height: 240px; }
.reviews-feed-body[aria-busy="true"] { visibility: hidden; pointer-events: none; }
.review-rating-change { margin-top: 14px; min-height: 44px; font-size: 12px; }
.review-rating-confirm { padding: 8px 0 24px; }
.review-rating-confirm h2 { margin: 10px 0 20px; font-size: 24px; line-height: 1.2; letter-spacing: -.6px; }
.review-rating-confirm > p { font-size: 13px; line-height: 1.7; }
.review-rating-quote { max-height: 240px; overflow-y: auto; margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-rating-actions { display: grid; gap: 10px; margin-top: 24px; }
.reviews-empty { text-align: center; padding: 28px 20px; border: 1px solid var(--line); background: var(--paper); border-radius: 19px; }
.reviews-empty-symbol { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--accent); background: var(--soft); margin-bottom: 16px; }
.reviews-empty-symbol svg { width: 20px; height: 20px; }
.reviews-empty h2 { font-size: 16px; line-height: 1.45; font-weight: 600; letter-spacing: -.3px; max-width: 270px; margin: 0 auto 10px; }
.reviews-empty p { font-size: 12px; line-height: 1.75; color: var(--muted); max-width: 290px; margin: 0 auto 18px; }
.reviews-empty .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 12px; }
.reviews-empty .secondary svg { width: 15px; height: 15px; }
.reviews-footnote { color: var(--muted); font-size: 10px; line-height: 1.8; text-align: center; margin: 18px 10px 0; }
.review-card { padding: 24px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.review-card:first-child { padding-top: 8px; }
.review-card:last-child { border-bottom: 0; }
.review-card:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.review-card-header { display: flex; align-items: center; gap: 11px; }
.review-avatar { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 16px; font-weight: 600; }
.review-avatar-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-avatar[data-tone="1"] { color: #b7a5ce; }
.review-avatar[data-tone="2"] { color: #8abfc6; }
:root[data-theme="light"] .review-avatar[data-tone="1"] { color: #7c639c; }
:root[data-theme="light"] .review-avatar[data-tone="2"] { color: #467d83; }
.review-avatar svg { width: 17px; height: 17px; }
.review-author { flex: 1; min-width: 0; }
.review-author-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.review-author strong { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; letter-spacing: -.15px; }
.review-author > span { font-size: 10px; margin-top: 4px; }
.review-verified { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.review-verified svg { width: 9px; height: 9px; stroke-width: 2.4; }
.review-origin { display: inline-block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.review-card time { align-self: flex-start; max-width: 106px; padding-top: 3px; font-size: 10px; line-height: 1.6; text-align: right; color: var(--muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.review-sentiment { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted); line-height: 1.5; margin-top: 0; }
.review-sentiment small { color: var(--muted); font-size: 9px; }
.review-sentiment svg { width: 14px; height: 14px; stroke-width: 2; }
.review-sentiment[data-sentiment="positive"] { color: #79e2a6; }
.review-sentiment[data-sentiment="negative"] { color: #ff9ba7; }
:root[data-theme="light"] .review-sentiment[data-sentiment="positive"] { color: #19683f; }
:root[data-theme="light"] .review-sentiment[data-sentiment="negative"] { color: #b5283e; }
.review-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; line-height: 1.75; margin: 17px 0 0; }
.review-text.is-collapsed { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-expand { color: var(--accent); padding: 8px 0; min-height: 44px; border: 0; background: transparent; font-size: 11px; }
.review-product, .review-product-summary { display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0; min-height: 62px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 9px 13px 9px 10px; margin-top: 17px; color: var(--ink); transition: background-color 160ms ease, border-color 160ms ease; }
.review-product-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; color: var(--accent); }
.review-product-icon > svg { width: 18px; height: 18px; }
.review-product-image { position: absolute; inset: 0; width: 38px; height: 38px; object-fit: contain; background: var(--paper); }
.review-product-copy { flex: 1; min-width: 0; }
.review-product-copy > strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.review-product small { display: block; font-size: 10px; color: var(--muted); font-weight: 400; line-height: 1.5; margin-top: 2px; }
.review-product .chevron { width: 15px; height: 15px; color: var(--muted); }
button.review-product:active { background: var(--soft); border-color: var(--accent); }
@media (max-width: 360px) {
 .review-card-header { gap: 9px; }
 .review-card time { max-width: 82px; font-size: 9px; }
 .review-author strong { font-size: 13px; }
 .review-sentiment { font-size: 9px; }
 .review-sentiment small { display: none; }
}
.reviews-more { width: 100%; min-height: 46px; color: var(--accent); font-size: 12px; }
/* Official replies remain visually attached to the customer's review. */
.review-shop-reply { margin: 18px 0 0 20px; padding: 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--paper); }
.review-shop-header { display: flex; align-items: center; gap: 9px; min-width: 0; }
.review-shop-avatar { display: block; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #08080c; }
.review-shop-header > div { flex: 1; min-width: 0; }
.review-shop-header strong { display: block; font-size: 12px; font-weight: 650; letter-spacing: -.1px; }
.review-shop-header span { display: block; margin-top: 2px; font-size: 10px; color: var(--accent); }
.review-shop-header time { align-self: center; padding: 0; max-width: 94px; font-size: 9px; line-height: 1.6; }
.review-shop-header time small { display: block; font-size: 9px; color: var(--muted); }
.review-reply-text { margin: 12px 0 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.75; }
.review-reply-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.review-reply-trigger { border: 0; background: transparent; min-height: 44px; padding: 10px 0 10px 14px; color: var(--accent); font-size: 11px; font-weight: 550; }
.review-reply-editor { max-width: 560px; margin: 0 auto; padding-bottom: 20px; }
.review-reply-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.review-reply-identity > img { display: block; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #08080c; }
.review-reply-identity h2 { margin: 0; font-size: 20px; letter-spacing: -.4px; line-height: 1.35; }
.review-reply-identity p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.review-reply-context { padding: 15px 17px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.review-reply-context > strong { font-size: 12px; font-weight: 600; }
.review-reply-context blockquote { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.review-reply-confirm { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.review-reply-confirm h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.3px; }
.review-reply-confirm p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.review-reply-confirm .secondary { width: 100%; margin-top: 8px; min-height: 44px; }
.review-reply-danger { color: #ff9ba7; }
:root[data-theme="light"] .review-reply-danger { color: #b5283e; }
@media (max-width: 360px) {
 .review-shop-reply { margin-left: 10px; padding: 13px; }
 .review-shop-header { gap: 7px; }
 .review-shop-header time { max-width: 76px; }
 .review-reply-identity h2 { font-size: 18px; }
}
/* Author-owned imported reviews and the private editorial queue. */
.reviews-actions:has([data-action="review-archive-queue"]) { flex-wrap: wrap; }
.archive-own { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.archive-own-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.archive-own-heading h2, .archive-own-heading h3 { margin: 0; font-size: 18px; letter-spacing: -.35px; }
.archive-own-card .secondary { margin-top: 14px; min-height: 44px; }
.archive-own-card .review-own-status { color: var(--muted); }
.archive-edition-status { font-size: 11px; color: var(--accent); line-height: 1.65; }
.archive-edit-editor { max-width: 560px; margin: 0 auto; padding-bottom: 20px; }
.archive-edit-editor h2 { margin: 0 0 18px; font-size: 25px; letter-spacing: -.6px; }
.archive-edit-editor [data-action="archive-edit-rating"][aria-pressed="true"] { background: var(--soft); border-color: var(--accent); color: var(--ink); }
.archive-moderation-card { padding: 20px; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.archive-moderation-card header > * { display: block; }
.archive-moderation-card header strong { font-size: 14px; }
.archive-moderation-card header span { margin-top: 5px; color: var(--accent); font-size: 12px; }
.archive-moderation-card header small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.archive-moderation-card details { padding: 16px 0; margin-top: 12px; border-top: 1px solid var(--line); }
.archive-moderation-card summary { cursor: pointer; color: var(--muted); font-size: 12px; min-height: 30px; }
.archive-proposed { padding-top: 16px; border-top: 1px solid var(--line); }
.archive-proposed h3 { margin: 0; font-size: 12px; color: var(--accent); }
.archive-proposed .review-text { margin-top: 10px; }
.archive-moderation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.archive-moderation-actions > button { flex: 1 1 150px; min-height: 44px; }
/* End reviews UI. */

/* Partnership information is a normal internal page, never a checkout. */
.partner-page { padding: 10px 0 8px; }
.partner-intro { margin-bottom: 26px; }
.partner-intro .eyebrow { font-size: 9px; letter-spacing: 1px; line-height: 1.6; max-width: 280px; }
.partner-intro h1 { margin: 0 0 16px; font-size: clamp(28px, 7.6vw, 38px); line-height: 1.13; letter-spacing: -1.2px; font-weight: 720; }
.partner-intro > p:last-child { font-size: 13px; line-height: 1.75; margin: 0; color: var(--muted); }
/* Live B2B artwork: selectable text, original logo and a real contact button. */
.partner-offer { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #ffffff12; border-radius: 22px; padding: clamp(22px,5.2vw,44px); margin-bottom: 30px; background: radial-gradient(ellipse at 100% 0%,#29203d55,transparent 62%),linear-gradient(135deg,#131620,#10131c); color: #f5f5f8; }
.partner-ribbons { position: absolute; z-index: -1; top: -1px; right: -1px; width: 64%; max-width: 390px; height: auto; opacity: .43; stroke: none; pointer-events: none; }
.partner-offer-content { position: relative; min-width: 0; }
.partner-offer h2 { position: relative; margin: 0 0 clamp(22px,5vw,34px); color: #f5f5f8; font-size: clamp(22px,6.2vw,42px); font-weight: 750; letter-spacing: -.045em; line-height: 1.13; overflow-wrap: anywhere; }
.partner-offer-copy { max-width: 42em; margin: 0; color: #c0c2ce; font-size: clamp(13px,3.1vw,18px); line-height: 1.7; }
.partner-brand-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; margin-top: clamp(28px,6vw,44px); }
.partner-brand-signature { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.partner-brand-signature img { display: block; width: clamp(28px,7vw,42px); height: clamp(28px,7vw,42px); flex: 0 0 auto; border-radius: 50%; }
.partner-brand-name { display: inline-flex; align-items: baseline; color: #f5f5f8; font-size: clamp(17px,4.6vw,29px); font-weight: 750; letter-spacing: -.045em; line-height: 1.25; white-space: nowrap; }
.partner-brand-client { display: inline-flex; align-items: center; gap: 11px; color: #bec0cb; font-size: clamp(15px,4vw,24px); line-height: 1.4; white-space: nowrap; }
.partner-brand-client > span { color: #9fa2b0; font-size: 1.12em; font-weight: 400; }
.partner-offer-footer { display: grid; gap: 18px; align-items: center; margin-top: clamp(28px,6vw,42px); padding-top: 20px; border-top: 1px solid #8a8f9e66; }
.partner-offer-footer > p { margin: 0; color: #bec0cb; font-size: 12px; line-height: 1.7; }
.partner-offer-footer strong { color: #f5f5f8; font-weight: 500; white-space: nowrap; }
.partner-offer .partner-contact-button { width: 100%; min-height: 48px; margin: 0; padding: 13px 15px; background: #c5aff0; border: 1px solid #d4c1f7; color: #20152f; border-radius: 12px; font-size: 13px; font-weight: 650; line-height: 1.4; }
.partner-offer .partner-contact-button:hover { background: #d1bdf5; }
.partner-offer .partner-contact-button:focus-visible { outline: 2px solid #f5f5f8; outline-offset: 4px; }
.partner-contact-button svg { width: 18px; height: 18px; flex: 0 0 18px; }
@media (min-width: 700px) { .partner-offer-footer { grid-template-columns: minmax(0,1fr) auto; gap: 24px; } .partner-offer .partner-contact-button { width: auto; min-width: 225px; } }
.partner-benefits > h2, .partner-steps > h2 { font-size: 19px; letter-spacing: -.4px; margin: 0 0 18px; font-weight: 650; }
.partner-benefits { margin-bottom: 32px; }
.partner-benefit { display: flex; gap: 13px; margin-top: 20px; }
.partner-benefit > svg { color: var(--accent); width: 21px; height: 21px; margin-top: 3px; }
.partner-benefit h3 { font-size: 14px; font-weight: 600; margin: 0 0 5px; }
.partner-benefit p, .partner-steps li p, .partner-referral p { color: var(--muted); font-size: 12px; line-height: 1.75; margin: 0; }
.partner-steps ol { list-style: none; counter-reset: partner-step; padding: 0; margin: 0 0 22px; }
.partner-steps li { counter-increment: partner-step; position: relative; padding: 0 0 22px 41px; }
.partner-steps li:last-child { padding-bottom: 0; }
.partner-steps li::before { content: counter(partner-step, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.partner-steps li strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.partner-steps > .primary { width: 100%; font-size: 13px; }
.partner-steps > .note { margin: 12px 0 0; }
.partner-referral { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 28px; }
.partner-referral h2 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.partner-referral .secondary { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 15px; width: 100%; }
.partner-referral .secondary svg { width: 16px; height: 16px; }

.modal-overlay { position: fixed; inset: 0 0 auto; height: var(--z-page-height); background: var(--bg); display: flex; align-items: stretch; justify-content: center; padding: 0; z-index: 10; }
.modal-overlay.is-closing { pointer-events: none; }
.sheet { width: 100%; max-width: 520px; height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-radius: 0; background: var(--bg); padding: 0 max(20px, var(--z-safe-right)) max(24px, var(--z-safe-bottom)) max(20px, var(--z-safe-left)); box-shadow: none; }
.product-nav { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: calc(var(--z-safe-top) + 8px) 0 12px; margin-bottom: 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.product-back { display: flex; align-items: center; gap: 10px; min-height: 44px; max-width: calc(100% - 56px); padding: 8px 0; border: 0; background: transparent; text-align: left; font-size: 13px; font-weight: 600; }
.product-back span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-back svg { width: 19px; height: 19px; }
.category-overview-title { font-size: 15px; font-weight: 600; margin: 22px 0 15px; }
.category-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.category-overview .profile-row { justify-content: space-between; min-height: 74px; font-size: 12px; line-height: 1.5; margin: 0; }
.sheet-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 22px; }
.sheet-heading h2 { font-size: 23px; letter-spacing: -.6px; margin: 0; font-weight: 700; }
.sheet-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.sheet-heading .icon-button { margin-left: auto; }
.section-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 7px; margin: 4px 0 18px; padding-bottom: 4px; }
.section-chip { border: 1px solid var(--line); color: var(--muted); background: var(--paper); border-radius: 10px; min-height: 38px; padding: 8px 11px; font-size: 11px; flex-shrink: 0; white-space: nowrap; }
.section-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.input-label { font-size: 12px; display: block; margin: 17px 0 8px; color: var(--muted); }
.text-input { width: 100%; min-height: 48px; border-radius: 13px; background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; color: var(--ink); font-family: inherit; font-size: 16px; }
.subheading { font-weight: 600; font-size: 13px; margin: 22px 0 11px; }
.pack { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border: 1px solid var(--line); padding: 10px 12px; border-radius: 15px; margin-bottom: 8px; }
.pack-label { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pack-label svg { width: 17px; height: 17px; color: var(--muted); }
.counter { display: flex; gap: 10px; align-items: center; }
.counter button { border: 0; background: var(--raised); width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.counter svg { width: 16px; height: 16px; }
.counter output { min-width: 16px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.selection { display: flex; align-items: center; justify-content: space-between; margin: 23px 0 15px; color: var(--muted); font-size: 12px; }
.selection strong { font-size: 23px; font-weight: 700; color: var(--ink); letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.sheet .primary { width: 100%; }
.pack-open { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border: 0; background: none; padding: 0; text-align: left; }
.checkout-page { padding-bottom: 106px; }
.checkout-product { text-align: center; margin: 4px 0 28px; }
.checkout-product > img { width: 100px; height: 100px; object-fit: contain; background: var(--paper); border-radius: 24px; padding: 10px; margin: 0 auto 18px; display: block; }
.checkout-product .eyebrow { line-height: 1.6; font-size: 10px; letter-spacing: .8px; }
.checkout-product h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.6px; margin: 8px 0; overflow-wrap: anywhere; }
.checkout-product > p:last-child { color: var(--muted); font-size: 12px; max-width: 370px; margin: 12px auto 0; }
.checkout-unit-price { display: inline-flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 12px; max-width: 100%; margin: 8px auto 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 12px; }
.checkout-unit-price > span { color: var(--muted); }
.checkout-unit-price > strong { color: var(--accent); font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.checkout-page h3 { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 16px; }
.checkout-details, .checkout-methods, .checkout-faq { margin-top: 26px; }
.telegram-premium-shortcut { margin: 20px 0; }
.telegram-premium-shortcut .profile-row { margin: 0; color: var(--ink); }
.telegram-premium-shortcut img { flex: 0 0 40px; width: 40px; height: 40px; padding: 5px; object-fit: contain; border-radius: 11px; background: var(--soft); }
.telegram-premium-shortcut .profile-row > span { flex: 1; min-width: 0; }
.telegram-premium-shortcut strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.telegram-premium-shortcut small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.telegram-premium-shortcut svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--muted); }
.checkout-field { display: block; margin-bottom: 16px; }
.checkout-field > span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.checkout-field input, .checkout-field select { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.checkout-field input::placeholder { color: var(--muted); opacity: .8; }
.checkout-field select { appearance: auto; }
.checkout-validation { color: var(--muted); font-size: 12px; min-height: 19px; overflow-wrap: anywhere; margin: 4px 0 18px; }
.checkout-validation[data-state="confirmed"], .checkout-validation[data-state="accepted"] { color: var(--accent); }
.checkout-validation[data-state="invalid"] { color: #ec9f9f; }
:root[data-theme="light"] .checkout-validation[data-state="invalid"] { color: #9b3030; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.trust-badges span { display: inline-flex; gap: 5px; align-items: center; background: var(--paper); color: var(--ink); padding: 6px 10px; border-radius: 20px; font-size: 10px; font-weight: 550; }
.trust-badges svg { width: 13px; height: 13px; color: var(--accent); stroke-width: 2.3; }
.payment-method { display: flex; gap: 10px; align-items: center; width: 100%; padding: 16px 14px; margin-top: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-align: left; }
.payment-method > span { flex: 1; font-weight: 600; }
.payment-method small { color: var(--muted); margin-left: 4px; font-size: 11px; font-weight: 400; }
.payment-method > strong { font-size: 13px; white-space: nowrap; }
.payment-method > svg { width: 16px; height: 16px; opacity: .15; }
.payment-method[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.payment-method[aria-pressed="true"] > svg { color: var(--accent); opacity: 1; }
.checkout-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 9px 0; }
.checkout-faq summary { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 17px 14px; font-size: 12px; cursor: pointer; list-style: none; }
.checkout-faq summary::-webkit-details-marker { display: none; }
.checkout-faq summary svg { width: 15px; height: 15px; color: var(--muted); transform: rotate(90deg); }
.checkout-faq details[open] summary svg { transform: rotate(-90deg); }
.checkout-faq details p { color: var(--muted); font-size: 12px; line-height: 1.7; padding: 0 14px 16px; margin: 0; overflow-wrap: anywhere; }
.checkout-bar { position: fixed; z-index: 4; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 520px); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; background: var(--paper); box-shadow: 0 -10px 30px rgb(0 0 0 / .08); padding: 14px max(20px, var(--z-safe-right)) calc(14px + var(--z-safe-bottom)) max(20px, var(--z-safe-left)); }
.checkout-bar > div { flex: 1; min-width: 0; }
.checkout-bar small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 3px; }
.checkout-bar strong { font-size: 24px; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.sheet .checkout-bar .primary { width: auto; min-width: 132px; }
/* Product-specific conditions: editorial cards, no generated artwork or motion. */
.checkout-page.has-purchase-condition { padding-bottom: calc(150px + var(--z-safe-bottom)); }
.purchase-conditions { margin: 0 0 26px; display: grid; gap: 10px; }
.purchase-condition { --condition-ink: #e5bb7d; --condition-line: #7d603d; --condition-surface: #211d19; display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px; border: 1px solid var(--condition-line); border-left: 3px solid var(--condition-ink); border-radius: 14px; background: var(--condition-surface); }
.purchase-condition[data-kind="info"] { --condition-ink: var(--accent); --condition-line: var(--line); --condition-surface: var(--paper); }
.condition-symbol { display: flex; flex: 0 0 22px; color: var(--condition-ink); margin-top: 1px; }
.condition-symbol svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.condition-kicker { display: block; color: var(--condition-ink); font-size: 10px; font-weight: 600; margin: 0 0 7px; }
.checkout-page .purchase-condition h3 { font-size: 14px; line-height: 1.45; letter-spacing: -.15px; margin: 0 0 8px; color: var(--ink); }
.purchase-condition p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.product-condition-tag { display: inline-flex; max-width: 100%; margin-top: 8px; padding: 4px 7px; border: 1px solid #7d603d; border-radius: 6px; background: #211d19; color: #e5bb7d; font-size: 10px; line-height: 1.4; font-weight: 550; }
.product-condition-tag[data-kind="info"] { color: var(--accent); border-color: var(--line); background: var(--soft); }
.checkout-bar .checkout-condition-reminder { color: #e5bb7d; font-size: 10px; line-height: 1.4; margin-top: 6px; margin-bottom: 0; overflow-wrap: anywhere; }
:root[data-theme="light"] .purchase-condition { --condition-ink: #805317; --condition-line: #d6b586; --condition-surface: #fff8eb; }
:root[data-theme="light"] .purchase-condition[data-kind="info"] { --condition-ink: var(--accent); --condition-line: var(--line); --condition-surface: var(--paper); }
:root[data-theme="light"] .product-condition-tag:not([data-kind="info"]) { color: #805317; border-color: #d6b586; background: #fff8eb; }
:root[data-theme="light"] .checkout-bar .checkout-condition-reminder { color: #805317; }
/* End product conditions. */
/* Telegram keeps Stars and Premium together; only the chosen purchase is a checkout. */
.is-telegram-catalogue .section-chips { position: sticky; top: calc(var(--z-safe-top) + 65px); z-index: 2; margin-top: 0; padding: 8px 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.telegram-catalogue > .catalogue-group { scroll-margin-top: calc(var(--z-safe-top) + 130px); }
.telegram-stars-group .checkout-page { padding-bottom: 0; }
.telegram-stars-group .checkout-bar { position: static; width: 100%; transform: none; margin: 20px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.telegram-catalogue .telegram-premium-group { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); min-height: calc(var(--z-page-height) - var(--z-safe-top) - 130px); }
.telegram-premium-group .product-group-title { margin-top: 0; font-size: 20px; letter-spacing: -.4px; }
/* End Telegram catalogue layout. */
.checkout-lines { padding: 0; list-style: none; margin: 20px 0; }
.checkout-lines li { display: flex; justify-content: space-between; gap: 14px; margin: 8px 0; font-size: 12px; color: var(--muted); }
.checkout-lines strong { white-space: nowrap; color: var(--ink); }
/* Private, server-backed recipient memory. Never contains order amounts. */
.recipient-memory { margin: 16px 0 22px; }
.recipient-memory-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.recipient-memory-heading strong { font-size: 12px; font-weight: 600; }
.recipient-memory-heading > span { color: var(--muted); font-size: 9px; }
.recipient-memory > p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.recipient-memory-list { display: grid; gap: 7px; }
.recipient-memory-row { display: flex; align-items: stretch; gap: 2px; min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.recipient-memory-select { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 12px; border: 0; border-radius: 12px 0 0 12px; background: transparent; text-align: left; }
.recipient-memory-select > span { flex: 1; min-width: 0; }
.recipient-memory-select strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.recipient-memory-select small { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }
.recipient-memory-select > svg { width: 16px; height: 16px; color: var(--accent); }
.recipient-memory-select[aria-pressed="true"] { background: var(--soft); }
.recipient-memory-delete { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex-shrink: 0; border: 0; border-radius: 0 12px 12px 0; background: transparent; color: var(--muted); }
.recipient-memory-delete svg { width: 16px; height: 16px; }
/* End recipient memory. */
.checkout-region { border: 1px solid var(--line); background: var(--soft); padding: 13px 14px; border-radius: 13px; font-size: 12px; }
.checkout-invoice { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 25px 20px; text-align: center; }
.checkout-invoice p { font-size: 12px; color: var(--muted); }
/* Read-only order progress. Error is conditional, never an upcoming step. */
.order-status .eyebrow { margin: 8px 0; font-size: 10px; }
.order-status h3 { margin: 9px 0; font-size: 23px; letter-spacing: -.5px; }
.order-status .order-amount { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.order-progress { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; text-align: left; }
.order-progress li { position: relative; display: flex; align-items: center; gap: 13px; min-height: 45px; color: var(--muted); font-size: 12px; }
.order-progress li:not(:last-child)::after { content: ''; position: absolute; width: 1px; height: 19px; top: 35px; left: 13px; background: var(--line); }
.order-progress li > span { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); font-size: 10px; }
.order-progress li > span svg { width: 14px; height: 14px; }
.order-progress strong { font-weight: 500; }
.order-progress [data-state="done"], .order-progress [data-state="current"] { color: var(--ink); }
.order-progress [data-state="done"] > span, .order-progress [data-state="current"] > span { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.order-progress [data-state="current"] strong { font-weight: 650; }
.order-status .order-message { line-height: 1.75; margin-bottom: 20px; }
.order-status .order-refresh-note { padding: 11px; border: 1px solid var(--line); border-radius: 11px; font-size: 11px; line-height: 1.6; }
.order-status[data-order-status="error"] h3 { color: #e88e98; }
:root[data-theme="light"] .order-status[data-order-status="error"] h3 { color: #a83847; }
/* End order progress. */
.invoice-symbol { color: var(--accent); display: flex; justify-content: center; margin-bottom: 14px; }
.invoice-symbol > svg { width: 28px; height: 28px; }
select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Opacity only: a transformed ancestor would displace the fixed Pay bar. */
@media (prefers-reduced-motion: no-preference) { .checkout-page { animation: checkout-enter .18s ease-out; } @keyframes checkout-enter { from { opacity: .5; } to { opacity: 1; } } }
.test-notice { text-align: center; font-size: 10px; color: var(--muted); margin: 11px 0 2px; }
.secondary { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-height: 42px; }
.live-status { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--muted); padding: 22px 10px; }
.live-status p { max-width: 340px; margin: 0; }
.live-status .loading-dot { margin: 0; }
.purchase-notice { color: var(--muted); line-height: 1.65; font-size: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); margin: 0 0 15px; }
.purchase-guide { width: 100%; height: auto; display: block; border-radius: 14px; margin: 0 0 16px; }
.section-back { margin-bottom: 14px; font-size: 12px; }
.subsections .profile-row { justify-content: space-between; }
.live-products .pack-label { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.live-products .pack-label { flex: 1; }
.product-art { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 12px; overflow: hidden; background: var(--raised); }
.product-art img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3px; }
/* Public links are separate controls, never nested in a Buy/Select button. */
.public-link-target { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Hide stale sharing controls in an already-cached renderer as well. */
[data-action="public-link"] { display: none !important; }
.wow-cart-footer { position: sticky; bottom: 0; z-index: 1; margin-top: 14px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.wow-cart-footer .selection { margin-top: 0; }
.product-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.product-choice > svg { width: 18px; height: 18px; }
.catalogue-group { margin-bottom: 32px; }
.product-group-title { font-size: 16px; font-weight: 650; letter-spacing: -.3px; margin: 25px 0 14px; }
.catalogue-group .live-status { min-height: 110px; font-size: 12px; }
.catalogue-group .selection { margin-top: 18px; }
.live-products .pack-label strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.live-products .pack-label small { color: var(--muted); font-weight: 400; font-size: 11px; }
.product-choice { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; min-height: 65px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-align: left; margin-bottom: 8px; }
.product-choice strong { display: block; font-weight: 600; font-size: 13px; }
.product-choice small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.product-choice > svg { visibility: hidden; color: var(--accent); }
.product-choice[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); }
.product-choice[aria-pressed="true"] > svg { visibility: visible; }
.payment-fees { font-size: 11px; line-height: 1.9; color: var(--muted); margin: 0 0 18px; }

/* Referral cabinet: a violet identity, real personal figures and clear terms. */
.earn-cabinet { display: flex; flex-direction: column; gap: 16px; }
.earn-hero { padding: 22px 20px 18px; border-radius: 22px; background: linear-gradient(125deg,#402360,#291a45 72%); border: 1px solid #b896ec38; color: #fff; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.earn-hero-copy { min-width: 0; }
.earn-hero .eyebrow { color: #ddd1ee; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; margin: 0 0 8px; }
.earn-hero h2 { margin: 0; font-size: clamp(21px,5.6vw,26px); line-height: 1.22; letter-spacing: -.55px; font-weight: 600; overflow-wrap: anywhere; }
.earn-rate { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; margin-top: 20px; text-align: left; }
.earn-rate-value { flex: 0 0 auto; min-width: 0; }
.earn-rate small { display: block; font-size: 11px; line-height: 1.5; color: #ddd1ee; margin: 0 0 3px; }
.earn-rate strong, :root[data-theme="light"] .earn-rate strong { display: block; color: #f0e6ff; font-size: clamp(38px,11vw,48px); font-weight: 600; letter-spacing: -1.5px; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.earn-rate strong span { font-size: 24px; margin-left: 3px; }
.earn-rate > p { flex: 1 1 130px; color: #ddd1ee; font-size: 12px; line-height: 1.55; margin: 0 0 4px; }
.earn-hero-footer { border-top: 1px solid #e3d0ff24; padding: 13px 0 0; margin: 17px 0 0; color: #eee3fc; font-size: 12px; line-height: 1.5; }
/* Editorial stories: a full-width reader, not an embedded narrow card. */
.earn-stories-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 15px 14px; text-align: left; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.earn-stories-symbol, .stories-empty-symbol { display: grid; place-items: center; color: #c3abeb; background: #a47acf17; border-radius: 11px; }
.earn-stories-symbol { width: 40px; height: 40px; flex: 0 0 40px; }
.earn-stories-symbol svg { width: 21px; height: 21px; }
.earn-stories-copy { min-width: 0; flex: 1; }
.earn-stories-link strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.earn-stories-link small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.earn-stories-count { display: grid; place-items: center; flex: 0 0 auto; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; color: #c3abeb; background: #a47acf17; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.earn-stories-link > svg { width: 16px; height: 16px; color: var(--muted); }
.earn-stories-link:focus-visible, .partner-story > summary:focus-visible { outline: 2px solid #ba9df3; outline-offset: 4px; }
:root[data-page="stories"] #app { width: 100%; max-width: 760px; }
:root[data-page="stories"] .main { padding-left: 16px; padding-right: 16px; }
.partner-stories-page { width: 100%; min-width: 0; padding: 8px 0 16px; }
.partner-stories-intro { padding: 6px 0 24px; }
.stories-header-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.stories-criterion { color: var(--muted); font-size: 12px; line-height: 1.5; }
.stories-count { color: #c3abeb; background: #a47acf17; padding: 6px 10px; border-radius: 8px; font-size: 12px; line-height: 1.4; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.partner-stories-intro h1 { margin: 0 0 12px; font-size: clamp(27px,7vw,34px); line-height: 1.18; font-weight: 600; letter-spacing: -.8px; }
.partner-stories-intro h1:focus { outline: none; }
.partner-stories-intro > p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.partner-stories-intro > .stories-future { color: #c3abeb; font-size: 12px; margin-top: 16px; }
.partner-stories-list { display: flex; flex-direction: column; gap: 28px; width: 100%; min-width: 0; }
.partner-story { border-top: 1px solid var(--line); padding-top: 22px; width: 100%; min-width: 0; overflow-wrap: anywhere; }
.partner-story > summary { display: block; list-style: none; padding: 0; cursor: pointer; }
.partner-story > summary::-webkit-details-marker { display: none; }
.story-byline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.story-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; font-size: 18px; font-weight: 500; background: #a47acf17; color: #c3abeb; }
.story-byline > div { flex: 1; min-width: 75px; }
.story-byline strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.story-byline div > span { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 3px; }
.story-byline .story-kind-example { color: #c3abeb; font-weight: 500; }
.story-milestone { color: #c3abeb; font-size: 12px; line-height: 1.5; padding: 7px 10px; border-radius: 9px; background: #a47acf12; font-variant-numeric: tabular-nums; }
.partner-story h2 { font-size: clamp(22px,6vw,28px); letter-spacing: -.5px; line-height: 1.25; font-weight: 600; margin: 0 0 14px; }
.story-excerpt { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 6px; }
.story-read { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #c3abeb; font-size: 12px; font-weight: 500; }
.story-read svg { width: 15px; height: 15px; transform: rotate(90deg); }
.story-read-close, .partner-story[open] .story-read-open, .partner-story[open] .story-excerpt { display: none; }
.partner-story[open] .story-read-close { display: inline; }
.partner-story[open] .story-read svg { transform: rotate(270deg); }
.story-body { width: 100%; max-width: none; padding: 8px 0 0; }
.story-body p { font-size: clamp(15.5px,4vw,17px); line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 22px; }
.story-body .story-example-note { color: var(--muted); border-left: 2px solid #a47acf66; padding-left: 12px; font-size: 12px; }
.stories-empty { padding: 28px 0; border-top: 1px solid var(--line); }
.stories-empty-symbol { width: 44px; height: 44px; margin-bottom: 18px; }
.stories-empty-symbol svg { width: 23px; height: 23px; }
.stories-empty h2 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 0 0 10px; }
.stories-empty p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.stories-footer { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 10px; }
.stories-footer .secondary { width: 100%; min-height: 46px; font-size: 13px; }
:root[data-theme="light"] .earn-stories-symbol, :root[data-theme="light"] .earn-stories-count, :root[data-theme="light"] .stories-count, :root[data-theme="light"] .stories-future, :root[data-theme="light"] .stories-empty-symbol, :root[data-theme="light"] .story-avatar, :root[data-theme="light"] .story-milestone, :root[data-theme="light"] .story-byline .story-kind-example, :root[data-theme="light"] .story-read { color: #6e4d9e; }
@media (max-width: 360px) { :root[data-page="stories"] .main { padding-left: 14px; padding-right: 14px; } }
.earn-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.earn-stats article { border: 1px solid var(--line); border-radius: 17px; padding: 16px 13px; background: var(--paper); min-width: 0; }
.earn-stats span, .earn-stats small { display: block; color: var(--muted); font-size: 10px; }
.earn-stats strong { display: block; font-size: clamp(19px,5.5vw,26px); letter-spacing: -.6px; margin: 9px 0 5px; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.earn-stats small { font-size: 9px; }
.earn-graph-card { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 18px 15px 16px; min-width: 0; }
.earn-graph-card .heading { margin: 0 0 14px; gap: 10px; align-items: center; }
.earn-graph-card h2 { font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.refresh-small { min-height: 44px; padding: 0 4px 0 10px; background: none; border: 0; color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.chart-periods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 13px; }
.chart-period { min-width: 0; min-height: 44px; padding: 8px 2px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.chart-period[aria-pressed="true"] { background: #253440; color: #c6e0f3; box-shadow: inset 0 0 0 1px #91b5cf38; }
.chart-period:active { transform: none; }
.chart-period:focus-visible, .refresh-small:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.earn-chart-summary { padding: 23px 0 19px; }
.earn-chart-summary > p:first-child { color: var(--muted); font-size: 11px; margin: 0 0 7px; }
.earned-amount { display: block; font-size: clamp(26px,8vw,34px); line-height: 1.2; letter-spacing: -1px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.earn-alltime { font-size: 10px; color: var(--muted); margin: 7px 0 0; line-height: 1.5; }
.earn-chart-wrap { border-top: 1px solid var(--line); padding-top: 16px; }
.earn-chart-info { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 30px; font-size: 11px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.earn-chart-info strong { color: var(--muted); font-weight: 400; }
.earn-chart-info span { font-weight: 500; }
.earn-chart-surface { position: relative; margin-top: 8px; border-radius: 8px; }
.earn-chart-surface:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.earn-chart { display: block; width: 100%; height: auto; overflow: visible; color: var(--accent); }
.earn-chart .chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.earn-chart .chart-line { stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.earn-chart .chart-area { fill: url(#earn-chart-fill); stroke: none; }
.earn-chart .chart-crosshair { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: .5; }
.earn-chart .chart-halo { fill: currentColor; opacity: .13; }
.earn-chart .chart-dot { fill: var(--paper); stroke: currentColor; stroke-width: 2.5; }
.earn-chart text { fill: var(--muted); stroke: none; font-family: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.earn-chart .chart-y-label { letter-spacing: -.15px; }
/* Native range retains keyboard and screen-reader support. Its transparent
   hit area covers the plot; 20px thumb gutters align the first/last day. */
#earn-chart-day { position: absolute; left: calc(2.222222% - 10px); width: calc(76.111111% + 20px); top: 6.666667%; height: 71.428571%; padding: 0; margin: 0; opacity: 0; appearance: none; -webkit-appearance: none; cursor: crosshair; touch-action: pan-y; }
#earn-chart-day::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 20px; height: 24px; }
#earn-chart-day::-moz-range-thumb { width: 20px; height: 24px; border: 0; }
.chart-hint { color: var(--muted); text-align: center; font-size: 10px; line-height: 1.5; margin: 0 0 16px; }
.chart-caption { border-top: 1px solid var(--line); padding-top: 12px; font-size: 9px; line-height: 1.7; color: var(--muted); margin: 0; }
:root[data-theme="light"] .chart-period[aria-pressed="true"] { background: #e2ecf3; color: #23465f; box-shadow: inset 0 0 0 1px #91b5cf55; }
@media (prefers-reduced-motion: no-preference) { .chart-period { transition: background .16s ease, color .16s ease; } }
.referral-share { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 19px 16px; }
.referral-share .eyebrow { margin: 0 0 7px; font-size: 9px; }
.referral-share h2, .earn-guide h2, .earn-boost h2 { font-size: 17px; font-weight: 600; letter-spacing: -.35px; line-height: 1.35; margin: 0; }
.referral-share h2 { margin-bottom: 15px; }
#referral-link { display: block; box-sizing: border-box; width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: var(--bg); color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.5; min-height: 74px; resize: none; overflow-wrap: anywhere; }
.copy-link, .earn-contact { display: flex; align-items: center; justify-content: center; gap: 9px; color: #fff; border: 0; min-height: 46px; width: 100%; border-radius: 12px; font-weight: 600; margin-top: 12px; }
.copy-link { background: #6550a7; padding: 12px 16px; line-height: 1.25; gap: 8px; }
.copy-link svg, .earn-contact svg { width: 17px; height: 17px; flex: 0 0 17px; }
.copy-link > .ui-icon-copy { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.copy-link:focus-visible, .earn-contact:focus-visible, #referral-link:focus-visible { outline: 2px solid #ba9df3; outline-offset: 3px; }
.referral-share p:last-child { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 14px 0 0; }
.earn-guide { border: 1px solid var(--line); border-radius: 20px; padding: 21px 17px 17px; background: var(--paper); }
.earn-guide > .eyebrow { font-size: 9px; margin: 0 0 7px; }
.earn-guide ol { list-style: none; margin: 23px 0 0; padding: 0; }
.earn-guide li { display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 12px; padding: 0 0 21px; }
.earn-guide li:last-child { padding-bottom: 0; }
.earn-step-number { padding-top: 2px; color: #b7a1de; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.earn-guide h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.earn-guide li p, .earn-boost > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.earn-rules { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 16px 0 0; }
.earn-boost { border: 1px solid #ad8ddf42; border-radius: 20px; padding: 20px 17px; background: linear-gradient(130deg,#a175d40d,transparent 80%),var(--paper); }
.earn-boost-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.earn-boost-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; color: #c3abeb; background: #a47acf17; border: 1px solid #b99adc33; border-radius: 12px; }
.earn-boost-icon svg { width: 21px; height: 21px; }
.earn-boost .eyebrow { font-size: 8px; margin: 0 0 5px; }
.earn-boost h2 { font-size: 16px; }
.earn-boost > p + p { margin-top: 13px; }
.earn-contact { background: #6550a7; margin-top: 18px; }
.earn-boost > small { display: block; font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 12px; text-align: center; }
:root[data-theme="light"] .earn-step-number, :root[data-theme="light"] .earn-boost-icon { color: #6e4d9e; }
:root[data-theme="light"] .earn-boost { border-color: #b69bd655; }
.earn-updated { color: var(--muted); text-align: center; font-size: 9px; margin: 0 0 8px; }
.toast { position: fixed; bottom: 95px; left: 20px; right: 20px; max-width: 460px; margin: auto; border-radius: 14px; padding: 13px 15px; background: var(--ink); color: var(--bg); font-size: 12px; z-index: 20; text-align: center; box-shadow: 0 6px 25px #00000025; }

@media (max-width: 360px) {
  .main { padding-left: 14px; padding-right: 14px; }
  .app-header { padding-left: 16px; padding-right: 16px; }
  .grid { gap: 18px 10px; }
  .game-card strong { font-size: 11px; }
  .game-card small { font-size: 10px; }
  .sheet { padding-left: max(15px, var(--z-safe-left)); padding-right: max(15px, var(--z-safe-right)); }
  .counter { gap: 8px; }
  .counter button { width: 36px; height: 40px; }
  .live-products .pack { gap: 8px; padding: 9px; }
  .product-art { width: 46px; height: 46px; flex-basis: 46px; }
  .live-products .pack-label strong { font-size: 12px; }
  .header-actions { gap: 5px; }
  .app-header .icon-button { width: 35px; height: 39px; border-radius: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .game-card, .game-row, .primary { transition: transform .15s ease; }
  .game-card:active, .game-row:active, .primary:active { transform: scale(.985); }
  .category, .section-chip, .nav-icon { transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
  .catalog-search { transition: border-color .16s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-dot, .ambient-smoke::before, .ambient-smoke::after, .wordmark-zebra { animation: none; }
  .access-gate[data-state="loading"] .loader-atmosphere::before,
  .access-gate[data-state="loading"] .loader-atmosphere::after,
  .access-gate[data-state="loading"] .loader-logo,
  .access-gate[data-state="loading"] .loader-lettering > span,
  .access-gate[data-state="loading"] .loader-track > span { animation: none; }
}

/* Verified reviews and the shared referral/cashback balance. */
.header-wallet { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; max-width: 150px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-wallet svg { width: 20px; height: 20px; color: var(--accent); }
.header-wallet-amount { overflow: hidden; text-overflow: ellipsis; }
.header-wallet.has-debt { color: #dbaba2; }
:root[data-theme="light"] .header-wallet.has-debt { color: #985647; }
.has-wallet .app-header { gap: 8px; }
.has-wallet .wordmark { font-size: clamp(18px, 4.9vw, 24px); letter-spacing: -.8px; }
.has-wallet .header-actions { align-items: center; gap: 6px; }
.wallet-history { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wallet-history h2 { font-size: 17px; letter-spacing: -.35px; margin: 0; }
.wallet-entries { margin-top: 15px; }
.wallet-entry { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.wallet-entry > div { min-width: 0; }
.wallet-entry strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 550; }
.wallet-entry time, .wallet-entry small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 5px; }
.wallet-delta { font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet-delta[data-direction="credit"] { color: var(--accent); }
.wallet-delta[data-direction="debit"] { color: #d4a49e; }
:root[data-theme="light"] .wallet-delta[data-direction="debit"] { color: #975449; }
.wallet-pages, .reviews-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wallet-pages .secondary, .reviews-pages .secondary { min-height: 42px; flex: 1; padding: 10px; font-size: 11px; }
.wallet-debt { border-left: 2px solid #b78379; padding: 9px 12px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.reviews-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 20px; }
.reviews-actions .reviews-write { padding: 12px 16px; font-size: 12px; border: 1px solid var(--line); border-radius: 12px; }
.reviews-own-link, .review-back, .cashback-link { border: 0; background: transparent; color: var(--accent); font-size: 12px; min-height: 44px; padding: 10px 0; }
.review-back { margin: 0 0 16px; }
.review-step-title { font-size: 23px; letter-spacing: -.5px; margin: 0 0 12px; }
.review-inline-error { padding: 12px 14px; border: 1px solid #785b57; border-radius: 12px; color: var(--ink); font-size: 12px; line-height: 1.65; }
.review-order-list { margin: 20px 0; }
.review-order-choice { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 10px; }
.review-order-choice > span { min-width: 0; }
.review-order-choice strong { display: block; font-size: 13px; line-height: 1.5; }
.review-order-choice small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 5px; }
.review-order-choice b { font-size: 12px; white-space: nowrap; color: var(--accent); font-variant-numeric: tabular-nums; }
.review-editor h2 { font-size: 25px; margin: 0 0 14px; letter-spacing: -.6px; }
.review-selected-product { font-size: 13px; font-weight: 550; line-height: 1.6; margin: 0 0 24px; }
.review-selected-product small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; margin-top: 4px; }
.review-rating-input { border: 0; padding: 0; margin: 0 0 22px; }
.review-rating-input legend { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.review-rating-input > div { display: flex; gap: 6px; }
.review-rating-input button { width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--muted); font-size: 24px; line-height: 1; }
.review-rating-input button.is-filled { color: #dfbc6d; border-color: #7f704c; }
:root[data-theme="light"] .review-rating-input button.is-filled { color: #9f731f; border-color: #bba476; }
.review-textarea { display: block; box-sizing: border-box; width: 100%; min-height: 150px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); padding: 15px; font: inherit; font-size: 14px; line-height: 1.7; }
.review-textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.review-textarea::placeholder { color: var(--muted); opacity: 1; }
.review-character-count { margin: 7px 0 18px; text-align: right; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.review-anonymous { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; margin-bottom: 17px; min-height: 44px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.review-anonymous input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin: 2px 0 0; }
.review-anonymous small { display: block; font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.review-cashback-note { display: flex; gap: 12px; padding: 16px; margin: 0 0 16px; border-radius: 14px; background: var(--soft); }
.review-cashback-note > span { color: var(--accent); flex-shrink: 0; }
.review-cashback-note strong { font-size: 13px; }
.review-cashback-note p { color: var(--muted); font-size: 11px; line-height: 1.75; margin: 6px 0 0; }
.review-rating { display: block; color: #d8b76e; font-size: 17px; letter-spacing: 1px; margin: 14px 0 0; }
:root[data-theme="light"] .review-rating { color: #946e28; }
.review-rating > span { color: var(--muted); }
.review-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.verified-review-product { font-size: 12px; line-height: 1.5; }
.review-incentive { display: block; color: var(--muted); font-size: 9px; line-height: 1.7; margin-top: 12px; }
.review-own-card { padding: 17px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.review-own-card > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.review-own-card strong { font-size: 13px; }
.review-own-card > p:not(.review-text), .review-own-card > small { color: var(--muted); font-size: 11px; line-height: 1.7; }
.review-own-status { font-size: 10px; padding: 5px 8px; border-radius: 8px; background: var(--soft); color: var(--accent); }
.review-own-status[data-status="rejected"] { color: #d4a49e; }
.review-submitted { padding: 35px 10px 20px; text-align: center; }
.review-submitted > span { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 18px; background: var(--soft); color: var(--accent); }
.review-submitted h2 { font-size: 25px; margin: 0 0 13px; }
.review-submitted p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.review-submitted .primary, .review-submitted .secondary { width: 100%; margin-top: 10px; }
.cashback-open { overflow: hidden; }
.cashback-celebration { position: fixed; inset: 0; z-index: 150; min-height: var(--z-page-height); padding: calc(var(--z-safe-top) + 24px) calc(var(--z-safe-right) + 24px) calc(var(--z-safe-bottom) + 24px) calc(var(--z-safe-left) + 24px); background: var(--bg); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; overscroll-behavior: contain; }
.cashback-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 34%, var(--soft), transparent 52%); opacity: .65; }
.cashback-receipt { position: relative; width: 100%; max-width: 340px; text-align: center; margin-block: auto; }
.cashback-seal { width: 120px; height: 120px; margin: 0 auto 32px; position: relative; color: var(--accent); }
.cashback-seal > svg { width: 120px; height: 120px; fill: none; stroke: currentColor; }
.cashback-ring { stroke-width: 1.5; opacity: .55; stroke-dasharray: 321; stroke-dashoffset: 0; }
.cashback-check { stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 64; stroke-dashoffset: 0; }
.cashback-seal > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 400; opacity: 0; }
.cashback-eyebrow { color: var(--muted); font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; margin: 0 0 13px; }
.cashback-receipt h2 { font-size: clamp(27px, 7.5vw, 33px); line-height: 1.18; font-weight: 600; letter-spacing: -.9px; margin: 0; }
.cashback-amount { display: block; margin: 20px 0 18px; font-size: clamp(42px, 12vw, 56px); line-height: 1.15; font-weight: 600; letter-spacing: -1.8px; font-variant-numeric: tabular-nums; color: var(--accent); }
.cashback-explanation { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0 0 26px; }
.cashback-current { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.cashback-current > span { color: var(--muted); }
.cashback-current b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cashback-receipt .primary { width: 100%; min-height: 48px; }
.cashback-link { margin-top: 7px; }
@media (max-width: 440px) {
 .has-wallet .app-header { padding-left: 18px; padding-right: 18px; }
 .has-wallet .header-support { display: none; }
 .has-wallet .app-header .icon-button { width: 32px; height: 38px; border-radius: 12px; }
 .has-wallet .header-wallet { max-width: 130px; min-height: 38px; padding: 7px 9px; font-size: 11px; gap: 5px; }
 .has-wallet .header-wallet svg { width: 14px; height: 14px; }
 .has-wallet .header-actions { gap: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
 .cashback-celebration { animation: cashback-arrive .24s ease-out both; }
 .cashback-seal { animation: cashback-seal-in .9s cubic-bezier(.22,1,.36,1) both; }
 .cashback-ring { animation: cashback-ring-in .9s cubic-bezier(.22,1,.36,1) both; }
 .cashback-check { animation: cashback-check-in .38s .6s ease-out both; }
 .cashback-seal > span { animation: cashback-ruble-out .7s ease both; }
 .cashback-eyebrow, .cashback-receipt h2 { animation: cashback-copy-in .5s .25s ease-out both; }
 .cashback-amount { animation: cashback-copy-in .65s .45s cubic-bezier(.22,1,.36,1) both; }
 .cashback-explanation, .cashback-current, .cashback-receipt button { animation: cashback-copy-in .45s .7s ease-out both; }
}
@keyframes cashback-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes cashback-seal-in { 0% { transform: scale(.92); opacity: 0; } 65% { transform: scale(1.025); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes cashback-ring-in { from { stroke-dashoffset: 321; } to { stroke-dashoffset: 0; } }
@keyframes cashback-check-in { from { stroke-dashoffset: 64; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes cashback-ruble-out { 0%,45% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes cashback-copy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
:root[data-motion="paused"] .cashback-celebration, :root[data-motion="paused"] .cashback-celebration * { animation-play-state: paused; }
.cashback-celebration[data-reduced-motion="true"], .cashback-celebration[data-reduced-motion="true"] * { animation: none !important; }
/* End verified reviews and wallet. */

/* Review cashback: pending reservations are never spendable funds. */
.wallet-tabs { display: flex; gap: 6px; padding: 5px; margin: 18px 0; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.wallet-tab { flex: 1; min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; }
.wallet-tab[aria-pressed="true"] { color: var(--ink); background: var(--soft); }
.wallet-tab span { padding: 2px 6px; margin-left: 3px; border-radius: 5px; font-size: 10px; color: var(--accent); background: var(--raised); }
.wallet-frozen-summary { padding: 17px; margin: 0 0 7px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.wallet-frozen-summary > span { display: block; font-size: 11px; color: var(--muted); }
.wallet-frozen-summary > strong { display: block; font-size: 29px; letter-spacing: -.6px; margin: 8px 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.wallet-frozen-summary > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.wallet-delta[data-direction="frozen"] { color: var(--ink); }
.wallet-delta[data-direction="frozen"] small { text-align: right; font-weight: 400; font-size: 9px; }
.cashback-faq { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cashback-faq h3 { font-size: 15px; font-weight: 550; margin: 0 0 12px; }
.cashback-faq-question { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 13px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font-size: 12px; line-height: 1.6; }
.cashback-faq-question svg { flex-shrink: 0; width: 15px; height: 15px; color: var(--muted); }
.cashback-faq-question[aria-expanded="true"] svg { transform: rotate(90deg); }
.cashback-faq-answer { padding: 0 0 14px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.cashback-faq-answer p { margin: 0 0 12px; }
.cashback-faq-answer a { color: var(--accent); }
.cashback-frozen-pill { display: inline-block; color: var(--accent); background: var(--soft); border: 1px solid var(--line); padding: 7px 11px; border-radius: 8px; margin: -5px 0 18px; font-size: 11px; line-height: 1.6; }
.cashback-help-link { display: block; text-align: left; margin: -6px 0 10px; }
.review-submitted .cashback-help-link { margin: 8px auto; text-align: center; }
.review-cashback-help h2 { margin: 5px 0 18px; font-size: 26px; line-height: 1.3; letter-spacing: -.6px; }
.review-cashback-help > p, .review-cashback-help li p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.review-cashback-help ol { padding-left: 22px; margin: 25px 0; }
.review-cashback-help li { padding-left: 7px; margin-bottom: 21px; color: var(--accent); }
.review-cashback-help li strong { color: var(--ink); font-size: 13px; }
.review-cashback-help li p { margin: 5px 0 0; }
.review-cashback-help .primary { width: 100%; min-height: 48px; }

/* Shared bot/Mini App profile and purchase history. */
.profile-header .avatar { position: relative; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); font-size: 24px; color: var(--accent); }
.profile-avatar-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-header > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.purchases-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -5px 0 24px; }
.purchases-intro p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.purchase-list { display: grid; gap: 9px; }
.purchase-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.purchase-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; text-align: left; border: 0; background: transparent; }
.purchase-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 12px; flex: 1; min-width: 0; }
.purchase-overview > strong { grid-column: 1 / -1; font-size: 14px; font-weight: 550; line-height: 1.55; overflow-wrap: anywhere; }
.purchase-overview time { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.purchase-chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .18s ease; }
.purchase-toggle[aria-expanded="true"] .purchase-chevron { transform: rotate(90deg); }
.purchase-details { padding: 0 16px 16px; }
.purchase-details dl { border-top: 1px solid var(--line); margin: 0; padding: 12px 0 0; display: grid; gap: 10px; font-size: 12px; }
.purchase-details dl > div { display: flex; justify-content: space-between; gap: 16px; }
.purchase-details dt { color: var(--muted); }
.purchase-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.purchase-status { display: inline-flex; padding: 5px 8px; border-radius: 7px; color: var(--muted); background: var(--raised); font-size: 10px; line-height: 1.5; }
.purchase-status[data-status="delivered"] { color: #8ee3b5; background: #173729; }
.purchase-status[data-status="fulfilling"], .purchase-status[data-status="payment_received"] { color: #9acaff; background: #192f49; }
.purchase-status[data-status="error"] { color: #ffafb4; background: #421f27; }
:root[data-theme="light"] .purchase-status[data-status="delivered"] { color: #17623b; background: #e4f5eb; }
:root[data-theme="light"] .purchase-status[data-status="fulfilling"], :root[data-theme="light"] .purchase-status[data-status="payment_received"] { color: #17579b; background: #e5f0ff; }
:root[data-theme="light"] .purchase-status[data-status="error"] { color: #a22637; background: #ffe8eb; }
.purchase-status-detail { margin: 12px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.review-order-choice > span:first-child { flex: 1; }
.review-order-choice .purchase-status { flex-shrink: 0; }
.review-order-choice .chevron { width: 15px; height: 15px; color: var(--muted); }
.purchase-review { width: 100%; min-height: 46px; margin-top: 17px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 12px; }
.purchase-review span { font-size: 10px; color: var(--accent); }
.purchase-review-status { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.purchase-review-status[data-status="published"] { color: var(--accent); }
.review-vote-input > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.review-vote-input button { width: auto; min-width: 0; min-height: 52px; height: auto; padding: 12px 8px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.review-vote-input button.is-filled { color: var(--ink); border-color: var(--accent); background: var(--soft); }
/* iOS must not magnify the viewport when focusing an account/review field. */
input, textarea, select, .text-input, .review-textarea, #catalog-search { font-size: 16px; }
@media (max-width: 360px) {
  .has-wallet .brand { gap: 5px; }
  .has-wallet .brand-mark { width: 26px; height: 26px; }
  .has-wallet .wordmark { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .purchase-chevron { transition: none; } }
:root[data-theme="light"] .review-vote-input button.is-filled { color: var(--ink); border-color: var(--accent); }

/* Category artwork uses the exact static bot emoji, with fixed dimensions. */
.section-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.25; }
.category-nav-label { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.category-emoji, .category-emoji-symbol { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; animation: none !important; transition: none !important; }
.category-emoji { object-fit: contain; pointer-events: none; user-select: none; }
.category-emoji-symbol { font-size: 19px; line-height: 20px; text-align: center; }
.category-emoji-receipt::before { content: "🧾"; }
.category-label-text { line-height: inherit; }

/* PUBG: compact inline categories wrap into rows; no sideways scrolling. */
.section-chips-grid { display: flex; flex-wrap: wrap; gap: 6px; overflow: visible; padding: 0; margin-bottom: 18px; }
.section-chips-grid .section-chip { flex: 0 1 auto; flex-direction: row; gap: 5px; min-width: 0; max-width: 100%; min-height: 36px; padding: 7px 9px; border-radius: 10px; color: var(--ink); font-size: 11.5px; font-weight: 550; line-height: 1.3; white-space: nowrap; }
.section-chips-grid .category-emoji, .section-chips-grid .category-emoji-symbol, .section-chips-grid .category-all-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.section-chips-grid .category-emoji-symbol { font-size: 17px; line-height: 18px; }
.section-chips-grid .category-all-icon { color: var(--accent); stroke-width: 1.7; }
.section-chips-grid .category-label-text { display: inline; min-height: 0; max-width: 100%; white-space: nowrap; }
.catalog-icon[src*="arena-breakout-infinite"], .sheet-icon[src*="arena-breakout-infinite"] { object-fit: contain; object-position: center; padding: 4px; }
.section-chips-grid .section-chip[aria-pressed="true"] { color: var(--ink); background: var(--soft); border-color: var(--accent); }
@media (hover: hover) {
  .section-chips-grid .section-chip:not([aria-pressed="true"]):hover { background: var(--raised); border-color: var(--muted); }
}
/* Owner-only Telegram ad warning preview. */
.ad-warning-open { overflow: hidden; }
.ad-warning-overlay { position: fixed; inset: 0; z-index: 170; display: flex; align-items: center; justify-content: center; padding: calc(16px + var(--z-safe-top)) calc(12px + var(--z-safe-right)) calc(16px + var(--z-safe-bottom)) calc(12px + var(--z-safe-left)); background: #080a10e8; }
.ad-warning-dialog { --aw-text: #f3f4f6; --aw-muted: #b9bdc6; --aw-line: #ffffff14; --aw-blue: #a6c8de; color-scheme: dark; display: flex; flex-direction: column; min-height: 0; max-height: 100%; width: 100%; max-width: 420px; margin: 0; overflow: hidden; color: var(--aw-text); background: radial-gradient(ellipse at 100% 0%,#8a45de14,transparent 45%),#14171b; border: 1px solid var(--aw-line); border-radius: 22px; box-shadow: 0 18px 60px #00000040; }
.ad-warning-dialog:focus { outline: none; }
.ad-warning-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px 18px; }
.ad-warning-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.ad-warning-brand > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.ad-warning-brand img { display: block; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; }
.ad-warning-brand strong { font-size: 19px; font-weight: 750; letter-spacing: -.7px; }
.ad-warning-brand > span:last-child { color: var(--aw-muted); font-size: 10px; }
.ad-warning-kicker { margin: 0 0 10px; color: #f4c575; font-size: 11px; font-weight: 600; }
.ad-warning-dialog h1 { margin: 0 0 21px; color: var(--aw-text); font-size: 28px; line-height: 1.12; letter-spacing: -.8px; font-weight: 750; }
#ad-warning-copy, #ad-warning-caution { margin: 0 0 20px; font-size: 13px; line-height: 1.7; }
#ad-warning-copy { color: var(--aw-muted); }
#ad-warning-copy strong { color: var(--aw-text); font-weight: 600; }
#ad-warning-caution { border-left: 2px solid #f4c575; padding-left: 13px; color: var(--aw-text); }
.ad-warning-examples { margin: 0 0 20px; padding: 0 12px; border: 1px solid var(--aw-line); border-radius: 12px; background: #ffffff06; }
.ad-warning-examples summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 9px 0; color: var(--aw-muted); font-size: 12px; line-height: 1.5; list-style: none; cursor: pointer; }
.ad-warning-examples summary::-webkit-details-marker { display: none; }
.ad-warning-examples summary svg { width: 17px; height: 17px; flex: 0 0 17px; transform: rotate(90deg); }
.ad-warning-examples[open] summary svg { transform: rotate(-90deg); }
.ad-warning-examples img { display: block; width: 100%; height: auto; margin: 0 0 12px; border: 1px solid var(--aw-line); border-radius: 9px; }
.ad-warning-official { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: #ffffff06; border: 1px solid var(--aw-line); border-radius: 13px; }
.ad-warning-official > svg { width: 21px; height: 21px; color: var(--aw-blue); flex: 0 0 21px; }
.ad-warning-official span { display: block; color: var(--aw-muted); font-size: 11px; line-height: 1.6; }
.ad-warning-official strong { display: block; color: var(--aw-text); font-size: 15px; line-height: 1.5; }
.ad-warning-footer { flex: 0 0 auto; padding: 10px 22px 20px; border-top: 1px solid var(--aw-line); }
.ad-warning-check { display: flex; align-items: center; gap: 11px; min-height: 44px; margin: 0 0 9px; color: var(--aw-text); font-size: 14px; cursor: pointer; }
.ad-warning-check input { width: 21px; height: 21px; flex: 0 0 21px; margin: 0; accent-color: var(--aw-blue); }
.ad-warning-continue { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--aw-blue); color: #14212b; font-size: 14px; line-height: 1.4; font-weight: 650; }
.ad-warning-continue svg { width: 18px; height: 18px; flex: 0 0 18px; }
.ad-warning-continue:disabled { background: #ffffff0d; color: #9b9fa9; cursor: not-allowed; opacity: 1; }
.ad-warning-continue:not(:disabled):hover { background: #b6d4e8; }
@media (max-width: 359px) {
  .ad-warning-content { padding: 18px 18px 16px; }
  .ad-warning-footer { padding: 9px 18px 18px; }
  .ad-warning-brand { gap: 7px; }
  .ad-warning-brand strong { font-size: 17px; }
  .ad-warning-brand img { width: 23px; height: 23px; flex-basis: 23px; }
  .ad-warning-dialog h1 { font-size: 25px; }
}

/* Public discovery content: visible, readable and served without JavaScript. */
.site-discovery{max-width:1120px;margin:36px auto 110px;padding:24px;color:var(--muted,#a3abb2);font-size:14px;line-height:1.75}
.site-discovery h1{margin:0 0 16px;color:var(--ink,#f2f4f6);font-size:clamp(22px,3vw,30px);line-height:1.25;letter-spacing:-.03em}
.site-discovery p{margin:0 0 12px;max-width:86ch}
.site-discovery nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(140,157,170,.18)}
.site-discovery a{color:var(--ink,#d7e7f3);text-decoration:underline;text-underline-offset:3px;font-size:13px}
@media(max-width:600px){.site-discovery{margin:20px auto 104px;padding:22px 20px;font-size:13px}}

/* Website-only real comparisons. Without metadata native UI remains unchanged. */
.zd-price { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; max-width: 100%; vertical-align: baseline; font-variant-numeric: tabular-nums; }
.zd-price-amounts { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 7px; }
.zd-price-before { color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 500; text-decoration-thickness: 1px; text-decoration-color: currentColor; white-space: nowrap; }
.zd-price-current { color: var(--ink); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.zd-price-saving { display: inline-flex; align-items: center; border-radius: 6px; border: 1px solid rgb(105 225 181 / .16); background: rgb(105 225 181 / .09); color: #88e5bf; font-size: 10px; line-height: 1.4; font-weight: 600; padding: 2px 5px; white-space: nowrap; }
.zd-site-advantage { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 11px 13px; margin: 0 0 15px; border: 1px solid rgb(105 225 181 / .13); border-radius: 12px; background: linear-gradient(110deg, rgb(105 225 181 / .065), transparent); line-height: 1.45; }
.zd-site-advantage > span:first-child { color: #88e5bf; font-size: 12px; font-weight: 650; }
.zd-site-advantage > span:last-child { color: var(--muted); font-size: 10px; }
.product-choice .zd-price, .pack-label .zd-price { margin-top: 2px; }
.checkout-bar .zd-price-current { font-size: 24px; }
.checkout-bar .zd-price-before { font-size: 12px; }
.checkout-bar .zd-price { gap: 3px 8px; }
.checkout-unit-price .zd-price-current { font-size: inherit; }
.payment-method .zd-price { justify-content: flex-end; }
.payment-method .zd-price-current { font-size: 16px; }
.vp-product .zd-price { justify-content: center; gap: 4px 6px; }
.vp-product .zd-price-current { font-size: 17px; }
.vp-product .zd-price-before { font-size: 12px; }
.vp-product .zd-price-saving { font-size: 9px; }
:root[data-theme="light"] .zd-price-saving, :root[data-theme="light"] .zd-site-advantage > span:first-child { color: #18704c; }
:root[data-theme="light"] .zd-price-saving { background: #e9f5ee; border-color: #d4e8dc; }
.checkout-price-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin: 20px 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.checkout-price-summary > span { color: var(--muted); font-size: 12px; }
.checkout-price-summary .zd-price-current { font-size: 22px; }
.checkout-lines li > span { min-width: 0; overflow-wrap: anywhere; }
.checkout-lines .zd-price { justify-content: flex-end; text-align: right; white-space: normal; }
.checkout-lines li > strong { max-width: 62%; white-space: normal; flex-shrink: 0; }
.vp-selection .vp-selection-price { display: block; font-size: 13px; color: var(--ink); }
.vp-selection-price .zd-price { gap: 3px 6px; }
.vp-selection-price .zd-price-current { font-size: 18px; }
.vp-selection-price .zd-price-before { font-size: 12px; }
@media (max-width: 360px) { .zd-price { gap: 4px 6px; } .zd-price-current { font-size: 16px; } .zd-price-before { font-size: 12px; } .checkout-bar .zd-price-current { font-size: 21px; } .payment-method .zd-price { gap: 3px 5px; } }
