﻿@import url("https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@400;500;600;700;800&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

:root {
  --accent: #ff9d2b;
  --accent-soft: #ffb04f;
  --accent-alt: #37d7ff;
  --danger: #d92a35;
  --danger-soft: #ff545f;
  --success: #2dcf74;
  --success-soft: #79f2ab;
  --bg: #06080d;
  --panel: #11151c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f3eb;
  --muted: #b1bac6;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
  --font-ui: "Be Vietnam Pro", "Barlow Condensed", sans-serif;
  --anchor-offset: 146px;
  --hero-switch-shift: -74px;
  --hero-switch-hover-shift: -78px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 93.75%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Barlow Condensed", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 180, 79, 0.2), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(55, 215, 255, 0.18), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(120, 145, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(20, 31, 48, 0.96) 0%, rgba(13, 20, 31, 0.98) 30%, rgba(11, 17, 27, 1) 72%),
    linear-gradient(180deg, #101826 0%, #0d1420 40%, #121b2b 100%);
  color: var(--text);
  position: relative;
}

body.is-compact-desktop {
  --max-width: 1040px;
}

@media (min-width: 721px) {
  html.page-scale-90 {
    font-size: 90%;
  }

  html.page-scale-90 body {
    --max-width: 1060px;
    --anchor-offset: 132px;
  }
}
@media (min-width: 721px) {
  html.page-scale-100 {
    font-size: 100%;
  }

  html.page-scale-100 body {
    --max-width: 1100px;
    --anchor-offset: 132px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 90px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: 0.12;
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 190, 110, 0.28), transparent 32%),
    radial-gradient(circle at 8% 84%, rgba(255, 92, 112, 0.12), transparent 24%),
    radial-gradient(circle at 92% 72%, rgba(55, 215, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 14%, transparent 82%, rgba(255, 255, 255, 0.03));
  mix-blend-mode: screen;
  opacity: 0.56;
  pointer-events: none;
  z-index: -4;
}

.site-noise {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.05) 0, transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.05) 0, transparent 20%),
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, 0.035) 0, transparent 16%),
    linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.018) 46%, transparent 52%, transparent 100%);
  mix-blend-mode: soft-light;
  opacity: 0.34;
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  padding: 12px 28px;
  background:
    linear-gradient(180deg, rgba(11, 16, 24, 0.97), rgba(11, 16, 24, 0.86)),
    radial-gradient(circle at top center, rgba(255, 180, 79, 0.08), transparent 42%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand-mark {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(55, 215, 255, 0.18))
    drop-shadow(0 0 30px rgba(255, 157, 43, 0.12));
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong,
.hero-title,
.section-title,
.stat-card strong,
.side-card-title,
.path-card h3,
.map-card h3,
.step-card h3,
.news-card h3,
.mini-feature-card h3,
.community-link-card strong,
.footer-brand {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-copy strong {
  font-size: 1.82rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  position: static;
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  gap: clamp(10px, 1vw, 18px);
  transform: none;
  z-index: 2;
  flex: 0 0 auto;
}

.site-nav a,
.header-cta,
.button,
.step-link,
.hero-switch,
.section-kicker,
.panel-kicker,
.map-role,
.path-tag,
.map-status,
.news-label,
.hero-caption,
.hero-edge-label {
  font-family: "Barlow Condensed", sans-serif;
}

.site-nav a {
  position: relative;
  color: rgba(247, 243, 235, 0.84);
  font-size: clamp(0.68rem, 0.74vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.nav-pill {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.site-nav a.nav-pill::after {
  display: none;
}

.site-nav a.nav-pill-guide {
  color: #fff8f8;
  background: linear-gradient(135deg, var(--danger-soft), var(--danger));
  box-shadow: 0 14px 28px rgba(217, 42, 53, 0.18);
}

.site-nav a.nav-pill-repair {
  color: #fff8f8;
  background: linear-gradient(135deg, var(--danger-soft), var(--danger));
  box-shadow: 0 14px 28px rgba(217, 42, 53, 0.18);
}

.site-nav a.nav-pill-training {
  color: #05150c;
  background: linear-gradient(135deg, var(--success-soft), var(--success));
  box-shadow: 0 14px 28px rgba(45, 207, 116, 0.18);
}

.site-nav a.nav-pill-donate {
  color: #1b1004;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 14px 28px rgba(255, 157, 43, 0.16);
}

.site-nav a.nav-pill-shop {
  color: #241700;
  background: linear-gradient(135deg, #ffe588, #ffcc3d);
  box-shadow: 0 14px 28px rgba(255, 204, 61, 0.22);
}

.site-nav a.nav-pill-support {
  color: #fff8f8;
  background: linear-gradient(135deg, var(--danger-soft), var(--danger));
  box-shadow: 0 14px 28px rgba(217, 42, 53, 0.18);
}

.header-cta,
.button,
.step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}
.site-nav a.nav-pill-wiki {
  color: #f0e6ff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.2);
}

.header-cta {
  position: static;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  transform: none;
  width: fit-content;
  max-width: max-content;
  min-width: 0;
  z-index: 2;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-auth {
  position: relative;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  z-index: 4;
  font-family: var(--font-ui);
}

.header-auth-shell {
  position: relative;
}

.header-auth-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-auth-discord {
  min-width: 118px;
  padding-inline: 11px;
}

.header-auth-login.is-disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.header-auth-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 274px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(34, 42, 58, 0.96), rgba(18, 24, 37, 0.94)),
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.18), transparent 42%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  color: var(--text);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.header-auth-trigger:hover,
.header-auth-trigger:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(88, 101, 242, 0.34);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.header-auth-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header-auth-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", sans-serif;
  font-size: 1.14rem;
  letter-spacing: 0.04em;
  color: #12161f;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.76));
}

.header-auth-summary {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.header-auth-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.header-auth-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.03em;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-auth-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(460px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(16, 22, 34, 0.98), rgba(10, 14, 22, 0.98)),
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.16), transparent 34%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.header-auth-panel[hidden] {
  display: none;
}

.header-auth-section {
  display: grid;
  gap: 8px;
}

.header-auth-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-auth-title {
  font-family: "Anton", sans-serif;
  font-size: 1.34rem;
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.header-auth-meta,
.header-auth-note,
.header-auth-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  line-height: 1.62;
}

.header-auth-note {
  color: rgba(255, 255, 255, 0.66);
}

/* Match auth dropdown typography to the shared donate panel rhythm. */
.header-auth-panel,
.header-auth-panel button,
.header-auth-panel a,
.header-auth-panel code,
.header-auth-panel strong,
.header-auth-panel span,
.header-auth-panel small {
  font-family: "Barlow Condensed", sans-serif;
}

.header-auth-title {
  font-family: "Anton", sans-serif;
  font-size: 1.24rem;
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.header-auth-kicker,
.header-auth-stat span,
.header-auth-server-copy small,
.header-auth-server-badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.header-auth-meta,
.header-auth-note,
.header-auth-empty,
.header-auth-chip,
.header-auth-server-copy strong {
  font-size: 0.86rem;
  line-height: 1.42;
}

.header-auth-meta code,
.header-auth-stat strong {
  font-size: 0.92rem;
}

.header-auth-chip {
  padding: 6px 10px;
}

.header-auth-server-item {
  padding: 10px 11px;
}


.header-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.header-auth-stat {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.header-auth-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-auth-stat strong {
  font-size: 0.98rem;
  line-height: 1.32;
  text-shadow: 0 1px 8px rgba(255,255,255,0.06);
}

.header-auth-stat--vip {
  position: relative;
  overflow: hidden;
}

.header-auth-stat--vip::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% -12%;
  height: 70%;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
  pointer-events: none;
}

.header-auth-stat--vip.is-member {
  border-color: rgba(88, 101, 242, 0.2);
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(33, 39, 50, 0.96), rgba(17, 23, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-1 {
  border-color: rgba(121, 242, 171, 0.34);
  background: linear-gradient(135deg, rgba(31, 76, 54, 0.96), rgba(17, 31, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-1::after {
  background: rgba(121, 242, 171, 0.55);
}

.header-auth-stat--vip.is-vip-tier-2 {
  border-color: rgba(98, 230, 215, 0.34);
  background: linear-gradient(135deg, rgba(22, 73, 76, 0.96), rgba(14, 24, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-2::after {
  background: rgba(98, 230, 215, 0.55);
}

.header-auth-stat--vip.is-vip-tier-3 {
  border-color: rgba(55, 215, 255, 0.38);
  background: linear-gradient(135deg, rgba(18, 64, 88, 0.96), rgba(14, 21, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-3::after {
  background: rgba(55, 215, 255, 0.6);
}

.header-auth-stat--vip.is-vip-tier-4 {
  border-color: rgba(99, 166, 255, 0.4);
  background: linear-gradient(135deg, rgba(21, 51, 102, 0.96), rgba(15, 20, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-4::after {
  background: rgba(99, 166, 255, 0.64);
}

.header-auth-stat--vip.is-vip-tier-5 {
  border-color: rgba(144, 132, 255, 0.42);
  background: linear-gradient(135deg, rgba(35, 31, 108, 0.96), rgba(16, 18, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-5::after {
  background: rgba(144, 132, 255, 0.66);
}

.header-auth-stat--vip.is-vip-tier-6 {
  border-color: rgba(191, 111, 255, 0.44);
  background: linear-gradient(135deg, rgba(61, 28, 114, 0.96), rgba(19, 16, 35, 0.92));
}

.header-auth-stat--vip.is-vip-tier-6::after {
  background: rgba(191, 111, 255, 0.66);
}

.header-auth-stat--vip.is-vip-tier-7 {
  border-color: rgba(255, 105, 180, 0.46);
  background: linear-gradient(135deg, rgba(96, 24, 75, 0.98), rgba(28, 15, 31, 0.94));
}

.header-auth-stat--vip.is-vip-tier-7::after {
  background: rgba(255, 105, 180, 0.7);
}

.header-auth-stat--vip.is-vip-tier-8 {
  border-color: rgba(255, 117, 117, 0.5);
  background: linear-gradient(135deg, rgba(110, 28, 41, 0.98), rgba(32, 14, 24, 0.94));
}

.header-auth-stat--vip.is-vip-tier-8::after {
  background: rgba(255, 117, 117, 0.74);
}

.header-auth-stat--vip.is-vip-tier-9 {
  border-color: rgba(255, 157, 43, 0.56);
  background: linear-gradient(135deg, rgba(107, 53, 16, 0.98), rgba(36, 18, 12, 0.94));
}

.header-auth-stat--vip.is-vip-tier-9::after {
  background: rgba(255, 157, 43, 0.78);
}

.header-auth-stat--vip.is-vip-tier-10 {
  border-color: rgba(255, 228, 128, 0.76);
  background:
    radial-gradient(circle at top left, rgba(255, 232, 151, 0.24), transparent 44%),
    linear-gradient(135deg, rgba(120, 82, 18, 0.98), rgba(33, 22, 10, 0.96));
  box-shadow:
    0 18px 42px rgba(255, 195, 75, 0.18),
    inset 0 0 20px rgba(255, 240, 176, 0.08);
}

.header-auth-stat--vip.is-vip-tier-10::after {
  background: rgba(255, 220, 110, 0.88);
}

.header-auth-stat--points {
  border-color: rgba(255, 157, 43, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(39, 28, 18, 0.96), rgba(18, 19, 28, 0.92));
}

.header-auth-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.header-auth-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.22);
  background: rgba(88, 101, 242, 0.12);
  color: #f5f8ff;
  font-size: 0.84rem;
  line-height: 1.3;
}

.header-auth-guild-list {
  display: grid;
  gap: 8px;
}

.header-auth-server-list {
  display: grid;
  gap: 10px;
}

.header-auth-server-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.header-auth-server-item.is-online {
  border-color: rgba(45, 207, 116, 0.24);
  background:
    radial-gradient(circle at top left, rgba(45, 207, 116, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(18, 39, 31, 0.96), rgba(12, 22, 26, 0.92));
}

.header-auth-server-item.is-offline {
  border-color: rgba(255, 255, 255, 0.08);
}

.header-auth-server-copy {
  display: grid;
  gap: 3px;
}

.header-auth-server-copy strong {
  font-size: 0.94rem;
}

.header-auth-server-copy small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-auth-server-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-auth-server-item.is-online .header-auth-server-badge {
  color: #092213;
  border-color: rgba(121, 242, 171, 0.3);
  background: linear-gradient(135deg, var(--success-soft), var(--success));
}

.header-auth-server-item.is-offline .header-auth-server-badge {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
}

.header-auth-widget-shell {
  display: grid;
  gap: 10px;
}

.header-auth-widget-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(11, 17, 27, 0.96));
}

.header-auth-widget-frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: transparent;
}

.discord-side-widget {
  position: fixed;
  top: calc(var(--arkvn-header-height) + 10px);
  left: max(18px, calc((100vw - var(--max-width)) / 2 - 338px));
  width: clamp(250px, 18vw, 286px);
  max-height: calc(100dvh - var(--arkvn-header-height) - 22px);
  overflow: auto;
  z-index: 18;
}

.discord-side-widget[hidden] {
  display: none;
}

.discord-side-widget-shell {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(16, 22, 34, 0.98), rgba(10, 14, 22, 0.96));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.discord-side-widget-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.discord-side-widget-title {
  font-size: 0.88rem;
  line-height: 1.4;
}

.discord-side-widget-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(11, 17, 27, 0.96));
}

.discord-side-widget-frame iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
  background: transparent;
}

.header-auth-guild-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.header-auth-guild-item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-auth-guild-icon,
.header-auth-guild-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.header-auth-guild-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.header-auth-actions {
  display: flex;
  justify-content: flex-end;
}

.header-auth-action {
  min-width: 170px;
}

.header-auth-action,
.shop-profile-login,
.shop-checkin-button {
  font-family: var(--font-ui);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
}

.header-auth-discord,
.header-auth-login {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.82rem;
}

.header-cta,
.button-primary,
.step-link,
.button-launcher {
  color: #1b1004;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 18px 40px rgba(255, 157, 43, 0.24);
}

.button-secondary,
.button-tertiary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 18, 0.34);
  backdrop-filter: blur(12px);
}

.button-secondary {
  color: #fff7f7;
  border-color: rgba(255, 98, 98, 0.32);
  background: linear-gradient(135deg, var(--danger-soft), var(--danger));
  box-shadow: 0 18px 42px rgba(217, 42, 53, 0.24);
}

.button-tertiary {
  background: rgba(15, 20, 29, 0.58);
}

.header-cta:hover,
.button:hover,
.step-link:hover {
  transform: translateY(-2px);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.hero-video,
.hero-veil,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.36) blur(0.2px);
  transform: scale(1.04);
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.84) 0%, rgba(5, 7, 12, 0.52) 22%, rgba(5, 7, 12, 0.34) 55%, rgba(5, 7, 12, 0.9) 100%),
    radial-gradient(circle at center, transparent 24%, rgba(5, 7, 12, 0.46) 78%);
}

.hero-grid {
  background:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.05) 100%);
  background-size: 240px 240px;
  opacity: 0.05;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 132px 0 56px;
}

.hero-inner.section-shell {
  width: 100%;
  max-width: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  --hero-media-width: clamp(450px, 26vw, 530px);
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watermark {
  position: absolute;
  left: calc(50% - clamp(440px, 29vw, 580px));
  bottom: clamp(26px, 4vw, 48px);
  width: clamp(210px, 15vw, 292px);
  min-width: 190px;
  opacity: 0.28;
  filter:
    drop-shadow(0 0 22px rgba(55, 215, 255, 0.2))
    drop-shadow(0 0 36px rgba(255, 157, 43, 0.18));
  mix-blend-mode: screen;
  transform: translateX(-50%) translateY(18px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  width: min(100%, 700px);
  max-width: 700px;
  margin: 0 auto;
}

.hero-media {
  position: absolute;
  top: 50%;
  left: calc(50% + clamp(368px, 20vw, 430px));
  transform: translateY(-40%);
  z-index: 2;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: var(--hero-media-width);
  margin-left: 0;
}

.hero-media-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(18, 24, 34, 0.94), rgba(10, 14, 22, 0.84));
  box-shadow: var(--shadow);
}

.hero-media-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 157, 43, 0.36), rgba(55, 215, 255, 0.12), rgba(255, 255, 255, 0.04));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.hero-media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #020409;
}

.hero-media-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff8f8;
  border: 1px solid rgba(255, 98, 98, 0.28);
  background: linear-gradient(135deg, rgba(255, 84, 95, 0.24), rgba(217, 42, 53, 0.18));
  box-shadow: 0 18px 34px rgba(217, 42, 53, 0.14);
  backdrop-filter: blur(12px);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.hero-media-button::after {
  content: "";
  width: 18px;
  height: 13px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Crect width='24' height='18' rx='5' fill='%23ff4b5c'/%3E%3Cpath d='M10 5.25 16 9l-6 3.75V5.25Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 4px;
  padding: 17px 34px;
  border: 1px solid rgba(255, 157, 43, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 190, 110, 0.2), rgba(255, 157, 43, 0.12));
  color: #ffe0b2;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(255, 157, 43, 0.16);
  backdrop-filter: blur(12px);
  transform: translateY(var(--hero-switch-shift));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-switch:hover,
.hero-switch:focus-visible {
  transform: translateY(var(--hero-switch-hover-shift));
  box-shadow: 0 22px 44px rgba(255, 157, 43, 0.22);
  border-color: rgba(255, 200, 128, 0.34);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: clamp(3.45rem, 6.9vw, 5.9rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
  display: block;
}

.hero-title-line-accent {
  font-size: 0.9em;
}

.hero-title-line-accent,
.section-title span,
.stat-card strong,
.path-tag,
.map-status,
.step-index,
.news-label {
  color: var(--accent);
}

.hero-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-subtitle,
.section-description,
.intro-copy p,
.path-card p,
.map-card p,
.step-card p,
.news-card p,
.community-link-card span,
.faq-item p,
.panel-text,
.panel-note,
.stat-card span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.46;
}

.hero-subtitle {
  max-width: 760px;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions-lower {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 14px;
  margin-top: 14px;
}

.hero-actions-guidehub {
  display: none;
}

.button-launcher {
  min-width: min(100%, 420px);
  padding: 16px 32px;
  font-size: 1.02rem;
  box-shadow: 0 22px 50px rgba(255, 157, 43, 0.28);
}

.button-guidehub {
  display: inline-flex;
  min-width: min(100%, 290px);
  padding: 15px 24px;
  font-size: 0.96rem;
  box-shadow: 0 18px 42px rgba(217, 42, 53, 0.24);
}

.hero-edge-label {
  position: absolute;
  top: 84px;
  right: 0;
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: right;
  white-space: nowrap;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.intro-card,
.side-card,
.path-card,
.map-card,
.step-card,
.news-card,
.mini-feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.08), transparent 32%),
    radial-gradient(circle at bottom left, rgba(55, 215, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(24, 34, 50, 0.96), rgba(13, 20, 31, 0.9));
  box-shadow: var(--shadow);
}

.intro-card,
.side-card {
  border-radius: var(--radius-lg);
}

.intro-card::before,
.side-card::before,
.path-card::before,
.map-card::before,
.step-card::before,
.news-card::before,
.mini-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 157, 43, 0.28), rgba(55, 215, 255, 0.12), rgba(255, 255, 255, 0.04));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.panel-kicker,
.panel-stat-label,
.intro-panel-entry span,
.map-role,
.stat-card span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.server-panel-grid,
.intro-panel-grid,
.mini-feature-grid,
.map-grid,
.steps-grid,
.news-grid {
  display: grid;
  gap: 16px;
}

.stats-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(90deg, rgba(255, 157, 43, 0.12), transparent 18%, transparent 82%, rgba(55, 215, 255, 0.12)),
    linear-gradient(180deg, rgba(18, 26, 39, 0.92), rgba(14, 20, 31, 0.9));
  backdrop-filter: blur(14px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card:first-child {
  border-left: 0;
}

.stat-card strong {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 68px;
  font-size: clamp(2.35rem, 3.5vw, 3.25rem);
  line-height: 1;
  text-transform: uppercase;
}

.stat-card-compact strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
}

.stat-card-textual strong {
  transform: translateY(6px);
}

.stat-card span {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

#home {
  scroll-margin-top: 0;
}

#server-stats,
#news,
#join,
#about,
#maps,
#training,
#community {
  scroll-margin-top: var(--anchor-offset);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.section-title {
  margin: 0;
  font-size: clamp(2.55rem, 5.8vw, 4.8rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.section-description {
  margin: 14px 0 0;
  max-width: 680px;
}

.intro-layout,
.community {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.intro-card {
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.2), transparent 34%),
    radial-gradient(circle at bottom right, rgba(55, 215, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(22, 31, 46, 0.96), rgba(12, 17, 28, 0.88));
}

.intro-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-alt);
  box-shadow: 0 0 0 rgba(55, 215, 255, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 215, 255, 0.42); }
  70% { box-shadow: 0 0 0 12px rgba(55, 215, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 215, 255, 0); }
}

.intro-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-summary-grid,
.intro-rates-grid {
  display: grid;
  gap: 14px;
}

.intro-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.intro-summary-card,
.intro-rate-card,
.intro-newbie-stat {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.intro-summary-card {
  padding: 18px 18px 16px;
}

.intro-summary-card:nth-child(1) {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(45, 35, 25, 0.92), rgba(21, 23, 31, 0.94));
}

.intro-summary-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(23, 39, 49, 0.92), rgba(15, 21, 32, 0.94));
}

.intro-summary-card:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(255, 98, 98, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(40, 28, 35, 0.92), rgba(17, 20, 31, 0.94));
}

.intro-summary-card:nth-child(4) {
  background:
    radial-gradient(circle at top right, rgba(121, 242, 171, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(24, 39, 33, 0.92), rgba(15, 20, 31, 0.94));
}

.intro-summary-card span,
.intro-rate-card span,
.intro-newbie-stat span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-summary-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f7f3eb;
  text-shadow: 0 8px 18px rgba(255, 255, 255, 0.05);
}

.intro-rates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.intro-rate-card {
  padding: 16px;
  min-height: 118px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

.intro-rate-card strong {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 2.08rem;
  line-height: 0.92;
  text-transform: uppercase;
  color: #efbf5f;
  text-shadow: 0 8px 18px rgba(255, 168, 69, 0.16);
}

.intro-rate-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.35;
}

.intro-rate-card-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 157, 43, 0.08), rgba(255, 255, 255, 0.04));
}

.intro-rate-card-success {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(45, 207, 116, 0.08), rgba(255, 255, 255, 0.04));
}

.intro-rate-card-warning {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(55, 215, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.intro-panel-note {
  margin: 0 0 14px;
  max-width: none;
}

.server-browser {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.server-browser-sidebar,
.server-rates-shell,
.server-detail-shell,
.server-side-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.server-browser-sidebar {
  position: sticky;
  top: 132px;
}

.server-browser-sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-browser-note {
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.72);
}

.server-map-list {
  display: grid;
  gap: 14px;
}

.server-map-button {
  width: 100%;
  padding: 15px 15px 14px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.server-map-button span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-map-button strong {
  display: block;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f7f3eb;
}

.server-map-button:hover,
.server-map-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.server-map-button.is-active {
  border-color: rgba(255, 190, 110, 0.92);
  box-shadow: 0 14px 30px rgba(255, 157, 43, 0.14);
}

.server-map-button-lost-colony {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(20, 34, 43, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-scorched-earth {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(40, 30, 22, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-astraeos {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(23, 40, 31, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-scorched-reborn {
  background:
    radial-gradient(circle at top right, rgba(137, 158, 194, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(30, 36, 48, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-ragnarok-pvp {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(48, 33, 22, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-mods {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(24, 39, 48, 0.92), rgba(14, 20, 31, 0.96));
}

.server-browser-main {
  display: grid;
  gap: 18px;
}

.server-browser-description {
  margin: 0;
  max-width: 980px;
}

.server-browser-stage {
  display: grid;
  grid-template-columns: minmax(290px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
}

.server-rates-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(21, 30, 44, 0.96), rgba(12, 17, 27, 0.92));
}

.server-rates-head {
  margin-bottom: 16px;
}

.server-rates-title {
  margin: 4px 0 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.server-detail-wrap {
  min-height: 100%;
}

.server-detail-shell {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(11, 17, 27, 0.92));
}

.server-detail-lost-colony {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.22), transparent 38%),
    radial-gradient(circle at bottom right, rgba(116, 208, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(18, 40, 52, 0.94), rgba(10, 16, 27, 0.9));
  border-color: rgba(88, 196, 255, 0.22);
}

.server-detail-scorched-earth {
  background:
    radial-gradient(circle at top left, rgba(255, 166, 77, 0.24), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 115, 72, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(53, 34, 23, 0.94), rgba(16, 18, 28, 0.9));
  border-color: rgba(255, 170, 94, 0.22);
}

.server-detail-astraeos {
  background:
    radial-gradient(circle at top left, rgba(45, 207, 116, 0.24), transparent 38%),
    radial-gradient(circle at bottom right, rgba(121, 242, 171, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 42, 34, 0.94), rgba(13, 18, 29, 0.9));
  border-color: rgba(121, 242, 171, 0.22);
}

.server-detail-scorched-reborn {
  background:
    radial-gradient(circle at top left, rgba(173, 194, 232, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(109, 135, 198, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(28, 34, 49, 0.94), rgba(13, 18, 29, 0.9));
  border-color: rgba(155, 175, 218, 0.2);
}

.server-detail-ragnarok-pvp {
  background:
    radial-gradient(circle at top left, rgba(255, 180, 79, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 90, 52, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(43, 31, 23, 0.94), rgba(14, 18, 29, 0.9));
  border-color: rgba(255, 170, 94, 0.2);
}

.server-detail-mods {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.22), transparent 36%),
    radial-gradient(circle at bottom right, rgba(138, 239, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 41, 52, 0.94), rgba(12, 17, 29, 0.9));
  border-color: rgba(136, 227, 255, 0.18);
}

.server-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.server-detail-copy {
  min-width: 0;
}

.server-detail-title {
  margin: 4px 0 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-shadow: 0 8px 18px rgba(255, 157, 43, 0.12);
}

.server-detail-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.server-detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 110, 0.5);
  background: rgba(255, 190, 110, 0.08);
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.server-detail-description {
  margin: 18px 0 0;
}

.server-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.server-detail-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.server-detail-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-detail-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #f7f3eb;
}

.server-detail-lost-colony .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(20, 45, 58, 0.9), rgba(13, 21, 33, 0.92));
  border-color: rgba(103, 216, 255, 0.16);
}

.server-detail-scorched-earth .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(53, 36, 25, 0.9), rgba(16, 20, 31, 0.92));
  border-color: rgba(255, 188, 108, 0.16);
}

.server-detail-astraeos .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(21, 46, 36, 0.9), rgba(13, 20, 31, 0.92));
  border-color: rgba(121, 242, 171, 0.16);
}

.server-detail-scorched-reborn .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(173, 194, 232, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(31, 39, 58, 0.9), rgba(13, 20, 31, 0.92));
  border-color: rgba(167, 186, 228, 0.14);
}

.server-detail-ragnarok-pvp .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(47, 35, 25, 0.9), rgba(15, 20, 31, 0.92));
  border-color: rgba(255, 188, 108, 0.16);
}

.server-detail-mods .server-detail-card {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(22, 42, 51, 0.9), rgba(13, 20, 31, 0.92));
  border-color: rgba(136, 227, 255, 0.14);
}

.server-side-stack {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.server-side-card {
  min-height: 100%;
}

.panel-stat,
.intro-panel-entry {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-panel-entry {
  width: 100%;
  appearance: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font: inherit;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.intro-panel-entry:hover,
.intro-panel-entry:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 79, 0.34);
  background: linear-gradient(180deg, rgba(255, 157, 43, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.intro-panel-entry.is-active {
  border-color: rgba(255, 189, 102, 0.9);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 190, 110, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 38px rgba(255, 157, 43, 0.12),
    0 0 0 1px rgba(255, 189, 102, 0.34);
}

.intro-panel-entry[data-panel-id="lost-colony"] {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(20, 34, 43, 0.9), rgba(14, 20, 31, 0.94));
}

.intro-panel-entry[data-panel-id="lost-colony"].is-active {
  border-color: rgba(255, 189, 102, 0.9);
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(32, 57, 70, 0.84), rgba(14, 20, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 38px rgba(55, 215, 255, 0.08),
    0 0 0 1px rgba(255, 189, 102, 0.34);
}

.intro-panel-entry[data-panel-id="scorched-earth"] {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(40, 30, 22, 0.92), rgba(14, 20, 31, 0.94));
}

.intro-panel-entry[data-panel-id="scorched-earth"].is-active {
  border-color: rgba(255, 189, 102, 0.9);
  background:
    radial-gradient(circle at top left, rgba(255, 180, 79, 0.24), transparent 52%),
    linear-gradient(180deg, rgba(58, 41, 24, 0.84), rgba(16, 20, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 38px rgba(255, 157, 43, 0.1),
    0 0 0 1px rgba(255, 189, 102, 0.34);
}

.intro-panel-entry[data-panel-id="astraeos"] {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(23, 40, 31, 0.92), rgba(14, 20, 31, 0.94));
}

.intro-panel-entry[data-panel-id="astraeos"].is-active {
  border-color: rgba(255, 189, 102, 0.9);
  background:
    radial-gradient(circle at top left, rgba(45, 207, 116, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(27, 58, 40, 0.84), rgba(14, 20, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 38px rgba(45, 207, 116, 0.08),
    0 0 0 1px rgba(255, 189, 102, 0.34);
}

.intro-panel-entry[data-panel-id="mods"] {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(24, 39, 48, 0.92), rgba(14, 20, 31, 0.94));
}

.intro-panel-entry[data-panel-id="mods"] strong {
  color: #c6f6ff;
}

.intro-panel-entry[data-panel-id="mods"].is-active {
  border-color: rgba(255, 189, 102, 0.9);
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.2), transparent 52%),
    radial-gradient(circle at bottom right, rgba(123, 247, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(24, 48, 58, 0.86), rgba(14, 20, 31, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 38px rgba(55, 215, 255, 0.08),
    0 0 0 1px rgba(255, 189, 102, 0.34);
}

.panel-stat-label,
.intro-panel-entry span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.panel-stat-value,
.intro-panel-entry strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 700;
}

.intro-panel-detail {
  margin-top: 18px;
}

.intro-panel-detail-shell {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(12, 18, 28, 0.92), rgba(8, 12, 20, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-panel-detail-lost-colony {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.22), transparent 38%),
    radial-gradient(circle at bottom right, rgba(116, 208, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(18, 40, 52, 0.94), rgba(10, 16, 27, 0.9));
  border-color: rgba(88, 196, 255, 0.22);
}

.intro-panel-detail-scorched-earth {
  background:
    radial-gradient(circle at top left, rgba(255, 166, 77, 0.24), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 115, 72, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(53, 34, 23, 0.94), rgba(16, 18, 28, 0.9));
  border-color: rgba(255, 170, 94, 0.22);
}

.intro-panel-detail-astraeos {
  background:
    radial-gradient(circle at top left, rgba(45, 207, 116, 0.24), transparent 38%),
    radial-gradient(circle at bottom right, rgba(121, 242, 171, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 42, 34, 0.94), rgba(13, 18, 29, 0.9));
  border-color: rgba(121, 242, 171, 0.22);
}

.intro-panel-detail-mods {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.22), transparent 36%),
    radial-gradient(circle at bottom right, rgba(138, 239, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 41, 52, 0.94), rgba(12, 17, 29, 0.9));
  border-color: rgba(136, 227, 255, 0.18);
}

.intro-panel-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-panel-detail-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--accent-soft);
  text-shadow: 0 8px 18px rgba(255, 157, 43, 0.12);
}

.intro-panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-panel-detail-mods .intro-panel-detail-head {
  grid-template-columns: 1fr;
}

.intro-panel-detail-mods .intro-panel-detail-title {
  font-size: 1.5rem;
  max-width: none;
  word-break: keep-all;
}

.intro-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(123, 86, 34, 0.34), rgba(80, 58, 24, 0.24));
  border: 1px solid rgba(236, 187, 92, 0.42);
  color: #f0c56b;
  box-shadow: inset 0 1px 0 rgba(255, 225, 169, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-panel-detail-lost-colony .panel-kicker {
  color: #b8ecff;
}

.intro-panel-detail-scorched-earth .panel-kicker {
  color: #ffd59b;
}

.intro-panel-detail-astraeos .panel-kicker {
  color: #bcffd7;
}

.intro-panel-detail-mods .panel-kicker {
  color: #bfefff;
}

.intro-panel-detail-mods .intro-panel-detail-title {
  color: #c6f6ff;
  text-shadow: 0 8px 18px rgba(55, 215, 255, 0.12);
}

.intro-panel-detail-mods .intro-panel-badge {
  background: linear-gradient(180deg, rgba(123, 86, 34, 0.34), rgba(80, 58, 24, 0.24));
  border-color: rgba(236, 187, 92, 0.42);
  color: #f0c56b;
}

.intro-panel-detail-lost-colony .intro-panel-badge,
.intro-panel-detail-scorched-earth .intro-panel-badge,
.intro-panel-detail-astraeos .intro-panel-badge,
.intro-panel-detail-mods .intro-panel-badge {
  background: linear-gradient(180deg, rgba(123, 86, 34, 0.34), rgba(80, 58, 24, 0.24));
  border-color: rgba(236, 187, 92, 0.42);
  color: #f0c56b;
}

.intro-panel-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.intro-panel-detail-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-panel-detail-lost-colony .intro-panel-detail-item {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(20, 45, 58, 0.9), rgba(13, 21, 33, 0.92));
  border-color: rgba(103, 216, 255, 0.16);
}

.intro-panel-detail-scorched-earth .intro-panel-detail-item {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(53, 36, 25, 0.9), rgba(16, 20, 31, 0.92));
  border-color: rgba(255, 188, 108, 0.16);
}

.intro-panel-detail-astraeos .intro-panel-detail-item {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(21, 46, 36, 0.9), rgba(13, 20, 31, 0.92));
  border-color: rgba(121, 242, 171, 0.16);
}

.intro-panel-detail-mods .intro-panel-detail-item {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(22, 42, 51, 0.9), rgba(13, 20, 31, 0.92));
  border-color: rgba(136, 227, 255, 0.14);
}

.intro-panel-detail-item span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-panel-detail-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-side-stack {
  display: grid;
  gap: 16px;
}

.intro-side-card {
  padding: 20px;
}

.intro-side-title {
  margin-bottom: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--accent-soft);
  text-shadow: 0 8px 18px rgba(255, 157, 43, 0.12);
}

.intro-newbie-card {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.18), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255, 84, 95, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(34, 28, 26, 0.95), rgba(13, 18, 29, 0.88));
}

.intro-newbie-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.intro-newbie-stat {
  padding: 12px 14px;
}

.intro-newbie-stat:nth-child(1),
.intro-newbie-stat:nth-child(5) {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(48, 35, 26, 0.9), rgba(17, 21, 31, 0.94));
}

.intro-newbie-stat:nth-child(2),
.intro-newbie-stat:nth-child(6) {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(24, 43, 52, 0.9), rgba(13, 20, 31, 0.94));
}

.intro-newbie-stat:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(121, 242, 171, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(24, 42, 35, 0.9), rgba(13, 20, 31, 0.94));
}

.intro-newbie-stat:nth-child(4) {
  background:
    radial-gradient(circle at top right, rgba(255, 84, 95, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(43, 28, 35, 0.9), rgba(13, 20, 31, 0.94));
}

.intro-newbie-stat strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #e7c27f;
  text-shadow: 0 6px 14px rgba(255, 157, 43, 0.06);
}

body.is-compact-desktop .section {
  padding: 80px 0;
}

body.is-compact-desktop .section-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

body.is-compact-desktop .section-description,
body.is-compact-desktop .intro-copy p,
body.is-compact-desktop .path-card p,
body.is-compact-desktop .map-card p,
body.is-compact-desktop .step-card p,
body.is-compact-desktop .news-card p,
body.is-compact-desktop .community-link-card span,
body.is-compact-desktop .faq-item p,
body.is-compact-desktop .panel-text,
body.is-compact-desktop .panel-note,
body.is-compact-desktop .stat-card span {
  font-size: 0.94rem;
}

body.is-compact-desktop .intro-card,
body.is-compact-desktop .side-card,
body.is-compact-desktop .news-card {
  padding: 20px;
}

body.is-compact-desktop .intro-summary-card {
  padding: 16px;
}

body.is-compact-desktop .intro-summary-card strong {
  font-size: 1.34rem;
}

body.is-compact-desktop .intro-rate-card {
  min-height: 110px;
  padding: 15px;
}

body.is-compact-desktop .intro-rate-card strong {
  font-size: 1.88rem;
}

body.is-compact-desktop .intro-panel-entry {
  padding: 14px;
}

body.is-compact-desktop .intro-panel-entry strong,
body.is-compact-desktop .intro-panel-detail-item strong,
body.is-compact-desktop .intro-newbie-stat strong {
  font-size: 0.98rem;
}

body.is-compact-desktop .intro-panel-detail-shell {
  padding: 14px;
}

body.is-compact-desktop .intro-panel-detail-title {
  font-size: 1.3rem;
}

body.is-compact-desktop .panel-kicker {
  font-size: 0.76rem;
}

body.is-compact-desktop .path-card,
body.is-compact-desktop .map-card,
body.is-compact-desktop .step-card {
  padding: 18px;
}

body.is-compact-desktop .training {
  padding-top: 74px;
}

body.is-compact-desktop .training-layout {
  gap: 20px;
}

body.is-compact-desktop .training-main {
  padding: 22px;
}

body.is-compact-desktop .training-pin-grid {
  gap: 12px;
}

body.is-compact-desktop .training-pin {
  padding: 14px;
}

body.is-compact-desktop .training-level-toggle {
  padding: 14px;
}

body.is-compact-desktop .training-level-expand {
  padding: 0 14px 14px;
}

body.is-compact-desktop .training-pin strong {
  font-size: 1.16rem;
}

body.is-compact-desktop .training-level-head h3 {
  font-size: 1.5rem;
}

body.is-compact-desktop .training-level-summary p,
body.is-compact-desktop .training-level-expand p,
body.is-compact-desktop .training-pin p {
  font-size: 0.88rem;
}

body.is-compact-desktop .training-level-detail-grid {
  gap: 8px;
}

body.is-compact-desktop .training-level-detail,
body.is-compact-desktop .training-level-mountline {
  padding: 12px 13px;
}

body.is-compact-desktop .training-level-detail strong,
body.is-compact-desktop .training-level-mountline strong {
  font-size: 0.86rem;
}

body.is-compact-desktop .path-card h3,
body.is-compact-desktop .map-card h3,
body.is-compact-desktop .step-card h3,
body.is-compact-desktop .news-card h3,
body.is-compact-desktop .side-card-title {
  font-size: 1.62rem;
}

body.is-compact-desktop .intro-side-title {
  font-size: 1.34rem;
}

body.is-compact-desktop .bullet-list li {
  font-size: 0.94rem;
}

body.is-compact-desktop .stat-card {
  padding: 24px 16px;
}

body.is-compact-desktop .stat-card strong {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
}

body.is-laptop-compact {
  --max-width: 950px;
}

body.is-laptop-compact .stats-strip {
  zoom: 0.84;
}

body.is-laptop-compact .section {
  padding: 64px 0;
}

body.is-laptop-compact .section-heading {
  max-width: 600px;
  margin-bottom: 24px;
}

body.is-laptop-compact .section-title {
  font-size: clamp(1.82rem, 3.6vw, 3.2rem);
}

body.is-laptop-compact .section-description,
body.is-laptop-compact .intro-copy p,
body.is-laptop-compact .path-card p,
body.is-laptop-compact .map-card p,
body.is-laptop-compact .step-card p,
body.is-laptop-compact .news-card p,
body.is-laptop-compact .community-link-card span,
body.is-laptop-compact .faq-item p,
body.is-laptop-compact .panel-text,
body.is-laptop-compact .panel-note,
body.is-laptop-compact .stat-card span,
body.is-laptop-compact .bullet-list li {
  font-size: 0.86rem;
  line-height: 1.45;
}

body.is-laptop-compact .intro-layout,
body.is-laptop-compact .community {
  gap: 20px;
}

body.is-laptop-compact .intro-card,
body.is-laptop-compact .side-card,
body.is-laptop-compact .news-card {
  padding: 16px;
}

body.is-laptop-compact .intro-card-top {
  margin-bottom: 18px;
  font-size: 0.9rem;
}

body.is-laptop-compact .intro-summary-grid,
body.is-laptop-compact .intro-rates-grid,
body.is-laptop-compact .intro-panel-detail-grid,
body.is-laptop-compact .intro-newbie-stats {
  gap: 10px;
}

body.is-laptop-compact .intro-summary-card,
body.is-laptop-compact .intro-rate-card,
body.is-laptop-compact .intro-newbie-stat,
body.is-laptop-compact .intro-panel-entry,
body.is-laptop-compact .intro-panel-detail-item {
  padding: 13px 14px;
}

body.is-laptop-compact .intro-summary-card strong {
  font-size: 1.08rem;
}

body.is-laptop-compact .intro-rate-card {
  min-height: 90px;
}

body.is-laptop-compact .intro-rate-card strong {
  font-size: 1.58rem;
}

body.is-laptop-compact .intro-rate-card small {
  font-size: 0.82rem;
  line-height: 1.28;
}

body.is-laptop-compact .intro-panel-entry span,
body.is-laptop-compact .intro-panel-detail-item span,
body.is-laptop-compact .intro-summary-card span,
body.is-laptop-compact .intro-rate-card span,
body.is-laptop-compact .intro-newbie-stat span,
body.is-laptop-compact .panel-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

body.is-laptop-compact .intro-panel-entry strong,
body.is-laptop-compact .intro-panel-detail-item strong,
body.is-laptop-compact .intro-newbie-stat strong {
  font-size: 0.86rem;
  line-height: 1.15;
}

body.is-laptop-compact .intro-panel-detail-shell {
  padding: 12px;
}

body.is-laptop-compact .intro-panel-detail-title {
  font-size: 1.08rem;
  line-height: 1.04;
}

body.is-laptop-compact .intro-side-title,
body.is-laptop-compact .side-card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.06;
}

body.is-laptop-compact .path-card,
body.is-laptop-compact .map-card,
body.is-laptop-compact .step-card {
  padding: 14px;
  min-height: auto;
}

body.is-laptop-compact .training {
  padding-top: 62px;
}

body.is-laptop-compact .training-layout,
body.is-laptop-compact .community-grid {
  gap: 18px;
}

body.is-laptop-compact .training-main {
  padding: 18px;
}

body.is-laptop-compact .training-pin-grid {
  gap: 10px;
  margin-top: 20px;
}

body.is-laptop-compact .training-pin {
  padding: 12px;
  min-height: auto;
}

body.is-laptop-compact .training-level-toggle {
  padding: 12px;
}

body.is-laptop-compact .training-level-expand {
  padding: 0 12px 12px;
}

body.is-laptop-compact .training-pin strong {
  font-size: 1rem;
}

body.is-laptop-compact .training-pin p,
body.is-laptop-compact .training-level-summary p,
body.is-laptop-compact .training-level-expand p {
  font-size: 0.82rem;
  line-height: 1.38;
}

body.is-laptop-compact .training-level-rank {
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
}

body.is-laptop-compact .training-level-head h3 {
  font-size: 1.26rem;
}

body.is-laptop-compact .training-level-highlight {
  font-size: 0.82rem;
}

body.is-laptop-compact .training-level-head small,
body.is-laptop-compact .training-level-tag {
  font-size: 0.74rem;
}

body.is-laptop-compact .training-level-detail-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.is-laptop-compact .training-level-detail,
body.is-laptop-compact .training-level-mountline {
  padding: 11px 12px;
}

body.is-laptop-compact .training-level-detail span,
body.is-laptop-compact .training-level-mountline span {
  font-size: 0.66rem;
}

body.is-laptop-compact .training-level-detail strong,
body.is-laptop-compact .training-level-mountline strong {
  font-size: 0.78rem;
}

body.is-laptop-compact .path-card h3,
body.is-laptop-compact .map-card h3,
body.is-laptop-compact .step-card h3,
body.is-laptop-compact .news-card h3 {
  font-size: 1.34rem;
}

body.is-laptop-compact .news-card,
body.is-laptop-compact .community-link-card {
  gap: 6px;
}

body.is-laptop-compact .faq-item summary {
  padding: 12px;
  font-size: 0.9rem;
}

body.is-laptop-compact .faq-item p {
  padding: 0 12px 12px;
}

body.is-laptop-compact .stat-card {
  padding: 18px 14px;
}

body.is-laptop-compact .stat-card strong {
  font-size: clamp(1.68rem, 2.2vw, 2.28rem);
}

.bullet-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.12rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), var(--accent-soft));
  box-shadow: 0 0 18px rgba(255, 157, 43, 0.32);
}

.mini-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-feature-card {
  padding: 22px;
  border-radius: var(--radius-md);
}

.mini-feature-card h3,
.community-link-card strong {
  margin: 0 0 10px;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.mini-feature-card p,
.community-link-card span,
.faq-item p {
  margin: 0;
}

.path-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.path-card,
.map-card,
.step-card {
  min-height: 320px;
  border-radius: 24px;
  padding: 24px;
}

.path-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.08) 0%, rgba(8, 11, 18, 0.92) 88%),
    radial-gradient(circle at top, rgba(55, 215, 255, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(22, 35, 48, 0.94), rgba(11, 17, 28, 0.96));
}

.path-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.08) 0%, rgba(8, 11, 18, 0.92) 88%),
    radial-gradient(circle at top, rgba(255, 180, 79, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(38, 31, 24, 0.94), rgba(13, 18, 29, 0.96));
}

.path-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.08) 0%, rgba(8, 11, 18, 0.92) 88%),
    radial-gradient(circle at top, rgba(121, 242, 171, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(20, 35, 30, 0.94), rgba(12, 18, 29, 0.96));
}

.path-tag,
.map-status,
.news-label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.path-ghost {
  position: absolute;
  top: 24px;
  right: 20px;
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 10vw, 6.2rem);
  color: rgba(255, 255, 255, 0.06);
}

.path-card h3,
.map-card h3,
.step-card h3,
.news-card h3 {
  margin: 14px 0 10px;
  font-size: 2.15rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.path-card p,
.map-card p,
.step-card p,
.news-card p {
  margin: 0;
}

.training {
  padding-top: 94px;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.training-main {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at top left, rgba(255, 180, 79, 0.2), transparent 34%),
    radial-gradient(circle at bottom right, rgba(55, 215, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(23, 33, 49, 0.96), rgba(14, 20, 31, 0.9));
  box-shadow: var(--shadow);
}

.training-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 180, 79, 0.4), rgba(55, 215, 255, 0.18), rgba(255, 255, 255, 0.04));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.training-title {
  max-width: 11ch;
}

.training-description {
  max-width: 780px;
}

.training-pin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.training-pin {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 27, 40, 0.92), rgba(12, 18, 29, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.training-pin-1 {
  background:
    radial-gradient(circle at top left, rgba(255, 180, 79, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(35, 31, 26, 0.92), rgba(20, 21, 27, 0.94));
}

.training-pin-2 {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(19, 32, 39, 0.92), rgba(16, 23, 31, 0.94));
}

.training-pin-3 {
  background:
    radial-gradient(circle at top left, rgba(122, 104, 255, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(26, 25, 40, 0.92), rgba(16, 20, 31, 0.94));
}

.training-pin span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.training-pin strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
}

.training-pin p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.training-ladder {
  display: grid;
  gap: 14px;
  align-content: start;
}

.training-level-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(21, 28, 41, 0.94), rgba(12, 18, 29, 0.94));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.training-level-card.is-active {
  border-color: rgba(255, 189, 102, 0.9);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 189, 102, 0.34),
    0 0 22px rgba(255, 157, 43, 0.08);
}

.training-level-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.training-level-toggle-main {
  min-width: 0;
}

.training-level-summary {
  display: grid;
  gap: 6px;
}

.training-level-highlight {
  display: block;
  color: #ffd391;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-level-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.training-level-chevron {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.training-level-card.is-active .training-level-chevron {
  transform: rotate(225deg);
}

.training-level-expand {
  display: grid;
  gap: 16px;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.training-level-expand[hidden] {
  display: none;
}

.training-level-ember {
  background:
    radial-gradient(circle at top left, rgba(255, 180, 79, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(39, 31, 24, 0.95), rgba(18, 20, 28, 0.94));
}

.training-level-jade {
  background:
    radial-gradient(circle at top left, rgba(45, 207, 116, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(19, 36, 28, 0.95), rgba(13, 20, 29, 0.94));
}

.training-level-azure {
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 34, 42, 0.95), rgba(12, 18, 29, 0.94));
}

.training-level-violet {
  background:
    radial-gradient(circle at top left, rgba(138, 112, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(28, 25, 45, 0.95), rgba(14, 18, 30, 0.94));
}

.training-level-solar {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(40, 34, 23, 0.95), rgba(16, 20, 30, 0.94));
}

.training-level-mark {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.training-level-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: "Anton", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.training-level-head h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 1.84rem;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.training-level-head small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.training-level-expand p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.45;
}

.training-level-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.training-level-detail {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.training-level-detail span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.training-level-detail strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.22;
  font-weight: 700;
}

.training-level-mountline {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.training-level-mountline span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.training-level-mountline strong {
  display: block;
  color: #ffd391;
  font-size: 1.02rem;
  line-height: 1.24;
  font-weight: 800;
}

.training-level-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.training-level-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 189, 102, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 189, 102, 0.12), rgba(255, 189, 102, 0.05)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 189, 102, 0.12);
  color: #ffe1ad;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-level-ember .training-level-detail,
.training-level-ember .training-level-mountline {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

.training-level-jade .training-level-detail,
.training-level-jade .training-level-mountline {
  background:
    radial-gradient(circle at top right, rgba(45, 207, 116, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

.training-level-azure .training-level-detail,
.training-level-azure .training-level-mountline {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

.training-level-violet .training-level-detail,
.training-level-violet .training-level-mountline {
  background:
    radial-gradient(circle at top right, rgba(169, 129, 255, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

.training-level-solar .training-level-detail,
.training-level-solar .training-level-mountline {
  background:
    radial-gradient(circle at top right, rgba(255, 214, 102, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.05);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-showcase {
  position: relative;
}

.gallery-showcase .section-title {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
}

.gallery-shell {
  position: relative;
  padding: 28px 28px 72px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 157, 43, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(19, 28, 42, 0.96), rgba(10, 15, 25, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(55, 215, 255, 0.34), rgba(255, 157, 43, 0.22), rgba(255, 255, 255, 0.04));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.gallery-stage {
  position: relative;
  min-height: clamp(360px, 44vw, 640px);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.88), rgba(10, 14, 22, 0.96)),
    radial-gradient(circle at center, rgba(55, 215, 255, 0.08), transparent 50%);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  cursor: zoom-in;
  pointer-events: none;
  background: transparent;
  transform: scale(1.03);
  transition:
    opacity 320ms ease,
    transform 320ms ease,
    visibility 320ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: calc(50% - 16px);
  z-index: 2;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-nav-prev {
  left: 18px;
}

.gallery-nav-next {
  right: 18px;
}

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.24);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.gallery-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 18px rgba(255, 157, 43, 0.22);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 15, 0.82);
  backdrop-filter: blur(16px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1240px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.gallery-lightbox-figure {
  margin: 0;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 157, 43, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(16, 24, 37, 0.98), rgba(7, 12, 20, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.gallery-lightbox-image {
  width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 20px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.22);
}

.gallery-lightbox-caption[hidden] {
  display: none;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(9, 13, 21, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  transform: none;
}

.gallery-lightbox-close:hover {
  transform: scale(1.05);
}

.gallery-lightbox-nav:hover {
  transform: scale(1.05);
}

body.is-compact-desktop .gallery-shell {
  padding: 24px 24px 66px;
}

body.is-compact-desktop .gallery-stage {
  min-height: clamp(330px, 40vw, 560px);
}

body.is-laptop-compact .gallery-shell {
  padding: 20px 20px 60px;
}

body.is-laptop-compact .gallery-stage {
  min-height: clamp(280px, 34vw, 460px);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.map-card {
  min-height: 260px;
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(20, 27, 38, 0.92), rgba(8, 11, 18, 0.94));
}

.map-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.map-role {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  font-weight: 700;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(29, 35, 46, 0.95), rgba(12, 17, 28, 0.96));
}

.step-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(255, 84, 95, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(36, 24, 34, 0.95), rgba(13, 17, 28, 0.96));
}

.step-card:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(21, 34, 41, 0.95), rgba(12, 17, 28, 0.96));
}

.step-index {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 157, 43, 0.08);
  border: 1px solid rgba(255, 157, 43, 0.24);
  font-family: "Anton", sans-serif;
  font-size: 2rem;
}

.step-link {
  margin-top: auto;
  align-self: center;
  width: min(100%, 260px);
  min-height: 62px;
  padding: 16px 30px;
  font-size: 1.08rem;
  box-sizing: border-box;
}

.step-card-has-video {
  min-height: 380px;
}

.step-video-shell {
  margin-top: auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top left, rgba(55, 215, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(10, 15, 24, 0.96), rgba(6, 10, 18, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(55, 215, 255, 0.08),
    0 22px 38px rgba(3, 8, 16, 0.36);
}

.step-video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #03070d;
}

.community {
  display: block;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.side-card {
  padding: 26px;
}

.side-card-title {
  margin: 4px 0 20px;
  font-size: 2.1rem;
  text-transform: uppercase;
}

.community-links,
.faq-list {
  display: grid;
  gap: 14px;
}

.community-link-card,
.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(23, 31, 45, 0.94), rgba(13, 19, 30, 0.94));
}

.community-link-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.community-link-card:nth-child(1) {
  background:
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(28, 34, 54, 0.96), rgba(14, 20, 31, 0.96));
}

.community-link-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(21, 34, 43, 0.96), rgba(13, 19, 30, 0.96));
}

.community-link-card:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(255, 84, 95, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(37, 25, 34, 0.96), rgba(13, 19, 30, 0.96));
}

.faq-item {
  overflow: hidden;
}

.faq-item:nth-child(odd) {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 79, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(27, 31, 42, 0.96), rgba(13, 19, 30, 0.96));
}

.faq-item:nth-child(even) {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(21, 30, 41, 0.96), rgba(13, 19, 30, 0.96));
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px;
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 18px 18px;
}

.faq-item-body {
  padding: 0 18px 18px;
}

.faq-item-body p {
  padding: 0;
}

.faq-item-danger {
  background:
    radial-gradient(circle at top right, rgba(255, 84, 95, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(44, 24, 30, 0.97), rgba(16, 19, 30, 0.97));
}

.faq-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 89, 0.5);
  background:
    radial-gradient(circle at top right, rgba(255, 230, 170, 0.3), transparent 40%),
    linear-gradient(135deg, rgba(255, 201, 106, 0.98), rgba(255, 165, 49, 0.96));
  color: #17120c;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(255, 168, 53, 0.22);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.faq-item-cta:hover,
.faq-item-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  border-color: rgba(255, 219, 139, 0.72);
  box-shadow: 0 18px 34px rgba(255, 168, 53, 0.28);
}

.faq-item-cta-arrow {
  display: inline-block;
  color: inherit;
  animation: faqArrowNudge 1s ease-in-out infinite;
}

.faq-item-cta-danger {
  border-color: rgba(255, 190, 89, 0.5);
  background:
    radial-gradient(circle at top right, rgba(255, 230, 170, 0.3), transparent 40%),
    linear-gradient(135deg, rgba(255, 201, 106, 0.98), rgba(255, 165, 49, 0.96));
  color: #17120c;
  box-shadow: 0 14px 28px rgba(255, 168, 53, 0.22);
}

.faq-item-cta-danger:hover,
.faq-item-cta-danger:focus-visible {
  border-color: rgba(255, 219, 139, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 240, 196, 0.34), transparent 46%),
    linear-gradient(135deg, rgba(255, 208, 118, 0.98), rgba(255, 174, 60, 0.98));
}

@keyframes faqArrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.site-footer {
  padding: 36px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 8, 14, 0.72);
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  margin: 0 0 8px;
  font-size: 2rem;
  text-transform: uppercase;
}

.footer-text,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .intro-layout,
  .training-layout,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .intro-rates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-panel-detail-head,
  .intro-panel-detail-grid,
  .intro-newbie-stats {
    grid-template-columns: 1fr;
  }

  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-pin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1500px) {
  .hero-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100%, 760px);
    max-width: 760px;
    justify-self: center;
  }

  .hero-media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: min(100%, 680px);
    justify-self: center;
  }

  .hero-watermark {
    left: 50%;
    transform: translateX(-50%) translateY(18px);
  }
}

@media (max-width: 1180px) {
  :root {
    --anchor-offset: 122px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto auto;
    padding: 14px 20px;
    min-height: 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    width: auto;
    max-width: none;
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(10, 14, 22, 0.96);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .site-nav a.nav-pill {
    text-align: center;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-cta {
    display: none;
    position: static;
    transform: none;
  }

  .header-auth {
    display: none;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 760px;
    justify-items: center;
    text-align: center;
  }

  .hero-media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    justify-self: center;
    width: min(100%, 620px);
  }

  .hero-edge-label {
    display: none;
  }

  .stats-grid,
  .path-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-rates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-pin-grid {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    padding: 22px 22px 62px;
  }

  .gallery-stage {
    min-height: clamp(280px, 46vw, 460px);
  }

  .gallery-lightbox-dialog {
    width: min(calc(100% - 28px), 980px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 80px 0 28px;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .gallery-lightbox-prev {
    left: 12px;
  }

  .gallery-lightbox-next {
    right: 12px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand-copy strong {
    font-size: 1.5rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }

  .training-main {
    padding: 22px;
  }

  .training-level-mark {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .training-level-rank {
    width: 48px;
    height: 48px;
    font-size: 1.36rem;
  }

  .training-level-head h3 {
    font-size: 1.62rem;
  }

  .training-level-summary p,
  .training-level-expand p,
  .training-pin p {
    font-size: 0.96rem;
  }

  .gallery-shell {
    padding: 16px 16px 54px;
    border-radius: 24px;
  }

  .gallery-stage {
    min-height: 220px;
    border-radius: 18px;
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 1.54rem;
  }

  .gallery-nav-prev {
    left: 10px;
  }

  .gallery-nav-next {
    right: 10px;
  }

  .gallery-dots {
    bottom: 18px;
    gap: 10px;
  }

  .gallery-dot.is-active {
    width: 28px;
  }

  .gallery-lightbox-dialog {
    width: min(calc(100% - 20px), 100%);
    padding: 72px 0 18px;
  }

  .gallery-lightbox-figure {
    padding: 12px;
    border-radius: 22px;
  }

  .gallery-lightbox-image {
    max-height: calc(100vh - 160px);
    border-radius: 16px;
  }

  .gallery-lightbox-nav,
  .gallery-lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .hero-inner {
    padding-top: 130px;
    padding-bottom: 58px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 14.2vw, 4.8rem);
    line-height: 0.96;
  }

  .hero-switch {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.98rem;
    transform: translateY(-18px);
  }

  .hero-switch:hover,
  .hero-switch:focus-visible {
    transform: translateY(-20px);
  }

  .hero-caption {
    font-size: 0.86rem;
    letter-spacing: 0.18em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-actions-lower {
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }

  .button,
  .step-link {
    width: auto;
    min-width: min(100%, 220px);
    max-width: min(100%, 280px);
    padding-inline: 20px;
  }

  .hero-actions .button {
    width: min(100%, 280px);
  }

  .hero-actions-lower .button-launcher,
  .hero-actions-guidehub .button-guidehub {
    width: min(100%, 320px);
    min-width: 0;
  }

  .hero-media-button {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .hero-watermark {
    width: 210px;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    opacity: 0.16;
  }

  .stats-grid,
  .path-grid,
  .map-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .intro-panel-grid {
    grid-template-columns: 1fr;
  }

  .intro-summary-grid,
  .intro-rates-grid,
  .intro-newbie-stats {
    grid-template-columns: 1fr;
  }

  .intro-panel-detail-head,
  .intro-panel-detail-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stat-card:first-child {
    border-top: 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .section {
    padding: 84px 0;
  }

  .path-card,
  .map-card,
  .step-card {
    min-height: auto;
  }
}

/* Repair Guide Page */
.repair-guide-page {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 166, 0, 0.08), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(53, 209, 255, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(14, 18, 28, 0.92), rgba(9, 13, 21, 0.98));
}

.repair-guide-page [id] {
  scroll-margin-top: var(--anchor-offset);
}

.repair-guide {
  display: grid;
  gap: 34px;
}

.repair-guide-overview {
  display: grid;
  gap: 28px;
}

.repair-overview-grid {
  align-items: start;
}

.repair-overview-intro {
  min-height: 100%;
}

.repair-faq-list .faq-item-body .bullet-list {
  margin: 14px 0 18px;
}

.repair-toc {
  display: grid;
  gap: 18px;
}

.repair-toc-group {
  position: relative;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 27, 40, 0.86), rgba(13, 18, 29, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.repair-toc-title {
  margin: 0;
  color: #fff6e9;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.44rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.repair-toc-title a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.repair-toc-title a:hover,
.repair-toc-title a:focus-visible {
  opacity: 0.94;
  transform: translateX(2px);
}

.repair-toc-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #ffd27d;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.78;
}

.repair-toc-list li {
  position: relative;
  padding-left: 18px;
  color: #ffd88a;
  font-weight: 700;
}

.repair-toc-list a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.repair-toc-list a:hover,
.repair-toc-list a:focus-visible {
  opacity: 0.94;
  transform: translateX(2px);
}

.repair-toc-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd978, #ff9d2b);
  box-shadow: 0 0 10px rgba(255, 176, 79, 0.28);
}

.repair-toc-list li + li {
  margin-top: 4px;
}

.repair-toc-group-danger {
  border-color: rgba(255, 99, 110, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 118, 129, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(36, 22, 30, 0.92), rgba(13, 18, 29, 0.95));
}

.repair-toc-group-danger .repair-toc-list li {
  color: #ffd493;
}

.repair-toc-group-danger .repair-toc-list li::before {
  background: linear-gradient(135deg, #ffbb64, #ff5c68);
  box-shadow: 0 0 14px rgba(255, 103, 115, 0.34);
}

.repair-toc-group-cyan {
  border-color: rgba(83, 211, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(83, 211, 255, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(14, 33, 42, 0.92), rgba(13, 18, 29, 0.95));
}

.repair-toc-group-cyan .repair-toc-list li {
  color: #ffd99a;
}

.repair-toc-group-cyan .repair-toc-list li::before {
  background: linear-gradient(135deg, #6fe5ff, #ffbc57);
  box-shadow: 0 0 14px rgba(98, 223, 255, 0.34);
}

.repair-toc-group-amber {
  border-color: rgba(255, 177, 82, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 177, 82, 0.17), transparent 42%),
    linear-gradient(180deg, rgba(41, 31, 21, 0.92), rgba(13, 18, 29, 0.95));
}

.repair-toc-group-amber .repair-toc-list li {
  color: #ffe0ad;
}

.repair-toc-group-amber .repair-toc-list li::before {
  background: linear-gradient(135deg, #ffd67e, #ffae45);
  box-shadow: 0 0 14px rgba(255, 183, 92, 0.34);
}

.repair-toc-group-violet {
  border-color: rgba(154, 118, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(154, 118, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(28, 24, 46, 0.92), rgba(13, 18, 29, 0.95));
}

.repair-toc-group-violet .repair-toc-list li {
  color: #ffe1ab;
}

.repair-toc-group-violet .repair-toc-list li::before {
  background: linear-gradient(135deg, #bda8ff, #ffbc64);
  box-shadow: 0 0 14px rgba(165, 126, 255, 0.34);
}

.repair-catalog {
  display: grid;
  gap: 16px;
}

.repair-catalog-group {
  padding: 20px 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 25, 37, 0.92), rgba(11, 16, 27, 0.95));
}

.repair-catalog-group-danger {
  border-color: rgba(255, 99, 110, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 125, 135, 0.2), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 179, 86, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(33, 28, 34, 0.94), rgba(14, 18, 28, 0.96));
}

.repair-catalog-group-cyan {
  border-color: rgba(83, 211, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(83, 211, 255, 0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 187, 91, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(18, 35, 46, 0.94), rgba(12, 18, 29, 0.96));
}

.repair-catalog-group-amber {
  border-color: rgba(255, 177, 82, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 177, 82, 0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 220, 114, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(43, 35, 28, 0.94), rgba(15, 18, 28, 0.96));
}

.repair-catalog-group-violet {
  border-color: rgba(154, 118, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(154, 118, 255, 0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 198, 108, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(31, 28, 47, 0.94), rgba(13, 17, 28, 0.96));
}

.repair-catalog-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.repair-catalog-group-header {
  margin-bottom: 12px;
}

.repair-catalog-title {
  margin: 0;
  color: #fff6e9;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1.12;
}

.repair-catalog-text {
  margin: 10px 0 0;
  color: rgba(214, 222, 240, 0.84);
  font-size: 1rem;
  line-height: 1.78;
}

.repair-catalog-items {
  display: grid;
  gap: 12px;
}

.repair-catalog-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-left: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 24, 36, 0.8);
}

.repair-catalog-group-danger .repair-catalog-item {
  border-color: rgba(255, 109, 121, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 109, 121, 0.11), transparent 34%),
    rgba(18, 24, 36, 0.84);
}

.repair-catalog-group-cyan .repair-catalog-item {
  border-color: rgba(93, 221, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(93, 221, 255, 0.1), transparent 34%),
    rgba(18, 24, 36, 0.84);
}

.repair-catalog-group-amber .repair-catalog-item {
  border-color: rgba(255, 184, 86, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 86, 0.1), transparent 34%),
    rgba(18, 24, 36, 0.84);
}

.repair-catalog-group-violet .repair-catalog-item {
  border-color: rgba(175, 137, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(175, 137, 255, 0.1), transparent 34%),
    rgba(18, 24, 36, 0.84);
}

.repair-catalog-item-title {
  margin: 0;
  color: #ffd27b;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.repair-catalog-item-text {
  margin: 6px 0 0;
  color: rgba(208, 218, 234, 0.8);
  font-size: 0.96rem;
  line-height: 1.72;
}

.repair-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.repair-hero-description {
  max-width: 68ch;
}

.repair-method-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.repair-method-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 26, 38, 0.88);
  color: rgba(239, 244, 255, 0.9);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.repair-method-chip:hover,
.repair-method-chip:focus-visible,
.repair-method-chip.is-primary {
  transform: translateY(-2px);
  border-color: rgba(255, 171, 62, 0.68);
  background: linear-gradient(135deg, rgba(52, 42, 30, 0.95), rgba(30, 28, 34, 0.92));
}

.repair-video-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 173, 69, 0.18);
  background: linear-gradient(180deg, rgba(21, 28, 42, 0.92), rgba(12, 18, 30, 0.95));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.repair-side-note {
  margin: 14px 0 18px;
  color: rgba(214, 222, 240, 0.8);
  font-size: 1.02rem;
  line-height: 1.72;
}

.repair-video-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(86, 211, 255, 0.24);
  background: rgba(5, 9, 16, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.repair-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.repair-step-stack {
  display: grid;
  gap: 24px;
}

.repair-step-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(19, 24, 36, 0.94), rgba(11, 16, 27, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.repair-step-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.repair-step-index {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  border: 1px solid rgba(255, 174, 71, 0.44);
  background: linear-gradient(135deg, rgba(61, 42, 25, 0.96), rgba(42, 35, 28, 0.9));
  color: var(--brand);
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.repair-step-title {
  margin: 8px 0 0;
  color: #f6f2e8;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.repair-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
  gap: 26px;
  align-items: start;
}

.repair-step-grid-media-first {
  grid-template-columns: minmax(320px, 0.98fr) minmax(0, 1fr);
}

.repair-step-copy {
  display: grid;
  gap: 18px;
}

.repair-step-lead {
  margin: 0;
  color: rgba(225, 232, 246, 0.92);
  font-size: 1.08rem;
  line-height: 1.86;
}

.repair-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.repair-action-row .button {
  min-width: 220px;
}

.repair-callout-group {
  display: grid;
  gap: 14px;
}

.repair-callout {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(25, 32, 46, 0.86);
}

.repair-callout strong,
.repair-command-item span,
.repair-command-title,
.repair-tip-card-title {
  display: block;
  margin-bottom: 8px;
  color: #fff5dd;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-callout p,
.repair-command-card p,
.repair-tip-card .bullet-list {
  margin: 0;
  color: rgba(214, 222, 240, 0.84);
  font-size: 0.98rem;
  line-height: 1.76;
}

.repair-callout-danger {
  border-color: rgba(255, 98, 98, 0.26);
  background: linear-gradient(135deg, rgba(72, 28, 33, 0.84), rgba(27, 24, 34, 0.94));
}

.repair-callout-success {
  border-color: rgba(86, 221, 136, 0.28);
  background: linear-gradient(135deg, rgba(26, 64, 48, 0.84), rgba(21, 29, 36, 0.94));
}

.repair-callout-warn,
.repair-command-card {
  border-color: rgba(255, 170, 70, 0.24);
  background: linear-gradient(135deg, rgba(74, 54, 33, 0.84), rgba(29, 27, 34, 0.94));
}

.repair-step-media {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(95, 211, 255, 0.24);
  background: rgba(9, 13, 21, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.repair-step-media img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.repair-step-media.is-fit {
  padding: 14px;
}

.repair-step-media.is-fit img {
  border-radius: 18px;
}

.repair-step-media-zoomable {
  position: relative;
}

.repair-step-media-zoomable::after {
  content: "Phóng lớn";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f7f3eb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.repair-inline-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(83, 211, 255, 0.2);
  background: rgba(9, 13, 21, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.repair-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.repair-mini-heading {
  margin: 0;
  color: #ffcf7c;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-code-stack,
.repair-download-stack {
  display: grid;
  gap: 14px;
}

.repair-code-card,
.repair-download-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 196, 103, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(25, 30, 43, 0.94), rgba(12, 16, 27, 0.98));
}

.repair-code-card.is-cool {
  background:
    radial-gradient(circle at top right, rgba(83, 211, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(18, 29, 43, 0.94), rgba(12, 16, 27, 0.98));
}

.repair-code-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.repair-code-card-title,
.repair-download-card-title {
  margin: 0;
  color: #fff4e3;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.repair-code-card-text,
.repair-download-card-text {
  margin: 0 0 12px;
  color: rgba(219, 227, 240, 0.82);
  font-size: 1.06rem;
  line-height: 1.78;
}

.repair-copy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 136px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 177, 82, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 177, 82, 0.18), rgba(255, 157, 43, 0.26));
  color: #fff4df;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.repair-copy-btn:hover,
.repair-copy-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 193, 108, 0.48);
  background: linear-gradient(135deg, rgba(255, 190, 108, 0.26), rgba(255, 157, 43, 0.34));
}

.repair-copy-btn.is-copied {
  border-color: rgba(121, 242, 171, 0.42);
  background: linear-gradient(135deg, rgba(121, 242, 171, 0.2), rgba(45, 207, 116, 0.28));
  color: #f3fff7;
}

.repair-command-box {
  display: block;
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 20, 0.72);
  color: #d7e1ef;
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 0.78rem;
  line-height: 1.62;
  letter-spacing: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.repair-note-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(222, 229, 241, 0.88);
  font-size: 1.06rem;
  line-height: 1.82;
}

.repair-note-list li + li {
  margin-top: 10px;
}

.repair-download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.repair-command-pair {
  display: grid;
  gap: 14px;
}

.repair-command-panel {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 177, 82, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(20, 25, 37, 0.94), rgba(11, 16, 27, 0.98));
}

.repair-command-panel.is-cool {
  background:
    radial-gradient(circle at top right, rgba(83, 211, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(18, 29, 43, 0.94), rgba(11, 16, 27, 0.98));
}

.repair-command-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.repair-command-panel-title {
  margin: 0;
  color: #fff5e8;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.repair-command-panel-note {
  margin: 0 0 12px;
  color: rgba(219, 227, 240, 0.8);
  font-size: 1rem;
  line-height: 1.78;
}

.repair-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(4, 7, 13, 0.86);
  backdrop-filter: blur(10px);
}

.repair-image-viewer[hidden] {
  display: none;
}

.repair-image-viewer-media {
  max-width: min(92vw, 1440px);
  max-height: 86vh;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  background: #0a0f18;
}

.repair-image-viewer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(14, 20, 31, 0.92);
  color: #fff8ee;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.repair-image-viewer-close:hover,
.repair-image-viewer-close:focus-visible {
  border-color: rgba(255, 176, 79, 0.4);
  background: rgba(28, 20, 15, 0.96);
}

.repair-download-button {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px 52px 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 186, 86, 0.38);
  background:
    radial-gradient(circle at top right, rgba(255, 197, 91, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(74, 52, 24, 0.96), rgba(35, 27, 21, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 181, 0.05),
    0 12px 28px rgba(255, 166, 61, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.repair-download-button::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3d7, #ffd58e);
  box-shadow: 0 0 12px rgba(255, 215, 154, 0.18);
}

.repair-download-button::after {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 18px;
  height: 22px;
  background: linear-gradient(180deg, #fff4d8, #ffd893);
  clip-path: polygon(38% 0, 62% 0, 62% 42%, 100% 42%, 50% 100%, 0 42%, 38% 42%);
  filter: drop-shadow(0 0 8px rgba(255, 212, 142, 0.22));
  animation: repairDownloadBounce 1s ease-in-out infinite;
}

.repair-download-button:hover,
.repair-download-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 116, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 215, 0.06),
    0 18px 40px rgba(255, 171, 72, 0.18);
}

.repair-download-button strong {
  display: flex;
  color: #fff6eb;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.repair-download-button strong::after {
  content: "⬇";
  display: inline-block;
  color: #ffe0a7;
  font-size: 1rem;
  line-height: 1;
  animation: repairDownloadBounce 1s ease-in-out infinite;
}

.repair-download-button span {
  color: rgba(255, 236, 202, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.repair-download-button strong {
  display: block;
}

.repair-download-button strong::after {
  content: none !important;
  display: none !important;
}

@keyframes repairDownloadBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.repair-checklist {
  margin: 0;
  padding-left: 20px;
  color: rgba(226, 233, 246, 0.9);
  font-size: 1rem;
  line-height: 1.86;
}

.repair-checklist li + li {
  margin-top: 6px;
}

.repair-side-stack {
  display: grid;
  gap: 16px;
}

.repair-tip-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(89, 210, 255, 0.18);
  background: rgba(17, 24, 36, 0.9);
}

.repair-tip-card .bullet-list {
  padding-left: 20px;
}

.repair-tip-card-danger {
  border-color: rgba(255, 91, 91, 0.22);
  background: linear-gradient(135deg, rgba(51, 24, 29, 0.92), rgba(21, 20, 31, 0.94));
}

.repair-command-grid {
  display: grid;
  gap: 14px;
}

.repair-command-grid-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.repair-command-item {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(83, 203, 255, 0.2);
  background: linear-gradient(135deg, rgba(21, 46, 62, 0.88), rgba(16, 20, 31, 0.94));
}

.repair-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.repair-command-head > span {
  margin-bottom: 0;
}

.repair-command-copygroup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.repair-command-copy-inline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 182, 83, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 177, 82, 0.16), rgba(255, 157, 43, 0.22));
  color: #fff2d8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.repair-command-copy-inline:hover,
.repair-command-copy-inline:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 199, 112, 0.42);
  background: linear-gradient(135deg, rgba(255, 193, 108, 0.24), rgba(255, 164, 53, 0.32));
}

.repair-command-copy-inline.is-copied {
  border-color: rgba(121, 242, 171, 0.42);
  background: linear-gradient(135deg, rgba(121, 242, 171, 0.2), rgba(45, 207, 116, 0.28));
  color: #f3fff7;
}

.repair-command-disabled {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #ffbf72;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.repair-command-item p {
  margin: 0;
}

.repair-command-item p + p {
  margin-top: 10px;
}

.repair-command-cost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 79, 0.28);
  background: rgba(255, 157, 43, 0.12);
  color: #ffd27e;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-command-item code,
.repair-command-card code,
.repair-callout code {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 12, 19, 0.86);
  color: #9fe8ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

.quest-guide-page .repair-step-stack {
  gap: 22px;
}

.quest-guide-hero {
  align-items: start;
}

.quest-summary-grid {
  display: grid;
  gap: 12px;
}

.quest-summary-card,
.quest-note-card {
  margin: 0;
}

.quest-overview-grid,
.quest-threshold-grid,
.quest-finish-grid {
  display: grid;
  gap: 16px;
}

.quest-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.quest-threshold-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.quest-threshold-grid .repair-callout {
  min-height: 100%;
}

.quest-realm-grid {
  display: grid;
  gap: 18px;
}

.quest-realm-grid .training-level-card {
  border-radius: 26px;
}

.quest-realm-grid .training-level-expand {
  border-top: 0;
  padding-top: 20px;
}

.quest-finish-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quest-finish-card {
  min-height: 100%;
}

body.is-compact-desktop .repair-guide,
body.is-compact-desktop .repair-guide-overview {
  gap: 24px;
}

body.is-compact-desktop .repair-toc {
  gap: 14px;
}

body.is-compact-desktop .repair-toc-group {
  padding: 14px 16px;
  border-radius: 16px;
}

body.is-compact-desktop .repair-toc-title {
  font-size: 1.26rem;
}

body.is-compact-desktop .repair-toc-list {
  font-size: 0.98rem;
  line-height: 1.66;
}

body.is-compact-desktop .repair-catalog-group {
  padding: 18px 18px 20px;
  border-radius: 20px;
}

body.is-compact-desktop .repair-catalog-group-head {
  gap: 14px;
}

body.is-compact-desktop .repair-catalog-title {
  font-size: 1.18rem;
}

body.is-compact-desktop .repair-catalog-text {
  font-size: 0.92rem;
  line-height: 1.68;
}

body.is-compact-desktop .repair-catalog-item {
  margin-left: 16px;
  padding: 14px 16px;
  gap: 14px;
  border-radius: 16px;
}

body.is-compact-desktop .repair-catalog-item-title {
  font-size: 1rem;
}

body.is-compact-desktop .repair-catalog-item-text {
  font-size: 0.88rem;
  line-height: 1.58;
}

body.is-compact-desktop .repair-hero-grid,
body.is-compact-desktop .repair-step-grid,
body.is-compact-desktop .repair-step-grid-media-first {
  gap: 22px;
}

body.is-compact-desktop .repair-video-card,
body.is-compact-desktop .repair-step-card {
  padding: 22px;
  border-radius: 24px;
}

body.is-compact-desktop .repair-step-stack {
  gap: 20px;
}

body.is-compact-desktop .repair-step-head {
  grid-template-columns: 64px 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

body.is-compact-desktop .repair-step-index {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: 1.72rem;
}

body.is-compact-desktop .repair-step-title {
  font-size: clamp(1.86rem, 3vw, 2.84rem);
}

body.is-compact-desktop .repair-step-lead,
body.is-compact-desktop .repair-callout p,
body.is-compact-desktop .repair-command-card p,
body.is-compact-desktop .repair-tip-card .bullet-list,
body.is-compact-desktop .repair-code-card-text,
body.is-compact-desktop .repair-download-card-text,
body.is-compact-desktop .repair-command-panel-note,
body.is-compact-desktop .repair-note-list,
body.is-compact-desktop .repair-checklist,
body.is-compact-desktop .repair-side-note,
body.is-compact-desktop .repair-command-item p {
  font-size: 0.92rem;
  line-height: 1.7;
}

body.is-compact-desktop .repair-callout strong,
body.is-compact-desktop .repair-command-item span,
body.is-compact-desktop .repair-command-title,
body.is-compact-desktop .repair-tip-card-title {
  font-size: 1rem;
}

body.is-compact-desktop .repair-callout,
body.is-compact-desktop .repair-code-card,
body.is-compact-desktop .repair-download-card,
body.is-compact-desktop .repair-command-panel,
body.is-compact-desktop .repair-tip-card,
body.is-compact-desktop .repair-command-item {
  padding: 16px 18px;
  border-radius: 16px;
}

body.is-compact-desktop .repair-code-card-head,
body.is-compact-desktop .repair-command-panel-head {
  margin-bottom: 8px;
}

body.is-compact-desktop .repair-code-card-title,
body.is-compact-desktop .repair-download-card-title,
body.is-compact-desktop .repair-command-panel-title {
  font-size: 1.04rem;
}

body.is-compact-desktop .repair-copy-btn {
  min-width: 124px;
  padding: 9px 14px;
  font-size: 0.82rem;
}

body.is-compact-desktop .repair-command-box {
  padding: 14px 16px;
  font-size: 0.72rem;
  line-height: 1.54;
}

body.is-compact-desktop .repair-download-grid {
  gap: 10px;
}

body.is-compact-desktop .repair-download-button {
  min-height: 86px;
  padding: 14px 48px 14px 14px;
  border-radius: 16px;
}

body.is-compact-desktop .repair-download-button strong {
  font-size: 0.94rem;
}

body.is-compact-desktop .repair-download-button span {
  font-size: 0.84rem;
}

body.is-compact-desktop .repair-command-copy-inline {
  padding: 7px 10px;
  font-size: 0.78rem;
}

body.is-compact-desktop .repair-command-cost {
  margin-top: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

body.is-compact-desktop .repair-command-item code,
body.is-compact-desktop .repair-command-card code,
body.is-compact-desktop .repair-callout code {
  padding: 4px 8px;
  font-size: 0.82rem;
}

body.is-compact-desktop .repair-mini-heading {
  font-size: 0.92rem;
}

body.is-laptop-compact .repair-guide,
body.is-laptop-compact .repair-guide-overview {
  gap: 20px;
}

body.is-laptop-compact .repair-toc {
  gap: 12px;
}

body.is-laptop-compact .repair-toc-group {
  padding: 12px 14px;
  border-radius: 15px;
}

body.is-laptop-compact .repair-toc-title {
  font-size: 1.14rem;
}

body.is-laptop-compact .repair-toc-list {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.58;
}

body.is-laptop-compact .repair-catalog-group {
  padding: 16px 16px 18px;
  border-radius: 18px;
}

body.is-laptop-compact .repair-catalog-group-head {
  gap: 12px;
}

body.is-laptop-compact .repair-catalog-title {
  font-size: 1.08rem;
}

body.is-laptop-compact .repair-catalog-text {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.58;
}

body.is-laptop-compact .repair-catalog-item {
  margin-left: 12px;
  padding: 12px 14px;
  gap: 12px;
  border-radius: 15px;
}

body.is-laptop-compact .repair-catalog-item-title {
  font-size: 0.94rem;
}

body.is-laptop-compact .repair-catalog-item-text {
  font-size: 0.82rem;
  line-height: 1.48;
}

body.is-laptop-compact .repair-hero-grid,
body.is-laptop-compact .repair-step-grid,
body.is-laptop-compact .repair-step-grid-media-first {
  gap: 18px;
}

body.is-laptop-compact .repair-video-card,
body.is-laptop-compact .repair-step-card {
  padding: 18px;
  border-radius: 22px;
}

body.is-laptop-compact .repair-step-stack {
  gap: 18px;
}

body.is-laptop-compact .repair-step-head {
  grid-template-columns: 56px 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

body.is-laptop-compact .repair-step-index {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.56rem;
}

body.is-laptop-compact .repair-step-title {
  font-size: clamp(1.62rem, 2.7vw, 2.42rem);
}

body.is-laptop-compact .repair-step-lead,
body.is-laptop-compact .repair-callout p,
body.is-laptop-compact .repair-command-card p,
body.is-laptop-compact .repair-tip-card .bullet-list,
body.is-laptop-compact .repair-code-card-text,
body.is-laptop-compact .repair-download-card-text,
body.is-laptop-compact .repair-command-panel-note,
body.is-laptop-compact .repair-note-list,
body.is-laptop-compact .repair-checklist,
body.is-laptop-compact .repair-side-note,
body.is-laptop-compact .repair-command-item p {
  font-size: 0.86rem;
  line-height: 1.62;
}

body.is-laptop-compact .repair-callout strong,
body.is-laptop-compact .repair-command-item span,
body.is-laptop-compact .repair-command-title,
body.is-laptop-compact .repair-tip-card-title {
  font-size: 0.94rem;
  margin-bottom: 6px;
}

body.is-laptop-compact .repair-callout,
body.is-laptop-compact .repair-code-card,
body.is-laptop-compact .repair-download-card,
body.is-laptop-compact .repair-command-panel,
body.is-laptop-compact .repair-tip-card,
body.is-laptop-compact .repair-command-item {
  padding: 14px 16px;
  border-radius: 15px;
}

body.is-laptop-compact .repair-code-card-title,
body.is-laptop-compact .repair-download-card-title,
body.is-laptop-compact .repair-command-panel-title {
  font-size: 0.96rem;
}

body.is-laptop-compact .repair-copy-btn {
  min-width: 116px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

body.is-laptop-compact .repair-command-box {
  padding: 12px 14px;
  font-size: 0.68rem;
  line-height: 1.48;
}

body.is-laptop-compact .repair-download-grid {
  gap: 8px;
}

body.is-laptop-compact .repair-download-button {
  min-height: 80px;
  padding: 12px 44px 12px 12px;
  border-radius: 15px;
}

body.is-laptop-compact .repair-download-button strong {
  font-size: 0.88rem;
}

body.is-laptop-compact .repair-download-button span {
  font-size: 0.8rem;
}

body.is-laptop-compact .repair-command-copy-inline {
  padding: 6px 9px;
  font-size: 0.74rem;
}

body.is-laptop-compact .repair-command-cost {
  margin-top: 7px;
  padding: 4px 9px;
  font-size: 0.76rem;
}

body.is-laptop-compact .repair-command-item code,
body.is-laptop-compact .repair-command-card code,
body.is-laptop-compact .repair-callout code {
  padding: 4px 7px;
  font-size: 0.76rem;
}

body.is-laptop-compact .repair-mini-heading {
  font-size: 0.84rem;
}

@media (max-width: 1600px) {
  .repair-guide-page .section-shell {
    width: min(calc(100% - 40px), 1040px);
  }

  .repair-guide,
  .repair-guide-overview {
    gap: 24px;
  }

  .repair-toc {
    gap: 14px;
  }

  .repair-toc-group {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .repair-toc-title {
    font-size: 1.26rem;
  }

  .repair-toc-list {
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .repair-catalog-group {
    padding: 18px 18px 20px;
    border-radius: 20px;
  }

  .repair-catalog-group-head {
    gap: 14px;
  }

  .repair-catalog-title {
    font-size: 1.18rem;
  }

  .repair-catalog-text {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .repair-catalog-item {
    margin-left: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    gap: 14px;
  }

  .repair-catalog-item-title {
    font-size: 1rem;
  }

  .repair-catalog-item-text {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .repair-hero-grid,
  .repair-step-grid,
  .repair-step-grid-media-first {
    gap: 22px;
  }

  .repair-video-card,
  .repair-step-card {
    padding: 22px;
    border-radius: 24px;
  }

  .repair-step-stack {
    gap: 20px;
  }

  .repair-step-head {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    margin-bottom: 18px;
  }

  .repair-step-index {
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
    border-radius: 20px;
  }

  .repair-step-title {
    font-size: clamp(1.86rem, 3vw, 2.84rem);
  }

  .repair-step-lead,
  .repair-callout p,
  .repair-command-card p,
  .repair-tip-card .bullet-list,
  .repair-code-card-text,
  .repair-download-card-text,
  .repair-command-panel-note,
  .repair-note-list,
  .repair-checklist,
  .repair-side-note,
  .repair-command-item p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .repair-callout strong,
  .repair-command-item span,
  .repair-command-title,
  .repair-tip-card-title {
    font-size: 1rem;
  }

  .repair-callout,
  .repair-code-card,
  .repair-download-card,
  .repair-command-panel,
  .repair-tip-card,
  .repair-command-item {
    padding: 16px 18px;
    border-radius: 16px;
  }

  .repair-code-card-head,
  .repair-command-panel-head {
    margin-bottom: 8px;
  }

  .repair-code-card-title,
  .repair-download-card-title,
  .repair-command-panel-title {
    font-size: 1.04rem;
  }

  .repair-copy-btn {
    min-width: 124px;
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .repair-command-box {
    padding: 14px 16px;
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .repair-download-grid {
    gap: 10px;
  }

  .repair-download-button {
    min-height: 86px;
    padding: 14px 48px 14px 14px;
  }

  .repair-download-button strong {
    font-size: 0.94rem;
  }

  .repair-download-button span {
    font-size: 0.84rem;
  }

  .repair-command-copy-inline {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .repair-command-cost {
    margin-top: 8px;
    padding: 5px 10px;
  }

  .repair-command-item code,
  .repair-command-card code,
  .repair-callout code {
    padding: 4px 8px;
    font-size: 0.82rem;
  }

  .repair-mini-heading {
    font-size: 0.92rem;
  }
}

@media (max-width: 1366px) {
  .repair-guide-page .section-shell {
    width: min(calc(100% - 40px), 950px);
  }

  .repair-guide,
  .repair-guide-overview {
    gap: 20px;
  }

  .repair-toc {
    gap: 12px;
  }

  .repair-toc-group {
    padding: 12px 14px;
    border-radius: 15px;
  }

  .repair-toc-title {
    font-size: 1.14rem;
  }

  .repair-toc-list {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .repair-catalog-group {
    padding: 16px 16px 18px;
    border-radius: 18px;
  }

  .repair-catalog-group-head {
    gap: 12px;
  }

  .repair-catalog-title {
    font-size: 1.08rem;
  }

  .repair-catalog-text {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .repair-catalog-item {
    margin-left: 12px;
    padding: 12px 14px;
    border-radius: 15px;
    gap: 12px;
  }

  .repair-catalog-item-title {
    font-size: 0.94rem;
  }

  .repair-catalog-item-text {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .repair-hero-grid,
  .repair-step-grid,
  .repair-step-grid-media-first {
    gap: 18px;
  }

  .repair-video-card,
  .repair-step-card {
    padding: 18px;
    border-radius: 22px;
  }

  .repair-step-stack {
    gap: 18px;
  }

  .repair-step-head {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }

  .repair-step-index {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    border-radius: 18px;
  }

  .repair-step-title {
    font-size: clamp(1.62rem, 2.7vw, 2.42rem);
  }

  .repair-step-lead,
  .repair-callout p,
  .repair-command-card p,
  .repair-tip-card .bullet-list,
  .repair-code-card-text,
  .repair-download-card-text,
  .repair-command-panel-note,
  .repair-note-list,
  .repair-checklist,
  .repair-side-note,
  .repair-command-item p {
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .repair-callout strong,
  .repair-command-item span,
  .repair-command-title,
  .repair-tip-card-title {
    font-size: 0.94rem;
    margin-bottom: 6px;
  }

  .repair-callout,
  .repair-code-card,
  .repair-download-card,
  .repair-command-panel,
  .repair-tip-card,
  .repair-command-item {
    padding: 14px 16px;
    border-radius: 15px;
  }

  .repair-code-card-title,
  .repair-download-card-title,
  .repair-command-panel-title {
    font-size: 0.96rem;
  }

  .repair-copy-btn {
    min-width: 116px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .repair-command-box {
    padding: 12px 14px;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .repair-download-grid {
    gap: 8px;
  }

  .repair-download-button {
    min-height: 80px;
    padding: 12px 44px 12px 12px;
  }

  .repair-download-button strong {
    font-size: 0.88rem;
  }

  .repair-download-button span {
    font-size: 0.8rem;
  }

  .repair-command-copy-inline {
    padding: 6px 9px;
    font-size: 0.74rem;
  }

  .repair-command-cost {
    margin-top: 7px;
    padding: 4px 9px;
  }

  .repair-command-item code,
  .repair-command-card code,
  .repair-callout code {
    padding: 4px 7px;
    font-size: 0.76rem;
  }

  .repair-mini-heading {
    font-size: 0.84rem;
  }
}

@media (max-width: 1120px) {
  .repair-hero-grid,
  .repair-step-grid,
  .repair-step-grid-media-first {
    grid-template-columns: 1fr;
  }

  .repair-command-grid-split {
    grid-template-columns: 1fr;
  }

  .repair-command-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .repair-command-copygroup {
    justify-content: flex-start;
  }

  .repair-catalog-group-head,
  .repair-catalog-item {
    grid-template-columns: 1fr;
  }

  .repair-catalog-item {
    margin-left: 0;
  }

  .repair-code-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .repair-command-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .repair-download-grid {
    grid-template-columns: 1fr;
  }

  .quest-overview-grid,
  .quest-threshold-grid,
  .quest-finish-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-auth-row {
    flex-direction: column;
    align-items: stretch;
  }

  .header-auth-discord,
  .header-auth-trigger,
  .header-auth-login {
    width: 100%;
  }

  .header-auth-panel {
    width: min(100vw - 24px, 460px);
  }

  .header-auth-widget-frame iframe {
    min-height: 360px;
  }

  .repair-guide {
    gap: 22px;
  }

  .repair-video-card,
  .repair-step-card {
    padding: 20px;
    border-radius: 22px;
  }

  .repair-step-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .repair-step-index {
    width: 58px;
    height: 58px;
    font-size: 1.7rem;
    border-radius: 18px;
  }

  .repair-step-title {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .repair-action-row .button,
  .repair-method-chip {
    width: 100%;
  }
}

@media (max-width: 1399px) {
  .discord-side-widget {
    display: none;
  }
}

/* Server info browser override: map list on the left, detail on the right */
.section.intro .section-heading {
  max-width: 1040px;
  margin-bottom: 20px;
}

.section.intro .section-title {
  font-size: clamp(1.46rem, 2.16vw, 1.96rem);
  line-height: 0.96;
  letter-spacing: -0.012em;
}

.server-browser {
  display: grid;
  grid-template-columns: 420px minmax(34px, 4vw) minmax(0, 760px);
  gap: 0;
  justify-content: start;
  align-items: start;
}

.server-browser-sidebar {
  grid-column: 1;
  position: sticky;
  top: 126px;
  padding: 18px 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(20, 28, 42, 0.98), rgba(12, 17, 27, 0.94));
}

.server-browser-note {
  margin: 8px 0 12px;
  font-size: 0.88rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.72);
}

.server-map-list {
  display: grid;
  gap: 10px;
}

.server-map-button {
  min-height: 88px;
  padding: 14px 15px 13px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.server-map-button span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Barlow", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-map-button strong {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 0.81vw, 1rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: #fff9ef;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  hyphens: none;
}

.server-browser-sidebar .intro-card-top,
.server-browser-sidebar .server-browser-note {
  font-family: "Barlow", sans-serif;
}

.server-map-button.is-active {
  border-color: rgba(255, 190, 110, 0.92);
  box-shadow:
    0 12px 24px rgba(255, 157, 43, 0.14),
    0 0 0 1px rgba(255, 190, 110, 0.16);
}

.server-browser-main {
  grid-column: 3;
  display: grid;
  gap: 16px;
  width: min(100%, 760px);
}

.server-browser-intro {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(20, 28, 42, 0.98), rgba(12, 17, 27, 0.94));
}

.server-browser-description {
  max-width: none;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.server-browser-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.server-rates-shell,
.server-detail-shell,
.server-side-card {
  padding: 16px;
  border-radius: 20px;
}

.server-rates-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(21, 30, 44, 0.96), rgba(12, 17, 27, 0.92));
}

.server-rates-title {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.24rem, 1.2vw, 1.34rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.server-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.server-rates-shell .intro-card-top,
.server-detail-shell .intro-card-top,
.server-side-card .intro-card-top {
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.server-rates-shell .intro-rate-card {
  min-height: 96px;
  padding: 12px 14px;
}

.server-rates-shell .intro-rate-card span {
  margin-bottom: 5px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.server-rates-shell .intro-rate-card strong {
  font-size: 1.5rem;
}

.server-rates-shell .intro-rate-card small {
  margin-top: 5px;
  font-size: 0.84rem;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.76);
}

.server-detail-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(11, 17, 27, 0.92));
}

.server-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.server-detail-title {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.38rem, 1.3vw, 1.54rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
}

.server-detail-description {
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.8);
}

.server-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.server-detail-card {
  min-height: 92px;
}

.server-detail-card strong {
  font-size: 1.04rem;
  line-height: 1.34;
}

.server-detail-card span {
  margin-bottom: 5px;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
}

.server-detail-badges {
  gap: 6px;
}

.server-detail-badge {
  min-height: 28px;
  padding: 0 11px;
  font-size: 0.62rem;
  letter-spacing: 0.075em;
}

.server-side-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.server-side-card .section-title {
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.3rem, 1.3vw, 1.46rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
}

.server-side-card .section-description,
.server-side-card p,
.server-side-card li {
  font-size: 0.98rem;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.8);
}

.server-map-button-ragnarok-pve {
  background:
    radial-gradient(circle at top right, rgba(95, 173, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(19, 33, 48, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-volcano-premium {
  background:
    radial-gradient(circle at top right, rgba(255, 132, 71, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(44, 29, 22, 0.92), rgba(14, 20, 31, 0.96));
}

.server-map-button-forglar-premium {
  background:
    radial-gradient(circle at top right, rgba(164, 120, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(36, 28, 52, 0.92), rgba(14, 20, 31, 0.96));
}

.server-detail-ragnarok-pve {
  background:
    radial-gradient(circle at top left, rgba(95, 173, 255, 0.22), transparent 38%),
    radial-gradient(circle at bottom right, rgba(117, 224, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(17, 35, 53, 0.94), rgba(10, 16, 27, 0.9));
  border-color: rgba(95, 173, 255, 0.22);
}

.server-detail-volcano-premium {
  background:
    radial-gradient(circle at top left, rgba(255, 132, 71, 0.22), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 189, 102, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(54, 31, 21, 0.94), rgba(14, 18, 29, 0.9));
  border-color: rgba(255, 150, 96, 0.22);
}

.server-detail-forglar-premium {
  background:
    radial-gradient(circle at top left, rgba(164, 120, 255, 0.22), transparent 38%),
    radial-gradient(circle at bottom right, rgba(116, 208, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(35, 24, 55, 0.94), rgba(13, 18, 29, 0.9));
  border-color: rgba(164, 120, 255, 0.2);
}

.server-detail-tab-shell {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.server-detail-tab-kicker {
  margin-bottom: 10px;
}

.server-detail-tab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.server-detail-tab {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(18, 24, 35, 0.94), rgba(12, 17, 27, 0.92));
  color: rgba(255, 255, 255, 0.82);
  font-family: "Barlow", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.server-detail-tab:hover,
.server-detail-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 110, 0.45);
}

.server-detail-tab.is-active {
  border-color: rgba(255, 190, 110, 0.92);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(53, 40, 24, 0.88), rgba(14, 20, 31, 0.94));
  box-shadow:
    0 14px 28px rgba(255, 157, 43, 0.12),
    0 0 0 1px rgba(255, 190, 110, 0.12);
  color: #fff6ea;
}

.server-info-copy {
  margin-bottom: 14px;
}

.server-info-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.server-info-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 110, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(36, 28, 22, 0.9), rgba(14, 18, 29, 0.92));
  color: #ffd6a2;
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  .section.intro .section-title {
    font-size: clamp(1.54rem, 2.45vw, 2.04rem);
  }

  .server-browser {
    grid-template-columns: 370px minmax(24px, 3vw) minmax(0, 660px);
    gap: 0;
  }

  .server-rates-grid,
  .server-detail-grid,
  .server-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .server-browser {
    grid-template-columns: 1fr;
  }

  .server-browser-sidebar {
    position: static;
    top: auto;
  }

  .server-map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-side-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .server-map-list,
  .server-rates-grid,
  .server-detail-grid {
    grid-template-columns: 1fr;
  }

  .server-detail-tab-list {
    grid-template-columns: 1fr;
  }

  .server-detail-head {
    flex-direction: column;
  }

  .server-detail-badges {
    justify-content: flex-start;
  }
}

.casino-guide-page .repair-step-stack {
  gap: 26px;
}

.casino-hero-grid {
  align-items: stretch;
}

.casino-side-card {
  display: grid;
  gap: 16px;
}

.casino-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 10px;
}

.casino-kpi-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 196, 103, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(20, 27, 40, 0.96), rgba(11, 16, 27, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.casino-kpi-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 222, 173, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.casino-kpi-card strong {
  display: block;
  color: #fff6e8;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.casino-kpi-card p {
  margin: 10px 0 0;
  color: rgba(220, 227, 240, 0.82);
  font-size: 0.94rem;
  line-height: 1.68;
}

.repair-callout-casino-bronze {
  border-color: rgba(199, 131, 74, 0.26);
  background: linear-gradient(135deg, rgba(68, 42, 25, 0.84), rgba(25, 22, 29, 0.94));
}

.casino-loot-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.casino-loot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.casino-loot-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(11, 16, 27, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.casino-loot-card-gold {
  border-color: rgba(255, 195, 95, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 199, 92, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(55, 42, 23, 0.94), rgba(16, 18, 29, 0.96));
}

.casino-loot-card-silver {
  border-color: rgba(147, 201, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(175, 219, 255, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(27, 39, 54, 0.94), rgba(13, 18, 29, 0.96));
}

.casino-loot-card-bronze {
  border-color: rgba(201, 140, 83, 0.24);
  background:
    radial-gradient(circle at top right, rgba(209, 142, 84, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(47, 33, 22, 0.94), rgba(14, 18, 29, 0.96));
}

.casino-loot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.casino-loot-head h3 {
  margin: 8px 0 0;
  color: #fff5e6;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.75rem, 2vw, 2.1rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.casino-loot-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 13, 22, 0.42);
  color: rgba(255, 236, 196, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.casino-loot-text {
  margin: 0 0 14px;
  color: rgba(222, 229, 241, 0.88);
  font-size: 0.98rem;
  line-height: 1.76;
}

.casino-loot-list {
  margin: 0 0 18px;
}

.casino-video-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 15, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.casino-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030508;
}

.casino-video-note {
  margin: 12px 0 0;
  color: rgba(255, 221, 168, 0.84);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 1280px) {
  .casino-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .casino-loot-overview,
  .casino-loot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .casino-kpi-grid {
    grid-template-columns: 1fr;
  }

  .casino-loot-card {
    padding: 18px;
    border-radius: 20px;
  }

  .casino-loot-head {
    flex-direction: column;
  }
}

.shop-donate-page main {
  padding-bottom: 110px;
}

.shop-donate-hero {
  display: grid;
  gap: 26px;
}

.shop-donate-heading {
  max-width: 920px;
}

.shop-donate-description {
  max-width: 820px;
}

.shop-donate-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.shop-donate-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 195, 92, 0.2);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(36, 28, 22, 0.9), rgba(14, 18, 29, 0.94));
  color: #ffd39a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-donate-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 22px;
  align-items: start;
}

.shop-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 34, 0.98), rgba(10, 14, 22, 0.96));
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.3);
}

.shop-profile-card {
  min-height: 100%;
}

.shop-calendar-card {
  background:
    radial-gradient(circle at top right, rgba(55, 215, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 34, 0.98), rgba(10, 14, 22, 0.96));
}

.shop-topup-panel,
.shop-calendar-shell {
  display: grid;
  gap: 16px;
}

.shop-calendar-shell {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-topup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-topup-title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.74rem, 2.4vw, 2.3rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-topup-preview {
  display: grid;
  gap: 6px;
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 188, 92, 0.18);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(35, 28, 20, 0.94), rgba(15, 19, 29, 0.96));
}

.shop-topup-preview span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-topup-preview strong {
  font-family: "Anton", sans-serif;
  font-size: 1.52rem;
  line-height: 1;
}

.shop-topup-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shop-topup-amount {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 46%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(11, 17, 27, 0.96));
  color: #f8f4ea;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shop-topup-amount:hover,
.shop-topup-amount:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 92, 0.38);
}

.shop-topup-amount.is-active {
  border-color: rgba(255, 188, 92, 0.82);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(56, 39, 24, 0.94), rgba(18, 22, 31, 0.96));
  box-shadow: 0 16px 32px rgba(255, 157, 43, 0.16);
}

.shop-topup-custom {
  display: grid;
  gap: 10px;
}

.shop-topup-custom span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-topup-custom input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 20, 0.7);
  color: #fff8ef;
  font: inherit;
  font-size: 1rem;
}

.shop-topup-custom input:focus {
  outline: none;
  border-color: rgba(255, 188, 92, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 188, 92, 0.08);
}

.shop-topup-actions {
  display: grid;
  gap: 10px;
}

.shop-topup-help,
.shop-topup-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.62;
}

.shop-topup-note.is-error {
  color: #ffb3b8;
}

.shop-topup-order {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 27, 40, 0.96), rgba(11, 16, 27, 0.98));
}

.shop-topup-order.is-paid {
  border-color: rgba(86, 240, 156, 0.34);
  background:
    radial-gradient(circle at top left, rgba(86, 240, 156, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(15, 39, 30, 0.96), rgba(10, 17, 20, 0.98));
}

.shop-topup-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.shop-topup-order-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-topup-order-head strong {
  font-family: "Anton", sans-serif;
  font-size: 1.72rem;
  line-height: 0.96;
  letter-spacing: 0.04em;
}

.shop-topup-order-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-topup-order-status.is-pending {
  color: #2e1700;
  background: linear-gradient(135deg, #ffe088, #ffb94a);
}

.shop-topup-order-status.is-paid {
  color: #062112;
  background: linear-gradient(135deg, #84f7b5, #2dcf74);
}

.shop-topup-order-status.is-expired {
  color: #fff2f2;
  background: linear-gradient(135deg, #ff6b78, #d92a35);
}

.shop-topup-order-status.is-cancelled {
  color: #fff7df;
  background: linear-gradient(135deg, #8b6e2b, #5d4720);
}

.shop-topup-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-topup-order-stat,
.shop-topup-transfer-box {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.shop-topup-order-stat span,
.shop-topup-transfer-box span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-topup-order-stat strong {
  font-size: 1rem;
  line-height: 1.4;
}

.shop-topup-order-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  gap: 12px;
  align-items: stretch;
}

.shop-topup-transfer-box code {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ec;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.shop-topup-qr-shell {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.shop-topup-qr {
  width: 100%;
  max-width: 172px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
}

.shop-topup-inline-actions {
  display: flex;
  justify-content: flex-end;
}

.shop-card-kicker {
  margin: 0;
  color: rgba(255, 208, 140, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shop-card-title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-card-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.shop-profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-profile-identity {
  display: grid;
  gap: 8px;
}

.shop-profile-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-vip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shop-vip-badge.is-member {
  background: linear-gradient(135deg, rgba(39, 47, 60, 0.96), rgba(20, 24, 35, 0.94));
}

.shop-vip-badge.is-tier-1 {
  background: linear-gradient(135deg, #2e6a4e, #183126);
}

.shop-vip-badge.is-tier-2 {
  background: linear-gradient(135deg, #167277, #152e33);
}

.shop-vip-badge.is-tier-3 {
  background: linear-gradient(135deg, #1f7fa1, #12283a);
}

.shop-vip-badge.is-tier-4 {
  background: linear-gradient(135deg, #325bb0, #172133);
}

.shop-vip-badge.is-tier-5 {
  background: linear-gradient(135deg, #5b50c9, #1a183b);
}

.shop-vip-badge.is-tier-6 {
  background: linear-gradient(135deg, #8442d8, #26163f);
}

.shop-vip-badge.is-tier-7 {
  background: linear-gradient(135deg, #c247a1, #341331);
}

.shop-vip-badge.is-tier-8 {
  background: linear-gradient(135deg, #df4d71, #37131f);
}

.shop-vip-badge.is-tier-9 {
  background: linear-gradient(135deg, #df7a34, #3c190f);
}

.shop-vip-badge.is-tier-10 {
  color: #2c1800;
  background: linear-gradient(135deg, #ffe48a, #ffbb42);
}

.shop-vip-badge.is-tier-11 {
  color: #2a1200;
  background: linear-gradient(135deg, #fff1b0, #ffc76d, #ff8f49);
}

.shop-vip-badge.is-tier-12 {
  color: #261100;
  background: linear-gradient(135deg, #ffffff, #fff2bb, #ffcc56, #ff78a4);
}

.shop-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shop-profile-stat {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 46%),
    linear-gradient(180deg, rgba(22, 29, 42, 0.98), rgba(12, 18, 29, 0.96));
}

.shop-profile-stat span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-profile-stat strong {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.86rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.shop-progress-shell {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 183, 83, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 43, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(32, 28, 22, 0.92), rgba(14, 18, 29, 0.94));
}

.shop-progress-head {
  display: grid;
  gap: 6px;
}

.shop-progress-head strong {
  font-size: 1.12rem;
  line-height: 1.38;
}

.shop-progress-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.6;
}

.shop-progress-track {
  position: relative;
  overflow: hidden;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.shop-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 186, 95, 0.98), rgba(255, 120, 92, 0.98), rgba(125, 235, 255, 0.92));
  box-shadow: 0 0 24px rgba(255, 157, 43, 0.42);
}

.shop-profile-footnote {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.66;
}

.shop-profile-footnote p {
  margin: 0;
}

.shop-profile-empty {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
}

.shop-profile-login {
  min-width: 220px;
}

.shop-calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-calendar-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shop-calendar-nav-btn:hover,
.shop-calendar-nav-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 195, 92, 0.42);
  background: rgba(255, 195, 92, 0.12);
}

.shop-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shop-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-calendar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.shop-calendar-dot.is-today {
  background: #ffb14f;
}

.shop-calendar-dot.is-checked {
  background: #56f09c;
}

.shop-calendar-dot.is-idle {
  background: rgba(255, 255, 255, 0.24);
}

.shop-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.shop-calendar-weekday {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-calendar-day {
  position: relative;
  min-height: 66px;
  padding: 10px 10px 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(180deg, rgba(19, 26, 38, 0.98), rgba(12, 17, 27, 0.96));
}

.shop-calendar-day.is-empty {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.shop-calendar-day.is-today {
  border-color: rgba(255, 183, 83, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 83, 0.12);
}

.shop-calendar-day.is-checked {
  border-color: rgba(86, 240, 156, 0.4);
  background:
    radial-gradient(circle at top left, rgba(86, 240, 156, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(15, 48, 33, 0.96), rgba(10, 20, 20, 0.94));
}

.shop-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 12px;
  color: #fdf3e3;
  font-size: 0.98rem;
  font-weight: 800;
}

.shop-calendar-day.is-today .shop-calendar-day-number {
  background: rgba(255, 177, 79, 0.16);
  color: #ffd69f;
}

.shop-calendar-check {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success-soft), var(--success));
  color: #062212;
  font-size: 0.92rem;
  font-weight: 900;
}

.shop-calendar-actions {
  display: grid;
  gap: 12px;
}

.shop-checkin-button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.shop-calendar-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.64;
}

.shop-vip-section {
  display: grid;
  gap: 24px;
}

.shop-vip-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shop-vip-note-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 43, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(11, 16, 27, 0.98));
}

.shop-vip-note-label {
  color: rgba(255, 208, 140, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-vip-note-card > .shop-vip-note-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.42rem, 2vw, 1.84rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.shop-vip-note-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.64;
}

.shop-vip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-vip-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 44%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(11, 16, 27, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.shop-vip-card.is-current {
  transform: translateY(-2px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 206, 119, 0.12);
}

.shop-vip-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.shop-vip-card-copy {
  display: grid;
  gap: 6px;
}

.shop-vip-card-copy h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 1.68rem;
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.shop-vip-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.56;
}

.shop-vip-tier-label {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-vip-emblem {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #fffdf6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.24);
}

.shop-vip-emblem-label,
.shop-vip-emblem small {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-vip-emblem strong {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  line-height: 0.94;
}

.shop-vip-emblem.is-tier-1,
.shop-vip-card.is-tier-1 {
  border-color: rgba(121, 242, 171, 0.22);
}

.shop-vip-emblem.is-tier-1 {
  background: linear-gradient(135deg, rgba(50, 121, 86, 0.98), rgba(24, 50, 36, 0.96));
}

.shop-vip-emblem.is-tier-2,
.shop-vip-card.is-tier-2 {
  border-color: rgba(98, 230, 215, 0.22);
}

.shop-vip-emblem.is-tier-2 {
  background: linear-gradient(135deg, rgba(20, 118, 123, 0.98), rgba(18, 42, 46, 0.96));
}

.shop-vip-emblem.is-tier-3,
.shop-vip-card.is-tier-3 {
  border-color: rgba(55, 215, 255, 0.22);
}

.shop-vip-emblem.is-tier-3 {
  background: linear-gradient(135deg, rgba(28, 132, 170, 0.98), rgba(18, 41, 57, 0.96));
}

.shop-vip-emblem.is-tier-4,
.shop-vip-card.is-tier-4 {
  border-color: rgba(92, 145, 255, 0.22);
}

.shop-vip-emblem.is-tier-4 {
  background: linear-gradient(135deg, rgba(45, 89, 177, 0.98), rgba(20, 34, 56, 0.96));
}

.shop-vip-emblem.is-tier-5,
.shop-vip-card.is-tier-5 {
  border-color: rgba(142, 119, 255, 0.22);
}

.shop-vip-emblem.is-tier-5 {
  background: linear-gradient(135deg, rgba(87, 74, 201, 0.98), rgba(23, 20, 60, 0.96));
}

.shop-vip-emblem.is-tier-6,
.shop-vip-card.is-tier-6 {
  border-color: rgba(190, 97, 255, 0.24);
}

.shop-vip-emblem.is-tier-6 {
  background: linear-gradient(135deg, rgba(134, 65, 212, 0.98), rgba(34, 20, 57, 0.96));
}

.shop-vip-emblem.is-tier-7,
.shop-vip-card.is-tier-7 {
  border-color: rgba(240, 86, 189, 0.24);
}

.shop-vip-emblem.is-tier-7 {
  background: linear-gradient(135deg, rgba(179, 64, 145, 0.98), rgba(42, 18, 41, 0.96));
}

.shop-vip-emblem.is-tier-8,
.shop-vip-card.is-tier-8 {
  border-color: rgba(255, 99, 136, 0.24);
}

.shop-vip-emblem.is-tier-8 {
  background: linear-gradient(135deg, rgba(207, 73, 101, 0.98), rgba(52, 18, 26, 0.96));
}

.shop-vip-emblem.is-tier-9,
.shop-vip-card.is-tier-9 {
  border-color: rgba(255, 141, 77, 0.26);
}

.shop-vip-emblem.is-tier-9 {
  background: linear-gradient(135deg, rgba(206, 108, 43, 0.98), rgba(58, 24, 15, 0.96));
}

.shop-vip-emblem.is-tier-10,
.shop-vip-card.is-tier-10 {
  border-color: rgba(255, 212, 117, 0.3);
}

.shop-vip-emblem.is-tier-10 {
  color: #2e1700;
  background: linear-gradient(135deg, rgba(255, 232, 151, 0.98), rgba(255, 186, 68, 0.98));
}

.shop-vip-emblem.is-tier-11,
.shop-vip-card.is-tier-11 {
  border-color: rgba(255, 221, 141, 0.38);
}

.shop-vip-emblem.is-tier-11 {
  color: #2f1400;
  background: linear-gradient(135deg, rgba(255, 245, 184, 0.98), rgba(255, 202, 116, 0.98), rgba(255, 140, 78, 0.98));
}

.shop-vip-emblem.is-tier-12,
.shop-vip-card.is-tier-12 {
  border-color: rgba(255, 235, 178, 0.54);
}

.shop-vip-emblem.is-tier-12 {
  color: #291200;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 242, 180, 0.98), rgba(255, 198, 89, 0.98), rgba(255, 114, 165, 0.94));
}

.shop-vip-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-vip-card-stats div {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.shop-vip-card-stats span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-vip-card-stats strong {
  font-size: 1rem;
  line-height: 1.3;
}

.shop-vip-card-bonus {
  margin: 0;
  color: #ffd39a;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.56;
}

.shop-vip-card-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.64;
}

.shop-vip-current-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #251200;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  .shop-donate-dashboard,
  .shop-vip-note-grid,
  .shop-vip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .shop-donate-dashboard,
  .shop-vip-note-grid,
  .shop-vip-grid {
    grid-template-columns: 1fr;
  }

  .shop-calendar-head,
  .shop-profile-header,
  .shop-topup-head,
  .shop-topup-order-head {
    flex-direction: column;
  }

  .shop-topup-order-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shop-card {
    padding: 20px;
    border-radius: 24px;
  }

  .shop-profile-stats,
  .shop-vip-card-stats,
  .shop-topup-order-grid,
  .shop-topup-amount-grid {
    grid-template-columns: 1fr;
  }

  .shop-calendar-grid {
    gap: 6px;
  }

  .shop-calendar-day {
    min-height: 58px;
    padding: 8px;
    border-radius: 16px;
  }

  .shop-vip-card-head {
    flex-direction: column;
  }

  .shop-vip-emblem {
    width: 78px;
    height: 78px;
  }
}

body.shop-donate-page {
  --max-width: 1120px;
  font-family: "Barlow Condensed", sans-serif;
  color: #18314f;
  background:
    radial-gradient(circle at 12% 14%, rgba(73, 192, 255, 0.12), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 179, 79, 0.12), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #f2f7fc 42%, #edf3fb 100%);
}

.shop-donate-page input,
.shop-donate-page button,
.shop-donate-page select,
.shop-donate-page textarea {
  font-family: "Barlow Condensed", sans-serif;
}

.shop-donate-page::before {
  background:
    linear-gradient(120deg, rgba(44, 86, 134, 0.028) 0, rgba(44, 86, 134, 0.028) 1px, transparent 1px, transparent 92px),
    linear-gradient(rgba(44, 86, 134, 0.022) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px;
  opacity: 0.36;
}

.shop-donate-page::after {
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 201, 255, 0.15), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(255, 179, 79, 0.16), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
  mix-blend-mode: normal;
  opacity: 1;
}

.shop-donate-page .site-noise {
  opacity: 0.12;
  mix-blend-mode: normal;
}

.shop-donate-page main {
  padding-bottom: 120px;
}

.shop-donate-page .site-footer {
  background: transparent;
}

.shop-donate-page .footer-brand,
.shop-donate-page .footer-copy,
.shop-donate-page .footer-text {
  color: #18314f;
}

.shop-donate-page .shop-donate-hero {
  display: grid;
  gap: 28px;
  padding-top: 138px;
}

.shop-donate-page .shop-donate-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.shop-donate-page .shop-donate-heading .section-title {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
}

.shop-donate-page .shop-donate-heading .section-description {
  font-size: 1rem;
}

.shop-donate-page .shop-donate-heading .section-kicker,
.shop-donate-page .shop-card-kicker,
.shop-donate-page .shop-vip-note-label,
.shop-donate-page .shop-vip-tier-label {
  color: #ff952b;
}

.shop-donate-page .shop-donate-heading .section-title,
.shop-donate-page .shop-card-title,
.shop-donate-page .shop-profile-name,
.shop-donate-page .shop-topup-title,
.shop-donate-page .shop-vip-card-copy h3,
.shop-donate-page .shop-vip-note-card > .shop-vip-note-title {
  color: #17365d;
}

.shop-donate-page .shop-donate-description,
.shop-donate-page .shop-card-copy,
.shop-donate-page .shop-topup-help,
.shop-donate-page .shop-topup-note,
.shop-donate-page .shop-calendar-status,
.shop-donate-page .shop-vip-note-card p,
.shop-donate-page .shop-vip-card-list,
.shop-donate-page .shop-vip-card-copy p {
  color: #2b4a6e;
}

.shop-donate-page .shop-donate-pill-row {
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.shop-donate-page .shop-donate-pill {
  border-color: rgba(91, 141, 198, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #2e5e92;
  box-shadow: 0 14px 28px rgba(41, 93, 144, 0.08);
}

.shop-donate-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.shop-donate-page main .button-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #64d0ef, #6b8df5);
  box-shadow: 0 18px 36px rgba(98, 167, 243, 0.26);
}

.shop-donate-page main .button-primary:hover,
.shop-donate-page main .button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(98, 167, 243, 0.32);
}

.shop-donate-page main .button-secondary {
  border: 1px solid rgba(82, 130, 186, 0.22);
  color: #1a3d66;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(242, 248, 255, 0.84));
  box-shadow: 0 16px 30px rgba(65, 101, 140, 0.08);
}

.shop-donate-page main .button-secondary:hover,
.shop-donate-page main .button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(82, 130, 186, 0.3);
  background: rgba(255, 255, 255, 0.92);
}

.shop-donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 22px;
  align-items: start;
}

.shop-donate-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.shop-donate-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.shop-donate-page .shop-card {
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(113, 155, 205, 0.16);
  background:
    radial-gradient(circle at top left, rgba(104, 195, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.96));
  box-shadow: 0 28px 54px rgba(47, 89, 133, 0.12);
}

.shop-topup-card {
  padding: 24px;
}

.shop-topup-panel,
.shop-calendar-shell {
  gap: 14px;
}

.shop-topup-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 184px;
  gap: 14px;
  align-items: stretch;
}

.shop-topup-brand-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(90, 179, 224, 0.28);
  background:
    radial-gradient(circle at top left, rgba(105, 209, 243, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(237, 249, 255, 0.92), rgba(241, 247, 255, 0.98));
}

.shop-topup-brand-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(78, 208, 247, 0.12), rgba(119, 140, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(95, 170, 233, 0.14);
}

.shop-topup-brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.shop-topup-brand-copy {
  display: grid;
  gap: 6px;
}

.shop-topup-brand-copy span {
  color: #4b6f98;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-topup-brand-copy strong {
  font-family: "Anton", sans-serif;
  color: #18314f;
  font-size: 1.56rem;
  letter-spacing: 0.02em;
  line-height: 0.96;
}

.shop-topup-brand-copy small {
  color: #6b7f99;
  font-size: 0.88rem;
  line-height: 1.5;
}

.shop-donate-page .shop-topup-preview {
  min-width: 0;
  justify-content: center;
  align-content: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 173, 72, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 173, 72, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(255, 247, 238, 0.96));
}

.shop-donate-page .shop-topup-preview span,
.shop-donate-page .shop-topup-custom span,
.shop-donate-page .shop-topup-order-stat span,
.shop-donate-page .shop-topup-transfer-box span,
.shop-donate-page .shop-profile-stat span,
.shop-donate-page .shop-profile-progress-copy span {
  color: #6b7f99;
}

.shop-donate-page .shop-topup-preview strong {
  color: #ff922b;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.shop-topup-form-shell {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(113, 155, 205, 0.14);
  background: rgba(255, 255, 255, 0.74);
}

.shop-topup-form-head {
  display: grid;
  gap: 10px;
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.shop-topup-input-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(118, 163, 216, 0.18);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shop-topup-input-shell:focus-within {
  border-color: rgba(89, 169, 228, 0.4);
  box-shadow: 0 0 0 4px rgba(97, 199, 243, 0.1);
}

.shop-topup-input-shell input {
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #18314f;
  font-size: 0.98rem;
  box-shadow: none;
}

.shop-topup-input-shell input:focus {
  border: 0;
  box-shadow: none;
}

.shop-topup-input-shell em {
  color: #90a0b5;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-donate-page .shop-topup-amount-grid {
  gap: 12px;
}

.shop-donate-page .shop-topup-amount {
  min-height: 48px;
  border-radius: 15px;
  border-color: rgba(114, 155, 203, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #2c4f79;
  font-size: 0.88rem;
  box-shadow: 0 14px 26px rgba(69, 110, 155, 0.08);
}

.shop-donate-page .shop-topup-amount.is-active {
  border-color: rgba(92, 182, 235, 0.46);
  background: linear-gradient(135deg, rgba(231, 248, 255, 0.96), rgba(243, 247, 255, 0.98));
  color: #1d4775;
  box-shadow: 0 18px 30px rgba(74, 141, 210, 0.14);
}

.shop-topup-submit {
  min-height: 50px;
  width: 100%;
}

.shop-donate-page .shop-topup-order {
  padding: 20px;
  border-radius: 24px;
  border-color: rgba(114, 155, 203, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.98));
  box-shadow: 0 18px 34px rgba(61, 106, 155, 0.08);
}

.shop-donate-page .shop-topup-order.is-paid {
  border-color: rgba(67, 196, 125, 0.24);
  background: linear-gradient(180deg, rgba(239, 255, 246, 0.98), rgba(248, 255, 251, 0.98));
}

.shop-donate-page .shop-topup-order-head strong,
.shop-donate-page .shop-topup-order-stat strong,
.shop-donate-page .shop-profile-stat strong,
.shop-donate-page .shop-profile-progress-copy strong,
.shop-donate-page .shop-profile-reward-strip strong {
  color: #18314f;
}

.shop-donate-page .shop-topup-order-status.is-pending {
  color: #5c3b00;
}

.shop-donate-page .shop-topup-order-status.is-cancelled {
  color: #ffffff;
}

.shop-donate-page .shop-topup-order-content {
  grid-template-columns: 1fr;
  gap: 16px;
}

.shop-donate-page .shop-topup-order-stat,
.shop-donate-page .shop-topup-transfer-box,
.shop-donate-page .shop-profile-stat {
  border-color: rgba(113, 155, 205, 0.12);
  background: rgba(247, 250, 255, 0.9);
}

.shop-donate-page .shop-topup-transfer-box code {
  background: rgba(98, 142, 195, 0.1);
  color: #234a77;
}

.shop-donate-page .shop-topup-transfer-box.is-centered {
  text-align: center;
  justify-items: center;
}

.shop-donate-page .shop-topup-qr-shell {
  border-color: rgba(113, 155, 205, 0.16);
  background: rgba(245, 249, 255, 0.96);
}

.shop-donate-page .shop-topup-qr-shell.is-centered {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 18px 32px rgba(80, 132, 207, 0.08);
}

.shop-donate-page .shop-topup-qr-stack {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.shop-donate-page .shop-topup-qr-heading h3 {
  margin: 0 0 6px;
  color: #18314f;
  font-size: 1.16rem;
  font-weight: 900;
}

.shop-donate-page .shop-topup-qr-heading p {
  margin: 0;
  color: #6a7d98;
  font-size: 0.92rem;
  line-height: 1.55;
}

.shop-donate-page .shop-topup-qr.is-large {
  max-width: 280px;
  width: 100%;
  border-radius: 18px;
}

.shop-donate-page .shop-topup-qr-amount {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.shop-donate-page .shop-topup-qr-amount span {
  color: #6b7f99;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-donate-page .shop-topup-qr-amount strong {
  color: #0e84dd;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.shop-donate-page .shop-topup-status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 420px);
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 198, 90, 0.24);
  background: linear-gradient(135deg, rgba(255, 247, 219, 0.98), rgba(255, 252, 241, 0.96));
  color: #7f5a00;
  text-align: center;
}

.shop-donate-page .shop-topup-status-banner strong {
  font-size: 0.92rem;
  line-height: 1.45;
}

.shop-donate-page .shop-topup-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffb12c;
  box-shadow: 0 0 0 0 rgba(255, 177, 44, 0.45);
  animation: shopTopupPulse 1.5s infinite;
}

.shop-donate-page .shop-topup-status-banner.is-paid {
  border-color: rgba(69, 201, 125, 0.24);
  background: linear-gradient(135deg, rgba(232, 255, 241, 0.98), rgba(247, 255, 250, 0.96));
  color: #107447;
}

.shop-donate-page .shop-topup-status-banner.is-paid .shop-topup-status-dot {
  background: #28c06e;
  box-shadow: none;
  animation: none;
}

.shop-donate-page .shop-topup-status-banner.is-cancelled,
.shop-donate-page .shop-topup-status-banner.is-expired {
  border-color: rgba(218, 92, 100, 0.24);
  background: linear-gradient(135deg, rgba(255, 236, 239, 0.98), rgba(255, 247, 248, 0.96));
  color: #b43b4a;
}

.shop-donate-page .shop-topup-status-banner.is-cancelled .shop-topup-status-dot,
.shop-donate-page .shop-topup-status-banner.is-expired .shop-topup-status-dot {
  background: #e55f6e;
  box-shadow: none;
  animation: none;
}

.shop-donate-page .shop-topup-inline-actions {
  justify-content: flex-start;
}

.shop-donate-page .shop-topup-inline-actions.is-centered {
  justify-content: center;
}

.shop-donate-page .shop-topup-cancel {
  min-width: 180px;
}

@keyframes shopTopupPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 177, 44, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 177, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 177, 44, 0);
  }
}

.shop-profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.shop-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #55ccf2, #7a86ff);
  color: #ffffff;
  font-family: "Anton", sans-serif;
  font-size: 1.44rem;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 32px rgba(79, 136, 224, 0.22);
}

.shop-profile-identity {
  display: grid;
  gap: 6px;
}

.shop-profile-name {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
}

.shop-profile-progress-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 174, 84, 0.2);
  background:
    radial-gradient(circle at top left, rgba(255, 179, 84, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.96), rgba(255, 255, 255, 0.98));
}

.shop-profile-progress-copy {
  display: grid;
  gap: 6px;
}

.shop-profile-progress-copy small {
  color: #30507a;
  font-size: 0.92rem;
  line-height: 1.5;
}

.shop-donate-page .shop-progress-track {
  background: rgba(115, 149, 191, 0.14);
}

.shop-donate-page .shop-progress-fill {
  background: linear-gradient(90deg, #ffb865, #ff8f66, #67d5f2);
  box-shadow: 0 0 26px rgba(123, 202, 245, 0.3);
}

.shop-donate-page .shop-profile-stats {
  gap: 14px;
}

.shop-profile-reward-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-profile-reward-strip div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(93, 141, 196, 0.18);
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.94), rgba(248, 252, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 12px rgba(65, 108, 155, 0.05);
}

.shop-profile-reward-strip span {
  color: #385888;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-donate-page .shop-vip-badge {
  min-width: 96px;
  min-height: 38px;
  border-color: rgba(118, 161, 255, 0.24);
  box-shadow: 0 16px 30px rgba(46, 86, 132, 0.18), inset 0 0 14px rgba(118, 161, 255, 0.06);
}

.shop-donate-page .shop-vip-badge.is-member {
  background: linear-gradient(135deg, rgba(69, 105, 188, 0.98), rgba(24, 38, 75, 0.98));
  color: #f8fbff;
  text-shadow: 0 1px 6px rgba(118, 161, 255, 0.3);
}

.shop-donate-page .shop-vip-badge.is-tier-1,
.shop-donate-page .shop-vip-badge.is-tier-2,
.shop-donate-page .shop-vip-badge.is-tier-3,
.shop-donate-page .shop-vip-badge.is-tier-4,
.shop-donate-page .shop-vip-badge.is-tier-5,
.shop-donate-page .shop-vip-badge.is-tier-6,
.shop-donate-page .shop-vip-badge.is-tier-7,
.shop-donate-page .shop-vip-badge.is-tier-8,
.shop-donate-page .shop-vip-badge.is-tier-9 {
  text-shadow: 0 1px 8px rgba(255,255,255,0.12);
}

.shop-donate-page .shop-calendar-card {
  gap: 18px;
}

.shop-donate-page .shop-calendar-head {
  align-items: center;
}

.shop-donate-page .shop-calendar-nav-btn {
  border-color: rgba(113, 155, 205, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #305784;
}

.shop-donate-page .shop-calendar-weekday {
  color: #6f8099;
}

.shop-donate-page .shop-calendar-day {
  min-height: 62px;
  border-color: rgba(113, 155, 205, 0.12);
  background: rgba(247, 251, 255, 0.95);
}

.shop-donate-page .shop-calendar-day.is-today {
  border-color: rgba(255, 173, 72, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 72, 0.12);
}

.shop-donate-page .shop-calendar-day.is-checked {
  border-color: rgba(58, 203, 117, 0.34);
  background:
    radial-gradient(circle at top left, rgba(58, 203, 117, 0.16), transparent 48%),
    rgba(245, 255, 249, 0.96);
}

.shop-donate-page .shop-calendar-day-number {
  color: #21456f;
}

.shop-donate-page .shop-calendar-day.is-today .shop-calendar-day-number {
  color: #c86c13;
  background: rgba(255, 173, 72, 0.16);
}

.shop-donate-page .shop-calendar-check {
  color: #ffffff;
}

.shop-donate-page .shop-vip-section {
  gap: 26px;
}

.shop-donate-page .shop-vip-benefits-shell {
  display: grid;
  gap: 14px;
}

.shop-donate-page .shop-vip-note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-donate-page .shop-vip-note-card {
  border-color: rgba(113, 155, 205, 0.14);
  background:
    radial-gradient(circle at top left, rgba(102, 196, 244, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.98));
}

.shop-donate-page .shop-vip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-donate-page .shop-vip-card {
  gap: 18px;
  padding: 18px;
  border-color: rgba(113, 155, 205, 0.14);
  background:
    radial-gradient(circle at top left, rgba(103, 196, 244, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.98));
  box-shadow: 0 18px 34px rgba(47, 89, 133, 0.1);
}

.shop-donate-page .shop-vip-card.is-current {
  transform: translateY(-3px);
  box-shadow:
    0 22px 42px rgba(58, 105, 153, 0.14),
    0 0 0 1px rgba(255, 182, 78, 0.16);
}

.shop-donate-page .shop-vip-card-stats div {
  border-color: rgba(113, 155, 205, 0.12);
  background: rgba(247, 250, 255, 0.88);
}

.shop-donate-page .shop-vip-card-copy h3 {
  font-size: 1.42rem;
}

.shop-donate-page .shop-vip-emblem {
  width: 74px;
  height: 74px;
  border-radius: 20px;
}

.shop-donate-page .shop-vip-emblem strong {
  font-size: 1.7rem;
}

.shop-donate-page .shop-vip-card-list {
  font-size: 0.9rem;
}

.shop-donate-page .shop-vip-card-bonus {
  color: #2f6498;
}

.shop-donate-page .shop-vip-current-flag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 186, 99, 0.22), rgba(98, 208, 244, 0.14));
  color: #244d7b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1320px) {
  .shop-donate-page {
    --max-width: 1060px;
  }
}

@media (max-width: 1180px) {
  .shop-donate-page {
    --max-width: 980px;
  }

  .shop-donate-layout {
    grid-template-columns: 1fr;
  }

  .shop-donate-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .shop-donate-page .shop-donate-hero {
    padding-top: 138px;
  }

  .shop-topup-stage,
  .shop-vip-note-grid,
  .shop-vip-grid,
  .shop-donate-sidebar {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-topup-order-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shop-donate-action-row,
  .shop-donate-page .shop-donate-pill-row {
    justify-content: flex-start;
  }

  .shop-donate-page .shop-donate-heading {
    text-align: left;
  }

  .shop-profile-hero {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-profile-stats,
  .shop-profile-reward-strip,
  .shop-donate-page .shop-vip-card-stats,
  .shop-donate-page .shop-topup-order-grid,
  .shop-donate-page .shop-topup-amount-grid {
    grid-template-columns: 1fr;
  }

  .shop-topup-form-shell,
  .shop-donate-page .shop-card,
  .shop-topup-card {
    padding: 22px;
  }

  .shop-topup-brand-tile {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.shop-donate-page {
  --max-width: 1360px;
}

.shop-donate-page .shop-donate-hero {
  padding-top: 132px;
  gap: 22px;
}

.shop-donate-page .shop-donate-heading {
  max-width: 700px;
}

.shop-donate-page .shop-donate-heading .section-title {
  font-size: clamp(2.45rem, 3.2vw, 3.5rem);
}

.shop-donate-page .shop-donate-heading .section-description {
  font-size: 0.94rem;
}

.shop-donate-layout {
  grid-template-columns: 248px minmax(0, 1fr) 248px;
  gap: 16px;
}

.shop-donate-main {
  gap: 18px;
}

.shop-donate-sidebar {
  top: 106px;
  gap: 14px;
}

.shop-donate-page .shop-card {
  padding: 18px;
  border-radius: 20px;
  gap: 14px;
}

.shop-donate-page .shop-card-title {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.shop-topup-card {
  padding: 20px;
}

.shop-topup-stage {
  grid-template-columns: minmax(0, 1fr) 158px;
  gap: 12px;
}

.shop-topup-brand-tile {
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
}

.shop-topup-brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.shop-topup-brand-mark img {
  width: 38px;
  height: 38px;
}

.shop-topup-brand-copy strong {
  font-size: 1.34rem;
}

.shop-topup-brand-copy small {
  font-size: 0.82rem;
}

.shop-donate-page .shop-topup-preview {
  padding: 14px;
  border-radius: 18px;
}

.shop-donate-page .shop-topup-preview strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.shop-topup-form-shell {
  padding: 16px;
  border-radius: 18px;
  gap: 12px;
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
}

.shop-topup-input-shell {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
}

.shop-topup-input-shell input {
  min-height: 42px;
  font-size: 0.92rem;
}

.shop-donate-page .shop-topup-amount-grid {
  gap: 10px;
}

.shop-donate-page .shop-topup-amount {
  min-height: 42px;
  border-radius: 13px;
  font-size: 0.82rem;
}

.shop-topup-submit {
  min-height: 46px;
}

.shop-donate-page .shop-topup-order {
  padding: 14px;
  border-radius: 18px;
}

.shop-donate-page .shop-topup-order-head strong {
  font-size: 1.42rem;
}

.shop-donate-page .shop-topup-order-content {
  grid-template-columns: minmax(0, 1fr) 136px;
}

.shop-donate-page .shop-topup-qr {
  max-width: 124px;
  border-radius: 12px;
}

.shop-profile-hero {
  gap: 12px;
}

.shop-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.24rem;
}

.shop-profile-name {
  font-size: clamp(1.48rem, 1.8vw, 1.9rem);
}

.shop-profile-progress-card {
  padding: 14px 16px;
  border-radius: 18px;
}

.shop-donate-page .shop-profile-stats,
.shop-profile-reward-strip,
.shop-donate-page .shop-vip-note-grid,
.shop-donate-page .shop-vip-grid {
  gap: 12px;
}

.shop-profile-reward-strip div {
  padding: 12px 14px;
  border-radius: 14px;
}

.shop-donate-page .shop-vip-badge {
  min-width: 88px;
  min-height: 34px;
  font-size: 0.76rem;
}

.shop-donate-page .shop-calendar-head .shop-card-title {
  font-size: clamp(1.45rem, 1.7vw, 1.85rem);
}

.shop-donate-page .shop-calendar-day {
  min-height: 56px;
  padding: 8px;
  border-radius: 14px;
}

.shop-donate-page .shop-calendar-day-number {
  min-width: 26px;
  height: 26px;
  font-size: 0.88rem;
}

.shop-donate-page .shop-calendar-check {
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
}

.shop-donate-page .shop-vip-card {
  padding: 16px;
  gap: 14px;
}

.shop-donate-page .shop-vip-card-copy h3 {
  font-size: 1.28rem;
}

.shop-donate-page .shop-vip-emblem {
  width: 66px;
  height: 66px;
  border-radius: 18px;
}

.shop-donate-page .shop-vip-emblem strong {
  font-size: 1.54rem;
}

.shop-donate-page .shop-vip-card-list {
  font-size: 0.84rem;
}

@media (max-width: 1180px) {
  body.shop-donate-page {
    --max-width: 920px;
  }

  .shop-donate-layout {
    grid-template-columns: 1fr;
  }

  .shop-donate-sidebar {
    position: static;
  }

  .shop-donate-sidebar-left {
    order: 0;
  }

  .shop-donate-main {
    order: 1;
  }

  .shop-donate-sidebar-right {
    order: 2;
  }
}

body.shop-donate-page {
  --max-width: 940px;
}

.shop-donate-page .shop-donate-hero {
  padding-top: 126px;
  gap: 16px;
}

.shop-donate-page .shop-donate-layout {
  grid-template-columns: 320px minmax(0, 1fr) 292px;
  gap: 20px;
}

.shop-donate-page .shop-donate-main {
  gap: 16px;
}

.shop-donate-page .shop-donate-sidebar-left,
.shop-donate-page .shop-donate-sidebar-right {
  position: sticky;
  top: 102px;
}

.shop-donate-page .shop-calendar-card {
  gap: 14px;
}

.shop-donate-page .shop-calendar-card .shop-card-title {
  font-size: clamp(1.52rem, 1.9vw, 1.9rem);
}

.shop-donate-page .shop-calendar-weekday {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.shop-donate-page .shop-calendar-grid {
  gap: 8px;
}

.shop-donate-page .shop-calendar-day {
  min-height: 66px;
  padding: 10px;
  border-radius: 16px;
}

.shop-donate-page .shop-calendar-day-number {
  min-width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.shop-donate-page .shop-calendar-check {
  width: 22px;
  height: 22px;
  font-size: 0.84rem;
}

.shop-donate-page .shop-card {
  padding: 16px;
  border-radius: 18px;
}

.shop-donate-page .shop-card-title {
  font-size: clamp(1.46rem, 1.8vw, 1.84rem);
}

.shop-donate-page .shop-card-copy,
.shop-donate-page .shop-topup-help,
.shop-donate-page .shop-topup-note,
.shop-donate-page .shop-calendar-status,
.shop-donate-page .shop-vip-card-list,
.shop-donate-page .shop-vip-note-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.shop-donate-page .shop-topup-card {
  padding: 18px;
}

.shop-donate-page .shop-topup-stage {
  grid-template-columns: minmax(0, 1fr) 146px;
  gap: 10px;
}

.shop-donate-page .shop-topup-brand-tile {
  padding: 10px 12px;
  border-radius: 16px;
}

.shop-donate-page .shop-topup-brand-mark {
  width: 54px;
  height: 54px;
}

.shop-donate-page .shop-topup-brand-mark img {
  width: 34px;
  height: 34px;
}

.shop-donate-page .shop-topup-brand-copy strong {
  font-size: 1.22rem;
}

.shop-donate-page .shop-topup-preview {
  padding: 12px;
}

.shop-donate-page .shop-topup-preview strong {
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
}

.shop-donate-page .shop-topup-form-shell {
  padding: 14px;
  border-radius: 16px;
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.48rem, 1.8vw, 1.92rem);
}

.shop-donate-page .shop-topup-input-shell {
  min-height: 46px;
}

.shop-donate-page .shop-topup-input-shell input {
  min-height: 38px;
  font-size: 0.88rem;
}

.shop-donate-page .shop-topup-amount {
  min-height: 40px;
  font-size: 0.78rem;
}

.shop-donate-page .shop-topup-submit {
  min-height: 44px;
}

.shop-donate-page .shop-topup-order {
  padding: 12px;
  border-radius: 16px;
}

.shop-donate-page .shop-topup-order-content {
  grid-template-columns: minmax(0, 1fr) 124px;
}

.shop-donate-page .shop-topup-qr {
  max-width: 112px;
}

.shop-donate-page .shop-profile-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.12rem;
}

.shop-donate-page .shop-profile-name {
  font-size: clamp(1.34rem, 1.6vw, 1.72rem);
}

.shop-donate-page .shop-profile-progress-card,
.shop-donate-page .shop-profile-reward-strip div {
  padding: 12px 14px;
}

.shop-donate-page .shop-profile-stat strong,
.shop-donate-page .shop-topup-order-stat strong {
  font-size: 1.42rem;
}

.shop-donate-page .shop-vip-grid,
.shop-donate-page .shop-vip-note-grid {
  gap: 10px;
}

.shop-donate-page .shop-vip-card {
  padding: 14px;
}

.shop-donate-page .shop-vip-card-copy h3 {
  font-size: 1.2rem;
}

.shop-donate-page .shop-vip-emblem {
  width: 60px;
  height: 60px;
}

.shop-donate-page .shop-vip-emblem strong {
  font-size: 1.4rem;
}

@media (max-width: 1180px) {
  .shop-donate-page .shop-donate-layout {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-donate-sidebar-left,
  .shop-donate-page .shop-donate-sidebar-right {
    position: static;
  }
}

@media (max-width: 720px) {
  .shop-donate-page .shop-calendar-day {
    min-height: 58px;
    padding: 8px;
  }

  .shop-donate-page .shop-topup-stage,
  .shop-donate-page .shop-topup-order-content,
  .shop-donate-page .shop-profile-stats,
  .shop-donate-page .shop-profile-reward-strip,
  .shop-donate-page .shop-vip-grid,
  .shop-donate-page .shop-vip-note-grid {
    grid-template-columns: 1fr;
  }
}

/* Final desktop spacing override for Shop Donate */
body.shop-donate-page {
  --max-width: 1600px;
}

.shop-donate-page .section-shell {
  width: min(calc(100% - 96px), 1560px);
}

.shop-donate-page .shop-donate-layout {
  display: grid;
  grid-template-columns: 328px minmax(460px, 560px) 328px;
  column-gap: clamp(34px, 4vw, 88px);
  align-items: start;
  justify-content: space-between;
}

.shop-donate-page .shop-donate-main {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.shop-donate-page .shop-donate-sidebar-left {
  justify-self: start;
  align-self: start;
  margin-left: -10px;
}

.shop-donate-page .shop-donate-sidebar-right {
  justify-self: end;
  align-self: start;
  margin-right: -10px;
}

.shop-donate-page .shop-calendar-card,
.shop-donate-page .shop-profile-card {
  width: 100%;
}

.shop-donate-page .shop-calendar-card .shop-card-title,
.shop-donate-page .shop-profile-card .shop-card-title {
  font-size: clamp(1.36rem, 1.5vw, 1.72rem);
  line-height: 0.98;
}

.shop-donate-page .shop-calendar-card .shop-card-copy,
.shop-donate-page .shop-profile-card .shop-card-copy {
  font-size: 0.88rem;
  line-height: 1.5;
}

.shop-donate-page .shop-calendar-grid {
  gap: 7px;
}

.shop-donate-page .shop-calendar-day {
  min-height: 62px;
  padding: 8px;
  border-radius: 14px;
}

.shop-donate-page .shop-calendar-day-number {
  min-width: 26px;
  height: 26px;
  font-size: 0.86rem;
}

.shop-donate-page .shop-calendar-weekday {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.shop-donate-page .shop-profile-hero {
  gap: 10px;
}

.shop-donate-page .shop-profile-name {
  font-size: clamp(1.26rem, 1.45vw, 1.62rem);
  letter-spacing: 0.01em;
}

.shop-donate-page .shop-profile-stat strong,
.shop-donate-page .shop-topup-order-stat strong {
  font-size: 1.26rem;
}

.shop-donate-page .shop-topup-card {
  max-width: 560px;
  margin: 0 auto;
}

.shop-donate-page .shop-topup-stage {
  grid-template-columns: minmax(0, 1fr) 138px;
}

.shop-donate-page .shop-topup-brand-copy strong {
  font-size: 1.14rem;
}

.shop-donate-page .shop-topup-brand-copy small {
  font-size: 0.78rem;
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.4rem, 1.65vw, 1.82rem);
}

.shop-donate-page .shop-topup-preview strong {
  font-size: clamp(1.18rem, 1.5vw, 1.56rem);
}

@media (max-width: 1320px) {
  .shop-donate-page .section-shell {
    width: min(calc(100% - 72px), 1320px);
  }

  .shop-donate-page .shop-donate-layout {
    grid-template-columns: 280px minmax(420px, 1fr) 280px;
    column-gap: 24px;
  }

  .shop-donate-page .shop-donate-sidebar-left,
  .shop-donate-page .shop-donate-sidebar-right {
    margin-inline: 0;
  }
}

@media (max-width: 1180px) {
  .shop-donate-page .section-shell {
    width: min(calc(100% - 44px), 980px);
  }

  .shop-donate-page .shop-donate-layout {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-donate-sidebar-left,
  .shop-donate-page .shop-donate-sidebar-right {
    position: static;
    justify-self: stretch;
    margin: 0;
  }

  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    max-width: none;
  }
}

/* Popup architecture override for Shop Donate */
body.shop-donate-page {
  --shop-popup-width: 300px;
  --shop-popup-gap: 16px;
}

.shop-donate-page main {
  position: relative;
  padding-bottom: 120px;
}

.shop-donate-page .shop-donate-hero {
  padding-bottom: 18px;
}

.shop-donate-page .shop-donate-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.shop-donate-page .shop-floating-shell {
  pointer-events: none;
}

.shop-donate-page .shop-floating-left,
.shop-donate-page .shop-floating-right {
  position: fixed;
  z-index: 18;
  pointer-events: none;
}

.shop-donate-page .shop-floating-left {
  top: 148px;
  left: 24px;
  width: var(--shop-popup-width);
}

.shop-donate-page .shop-floating-right {
  right: 24px;
  bottom: 24px;
  width: var(--shop-popup-width);
  display: flex;
  flex-direction: column;
  gap: var(--shop-popup-gap);
}

.shop-donate-page .shop-floating-card {
  pointer-events: auto;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(93, 128, 186, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94)),
    radial-gradient(circle at top left, rgba(125, 197, 255, 0.18), transparent 55%);
  box-shadow: 0 34px 66px rgba(18, 44, 88, 0.16);
  backdrop-filter: blur(14px);
}

.shop-donate-page .shop-donate-center {
  padding-top: 10px;
}

.shop-donate-page .shop-donate-main {
  width: min(calc(100% - 48px), 874px);
  margin: 0 auto;
}

.shop-donate-page .shop-topup-card {
  max-width: 874px;
  margin: 0 auto 34px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(93, 128, 186, 0.16);
  box-shadow: 0 34px 74px rgba(18, 44, 88, 0.12);
}

.shop-donate-page .shop-topup-panel {
  gap: 16px;
}

.shop-donate-page .shop-topup-stage {
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 14px;
}

.shop-donate-page .shop-topup-brand-tile,
.shop-donate-page .shop-topup-preview,
.shop-donate-page .shop-topup-form-shell {
  border-radius: 22px;
}

.shop-donate-page .shop-topup-form-shell {
  padding: 16px;
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 0.95;
}

.shop-donate-page .shop-popup-profile-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.shop-donate-page .shop-popup-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(88, 190, 255, 0.96), rgba(105, 122, 255, 0.98));
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 26px rgba(74, 127, 255, 0.24);
}

.shop-donate-page .shop-popup-profile-copy .shop-card-kicker,
.shop-donate-page .shop-popup-calendar-head .shop-card-kicker,
.shop-donate-page .shop-popup-progress-head .shop-card-kicker {
  margin-bottom: 4px;
}

.shop-donate-page .shop-popup-profile-name {
  margin: 0 0 4px;
  font-size: 1.42rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.shop-donate-page .shop-popup-profile-stats,
.shop-donate-page .shop-popup-progress-summary,
.shop-donate-page .shop-popup-progress-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shop-donate-page .shop-popup-stat,
.shop-donate-page .shop-popup-progress-chip,
.shop-donate-page .shop-popup-progress-perks > div {
  padding: 12px 13px;
  border: 1px solid rgba(93, 128, 186, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.96), rgba(248, 252, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 4px 14px rgba(65, 108, 155, 0.06);
}

.shop-donate-page .shop-popup-stat span,
.shop-donate-page .shop-popup-progress-chip span,
.shop-donate-page .shop-popup-progress-perks span {
  display: block;
  margin-bottom: 6px;
  color: #385888;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-donate-page .shop-popup-stat strong,
.shop-donate-page .shop-popup-progress-chip strong,
.shop-donate-page .shop-popup-progress-perks strong {
  color: #15366e;
  font-size: 1.02rem;
  line-height: 1.05;
}

.shop-donate-page .shop-popup-profile-lines {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.shop-donate-page .shop-popup-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(93, 128, 186, 0.12);
}

.shop-donate-page .shop-popup-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.shop-donate-page .shop-popup-line span {
  color: #406080;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-donate-page .shop-popup-line strong {
  color: #16386f;
  font-size: 0.92rem;
  line-height: 1.35;
  word-break: break-word;
}

.shop-donate-page .shop-popup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.shop-donate-page .shop-popup-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(88, 132, 255, 0.12);
  color: #264a8f;
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-donate-page .shop-popup-muted {
  margin-top: 14px;
}

.shop-donate-page .shop-popup-calendar-head,
.shop-donate-page .shop-popup-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.shop-donate-page .shop-checkin-popup .shop-card-title,
.shop-donate-page .shop-progress-popup .shop-card-title {
  margin: 0;
  font-size: 1.34rem;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.shop-donate-page .shop-calendar-nav {
  gap: 8px;
}

.shop-donate-page .shop-calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 14px;
}

.shop-donate-page .shop-calendar-legend--popup {
  gap: 16px;
  margin: 14px 0 12px;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-grid {
  gap: 7px;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-weekday {
  color: #7489af;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgba(130, 160, 214, 0.18);
  background: rgba(250, 252, 255, 0.9);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #1f4582;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day.is-checked {
  border-color: rgba(54, 204, 113, 0.5);
  background:
    radial-gradient(circle at 18% 20%, rgba(86, 224, 139, 0.24), transparent 46%),
    linear-gradient(180deg, rgba(244, 255, 249, 0.98), rgba(231, 250, 240, 0.98));
  box-shadow: inset 0 0 0 1px rgba(86, 224, 139, 0.18), 0 10px 18px rgba(75, 190, 123, 0.14);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day.is-checked .shop-calendar-day-number {
  color: #0f6d38;
  background: rgba(86, 224, 139, 0.18);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-check {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #5ce08b;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(55, 178, 103, 0.28);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-actions--popup {
  margin-top: 14px;
}

.shop-donate-page .shop-checkin-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(130, 160, 214, 0.16);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.72);
}

.shop-donate-page .shop-checkin-history-head,
.shop-donate-page .shop-checkin-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-donate-page .shop-checkin-history-head {
  color: #244a77;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-donate-page .shop-checkin-history-list {
  display: grid;
  gap: 8px;
}

.shop-donate-page .shop-checkin-history-item {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #244a77;
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-donate-page .shop-checkin-history-item strong {
  color: #13884a;
}

.shop-donate-page .shop-checkin-history-item small,
.shop-donate-page .shop-checkin-history-empty {
  color: #6e80a2;
}

.shop-donate-page .shop-checkin-history-empty {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.shop-donate-page .shop-checkin-popup .shop-checkin-button {
  width: 100%;
  min-height: 42px;
}

.shop-donate-page .shop-checkin-popup .shop-calendar-status {
  margin: 10px 0 0;
  color: #6e80a2;
  font-size: 0.82rem;
  line-height: 1.5;
}

.shop-donate-page .shop-popup-progress-track {
  margin-top: 14px;
}

.shop-donate-page .shop-popup-progress-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: #7389ac;
  font-size: 0.72rem;
  font-weight: 800;
}

.shop-donate-page .shop-popup-progress-copy {
  margin: 14px 0 0;
}

.shop-donate-page .shop-popup-progress-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shop-donate-page .shop-popup-progress-actions .button {
  min-height: 40px;
  justify-content: center;
}

.shop-donate-page .shop-vip-section {
  padding-top: 8px;
}

@media (max-width: 1500px) {
  .shop-donate-page .shop-floating-shell {
    pointer-events: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(calc(100% - 48px), 1180px);
    margin: 0 auto 18px;
  }

  .shop-donate-page .shop-floating-left,
  .shop-donate-page .shop-floating-right {
    position: static;
    width: auto;
    pointer-events: auto;
  }

  .shop-donate-page .shop-floating-right {
    display: grid;
    gap: 16px;
  }

  .shop-donate-page .shop-donate-main {
    width: min(calc(100% - 48px), 874px);
  }
}

@media (max-width: 1120px) {
  .shop-donate-page .shop-floating-shell {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-popup-profile-stats,
  .shop-donate-page .shop-popup-progress-summary,
  .shop-donate-page .shop-popup-progress-perks,
  .shop-donate-page .shop-popup-progress-actions,
  .shop-donate-page .shop-topup-stage {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-donate-main {
    width: min(calc(100% - 32px), 760px);
  }
}

/* Shop Donate color emphasis tweaks */
.shop-donate-page .shop-topup-preview {
  border-color: rgba(255, 160, 64, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 243, 222, 0.98), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at top right, rgba(255, 183, 77, 0.24), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.shop-donate-page .shop-topup-preview span {
  color: #b66a18;
}

.shop-donate-page .shop-topup-preview strong {
  color: #ff8617;
  text-shadow: 0 10px 24px rgba(255, 134, 23, 0.18);
}

.shop-donate-page .shop-topup-brand-tile {
  border-color: rgba(89, 182, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(231, 248, 255, 0.96), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top left, rgba(100, 200, 255, 0.22), transparent 62%);
}

.shop-donate-page .shop-popup-stat.is-points,
.shop-donate-page .shop-popup-progress-perks > .is-daily,
.shop-donate-page .shop-vip-card-stats > div:first-child {
  border-color: rgba(73, 164, 255, 0.26);
  background:
    linear-gradient(145deg, rgba(232, 247, 255, 0.98), rgba(248, 252, 255, 0.94)),
    radial-gradient(circle at top left, rgba(88, 196, 255, 0.18), transparent 60%);
}

.shop-donate-page .shop-popup-stat.is-points strong,
.shop-donate-page .shop-popup-progress-perks > .is-daily strong,
.shop-donate-page .shop-vip-card-stats > div:first-child strong {
  color: #1490ff;
}

.shop-donate-page .shop-popup-stat.is-donate,
.shop-donate-page .shop-popup-progress-chip.is-donate {
  border-color: rgba(255, 176, 74, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 244, 225, 0.98), rgba(255, 252, 246, 0.95)),
    radial-gradient(circle at top right, rgba(255, 186, 77, 0.2), transparent 65%);
}

.shop-donate-page .shop-popup-stat.is-donate strong,
.shop-donate-page .shop-popup-progress-chip.is-donate strong {
  color: #ff8e1b;
}

.shop-donate-page .shop-popup-progress-chip.is-next-tier {
  border-color: rgba(174, 120, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(245, 238, 255, 0.98), rgba(252, 248, 255, 0.95)),
    radial-gradient(circle at top left, rgba(176, 122, 255, 0.18), transparent 60%);
}

.shop-donate-page .shop-popup-progress-chip.is-next-tier strong {
  color: #8b57ff;
}

.shop-donate-page .shop-popup-progress-perks > .is-hourly,
.shop-donate-page .shop-vip-card-stats > div:last-child {
  border-color: rgba(89, 214, 151, 0.24);
  background:
    linear-gradient(145deg, rgba(232, 255, 245, 0.98), rgba(247, 255, 251, 0.94)),
    radial-gradient(circle at top left, rgba(77, 223, 157, 0.16), transparent 60%);
}

.shop-donate-page .shop-popup-progress-perks > .is-hourly strong,
.shop-donate-page .shop-vip-card-stats > div:last-child strong {
  color: #15b86c;
}

.shop-donate-page .shop-vip-card-stats > div {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.shop-donate-page .shop-popup-progress-perks > .is-daily span,
.shop-donate-page .shop-vip-card-stats > div:first-child span {
  color: #1577d8;
}

.shop-donate-page .shop-popup-progress-perks > .is-hourly span,
.shop-donate-page .shop-vip-card-stats > div:last-child span {
  color: #0e9964;
}

.shop-donate-page .shop-popup-progress-perks > .is-daily strong,
.shop-donate-page .shop-popup-progress-perks > .is-hourly strong,
.shop-donate-page .shop-vip-card-stats strong {
  text-shadow: none;
}

.shop-donate-page .shop-topup-rate-note {
  margin: 12px 0 4px;
  color: #e8861a;
  font-size: 1.15rem;
  font-weight: 950;
  text-align: center;
  text-transform: none;
}

/* Final layout fix for QR order card */
.shop-donate-page .shop-topup-order {
  gap: 18px;
}

.shop-donate-page .shop-topup-order-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: start;
}

.shop-donate-page .shop-topup-qr-stack {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.shop-donate-page .shop-topup-qr-shell.is-centered {
  width: min(100%, 380px);
  padding: 18px;
}

.shop-donate-page .shop-topup-qr.is-large {
  width: 100%;
  max-width: 300px;
}

.shop-donate-page .shop-topup-transfer-box.is-centered {
  width: 100%;
  max-width: 100%;
  display: grid !important;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.shop-donate-page .shop-topup-transfer-box.is-centered code {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
}

.shop-donate-page .shop-topup-transfer-box.is-centered .shop-topup-help {
  max-width: 460px;
  margin: 0 auto;
}

.shop-donate-page .shop-topup-order-head {
  align-items: center;
}

.shop-donate-page .shop-topup-order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .shop-donate-page .shop-topup-order-grid {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-topup-qr-shell.is-centered {
    width: min(100%, 320px);
  }

  .shop-donate-page .shop-topup-qr.is-large {
    max-width: 260px;
  }
}

.shop-donate-page .shop-vip-card-list,
.shop-donate-page .shop-vip-card-list li {
  color: #d39a2f;
}

.shop-donate-page .shop-vip-card-list li::marker {
  color: #f0b546;
}

/* Global compact pass for 125% Windows scaling and smaller desktop viewports. */
@media (min-width: 1000px) and (max-width: 1700px) {
  html {
    font-size: 87.5%;
  }

  .site-header {
    min-height: 78px;
    padding: 10px 22px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-copy strong {
    font-size: 1.48rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a.nav-pill {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .header-cta,
  .header-auth-discord,
  .header-auth-login {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .header-auth-discord,
  .header-auth-login {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
  }

  .header-auth-trigger {
    min-width: 220px;
    max-width: 286px;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 14px;
  }

  .header-auth-avatar,
  .header-auth-avatar-fallback {
    width: 42px;
    height: 42px;
  }

  .header-auth-summary strong {
    font-size: 0.96rem;
  }

  .header-auth-summary small {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .header-auth-panel {
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100vh - 96px);
    overflow: auto;
    border-radius: 18px;
  }

  .section-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .repair-guide-page .section-shell {
    width: min(calc(100% - 32px), 1040px);
  }
}

/* Shop Donate layout guard: keep side popups out of the center work area. */
body.shop-donate-page {
  --shop-side-width: clamp(238px, 17vw, 310px);
  --shop-side-offset: clamp(14px, 1.4vw, 28px);
}

@media (min-width: 1280px) {
  .shop-donate-page .shop-donate-hero {
    padding-top: 118px;
  }

  .shop-donate-page .shop-floating-left,
  .shop-donate-page .shop-floating-right {
    top: 104px;
    bottom: auto;
    width: var(--shop-side-width);
    max-height: calc(100vh - 126px);
    overflow: auto;
    scrollbar-width: thin;
  }

  .shop-donate-page .shop-floating-left {
    left: var(--shop-side-offset);
  }

  .shop-donate-page .shop-floating-right {
    right: var(--shop-side-offset);
  }

  .shop-donate-page .shop-floating-card {
    padding: 14px;
    border-radius: 18px;
  }

  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    width: min(760px, calc(100vw - (2 * var(--shop-side-width)) - 104px));
    max-width: 760px;
  }

  .shop-donate-page .shop-topup-card {
    padding: 16px;
    border-radius: 22px;
  }

  .shop-donate-page .shop-donate-heading .section-title {
    font-size: clamp(2.6rem, 3.2vw, 3.55rem);
  }

  .shop-donate-page .shop-donate-heading {
    max-width: 700px;
  }

  .shop-donate-page .shop-profile-popup .shop-popup-profile-head {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .shop-donate-page .shop-popup-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .shop-donate-page .shop-popup-profile-name,
  .shop-donate-page .shop-checkin-popup .shop-card-title,
  .shop-donate-page .shop-progress-popup .shop-card-title {
    font-size: 1.12rem;
    letter-spacing: 0;
  }

  .shop-donate-page .shop-checkin-popup .shop-calendar-grid {
    gap: 5px;
  }

  .shop-donate-page .shop-checkin-popup .shop-calendar-day {
    border-radius: 12px;
    padding: 5px;
  }
}

@media (min-width: 1280px) and (max-width: 1500px) {
  .shop-donate-page .shop-floating-shell {
    display: block;
    width: auto;
    margin: 0;
  }

  .shop-donate-page .shop-floating-left,
  .shop-donate-page .shop-floating-right {
    position: fixed;
    pointer-events: auto;
  }

  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    width: min(640px, calc(100vw - (2 * var(--shop-side-width)) - 84px));
    max-width: 640px;
  }
}

@media (max-width: 1279px) {
  .shop-donate-page .shop-floating-shell {
    display: grid;
    grid-template-columns: 1fr;
    width: min(calc(100% - 32px), 760px);
    margin: 0 auto 18px;
  }

  .shop-donate-page .shop-floating-left,
  .shop-donate-page .shop-floating-right {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
  }

  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    width: min(calc(100% - 32px), 760px);
    max-width: 760px;
  }
}

/* Admin reconciliation page */
.admin-reconcile-page {
  --admin-bg: #f5f7fb;
  --admin-line: rgba(24, 49, 79, 0.12);
  --admin-text: #17233a;
  --admin-muted: #60708a;
  color: var(--admin-text);
  background:
    linear-gradient(180deg, #f7fbff 0%, #f3f6fb 100%);
}

.admin-reconcile-page::before,
.admin-reconcile-page::after {
  opacity: 0.1;
}

.admin-reconcile-main {
  width: min(calc(100% - 40px), 1380px);
  margin: 0 auto;
  padding: 128px 0 70px;
}

.admin-reconcile-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.admin-kicker {
  margin: 0 0 6px;
  color: #ff952b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-reconcile-toolbar h1,
.admin-panel h2 {
  margin: 0;
  color: #17365d;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.admin-reconcile-toolbar h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.admin-reconcile-toolbar p {
  margin: 8px 0 0;
  color: var(--admin-muted);
}

.admin-toolbar-actions,
.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-btn,
.admin-input,
.admin-icon-btn {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #ffffff;
  color: #234469;
  font: inherit;
  font-weight: 800;
}

.admin-btn,
.admin-icon-btn {
  min-height: 38px;
  padding: 9px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #5fc8ef, #657ff0);
}

.admin-input {
  min-height: 38px;
  min-width: 220px;
  padding: 8px 12px;
}

.admin-access-panel,
.admin-panel,
.admin-summary-card {
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(33, 62, 98, 0.08);
}

.admin-access-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  color: var(--admin-muted);
}

.admin-access-panel strong {
  color: #17365d;
}

.admin-access-panel.is-ok {
  border-color: rgba(64, 193, 122, 0.28);
  background: #f0fff6;
}

.admin-access-panel.is-warning {
  border-color: rgba(255, 182, 72, 0.32);
  background: #fff8e8;
}

.admin-access-panel.is-danger {
  border-color: rgba(230, 83, 92, 0.3);
  background: #fff2f4;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-summary-card {
  padding: 16px;
}

.admin-summary-card span,
.admin-summary-card small,
.admin-table small {
  display: block;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-summary-card strong {
  display: block;
  margin: 6px 0;
  color: #17365d;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.admin-summary-card.is-ok strong {
  color: #0aa36a;
}

.admin-summary-card.is-waiting strong {
  color: #d98b15;
}

.admin-summary-card.is-bad strong {
  color: #d73343;
}

.admin-panel {
  margin-bottom: 16px;
  padding: 16px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #ffffff;
}

.admin-table-compact {
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(24, 49, 79, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #526782;
  background: #f5f8fc;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  color: #1b3456;
  font-weight: 700;
}

.admin-table td > strong {
  display: block;
  color: #14345e;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3fb;
  color: #53667f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-status.is-ok {
  background: #dff9eb;
  color: #078a56;
}

.admin-status.is-waiting {
  background: #fff2cf;
  color: #b67400;
}

.admin-status.is-bad {
  background: #ffe4e8;
  color: #c72f3e;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.admin-empty-row,
.admin-muted {
  color: var(--admin-muted);
}

@media (max-width: 980px) {
  .admin-reconcile-main {
    width: min(calc(100% - 28px), 760px);
    padding-top: 118px;
  }

  .admin-reconcile-toolbar,
  .admin-panel-head,
  .admin-access-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-summary-grid,
  .admin-grid-two {
    grid-template-columns: 1fr;
  }

  .admin-input {
    width: 100%;
    min-width: 0;
  }
}

/* Final density guard: keep shared header, auth menu and donate panels usable at 1920x1080 with Windows 125% scaling. */
:root {
  --arkvn-header-height: clamp(72px, 5vw, 96px);
}

.site-header {
  min-height: var(--arkvn-header-height);
  padding-block: clamp(8px, 0.7vw, 12px);
  padding-inline: clamp(16px, 1.35vw, 28px);
  gap: clamp(12px, 1vw, 20px);
}

.brand {
  gap: clamp(9px, 0.8vw, 14px);
}

.brand-mark {
  width: clamp(54px, 3.8vw, 74px);
  height: clamp(54px, 3.8vw, 74px);
}

.brand-copy strong {
  font-size: clamp(1.42rem, 1.45vw, 1.82rem);
}

.brand-copy small {
  font-size: clamp(0.66rem, 0.65vw, 0.88rem);
  letter-spacing: clamp(0.15em, 0.2vw, 0.22em);
}

.site-nav {
  gap: clamp(8px, 0.8vw, 16px);
}

.site-nav a.nav-pill {
  padding: clamp(7px, 0.55vw, 9px) clamp(10px, 0.85vw, 14px);
  border-radius: clamp(9px, 0.75vw, 12px);
  font-size: clamp(0.66rem, 0.64vw, 0.82rem);
}

.header-cta,
.button,
.step-link {
  padding: clamp(8px, 0.68vw, 12px) clamp(13px, 1.05vw, 22px);
  border-radius: clamp(9px, 0.8vw, 12px);
  font-size: clamp(0.72rem, 0.68vw, 0.92rem);
  letter-spacing: clamp(0.08em, 0.1vw, 0.12em);
}

.header-auth-row {
  gap: clamp(8px, 0.65vw, 10px);
}

.header-auth-discord,
.header-auth-login {
  min-height: 44px;
  min-width: clamp(140px, 8.5vw, 180px);
  padding: clamp(11px, 0.72vw, 14px) clamp(15px, 0.92vw, 20px);
  font-size: clamp(0.85rem, 0.75vw, 0.95rem);
  letter-spacing: 0.07em;
}

.header-auth-trigger {
  min-width: clamp(188px, 14.8vw, 274px);
  max-width: clamp(214px, 17.8vw, 300px);
  gap: clamp(8px, 0.7vw, 12px);
  padding: clamp(7px, 0.62vw, 10px) clamp(10px, 0.8vw, 14px);
  border-radius: clamp(12px, 0.95vw, 16px);
}

.header-auth-avatar,
.header-auth-avatar-fallback {
  width: clamp(34px, 2.4vw, 42px);
  height: clamp(34px, 2.4vw, 42px);
}

.header-auth-summary strong {
  font-size: clamp(0.84rem, 0.72vw, 0.98rem);
}

.header-auth-summary small {
  font-size: clamp(0.62rem, 0.58vw, 0.76rem);
}

.header-auth-panel {
  position: fixed;
  top: calc(var(--arkvn-header-height) + 10px);
  right: clamp(10px, 1.35vw, 28px);
  width: min(390px, calc(100vw - 24px));
  max-height: calc(100dvh - var(--arkvn-header-height) - 22px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(12px, 1vw, 18px);
}

body.shop-donate-page {
  --shop-side-width: clamp(224px, 16vw, 300px);
  --shop-side-offset: clamp(12px, 1.2vw, 24px);
}

.shop-donate-page .shop-donate-hero {
  padding-top: calc(var(--arkvn-header-height) + clamp(34px, 4vh, 62px));
}

.shop-donate-page .shop-floating-left,
.shop-donate-page .shop-floating-right {
  top: calc(var(--arkvn-header-height) + 16px);
  bottom: auto;
  width: var(--shop-side-width);
  max-height: calc(100dvh - var(--arkvn-header-height) - 34px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.shop-donate-page .shop-floating-left {
  left: var(--shop-side-offset);
}

.shop-donate-page .shop-floating-right {
  right: var(--shop-side-offset);
}

.shop-donate-page .shop-floating-card {
  padding: clamp(12px, 0.9vw, 18px);
  border-radius: clamp(16px, 1.25vw, 24px);
}

.shop-donate-page .shop-donate-main,
.shop-donate-page .shop-topup-card {
  width: min(760px, calc(100vw - (2 * var(--shop-side-width)) - 104px));
  max-width: 760px;
}

.shop-donate-page .shop-topup-card {
  padding: clamp(14px, 1vw, 18px);
  border-radius: clamp(20px, 1.45vw, 28px);
}

.shop-donate-page .shop-donate-heading {
  max-width: min(700px, calc(100vw - (2 * var(--shop-side-width)) - 92px));
}

.shop-donate-page .shop-donate-heading .section-title {
  font-size: clamp(2.25rem, 3.05vw, 4.4rem);
}

.shop-donate-page .shop-topup-title {
  font-size: clamp(1.45rem, 1.85vw, 2.2rem);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 0.35vw, 6px);
}

.shop-donate-page .shop-checkin-popup .shop-calendar-day {
  min-width: 0;
  padding: clamp(4px, 0.35vw, 6px);
  border-radius: 12px;
}

@media (max-height: 900px) and (min-width: 1000px) {
  html {
    font-size: 84%;
  }

  :root {
    --arkvn-header-height: 72px;
  }

  .shop-donate-page .shop-donate-hero {
    padding-top: calc(var(--arkvn-header-height) + 30px);
  }

  .shop-donate-page .shop-floating-card {
    padding: 12px;
  }

  .shop-donate-page .shop-profile-stats,
  .shop-donate-page .shop-popup-progress-summary,
  .shop-donate-page .shop-popup-progress-perks {
    gap: 8px;
  }
}

@media (max-width: 1320px) {
  .brand-copy small {
    display: none;
  }

  .header-auth-trigger {
    min-width: 180px;
  }
}

@media (max-width: 1180px) {
  .shop-donate-page .shop-donate-heading {
    max-width: min(calc(100% - 32px), 760px);
  }

  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    width: min(calc(100% - 32px), 760px);
  }
}

/* Site-wide density pass v2: one scale system for 125% desktop and smaller browser viewports. */
@media (min-width: 1000px) {
  body.is-density-compact {
    --max-width: 1080px;
    --arkvn-header-height: 74px;
  }

  body.is-density-tight {
    --max-width: 1020px;
    --arkvn-header-height: 68px;
  }

  body.is-density-compact .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: var(--arkvn-header-height);
    padding: 8px 20px;
  }

  body.is-density-compact .brand-mark {
    width: 52px;
    height: 52px;
  }

  body.is-density-tight .brand-mark {
    width: 46px;
    height: 46px;
  }

  body.is-density-compact .brand-copy strong {
    font-size: 1.32rem;
  }

  body.is-density-compact .brand-copy small {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  body.is-density-compact .site-nav {
    gap: 8px;
  }

  body.is-density-compact .site-nav a.nav-pill,
  body.is-density-compact .header-cta,
  body.is-density-compact .button,
  body.is-density-compact .step-link {
    min-height: 0;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  body.is-density-tight .site-nav a.nav-pill,
  body.is-density-tight .header-cta,
  body.is-density-tight .button,
  body.is-density-tight .step-link {
    padding: 7px 11px;
    font-size: 0.68rem;
  }

  body.is-density-compact .header-auth-row {
    gap: 8px;
  }

  body.is-density-compact .header-auth-trigger {
    min-width: 210px;
    max-width: 248px;
    padding: 7px 10px;
    border-radius: 13px;
  }

  body.is-density-tight .header-auth-trigger {
    min-width: 190px;
    max-width: 228px;
  }

  body.is-density-compact .header-auth-avatar,
  body.is-density-compact .header-auth-avatar-fallback {
    width: 36px;
    height: 36px;
  }

  body.is-density-compact .header-auth-summary strong {
    font-size: 0.84rem;
  }

  body.is-density-compact .header-auth-summary small {
    font-size: 0.62rem;
  }

  body.is-density-compact .header-auth-panel {
    top: calc(var(--arkvn-header-height) + 8px);
    right: 18px;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100dvh - var(--arkvn-header-height) - 18px);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  body.is-density-compact .header-auth-title {
    font-size: 1.08rem;
  }

  body.is-density-compact .header-auth-meta,
  body.is-density-compact .header-auth-note,
  body.is-density-compact .header-auth-empty {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  body.is-density-compact .header-auth-grid,
  body.is-density-compact .header-auth-server-list {
    gap: 8px;
  }

  body.is-density-compact .header-auth-stat,
  body.is-density-compact .header-auth-server-item {
    padding: 9px 10px;
    border-radius: 12px;
  }

  body.is-density-compact .section {
    padding-top: clamp(42px, 5vh, 68px);
    padding-bottom: clamp(42px, 5vh, 68px);
  }

  body.is-density-compact .section-heading {
    margin-bottom: clamp(22px, 3vh, 36px);
  }

  body.is-density-compact .section-title {
    font-size: clamp(1.8rem, 2.35vw, 3.15rem);
    line-height: 1.02;
  }

  body.is-density-compact .section-description,
  body.is-density-compact .panel-text,
  body.is-density-compact .panel-note,
  body.is-density-compact .step-card p,
  body.is-density-compact .news-card p,
  body.is-density-compact .repair-step-lead,
  body.is-density-compact .repair-catalog-text {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  body.is-density-compact .intro-card,
  body.is-density-compact .side-card,
  body.is-density-compact .step-card,
  body.is-density-compact .news-card,
  body.is-density-compact .repair-step-card,
  body.is-density-compact .repair-video-card,
  body.is-density-compact .repair-command-panel,
  body.is-density-compact .repair-callout,
  body.is-density-compact .casino-kpi-card {
    padding: 16px;
    border-radius: 18px;
  }

  body.is-density-compact .server-browser {
    grid-template-columns: minmax(260px, 318px) minmax(0, 680px);
    gap: 22px;
    justify-content: center;
    align-items: start;
  }

  body.is-density-compact .server-browser-sidebar {
    grid-column: auto;
    top: calc(var(--arkvn-header-height) + 18px);
    padding: 14px;
    border-radius: 18px;
  }

  body.is-density-compact .server-browser-main {
    grid-column: auto;
    width: 100%;
    max-width: 680px;
    gap: 12px;
  }

  body.is-density-compact .server-browser-intro,
  body.is-density-compact .server-rates-shell,
  body.is-density-compact .server-detail-shell,
  body.is-density-compact .server-side-card {
    padding: 14px;
    border-radius: 16px;
  }

  body.is-density-compact .server-browser-note {
    margin: 8px 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  body.is-density-compact .server-map-list {
    gap: 8px;
  }

  body.is-density-compact .server-map-button {
    min-height: 63px;
    padding: 8px 10px;
    border-radius: 11px;
  }

  body.is-density-compact .server-map-button span {
    margin-bottom: 3px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  body.is-density-compact .server-map-button strong {
    font-size: 0.83rem;
    line-height: 1.18;
  }

  body.is-density-compact .server-rates-title {
    font-size: clamp(1.05rem, 1vw, 1.18rem);
    line-height: 1.16;
  }

  body.is-density-compact .server-rates-grid {
    gap: 8px;
  }

  body.is-density-compact .server-rates-shell .intro-rate-card {
    min-height: 74px;
    padding: 10px;
    border-radius: 14px;
  }

  body.is-density-compact .server-rates-shell .intro-rate-card span {
    font-size: 0.55rem;
  }

  body.is-density-compact .server-rates-shell .intro-rate-card strong {
    font-size: 1.22rem;
  }

  body.is-density-compact .server-rates-shell .intro-rate-card small {
    font-size: 0.74rem;
    line-height: 1.36;
  }

  body.is-density-compact .server-detail-title {
    font-size: clamp(1.18rem, 1.1vw, 1.36rem);
  }

  body.is-density-compact .server-detail-description,
  body.is-density-compact .server-side-card .section-description,
  body.is-density-compact .server-side-card p,
  body.is-density-compact .server-side-card li {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  body.is-density-compact .server-detail-card {
    min-height: 72px;
    padding: 10px;
    border-radius: 14px;
  }

  body.is-density-compact .server-detail-card strong {
    font-size: 0.9rem;
  }

  body.is-density-compact .server-detail-tab {
    min-height: 48px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
  }

  body.is-density-compact .server-side-stack {
    gap: 10px;
  }

  body.is-density-compact.shop-donate-page {
    --shop-side-width: clamp(214px, 14vw, 258px);
    --shop-side-offset: clamp(8px, 0.8vw, 16px);
  }

  body.is-density-tight.shop-donate-page {
    --shop-side-width: clamp(204px, 13vw, 238px);
  }

  body.is-density-compact.shop-donate-page .shop-donate-hero {
    padding-top: calc(var(--arkvn-header-height) + 26px);
    padding-bottom: 12px;
  }

  body.is-density-compact.shop-donate-page .shop-donate-heading {
    max-width: min(620px, calc(100vw - (2 * var(--shop-side-width)) - 76px));
  }

  body.is-density-compact.shop-donate-page .shop-donate-heading .section-title {
    font-size: clamp(2rem, 2.75vw, 3.2rem);
  }

  body.is-density-compact.shop-donate-page .shop-donate-description {
    font-size: 0.86rem;
  }

  body.is-density-compact.shop-donate-page .shop-donate-pill-row,
  body.is-density-compact.shop-donate-page .shop-donate-action-row {
    gap: 8px;
  }

  body.is-density-compact.shop-donate-page .shop-donate-pill {
    padding: 7px 12px;
    font-size: 0.68rem;
  }

  body.is-density-compact.shop-donate-page .shop-floating-left,
  body.is-density-compact.shop-donate-page .shop-floating-right {
    top: calc(var(--arkvn-header-height) + 10px);
    width: var(--shop-side-width);
    max-height: calc(100dvh - var(--arkvn-header-height) - 18px);
  }

  body.is-density-compact.shop-donate-page .shop-floating-right {
    gap: 8px;
  }

  body.is-density-compact.shop-donate-page .shop-floating-card {
    padding: 10px;
    border-radius: 14px;
  }

  body.is-density-compact.shop-donate-page .shop-donate-main,
  body.is-density-compact.shop-donate-page .shop-topup-card {
    width: min(620px, calc(100vw - (2 * var(--shop-side-width)) - 84px));
    max-width: 620px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-card {
    padding: 14px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-stage {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-form-shell,
  body.is-density-compact.shop-donate-page .shop-topup-brand-tile,
  body.is-density-compact.shop-donate-page .shop-topup-preview {
    padding: 12px;
    border-radius: 16px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-title {
    font-size: clamp(1.32rem, 1.7vw, 1.9rem);
  }

  body.is-density-compact.shop-donate-page .shop-topup-amount-grid {
    gap: 8px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-amount,
  body.is-density-compact.shop-donate-page .shop-topup-submit {
    min-height: 38px;
    border-radius: 12px;
  }

  body.is-density-compact.shop-donate-page .shop-topup-input-shell input {
    min-height: 42px;
  }

  body.is-density-compact.shop-donate-page .shop-popup-profile-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }

  body.is-density-compact.shop-donate-page .shop-popup-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  body.is-density-compact.shop-donate-page .shop-popup-profile-name,
  body.is-density-compact.shop-donate-page .shop-floating-card > .shop-card-title,
  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-card-title,
  body.is-density-compact.shop-donate-page .shop-progress-popup .shop-card-title {
    font-size: 0.98rem;
    line-height: 1.08;
  }

  body.is-density-compact.shop-donate-page .shop-profile-login,
  body.is-density-compact.shop-donate-page .shop-profile-empty .button {
    width: 100%;
    min-width: 0;
  }

  body.is-density-compact.shop-donate-page .shop-card-kicker,
  body.is-density-compact.shop-donate-page .shop-popup-line span,
  body.is-density-compact.shop-donate-page .shop-popup-stat span,
  body.is-density-compact.shop-donate-page .shop-popup-progress-chip span,
  body.is-density-compact.shop-donate-page .shop-popup-progress-perks span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  body.is-density-compact.shop-donate-page .shop-card-copy,
  body.is-density-compact.shop-donate-page .shop-popup-line,
  body.is-density-compact.shop-donate-page .shop-popup-muted,
  body.is-density-compact.shop-donate-page .shop-calendar-status,
  body.is-density-compact.shop-donate-page .shop-popup-progress-copy {
    font-size: 0.74rem;
    line-height: 1.42;
  }

  body.is-density-compact.shop-donate-page .shop-popup-profile-stats,
  body.is-density-compact.shop-donate-page .shop-popup-progress-summary,
  body.is-density-compact.shop-donate-page .shop-popup-progress-perks {
    gap: 6px;
  }

  body.is-density-compact.shop-donate-page .shop-popup-stat,
  body.is-density-compact.shop-donate-page .shop-popup-progress-chip,
  body.is-density-compact.shop-donate-page .shop-popup-progress-perks > div {
    padding: 8px;
    border-radius: 12px;
  }

  body.is-density-compact.shop-donate-page .shop-popup-stat strong,
  body.is-density-compact.shop-donate-page .shop-popup-progress-chip strong,
  body.is-density-compact.shop-donate-page .shop-popup-progress-perks strong {
    font-size: 0.96rem;
  }

  body.is-density-compact.shop-donate-page .shop-calendar-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  body.is-density-compact.shop-donate-page .shop-calendar-legend--popup {
    gap: 8px;
    margin: 8px 0;
  }

  body.is-density-compact.shop-donate-page .shop-calendar-legend--popup span {
    font-size: 0.62rem;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-grid {
    gap: 3px;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-weekday {
    font-size: 0.56rem;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-day {
    padding: 4px;
    border-radius: 9px;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-day-number {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 0.68rem;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-check {
    right: 4px;
    bottom: 4px;
    width: 16px;
    height: 16px;
    font-size: 0.68rem;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-calendar-actions--popup,
  body.is-density-compact.shop-donate-page .shop-popup-progress-track,
  body.is-density-compact.shop-donate-page .shop-popup-progress-copy,
  body.is-density-compact.shop-donate-page .shop-popup-progress-actions {
    margin-top: 8px;
  }

  body.is-density-compact.shop-donate-page .shop-checkin-popup .shop-checkin-button,
  body.is-density-compact.shop-donate-page .shop-popup-progress-actions .button {
    min-height: 34px;
  }
}

@media (min-width: 1000px) and (max-width: 1180px) {
  body.is-density-compact .server-browser {
    grid-template-columns: 1fr;
  }

  body.is-density-compact .server-browser-sidebar {
    position: static;
  }

  body.is-density-compact .server-map-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-donate-page {
  overflow-x: hidden;
}

.shop-donate-page *,
.shop-donate-page *::before,
.shop-donate-page *::after {
  box-sizing: border-box;
}

.shop-donate-page .shop-topup-mode-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shop-donate-page .shop-topup-mode-shell > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-donate-page .shop-topup-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.shop-donate-page .shop-topup-mode {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  color: #f9fbff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(6, 11, 23, 0.64);
  cursor: pointer;
}

.shop-donate-page .shop-topup-mode strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.15;
}

.shop-donate-page .shop-topup-mode small {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.78rem;
  line-height: 1.35;
}

.shop-donate-page .shop-topup-mode.is-active {
  border-color: rgba(255, 213, 74, 0.82);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(20, 184, 166, 0.68));
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.18);
}

.shop-donate-page .shop-topup-custom {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffca3a, #f59e0b);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.25);
}

.shop-donate-page .shop-topup-custom span {
  color: #fffaf0;
  text-shadow: 0 1px 8px rgba(92, 53, 0, 0.34);
}

.shop-donate-page .shop-topup-custom .shop-topup-input-shell {
  background: rgba(104, 58, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.62);
}

.shop-donate-page .shop-topup-custom input {
  color: #ffffff;
  background: transparent;
  font-weight: 950;
}

.shop-donate-page .shop-topup-custom input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.shop-donate-page .shop-topup-custom em {
  color: #ffffff;
  font-weight: 950;
}

@media (max-width: 1279px) {
  .shop-donate-page .shop-floating-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: min(calc(100% - 28px), 760px) !important;
    margin: 0 auto 18px !important;
  }

  .shop-donate-page .shop-floating-left,
  .shop-donate-page .shop-floating-right {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    max-height: none !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .shop-donate-page .shop-floating-card {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .shop-donate-page .shop-donate-heading,
  .shop-donate-page .shop-donate-main,
  .shop-donate-page .shop-topup-card {
    width: min(calc(100% - 28px), 760px) !important;
    max-width: 760px !important;
  }
}

@media (max-width: 1180px) {
  .shop-donate-page .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }

  .shop-donate-page .site-nav {
    position: static !important;
    inset: auto !important;
    grid-column: 1 / -1;
    order: 3;
    display: flex !important;
    width: 100%;
    max-height: none;
    padding: 0;
    overflow-x: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .shop-donate-page .site-nav a.nav-pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .shop-donate-page .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .shop-donate-page .site-nav {
    display: none !important;
  }

  .shop-donate-page .header-auth {
    justify-self: end;
    min-width: 0;
  }

  .shop-donate-page .header-auth-discord {
    display: none;
  }

  .shop-donate-page .shop-floating-shell {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    overflow: hidden;
  }

  .shop-donate-page .shop-floating-card {
    max-width: 100% !important;
    padding: 12px !important;
  }

  .shop-donate-page .shop-floating-card .shop-card-copy,
  .shop-donate-page .shop-calendar-status,
  .shop-donate-page .shop-popup-muted,
  .shop-donate-page .shop-popup-progress-copy {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  .shop-donate-page .shop-popup-calendar-head {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .shop-donate-page .shop-calendar-nav {
    justify-content: flex-start;
  }

  .shop-donate-page .shop-calendar-grid {
    min-width: 0;
  }

  .shop-donate-page .shop-donate-hero {
    padding-top: calc(var(--arkvn-header-height, 72px) + 36px) !important;
    padding-inline: 0;
  }

  .shop-donate-page .shop-donate-heading {
    width: min(calc(100vw - 28px), 360px) !important;
    max-width: calc(100vw - 28px) !important;
    overflow: hidden;
  }

  .shop-donate-page .shop-donate-heading .section-title {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.2vw, 2.35rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .shop-donate-page .shop-donate-heading .section-title span {
    display: block;
  }

  .shop-donate-page .shop-card-title,
  .shop-donate-page .shop-profile-name,
  .shop-donate-page .shop-popup-profile-name,
  .shop-donate-page .shop-floating-card > .shop-card-title {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
    font-size: clamp(1.18rem, 6vw, 1.72rem) !important;
    line-height: 1.08 !important;
  }

  .shop-donate-page .shop-donate-description {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .shop-donate-page .shop-donate-pill-row,
  .shop-donate-page .shop-donate-action-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .shop-donate-page .shop-donate-pill,
  .shop-donate-page .shop-hero-button,
  .shop-donate-page .shop-hero-button-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .shop-donate-page .shop-topup-stage,
  .shop-donate-page .shop-topup-order-content,
  .shop-donate-page .shop-topup-order-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-donate-page .shop-topup-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .shop-donate-page .shop-topup-mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .shop-donate-page .shop-topup-amount-grid {
    grid-template-columns: 1fr !important;
  }
}

.shop-donate-page .shop-topup-mode {
  color: #17365d;
  border-color: rgba(96, 165, 250, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.94));
}

.shop-donate-page .shop-topup-mode strong {
  color: #17365d;
}

.shop-donate-page .shop-topup-mode small {
  color: #52647c;
}

.shop-donate-page .shop-topup-mode.is-active {
  border-color: rgba(20, 184, 166, 0.78);
  background: linear-gradient(135deg, #17365d, #0f766e);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.18);
}

.shop-donate-page .shop-topup-mode.is-active strong,
.shop-donate-page .shop-topup-mode.is-active small {
  color: #ffffff;
}

.shop-donate-page .shop-topup-custom {
  border-color: rgba(245, 158, 11, 0.58);
  background: linear-gradient(135deg, #fff4bf, #ffd166);
}

.shop-donate-page .shop-topup-custom span,
.shop-donate-page .shop-topup-custom input,
.shop-donate-page .shop-topup-custom em {
  color: #17365d;
  text-shadow: none;
}

.shop-donate-page .shop-topup-custom .shop-topup-input-shell {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 54, 93, 0.34);
}

.shop-donate-page .shop-topup-custom input::placeholder {
  color: rgba(23, 54, 93, 0.52);
}

.shop-donate-page .shop-service-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.shop-donate-page .shop-service-head,
.shop-donate-page .shop-service-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.shop-donate-page .shop-service-head span,
.shop-donate-page .shop-service-detail-head span,
.shop-donate-page .shop-service-quantity > span,
.shop-donate-page .shop-service-custom-amount > span {
  color: #f97316;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-donate-page .shop-service-head strong,
.shop-donate-page .shop-service-detail-head strong {
  color: #17365d;
  font-size: 0.98rem;
  line-height: 1.15;
}

.shop-donate-page .shop-service-detail-head em {
  flex: 0 0 auto;
  color: #0f766e;
  font-style: normal;
  font-weight: 950;
}

.shop-donate-page .shop-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shop-donate-page .shop-service-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 96px;
  padding: 10px;
  text-align: left;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  cursor: pointer;
}

.shop-donate-page .shop-service-card span {
  color: #17365d;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.16;
}

.shop-donate-page .shop-service-card strong {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 950;
}

.shop-donate-page .shop-service-card small {
  color: #53667f;
  font-size: 0.7rem;
  line-height: 1.3;
}

.shop-donate-page .shop-service-card.is-active {
  border-color: rgba(249, 115, 22, 0.72);
  background: linear-gradient(135deg, #fff7ed, #ecfeff);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.14);
}

.shop-donate-page .shop-service-detail {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(20, 184, 166, 0.26);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.96));
}

.shop-donate-page .shop-service-detail p,
.shop-donate-page .shop-service-detail small {
  margin: 0;
  color: #53667f;
  line-height: 1.48;
}

.shop-donate-page .shop-service-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-donate-page .shop-service-quantity div {
  display: inline-grid;
  grid-template-columns: 34px 48px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 54, 93, 0.18);
  border-radius: 999px;
  background: #ffffff;
}

.shop-donate-page .shop-service-quantity button {
  width: 34px;
  height: 34px;
  color: #17365d;
  font-size: 1.25rem;
  font-weight: 950;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shop-donate-page .shop-service-quantity strong {
  color: #17365d;
  text-align: center;
}

.shop-donate-page .shop-service-stats-grid {
  display: grid;
  gap: 6px;
}

.shop-donate-page .shop-service-stat-row {
  display: grid;
  grid-template-columns: minmax(76px, 0.86fr) repeat(2, minmax(0, 1fr)) minmax(68px, auto);
  gap: 6px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(226, 232, 240, 0.55);
  opacity: 0.72;
}

.shop-donate-page .shop-service-stat-row.is-enabled {
  border-color: rgba(20, 184, 166, 0.42);
  background: #ffffff;
  opacity: 1;
}

.shop-donate-page .shop-service-stat-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #17365d;
  font-size: 0.82rem;
  font-weight: 950;
}

.shop-donate-page .shop-service-stat-row input[type="number"],
.shop-donate-page .shop-service-request,
.shop-donate-page .shop-service-custom-amount .shop-topup-input-shell {
  width: 100%;
  min-width: 0;
  color: #17365d;
  border: 1px solid rgba(23, 54, 93, 0.18);
  border-radius: 12px;
  background: #ffffff;
}

.shop-donate-page .shop-service-stat-row input[type="number"] {
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.shop-donate-page .shop-service-stat-row input:disabled {
  color: rgba(23, 54, 93, 0.36);
  background: rgba(241, 245, 249, 0.82);
}

.shop-donate-page .shop-service-stat-row > strong {
  color: #0f766e;
  font-size: 0.78rem;
  text-align: right;
}

.shop-donate-page .shop-service-request {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.shop-donate-page .shop-service-custom-amount {
  display: grid;
  gap: 8px;
}

.shop-donate-page .shop-topup-service-summary {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 16px;
  background: rgba(240, 253, 250, 0.82);
}

.shop-donate-page .shop-topup-service-summary span {
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-donate-page .shop-topup-service-summary p {
  margin: 0;
  color: #17365d;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .shop-donate-page .shop-service-grid,
  .shop-donate-page .shop-service-stat-row {
    grid-template-columns: 1fr;
  }

  .shop-donate-page .shop-service-stat-row > strong {
    text-align: left;
  }
}

/* Donate spacing refinement: keep restored control scale, trim empty layout gaps. */
.shop-donate-page {
  --shop-popup-gap: 12px;
}

.shop-donate-page main {
  padding-bottom: clamp(64px, 6vw, 88px);
}

.shop-donate-page .shop-donate-hero {
  padding-bottom: 8px;
}

.shop-donate-page .shop-donate-center {
  padding-top: 0;
  padding-bottom: clamp(52px, 5vw, 76px);
}

.shop-donate-page .shop-floating-shell {
  gap: 12px;
}

.shop-donate-page .shop-floating-right {
  gap: 12px;
}

.shop-donate-page .shop-donate-main {
  gap: 16px;
}

.shop-donate-page .shop-topup-card {
  margin-bottom: 0;
}

.shop-donate-page .shop-topup-panel {
  gap: 14px;
}

.shop-donate-page .shop-donate-pill-row {
  gap: 10px;
  margin-top: 16px;
}

.shop-donate-action-row {
  gap: 10px;
  margin-top: 8px;
}

.shop-donate-page .shop-vip-section {
  gap: 16px;
  padding-top: 0;
}

.shop-donate-page .shop-vip-section > .section-heading {
  margin-bottom: 0;
}

.shop-donate-page .shop-vip-grid,
.shop-donate-page .shop-vip-note-grid {
  gap: 12px;
}

.shop-donate-page .shop-service-card,
.shop-donate-page .shop-service-card *,
.shop-donate-page .shop-service-shell button,
.shop-donate-page .shop-service-shell input,
.shop-donate-page .shop-service-shell textarea {
  font-family: "Barlow Condensed", sans-serif;
}

@media (max-width: 1500px) {
  .shop-donate-page .shop-floating-shell {
    gap: 12px;
    margin-bottom: 12px;
  }
}

@media (max-width: 720px) {
  .shop-donate-page main {
    padding-bottom: 56px;
  }

  .shop-donate-page .shop-donate-hero {
    padding-bottom: 6px;
  }

  .shop-donate-page .shop-floating-shell {
    margin-bottom: 12px !important;
  }

  .shop-donate-page .shop-donate-main {
    gap: 14px;
  }

  .shop-donate-page .shop-topup-card {
    margin-bottom: 0;
  }

  .shop-donate-page .shop-vip-section {
    gap: 14px;
  }
}

.shop-donate-page .shop-service-picker-detail {
  align-items: stretch;
}

.shop-donate-page .shop-service-picker-summary {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.shop-donate-page .shop-service-picker-summary span {
  color: #53667f;
  font-size: 0.82rem;
  line-height: 1.35;
}

.shop-donate-page .shop-service-picker-summary strong {
  color: #17365d;
}

.shop-donate-page .shop-service-picker-open {
  width: 100%;
  min-height: 40px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #17365d, #0f766e);
}

.shop-donate-page .shop-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 12, 23, 0.72);
  backdrop-filter: blur(12px);
}

.shop-donate-page .shop-picker-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: min(1180px, calc(100vw - 44px));
  max-height: min(840px, calc(100dvh - 44px));
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(125, 197, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 213, 74, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(237, 246, 255, 0.98));
  box-shadow: 0 34px 90px rgba(3, 8, 18, 0.42);
}

.shop-donate-page .shop-picker-head,
.shop-donate-page .shop-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.shop-donate-page .shop-picker-head span,
.shop-donate-page .shop-picker-column-head span,
.shop-donate-page .shop-picker-summary span {
  color: #f97316;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-donate-page .shop-picker-head strong {
  display: block;
  color: #17365d;
  font-size: 1.32rem;
  line-height: 1.1;
}

.shop-donate-page .shop-picker-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: #17365d;
  font-size: 1.45rem;
  font-weight: 900;
  border: 1px solid rgba(23, 54, 93, 0.14);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.shop-donate-page .shop-picker-error,
.shop-donate-page .shop-picker-empty {
  margin: 0;
  color: #b45309;
  font-size: 0.88rem;
  line-height: 1.4;
}

.shop-donate-page .shop-picker-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.86fr) minmax(300px, 1.28fr) minmax(220px, 1fr);
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}

.shop-donate-page .shop-picker-column {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.shop-donate-page .shop-picker-descriptions {
  grid-template-rows: auto minmax(0, 1fr);
}

.shop-donate-page .shop-picker-column-head {
  display: grid;
  gap: 2px;
}

.shop-donate-page .shop-picker-column-head strong {
  color: #17365d;
  font-size: 1rem;
  line-height: 1.15;
}

.shop-donate-page .shop-picker-search,
.shop-donate-page .shop-picker-note {
  width: 100%;
  min-width: 0;
  color: #17365d;
  border: 1px solid rgba(23, 54, 93, 0.18);
  border-radius: 12px;
  background: #ffffff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
}

.shop-donate-page .shop-picker-search {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.shop-donate-page .shop-picker-note {
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  font-size: 0.92rem;
  line-height: 1.45;
}

.shop-donate-page .shop-picker-list,
.shop-donate-page .shop-picker-description-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 7px;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 54, 93, 0.52) rgba(214, 232, 255, 0.72);
}

.shop-donate-page .shop-picker-list::-webkit-scrollbar,
.shop-donate-page .shop-picker-description-list::-webkit-scrollbar {
  width: 9px;
}

.shop-donate-page .shop-picker-list::-webkit-scrollbar-track,
.shop-donate-page .shop-picker-description-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(214, 232, 255, 0.72);
}

.shop-donate-page .shop-picker-list::-webkit-scrollbar-thumb,
.shop-donate-page .shop-picker-description-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(214, 232, 255, 0.72);
  border-radius: 999px;
  background: rgba(23, 54, 93, 0.56);
}

.shop-donate-page .shop-picker-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: #17365d;
  text-align: left;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  cursor: pointer;
}

.shop-donate-page .shop-picker-option-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shop-donate-page .shop-picker-option-name,
.shop-donate-page .shop-picker-option > span:not(.shop-picker-qty) {
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.12;
}

.shop-donate-page .shop-picker-option small {
  color: #64748b;
  font-size: 0.72rem;
}

.shop-donate-page .shop-picker-option.is-active {
  color: #ffffff;
  border-color: rgba(20, 184, 166, 0.78);
  background: linear-gradient(135deg, #17365d, #0f766e);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.16);
}

.shop-donate-page .shop-picker-option.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.shop-donate-page .shop-picker-qty {
  display: inline-grid;
  grid-template-columns: 24px 26px 24px;
  align-items: center;
  overflow: hidden;
  min-width: 74px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.shop-donate-page .shop-picker-qty strong {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.shop-donate-page .shop-picker-qty-btn {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #17365d;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.shop-donate-page .shop-picker-qty-btn:hover {
  background: #ffcc3d;
}

.shop-donate-page .shop-picker-description {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.86);
}

.shop-donate-page .shop-picker-description.is-active {
  border-color: rgba(249, 115, 22, 0.48);
  background: linear-gradient(135deg, #fff7ed, #ecfeff);
}

.shop-donate-page .shop-picker-description strong {
  color: #17365d;
  font-size: 0.9rem;
  line-height: 1.15;
}

.shop-donate-page .shop-picker-description p {
  margin: 0;
  color: #53667f;
  font-size: 0.8rem;
  line-height: 1.36;
}

.shop-donate-page .shop-picker-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.shop-donate-page .shop-picker-summary span {
  color: #53667f;
  letter-spacing: 0;
  text-transform: none;
}

.shop-donate-page .shop-picker-summary strong {
  color: #17365d;
}

.shop-donate-page .shop-picker-apply {
  flex: 0 0 auto;
  min-height: 40px;
}

@media (max-width: 980px) {
  .shop-donate-page .shop-picker-modal {
    overflow: auto;
  }

  .shop-donate-page .shop-picker-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .shop-donate-page .shop-picker-column {
    max-height: none;
  }

  .shop-donate-page .shop-picker-list,
  .shop-donate-page .shop-picker-description-list {
    max-height: 320px;
  }

  .shop-donate-page .shop-picker-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .shop-donate-page .shop-picker-overlay {
    padding: 10px;
  }

  .shop-donate-page .shop-picker-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 12px;
    border-radius: 18px;
  }

  .shop-donate-page .shop-picker-head {
    align-items: flex-start;
  }
}


/* Shop Donate auth gate: logged-out redirects, unlinked accounts see only the link guide. */
.shop-donate-page.shop-auth-pending [data-shop-main] > * {
  display: none !important;
}

.shop-donate-page.shop-auth-pending [data-shop-main]::before {
  content: "\000110ang ki\001EC3m tra \000111\000103ng nh\001EADp Discord...";
  display: grid;
  place-items: center;
  min-height: 56vh;
  color: #305a88;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-donate-page.shop-auth-blocked main {
  padding-bottom: clamp(72px, 7vw, 110px);
}

.shop-access-gate {
  display: grid;
  min-height: calc(100vh - 180px);
  align-items: center;
  padding-top: clamp(132px, 16vh, 190px);
}

.shop-access-gate-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(89, 136, 196, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 0%, rgba(100, 208, 239, 0.2), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(255, 183, 77, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.98));
  box-shadow: 0 30px 80px rgba(47, 89, 133, 0.18);
  text-align: center;
}

.shop-access-gate-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -40% 44%;
  z-index: -1;
  height: 280px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(100, 208, 239, 0.22), rgba(107, 141, 245, 0.18));
  filter: blur(10px);
  transform: rotate(-8deg);
}

.shop-access-gate-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9f43, #ff5f7e);
  box-shadow: 0 18px 34px rgba(255, 111, 97, 0.25);
  font-size: 2rem;
  font-weight: 900;
}

.shop-access-gate-copy {
  max-width: 680px;
  margin: 0 auto;
}

.shop-access-gate-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shop-access-gate-status div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(91, 141, 198, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 24px rgba(65, 101, 140, 0.08);
}

.shop-access-gate-status span,
.shop-access-gate-hint {
  color: #2d4b6e;
  font-size: 0.92rem;
}

.shop-access-gate-status strong {
  color: #17365d;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.shop-access-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.shop-access-gate-hint {
  margin: 0;
}

@media (max-width: 720px) {
  .shop-access-gate {
    padding-top: 120px;
  }

  .shop-access-gate-status {
    grid-template-columns: 1fr;
  }

  .shop-access-gate-actions .button {
    width: 100%;
  }
}




/* Shop VIP balance: keep original display font, tune scale/leading only. */
.shop-donate-page .shop-vip-note-card {
  gap: 12px;
  padding: 20px 22px;
}

.shop-donate-page .shop-vip-note-card > .shop-vip-note-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.55rem, 1.9vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  max-width: 13ch;
}

.shop-donate-page .shop-vip-note-card p {
  font-size: 0.92rem;
  line-height: 1.68;
  max-width: 29ch;
}

.shop-donate-page .shop-vip-card-copy h3 {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.28rem, 1.55vw, 1.58rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.shop-donate-page .shop-vip-card-copy p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.shop-donate-page .shop-vip-card-list {
  font-size: 0.88rem;
  line-height: 1.62;
}

@media (max-width: 720px) {
  .shop-donate-page .shop-vip-note-card > .shop-vip-note-title {
    max-width: none;
    font-size: 1.46rem;
  }
}

/* Stats service: quantity-based controls for 100k/stat to 65. */
.shop-donate-page .shop-service-stat-row {
  grid-template-columns: minmax(96px, 1fr) minmax(140px, auto) minmax(84px, auto);
}

.shop-donate-page .shop-service-stat-name {
  display: grid;
  gap: 2px;
  color: #17365d;
  font-weight: 950;
}

.shop-donate-page .shop-service-stat-name small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-donate-page .shop-service-stat-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(23, 54, 93, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.shop-donate-page .shop-service-stat-qty button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #17365d;
  background: rgba(226, 232, 240, 0.92);
  font-size: 1.15rem;
  font-weight: 950;
  cursor: pointer;
}

.shop-donate-page .shop-service-stat-qty button:hover,
.shop-donate-page .shop-service-stat-qty button:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #64d0ef, #6b8df5);
}

.shop-donate-page .shop-service-stat-qty strong {
  min-width: 24px;
  color: #17365d;
  text-align: center;
  font-weight: 950;
}



.admin-dashboard-grid,
.admin-player-detail-grid {
  align-items: start;
}

.admin-stat-list,
.admin-player-detail,
.admin-edit-form {
  display: grid;
  gap: 12px;
}

.admin-stat-row,
.admin-player-meta-grid span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(24,49,79,0.08);
  border-radius: 8px;
  background: #fff;
}

.admin-stat-row strong,
.admin-player-title strong {
  color: #17365d;
}

.admin-top-player-list {
  display: grid;
  gap: 10px;
}

.admin-top-player {
  text-align: left;
  border: 1px solid rgba(24,49,79,0.1);
  border-radius: 10px;
  background: linear-gradient(180deg,#fff,#f7fbff);
  padding: 12px;
  cursor: pointer;
}

.admin-top-player span,
.admin-top-player strong,
.admin-top-player small,
.admin-player-title span,
.admin-service-lines p {
  display: block;
}

.admin-top-player strong {
  margin: 4px 0;
}

.admin-discord-link {
  color: #3a67d8;
  text-decoration: none;
}

.admin-discord-link:hover {
  text-decoration: underline;
}

.admin-service-lines {
  display: grid;
  gap: 4px;
}

.admin-service-lines p {
  margin: 0;
  font-size: 0.84rem;
}

.admin-player-title {
  display: grid;
  gap: 6px;
}

.admin-player-meta-grid,
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-player-meta-grid span {
  flex-direction: column;
  justify-content: flex-start;
}

.admin-player-meta-grid b,
.admin-edit-form label span {
  color: var(--admin-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-edit-form {
  margin-top: 14px;
}

.admin-edit-form h3,
.admin-top-player-list h3 {
  margin: 0;
  color: #17365d;
}

.admin-edit-form label {
  display: grid;
  gap: 6px;
}

.admin-form-note-field {
  grid-column: 1 / -1;
}

.admin-history-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-history-tabs .admin-btn.is-active,
.admin-icon-btn.is-danger {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #ef6b5f, #d73343);
}

@media (max-width: 980px) {
  .admin-player-meta-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.admin-direct-player-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(72, 128, 242, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(95, 200, 239, 0.12), rgba(101, 127, 240, 0.08));
}

.admin-direct-player-box strong,
.admin-direct-player-box small {
  display: block;
}

.admin-direct-player-box strong {
  color: #17365d;
}

.admin-direct-player-box small {
  margin-top: 4px;
  color: var(--admin-muted);
}

.admin-direct-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-direct-player-actions .admin-input {
  flex: 1 1 280px;
}

@media (max-width: 980px) {
  .admin-direct-player-box {
    grid-template-columns: 1fr;
  }

  .admin-direct-player-actions {
    justify-content: stretch;
  }

  .admin-direct-player-actions .admin-btn {
    width: 100%;
  }
}

.admin-player-check-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(24,49,79,0.1);
  border-radius: 12px;
  background: #fff;
}

.admin-player-check-panel[hidden] {
  display: none;
}

.admin-player-check-panel.is-ok {
  border-color: rgba(64,193,122,0.28);
  background: #f0fff6;
}

.admin-player-check-panel.is-warning {
  border-color: rgba(255,182,72,0.32);
  background: #fff8e8;
}

.admin-player-check-head strong,
.admin-player-check-head small {
  display: block;
}

.admin-player-check-head small {
  margin-top: 4px;
  color: var(--admin-muted);
}

.admin-player-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-player-check-grid span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(24,49,79,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.8);
}

.admin-player-check-grid b {
  color: var(--admin-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .admin-player-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin panel typography balance */
.admin-reconcile-page .admin-kicker {
  font-weight: 800;
  letter-spacing: 0.13em;
}

.admin-reconcile-page .admin-btn,
.admin-reconcile-page .admin-icon-btn,
.admin-reconcile-page .admin-input {
  font-weight: 700;
}

.admin-reconcile-page .admin-btn,
.admin-reconcile-page .admin-icon-btn {
  letter-spacing: 0.05em;
}

.admin-reconcile-page .admin-table td {
  font-weight: 600;
}

.admin-reconcile-page .admin-table td > strong,
.admin-reconcile-page .admin-player-title strong,
.admin-reconcile-page .admin-top-player strong,
.admin-reconcile-page .admin-stat-row strong,
.admin-reconcile-page .admin-player-check-head strong,
.admin-reconcile-page .admin-edit-form h3,
.admin-reconcile-page .admin-top-player-list h3 {
  font-weight: 700;
}

.admin-reconcile-page .admin-table small,
.admin-reconcile-page .admin-summary-card span,
.admin-reconcile-page .admin-summary-card small,
.admin-reconcile-page .admin-player-meta-grid b,
.admin-reconcile-page .admin-edit-form label span,
.admin-reconcile-page .admin-player-check-grid b {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.admin-reconcile-page .admin-status {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-reconcile-page .admin-summary-card strong {
  font-weight: 400;
}

/* Admin panel readability hard override */
.admin-reconcile-page,
.admin-reconcile-page input,
.admin-reconcile-page button,
.admin-reconcile-page select,
.admin-reconcile-page textarea,
.admin-reconcile-page .admin-table,
.admin-reconcile-page .admin-panel,
.admin-reconcile-page .admin-access-panel,
.admin-reconcile-page .admin-summary-card,
.admin-reconcile-page .admin-status {
  font-family: "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
  font-stretch: normal;
}

.admin-reconcile-page .admin-reconcile-toolbar h1,
.admin-reconcile-page .admin-panel h2,
.admin-reconcile-page .admin-edit-form h3,
.admin-reconcile-page .admin-top-player-list h3,
.admin-reconcile-page .admin-player-title strong,
.admin-reconcile-page .admin-summary-card strong {
  font-family: "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.admin-reconcile-page .admin-reconcile-toolbar h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.65rem);
}

.admin-reconcile-page .admin-panel h2 {
  font-size: clamp(1.2rem, 1.5vw, 1.7rem);
}

.admin-reconcile-page .admin-table td,
.admin-reconcile-page .admin-table th,
.admin-reconcile-page .admin-table small,
.admin-reconcile-page .admin-service-lines p,
.admin-reconcile-page .admin-muted {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.admin-reconcile-page .admin-table td > strong,
.admin-reconcile-page .admin-table td strong,
.admin-reconcile-page .admin-stat-row strong,
.admin-reconcile-page .admin-top-player strong,
.admin-reconcile-page .admin-player-check-head strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.admin-reconcile-page .admin-table th {
  color: #5f6f86;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-reconcile-page .admin-table td {
  color: #21344f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-reconcile-page .admin-table small {
  color: #66758b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.admin-reconcile-page .admin-btn,
.admin-reconcile-page .admin-icon-btn,
.admin-reconcile-page .admin-input,
.admin-reconcile-page .admin-status {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.admin-reconcile-page .admin-icon-btn,
.admin-reconcile-page .admin-btn {
  font-size: 0.9rem;
}

.admin-reconcile-page .admin-status {
  font-size: 0.78rem;
}

.admin-reconcile-page .admin-kicker {
  font-family: "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-reconcile-page .admin-summary-card span,
.admin-reconcile-page .admin-summary-card small,
.admin-reconcile-page .admin-player-meta-grid b,
.admin-reconcile-page .admin-edit-form label span,
.admin-reconcile-page .admin-player-check-grid b {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Admin panel importance-based typography */
.admin-reconcile-page,
.admin-reconcile-page input,
.admin-reconcile-page button,
.admin-reconcile-page select,
.admin-reconcile-page textarea,
.admin-reconcile-page .admin-table,
.admin-reconcile-page .admin-panel,
.admin-reconcile-page .admin-access-panel,
.admin-reconcile-page .admin-summary-card,
.admin-reconcile-page .admin-status {
  font-family: "Barlow Condensed", "Segoe UI", "Noto Sans", sans-serif;
}

.admin-reconcile-page .admin-reconcile-toolbar h1,
.admin-reconcile-page .admin-panel h2,
.admin-reconcile-page .admin-summary-card strong {
  font-family: "Anton", "Barlow Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.admin-reconcile-page .admin-table td {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.admin-reconcile-page .admin-table th {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-reconcile-page .admin-table td > strong,
.admin-reconcile-page .admin-table td strong,
.admin-reconcile-page .admin-player-title strong,
.admin-reconcile-page .admin-stat-row strong,
.admin-reconcile-page .admin-top-player strong,
.admin-reconcile-page .admin-player-check-head strong {
  font-weight: 700;
  letter-spacing: 0.005em;
}

.admin-reconcile-page .admin-table small,
.admin-reconcile-page .admin-service-lines p {
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.admin-reconcile-page .admin-btn,
.admin-reconcile-page .admin-icon-btn {
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.admin-reconcile-page .admin-btn-primary,
.admin-reconcile-page .admin-icon-btn.is-ok,
.admin-reconcile-page .admin-icon-btn.is-danger {
  font-weight: 800;
}

.admin-reconcile-page .admin-input {
  font-weight: 600;
  letter-spacing: 0.015em;
}

.admin-reconcile-page .admin-status {
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.admin-reconcile-page .admin-kicker {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-reconcile-page .admin-summary-card span,
.admin-reconcile-page .admin-summary-card small,
.admin-reconcile-page .admin-player-meta-grid b,
.admin-reconcile-page .admin-edit-form label span,
.admin-reconcile-page .admin-player-check-grid b {
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.admin-season-transfer-box {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(255,149,43,0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,149,43,0.10), rgba(255,255,255,0.9));
}

.admin-season-transfer-box strong,
.admin-season-transfer-box small {
  display: block;
}

.admin-season-transfer-box strong {
  color: #17365d;
}

.admin-season-transfer-box small {
  margin-top: 4px;
  color: var(--admin-muted);
  line-height: 1.45;
}

.admin-season-transfer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-season-transfer-box {
    grid-template-columns: 1fr;
  }

  .admin-season-transfer-actions .admin-btn {
    flex: 1 1 100%;
  }
}

.admin-season-global-panel .admin-panel-note {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-weight: 500;
  line-height: 1.45;
}

.admin-season-transfer-box.is-global {
  margin-top: 0;
}

.admin-season-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(24,49,79,0.1);
  background: #fff;
}

.admin-season-result[hidden] {
  display: none;
}

.admin-season-result strong,
.admin-season-result span,
.admin-season-result small {
  display: block;
}

.admin-season-result span,
.admin-season-result small {
  margin-top: 4px;
  color: var(--admin-muted);
}

.admin-season-result.is-running {
  border-color: rgba(255,182,72,0.35);
  background: #fff8e8;
}

.admin-season-result.is-ok {
  border-color: rgba(64,193,122,0.28);
  background: #f0fff6;
}

.admin-season-result.is-warning {
  border-color: rgba(230,83,92,0.3);
  background: #fff2f4;
}



/* Donate page polish */
body.shop-donate-page .header-auth-row {
  gap: 12px;
}

body.shop-donate-page .header-auth-discord,
body.shop-donate-page .header-auth-login {
  min-height: 48px;
  min-width: clamp(150px, 10vw, 204px);
  padding: 12px 20px;
  font-size: clamp(0.92rem, 0.82vw, 1rem);
  letter-spacing: 0.08em;
}

body.is-density-compact.shop-donate-page .header-auth-discord,
body.is-density-compact.shop-donate-page .header-auth-login {
  min-height: 46px;
  min-width: clamp(146px, 9.6vw, 194px);
  padding: 11px 18px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.shop-donate-page .shop-profile-popup.is-authenticated,
.shop-donate-page .shop-progress-popup.is-authenticated {
  border-color: rgba(91, 145, 219, 0.18);
  background:
    radial-gradient(circle at top left, rgba(100, 208, 239, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 187, 75, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.99), rgba(240, 246, 255, 0.97));
  box-shadow: 0 30px 64px rgba(35, 66, 110, 0.14);
}

.shop-donate-page .shop-profile-popup.is-empty,
.shop-donate-page .shop-progress-popup.is-empty {
  border-color: rgba(93, 128, 186, 0.22);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(255, 177, 90, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.98));
  box-shadow: 0 28px 62px rgba(35, 66, 110, 0.16);
}

.shop-donate-page .shop-profile-popup.is-empty .shop-card-kicker,
.shop-donate-page .shop-progress-popup.is-empty .shop-card-kicker {
  color: #ff8d1a;
}

.shop-donate-page .shop-profile-popup.is-empty .shop-card-title,
.shop-donate-page .shop-progress-popup.is-empty .shop-card-title,
.shop-donate-page .shop-profile-popup.is-authenticated .shop-card-title,
.shop-donate-page .shop-progress-popup.is-authenticated .shop-card-title {
  color: #17365d;
  text-shadow: none;
}

.shop-donate-page .shop-profile-popup.is-empty .shop-card-copy,
.shop-donate-page .shop-progress-popup.is-empty .shop-card-copy,
.shop-donate-page .shop-profile-popup.is-authenticated .shop-card-copy,
.shop-donate-page .shop-progress-popup.is-authenticated .shop-card-copy {
  color: #32547d;
}

.shop-donate-page .shop-vip-badge {
  position: relative;
  overflow: hidden;
  gap: 8px;
  min-width: 118px;
  min-height: 44px;
  padding: 0 15px 0 13px;
  border-color: rgba(118, 161, 255, 0.3);
  box-shadow: 0 18px 32px rgba(46, 86, 132, 0.18), inset 0 0 14px rgba(255, 255, 255, 0.06);
}

.shop-donate-page .shop-vip-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 18%, transparent 42%);
  opacity: 0.66;
  pointer-events: none;
}

.shop-donate-page .shop-vip-badge-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: currentColor;
  font-size: 0.78rem;
  line-height: 1;
}

.shop-donate-page .shop-vip-badge-text {
  position: relative;
  z-index: 1;
}


.shop-donate-page .header-auth-panel {
  border-color: rgba(91, 145, 219, 0.22);
  background:
    radial-gradient(circle at top right, rgba(100, 208, 239, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 181, 78, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.99), rgba(241, 247, 255, 0.98));
  box-shadow: 0 28px 60px rgba(18, 44, 88, 0.18);
}

.shop-donate-page .header-auth-kicker,
.shop-donate-page .header-auth-stat span,
.shop-donate-page .header-auth-server-copy small,
.shop-donate-page .header-auth-server-badge {
  color: #5c7393;
}

.shop-donate-page .header-auth-title,
.shop-donate-page .header-auth-meta code,
.shop-donate-page .header-auth-stat strong,
.shop-donate-page .header-auth-chip,
.shop-donate-page .header-auth-server-copy strong {
  color: #17365d;
}

.shop-donate-page .header-auth-meta,
.shop-donate-page .header-auth-note,
.shop-donate-page .header-auth-empty {
  color: #35557e;
}

.shop-donate-page .header-auth-stat,
.shop-donate-page .header-auth-server-item {
  border-color: rgba(93, 128, 186, 0.18);
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.96), rgba(248, 252, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 14px rgba(65, 108, 155, 0.06);
}

.shop-donate-page .header-auth-chip {
  background: rgba(88, 132, 255, 0.12);
}

.shop-donate-page .shop-profile-popup .shop-popup-profile-head {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: start;
}

.shop-donate-page .shop-profile-popup .shop-popup-profile-copy {
  min-width: 0;
}

.shop-donate-page .shop-profile-popup .shop-vip-badge {
  justify-self: end;
  align-self: start;
  margin-top: 2px;
}

.shop-donate-page .shop-profile-popup .shop-popup-profile-avatar {
  background: linear-gradient(135deg, #ffb85c, #5fd0f0 58%, #6d86ff 100%);
  box-shadow: 0 18px 34px rgba(61, 107, 191, 0.26);
}

.shop-donate-page .shop-profile-popup .shop-popup-stat:first-child {
  border-color: rgba(73, 164, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(232, 247, 255, 0.98), rgba(248, 252, 255, 0.94)),
    radial-gradient(circle at top left, rgba(88, 196, 255, 0.18), transparent 60%);
}

.shop-donate-page .shop-profile-popup .shop-popup-stat:first-child strong {
  color: #1490ff;
}

.shop-donate-page .shop-profile-popup .shop-popup-stat:last-child {
  border-color: rgba(255, 176, 74, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 244, 225, 0.98), rgba(255, 252, 246, 0.95)),
    radial-gradient(circle at top right, rgba(255, 186, 77, 0.2), transparent 65%);
}

.shop-donate-page .shop-profile-popup .shop-popup-stat:last-child strong {
  color: #ff8e1b;
}

.shop-donate-page .shop-profile-popup .shop-popup-tag {
  background: linear-gradient(135deg, rgba(88, 132, 255, 0.12), rgba(100, 208, 239, 0.16));
  color: #254a85;
}

.shop-donate-page .shop-profile-popup.is-empty .shop-profile-login,
.shop-donate-page .shop-progress-popup.is-empty .shop-popup-progress-actions .button {
  width: 100%;
  min-height: 44px;
}

@media (min-width: 1280px) {
  .shop-donate-page .shop-profile-popup .shop-popup-profile-head {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
}

body.is-density-compact.shop-donate-page .shop-popup-profile-head {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

/* Breed quick-select cards */
.shop-topup-breed-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(91, 145, 219, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(240, 247, 255, 0.96));
}
.shop-topup-breed-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2b5c96;
}
.shop-topup-breed-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.shop-topup-breed-card {
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(101, 161, 235, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f7ff, #e8f3ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, filter 0.18s ease;
}
.shop-topup-breed-card strong {
  font-size: 0.88rem;
  font-weight: 950;
  color: #1f4b7a;
  line-height: 1.15;
}
.shop-topup-breed-card span {
  font-size: 0.85rem;
  font-weight: 950;
  color: #3f7cc7;
}
.shop-topup-breed-card.is-active {
  border-color: rgba(112, 176, 255, 0.72);
  background: linear-gradient(180deg, #d8edff, #c0e0ff);
  box-shadow: 0 0 0 1px rgba(161, 212, 255, 0.5), 0 16px 30px rgba(61, 113, 176, 0.22);
  filter: brightness(1.04) saturate(1.04);
}
.shop-topup-breed-detail {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 12px;
  background: rgba(236, 247, 255, 0.9);
}
.shop-topup-breed-detail-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 950;
  color: #15456d;
}
.shop-topup-breed-detail-commands p {
  margin: 4px 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: #3e6183;
}
.shop-topup-breed-detail-commands .shop-topup-vip-note {
  font-size: 1rem;
  font-weight: 950;
  color: #d9781a;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 200, 80, 0.12);
  border-radius: 8px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .shop-topup-breed-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-topup-breed-cards {
    grid-template-columns: 1fr;
  }
}




