/* MENU1 V5 — stacked candy polish on v4 dark landing */
.menu1-v5 {
  --bg: #040405;
  --panel: rgba(16, 16, 18, 0.62);
  --panel-2: rgba(22, 22, 24, 0.78);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f4f7;
  --muted: #8e8e97;
  --chrome: #d8d8e0;
  --radius: 22px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

.menu1-v5 .ferrofluid-root { background: #040405; }
.menu1-v5 .ferrofluid-veil {
  background:
    radial-gradient(1100px 560px at 50% -8%, rgba(255, 255, 255, 0.075), transparent 58%),
    radial-gradient(700px 480px at 12% 40%, rgba(255, 255, 255, 0.03), transparent 55%),
    radial-gradient(640px 420px at 92% 68%, rgba(255, 255, 255, 0.028), transparent 52%),
    linear-gradient(180deg, rgba(4, 4, 5, 0.2) 0%, rgba(4, 4, 5, 0.55) 48%, rgba(4, 4, 5, 0.94) 100%);
}

.m1-grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.menu1-v5 .wrap,
.menu1-v5 .m1-shell,
.menu1-v5 .m1-rail,
.menu1-v5 .hero-banner { display: none !important; }

.m1-frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px calc(88px + env(safe-area-inset-bottom, 0px));
}

#app {
  flex: 1;
  min-height: 52vh;
  opacity: 1;
  transform: none;
}

/* Floating glass nav */
.m1-floatnav {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin: 14px 0 8px;
  padding: 7px 9px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s, background 0.3s;
}
.m1-floatnav.is-scrolled {
  background: rgba(12, 12, 14, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.45);
}

.m1-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.m1-brand img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.m1-brand span {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.m1-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.m1-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.01em;
}
.m1-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.m1-links a.active {
  color: #09090b;
  background: #ececf0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.m1-links a:focus-visible,
.m1-brand:focus-visible,
.menu1-v5 .btn:focus-visible,
.menu1-v5 .lang-toggle:focus-visible {
  outline: 2px solid rgba(236, 236, 240, 0.55);
  outline-offset: 2px;
}

.m1-nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.m1-nav-end .userbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.m1-nav-end .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.m1-nav-end .user-name {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--chrome);
}
.m1-nav-end .bal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  font-size: 13px;
}
.m1-nav-end .bal-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #ececf0;
  color: #0a0a0b;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.m1-nav-end .btn,
.m1-connect,
.m1-steam,
.m1-logout {
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.m1-steam {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.menu1-v5 .lang-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.menu1-v5 .lang-toggle .flag svg { width: 18px; height: 12px; display: block; }

/* Marquee */
.m1-marquee {
  overflow: hidden;
  margin: 0 0 6px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.m1-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: m1-marquee 28s linear infinite;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  padding: 4px 0 10px;
}
@keyframes m1-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#app {
  flex: 1;
  min-height: 52vh;
  opacity: 1;
  transform: none;
}
.v5-boot {
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.v5-boot-line,
.v5-boot-title,
.v5-boot-sub {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  animation: v5-shimmer 1.2s ease infinite;
}
.v5-boot-line { width: 140px; height: 28px; }
.v5-boot-title { width: min(420px, 70vw); height: 64px; border-radius: 18px; }
.v5-boot-sub { width: min(280px, 50vw); height: 16px; }
@keyframes v5-shimmer {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* —— Hero —— */
.v5-hero {
  position: relative;
  min-height: min(62vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 12px;
  text-align: center;
  overflow: visible;
}
.v5-hero-bg { display: none !important; }

.v5-hero-logo {
  display: block;
  width: clamp(64px, 9vw, 96px);
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.v5-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 18px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.v5-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfd6;
  box-shadow: 0 0 0 0 rgba(220, 220, 228, 0.45);
  animation: v5-dot 1.8s ease infinite;
}
@keyframes v5-dot {
  0% { box-shadow: 0 0 0 0 rgba(220, 220, 228, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(220, 220, 228, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 220, 228, 0); }
}

.v5-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.v5-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 108px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: #fff;
}
.v5-headline {
  margin: 22px 0 0;
  font-family: var(--font);
  font-weight: 650;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
.v5-title .shine {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #9a9aa4 0%,
    #fff 28%,
    #9a9aa4 42%,
    #fff 58%,
    #8e8e98 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v5-shine 7s linear infinite;
}
.v5-title em {
  display: block;
  margin-top: -0.04em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.82em;
  letter-spacing: -0.02em;
  color: #f2f2f6;
  -webkit-text-fill-color: #f2f2f6;
  background: none;
}
@keyframes v5-shine {
  to { background-position: 220% center; }
}

.v5-sub {
  margin: 22px auto 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.v5-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.v5-actions .btn {
  border-radius: 999px !important;
  min-width: 156px;
  padding: 13px 24px !important;
  font-weight: 600 !important;
}

/* Bento — explicit areas, no layout surprises */
.v5-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "online online online online online online wipe wipe wipe wipe wipe wipe"
    "online online online online online online rates rates rates slots slots slots"
    "ip ip ip ip ip ip ip ip ip ip ip ip";
  gap: 12px;
  margin-top: 36px;
  text-align: left;
}
.v5-stat {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s, transform 0.25s;
}
.v5-stat:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.v5-stat-online {
  grid-area: online;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 188px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.v5-stat-online b { font-size: clamp(34px, 5vw, 48px); }
.v5-stat-wipe { grid-area: wipe; }
.v5-stat-rates { grid-area: rates; }
.v5-stat-slots { grid-area: slots; }
.v5-stat span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.v5-stat b {
  font-size: 22px;
  font-weight: 700;
  color: var(--chrome);
  letter-spacing: -0.02em;
}
.v5-stat .hint {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.v5-connect {
  position: relative;
  overflow: hidden;
  grid-area: ip;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.v5-connect::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 35%, transparent 65%, rgba(255, 255, 255, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: v5-beam 5.5s linear infinite;
}
@keyframes v5-beam {
  0% { opacity: 0.45; filter: hue-rotate(0deg); }
  50% { opacity: 0.9; }
  100% { opacity: 0.45; filter: hue-rotate(0deg); }
}
.v5-connect small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.v5-connect code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 17px;
  color: var(--text);
  background: none;
}
.v5-connect .btn { border-radius: 999px !important; }

.v5-pulse { animation: v5-pulse 0.55s ease; }
@keyframes v5-pulse {
  0% { opacity: 0.35; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}

/* Features */
.v5-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 52px 0 18px;
  flex-wrap: wrap;
}
.v5-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-section-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #bdbdc6;
}
.v5-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
  text-align: right;
}

.v5-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

/* Compact status — no duplicate online pills */
.v5-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  text-align: left;
}
.v5-status-item,
.v5-status-ip {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.v5-status-item span,
.v5-status-ip small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.v5-status-item b {
  font-size: 20px;
  font-weight: 700;
  color: var(--chrome);
}
.v5-status-ip {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.v5-status-ip code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 16px;
  color: var(--text);
  background: none;
  user-select: all;
}
.v5-status-ip .btn { border-radius: 999px !important; }

/* Kit list (shop) */
.v5-shop-head {
  padding: 28px 0 8px;
  text-align: left;
}
.v5-shop-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-shop-head .lead {
  margin: 10px 0 0;
  max-width: 560px;
  color: var(--muted);
}
.v5-kit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.v5-kit {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  background: rgba(14, 14, 16, 0.62);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent, #c9c9d1);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.v5-kit:hover {
  background: rgba(22, 22, 24, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.v5-kit-badge {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.1), transparent 65%);
  border: 1px solid var(--line-soft);
}
.v5-kit-badge img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.45));
}
.v5-kit-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.v5-kit-top strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.v5-kit-top code {
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.v5-kit-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.v5-kit-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.v5-kit-perks li {
  font-size: 11px;
  color: var(--chrome);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255,255,255,.03);
}
.v5-kit-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 110px;
}
.v5-kit-side .old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.v5-kit-side .price {
  font-size: 18px;
  font-weight: 800;
  color: #0a0a0b;
  background: #ececf0;
  border-radius: 999px;
  padding: 6px 12px;
}
.v5-kit-side .go {
  font-size: 12px;
  color: var(--muted);
}

/* Pack detail */
.v5-pack-detail { padding-top: 18px; }
.v5-pack-hero {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  margin: 14px 0 16px;
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--accent, #ccc) 18%, transparent), transparent 55%),
    rgba(14, 14, 16, 0.7);
  border: 1px solid var(--line);
}
.v5-pack-hero img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.5));
}
.v5-pack-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-pack-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
}
.v5-pack-lead em { color: var(--chrome); font-style: italic; }
.v5-pack-buy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 150px;
}
.v5-pack-buy .old {
  text-align: right;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}
.v5-pack-buy .now {
  text-align: right;
  font-size: 28px;
  font-weight: 800;
}
.v5-pack-buy .btn { border-radius: 999px !important; }
.v5-pack-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.v5-pack-meta article {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
}
.v5-pack-meta span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.v5-pack-meta p {
  margin: 0;
  color: var(--chrome);
  font-size: 14px;
  line-height: 1.45;
}
.v5-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: rgba(14, 14, 16, 0.58);
  border: 1px solid var(--line-soft);
  isolation: isolate;
  min-height: 168px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.25s;
}
.v5-card.is-mid {
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    rgba(18, 18, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}
.v5-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.v5-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.v5-card:hover::before { opacity: 1; }
.v5-card > * { position: relative; z-index: 1; }
.v5-card .idx {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 18px;
  font-weight: 600;
}
.v5-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v5-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Shop preview / shop page */
.v5-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  perspective: 1100px;
  padding: 4px 2px 8px;
}
.v5-pack {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 16px 20px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    rgba(14, 14, 16, 0.72);
  border: 1px solid var(--line-soft);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.25s, box-shadow 0.25s;
  isolation: isolate;
}
.v5-pack-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.v5-pack > *:not(.v5-pack-glare) { position: relative; z-index: 1; }
.v5-pack.is-featured {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.35);
}
.v5-pack.is-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255,255,255,.5), transparent 78%);
  animation: v5-spin 4.5s linear infinite;
  z-index: -1;
  opacity: 0.85;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
@keyframes v5-spin {
  to { transform: rotate(360deg); }
}
.v5-pack-glare::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 65%);
  opacity: 0;
  transform: translate(var(--gx, 40%), var(--gy, 20%));
  transition: opacity 0.3s;
}
.v5-pack:hover {
  border-color: rgba(255, 255, 255, 0.24);
}
.v5-pack:hover .v5-pack-glare::after { opacity: 1; }
.v5-pack .ring {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.1), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04);
  transform: translateZ(28px);
}
.v5-pack .ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.35);
  animation: v5-orbit 8s linear infinite;
  opacity: 0.7;
}
@keyframes v5-orbit {
  to { transform: rotate(360deg); }
}
.v5-pack img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
  transform: translateZ(36px);
}
.v5-pack strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateZ(20px);
}
.v5-pack .price {
  font-size: 12px;
  color: #0a0a0b;
  background: #ececf0;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
  transform: translateZ(24px);
}
.v5-shop-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.v5-shop-more .btn { border-radius: 999px !important; }

/* Final CTA */
.v5-finale {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 48px 28px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(255, 255, 255, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.v5-finale h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-finale h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #bcbcc5;
}
.v5-finale p {
  margin: 12px auto 0;
  max-width: 420px;
  color: var(--muted);
}
.v5-finale .v5-actions { margin-top: 22px; }

.v5-shop-head {
  padding: 36px 0 10px;
  text-align: center;
}
.v5-shop-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-shop-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #bcbcc5;
}
.v5-shop-head .lead {
  margin: 12px auto 0;
  max-width: 480px;
  color: var(--muted);
}
.v5-shop-page .v5-shop-grid { padding: 22px 0 8px; }

/* Pack / cabinet polish */
.menu1-v5 .pack-page,
.menu1-v5 .shop-page,
.menu1-v5 .cabinet-page,
.menu1-v5 .rules-page { padding-top: 28px; }
.menu1-v5 .kit-stage,
.menu1-v5 .perk,
.menu1-v5 .meta,
.menu1-v5 .buybar,
.menu1-v5 .rule {
  border-radius: 16px;
  border-color: var(--line);
  background: rgba(14, 14, 16, 0.68);
  backdrop-filter: blur(12px);
}

/* Footer */
.m1-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m1-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.m1-footer .footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.m1-footer .footer-legal a:hover { color: var(--text); }
.m1-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
}

/* Mobile dock */
.m1-dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.m1-dock a {
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 4px;
  border-radius: 14px;
}
.m1-dock a.active {
  color: #0a0a0b;
  background: #ececf0;
}

.menu1-v5 .toast {
  position: fixed !important;
  right: 18px;
  bottom: 88px;
  left: auto;
  z-index: 120 !important;
  display: none;
  max-width: min(380px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(16, 16, 18, 0.96) !important;
  border: 1px solid rgba(236, 236, 240, 0.28) !important;
  color: #f2f2f4;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.menu1-v5 .toast.is-on { display: block !important; }
.menu1-v5 .toast.is-ok { border-color: rgba(157, 222, 168, 0.45) !important; }
.menu1-v5 .toast.is-err { border-color: rgba(255, 120, 120, 0.45) !important; }
.menu1-v5 .toast.is-warn { border-color: rgba(240, 200, 120, 0.5) !important; }

.v5-checkout {
  display: grid;
  gap: 14px;
}
.v5-checkout h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.v5-checkout .lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.v5-checkout-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.v5-checkout-price b { font-size: 20px; }
.v5-checkout-price .bal { color: var(--muted); font-size: 13px; }
.v5-checkout label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.v5-checkout input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.v5-checkout-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v5-checkout-acts .btn { flex: 1 1 120px; }
.v5-topup-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(240, 200, 120, 0.1);
  border: 1px solid rgba(240, 200, 120, 0.28);
  color: #f0d9a0;
  font-size: 13px;
  line-height: 1.45;
}
.menu1-v5 .dr-cursor-glow.is-on { opacity: 0.2; }
.menu1-v5 .dr-cursor-glow {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  background: radial-gradient(circle, rgba(220,220,228,.032) 0%, transparent 70%);
}
.menu1-v5 .overlay {
  position: fixed !important;
  z-index: 80 !important;
}
.menu1-v5 .overlay-card {
  border-radius: 20px !important;
  border: 1px solid var(--line) !important;
  background: rgba(14, 14, 16, 0.92) !important;
  backdrop-filter: blur(18px);
}
.menu1-v5 ::selection {
  background: rgba(236, 236, 240, 0.22);
  color: #fff;
}
.menu1-v5 .v5-connect code {
  user-select: all;
}

.menu1-v5 .btn-primary {
  background: #ececf0 !important;
  color: #0a0a0b !important;
  border: none !important;
  box-shadow: none !important;
}
.menu1-v5 .btn-primary:hover {
  background: #fff !important;
  transform: none !important;
}
.menu1-v5 .btn-ghost {
  border-radius: 999px !important;
  border-color: var(--line) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Reveal helpers used by motion.js */
.menu1-v5 .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease var(--reveal-delay, 0s), transform 0.5s ease var(--reveal-delay, 0s);
}
.menu1-v5 .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .m1-links { display: none; }
  .m1-dock { display: grid; }
  .m1-frame { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 980px) {
  .v5-bento {
    grid-template-areas:
      "online online online online online online online online online online online online"
      "wipe wipe wipe wipe wipe wipe rates rates rates slots slots slots"
      "ip ip ip ip ip ip ip ip ip ip ip ip";
  }
  .v5-stat-online { min-height: 140px; }
  .v5-stat-online b { font-size: 32px; }
  .v5-features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .v5-kit {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .v5-kit-side {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }
  .v5-pack-hero {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .v5-pack-buy {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .v5-pack-meta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .m1-frame { padding-left: 14px; padding-right: 14px; }
  .v5-hero { min-height: auto; padding-top: 20px; }
  .v5-title { font-size: clamp(44px, 14vw, 64px); }
  .v5-status { grid-template-columns: 1fr 1fr; }
  .v5-kit {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .v5-kit-badge { width: 72px; height: 72px; }
  .v5-kit-side { grid-column: 1; }
  .m1-brand span,
  .m1-nav-end .user-name,
  .m1-logout { display: none; }
  .m1-connect { display: none; }
  .m1-dock {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .m1-marquee-track,
  .v5-title .shine,
  .v5-connect::before,
  .v5-live i,
  .v5-pack.is-featured::before,
  .v5-pack .ring::before { animation: none !important; }
  .v5-pack,
  .v5-card,
  .v5-stat:hover { transform: none !important; }
}

/* Cabinet */
.v5-cab { padding-top: 24px; }
.v5-cab-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-cab-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 520px;
}
.v5-cab-login {
  margin-top: 28px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(14,14,16,.65);
  border: 1px solid var(--line);
}
.v5-cab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.v5-cab-profile,
.v5-cab-balance,
.v5-cab-list {
  padding: 22px;
  border-radius: 20px;
  background: rgba(14,14,16,.62);
  border: 1px solid var(--line-soft);
}
.v5-cab-profile {
  display: flex;
  gap: 16px;
  align-items: center;
}
.v5-cab-profile h3 { margin: 0 0 6px; font-size: 20px; }
.v5-cab-profile p { margin: 0 0 6px; color: var(--muted); font-size: 13px; word-break: break-all; }
.v5-cab-profile p span { color: rgba(255,255,255,.35); margin-right: 6px; }
.v5-cab-profile .ok { color: #d7d7de; }
.v5-cab-ava {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ececf0;
  color: #0a0a0b;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
}
.v5-cab-profile .avatar.lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.v5-cab-balance span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.v5-cab-balance b {
  display: block;
  margin: 8px 0 16px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-cab-balance .btn-primary { width: 100%; border-radius: 999px !important; }
.v5-cab-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.v5-cab-links .btn { width: 100%; justify-content: center; }
.v5-cab-list h3 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.v5-cab-list .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.v5-cab-list .row:last-child { border-bottom: 0; }

.v5-cab-ranks {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: 20px;
  background: rgba(14,14,16,.62);
  border: 1px solid var(--line-soft);
}
.v5-cab-ranks h3 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.v5-cab-ranks-empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.v5-cab-ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.v5-cab-rank {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.v5-cab-rank:hover {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}
.v5-cab-rank img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.v5-cab-rank strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.v5-cab-rank p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.v5-cab-rank p span {
  color: rgba(255,255,255,.35);
  margin-right: 4px;
}
.v5-cab-rank code {
  color: #ececf0;
  font-size: 12px;
}
.v5-cab-rank-meta {
  margin-top: 4px !important;
  font-size: 12px !important;
}
.v5-cab-order strong {
  display: inline;
  color: var(--text);
  font-weight: 600;
}
.v5-cab-order .v5-cab-when {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.32);
  font-size: 11px;
}
.v5-cab-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c0c0e;
  background: #ececf0;
  vertical-align: middle;
}

/* Rules */
.v5-rules { padding-top: 24px; }
.v5-rules-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.v5-rules-head p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
  font-size: 15px;
  line-height: 1.55;
}
.v5-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.v5-rule-block {
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(14,14,16,.62);
  border: 1px solid var(--line-soft);
}
.v5-rule-block .idx {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.28);
  font-weight: 700;
  margin-bottom: 10px;
}
.v5-rule-block h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}
.v5-rule-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v5-rule-block li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid rgba(255,255,255,.12);
}

@media (max-width: 900px) {
  .v5-cab-grid,
  .v5-rules-grid { grid-template-columns: 1fr; }
}

/* —— Legal / support doc pages —— */
.v5-legal-frame {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 64px;
}
.v5-legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.v5-legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.v5-legal-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.v5-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}
.v5-doc-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.v5-doc-nav a:hover { color: var(--text); }
.v5-doc-nav a.active {
  color: var(--text);
  border-bottom-color: rgba(255,255,255,.35);
}
.v5-legal-main {
  max-width: 780px;
  padding-top: 36px;
}
.v5-legal-head {
  margin-bottom: 28px;
}
.v5-legal-date {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
  font-weight: 600;
}
.v5-legal-head h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.v5-legal-head .lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}
.v5-legal-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v5-legal-section {
  padding: 20px 22px 18px;
  border-radius: 18px;
  background: rgba(14,14,16,.62);
  border: 1px solid var(--line-soft);
}
.v5-legal-section .idx {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.28);
  font-weight: 700;
  margin-bottom: 8px;
}
.v5-legal-section h2 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.v5-legal-section p,
.v5-legal-section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.v5-legal-section p:last-child,
.v5-legal-section ul:last-child { margin-bottom: 0; }
.v5-legal-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v5-legal-section li {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(255,255,255,.12);
}
.v5-legal-section a {
  color: #d8d8dc;
  text-underline-offset: 3px;
}
.v5-legal-section a:hover { color: #fff; }
.v5-legal-en {
  margin-top: 8px;
  opacity: 0.92;
}
.v5-legal-en h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.4); }

.v5-tariff-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
}
.v5-tariff-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 8px 16px;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.v5-tariff-row .name {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}
.v5-tariff-row .meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.v5-tariff-row .price {
  text-align: right;
  white-space: nowrap;
}
.v5-tariff-row .price strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}
.v5-tariff-row .price s {
  color: rgba(255,255,255,.32);
  font-size: 12px;
}
.v5-legal-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ececf0;
  color: #0c0c0e !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}
.v5-legal-cta:hover { filter: brightness(1.04); }

.v5-support-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-top: 8px;
}
.v5-support-panel {
  padding: 20px 22px 18px;
  border-radius: 18px;
  background: rgba(14,14,16,.62);
  border: 1px solid var(--line-soft);
}
.v5-support-panel h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
}
.v5-support-mail {
  display: inline-block;
  margin-top: 10px;
  color: #ececf0 !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.v5-support-mail:hover { text-decoration: underline; }
.v5-ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.v5-ticket-filters .tab {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.v5-ticket-filters .tab.on,
.v5-ticket-filters .tab:hover {
  color: #0c0c0e;
  background: #ececf0;
  border-color: #ececf0;
}
.v5-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}
.v5-ticket-list .muted {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.v5-ticket-card {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .18s ease, background .18s ease;
}
.v5-ticket-card:hover {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}
.v5-ticket-card.unread {
  border-color: rgba(236,236,240,.35);
}
.v5-ticket-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 4px;
}
.v5-ticket-card span {
  color: rgba(255,255,255,.36);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.v5-ticket-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.v5-support-form {
  display: grid;
  gap: 8px;
}
.v5-support-form label {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.v5-support-form input,
.v5-support-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}
.v5-support-form input:focus,
.v5-support-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.28);
}
.v5-support-form .btn {
  margin-top: 6px;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: #ececf0;
  color: #0c0c0e;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.v5-support-status {
  margin: 8px 0 0;
  color: #9ddea8;
  font-size: 13px;
}
.v5-ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
}
.v5-ticket-msg {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}
.v5-ticket-msg.staff {
  background: rgba(236,236,240,.06);
  border-color: rgba(236,236,240,.14);
}
.v5-ticket-msg header {
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.v5-ticket-msg p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.v5-ticket-live {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(157,222,168,.12);
  color: #9ddea8;
  font-size: 13px;
  font-weight: 600;
}
.v5-backlink {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.v5-backlink:hover { color: var(--text); }
.v5-legal-foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.v5-legal-foot .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.v5-legal-foot .footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}
.v5-legal-foot .footer-legal a:hover { color: var(--text); }
.v5-legal-foot .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255,255,255,.28);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .v5-support-grid { grid-template-columns: 1fr; }
  .v5-tariff-row {
    grid-template-columns: 1fr;
  }
  .v5-tariff-row .price { text-align: left; }
  .v5-doc-nav { justify-content: flex-start; }
}

/* Notifications */
.notify-wrap {
  position: relative;
  flex-shrink: 0;
}
.notify-bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(236, 236, 240, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ececf0;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.notify-bell svg {
  width: 18px;
  height: 18px;
  display: block;
}
.notify-bell:hover {
  border-color: rgba(236, 236, 240, 0.34);
  background: rgba(255, 255, 255, 0.08);
}
.notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e8c27a;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.notify-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 28px));
  max-height: min(420px, 70vh);
  overflow: hidden;
  display: none;
  grid-template-rows: auto 1fr;
  border-radius: 16px;
  border: 1px solid rgba(236, 236, 240, 0.16);
  background: rgba(14, 14, 16, 0.98);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  z-index: 130;
}
.notify-panel.is-open {
  display: grid !important;
}
.notify-item.is-clickable {
  cursor: pointer;
}
.notify-item.is-clickable:hover {
  border-color: rgba(232, 194, 122, 0.35);
}
.notify-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(236, 236, 240, 0.1);
}
.notify-panel-head strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.notify-clear {
  border: 0;
  background: transparent;
  color: rgba(236, 236, 240, 0.55);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.notify-clear:hover { color: #ececf0; }
.notify-list {
  overflow: auto;
  padding: 8px;
  display: grid;
  gap: 6px;
}
.notify-empty {
  margin: 18px 12px;
  text-align: center;
  color: rgba(236, 236, 240, 0.45);
  font-size: 13px;
}
.notify-item {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(236, 236, 240, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: grid;
  gap: 8px;
}
.notify-item:hover { background: rgba(255, 255, 255, 0.06); }
.notify-item.is-read { opacity: 0.62; }
.notify-item-top {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  align-items: start;
}
.notify-item-top p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #f2f2f4;
}
.notify-item time {
  font-size: 11px;
  color: rgba(236, 236, 240, 0.4);
  padding-left: 18px;
}
.notify-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(236, 236, 240, 0.35);
}
.notify-item.is-ok .notify-dot { background: #9ddea8; }
.notify-item.is-err .notify-dot { background: #ff7878; }
.notify-item.is-warn .notify-dot { background: #f0c878; }

.notify-toasts {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 140;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}
.notify-toast {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(16, 16, 18, 0.96);
  border: 1px solid rgba(236, 236, 240, 0.28);
  color: #f2f2f4;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.notify-toast p { margin: 0; }
.notify-toast.is-on {
  opacity: 1;
  transform: translateY(0);
}
.notify-toast.is-ok { border-color: rgba(157, 222, 168, 0.45); }
.notify-toast.is-err { border-color: rgba(255, 120, 120, 0.45); }
.notify-toast.is-warn { border-color: rgba(240, 200, 120, 0.5); }

/* Payment waiting overlay */
.paywait-card {
  width: min(460px, calc(100vw - 28px)) !important;
}
.paywait {
  display: grid;
  gap: 16px;
  padding: 6px 2px 2px;
}
.paywait-head {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.paywait-brand {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(236, 236, 240, 0.12);
  background: #0b0b0d;
  display: grid;
  place-items: center;
}
.paywait-brand img,
.paywait-brand .pay-brand {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}
.paywait-head-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.paywait-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 236, 240, 0.45);
}
.paywait h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.paywait-amount {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(232, 194, 122, 0.42);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(232, 194, 122, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(232, 194, 122, 0.14), rgba(255, 255, 255, 0.02));
  text-align: center;
  box-shadow: 0 0 0 1px rgba(232, 194, 122, 0.08), 0 18px 40px rgba(0, 0, 0, 0.28);
}
.paywait-amount span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 228, 184, 0.72);
}
.paywait-amount strong {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffe9b0;
  font-weight: 800;
  text-shadow: 0 0 28px rgba(232, 194, 122, 0.28);
}
.paywait-pay {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 14px !important;
  background: #ececf0 !important;
  color: #0a0a0b !important;
  box-shadow: 0 12px 28px rgba(236, 236, 240, 0.18);
}
.paywait-pay:hover {
  background: #fff !important;
  color: #0a0a0b !important;
  filter: none;
}
.paywait-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(232, 194, 122, 0.08);
  border: 1px solid rgba(232, 194, 122, 0.22);
  color: #e8c27a;
  font-size: 13px;
  font-weight: 600;
}
.paywait-head,
.paywait-steps,
.paywait-lead,
.paywait-tip,
.paywait-actions {
  opacity: 0.88;
}
.paywait-lead,
.paywait-tip {
  opacity: 0.7;
}
.paywait-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.paywait-steps li {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: rgba(236, 236, 240, 0.38);
  font-size: 11px;
  line-height: 1.3;
}
.paywait-steps em {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(236, 236, 240, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.paywait-steps .is-done {
  color: rgba(157, 222, 168, 0.9);
}
.paywait-steps .is-done em {
  border-color: rgba(157, 222, 168, 0.45);
  background: rgba(157, 222, 168, 0.12);
  color: #9ddea8;
}
.paywait-steps .is-active {
  color: #f2f2f4;
}
.paywait-steps .is-active em {
  border-color: rgba(232, 194, 122, 0.55);
  background: rgba(232, 194, 122, 0.16);
  color: #e8c27a;
  box-shadow: 0 0 0 4px rgba(232, 194, 122, 0.08);
}
.paywait-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.paywait-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8c27a;
  box-shadow: 0 0 0 0 rgba(232, 194, 122, 0.55);
  animation: paywait-pulse 1.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes paywait-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 194, 122, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(232, 194, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 194, 122, 0); }
}
.paywait-actions {
  width: 100%;
  display: grid;
  gap: 12px;
}
.paywait-secondary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.paywait-link {
  border: 0;
  background: transparent;
  color: rgba(236, 236, 240, 0.72);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.paywait-link:hover { color: #f2f2f4; }
.paywait-link.is-muted {
  color: rgba(236, 236, 240, 0.38);
  text-decoration: none;
}
.paywait-link.is-muted:hover { color: rgba(255, 120, 120, 0.9); }
.paywait-tip {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(236, 236, 240, 0.4);
  text-align: left;
}

@media (max-width: 720px) {
  .notify-toasts { bottom: 96px; right: 14px; left: 14px; width: auto; }
  .m1-nav-end .notify-wrap { order: -1; }
  .paywait-amount strong { font-size: 36px; }
  .paywait-steps { gap: 6px; }
  .paywait-steps li { font-size: 10px; }
}
