:root {
  --bg: #070a16;
  --bg2: #0b1022;
  --surface: rgba(255, 255, 255, .035);
  --surface2: rgba(255, 255, 255, .06);
  --surface3: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #eceffa;
  --mute: #a1a9c6;
  --dim: #7d86a8;
  --gold: #f5c451;
  --gold2: #ffdd85;
  --gold-ink: #1d1503;
  --violet: #8b5cf6;
  --violet2: #a78bfa;
  --red: #ff8a8a;
  --green: #5ee0a0;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px -12px rgba(0, 0, 0, .6);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --tap: 44px;
  --close: 30px;
  --gutter: clamp(14px, 4vw, 32px);
  --r0: #60a5fa; --r1: #4ade80; --r2: #c084fc; --r3: #fbbf24; --r4: #f87171;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 15px/1.55 var(--sans); letter-spacing: -.005em;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(245, 196, 81, .07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  background-repeat: no-repeat;
  background-size: 100% 1200px, 100% 1200px, 100% 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--gold2); text-underline-offset: 3px; }
a:hover { color: #fff1c7; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(26px, 4vw, 40px); }
h2 { font-size: 20px; }
h3 { font-size: 16px; font-weight: 650; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 13px; color: var(--mute); }
.muted { color: var(--mute); }
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.err { color: var(--red); }
.ok { color: var(--green); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet2); outline-offset: 2px; border-radius: 8px; }

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 10, 22, .72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.nav__in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter); min-height: 64px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: 0 0 auto; min-height: var(--tap); }

.nav__brand img { display: block; height: 54px; width: auto; aspect-ratio: 929 / 851; filter: drop-shadow(0 4px 12px rgba(245, 196, 81, .22)); }
.nav__brand b { font-size: 17px; font-weight: 800; letter-spacing: .06em; background: linear-gradient(90deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.nav__links { display: flex; gap: 4px; flex: 1 1 auto; justify-content: center; }
.nav__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; color: var(--mute); text-decoration: none; font-size: 14px; font-weight: 550; border-radius: 999px; transition: color .15s, background-color .15s; white-space: nowrap; }
.nav__link:hover { color: var(--text); background: var(--surface2); }
.nav__link[aria-current="page"] { color: var(--text); background: var(--surface3); box-shadow: 0 0 0 1px var(--line2) inset; }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.nav__menu { display: none; width: var(--tap); height: var(--tap); border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); color: var(--text); cursor: pointer; align-items: center; justify-content: center; flex: 0 0 auto; }
.nav__menu[aria-expanded="true"] { background: var(--surface3); }
.mnav { border-top: 1px solid var(--line); padding: 10px var(--gutter) 16px; display: grid; gap: 12px; }
.mnav__links { display: grid; gap: 4px; }
.mnav .nav__link { min-height: 48px; border-radius: 12px; font-size: 16px; padding: 0 14px; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); }
.seg button { min-height: 34px; min-width: 40px; padding: 0 12px; background: transparent; color: var(--mute); border: 0; border-radius: 9px; font: 600 13px var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: #0b0f1f; }
.seg--block { display: flex; }
.seg--block button { flex: 1; min-height: var(--tap); }
#acct { display: flex; align-items: center; gap: 6px; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; background: var(--surface2); border: 1px solid var(--line2); border-radius: 999px; font: 600 13px var(--mono); color: var(--text); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(94, 224, 160, .18); }
button.chip { cursor: pointer; transition: border-color .15s, background-color .15s; }
button.chip:hover { border-color: rgba(245, 196, 81, .5); background: var(--surface3); }
.chip--agent i { background: var(--gold); box-shadow: 0 0 0 3px rgba(245, 196, 81, .2); }
.chip--agent .chip__note { color: var(--gold2); font-weight: 650; }
.chip__note { font: 12px var(--sans); color: var(--mute); }

.netbar { padding: 10px var(--gutter); background: rgba(127, 29, 29, .45); border-bottom: 1px solid rgba(248, 113, 113, .5); display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 14px; }

.main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px var(--gutter) 56px; display: grid; gap: 20px; }
.view { display: grid; gap: 20px; min-width: 0; }
.card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.card--accent { border-color: rgba(245, 196, 81, .28); background: linear-gradient(180deg, rgba(245, 196, 81, .07), rgba(255, 255, 255, .02) 40%); }
.subcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); min-width: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; }
.row--between { justify-content: space-between; }
.state { text-align: center; padding: 36px 16px; display: grid; gap: 12px; justify-items: center; color: var(--mute); }
.state h3 { color: var(--text); }
.phead { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.phead h1 { font-size: clamp(24px, 3.2vw, 32px); }
.upd { min-width: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 18px;
  border: 1px solid var(--line2); border-radius: 12px; background: var(--surface2); color: var(--text);
  font: 600 14px var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .12s, box-shadow .15s, filter .15s;
}
.btn:hover:not(:disabled) { background: var(--surface3); border-color: rgba(255, 255, 255, .26); color: var(--text); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: var(--gold-ink); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(245, 196, 81, .7); }
.btn--gold:hover:not(:disabled) { background: linear-gradient(180deg, #ffe7a6, var(--gold2)); color: var(--gold-ink); border-color: transparent; box-shadow: 0 10px 26px -10px rgba(245, 196, 81, .85); }
.btn--violet { background: linear-gradient(180deg, var(--violet2), var(--violet)); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -10px rgba(139, 92, 246, .8); }
.btn--violet:hover:not(:disabled) { background: linear-gradient(180deg, #c4b5fd, var(--violet2)); color: #fff; border-color: transparent; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn--ghost { background: transparent; border-color: transparent; }
.btn--danger { color: #ffd0d0; border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
.btn--danger:hover:not(:disabled) { background: rgba(248, 113, 113, .16); border-color: rgba(248, 113, 113, .6); }
.btn--block { width: 100%; }
.lbl-short { display: none; }
.btn--disc { padding: 0 10px; color: var(--mute); }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

input, select {
  min-height: var(--tap); padding: 0 12px; background: rgba(0, 0, 0, .3); color: var(--text); border: 1px solid var(--line2);
  border-radius: 10px; font: 15px var(--sans); min-width: 0; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--violet2); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); outline: none; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); font-weight: 550; }

.hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); background: #0a0d1e; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); isolation: isolate; }
.hero__img { display: block; width: 100%; height: auto; aspect-ratio: 1584 / 672; object-fit: cover; object-position: 70% 50%; max-height: 460px; }
.hero__txt {
  position: absolute; inset: 0 auto 0 0; width: min(52%, 560px); padding: clamp(20px, 4vw, 44px);
  display: grid; align-content: center; gap: 12px;
  background: linear-gradient(90deg, rgba(5, 7, 18, .88) 0%, rgba(5, 7, 18, .6) 65%, transparent 100%);
}
.hero__txt h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(180deg, #fff 30%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title { display: inline-flex; align-items: center; gap: .32em; }
.hero__title--live { letter-spacing: .01em; }
.live-dot { flex: 0 0 auto; width: .34em; height: .34em; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .1em rgba(94, 224, 160, .22), 0 0 18px rgba(94, 224, 160, .7); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { box-shadow: 0 0 0 .22em rgba(94, 224, 160, .08), 0 0 26px rgba(94, 224, 160, .9); } }
.hero__txt p:not(.eyebrow) { color: #d9ddef; font-size: clamp(14px, 1.4vw, 17px); max-width: 40ch; }
@media (max-width: 680px) {
  .hero__txt { position: static; width: auto; background: linear-gradient(180deg, #0b0f22, #0a0d1e); border-top: 1px solid var(--line); padding: 18px; }
  .hero__img { object-position: 60% 50%; }
}

.eyebrow { font: 700 12px var(--sans); color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.pct { font: 700 15px var(--mono); color: var(--gold); }
.count { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.count small { font-size: 14px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.bar { height: 10px; background: rgba(255, 255, 255, .07); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 999px; font: 700 12px var(--sans); letter-spacing: .06em; border: 1px solid var(--line2); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--open { color: var(--green); background: rgba(94, 224, 160, .08); border-color: rgba(94, 224, 160, .35); }
.pill--open i { box-shadow: 0 0 0 3px rgba(94, 224, 160, .2); }
.pill--closed { color: var(--red); background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); }
.pill--sold { color: var(--gold-ink); background: var(--gold); border-color: transparent; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #d4d8ea; }
.rules li::marker { color: var(--gold); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; display: grid; gap: 2px; min-width: 0; }
.tier--free { border-color: rgba(94, 224, 160, .35); background: rgba(94, 224, 160, .06); }
.tier b { font-size: 15px; font-weight: 750; color: var(--text); overflow-wrap: anywhere; }
.tier--free b { color: var(--green); }
.tier span { font-size: 12px; color: var(--mute); }
.odds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.odds li { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; position: relative; overflow: hidden; min-width: 0; }
.odds li::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c); opacity: .8; }
.odds li b { font-size: 15px; color: var(--c); }
.odds li span { font-size: 12px; color: var(--mute); }
@media (max-width: 520px) { .odds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prompt { margin: 0; padding: 14px 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: var(--radius-sm); white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.6; color: #dfe3f5; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; word-break: break-word; font-weight: 600; }
.safe { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(94, 224, 160, .25); background: rgba(94, 224, 160, .06); border-radius: var(--radius-sm); font-size: 13px; color: #cfe9dc; }
.safe svg { flex: 0 0 auto; color: var(--green); margin-top: 1px; }
.soldout { text-align: center; padding: 28px 20px; border: 1px solid rgba(245, 196, 81, .4); border-radius: var(--radius); background: rgba(245, 196, 81, .07); display: grid; gap: 12px; justify-items: center; }
.soldout b { font-size: 24px; color: var(--gold); letter-spacing: .08em; }
details.howto { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; background: rgba(255, 255, 255, .02); }
details.howto summary { cursor: pointer; color: var(--text); font-size: 14px; font-weight: 600; min-height: var(--tap); display: flex; align-items: center; list-style: none; }
details.howto summary::-webkit-details-marker { display: none; }
details.howto summary::after { content: "+"; margin-left: auto; color: var(--mute); font-size: 18px; }
details.howto[open] summary::after { content: "–"; }
details.howto div { display: grid; gap: 8px; padding-bottom: 14px; font-size: 14px; color: var(--mute); }

.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 100%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
.sk-stack { display: grid; gap: 10px; }
.sk--line { height: 14px; width: 100%; }
.sk--short { width: 60%; }
.sk--pill { height: 28px; width: 110px; border-radius: 999px; }
.sk--count { height: 40px; width: 70%; }
.sk--bar { height: 10px; border-radius: 999px; }
.sk--stat { height: 64px; border-radius: var(--radius-sm); }
.sk--img { width: 96px; height: 96px; border-radius: var(--radius-xs); }
.sk--lgimg { width: 200px; height: 200px; border-radius: var(--radius-sm); }
.sk--num { display: inline-block; height: 20px; width: 70px; vertical-align: middle; }
.tok--sk { pointer-events: none; }
.tok--sk .sk--line { height: 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.rar { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); font: 700 12px var(--sans); white-space: nowrap; }
.pix { width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; display: block; border-radius: var(--radius-xs); background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .22) 0%, rgba(10, 13, 30, .9) 72%); }
.pix--sm { width: 44px; height: 44px; border-radius: 8px; }
.pix--xs { width: 22px; height: 22px; background: none; }
.pix--lg { width: 200px; height: 200px; border-radius: var(--radius-sm); }
.tokens { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tok { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 10px 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: 13px; text-align: center; min-width: 0; transition: border-color .15s, transform .15s, background-color .15s, box-shadow .15s; }
.tok:hover { border-color: var(--line2); background: rgba(255, 255, 255, .05); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9); }
.tok--sk:hover { transform: none; }
.tok__main { all: unset; display: grid; justify-items: center; gap: 8px; cursor: pointer; width: 100%; border-radius: 10px; }
.tok__main:focus-visible { outline: 2px solid var(--violet2); outline-offset: 4px; }
.tok.is-sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 10px 30px -14px rgba(245, 196, 81, .6); background: rgba(245, 196, 81, .06); }
.tok__id { font: 600 13px var(--mono); color: var(--mute); }
.tok__info { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 1px solid var(--line2); color: var(--mute); cursor: pointer; font: 700 13px var(--sans); line-height: 1; }
.tok__info::after { content: ""; position: absolute; inset: -8px; }
.tok__info:hover { color: var(--text); border-color: var(--violet2); }
.tok__flag { position: absolute; top: 8px; left: 8px; font: 700 12px var(--sans); color: var(--gold-ink); background: var(--gold); padding: 2px 8px; border-radius: 999px; }
.tok__check { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 13px var(--sans); display: grid; place-items: center; }
.tok__price { font-size: 15px; font-weight: 750; color: var(--gold); }
.tok__seller { font-size: 12px; color: var(--mute); }
.tok .btn { width: 100%; }
.stat { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 14px 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat__big { display: grid; gap: 2px; padding-right: 18px; border-right: 1px solid var(--line); }
.stat__big b { font-size: 26px; font-weight: 800; line-height: 1; }
.stat__big span { font-size: 12px; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); font-size: 13px; }
.chips li b { color: var(--c); }
.chips li.zero { opacity: .55; }
.combinebar { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.preview { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 68px; }
.slot { width: 48px; height: 48px; border: 1px dashed var(--line2); border-radius: 10px; display: grid; place-items: center; color: var(--dim); overflow: hidden; }
.slot img { width: 44px; height: 44px; image-rendering: pixelated; }
.arrow { font-size: 18px; color: var(--gold); padding: 0 4px; }

.mstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mstats > div { display: grid; gap: 6px; padding: 16px 18px; min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.mstats span { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.mstats b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .mstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mstats > div { padding: 12px 14px; } .mstats b { font-size: 18px; } }
.mpanel { gap: 18px; }
.mbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.segs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.segs__b { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--mute); font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.segs__b:hover { color: var(--text); }
.segs__b[aria-selected="true"] { background: var(--surface3); color: var(--text); box-shadow: 0 0 0 1px var(--line2) inset; }
.count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(139, 92, 246, .22); color: #ddd2ff; font: 700 12px var(--sans); }
.filters label { flex: 1 1 180px; max-width: 260px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
th { color: var(--mute); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255, 255, 255, .03); }
tbody tr:hover { background: rgba(255, 255, 255, .03); }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offers li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: var(--radius-xs); font-size: 13px; }
.offers li b { font-size: 14px; color: var(--gold); }

.dev { scroll-margin-top: 84px; display: grid; gap: 16px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.dev__head { display: grid; gap: 6px; }
.dev__head h2 { font-size: clamp(22px, 3vw, 28px); }
.dev__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; }
@media (max-width: 900px) { .dev__grid { grid-template-columns: minmax(0, 1fr); } }
.kv--dev { grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 14px; }
.kv--dev dt { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.kv--dev dt:not(:first-child) { margin-top: 10px; }
.kv--dev dd { font-weight: 500; padding: 10px 12px; border-radius: var(--radius-xs); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.addr { font: 13px var(--mono); word-break: break-all; }
.guide { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .08); color: var(--text); text-decoration: none; transition: background-color .15s, border-color .15s; min-height: var(--tap); }
.guide:hover { background: rgba(139, 92, 246, .14); border-color: rgba(167, 139, 250, .6); color: var(--text); }
.guide > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; }
.guide small { color: var(--mute); font-size: 13px; }
.guide__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(139, 92, 246, .25); color: #ddd2ff; font: 700 14px var(--mono); }
.fns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fns li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-xs); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.fns code { font-size: 13px; color: #e6e9f8; overflow-wrap: anywhere; }
.fns__c { font: 700 12px var(--sans); color: var(--gold); }
.fns__sel { font: 12px var(--mono); color: var(--dim); }
@media (max-width: 560px) { .fns li { grid-template-columns: minmax(0, 1fr) auto; } .fns code { grid-column: 1 / -1; order: 3; } }
.codeblock { max-height: 420px; overflow-y: auto; margin: 0; padding: 16px; border-radius: var(--radius-sm); background: #05070f; border: 1px solid var(--line); overflow-x: auto; font-size: 13px; line-height: 1.65; color: #d8dcf0; tab-size: 2; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .06); color: #f3e4bd; font-size: 14px; }
.note svg { flex: 0 0 auto; color: var(--gold); margin-top: 2px; }

.rm-head { display: grid; gap: 10px; max-width: 880px; width: 100%; margin: 0 auto; }
.rm-head > p:not(.eyebrow):not(.small) { color: #d4d8ea; font-size: 16px; }
.tl { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 18px; position: relative; max-width: 880px; width: 100%; }
.tl__item:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -18px; width: 2px; background: linear-gradient(180deg, var(--violet2), rgba(139, 92, 246, .35)); }
.tl__item:first-child::after { background: linear-gradient(180deg, var(--gold), var(--violet2)); }
.tl__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.tl__node { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 16px var(--sans); color: var(--text); background: #11152b; border: 2px solid var(--violet2); box-shadow: 0 0 0 5px var(--bg), 0 0 22px rgba(139, 92, 246, .45); }
.tl__item:first-child .tl__node { border-color: var(--gold); box-shadow: 0 0 0 5px var(--bg), 0 0 22px rgba(245, 196, 81, .45); }
.tl__card { display: grid; gap: 14px; padding: 20px; min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.tl__card:hover { border-color: var(--line2); transform: translateY(-2px); }
.tl__top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.tl__phase { font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--violet2); }
.tl__title { font-size: clamp(18px, 2.4vw, 22px); margin-top: 4px; overflow-wrap: anywhere; }
.badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; font: 700 12px var(--sans); color: var(--mute); border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.tl__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.tl__stats li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-xs); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); min-width: 0; }
.tl__stats b { font-size: 17px; font-weight: 800; color: var(--gold); overflow-wrap: anywhere; }
.tl__stats span { font-size: 12px; color: var(--mute); }
.tl__list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: #d4d8ea; }
.tl__list li::marker { color: var(--violet2); }
.tl__list b { color: var(--text); }
@media (max-width: 560px) {
  .tl__item:not(:last-child)::after { left: 17px; top: 36px; }
  .tl__item { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .tl__node { width: 36px; height: 36px; font-size: 14px; }
  .tl__card { padding: 16px; }
  .tl__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3, 5, 14, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: linear-gradient(180deg, #141932, #0d1124); border: 1px solid var(--line2); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); padding: 24px; }
.modal__close { position: absolute; top: 10px; right: 10px; width: var(--tap); height: var(--tap); border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 15px; }
.modal__close:hover { background: var(--surface3); }
#modal-body { display: grid; gap: 14px; }
#modal-body h2 { padding-right: 44px; }
#modal-body .center { display: grid; justify-items: center; gap: 12px; text-align: center; }
#modal-body .center h2 { padding: 0 44px; }
.toasts { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(480px, calc(100% - 24px)); }
.toast { padding: 12px 16px; background: rgba(20, 25, 50, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .9); font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.toast--err { border-color: rgba(248, 113, 113, .6); }
.toast--ok { border-color: rgba(94, 224, 160, .5); }
.toast a { white-space: nowrap; }

.foot { max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 32px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
.foot__brand { display: flex; gap: 12px; align-items: center; }
.foot__brand img { width: auto; height: 48px; }
.foot__brand b { color: var(--text); letter-spacing: .06em; font-size: 14px; }
.foot__links { display: grid; gap: 6px; }
.foot a { word-break: break-all; }
.foot__copy { grid-column: 1 / -1; color: var(--dim); font-size: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } }
.spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--violet2); border-right-color: transparent; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .nav__in { gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .nav__links, .seg--lang { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__right { gap: 8px; }
  .nav__brand b { font-size: 15px; }
  .chip__note, .btn__lbl, .lbl-long { display: none; }
  .lbl-short { display: inline; }
  #acct .btn--gold { padding: 0 14px; }
  .phead .upd { order: 3; flex-basis: 100%; }
  .phead .row > .btn { margin-left: auto; }
  .chip { min-height: var(--tap); padding: 0 10px; font-size: 12px; }
  .btn, .btn--sm { min-height: var(--tap); }
  .btn--disc { width: var(--tap); padding: 0; }
  .seg button { min-height: var(--tap); min-width: var(--tap); }
  .segs { width: 100%; }
  .segs__b { flex: 1 0 auto; justify-content: center; min-height: var(--tap); padding: 0 12px; }
  .mbar__act { width: 100%; }
  .mbar__act .btn { flex: 1 1 0; }
  .card { padding: 16px; }
  .main { padding-top: 16px; gap: 16px; }
  .view { gap: 16px; }
  .tokens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .filters label { max-width: none; }
  .phead .row { width: 100%; }
}
@media (max-width: 440px) {
  .segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .segs__b { padding: 0 6px; font-size: 14px; }
  .segs__b .count-badge { display: none; }
}
@media (max-width: 760px) {
  .nav__brand img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin, .sk, .live-dot { animation: none; }
  .btn, .tok, .tl__card { transition: none; }
  .tok:hover, .tl__card:hover { transform: none; }
}

.modal__box--aw { width: min(460px, 100%); background: linear-gradient(180deg, #121526, #0c0e1b); border-color: rgba(245, 196, 81, .28); padding: 26px 24px 20px; }
.aw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.aw__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-right: 52px; min-height: 44px; }
.aw__head h2 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.aw__ic { color: var(--gold); flex: 0 0 auto; }
.awpill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 11px; border-radius: 999px; font: 650 12px var(--sans); border: 1px solid rgba(245, 196, 81, .45); color: var(--gold2); background: rgba(245, 196, 81, .06); white-space: nowrap; }
.awpill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.awpill--off { color: var(--mute); border-color: var(--line2); background: transparent; }
.awpill--connecting i { animation: livepulse 1.2s ease-in-out infinite; }
.awpill--on { color: var(--green); border-color: rgba(94, 224, 160, .45); background: rgba(94, 224, 160, .07); }
.awpill--expired { color: var(--gold2); }
.aw__body { color: var(--mute); font-size: 14px; }
.aw__note { padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, .03); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--text); }
.aw__note--err { border-left-color: var(--red); }
.aw__cta { min-height: 48px; border-radius: 999px; gap: 10px; }
.aw__cta .aw__ic { color: currentColor; }
.aw__sep { border: 0; border-top: 1px solid var(--line); margin: 4px 0 0; }
.aw__foot { display: flex; justify-content: center; }
.aw__regular { background: none; border: 0; min-height: var(--tap); padding: 0 8px; color: var(--gold2); font: 550 15px var(--sans); text-decoration: underline; text-decoration-color: rgba(245, 196, 81, .55); text-underline-offset: 6px; cursor: pointer; }
.aw__regular:hover { color: #fff; }
.aw__pair { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(245, 196, 81, .32); border-radius: 14px; background: rgba(0, 0, 0, .22); }
.aw__qr { justify-self: center; width: min(256px, 100%); aspect-ratio: 1; background: #fff; border-radius: 6px; overflow: hidden; }
.aw__qrsvg { display: block; width: 100%; height: 100%; }
.aw__lbl { margin-top: 8px; font-size: 13px; color: var(--gold); }
.aw__code { font: 800 28px/1.1 var(--mono); letter-spacing: .14em; color: #fff; }
.aw__scan { font-size: 14px; color: var(--text); }
.aw__link { justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--gold2); text-decoration: underline; text-decoration-color: rgba(245, 196, 81, .55); text-underline-offset: 5px; font-size: 14px; }
.aw__wait { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 13px; }
.aw__cancel { justify-self: center; background: none; border: 0; min-height: var(--tap); padding: 0 12px; color: var(--text); font: 500 14px var(--sans); cursor: pointer; border-radius: 10px; }
.aw__cancel:hover { background: var(--surface2); }
.aw__kv { padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.aw__kv code { word-break: break-all; font-size: 13px; }
.spin--mute { border-color: var(--mute); border-right-color: transparent; width: 13px; height: 13px; }
.atx__risks { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-weight: 500; }
.ok { color: var(--green); }

.ck__row { display: flex; gap: 8px; }
.ck__row input { flex: 1 1 auto; font-family: var(--mono); font-size: 14px; }
.ck__row .btn { flex: 0 0 auto; }
.ck input[aria-invalid="true"] { border-color: rgba(248, 113, 113, .7); }
.ck__res { display: grid; gap: 10px; padding-top: 4px; border-top: 1px dashed var(--line2); }
.ck__res code { word-break: break-all; font-size: 12px; }
@media (max-width: 440px) { .modal__box--aw { padding: 22px 18px 16px; } .awpill { margin-left: 0; } }
@media (max-width: 440px) { .ck__row { flex-direction: column; } .ck__row .btn { width: 100%; } }

.prompt-box { margin-top: 12px; border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: var(--radius-sm); background: rgba(0, 0, 0, .35); overflow: hidden; }
.prompt-box__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--line); background: rgba(139, 92, 246, .08); }
.prompt-box__bar span { font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--violet2); }
.prompt-box .prompt { border: 0; border-radius: 0; background: transparent; }
.prompt--scroll { max-height: 220px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(139, 92, 246, .6) transparent; }
.prompt--scroll::-webkit-scrollbar { width: 8px; }
.prompt--scroll::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, .55); border-radius: 8px; }
.prompt--scroll:focus-visible { outline: 2px solid var(--violet2); outline-offset: -2px; }

.badge--live { color: #6ee7a8; border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .1); }
.badge--live::before { background: #34d399; box-shadow: 0 0 8px #34d399; }
.card--accent .ck { margin-top: 18px; }

.sp-h2 { max-width: 1100px; width: 100%; margin: 14px auto 0; font-size: clamp(18px, 2.4vw, 22px); }
.sp-sub { max-width: 1100px; width: 100%; margin: -8px auto 0; }
.sp-maps { max-width: 1100px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-map { display: grid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.sp-map:hover { border-color: rgba(245, 196, 81, .35); transform: translateY(-2px); }
.sp-map__img { position: relative; aspect-ratio: 16 / 9; background: #05070f; }
.sp-map__img img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.sp-map__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 10, 22, .85)); }
.sp-map__lock { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; font: 700 11px var(--sans); letter-spacing: .04em; color: var(--text); background: rgba(7, 10, 22, .75); border: 1px solid var(--line2); }
.sp-map__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.sp-map__body h3 { font-size: 18px; }
.sp-pow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 12px; border-radius: var(--radius-xs); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.sp-pow span { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sp-pow b { font: 800 20px var(--mono); color: var(--gold); }
.sp-pow--sm { margin-top: 6px; padding: 6px 10px; }
.sp-pow--sm b { font-size: 16px; }

.sp-perks { max-width: 1100px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sp-perk { --c: var(--r1); display: grid; align-content: start; gap: 12px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); }
.sp-perk--r1 { --c: var(--r1); } .sp-perk--r2 { --c: var(--r2); } .sp-perk--r3 { --c: var(--r3); } .sp-perk--r4 { --c: var(--r4); }
.sp-perk--r5 { --c: var(--gold2); border-color: rgba(245, 196, 81, .4); background: linear-gradient(180deg, rgba(245, 196, 81, .1), rgba(255, 255, 255, .02) 60%); }
.sp-perk__box { position: relative; aspect-ratio: 1; border-radius: 12px; background: #000; border: 2px solid var(--c); box-shadow: 0 0 22px -6px var(--c), inset 0 0 30px rgba(0, 0, 0, .9); display: grid; place-items: center; overflow: hidden; }
.sp-axe { width: 70%; height: 70%; opacity: .55; filter: blur(.4px); }
.sp-axe .ax-b { fill: #3b4160; } .sp-axe .ax-h { fill: #2a2438; }
.sp-q { position: absolute; font: 800 clamp(40px, 6vw, 64px)/1 var(--mono); color: var(--c); text-shadow: 0 0 16px var(--c), 3px 3px 0 #000; animation: sp-pulse 2.4s ease-in-out infinite; }
@keyframes sp-pulse { 50% { opacity: .55; transform: scale(.94); } }
.sp-perk__body { display: grid; gap: 4px; font-size: 13px; color: #d4d8ea; }
.sp-rar { font: 800 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.sp-rules { max-width: 1100px; width: 100%; margin: 4px auto 0; }

@media (max-width: 960px) { .sp-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sp-maps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .sp-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .sp-q { animation: none; } }

@media (max-width: 900px) { .nav__links, .seg--lang { display: none; } .nav__menu { display: inline-flex; } }
#v-sneak .rm-head { max-width: 1100px; }

.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); color: var(--gold); cursor: pointer; transition: background-color .15s, border-color .15s; }
.bell:hover { background: rgba(245, 196, 81, .12); border-color: rgba(245, 196, 81, .4); }
.bell__dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 2px #0b0f1f; }
.bell__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff4d4f; animation: bellPing 1.6s ease-out infinite; }
.bell--ring svg { animation: bellRing 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes bellPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes bellRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
@media (max-width: 900px) { .bell { width: var(--tap); height: var(--tap); } }
@media (prefers-reduced-motion: reduce) { .bell__dot::after, .bell--ring svg { animation: none; } }

.modal__box--ev { width: min(520px, 100%); border-color: rgba(245, 196, 81, .28); }
.evm h2 { margin: 2px 0 8px; }
.evm__st { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font: 600 12px var(--sans); background: rgba(245, 196, 81, .12); color: var(--gold2); border: 1px solid rgba(245, 196, 81, .3); }
.evm__st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.evm__st--open { background: rgba(52, 211, 153, .12); color: #6ee7b7; border-color: rgba(52, 211, 153, .35); }
.evm__st--ended { background: var(--surface2); color: var(--mute); border-color: var(--line); }
.evm__when { margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); }
.evm__when p { margin: 2px 0; }
.evm__when b { font-family: var(--mono); color: var(--gold2); white-space: nowrap; }
.evm__h { margin: 18px 0 8px; font-size: 15px; }
.evm__steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.evm__perks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.evm__perks li { display: grid; grid-template-columns: 118px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line); font-size: 13px; }
.evm__perks .sp-rar { margin: 0; }
.evm__pw { font-family: var(--mono); color: var(--gold2); }
.evm__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.evm__cta .btn { flex: 1 1 140px; justify-content: center; text-decoration: none; }
@media (max-width: 440px) { .evm__perks li { grid-template-columns: 1fr auto; } .evm__perks li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }

.evm code { font-family: var(--mono); font-size: 11px; word-break: break-all; }
.evm__perks li.sp-perk--r0 { --c: var(--r0, #b8c0d8); }

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
