/* =====================================================================================================================
   amgame-interactive.com — the AM-GAME launcher's look ("AM GAME TERACTIVE"): near-black, panels #121216–#1b1b21,
   one red accent (#ff2432 → #9c0610) with soft glows, gold for Member and AM POINT coins, Kanit, 12–18 px radii.
   Motion: transform / opacity; prefers-reduced-motion turns it off. No inline styles anywhere (CSP): shop.js uses CSSOM only.
   ===================================================================================================================== */
:root {
  --bg: #08080a;
  --bg-2: #0d0d11;
  --panel: #121216;
  --panel-2: #16161c;
  --panel-3: #1b1b21;
  --panel-4: #23232b;
  --line: rgba(255, 255, 255, 0.065);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #f3f3f6;
  --text-2: #b0b0bd;
  --text-3: #85858f;
  --red: #ff2432;
  --red-2: #d10a1c;
  --red-3: #9c0610;
  --red-text: #ff5a64;
  --red-rgb: 255, 36, 50;
  --red-soft: rgba(255, 36, 50, 0.12);
  --red-line: rgba(255, 36, 50, 0.42);
  --gold: #f6b93b;
  --gold-2: #c98a12;
  --gold-text: #ffd47a;
  --gold-rgb: 246, 185, 59;
  --ok: #2fd36b;
  --ok-text: #7ff0a8;
  --warn: #ffbf47;
  --blue: #3a8bff;
  --r: 14px;
  --r-s: 10px;
  --r-l: 18px;
  --font: "Kanit", "Leelawadee UI", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; min-height: 100dvh; background: radial-gradient(1100px 520px at 12% -120px, rgba(var(--red-rgb), 0.13), transparent 70%), var(--bg); background-repeat: no-repeat; color: var(--text); font: 400 16px/1.6 var(--font); overflow-x: hidden; caret-color: transparent; -webkit-font-smoothing: antialiased; }
input, textarea, select, [contenteditable="true"] { caret-color: var(--red-text); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(var(--red-rgb), 0.7); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(var(--red-rgb), 0.5); color: #fff; }
:focus-visible { outline: 2px solid rgba(var(--red-rgb), 0.85); outline-offset: 3px; }
html { scrollbar-color: var(--panel-4) var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; border: 3px solid var(--bg); }
input[type="password"]::-ms-reveal, input[type="password"]::-ms-clear { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic .fill, #i-play .fill { fill: currentColor; stroke: none; }
.ic-red { color: var(--red-text); }
.ic-gold { color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.empty { color: var(--text-2); padding: 28px 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.narrow { max-width: 920px; }
.panel { background: linear-gradient(180deg, var(--panel), #0e0e12); border: 1px solid var(--line); border-radius: var(--r-l); }
.kicker { color: var(--red-text); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.kicker.gold-k { color: var(--gold); }
:lang(th) .kicker { letter-spacing: 0.06em; }

/* ------------------------------------------------ brand (styled text, like the launcher) ------------------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 0.32em; font-style: italic; line-height: 0.9; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; color: var(--text); }
.brand-am { display: inline-block; font-weight: 900; color: var(--red); font-size: 1.55em; transform: skewX(-6deg); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 18px rgba(var(--red-rgb), 0.45); }
.brand-word { display: inline-flex; gap: 0.3em; align-items: baseline; }
.brand-word b { font-weight: 800; color: var(--red); letter-spacing: 0.01em; }
.brand-word i { font-weight: 800; color: #fff; letter-spacing: 0.02em; font-style: italic; }
.brand-top { font-size: 16px; }
.brand-hero { font-size: clamp(26px, 3.4vw, 40px); flex-direction: column; align-items: flex-start; gap: 6px; }
.brand-hero .brand-am { font-size: 2.5em; }
.brand-hero .brand-word { font-size: 0.82em; }
.brand-dl, .brand-auth { font-size: 18px; }
.brand-auth { justify-self: center; margin-bottom: 4px; }
.brand-foot { font-size: 18px; }

/* ------------------------------------------------ buttons ------------------------------------------------ */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: 500 15px/1 var(--font); color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s; }
.btn .ic { width: 18px; height: 18px; }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn:not(:disabled):active { transform: scale(0.97); transition-duration: 0.08s; }
.btn-red { background: linear-gradient(180deg, var(--red), var(--red-2)); box-shadow: 0 6px 18px rgba(var(--red-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-red:not(:disabled):hover { box-shadow: 0 10px 28px rgba(var(--red-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-red::after, .btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s var(--ease); pointer-events: none; }
.btn-red:not(:disabled):hover::after, .btn-gold:not(:disabled):hover::after { transform: translateX(120%); }
.btn-line { background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); color: var(--text); }
.btn-line:not(:disabled):hover { background: rgba(255, 255, 255, 0.085); border-color: var(--line-3); }
.btn-gold { color: #2a1800; background: linear-gradient(180deg, #ffd26a, #e9a21f); box-shadow: 0 6px 18px rgba(var(--gold-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); font-weight: 600; }
.btn-gold:not(:disabled):hover { box-shadow: 0 10px 28px rgba(var(--gold-rgb), 0.5); transform: translateY(-1px); }
.btn-discord { background: #5865f2; box-shadow: 0 6px 18px rgba(88, 101, 242, 0.3); }
.btn-discord:hover { background: #6874ff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; gap: 7px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-lg { min-height: 54px; font-size: 17px; font-weight: 600; border-radius: 14px; }
.btn-hero { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn-wide { width: 100%; }
.btn .ic:has(> use[href="#i-arrow"]), .btn .ic:has(> use[href="#i-chev"]), .see-all .ic { transition: transform 0.25s var(--ease); }
.btn:hover .ic:has(> use[href="#i-arrow"]), .btn:hover .ic:has(> use[href="#i-chev"]), .see-all:hover .ic { transform: translateX(4px); }
.btn.loading { color: transparent !important; pointer-events: none; }
.btn.loading::before { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.ok { border-color: var(--ok) !important; color: var(--ok-text) !important; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.07); }
.icon-btn .ic { width: 22px; height: 22px; }
.acct-btn { border-color: var(--line); background: rgba(255, 255, 255, 0.035); border-radius: 999px; }
.acct-btn .avatar { width: 32px; height: 32px; }
.link-btn { border: 0; background: none; color: var(--text-3); font: 400 13px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: center; padding: 4px; }
.link-btn:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.link-arrow:hover { color: #fff; }
.link-arrow .ic { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------ coins, chips, badges ------------------------------------------------ */
.coin { flex: none; display: inline-grid; place-items: center; border-radius: 50%; color: #6b4300; background: radial-gradient(circle at 35% 30%, #ffe08a, #e2a21c 60%, #9b6a06); box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.25); }
.coin .ic { stroke-width: 2.3; }
.coin-xs { width: 18px; height: 18px; box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.35); }
.coin-xs .ic { width: 13px; height: 13px; }
.coin-sm { width: 26px; height: 26px; }
.coin-sm .ic { width: 17px; height: 17px; }
.coin-md { width: 40px; height: 40px; }
.coin-md .ic { width: 24px; height: 24px; }
.coin-lg { width: 58px; height: 58px; box-shadow: 0 0 26px rgba(var(--gold-rgb), 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.25); }
.coin-lg .ic { width: 34px; height: 34px; }
.coin-md, .coin-lg { animation: coin-spin 5s ease-in-out infinite; }
@keyframes coin-spin { 0%, 72%, 100% { transform: rotateY(0); } 86% { transform: rotateY(180deg); } }
.crown-badge { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #2a1800; background: linear-gradient(180deg, #ffd26a, #e9a21f); box-shadow: 0 0 22px rgba(var(--gold-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.crown-badge .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.crown-badge.sm { width: 26px; height: 26px; border-radius: 8px; }
.crown-badge.sm .ic { width: 15px; height: 15px; }
.plan-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; white-space: nowrap; font-style: normal; }
.plan-chip .ic { width: 12px; height: 12px; stroke-width: 2.2; }
.plan-chip.free { background: rgba(255, 255, 255, 0.06); color: var(--text-2); border: 1px solid var(--line-2); }
.plan-chip.member { background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.25), rgba(201, 138, 18, 0.18)); color: var(--gold-text); border: 1px solid rgba(var(--gold-rgb), 0.45); }
.plan-chip.big { height: 26px; padding: 0 11px; font-size: 12px; }
.pt-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 6px; border-radius: 999px; background: rgba(var(--gold-rgb), 0.1); border: 1px solid rgba(var(--gold-rgb), 0.32); color: var(--gold-text); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.pt-chip .ic { width: 13px; height: 13px; stroke-width: 2.2; }
.ns-badge { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: var(--text-2); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gtag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; line-height: 1; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); background: rgba(12, 12, 16, 0.85); }
.gtag-hot { background: linear-gradient(180deg, #ff3a3a, #c10f1a); position: relative; overflow: hidden; }
.gtag-new { background: linear-gradient(180deg, #3a8bff, #1b5fd0); }
.gtag-sale { background: linear-gradient(180deg, #27c463, #128a41); }
.gtag-best { background: linear-gradient(180deg, #ffc23a, #d8900c); color: #2a1800; }
.gtag-hot::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-120%) skewX(-18deg); animation: tag-shine 5s ease-in-out 1.5s infinite; }
@keyframes tag-shine { 0%, 70% { transform: translateX(-120%) skewX(-18deg); } 90%, 100% { transform: translateX(260%) skewX(-18deg); } }
.live-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; box-shadow: 0 0 16px rgba(var(--red-rgb), 0.45); font-style: normal; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, var(--red), var(--red-3)); color: #fff; font-weight: 600; font-size: 14px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.avatar.big { width: 56px; height: 56px; font-size: 22px; box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--red-line); }
.member-pip { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, #ffd26a, #e9a21f) ; box-shadow: 0 0 0 2px var(--bg); }
.member-pip::after { content: ""; position: absolute; inset: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1800' stroke-width='2.8' stroke-linejoin='round'%3E%3Cpath d='M4 9 8 12.5l4-6 4 6L20 9l-1.5 9h-13z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ------------------------------------------------ top bar ------------------------------------------------ */
.top { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, rgba(13, 13, 17, 0.94), rgba(9, 9, 12, 0.94)); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; view-transition-name: topbar; }
.top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: min(380px, 60vw); background: linear-gradient(100deg, rgba(var(--red-rgb), 0.24), transparent 75%); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); pointer-events: none; }
.top.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
.top-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 22px; min-height: 66px; }
.links { display: flex; gap: 4px; }
.links a { position: relative; padding: 8px 14px; border-radius: 11px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s, background-color 0.2s, box-shadow 0.25s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.links a.on { color: #fff; background: linear-gradient(180deg, var(--red), var(--red-2)); box-shadow: 0 6px 18px rgba(var(--red-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; align-items: center; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.lang button { border: 0; background: none; color: var(--text-3); font: 600 12px var(--font); letter-spacing: 0.06em; padding: 5px 9px; cursor: pointer; border-radius: 7px; transition: background-color 0.2s, color 0.2s; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.pts-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 7px; border-radius: 999px; background: rgba(var(--gold-rgb), 0.08); border: 1px solid rgba(var(--gold-rgb), 0.32); color: var(--text); text-decoration: none; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.pts-chip:hover { background: rgba(var(--gold-rgb), 0.14); border-color: rgba(var(--gold-rgb), 0.55); }
.pts-chip b { font-size: 15px; font-weight: 600; color: var(--gold-text); }
.pts-chip small { color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.pts-chip.empty { border-color: var(--red-line); background: var(--red-soft); }
.pts-chip.empty b { color: #ff8a93; }
.top-cta { min-height: 40px; }
.only-m { display: none !important; }

/* ------------------------------------------------ hero ------------------------------------------------ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(60% 90% at 78% 40%, rgba(var(--red-rgb), 0.2), transparent 70%), linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35)); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/hero-beams.webp") right center / cover no-repeat; opacity: 0.35; mix-blend-mode: screen; pointer-events: none; }
.hero::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 30%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(var(--red-rgb), 0.08) 40%, rgba(255, 140, 140, 0.13) 50%, rgba(var(--red-rgb), 0.08) 60%, transparent); opacity: 0; animation: sweep 12s var(--ease) 1.2s infinite; }
@keyframes sweep { 0% { transform: translateX(0) skewX(-18deg); opacity: 0; } 8% { opacity: 1; } 45% { transform: translateX(460%) skewX(-18deg); opacity: 1; } 50%, 100% { transform: translateX(460%) skewX(-18deg); opacity: 0; } }
.hero-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(30px, 5vw, 64px) var(--gut) clamp(34px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(20px, 4vw, 48px); }
.hero-copy { display: grid; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 13px; font-weight: 500; }
.promise { margin-top: 20px; font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.hero-sub { margin-top: 14px; color: var(--text-2); font-size: clamp(15px, 1.4vw, 18px); font-weight: 300; max-width: 36em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; color: var(--text-2); font-size: 15px; animation: rise 0.5s var(--ease) both; }
.hero-price > span:nth-child(2) { color: var(--text); font-weight: 500; }
.hp-mem { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.hp-mem .ic { width: 16px; height: 16px; color: var(--gold); }
.hp-mem b { color: var(--gold-text); font-weight: 600; }
.hp-mem small { color: var(--text-3); }
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 17px; height: 17px; color: var(--red-text); }
.hero-art { position: relative; justify-self: center; width: min(100%, 540px); display: grid; }
.hero-glow { position: absolute; inset: 6% 8%; border-radius: 50%; background: rgba(var(--red-rgb), 0.5); filter: blur(70px); animation: glow 7s ease-in-out 1s infinite; }
.hero-logo { position: relative; justify-self: end; width: 80%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); animation: rise 0.9s var(--ease) both, float 7s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes glow { 50% { opacity: 0.6; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.hero.is-off::after, .hero.is-off .hero-logo, .hero.is-off .hero-glow { animation-play-state: paused; }
/* the live wallet: what a stream looks like in points */
.wallet { position: relative; justify-self: start; margin: -110px 0 0 -2%; width: min(270px, 54%); padding: 14px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(22, 22, 28, 0.94), rgba(12, 12, 16, 0.96)); border: 1px solid var(--line-2); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(var(--red-rgb), 0.12); backdrop-filter: blur(8px); animation: rise 0.8s var(--ease) 0.35s both; }
.wallet-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.wallet-top > span:nth-child(2) { display: grid; line-height: 1.1; }
.wallet-top small { color: var(--text-3); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; }
.wallet-top b { font-size: 22px; font-weight: 700; color: var(--gold-text); }
.wallet-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.wallet-live .live-dot { width: 6px; height: 6px; }
.wallet-feed { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.wallet-feed li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--text-2); animation: feed-in 0.5s var(--ease) both; }
.wallet-feed li:nth-child(1) { animation-delay: 0.7s; } .wallet-feed li:nth-child(2) { animation-delay: 0.85s; } .wallet-feed li:nth-child(3) { animation-delay: 1s; } .wallet-feed li:nth-child(4) { animation-delay: 1.15s; }
@keyframes feed-in { from { opacity: 0; transform: translateX(-10px); } }
.wallet-feed .ic { width: 15px; height: 15px; color: var(--text-3); }
.wallet-feed b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.minus { color: #ff8a93; }
.zero { color: var(--ok-text); }

/* ------------------------------------------------ sections ------------------------------------------------ */
.notice { margin-top: 24px; padding: 12px 16px; border-radius: var(--r-s); background: rgba(255, 191, 71, 0.08); border: 1px solid rgba(255, 191, 71, 0.3); color: #ffe0a3; }
.sec { margin-top: clamp(48px, 7vw, 88px); }
.sec-head { display: grid; gap: 6px; margin-bottom: 24px; max-width: 760px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.005em; }
.sec-head p:not(.kicker) { color: var(--text-2); max-width: 56ch; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.row-head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.see-all { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.see-all:hover { color: #fff; }
.page-head { padding: clamp(26px, 4vw, 44px) 0 22px; display: grid; gap: 6px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.page-head p:not(.kicker) { color: var(--text-2); max-width: 70ch; }
.sub-h { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin: 44px 0 6px; }
.sub-p { color: var(--text-2); margin-bottom: 18px; font-size: 15px; }
.sub-h + .packs, .sub-h + #msMember, .sub-h + .paygrid, .sub-h + .olist { margin-top: 16px; }
.price-foot { margin-top: 18px; color: var(--text-3); font-size: 14px; text-align: center; }

/* explainer tiles */
.explain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.tile { padding: 22px 20px; display: grid; gap: 8px; align-content: start; border-radius: var(--r-l); background: linear-gradient(180deg, var(--panel), #0e0e12); border: 1px solid var(--line); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.tile:hover { border-color: var(--red-line); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(var(--red-rgb), 0.1); }
.tile b { font-size: 17px; font-weight: 600; margin-top: 6px; }
.tile span:not(.tile-ic) { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.tile-ic { width: 46px; height: 46px; display: inline-grid; place-items: center; flex: none; border-radius: 13px; background: var(--red-soft); border: 1px solid var(--red-line); color: #ff8a93; }
.tile-ic .ic { width: 23px; height: 23px; }
.tile-ic.gold { background: rgba(var(--gold-rgb), 0.12); border-color: rgba(var(--gold-rgb), 0.4); color: var(--gold-text); }
.tile-ic.green { background: rgba(47, 211, 107, 0.12); border-color: rgba(47, 211, 107, 0.35); color: var(--ok-text); }

/* AM POINT packs */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 28px); border-radius: var(--r-l); background: linear-gradient(180deg, var(--panel-2), #0f0f13); border: 1px solid var(--line-2); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.pack:hover { transform: translateY(-4px); border-color: var(--red-line); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(var(--red-rgb), 0.14); }
.pack.best { border-color: rgba(var(--red-rgb), 0.7); background: radial-gradient(120% 80% at 100% 0%, rgba(var(--red-rgb), 0.22), transparent 60%), linear-gradient(180deg, #1a0d10, #0f0f13); box-shadow: 0 0 0 1px rgba(var(--red-rgb), 0.3), 0 22px 50px rgba(var(--red-rgb), 0.16); }
.pk-ribbon { position: absolute; top: -13px; right: 20px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 999px; background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 20px rgba(var(--red-rgb), 0.45); }
.pk-ribbon .ic { width: 14px; height: 14px; }
.pk-top { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.pk-label { color: var(--text-2); font-size: 14px; font-weight: 500; }
.pk-bonus { margin-left: auto; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(var(--gold-rgb), 0.14); border: 1px solid rgba(var(--gold-rgb), 0.45); color: var(--gold-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pk-pts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.pk-pts b { font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.pack.best .pk-pts b { color: var(--gold-text); text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.25); }
.pk-pts span { color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }
.pk-base { color: var(--text-2); font-size: 14px; }
.pk-price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.pk-price b { font-size: 26px; font-weight: 700; }
.pk-price small { color: var(--text-3); font-size: 13px; }
.pack .btn { margin-top: auto; }

/* Member card (gold) */
.mwide { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 0; border-radius: var(--r-l); overflow: hidden; border: 1px solid rgba(var(--gold-rgb), 0.45);
  background: radial-gradient(80% 120% at 100% 0%, rgba(var(--gold-rgb), 0.14), transparent 60%), linear-gradient(180deg, #17140d, #0f0e0c); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45); transition: box-shadow 0.3s, border-color 0.3s; }
.mwide:hover { border-color: rgba(var(--gold-rgb), 0.7); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--gold-rgb), 0.1); }
.mw-main { padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.mw-head { display: flex; align-items: center; gap: 14px; }
.mw-head h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
.mw-head p { font-size: 14px; }
.tool-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; }
.tool-chips .ic { width: 15px; height: 15px; color: var(--gold); }
.mw-note { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; }
.mw-note .ic { width: 16px; height: 16px; color: var(--gold); }
.mw-buy { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 12px; border-left: 1px solid rgba(var(--gold-rgb), 0.18); background: rgba(0, 0, 0, 0.25); }
.pc-promo { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: #ffb3b8; font-size: 13px; }
.pc-promo .off { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(var(--red-rgb), 0.16); border: 1px solid var(--red-line); color: #ff8a93; font-weight: 600; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pc-price b { font-size: clamp(44px, 5vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--gold-text); text-shadow: 0 0 26px rgba(var(--gold-rgb), 0.25); }
.pc-price s { color: var(--text-3); font-size: 20px; text-decoration-thickness: 2px; text-decoration-color: rgba(var(--red-rgb), 0.7); }
.pc-price small { color: var(--text-2); font-size: 15px; }
.pc-count { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: var(--r-s); background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line-2); color: var(--text-2); font-size: 13.5px; }
.pc-count .ic { width: 16px; height: 16px; color: var(--red-text); }
.pc-cd { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.pc-mine { display: flex; align-items: center; gap: 8px; color: var(--ok-text); font-size: 14px; }
.pc-mine .ic { width: 16px; height: 16px; }
.mwide .btn { margin-top: 6px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); stroke-width: 2.3; }
.ticks li.strong { color: var(--text); font-weight: 500; }
.ghost { aspect-ratio: 16 / 13; border-radius: var(--r); background: linear-gradient(100deg, var(--panel) 30%, var(--panel-3) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.ghost-card { aspect-ratio: auto; height: 340px; border-radius: var(--r-l); }
.ghost-card.wide { height: 300px; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* how points work */
.how-points { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.hp-steps .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(var(--red-rgb), 0.3); }
.hp-steps div { display: grid; gap: 2px; }
.hp-steps b { font-weight: 600; font-size: 17px; }
.hp-steps div span { color: var(--text-2); font-size: 14px; }
.receipt { padding: clamp(18px, 2.4vw, 24px); display: grid; gap: 12px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.rc-head { display: flex; align-items: center; gap: 10px; }
.rc-head b { font-weight: 600; font-size: 17px; }
.rc { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rc th, .rc td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.rc thead th { color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.rc th[scope="row"], .rc thead th:first-child { text-align: left; font-weight: 400; }
.rc th[scope="row"] { display: flex; align-items: center; gap: 9px; white-space: normal; }
.rc th[scope="row"] .ic { width: 17px; height: 17px; color: var(--gold); }
.rc td { color: var(--text-2); }
.rc td.minus { color: #ff8a93; font-weight: 600; }
.rc tr.free th .ic { color: var(--ok); }
.rc tr.free td:last-child { color: var(--ok-text); font-weight: 600; }
.rc tfoot th, .rc tfoot td { border-bottom: 0; padding-top: 12px; font-weight: 600; color: var(--text); }
.rc tfoot td.minus { font-size: 18px; }
.rc-bal { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 14px; border-radius: var(--r-s); background: rgba(var(--gold-rgb), 0.07); border: 1px solid rgba(var(--gold-rgb), 0.25); color: var(--text-2); font-size: 14px; }
.rc-bal > span:first-child { margin-right: auto; }
.rc-bal .ic { width: 16px; height: 16px; color: var(--text-3); }
.rc-bal b { color: var(--gold-text); font-size: 20px; font-weight: 700; }
.out-note { margin-top: 18px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; border-color: rgba(255, 191, 71, 0.3); background: linear-gradient(90deg, rgba(255, 191, 71, 0.07), transparent 60%), var(--panel); }
.out-note .tile-ic { background: rgba(255, 191, 71, 0.12); border-color: rgba(255, 191, 71, 0.4); color: var(--warn); }
.out-note > div { flex: 1 1 320px; display: grid; gap: 2px; }
.out-note b { font-weight: 600; font-size: 17px; }
.out-note p { color: var(--text-2); font-size: 14.5px; }

/* banners (admin) */
.banners { position: relative; margin-bottom: 18px; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #050507; }
.bn-view { overflow: hidden; }
.bn-track { display: flex; transition: transform 0.7s var(--ease); }
.bn-slide { position: relative; flex: 0 0 100%; display: block; aspect-ratio: 3.4 / 1; color: #fff; text-decoration: none; }
.bn-slide img { width: 100%; height: 100%; object-fit: cover; }
.bn-txt { position: absolute; inset: 0 40% 0 0; display: grid; align-content: center; gap: 4px; padding: clamp(16px, 3vw, 34px); background: linear-gradient(90deg, rgba(5, 5, 7, 0.9), transparent); }
.bn-txt b { font-size: clamp(18px, 2.6vw, 32px); font-weight: 700; font-style: italic; line-height: 1.15; }
.bn-txt small { color: var(--text-2); font-size: clamp(13px, 1.3vw, 16px); }
.bn-arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(5, 5, 7, 0.6); color: #fff; cursor: pointer; opacity: 0; transition: opacity 0.25s, background-color 0.2s; }
.bn-arrow.prev { left: 12px; }
.bn-arrow.next { right: 12px; }
.banners:hover .bn-arrow, .bn-arrow:focus-visible { opacity: 1; }
.bn-arrow:hover { background: var(--red); }
.bn-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
.bn-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: width 0.35s var(--ease), background-color 0.2s; }
.bn-dot[aria-current="true"] { width: 24px; background: var(--red); }

/* game cards (the launcher's) */
.grid { display: grid; gap: clamp(12px, 1.4vw, 16px); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 8px 8px 10px; border-radius: 15px; background: linear-gradient(180deg, #15151b, #101015); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform 0.28s var(--ease), border-color 0.25s, box-shadow 0.3s; animation: card-in 0.5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.card:hover { transform: translateY(-4px); border-color: rgba(var(--red-rgb), 0.45); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--red-rgb), 0.25), 0 10px 32px rgba(var(--red-rgb), 0.16); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; background: #1a1a20; overflow: hidden; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5)); pointer-events: none; }
.card-img img, .card-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img img { transition: transform 0.5s var(--ease), filter 0.3s, opacity 0.45s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-img video { opacity: 0; transition: opacity 0.35s var(--ease); }
.card.playing .card-img video { opacity: 1; }
.card-play { position: absolute; right: 7px; bottom: 7px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.6); color: #fff; transition: opacity 0.3s, background-color 0.25s; }
.card-play .ic { width: 13px; height: 13px; margin-left: 2px; }
.card:hover .card-play { background: var(--red); }
.card.playing .card-play { opacity: 0; }
.card-tags { position: absolute; left: 7px; top: 7px; right: 44px; z-index: 2; pointer-events: none; }
.badge-off { position: absolute; left: 7px; top: 7px; z-index: 2; padding: 2px 9px; border-radius: 6px; background: var(--warn); color: #241600; font-size: 11px; font-weight: 600; }
.badge-off.soon { background: rgba(0, 0, 0, 0.75); color: var(--text-2); border: 1px solid var(--line-3); }
.card.off .card-img img { filter: grayscale(0.8) brightness(0.55); }
.card-name { margin: 9px 3px 4px; font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 3px 0; }

/* games filters */
.filters { display: flex; gap: 12px; margin-bottom: 20px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text-3); transition: border-color 0.2s; }
.search:focus-within { border-color: var(--red-line); }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; color: var(--text); font: 400 15px var(--font); outline: none; }
.search input::placeholder { color: var(--text-3); }
.select { position: relative; display: flex; align-items: center; }
.select select { appearance: none; height: 48px; min-width: 200px; padding: 0 40px 0 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); font: 400 15px var(--font); cursor: pointer; }
.select select:focus-visible { border-color: var(--red-line); outline: none; }
.select .ic { position: absolute; right: 12px; pointer-events: none; color: var(--text-3); }

/* game detail */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 22px 0 16px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; }
.crumbs span { color: var(--text); }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: #000; border: 1px solid var(--line); view-transition-name: media; }
.stage video, .stage img { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(0, 0, 0, 0.6); color: #fff; font: 500 13px var(--font); cursor: pointer; }
.sound:hover { background: var(--red); }
.thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb { position: relative; flex: 0 0 auto; width: clamp(96px, 16%, 150px); aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; transition: border-color 0.2s, transform 0.25s var(--ease); }
.thumb:hover { transform: translateY(-2px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.2s; }
.thumb:hover img, .thumb.on img { opacity: 1; }
.thumb.on { border-color: var(--red); box-shadow: 0 0 16px rgba(var(--red-rgb), 0.35); }
.thumb .ic { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px #000); }
.info { padding: 24px; display: grid; gap: 16px; }
.info h1 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.tagline { color: var(--text-2); margin-top: -8px; }
.platform { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; margin-top: -6px; }
.platform .ic { width: 16px; height: 16px; }
.offline-note { color: var(--warn); }
.access { display: grid; gap: 12px; }
.acc-box { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel-2); }
.acc-box b { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.acc-box small { color: var(--text-2); font-size: 14px; }
.acc-box.pts { border-color: rgba(var(--gold-rgb), 0.35); background: radial-gradient(100% 120% at 100% 0%, rgba(var(--gold-rgb), 0.1), transparent 60%), var(--panel-2); }
.acc-box.pts > b .ic { color: var(--gold); }
.acc-bal { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.acc-bal b { margin-left: auto; color: var(--gold-text); font-size: 20px; font-weight: 700; }
.acc-bal.empty { color: #ff8a93; }
.acc-bal .ic { width: 16px; height: 16px; }
.acc-btns { display: grid; gap: 10px; }
.feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feats li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; line-height: 1.3; color: var(--text-2); white-space: nowrap; }
.feats .ic { width: 16px; height: 16px; color: var(--text); }
.desc { color: var(--text-2); font-size: 15px; }
.desc:empty { display: none; }

/* membership page */
.mstatus { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px; margin-bottom: 8px; animation: rise 0.45s var(--ease) both; }
.mstatus.on { border-color: rgba(var(--gold-rgb), 0.35); }
.ms-txt { flex: 1 1 260px; display: grid; gap: 4px; }
.ms-txt b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 18px; }
.ms-txt small { color: var(--text-2); font-size: 14px; }
.ms-pts { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: var(--r); background: rgba(var(--gold-rgb), 0.07); border: 1px solid rgba(var(--gold-rgb), 0.3); }
.ms-pts > span:last-child { display: grid; line-height: 1.2; }
.ms-pts small { color: var(--text-3); font-size: 12px; }
.ms-pts b { color: var(--gold-text); font-size: 24px; font-weight: 700; }
.ms-pts.empty { background: var(--red-soft); border-color: var(--red-line); }
.ms-pts.empty b { color: #ff8a93; }
.meter { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; max-width: 360px; }
.meter > span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); animation: meter 1s var(--ease) both; }
@keyframes meter { from { transform: scaleX(0); } }
.compare { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--panel); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { background: var(--panel-2); color: var(--text-2); font-weight: 600; font-size: 14px; }
.cmp thead th.m { color: var(--gold-text); }
.cmp thead th .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.cmp th[scope="row"] { text-align: left; font-weight: 400; color: var(--text); }
.cmp th[scope="row"] .ic { width: 18px; height: 18px; color: var(--text-3); vertical-align: -4px; margin-right: 10px; }
.cmp td { width: 22%; }
.cmp td.m { background: rgba(var(--gold-rgb), 0.04); }
.cmp tbody tr { transition: background-color 0.2s; }
.cmp tbody tr:hover { background: var(--panel-2); }
.cmp-yes, .cmp-no { display: inline-grid; place-items: center; vertical-align: middle; }
.cmp-yes .ic { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.4; }
.cmp-no .ic { width: 18px; height: 18px; color: var(--text-3); opacity: 0.6; }
.cmp-txt { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.cmp-txt.strong { color: var(--gold-text); font-weight: 500; }
.paygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pay-item { display: flex; align-items: center; gap: 14px; padding: 16px; }
.pay-item div { flex: 1; display: grid; gap: 2px; }
.pay-item b { font-weight: 600; }
.pay-item small { color: var(--text-3); font-size: 13px; line-height: 1.45; }
.pay-item .tile-ic { width: 42px; height: 42px; }
.pay-item.off { opacity: 0.7; }
.pay-item.off .tile-ic { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); color: var(--text-3); }
.pay-state { flex: none; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); font-size: 12px; white-space: nowrap; }
.pay-state.on { background: rgba(47, 211, 107, 0.14); color: var(--ok-text); }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; color: var(--text-2); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--red-text); width: 18px; height: 18px; }

/* ------------------------------------------------ checkout + order ------------------------------------------------ */
.co { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.side { display: grid; gap: 16px; }
.summary { overflow: hidden; }
.summary > img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.pcard-vis { position: relative; aspect-ratio: 16 / 8; display: grid; place-content: center; justify-items: center; gap: 4px; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard-vis.pts { background: radial-gradient(70% 90% at 50% 10%, rgba(var(--red-rgb), 0.42), transparent 70%), linear-gradient(135deg, #1a0a0d, #0b0b0e 60%); }
.pcard-vis.mem { background: radial-gradient(70% 90% at 50% 10%, rgba(var(--gold-rgb), 0.35), transparent 70%), linear-gradient(135deg, #1b150a, #0b0b0e 60%); color: var(--gold-text); }
.pcard-vis::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.08), transparent); transform: translateX(-120%) skewX(-16deg); animation: mshine 4.5s 1s ease-in-out infinite; }
@keyframes mshine { 0%, 60% { transform: translateX(-120%) skewX(-16deg); } 100% { transform: translateX(330%) skewX(-16deg); } }
.pcard-vis > .ic { width: 42px; height: 42px; color: var(--gold); filter: drop-shadow(0 0 14px rgba(var(--gold-rgb), 0.5)); }
.pcard-vis b { font-size: 21px; font-weight: 800; font-style: italic; letter-spacing: 0.08em; color: #fff; }
.pcard-vis span:last-child { color: var(--text-2); font-size: 14px; font-weight: 500; }
.pcard-vis.pts span:last-child { color: var(--gold-text); font-size: 18px; font-weight: 700; }
.sum-txt { padding: 14px 18px 0; display: flex; flex-direction: column; }
.sum-txt b { font-weight: 600; font-size: 18px; }
.sum-txt span { color: var(--text-2); font-size: 14px; }
.sum-who { display: flex; align-items: center; gap: 8px; margin: 10px 18px 0; color: var(--text-2); font-size: 14px; }
.sum-who .avatar { width: 24px; height: 24px; font-size: 12px; }
.sum-total { margin: 12px 18px 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--text-2); }
.sum-total b { color: #fff; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-total s { color: var(--text-3); font-size: 16px; font-weight: 400; margin-right: 4px; }
.promo-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -4px 18px 12px; color: var(--text-2); font-size: 13px; }
.hp-promo { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(var(--red-rgb), 0.16); border: 1px solid var(--red-line); color: #ff8a93; font-size: 12px; font-weight: 600; white-space: nowrap; }
.promo-cd { display: inline-flex; align-items: center; gap: 6px; }
.promo-cd .ic { width: 15px; height: 15px; color: var(--red-text); }
.until-note { margin: 0 18px 18px; color: var(--text-3); font-size: 13px; }
.until-note:empty { display: none; }
.disc-note { margin: 0 18px 12px; color: var(--ok-text); font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 8px 18px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 14px 0 14px 44px; display: flex; flex-direction: column; gap: 2px; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-4); color: var(--text-2); font-weight: 600; font-size: 14px; }
.steps li b { font-weight: 500; color: var(--text-2); }
.steps li small { color: var(--text-3); font-size: 13px; }
.steps li.now::before { background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; animation: ring 2.2s var(--ease) infinite; }
.steps li.now b { color: #fff; }
.steps li.done::before { content: ""; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306210f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; animation: tick-in 0.45s var(--ease) both; }
.steps li.done b { color: var(--text); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--red-rgb), 0); } }
@keyframes tick-in { from { transform: scale(0.4); opacity: 0; } }
.o-main { padding: 24px; display: grid; gap: 18px; align-content: start; }
.pane-h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.step-n { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--red-soft); border: 1px solid var(--red-line); color: #ff8a93; font-size: 13px; font-weight: 700; }
.pane-h:not(:first-child) { margin-top: 6px; }
.plans { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.plan { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.02); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease), box-shadow 0.25s; }
.plan:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(2px); }
.plan input { appearance: none; margin: 0; width: 18px; height: 18px; flex: none; border: 2px solid var(--text-3); border-radius: 50%; cursor: pointer; }
.plan input:checked { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--panel); }
.plan:has(input:checked) { border-color: rgba(var(--red-rgb), 0.65); background: var(--red-soft); box-shadow: 0 0 0 1px rgba(var(--red-rgb), 0.2), 0 8px 24px rgba(var(--red-rgb), 0.1); }
.plan:has(input:focus-visible) { outline: 2px solid rgba(var(--red-rgb), 0.85); outline-offset: 2px; }
.plan-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.plan-txt b { font-weight: 600; }
.plan-txt small { color: var(--text-3); font-size: 13px; }
.plan-price { display: inline-flex; align-items: baseline; gap: 6px; color: #fff; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-price s { color: var(--text-3); font-size: 13px; font-weight: 400; }
.prod-opt.is-mem:has(input:checked) { border-color: rgba(var(--gold-rgb), 0.6); background: rgba(var(--gold-rgb), 0.08); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.18); }
.prod-opt.is-mem input:checked { border-color: var(--gold); background: var(--gold); }
.prod-opt.is-mem .plan-price b { color: var(--gold-text); }
.pay-opt .pay-ic { width: 26px; height: 26px; color: var(--text-2); }
.pay-opt:has(input:checked) .pay-ic { color: var(--red-text); }
.pay-opt .plan-price { font-size: 15px; font-weight: 600; color: var(--text-2); }
.msg { min-height: 1.3em; font-size: 14px; color: var(--text-2); }
.msg.bad { color: #ff8a93; }
.msg.ok { color: var(--ok-text); }
.terms-note { font-size: 13px; color: var(--text-3); text-align: center; }
.terms-note a { color: var(--text-2); }
.pane { display: grid; gap: 16px; }
#paneQr { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 24px; align-items: start; }
.qr-col { display: grid; gap: 12px; justify-items: start; }
.qr-card { width: 100%; padding: 14px; border-radius: var(--r); background: #fff; color: #1b1f29; display: grid; gap: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(var(--red-rgb), 0.15); }
.qr-top { display: flex; justify-content: space-between; align-items: center; }
.pp-txt { font-weight: 600; font-size: 17px; color: #1b1f29; }
.timer { display: inline-flex; align-items: center; gap: 6px; color: #b80d15; font-weight: 600; font-variant-numeric: tabular-nums; }
.qr-amount { margin: -4px 0 -2px; color: #1b1f29; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qr-box { position: relative; }
.qr-box img { width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-expired { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(255, 255, 255, 0.95); text-align: center; font-weight: 500; }
.qr-expired small { max-width: 220px; color: #4a5263; font-size: 13px; font-weight: 400; line-height: 1.4; }
.burn { height: 5px; border-radius: 5px; background: #e6e8ee; overflow: hidden; }
.burn span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transition: transform 1s linear; }
.qr-to { font-size: 14px; color: #3a4150; }
.qr-to b { color: #111; }
.hint { color: var(--text-3); font-size: 13px; }
.slip h2 { font-size: 20px; margin-bottom: 12px; }
.drop { position: relative; display: grid; place-items: center; min-height: 190px; padding: 16px; margin-bottom: 12px; border: 2px dashed var(--line-3); border-radius: var(--r); background: rgba(255, 255, 255, 0.025); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.drop:hover, .drop.over { border-color: var(--red); background: rgba(var(--red-rgb), 0.06); }
.drop:focus-within { border-color: var(--red-text); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-text { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 500; }
.drop-text > span { display: flex; flex-direction: column; }
.drop-text .ic { width: 32px; height: 32px; color: var(--red-text); }
.drop-text small { color: var(--text-3); font-weight: 400; font-size: 13px; }
.drop-preview { max-height: 240px; width: auto; border-radius: 6px; }
.drop.scanning { overflow: hidden; border-color: var(--red); }
.drop.scanning::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(var(--red-rgb), 0.22) 70%, rgba(255, 90, 100, 0.95) 98%, transparent); animation: scan 1.3s var(--ease) infinite; pointer-events: none; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(280%); } }
.keep { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.banner.ok { background: rgba(47, 211, 107, 0.12); border: 1px solid rgba(47, 211, 107, 0.35); color: var(--ok-text); }
.flag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.flag.ok { color: var(--ok); }
.flag.wait { color: var(--warn); }
.flag.wait .ic { animation: breathe 1.8s ease-in-out infinite; }
.flag.bad { color: #ff8a93; }
@keyframes breathe { 50% { opacity: 0.35; transform: scale(0.9); } }
.key-title, #paneInfo h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.pp-buttons { width: 100%; max-width: 420px; margin-top: 4px; color-scheme: light; }   /* PayPal's frames are light: matching it keeps them transparent on the dark page */
.urgent { animation: urgent 1s ease-in-out infinite; }
@keyframes urgent { 50% { opacity: 0.45; } }
/* points / membership arrived */
#panePoints, #paneMember { justify-items: start; }
.points-pass, .member-pass { position: relative; overflow: hidden; width: 100%; padding: clamp(22px, 4vw, 32px); border-radius: var(--r-l); display: grid; gap: 6px; }
.points-pass { grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; border: 1px solid rgba(var(--gold-rgb), 0.5); background: radial-gradient(70% 120% at 100% 0%, rgba(var(--red-rgb), 0.3), transparent 60%), linear-gradient(135deg, #1b1209, var(--panel-2)); }
.points-pass .coin { grid-row: span 3; }
.pp-add { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pp-add b { font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; line-height: 1; color: var(--gold-text); text-shadow: 0 0 26px rgba(var(--gold-rgb), 0.3); }
.pp-add span { color: var(--text-2); font-weight: 600; letter-spacing: 0.1em; font-size: 14px; }
.pp-bal { font-size: 18px; font-weight: 600; }
.pp-bal:empty, .pp-acct:empty { display: none; }
.pp-acct { color: var(--text-2); }
.member-pass { border: 1px solid rgba(var(--gold-rgb), 0.55); background: radial-gradient(70% 120% at 100% 0%, rgba(var(--gold-rgb), 0.25), transparent 60%), linear-gradient(135deg, #1b150a, var(--panel-2)); }
.mp-top { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-weight: 700; font-style: italic; letter-spacing: 0.08em; font-size: 14px; }
.mp-top .ic { width: 20px; height: 20px; }
.mp-until { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; line-height: 1.2; }
.mp-acct { color: var(--text-2); }
.mp-acct:empty { display: none; }
.points-pass.pop, .member-pass.pop, .key-box.pop { animation: pop 0.6s var(--ease); }
@keyframes pop { from { transform: scale(1.05); } }
.points-pass.pop::after, .member-pass.pop::after, .key-box.pop::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent); transform: translateX(-120%) skewX(-16deg); animation: shine 1.1s 0.45s var(--ease) both; pointer-events: none; }
@keyframes shine { to { transform: translateX(330%) skewX(-16deg); } }
/* old license orders */
.key-box { position: relative; overflow: hidden; padding: 20px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line-2); text-align: center; }
.key-box code { font: 600 clamp(19px, 3vw, 28px)/1.3 var(--mono); letter-spacing: 0.06em; color: #fff; word-break: break-all; user-select: all; }
.open-ns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px; border-radius: var(--r); background: var(--red-soft); border: 1px solid var(--red-line); }
.open-ns small { flex: 1 1 240px; color: var(--text-2); font-size: 13px; }
@media (hover: none) and (max-width: 900px) { .open-ns { display: none; } }
.howto { display: grid; gap: 12px; padding-top: 6px; }
.howto-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.howto-head h3 { font-size: 18px; font-weight: 600; }
.howto-head p { color: var(--text-3); font-size: 14px; }
.howto-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: hs; }
.howto-steps li { counter-increment: hs; display: grid; gap: 8px; align-content: start; }
.howto-steps a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); transition: border-color 0.2s, transform 0.25s var(--ease); }
.howto-steps a:hover { border-color: var(--red); transform: translateY(-2px); }
.howto-steps img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.howto-steps p { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.howto-steps p::before { content: counter(hs); flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 600; font-size: 13px; }
.howto-steps b { color: var(--text); font-weight: 500; }
.howto-steps li.no-pic { align-content: center; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 10px; }
.howto-tips { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 16px; display: grid; gap: 8px; }
.howto-tips h4 { font-size: 15px; font-weight: 600; }
.howto-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.howto-tips li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.howto-tips .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--red-text); }
.swap-box { margin-top: 18px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel-2); display: grid; gap: 10px; }
.swap-box h3 { font-size: 17px; font-weight: 600; }
.swap-box .muted { font-size: 13px; }
.swap-list { display: grid; gap: 8px; }
.swap-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, transform 0.2s var(--ease); }
.swap-item:hover:not(:disabled) { border-color: var(--red); transform: translateY(-1px); }
.swap-item:disabled { opacity: 0.55; cursor: default; }
.swap-item img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #050507; }
.swap-item b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swap-go { display: inline-flex; align-items: center; gap: 6px; color: var(--red-text); font-size: 14px; font-weight: 500; white-space: nowrap; }
.swap-go .ic { width: 16px; height: 16px; }
.swap-item.loading { color: transparent; }
.swap-item.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.swap-done { margin-top: 12px; color: #c9b6ff !important; }
.spin { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------ download ------------------------------------------------ */
.dl-hero { margin-top: clamp(24px, 4vw, 40px); padding: clamp(22px, 4vw, 38px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center;
  background: radial-gradient(90% 120% at 0% 0%, rgba(var(--red-rgb), 0.2), transparent 60%), linear-gradient(180deg, var(--panel), #0e0e12); }
.dl-copy { display: grid; gap: 12px; justify-items: start; }
.dl-copy h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.dl-copy .btn { margin-top: 6px; }
.dl-file { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; font-family: var(--mono); }
.dl-file .ic { width: 15px; height: 15px; }
.dl-phone { display: none; color: var(--warn); font-size: 14px; }
@media (hover: none) and (max-width: 900px) { .dl-phone { display: block; } }
.dl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ds; }
.dl-steps li { counter-increment: ds; position: relative; padding: 14px 16px 14px 58px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.025); display: grid; gap: 2px; transition: border-color 0.25s, transform 0.25s var(--ease); }
.dl-steps li:hover { border-color: var(--red-line); transform: translateX(3px); }
.dl-steps li::before { content: counter(ds); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; font-weight: 600; font-size: 14px; }
.dl-steps b { font-weight: 600; }
.dl-steps span { color: var(--text-2); font-size: 14px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.dl-box { padding: 22px; display: grid; gap: 12px; align-content: start; }
.dl-box h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.ss-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; color: var(--text); }
.ss-steps li::marker { color: var(--red-text); font-weight: 600; }
.dl-join, .dl-strip { margin-top: 16px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.dl-join > div:first-child, .dl-strip > div:first-child { display: grid; gap: 2px; }
.dl-join .muted, .dl-strip small { font-size: 14px; }

/* ------------------------------------------------ sign in / account ------------------------------------------------ */
.auth { position: relative; max-width: 440px; margin: clamp(24px, 5vw, 56px) auto 0; padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; text-align: center; overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(closest-side, rgba(var(--red-rgb), 0.18), transparent); pointer-events: none; }
.auth > * { position: relative; }
.auth h1 { font-size: 26px; font-weight: 700; }
.auth .msg:empty { display: none; }
.auth-form { display: grid; gap: 12px; text-align: left; }
.field { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text-3); transition: border-color 0.2s, box-shadow 0.2s; }
.field:focus-within { border-color: var(--red-line); color: var(--text-2); box-shadow: 0 0 0 3px rgba(var(--red-rgb), 0.12); }
.field input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; color: var(--text); font: 400 15px var(--font); outline: none; }
.field input::placeholder { color: var(--text-3); }
.eye { border: 0; background: none; color: var(--text-3); padding: 6px; cursor: pointer; border-radius: 6px; display: grid; }
.eye:hover, .eye[aria-pressed="true"] { color: var(--text); }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; color: var(--text-3); font-size: 14px; }
.auth-links a { color: var(--red-text); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-note { display: flex; align-items: flex-start; gap: 8px; text-align: left; padding: 10px 12px; border-radius: 10px; background: rgba(255, 191, 71, 0.07); border: 1px solid rgba(255, 191, 71, 0.28); color: #ffe0a3; font-size: 13px; line-height: 1.45; }
.auth-note .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--warn); }
.acct { padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.acct-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct-txt b { font-size: 19px; font-weight: 600; }
.acct-txt small { color: var(--text-3); font-size: 13px; overflow-wrap: anywhere; }
.pts-box { margin-top: 16px; padding: clamp(20px, 3vw, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; border-color: rgba(var(--gold-rgb), 0.4);
  background: radial-gradient(80% 140% at 100% 0%, rgba(var(--red-rgb), 0.18), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(var(--gold-rgb), 0.1), transparent 60%), linear-gradient(180deg, var(--panel), #0e0e12); }
.pts-box .pb-txt { flex: 1 1 260px; display: grid; gap: 4px; }
.pts-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.pts-big b { font-size: clamp(38px, 5vw, 54px); font-weight: 700; line-height: 1.05; color: var(--gold-text); text-shadow: 0 0 28px rgba(var(--gold-rgb), 0.3); }
.pts-big span { color: var(--text-3); font-weight: 600; letter-spacing: 0.1em; font-size: 14px; }
.pts-box.empty .pts-big b { color: #ff8a93; text-shadow: none; }
.pts-box.empty { border-color: var(--red-line); }
.plan-box { margin-top: 16px; padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.plan-box.on { border-color: rgba(var(--gold-rgb), 0.45); background: radial-gradient(70% 140% at 100% 0%, rgba(var(--gold-rgb), 0.12), transparent 60%), linear-gradient(180deg, var(--panel), #0e0e12); }
.pb-txt { flex: 1 1 280px; display: grid; gap: 6px; justify-items: start; }
.pb-txt h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.pb-txt small { color: var(--text-2); font-size: 14px; }
.pb-txt .meter { width: 100%; }
.price-line { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price-line s { color: var(--text-3); font-size: 0.9em; }
.price-line b { color: var(--gold-text); font-weight: 600; font-size: 1.25em; }
.price-line small { color: var(--text-3); font-size: 0.85em; }
.tt-box { margin-top: 16px; padding: 18px 20px; display: grid; gap: 12px; }
.tt-box .msg:empty { display: none; }
.tt-head { display: flex; gap: 12px; align-items: flex-start; }
.tt-head .ic { width: 24px; height: 24px; margin-top: 2px; }
.tt-head div { display: grid; gap: 2px; }
.tt-head small { color: var(--text-3); font-size: 13px; }
.tt-row { display: flex; gap: 10px; }
.tt-row .field { flex: 1; }
.tt-row .btn { min-height: 48px; }
.at { color: var(--text-3); font-weight: 500; }
.olist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.olist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--panel), #0f0f13); text-decoration: none; transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease); }
.olist a:hover { border-color: var(--line-3); transform: translateX(2px); }
.olist small { color: var(--text-3); }
.olist .price { color: #fff; font-weight: 600; white-space: nowrap; }
.ol-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.olist .is-pts .ol-main b { color: var(--gold-text); }
.ol-side { display: grid; justify-items: end; gap: 4px; }
.st-pill { padding: 2px 9px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); white-space: nowrap; }
.st-pill.st-paid { background: rgba(47, 211, 107, 0.14); color: var(--ok-text); }
.st-pill.st-pending, .st-pill.st-review { background: rgba(255, 191, 71, 0.12); color: #ffe0a3; }
.st-pill.st-rejected { background: rgba(255, 138, 143, 0.12); color: #ff8a93; }
.ghost-row { height: 60px; border-radius: 12px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-3) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; list-style: none; }
.ghost-row + .ghost-row { margin-top: 8px; }
#v-account [data-local-orders] { margin-top: 14px; }

/* ------------------------------------------------ help / about / privacy / how to buy ------------------------------------------------ */
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: h; }
.how li { counter-increment: h; padding: 18px 20px 18px 66px; position: relative; display: grid; gap: 6px; justify-items: start; }
.how li::before { content: counter(h); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 16px rgba(var(--red-rgb), 0.3); }
.how h2, .contact-box h2 { font-size: 18px; }
.how p { color: var(--text-2); }
.how .btn { margin-top: 6px; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--panel), #0f0f13); transition: border-color 0.25s; }
.faq details[open] { border-color: var(--line-3); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font-weight: 500; transition: color 0.2s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--red-text); border-bottom: 2px solid var(--red-text); transform: translateY(-75%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details p { color: var(--text-2); padding: 0 18px 16px; max-width: 72ch; }
.faq details[open] p { animation: vt-in 0.3s var(--ease) both; }
.contact-box { margin-top: 28px; padding: 20px; display: grid; gap: 12px; }
.rules { margin: 0; padding: 8px 22px; list-style: none; counter-reset: rl; }
.rules li { counter-increment: rl; position: relative; padding: 16px 0 16px 46px; display: flex; flex-direction: column; gap: 4px; }
.rules li + li { border-top: 1px solid var(--line); }
.rules li::before { content: counter(rl); position: absolute; left: 0; top: 15px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); border: 1px solid var(--red-line); color: #ff8a93; font-weight: 600; font-size: 14px; }
.rules b { font-weight: 600; }
.rules span { color: var(--text-2); font-size: 15px; max-width: 72ch; }
.rules-foot { margin-top: 14px; font-size: 13px; }
.pv-date { font-size: 13px; color: var(--text-3) !important; }
.pv-body { padding: 8px 24px 22px; }
.pv-body h2 { font-size: 18px; margin: 22px 0 8px; }
.pv-body p, .pv-body li { color: var(--text-2); font-size: 15px; max-width: 72ch; }
.pv-body p + p { margin-top: 8px; }
.pv-body ul { margin: 0 0 8px; padding-left: 1.2em; display: grid; gap: 6px; }
.pv-body li::marker { color: var(--red-text); }
.pv-body b { color: var(--text); font-weight: 500; }
.pv-links { margin-top: 16px; }
.hb-cta { margin-top: 20px; }
.hb-foot { margin-top: 18px; color: var(--text-3); }

/* closing band */
.cta-band { position: relative; overflow: hidden; margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l); border: 1px solid var(--red-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  background: radial-gradient(120% 90% at 85% 0%, rgba(var(--red-rgb), 0.38), transparent 60%), linear-gradient(160deg, #1a0306, #0d0d11); }
.cta-band::after { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 24px solid rgba(255, 255, 255, 0.04); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
.cta-band p { color: var(--text-2); margin-top: 4px; }

/* ------------------------------------------------ footer ------------------------------------------------ */
.foot { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.foot-in { padding-block: 32px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.foot-bar { border-top: 1px solid var(--line); }
.foot-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 18px; }
.foot-bar p { color: var(--text-3); font-size: 13px; font-weight: 500; }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bar a { color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.foot-bar a:hover { color: #fff; }
.foot-contact { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.foot-small { color: var(--text-3); font-size: 13px; }

/* ------------------------------------------------ dialogs ------------------------------------------------ */
.drawer, .modal { border: 0; padding: 0; color: var(--text); background: transparent; }
.drawer::backdrop, .modal::backdrop { background: rgba(3, 3, 5, 0.75); backdrop-filter: blur(3px); }
.drawer { margin: 0 auto 0 0; height: 100dvh; max-height: 100dvh; width: min(340px, 88vw); }
.drawer[open] { animation: slide-in 0.35s var(--ease); }
@keyframes slide-in { from { transform: translateX(-30px); opacity: 0; } }
.drawer-in { height: 100%; background: linear-gradient(180deg, #0d0d11, var(--bg)); border-right: 1px solid var(--line); padding: 14px 18px; display: flex; flex-direction: column; gap: 18px; overflow: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-nav { display: grid; gap: 4px; }
.drawer-nav a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--text-2); }
.drawer-nav a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.drawer-nav a.on { color: #fff; background: linear-gradient(180deg, var(--red), var(--red-2)); box-shadow: 0 6px 18px rgba(var(--red-rgb), 0.3); }
.lang-box { padding: 14px; display: grid; gap: 10px; }
.lang-h { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.lang-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.03); color: var(--text); font: 400 16px var(--font); cursor: pointer; text-align: left; transition: border-color 0.2s, background-color 0.2s; }
.lang-opt .tick { margin-left: auto; color: var(--red-text); visibility: hidden; }
.lang-opt[aria-pressed="true"] { border-color: var(--red-line); background: var(--red-soft); }
.lang-opt[aria-pressed="true"] .tick { visibility: visible; }
.modal { width: min(520px, calc(100vw - 32px)); }
.modal[open] { animation: rise 0.35s var(--ease); }
.modal-in { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: 24px; display: grid; gap: 8px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); }
.modal-in h2 { font-size: 22px; padding-right: 40px; }
.modal-x { position: absolute; right: 12px; top: 12px; }

/* ------------------------------------------------ loading ------------------------------------------------ */
.net-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 40; height: 2px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.net-bar.on { opacity: 1; }
.net-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--red), transparent); transform: translateX(-100%); }
.net-bar.on::before { animation: net 1.1s var(--ease) infinite; }
@keyframes net { to { transform: translateX(260%); } }
img.fade { opacity: 0; transition: opacity 0.45s var(--ease); }
img.fade.in { opacity: 1; }
.card-img:has(> img.fade:not(.in)), .summary:has(> img.fade:not(.in)), .thumb:has(> img.fade:not(.in)) { background: linear-gradient(100deg, var(--panel) 30%, var(--panel-3) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.is-loading :is(.stage, .info, .summary, .o-main) { position: relative; }
.is-loading :is(.stage, .info, .summary, .o-main)::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-3) 50%, var(--panel) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.stage.buffering::before { content: ""; position: absolute; inset: 0; margin: auto; z-index: 2; width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, 0.85); border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }

/* ------------------------------------------------ page motion ------------------------------------------------ */
::view-transition-old(root) { animation: vt-out 0.18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.4s var(--ease) both; }
::view-transition-group(media) { animation-duration: 0.45s; animation-timing-function: var(--ease); }
::view-transition-old(media), ::view-transition-new(media) { height: 100%; object-fit: cover; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.view.enter { animation: vt-in 0.4s var(--ease) backwards; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) var(--d, 0ms), transform 0.6s var(--ease) var(--d, 0ms), border-color 0.3s, box-shadow 0.3s; }
.js-reveal .pack.reveal.in:hover, .js-reveal .tile.reveal.in:hover { transform: translateY(-4px); transition-delay: 0ms; }

/* ------------------------------------------------ responsive ------------------------------------------------ */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 > :nth-child(n + 5) { display: none; }
  .explain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links a { padding: 8px 10px; font-size: 14px; }
  .top-in { gap: 14px; }
}
@media (max-width: 900px) {
  .only-d { display: none !important; }
  .only-m { display: inline-grid !important; }
  .top-in { gap: 8px; min-height: 60px; padding-block: 8px; }
  .brand-top { font-size: 13px; }
  .tools { margin-left: auto; gap: 6px; }
  .pts-chip { height: 36px; padding: 0 10px 0 5px; }
  .pts-chip small { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 420px); margin-bottom: 0; }
  .hero-logo { width: 76%; justify-self: center; }
  .wallet { justify-self: center; width: min(330px, 94%); margin: -36px 0 0; }
  .how-points { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pack.best { order: -1; }
  .mwide { grid-template-columns: 1fr; }
  .mw-buy { border-left: 0; border-top: 1px solid rgba(var(--gold-rgb), 0.18); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .grid-5::-webkit-scrollbar { display: none; }
  .grid-5 > * { flex: 0 0 64%; scroll-snap-align: start; }
  .grid-5 > :nth-child(n + 5) { display: flex; }
  .grid-5 > .ghost { display: block; }
  .detail, .co { grid-template-columns: 1fr; }
  #paneQr { grid-template-columns: 1fr; }
  .qr-col { justify-items: stretch; max-width: 340px; width: 100%; margin: 0 auto; }
  .summary > img, .summary .pcard-vis, #oSteps, #coSteps { display: none; }
  .dl-hero, .dl-grid { grid-template-columns: 1fr; }
  .paygrid { grid-template-columns: 1fr; }
  .bn-slide { aspect-ratio: 16 / 7; }
  .bn-txt { inset: 0; align-content: end; background: linear-gradient(0deg, rgba(5, 5, 7, 0.9), transparent 70%); padding-bottom: 30px; }
  .bn-arrow { display: none; }
  .filters { flex-wrap: wrap; }
  .filters .search { flex-basis: 100%; }
  .filters .select { flex: 1 1 200px; }
  .filters .select select { width: 100%; }
}
@media (max-width: 760px) {
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding: 10px 8px; }
  .cmp th[scope="row"] .ic { display: none; }
  .cmp td { width: 26%; }
}
@media (max-width: 560px) {
  .brand-top .brand-word i { display: none; }
  .explain { grid-template-columns: 1fr; }
  .tile { grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; }
  .tile .tile-ic { grid-row: span 2; }
  .tile b { margin-top: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hp-mem { padding-left: 0; border-left: 0; }
  .grid-4, .grid-5 { gap: 10px; }
  .card-name { font-size: 14px; }
  .o-main, .info { padding: 18px; }
  .steps li { padding-block: 10px; }
  .steps li::before { top: 9px; }
  .tt-row { flex-direction: column; }
  .cta-band .row-btns { width: 100%; }
  .cta-band .row-btns .btn { flex: 1 1 100%; }
  .plan-box .btn, .pts-box .btn, .out-note .btn { width: 100%; }
  .ms-pts { width: 100%; }
  .rc th, .rc td { padding: 9px 4px; font-size: 14px; }
  .rc thead th:nth-child(2), .rc tbody td:nth-child(2), .rc tfoot td:nth-child(2) { display: none; }
  .howto-steps { grid-template-columns: 1fr; }
  .swap-item { grid-template-columns: 72px minmax(0, 1fr); }
  .swap-item img { width: 72px; }
  .swap-go { grid-column: 1 / -1; justify-self: end; }
  .foot-bar-in { justify-content: center; text-align: center; }
  .foot-bar nav { justify-content: center; }
  .acct { flex-wrap: wrap; }
  .acct-txt { flex-basis: calc(100% - 72px); }
  .acct .btn { margin-left: 72px; }
  .plan { padding: 12px; gap: 10px; }
  .plan-price { font-size: 16px; }
}
@media (max-width: 380px) {
  .pts-chip b { font-size: 13px; }
  .brand-top { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero::after, .gtag-hot::after, .drop.scanning::after, .pcard-vis::after { display: none; }
  .drop.scanning { border-style: solid; }
  .net-bar::before { width: 100%; transform: none; opacity: 0.7; background: var(--red); }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .card:hover .card-img img { transform: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---- free-by-grant game page ---- */
.pt-chip.free { color: #b8f5cf; border-color: rgba(111, 240, 160, 0.45); background: rgba(111, 240, 160, 0.1); }
.acc-box.grant { border-color: rgba(111, 240, 160, 0.35); background: radial-gradient(100% 120% at 100% 0%, rgba(111, 240, 160, 0.08), transparent 60%), var(--panel-2); }
.acc-box.grant > b .ic { color: #6ff0a0; }
.gr-steps { margin: 6px 0 2px; padding: 0; list-style: none; counter-reset: gr; display: grid; gap: 8px; }
.gr-steps li { counter-increment: gr; display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--text); }
.gr-steps li::before { content: counter(gr); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); }
.gr-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.acc-bal.ok { color: #6ff0a0; }
.acc-bal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gr-role { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--text-2); }
.gr-role .ic { flex: none; margin-top: 2px; }
