/* INERTIA.HVH — shared design system */
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-elevated: #0e0f11;
  --panel: #121315;
  --panel-glass: rgba(22, 23, 25, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --text: #f5f5f5;
  --muted: #85878d;
  --muted-strong: #aaacb2;
  --accent: #e5484d;
  --accent-2: #9da1a8;
  --success: #58d878;
  --warning: #aeb2ba;
  --danger: #ff5145;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.13);
  --accent-border: rgba(229, 72, 77, 0.35);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.5);
  --glow: 0 12px 42px rgba(229, 72, 77, 0.2);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --sidebar-width: 260px;
  --topbar-height: 74px;
  --content-width: 1380px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", "Manrope", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: #36373b var(--bg);
  scrollbar-width: thin;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 88% -10%, rgba(229, 72, 77, 0.09), transparent 28rem),
    radial-gradient(circle at 55% 80%, rgba(157, 161, 168, 0.045), transparent 34rem),
    var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.sidebar-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(229, 72, 77, 0.65);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: #36373b;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.03em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-shell {
  min-height: 100vh;
}

.app-shell::after {
  position: fixed;
  z-index: 89;
  inset: 0;
  content: "";
  visibility: hidden;
  opacity: 0;
  background: rgba(2, 2, 3, 0.72);
  backdrop-filter: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.sidebar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  padding: 22px 16px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  background: rgba(9, 9, 10, 0.94);
  border-right: 1px solid var(--border);
  box-shadow: 20px 0 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-width: none;
  /* stay pinned to viewport — never scroll away with page */
  transform: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-head {
  padding: 0 7px 18px;
  border-bottom: 1px solid var(--border);
}

.online-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.online-dot,
[data-live-dot] {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #555;
  box-shadow: none;
}

[data-live-dot].is-online,
.online-dot.is-online {
  background: var(--success);
  box-shadow: 0 0 10px rgba(88, 216, 120, 0.55);
}

[data-live-dot].is-offline,
.online-dot.is-offline {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(255, 81, 69, 0.4);
}

.live-pill.is-offline {
  opacity: 1;
  filter: none;
}

.online-status::before {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(229, 72, 77, 0.09), 0 0 18px rgba(229, 72, 77, 0.75);
  animation: status-pulse 3.5s ease-in-out infinite;
}

.online-status strong,
.online-status b {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.brand::before {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  content: "";
  clip-path: polygon(10% 8%, 88% 0, 62% 38%, 94% 54%, 8% 100%, 35% 58%, 4% 42%);
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  filter: drop-shadow(0 4px 10px rgba(229, 72, 77, 0.35));
}

.brand span {
  color: var(--accent);
}

.sidebar .brand {
  margin-bottom: 20px;
  font-size: 20px;
}

.nav-list {
  display: grid;
  margin: 18px 0;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 45px;
  padding: 10px 12px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: var(--muted-strong);
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 650;
  /* instant feedback — no laggy hover delay */
  transition: color 0.08s linear, background 0.08s linear, border-color 0.08s linear;
}

.nav-sub-link {
  /* same as .nav-link — no indent / tree line */
  width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 10px 12px;
  gap: 12px;
  font-size: 13px;
}

.nav-sub-link::before {
  display: none;
}

.nav-sub-link .nav-icon {
  width: 18px;
  height: 18px;
}

.nav-link::after {
  position: absolute;
  right: -16px;
  width: 36px;
  height: 36px;
  content: "";
  opacity: 0;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(20px);
  transition: opacity 0.22s ease;
}

.nav-link:hover {
  color: var(--text);
  background: var(--panel-soft);
  border-color: var(--border);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(229, 72, 77, 0.16), rgba(229, 72, 77, 0.035));
  border-color: rgba(229, 72, 77, 0.22);
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  opacity: 0.55;
}

.nav-maintenance {
  margin-left: auto;
  padding: 4px 6px;
  color: #d6d7da;
  border: 1px solid rgba(229, 72, 77, 0.24);
  border-radius: 6px;
  background: rgba(229, 72, 77, 0.07);
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  color: currentColor;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.play-cta {
  display: flex;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(235, 93, 99, 0.42);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #bd2730);
  box-shadow: 0 10px 30px rgba(190, 35, 45, 0.2), inset 0 1px rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, filter 0.22s ease;
}

.play-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 13px 38px rgba(190, 35, 45, 0.32), inset 0 1px rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.play-cta:active {
  transform: translateY(0) scale(0.985);
}

.update-card {
  position: relative;
  min-height: 132px;
  margin-top: auto;
  padding: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 72, 77, 0.22), transparent 60%),
    var(--update-image, linear-gradient(135deg, #211519, #121315));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-sm);
}

.update-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.35), rgba(10, 10, 11, 0.82));
}

.update-card small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.update-card h3 {
  max-width: 150px;
  margin: 9px 0 6px;
  font-size: 17px;
}

.update-card p {
  margin: 0;
  color: rgba(245, 245, 245, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.page {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  height: var(--topbar-height);
  padding: 0 clamp(20px, 3vw, 48px);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topbar .brand {
  font-size: 19px;
}

.topbar nav,
.topbar .social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-btn,
.mobile-toggle {
  display: inline-grid;
  width: 41px;
  height: 41px;
  padding: 0;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted-strong);
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.icon-btn:hover,
.mobile-toggle:hover {
  color: var(--text);
  border-color: var(--accent-border);
  background: rgba(229, 72, 77, 0.1);
  transform: translateY(-1px);
}

.icon-btn svg,
.mobile-toggle svg {
  width: 18px;
  height: 18px;
}

.lang-switch {
  display: inline-flex;
  min-height: 41px;
  padding: 4px;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 800;
}

.lang-switch button,
.lang-switch a {
  min-width: 34px;
  padding: 6px 7px;
  color: inherit;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: center;
}

.lang-switch .active,
.lang-switch [aria-pressed="true"] {
  color: #fff;
  background: rgba(229, 72, 77, 0.16);
}

.steam-btn {
  display: inline-flex;
  min-height: 41px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 750;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.steam-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(280px, 46vw);
}

.steam-btn--user {
  max-width: 100%;
  padding: 0 12px 0 6px;
  gap: 8px;
  overflow: hidden;
}

.steam-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
}

.steam-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.user-logout {
  width: 36px;
  height: 36px;
}

.profile-avatar {
  position: relative;
  overflow: hidden;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-login-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  padding: 18px 20px;
}

.profile-login-gate .auth-shield {
  flex: 0 0 auto;
}

.profile-login-gate > div {
  flex: 1 1 200px;
  min-width: 0;
}

.profile-login-gate p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-avatar--skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  background-size: 200% 100%;
  animation: skeleton-shine 1.45s ease-in-out infinite;
  border-radius: 50%;
}

.profile-loading-copy {
  display: grid;
  gap: 10px;
  min-width: min(100%, 240px);
}

.skeleton-line {
  display: block;
  height: 14px;
  border-radius: 8px;
  max-width: 100%;
}

.skeleton-line--title {
  width: min(220px, 55vw);
  height: 28px;
  border-radius: 10px;
}

.skeleton-line--text {
  width: min(320px, 70vw);
  height: 14px;
}

.skeleton-block {
  width: 100%;
  height: 140px;
  border-radius: 14px;
}

.skeleton-block--stat {
  height: 72px;
}

.skeleton-block--activity {
  height: 120px;
}

.skeleton-block--auth {
  height: 220px;
}

.steam-btn--loading {
  pointer-events: none;
  min-width: 108px;
  justify-content: center;
  opacity: 0.85;
}

.steam-btn-skeleton {
  display: block;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  background-size: 200% 100%;
  animation: skeleton-shine 1.45s ease-in-out infinite;
}

.auth-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 81, 69, 0.35);
  border-radius: 10px;
  background: rgba(255, 81, 69, 0.1);
  color: #ffb4ae;
  font-size: 12px;
}

.auth-user-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.mobile-toggle {
  display: none;
}

.main-content {
  width: min(100%, calc(var(--content-width) + clamp(40px, 6vw, 96px)));
  min-height: calc(100vh - var(--topbar-height));
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px) clamp(20px, 3vw, 48px) 72px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(620px, calc(100vh - 110px));
  padding: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(36px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.15fr);
  gap: clamp(20px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.99) 0%, rgba(10, 10, 11, 0.88) 42%, rgba(10, 10, 11, 0.32) 100%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.72), transparent 50%),
    var(--hero-image, radial-gradient(circle at 80% 35%, #32171c, #121315 42%, #09090a 78%));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-lg);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, black, transparent 66%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -55%;
  width: 600px;
  height: 600px;
  content: "";
  border-radius: 50%;
  background: rgba(190, 35, 45, 0.11);
  filter: blur(90px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: reveal-up 0.35s var(--ease) both;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.hero-title {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-title span,
.hero-title em {
  color: var(--accent);
  font-style: normal;
  text-shadow: 0 10px 35px rgba(229, 72, 77, 0.3);
}

.hero-copy > p {
  max-width: 520px;
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  transition: box-shadow 0.1s linear, background 0.1s linear, border-color 0.1s linear, color 0.1s linear;
}

.btn::before {
  position: absolute;
  top: -50%;
  left: -65%;
  width: 45%;
  height: 200%;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(15deg);
  transition: left 0.55s ease, opacity 0.2s ease;
}

.btn:hover::before {
  left: 120%;
  opacity: 0.8;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.btn:active {
  filter: brightness(0.96);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn-primary,
.btn.primary,
.btn[data-variant="primary"] {
  border-color: rgba(235, 104, 109, 0.52);
  background: linear-gradient(135deg, var(--accent), #bd2730);
  box-shadow: var(--glow), inset 0 1px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover,
.btn.primary:hover,
.btn[data-variant="primary"]:hover {
  border-color: rgba(242, 135, 141, 0.7);
  background: linear-gradient(135deg, #ef5a60, #c52d36);
  box-shadow: 0 15px 46px rgba(190, 35, 45, 0.32), inset 0 1px rgba(255, 255, 255, 0.28);
}

.btn-secondary,
.btn.secondary,
.btn[data-variant="secondary"] {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(18, 19, 21, 0.7);
  backdrop-filter: none;
}

.btn-ghost,
.btn.ghost,
.btn[data-variant="ghost"] {
  color: var(--muted-strong);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.btn-danger,
.btn.danger,
.btn[data-variant="danger"] {
  border-color: rgba(255, 81, 69, 0.3);
  background: rgba(255, 81, 69, 0.12);
  color: #ff867e;
}

.btn-success,
.btn.success,
.btn[data-variant="success"] {
  color: #89e9a0;
  border-color: rgba(88, 216, 120, 0.3);
  background: rgba(88, 216, 120, 0.1);
}

.btn-small,
.btn.small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 11px;
}

.btn-block,
.btn.block {
  width: 100%;
}

.server-card,
.glass-card,
.profile-card,
.form-card,
.order-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(26, 27, 30, 0.9), rgba(17, 18, 20, 0.82));
  box-shadow: var(--shadow-sm), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.server-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  animation: reveal-up 0.35s 0.05s var(--ease) both;
}

.server-card::before {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: rgba(229, 72, 77, 0.16);
  filter: blur(55px);
  pointer-events: none;
}

.server-card h2,
.server-card h3 {
  margin-bottom: 5px;
  font-size: clamp(20px, 2vw, 27px);
}

.server-card > p {
  color: var(--muted);
  font-size: 12px;
}

.server-meta {
  display: grid;
  margin: 22px 0;
  padding: 16px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.server-meta > div {
  min-width: 0;
}

.server-meta span,
.server-meta small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-meta strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* tags: hard edges, no candy pills / soft glows */
.status {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 8px;
  align-items: center;
  gap: 6px;
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
  opacity: 0.9;
}

.status.success,
.status.online,
.status[data-status="online"] {
  color: #9ad4a8;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.status.warning,
.status[data-status="warning"] {
  color: #c8cdd6;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.status.danger,
.status.offline,
.status[data-status="offline"] {
  color: #e89a96;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.ip-copy {
  display: flex;
  width: 100%;
  min-height: 49px;
  margin: 18px 0;
  padding: 5px 5px 5px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ip-copy:hover {
  border-color: var(--accent-border);
  background: rgba(229, 72, 77, 0.045);
}

.ip-copy button,
.ip-copy .copy-btn {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(229, 72, 77, 0.2);
  border-radius: 9px;
  background: rgba(229, 72, 77, 0.1);
}

.section {
  padding-top: clamp(68px, 8vw, 108px);
  scroll-margin-top: calc(var(--topbar-height) + 16px);
}

.section-head {
  display: flex;
  margin-bottom: 28px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 7px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 880;
}

.section-head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.stats-grid,
.news-grid,
.pricing-grid,
.clan-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.stat-card,
.news-card,
.price-card,
.clan-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 23, 25, 0.92), rgba(16, 17, 19, 0.82));
  box-shadow: var(--shadow-sm), inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 0.28s var(--ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.news-card:hover,
.price-card:hover,
.clan-card:hover {
  border-color: rgba(229, 72, 77, 0.26);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34), 0 0 38px rgba(229, 72, 77, 0.055);
  transform: translateY(-5px);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
}

.feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 110px;
  height: 110px;
  content: "";
  opacity: 0;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(50px);
  transition: opacity 0.28s ease;
}

.feature-card:hover::after {
  opacity: 0.18;
}

.feature-card .icon,
.feature-card > svg {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 34px;
  padding: 11px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(229, 72, 77, 0.2);
  border-radius: 12px;
  background: rgba(229, 72, 77, 0.09);
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 25px;
}

.stat-card span,
.stat-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-card strong em {
  color: var(--accent);
  font-size: 0.5em;
  font-style: normal;
}

.glass-card {
  padding: clamp(18px, 2.5vw, 30px);
}

.data-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.player {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 730;
}

.player > span:not(.avatar) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
}

.avatar {
  display: inline-grid;
  width: 39px;
  height: 39px;
  overflow: hidden;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted-strong);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: linear-gradient(145deg, #25262a, #17181a);
  font-size: 12px;
  font-weight: 800;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--muted-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 850;
}

tr:nth-child(1) .rank,
.rank.gold {
  color: #e8898e;
  background: rgba(255, 182, 45, 0.12);
}

tr:nth-child(2) .rank,
.rank.silver {
  color: #d3dae3;
  background: rgba(211, 218, 227, 0.1);
}

tr:nth-child(3) .rank,
.rank.bronze {
  color: #ad686e;
  background: rgba(233, 149, 93, 0.1);
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  min-height: 340px;
}

.news-card img,
.news-card .news-image,
.news-card .news-card__media {
  width: 100%;
  height: 185px;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.76);
  transition: filter 0.35s ease, transform 0.5s var(--ease);
}

.news-card:hover img,
.news-card:hover .news-image,
.news-card:hover .news-card__media {
  filter: saturate(1) brightness(0.9);
  transform: scale(1.035);
}

.news-card .content,
.news-card .news-content {
  position: relative;
  padding: 22px;
  background: linear-gradient(to bottom, rgba(18, 19, 21, 0.72), var(--panel));
}

.news-card time,
.news-card .tag {
  color: var(--accent);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 9px 0;
  font-size: 18px;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pricing-grid {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  display: flex;
  min-height: 430px;
  padding: 28px;
  flex-direction: column;
}

.price-card.featured,
.price-card[data-featured="true"] {
  border-color: rgba(229, 72, 77, 0.4);
  background:
    radial-gradient(circle at 90% 0, rgba(229, 72, 77, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(31, 25, 22, 0.96), rgba(18, 18, 20, 0.9));
  box-shadow: var(--glow), var(--shadow-sm), inset 0 1px rgba(242, 139, 145, 0.08);
  transform: translateY(-10px);
}

.price-card.featured:hover,
.price-card[data-featured="true"]:hover {
  transform: translateY(-15px);
}

.price-card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.price-card .price {
  margin: 18px 0 24px;
  font-size: 39px;
  font-weight: 920;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-card .price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  margin: 0 0 28px;
  padding: 0;
  gap: 11px;
  color: var(--muted-strong);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
}

.price-card li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 12px;
  height: 7px;
  content: "";
  border-bottom: 2px solid var(--success);
  border-left: 2px solid var(--success);
  transform: rotate(-45deg);
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.faq-list {
  display: grid;
  max-width: 980px;
  margin-inline: auto;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-glass);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover,
.faq-item.open,
.faq-item.active,
.faq-item[open] {
  border-color: rgba(229, 72, 77, 0.24);
  background: rgba(25, 25, 27, 0.92);
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 68px;
  padding: 18px 54px 18px 21px;
  align-items: center;
  color: var(--text);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 740;
  text-align: left;
}

.faq-question::before,
.faq-question::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 13px;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq-question::after {
  transform: rotate(90deg);
}

.faq-item.open .faq-question::after,
.faq-item.active .faq-question::after,
.faq-item[open] .faq-question::after,
.faq-question[aria-expanded="true"]::after {
  transform: rotate(0);
}

.faq-answer {
  max-height: 0;
  padding: 0 54px 0 21px;
  overflow: hidden;
  color: var(--muted);
  opacity: 0;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), opacity 0.25s ease;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer,
.faq-item[open] .faq-answer {
  max-height: 320px;
  padding-bottom: 20px;
  opacity: 1;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  min-height: 250px;
  padding: clamp(35px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.97), rgba(10, 10, 11, 0.5)),
    var(--page-image, radial-gradient(circle at 80% 40%, #281417, #121315 52%, #0b0b0c));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-sm);
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  content: "";
  border-radius: 50%;
  background: rgba(229, 72, 77, 0.13);
  filter: blur(70px);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 920;
}

.page-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted-strong);
}

.toolbar {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.search-field {
  position: relative;
  display: flex;
  min-width: min(100%, 290px);
  min-height: 43px;
  align-items: center;
}

.search-field svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 43px;
  padding: 0 15px 0 42px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-field input::placeholder {
  color: #65676c;
}

.search-field input:focus {
  border-color: rgba(229, 72, 77, 0.45);
  background: rgba(229, 72, 77, 0.035);
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.08);
}

.filter-tabs {
  display: inline-flex;
  padding: 4px;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  min-height: 34px;
  padding: 0 13px;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 11px;
  font-weight: 730;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.active,
.filter-tab[aria-selected="true"] {
  color: #fff;
  background: rgba(229, 72, 77, 0.16);
  box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.14);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
}

.profile-card {
  padding: clamp(20px, 3vw, 30px);
}

.profile-card .avatar {
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.profile-card h2,
.profile-card h3 {
  margin-bottom: 8px;
}

.profile-card p {
  color: var(--muted);
}

.progress {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress > span,
.progress::before {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(229, 72, 77, 0.44);
  transition: width 0.7s var(--ease);
}

.form-card {
  max-width: 760px;
  padding: clamp(22px, 4vw, 38px);
}

.form-card > h2,
.form-card > h3 {
  margin-bottom: 24px;
}

.field {
  display: grid;
  margin-bottom: 17px;
  gap: 7px;
}

.field label {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(229, 72, 77, 0.5);
  background: rgba(229, 72, 77, 0.025);
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.08);
}

.field input:invalid:not(:placeholder-shown),
.field.error input,
.field.error select,
.field.error textarea {
  border-color: rgba(255, 81, 69, 0.55);
}

.field small,
.field .hint {
  color: var(--muted);
  font-size: 10px;
}

.field.error small,
.field .error-message {
  color: #ff746a;
}

.rules-list,
.punishment-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
  counter-reset: item;
}

.rules-list > li,
.punishment-list > li {
  position: relative;
  padding: 21px 22px 21px 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel-glass);
  counter-increment: item;
}

.rules-list > li::before,
.punishment-list > li::before {
  position: absolute;
  top: 19px;
  left: 19px;
  display: grid;
  width: 29px;
  height: 29px;
  content: counter(item, decimal-leading-zero);
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(229, 72, 77, 0.22);
  border-radius: 8px;
  background: rgba(229, 72, 77, 0.08);
  font-size: 9px;
  font-weight: 850;
}

.rules-list h3,
.punishment-list h3 {
  margin-bottom: 7px;
  font-size: 15px;
}

.rules-list p,
.punishment-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.clan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clan-card {
  padding: 24px;
}

.clan-card .clan-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(229, 72, 77, 0.22);
  border-radius: 14px;
  background: rgba(229, 72, 77, 0.09);
  font-size: 15px;
  font-weight: 900;
}

.clan-card h3 {
  margin-bottom: 7px;
}

.clan-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.clan-card .members {
  display: flex;
  align-items: center;
}

.clan-card .members .avatar {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid var(--panel);
  border-radius: 50%;
}

.clan-card .members .avatar:first-child {
  margin-left: 0;
}

.empty-state {
  display: grid;
  min-height: 300px;
  padding: 40px 24px;
  place-items: center;
  align-content: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.empty-state .icon,
.empty-state > svg {
  width: 50px;
  height: 50px;
  margin-bottom: 17px;
  padding: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.empty-state h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 18px;
}

.empty-state p {
  max-width: 450px;
  margin: 0 auto 18px;
}

.skeleton {
  position: relative;
  min-height: 16px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: transparent !important;
  user-select: none;
}

.skeleton::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.085) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: skeleton-shine 1.45s ease-in-out infinite;
}

.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 20px;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  background: rgba(4, 4, 5, 0.78);
  backdrop-filter: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.open,
.modal.is-open,
.modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100dvh - 40px);
  padding: clamp(24px, 4vw, 38px);
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 72, 77, 0.12), transparent 38%),
    rgba(18, 19, 21, 0.96);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s var(--ease);
}

.modal.open .modal-panel,
.modal.is-open .modal-panel,
.modal[aria-hidden="false"] .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel > h2 {
  padding-right: 36px;
}

.toast {
  position: fixed;
  z-index: 600;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: min(calc(100% - 40px), 390px);
  min-height: 58px;
  padding: 13px 16px;
  visibility: hidden;
  align-items: center;
  gap: 11px;
  opacity: 0;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: rgba(22, 23, 25, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0.25s ease;
}

.toast.show,
.toast.is-visible,
.toast[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-color: rgba(88, 216, 120, 0.25);
}

.toast.error {
  border-color: rgba(255, 81, 69, 0.3);
}

.footer {
  display: grid;
  width: min(calc(100% - clamp(40px, 6vw, 96px)), var(--content-width));
  min-height: 110px;
  margin: 0 auto 24px;
  padding: 24px 28px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(18, 19, 21, 0.82);
  backdrop-filter: blur(18px);
  font-size: 10px;
}

.footer .brand {
  color: var(--text);
  font-size: 17px;
}

.footer nav,
.footer .footer-links,
.footer .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer a {
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent);
}

.error-page {
  position: relative;
  display: grid;
  min-height: 100dvh;
  padding: clamp(18px, 3vw, 36px);
  place-items: center;
  overflow: hidden;
  background: #0a0a0b;
}

.error-card {
  position: relative;
  display: grid;
  width: min(100%, 860px);
  min-height: 0;
  overflow: hidden;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(22, 23, 25, 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

/* compact 404/403 — no left art, short card */
.error-card--compact {
  width: min(100%, 440px);
  min-height: 0;
  grid-template-columns: 1fr;
}

.error-card--compact .error-copy {
  padding: 28px 26px 24px;
  gap: 0;
}

.error-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 52px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(229, 72, 77, 0.35);
  background: rgba(229, 72, 77, 0.12);
  color: #ff7b7f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.error-visual {
  display: none;
}

.error-card > .content,
.error-card > .error-content {
  display: flex;
  padding: clamp(24px, 4vw, 36px);
  justify-content: center;
  flex-direction: column;
}

.error-code {
  margin: 0 0 10px;
  color: rgba(245, 245, 245, 0.075);
  font-size: clamp(84px, 13vw, 150px);
  font-weight: 950;
  letter-spacing: -0.09em;
  line-height: 0.75;
  text-shadow: 0 0 45px rgba(229, 72, 77, 0.08);
}

.error-card h1,
.error-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
}

.error-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 34ch;
}

.error-card .hero-actions {
  gap: 8px;
}

.checkout-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.43fr);
  gap: 20px;
}

.checkout-grid .form-card {
  max-width: none;
}

.order-summary {
  position: sticky;
  top: calc(var(--topbar-height) + 22px);
  padding: 25px;
}

.order-summary h3 {
  margin-bottom: 20px;
}

.order-summary .row {
  display: flex;
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.order-summary .row strong {
  color: var(--text);
}

.order-summary .total {
  margin: 8px 0 20px;
  padding-top: 16px;
  border-bottom: 0;
  font-size: 16px;
}

.order-summary .total strong {
  color: var(--accent);
  font-size: 24px;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes skeleton-shine {
  to { transform: translateX(100%); }
}

@media (max-width: 1180px) {
  .hero {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(46px, 5.8vw, 72px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar nav,
  .topbar .social-links {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-height: 58px;
    --sidebar-rail: 58px;
  }

  body.sidebar-open {
    overflow: hidden;
    touch-action: none;
  }

  .app-shell::after {
    display: none;
  }

  /* content leaves room for icon rail only */
  .page {
    margin-left: var(--sidebar-rail);
  }

  /* ===== mobile sidebar: icon rail by default, expand on toggle ===== */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100dvh;
    max-height: 100dvh;
    width: var(--sidebar-rail);
    padding: 10px 7px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: none;
    border-right: 1px solid var(--border);
    transform: none;
    transition: width 0.28s var(--ease), box-shadow 0.28s ease, padding 0.28s ease;
    z-index: 100;
  }

  body.sidebar-open .sidebar {
    width: min(300px, calc(100vw - 36px));
    padding: 16px 14px 18px;
    box-shadow: 28px 0 70px rgba(0, 0, 0, 0.58);
    z-index: 120;
  }

  .sidebar-head {
    padding: 0 0 10px;
    justify-content: center;
    border-bottom: 1px solid var(--border);
  }

  body.sidebar-open .sidebar-head {
    justify-content: space-between;
    padding: 0 4px 14px;
  }

  .sidebar .brand .logo-type {
    display: none;
  }
  body.sidebar-open .sidebar .brand .logo-type {
    display: inline;
  }
  .sidebar .brand .logo-mark {
    width: 28px;
    height: 28px;
  }

  .sidebar-close {
    display: none !important;
  }
  body.sidebar-open .sidebar-close {
    display: inline-grid !important;
  }

  /* rail: hide text / promo / status copy */
  .sidebar .online-status {
    display: none;
  }
  body.sidebar-open .sidebar .online-status {
    display: flex;
    margin-top: 14px;
  }

  .sidebar .play-cta {
    width: 42px;
    min-height: 42px;
    margin: 10px auto 0;
    padding: 0;
    border-radius: 12px;
    gap: 0;
  }
  .sidebar .play-cta > span,
  .sidebar .play-cta .play-pulse {
    display: none;
  }
  body.sidebar-open .sidebar .play-cta {
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    padding: 0 14px;
    gap: 10px;
  }
  body.sidebar-open .sidebar .play-cta > span {
    display: inline;
  }
  body.sidebar-open .sidebar .play-cta .play-pulse {
    display: block;
  }

  .sidebar .nav-list {
    margin: 10px 0 0;
    gap: 4px;
  }

  .sidebar .nav-link {
    min-height: 42px;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 11px;
  }
  .sidebar .nav-link .nav-label,
  .sidebar .nav-link .nav-maintenance,
  .sidebar .nav-link .active-line {
    display: none;
  }
  .sidebar .nav-link .nav-icon {
    margin: 0;
  }
  body.sidebar-open .sidebar .nav-link {
    min-height: 44px;
    padding: 10px 12px;
    justify-content: flex-start;
    gap: 12px;
  }
  body.sidebar-open .sidebar .nav-link .nav-label {
    display: inline;
  }
  body.sidebar-open .sidebar .nav-link .nav-maintenance {
    display: inline-block;
  }
  body.sidebar-open .sidebar .nav-link .active-line {
    display: block;
  }

  .sidebar .update-card,
  .sidebar .sidebar-mini,
  .sidebar .sidebar-spacer {
    display: none;
  }
  body.sidebar-open .sidebar .update-card {
    display: flex;
  }
  body.sidebar-open .sidebar .sidebar-mini {
    display: block;
  }
  body.sidebar-open .sidebar .sidebar-spacer {
    display: block;
  }

  .sidebar-overlay {
    display: block;
    z-index: 110;
  }
  body.sidebar-open .sidebar-overlay {
    visibility: visible;
    opacity: 1;
  }

  .topbar {
    padding-inline: 12px 14px;
    gap: 8px;
  }

  .mobile-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: auto;
    padding: clamp(28px, 6vw, 48px);
    grid-template-columns: 1fr;
    background:
      linear-gradient(90deg, rgba(10, 10, 11, 0.98), rgba(10, 10, 11, 0.64)),
      linear-gradient(0deg, rgba(10, 10, 11, 0.75), transparent 50%),
      var(--hero-image, radial-gradient(circle at 80% 35%, #32171c, #121315 42%, #09090a 78%));
    background-position: center;
    background-size: cover;
  }

  .server-card {
    max-width: 540px;
    justify-self: start;
  }

  .news-grid,
  .clan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .price-card.featured,
  .price-card[data-featured="true"] {
    transform: none;
  }

  .price-card.featured:hover,
  .price-card[data-featured="true"]:hover {
    transform: translateY(-5px);
  }

  .profile-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --sidebar-rail: 52px;
    --topbar-height: 54px;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    font-size: 14px;
  }

  .page,
  .main-content,
  .app-shell {
    overflow-x: hidden;
    max-width: 100%;
  }

  .topbar {
    padding-inline: 10px 12px;
    gap: 8px;
  }

  .topbar .brand {
    font-size: 16px;
  }

  .topbar .brand::before {
    width: 20px;
    height: 20px;
  }

  .top-actions {
    gap: 5px;
  }

  .top-actions .icon-btn,
  .lang-switch {
    display: none;
  }

  .steam-btn:not(.steam-btn--user) {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
    font-size: 0;
    line-height: 0;
  }

  /* text still in DOM for a11y on desktop; hide fully on mobile so icon is centered */
  .steam-btn:not(.steam-btn--user) > span {
    display: none;
  }

  .steam-btn:not(.steam-btn--user) svg.icon {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
  }

  .steam-btn--user {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
  }

  .steam-btn--user .steam-name {
    display: none;
  }

  .steam-btn--user .steam-avatar {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .user-chip {
    gap: 4px;
  }

  .user-logout {
    width: 34px;
    height: 34px;
  }

  .mobile-toggle,
  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .sidebar {
    padding: 8px 5px 12px;
  }

  .sidebar .nav-link {
    min-height: 40px;
  }

  .sidebar .play-cta {
    width: 38px;
    min-height: 38px;
  }

  .main-content {
    padding: 14px 12px 48px;
  }

  .hero {
    padding: 26px 16px 20px;
    gap: 22px;
    border-radius: 16px;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: clamp(36px, 12vw, 52px);
    line-height: 0.98;
  }

  .hero-copy > p {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .server-card {
    padding: 20px;
    border-radius: 15px;
  }

  .server-meta {
    gap: 12px;
  }

  .section {
    padding-top: 62px;
  }

  .section-head {
    margin-bottom: 21px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .feature-grid,
  .stats-grid,
  .news-grid,
  .clan-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card .icon,
  .feature-card > svg {
    margin-bottom: 24px;
  }

  .glass-card {
    padding: 12px;
    overflow-x: hidden;
    max-width: 100%;
  }

  /* no horizontal scrollbar on cards/tables on mobile */
  .table-card,
  .table-scroll,
  .server-card,
  .server-cards {
    overflow-x: hidden !important;
    max-width: 100%;
  }

  .table-scroll {
    overflow-y: visible;
  }

  .data-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .data-table th,
  .data-table td {
    padding: 10px 6px;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* drop low-priority columns so table fits without swipe */
  .data-table th:nth-child(4),
  .data-table td:nth-child(4),
  .data-table th:nth-child(6),
  .data-table td:nth-child(6) {
    display: none;
  }

  .data-table .player {
    min-width: 0;
  }

  .data-table .player span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .price-card {
    padding: 23px;
  }

  .faq-question {
    min-height: 62px;
    padding-left: 17px;
    font-size: 13px;
  }

  .faq-answer {
    padding-left: 17px;
  }

  .page-hero {
    min-height: 220px;
    padding: 32px 22px;
    border-radius: 17px;
  }

  .page-hero h1 {
    font-size: 37px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field,
  .filter-tabs {
    width: 100%;
  }

  .rules-list > li,
  .punishment-list > li {
    padding: 54px 18px 18px;
  }

  .rules-list > li::before,
  .punishment-list > li::before {
    top: 15px;
    left: 17px;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-radius: 19px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .footer {
    width: calc(100% - 28px);
    margin-bottom: 14px;
    padding: 24px 18px;
    gap: 18px;
  }

  .footer nav,
  .footer .footer-links {
    flex-direction: column;
    gap: 7px;
  }

  .error-page {
    padding: 14px;
  }

  .error-card {
    grid-template-columns: 1fr;
  }

  .error-visual {
    min-height: 210px;
  }

  .error-card > .content,
  .error-card > .error-content {
    padding: 28px 22px;
  }

  .error-code {
    font-size: 88px;
  }
}

@media (max-width: 390px) {
  .topbar .brand {
    max-width: 138px;
    overflow: hidden;
  }

  .hero-title {
    font-size: 40px;
  }

  .server-meta {
    grid-template-columns: 1fr;
  }

  .server-meta > div + div {
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .sidebar,
  .topbar,
  .server-card,
  .glass-card,
  .profile-card,
  .form-card,
  .modal,
  .modal-panel,
  .toast,
  .footer,
  .order-summary {
    background-color: rgba(18, 19, 21, 0.98);
  }
}

/* Runtime component alignment */
.boot-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.brand::before { display: none; }

.logo-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--text) !important;
  filter: drop-shadow(0 5px 13px rgba(229, 72, 77, .22));
}

.logo-mark svg { width: 100%; height: 100%; }
.logo-type { color: var(--text) !important; }
.logo-type > span { color: var(--accent) !important; }

.brand-shimmer {
  display: inline-block;
  color: var(--text) !important;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-shimmer {
    color: transparent !important;
    background: linear-gradient(105deg,#f5f5f5 0%,#9da1a8 18%,#e5484d 38%,#ff777c 50%,#777b82 68%,#f5f5f5 100%);
    background-size: 280% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* continuous run — JS only sets delay once per element, never restarts */
    animation: inertia-brand-shimmer var(--brand-shimmer-duration, 8s) linear infinite;
    animation-delay: var(--brand-shimmer-delay, 0ms);
    animation-fill-mode: both;
    will-change: auto;
  }
}

@keyframes inertia-brand-shimmer {
  from { background-position: 200% 50%; }
  to { background-position: -80% 50%; }
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar .brand { margin-bottom: 0; }
.sidebar-close { display: none; }
.online-status { margin-top: 18px; }
.online-status .online-dot { display: none; }
.online-status > div > span { display: block; }
.sidebar-spacer { flex: 1 1 18px; min-height: 18px; }

.active-line {
  position: absolute;
  left: -1px;
  width: 2px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

.play-cta { position: relative; }
.play-pulse {
  position: absolute;
  right: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.12);
}

.update-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(140deg, rgba(229, 72, 77, .15), transparent 45%),
    radial-gradient(circle at 90% 8%, rgba(157, 161, 168, .34), transparent 26%),
    linear-gradient(135deg, #211315, #111214 72%);
}

.update-kicker {
  margin-bottom: 9px;
  color: var(--accent) !important;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.update-card strong { font-size: 17px; line-height: 1.12; }
.update-link { display: inline-flex; margin-top: 12px; align-items: center; gap: 6px; color: var(--muted-strong) !important; font-size: 10px; }
.update-link .icon { width: 13px; height: 13px; }
.sidebar-mini { padding: 13px 4px 0; color: #55575c; font-size: 8px; letter-spacing: .09em; }
.sidebar-mini span { color: var(--accent); }

.sidebar-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  border: 0;
  background: rgba(2, 2, 3, .74);
  backdrop-filter: blur(4px);
  transition: opacity .25s ease, visibility .25s ease;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.topbar-brand .logo-mark { width: 27px; height: 27px; }
.topbar-social { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.topbar-social a,
.footer-social a {
  display: inline-grid;
  min-width: 29px;
  height: 29px;
  padding: 0 6px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  font-size: 8px;
  font-weight: 850;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.topbar-social a:hover,
.footer-social a:hover { color: var(--accent); border-color: var(--accent-border); background: rgba(229,72,77,.08); }
.lang-switch .flag-dot { width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: linear-gradient(#fff 0 33%, #3573dc 33% 66%, #ef4e49 66%); }
.lang-switch b { color: var(--text); }
.lang-switch > span:last-child { margin-right: 5px; }

.home-content { width: 100%; max-width: none; padding-top: 18px; }
.hero { background: #09090a; }

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art {
  z-index: -3;
  background: url("hero-bg.png") center / cover no-repeat;
  filter: saturate(.56) hue-rotate(-28deg) contrast(1.08);
  transform: scale(1.01);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,7,8,.99) 0%, rgba(7,7,8,.91) 38%, rgba(7,7,8,.38) 70%, rgba(7,7,8,.18) 100%),
    linear-gradient(0deg, rgba(7,7,8,.75), transparent 55%);
}

.hero-copy .eyebrow > i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: 0 0 auto; }
/* INERTIA.HVH sits on the same line/baseline as eyebrow text */
.hero-copy .eyebrow {
  flex-wrap: wrap;
  row-gap: 6px;
}
.hero-logo-inline {
  display: inline;
  margin: 0;
  padding: 0;
  color: rgba(245, 245, 245, 0.72);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: uppercase;
  vertical-align: baseline;
}
.hero-logo {
  margin-bottom: 16px;
  color: rgba(245, 245, 245, 0.6);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}
.hero-logo span { color: var(--accent); }
.hero-trust { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.hero-trust b { margin-right: 5px; color: var(--text); font-size: 12px; }


.server-card-top,
.server-bottom,
.card-title,
.chart-head,
.clan-bottom,
.level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.server-card-top { align-items: flex-start; }
.server-glyph { display: inline-grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 12px; background: rgba(229,72,77,.09); }
.server-glyph .icon { width: 19px; height: 19px; }
.server-card-top > div { min-width: 0; margin-right: auto; }
.card-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.server-card-top h3 { overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }

.live-pill {
  display: inline-flex;
  padding: 4px 7px;
  align-items: center;
  gap: 5px;
  color: #b8bec8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #9ad4a8;
  box-shadow: none;
  animation: none;
}
.live-pill.is-offline {
  color: #8b909a;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}
.live-pill.is-offline i {
  background: #6a6f78;
  animation: none;
  box-shadow: none;
}

.server-map { position: relative; margin: 22px 0 0; padding: 19px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: linear-gradient(110deg, rgba(229,72,77,.1), transparent 55%), rgba(0,0,0,.23); }
.server-map::after { position: absolute; right: -25px; bottom: -60px; width: 120px; height: 120px; content: "D2"; color: rgba(255,255,255,.025); font-size: 80px; font-weight: 950; }
.server-map span,.server-map small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.server-map strong { display: block; margin: 2px 0; font-size: 20px; }
.server-meta { grid-template-columns: repeat(3, minmax(0,1fr)); }
.server-meta b { display: block; color: var(--text); font-size: 20px; line-height: 1.2; }
.server-meta b small { display: inline; letter-spacing: 0; text-transform: none; }
.ip-copy { font-family: var(--font); }
.ip-copy > div { min-width: 0; }
.ip-copy span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ip-copy code { display: block; overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.server-bottom .status::before { display: none; }
.server-bottom .status i {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: currentColor;
  box-shadow: none;
}

.section-tight { padding-top: 28px; }
.text-link { display: inline-flex; padding: 0; align-items: center; gap: 7px; color: var(--muted-strong); border: 0; background: transparent; font-size: 11px; font-weight: 800; white-space: nowrap; transition: color .2s ease, gap .2s ease; }
.text-link:hover { color: var(--accent); gap: 10px; }
.text-link .icon { width: 14px; height: 14px; }

.feature-card > span { display: block; }
.feature-card > i { position: absolute; top: 22px; right: 22px; color: rgba(245,245,245,.1); font-size: 12px; font-style: normal; font-weight: 900; }
.stat-icon { position: absolute; top: 21px; right: 21px; display: inline-grid; width: 36px; height: 36px; place-items: center; color: var(--accent) !important; border: 1px solid rgba(229,72,77,.15); border-radius: 10px; background: rgba(229,72,77,.07); }
.stat-icon .icon { width: 17px; height: 17px; }
.stats-section { position: relative; }
.stats-section::before { position: absolute; z-index: -1; inset: 20% -10%; content: ""; background: radial-gradient(circle, rgba(229,72,77,.07), transparent 60%); filter: blur(30px); }
.table-card { padding: 8px 12px; overflow: hidden; max-width: 100%; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: hidden; overflow-y: visible; }
.avatar { color: #fff; border-color: color-mix(in srgb, var(--avatar, #e5484d) 44%, transparent); background: linear-gradient(145deg, color-mix(in srgb, var(--avatar, #e5484d) 34%, #17181a), #151618); box-shadow: inset 0 0 18px color-mix(in srgb, var(--avatar, #e5484d) 22%, transparent); }
.rank-1 { color: #e8898e; background: rgba(232,137,142,.12); }
.rank-2 { color: #d3dae3; background: rgba(211,218,227,.1); }
.rank-3 { color: #ad686e; background: rgba(173,104,110,.1); }
.trend { display: inline-block; margin-left: 7px; font-size: 9px; }
.trend.up { color: var(--success); }
.trend.down { color: var(--danger); }

.news-visual { position: relative; display: grid; height: 180px; overflow: hidden; place-items: center; background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--news) 30%, transparent), transparent 44%), linear-gradient(135deg,#17181b,#0d0e0f); }
.news-visual::before { position: absolute; inset: 0; content: ""; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 28px 28px; transform: perspective(300px) rotateX(58deg) scale(1.5); }
.news-visual span { color: rgba(245,245,245,.06); font-size: 95px; font-weight: 950; line-height: 1; }
.news-visual i { position: absolute; width: 52px; height: 52px; border: 1px solid color-mix(in srgb, var(--news) 42%, transparent); border-radius: 16px; box-shadow: 0 0 44px color-mix(in srgb, var(--news) 28%, transparent); transform: rotate(45deg); }
.news-body { padding: 22px; }
.news-body > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-tag { color: var(--news, var(--accent)); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.news-body time { color: var(--muted); font-size: 9px; }
.news-body h3 { margin: 12px 0 9px; font-size: 18px; }
.news-body p { margin-bottom: 18px; color: var(--muted); font-size: 12px; }

.popular-label { position: absolute; top: 15px; right: 15px; padding: 5px 9px; color: #fff; border-radius: 999px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.plan-kicker { margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.price-card h3 { color: var(--plan, var(--text)); font-size: 27px; }
.plan-price { display: flex; min-height: 63px; margin: 14px 0 22px; align-items: baseline; flex-wrap: wrap; gap: 5px 9px; }
.plan-price strong { font-size: 38px; letter-spacing: -.06em; }
.plan-price del { color: var(--muted); font-size: 12px; }
.plan-price span { width: 100%; color: var(--muted); font-size: 10px; }
.price-card li { display: flex; padding-left: 0; align-items: flex-start; gap: 9px; }
.price-card li::before { display: none; }
.price-card li .icon { width: 14px; height: 14px; margin-top: 3px; color: var(--success); }

.faq-layout { display: grid; grid-template-columns: minmax(230px,.36fr) minmax(0,1fr); gap: 18px; }
.faq-layout .faq-list { width: 100%; max-width: none; }
.faq-aside { display: flex; min-height: 300px; align-items: flex-start; justify-content: flex-end; flex-direction: column; overflow: hidden; }
.faq-orbit { position: absolute; top: 25px; right: 25px; display: grid; width: 74px; height: 74px; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.24); border-radius: 50%; background: rgba(229,72,77,.07); box-shadow: 0 0 50px rgba(229,72,77,.13); font-size: 31px; font-weight: 900; }
.faq-aside h3 { margin-bottom: 8px; font-size: 22px; }
.faq-aside p { color: var(--muted); font-size: 12px; }
.faq-question { padding-right: 20px; gap: 15px; }
.faq-question::before,.faq-question::after { display: none; }
.faq-question > span { color: rgba(245,245,245,.18); font-size: 10px; font-weight: 900; }
.faq-question > b { margin-right: auto; }
.faq-question > i { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.15); border-radius: 8px; background: rgba(229,72,77,.06); }
.faq-question > i .icon { width: 13px; height: 13px; }
.faq-answer { padding-right: 60px; padding-left: 64px; }
.faq-item.open .faq-answer { padding-bottom: 20px; }

.page-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-hero > div { max-width: 780px; }
.secure-note { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.secure-note .icon { width: 14px; height: 14px; color: var(--success); }
.promo-strip { display: grid; min-height: 92px; margin-bottom: 20px; padding: 20px 24px; align-items: center; grid-template-columns: auto 1fr auto; gap: 18px; overflow: hidden; border: 1px solid var(--accent-border); border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 50%,rgba(157,161,168,.18),transparent 30%),linear-gradient(115deg,rgba(229,72,77,.14),rgba(18,19,21,.9)); }
.promo-strip > span { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.promo-strip b,.promo-strip small { display: block; }
.promo-strip small { color: var(--muted); font-size: 10px; }
.promo-strip > strong { color: var(--accent); font-size: 28px; }
.compare-table td:not(:first-child),.compare-table th:not(:first-child) { text-align: center; }

.chart-card { margin-top: 18px; padding: 26px; }
.chart-head { margin-bottom: 30px; }
.chart-head span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.chart-head strong { font-size: 20px; }
.bar-chart { display: flex; height: 250px; padding: 20px 4px 0; align-items: flex-end; gap: clamp(5px,1.2vw,14px); border-bottom: 1px solid var(--border); background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px); background-size: 100% 25%; }
.bar-chart i { position: relative; width: 100%; height: var(--h); max-width: 52px; border-radius: 6px 6px 1px 1px; background: linear-gradient(to top,rgba(229,72,77,.2),var(--accent)); box-shadow: 0 0 18px rgba(229,72,77,.09); transition: height .5s var(--ease),filter .2s ease; }
.bar-chart i:hover { filter: brightness(1.25); }
.bar-chart i span { position: absolute; top: -23px; left: 50%; visibility: hidden; padding: 2px 5px; color: var(--text); border-radius: 5px; background: var(--panel); font-size: 8px; font-style: normal; transform: translateX(-50%); }
.bar-chart i:hover span { visibility: visible; }
.chart-labels { display: flex; padding-top: 9px; justify-content: space-between; color: var(--muted); font-size: 9px; }
.toolbar.compact { margin: 0; }

.punishment-item { display: grid; padding: 18px 20px; align-items: center; grid-template-columns: minmax(260px,1fr) minmax(440px,1.35fr) auto; gap: 18px; }
.punishment-main { display: flex; min-width: 0; align-items: flex-start; gap: 14px; }
.punishment-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--accent-2); border: 1px solid rgba(157,161,168,.2); border-radius: 12px; background: rgba(157,161,168,.07); }
.punishment-icon .icon { width: 18px; height: 18px; }
.punishment-main h3 { margin: 6px 0 2px; font-size: 16px; }
.punishment-main p { margin: 0; color: var(--muted); font-size: 11px; }
.punishment-meta { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.punishment-meta span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.punishment-meta small { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.status.muted { color: var(--muted); }

.admin-console { position: relative; margin-bottom: 22px; padding: clamp(20px,3vw,28px); overflow: hidden; border-color: rgba(229,72,77,.2); background: linear-gradient(135deg,rgba(39,24,27,.94),rgba(18,19,21,.94) 48%,rgba(24,25,28,.9)); }
.admin-console::before { position: absolute; top: -150px; right: -100px; width: 360px; height: 360px; content: ""; border-radius: 50%; background: rgba(229,72,77,.12); filter: blur(70px); pointer-events: none; }
.admin-console > * { position: relative; z-index: 1; }
.admin-console-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.admin-console-head h2 { margin: 5px 0 7px; font-size: clamp(22px,3vw,30px); }
.admin-console-head p { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; }
.admin-access-badge { display: inline-flex; min-height: 34px; padding: 8px 11px; align-items: center; gap: 7px; color: #d8d9dc; border: 1px solid rgba(157,161,168,.18); border-radius: 9px; background: rgba(157,161,168,.06); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.admin-access-badge .icon { width: 13px; height: 13px; color: var(--accent); }
.admin-console-actions { display: grid; margin: 22px 0 24px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.admin-console-actions .btn { width: 100%; min-width: 0; }
.admin-action-danger { color: #e4e5e7; border-color: rgba(229,72,77,.24); background: rgba(229,72,77,.045); }
.admin-action-danger:hover { color: #fff; border-color: rgba(229,72,77,.45); background: rgba(229,72,77,.1); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.admin-grants-head { display: flex; margin-bottom: 10px; align-items: center; justify-content: space-between; gap: 14px; }
.admin-grants-head b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.admin-grants-head small { color: var(--muted); font-size: 9px; }
.admin-grants { display: grid; gap: 7px; }
.admin-grant-row { display: grid; min-height: 58px; padding: 9px 12px; align-items: center; grid-template-columns: 38px minmax(150px,1fr) auto auto; gap: 11px; border: 1px solid rgba(255,255,255,.055); border-radius: 11px; background: rgba(8,9,10,.34); transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.admin-grant-row:hover { border-color: rgba(229,72,77,.2); background: rgba(229,72,77,.045); transform: translateX(2px); }
.admin-grant-avatar { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; border: 1px solid rgba(229,72,77,.3); border-radius: 10px; background: linear-gradient(145deg,#6f272d,#27292d); font-size: 13px; font-weight: 900; }
.admin-grant-row b,.admin-grant-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-grant-row b { font-size: 11px; }
.admin-grant-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.admin-role { padding: 6px 9px; color: #ffd9da; border: 1px solid rgba(229,72,77,.22); border-radius: 8px; background: rgba(229,72,77,.09); font-size: 9px; font-weight: 800; }
.admin-term { min-width: 78px; color: var(--muted-strong); font-size: 9px; text-align: right; }
.admin-empty { display: flex; min-height: 70px; padding: 16px; align-items: center; justify-content: center; gap: 9px; color: var(--muted); border: 1px dashed rgba(157,161,168,.16); border-radius: 11px; background: rgba(0,0,0,.14); font-size: 10px; text-align: center; }
.admin-empty .icon { width: 16px; height: 16px; color: var(--accent); }
.admin-logs-section { padding-top: 10px; }
.admin-log-list { display: grid; gap: 9px; }
.admin-log-item { display: grid; min-height: 96px; padding: 17px 18px; align-items: center; grid-template-columns: 48px minmax(0,1fr) auto 38px; gap: 15px; transition: border-color .2s ease,background .2s ease,transform .2s ease; }
.admin-log-item:hover { border-color: rgba(229,72,77,.22); background: rgba(229,72,77,.025); transform: translateX(2px); }
.admin-log-icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.2); border-radius: 13px; background: rgba(229,72,77,.07); }
.admin-log-icon.admin { color: #c6c8cc; border-color: rgba(157,161,168,.22); background: rgba(157,161,168,.07); }
.admin-log-icon.media { color: #f0b3b5; background: linear-gradient(145deg,rgba(229,72,77,.12),rgba(157,161,168,.05)); }
.admin-log-icon.roulette-drop-icon { color: #d8d9dc; border-color: rgba(157,161,168,.22); background: linear-gradient(145deg,rgba(229,72,77,.1),rgba(157,161,168,.055)); }
.admin-log-icon.roulette-drop-icon.premium { color: #f2b7ba; border-color: rgba(229,72,77,.3); background: rgba(229,72,77,.1); }
.admin-log-icon.roulette-drop-icon.xp { color: #d5d7da; }
.admin-log-icon.roulette-drop-icon.credits { color: #adb0b6; background: rgba(157,161,168,.08); }
.roulette-drop-item.is-revoked { border-color: rgba(229,72,77,.18); background: linear-gradient(135deg,rgba(229,72,77,.035),rgba(18,19,21,.82)); }
.roulette-drop-item.is-revoked .roulette-drop-icon { color: #a4a7ad; border-color: rgba(157,161,168,.18); background: rgba(157,161,168,.055); }
.roulette-drop-item.is-revoked h3 { color: #b9bbc0; }
.admin-log-icon .icon { width: 20px; height: 20px; }
.admin-log-main { min-width: 0; }
.admin-log-main > div { display: flex; margin-bottom: 7px; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-log-type { color: var(--muted-strong); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.status.pending { color: #d9dade; border-color: rgba(157,161,168,.2); background: rgba(157,161,168,.06); }
.admin-log-main h3 { margin: 0 0 4px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.admin-log-main p { max-width: 760px; margin: 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-log-meta { display: grid; min-width: 130px; justify-items: end; gap: 4px; }
.admin-log-meta time { color: var(--muted-strong); font-size: 9px; }
.admin-log-meta small { color: var(--muted); font-size: 8px; letter-spacing: .05em; }
.admin-log-empty { min-height: 260px; }
.roulette-logs-section { padding-bottom: 34px; }
.roulette-log-note { display: flex; min-height: 70px; margin-bottom: 12px; padding: 15px 18px; align-items: center; gap: 13px; border-color: rgba(157,161,168,.14); background: linear-gradient(135deg,rgba(229,72,77,.045),rgba(157,161,168,.025)); }
.roulette-log-note > .icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); }
.roulette-log-note div { min-width: 0; }
.roulette-log-note b { display: block; font-size: 11px; }
.roulette-log-note p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.roulette-log-note strong { margin-left: auto; padding: 7px 10px; color: var(--muted-strong); border: 1px solid rgba(157,161,168,.16); border-radius: 8px; background: rgba(157,161,168,.045); font-size: 9px; white-space: nowrap; }
.roulette-revoke-panel { margin-bottom: 12px; }
.roulette-revoke-button { border-color: rgba(229,72,77,.4); background: linear-gradient(135deg,#86252b,#c63c43); box-shadow: 0 12px 28px rgba(134,37,43,.25); }
.roulette-revoke-button:hover { border-color: rgba(255,255,255,.22); background: linear-gradient(135deg,#9b2a31,#da454c); }
.roulette-revocation-info { margin: 20px 0 12px; padding: 20px; border: 1px solid rgba(229,72,77,.2); border-radius: 14px; background: linear-gradient(135deg,rgba(229,72,77,.065),rgba(157,161,168,.025)); }
.roulette-revocation-info .request-review-title { margin-bottom: 14px; }
.roulette-revocation-info .request-review-title > .icon { color: var(--muted-strong); }
.roulette-revocation-info .reason-box { margin-top: 10px; }
.request-log-head { display: flex; margin: 14px 0 20px; align-items: center; justify-content: space-between; gap: 12px; }
.request-log-head time { color: var(--muted); font-size: 9px; }
.request-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.request-detail-grid > span { min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); }
.request-detail-grid small,.request-detail-grid b { display: block; }
.request-detail-grid small { margin-bottom: 4px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.request-detail-grid b { overflow-wrap: anywhere; font-size: 10px; line-height: 1.5; }
.review-history { display: grid; margin: 18px 0; padding: 14px; gap: 8px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,.16); }
.review-history-title { display: flex; padding: 2px 2px 7px; align-items: center; justify-content: space-between; gap: 12px; }
.review-history-title b { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.review-history-title small { color: var(--muted); font-size: 8px; }
.review-history-row { display: grid; padding: 10px; align-items: center; grid-template-columns: auto minmax(0,1fr) auto; gap: 11px; border: 1px solid rgba(255,255,255,.045); border-radius: 9px; background: rgba(255,255,255,.018); }
.review-history-row b,.review-history-row p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-history-row b { font-size: 9px; }
.review-history-row p { margin: 2px 0 0; color: var(--muted); font-size: 8px; }
.review-history-row time { color: var(--muted); font-size: 8px; white-space: nowrap; }
.request-review-panel { margin: 20px 0; padding: 20px; border: 1px solid rgba(229,72,77,.18); border-radius: 14px; background: linear-gradient(135deg,rgba(229,72,77,.055),rgba(157,161,168,.025)); }
.request-review-title { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 14px; }
.request-review-title h3 { margin: 4px 0 0; font-size: 18px; }
.request-review-title > .icon { width: 22px; height: 22px; color: var(--accent); }
.request-review-panel .field textarea { min-height: 88px; }
.request-review-actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 8px; }
.request-review-actions .btn { width: 100%; min-width: 0; }
.request-close-action { color: #d7d8db; border-color: rgba(157,161,168,.24); background: rgba(157,161,168,.055); }
.request-close-action:hover { color: #fff; border-color: rgba(157,161,168,.4); background: rgba(157,161,168,.1); }
.request-delete-zone { display: flex; margin: 20px 0 12px; padding: 15px; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(229,72,77,.18); border-radius: 12px; background: rgba(229,72,77,.035); }
.request-delete-zone b { font-size: 10px; }
.request-delete-zone p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.request-delete-button { flex: 0 0 auto; color: #efb6b8; border-color: rgba(229,72,77,.28); }
.request-delete-button:hover { color: #fff; border-color: rgba(229,72,77,.5); background: rgba(229,72,77,.12); }
.danger-eyebrow { color: #ef7b80; }
.delete-confirm-card { display: flex; margin: 22px 0; padding: 16px; align-items: center; gap: 12px; color: #e8b0b3; border: 1px solid rgba(229,72,77,.22); border-radius: 12px; background: rgba(229,72,77,.055); }
.delete-confirm-card > .icon { width: 21px; height: 21px; flex: 0 0 auto; }
.delete-confirm-card b { display: block; color: var(--text); font-size: 11px; }
.delete-confirm-card p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.delete-confirm-actions { display: grid; grid-template-columns: .65fr 1.35fr; gap: 9px; }
.delete-confirm-actions .btn { width: 100%; }
.request-delete-confirm { background: linear-gradient(135deg,#8f272d,#d13f46); box-shadow: 0 12px 28px rgba(143,39,45,.25); }
.admin-action-form { margin-top: 20px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-form-note { display: flex; margin: 2px 0 18px; padding: 11px 13px; align-items: center; gap: 8px; color: var(--muted); border: 1px solid rgba(157,161,168,.13); border-radius: 10px; background: rgba(157,161,168,.04); font-size: 9px; }
.admin-form-note .icon { width: 14px; height: 14px; color: var(--accent); }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.admin-form-actions .btn { min-width: 150px; }

.misc-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.misc-card { position: relative; display: flex; min-height: 390px; padding: 28px; flex-direction: column; overflow: hidden; border-color: rgba(157,161,168,.13); transition: border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.misc-card::before { position: absolute; top: -110px; left: -90px; width: 260px; height: 260px; content: ""; border-radius: 50%; background: rgba(229,72,77,.08); filter: blur(60px); pointer-events: none; }
.misc-card:hover { border-color: rgba(229,72,77,.27); box-shadow: 0 24px 60px rgba(0,0,0,.35),0 0 42px rgba(229,72,77,.05); transform: translateY(-5px); }
.misc-number { position: absolute; top: 22px; right: 24px; color: rgba(245,245,245,.11); font-size: 24px; font-weight: 950; letter-spacing: -.05em; }
.misc-icon { position: relative; display: grid; width: 58px; height: 58px; margin-bottom: 58px; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.2); border-radius: 16px; background: linear-gradient(145deg,rgba(229,72,77,.11),rgba(157,161,168,.04)); box-shadow: 0 16px 35px rgba(0,0,0,.22); }
.misc-icon .icon { width: 25px; height: 25px; }
.misc-card h2 { max-width: 300px; margin: 0 0 11px; font-size: clamp(21px,2.2vw,29px); line-height: 1.08; }
.misc-card p { margin: 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.misc-card .btn { margin-top: auto; }
.misc-note { display: flex; margin-top: 16px; padding: 18px 20px; align-items: center; gap: 14px; }
.misc-note > .icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--accent); }
.misc-note b { font-size: 11px; }
.misc-note p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.misc-note strong { color: var(--text); }
.misc-consent { margin: 3px 0 17px; }

.rules-notice { display: flex; margin-bottom: 16px; align-items: flex-start; gap: 15px; border-color: var(--accent-border); background: linear-gradient(120deg,rgba(229,72,77,.09),rgba(18,19,21,.8)); }
.rules-notice > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--accent); border-radius: 12px; background: rgba(229,72,77,.08); }
.rules-notice p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.rules-list { counter-reset: none; }
.rule-group { padding: 0; overflow: hidden; }
.rule-group-head { display: flex; padding: 23px; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.018); }
.rule-group-head > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.16); border-radius: 12px; background: rgba(229,72,77,.07); }
.rule-group-head small { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.rule-group-head h2 { margin: 2px 0 0; font-size: 20px; }
.rule-group ol { display: grid; margin: 0; padding: 10px 23px 17px; list-style: none; }
.rule-group li { display: grid; padding: 14px 0; grid-template-columns: 42px 1fr; gap: 12px; border-bottom: 1px solid var(--border); }
.rule-group li:last-child { border-bottom: 0; }
.rule-group li > span { color: var(--accent); font-size: 10px; font-weight: 900; }
.rule-group li p { margin: 0; color: var(--muted-strong); font-size: 12px; }

.clan-top { display: flex; align-items: center; gap: 10px; }
.clan-emblem { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; border: 1px solid color-mix(in srgb,var(--avatar) 45%,transparent); border-radius: 15px; background: linear-gradient(145deg,color-mix(in srgb,var(--avatar) 35%,#17181a),#141517); box-shadow: inset 0 0 24px color-mix(in srgb,var(--avatar) 20%,transparent); font-weight: 900; }
.clan-tag { color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.clan-card > h3 { margin: 18px 0; font-size: 21px; }
.clan-metrics { display: grid; padding: 15px 0; grid-template-columns: repeat(3,1fr); gap: 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clan-metrics small,.clan-metrics b { display: block; }
.clan-metrics small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.clan-metrics b { font-size: 15px; }
.clan-bottom { margin-top: 16px; color: var(--muted); font-size: 10px; }
.clan-bottom > span { display: flex; align-items: center; gap: 6px; }
.clan-bottom .icon { width: 14px; height: 14px; }
.modal-clan { display: flex; margin-bottom: 14px; align-items: center; gap: 12px; }

.roulette-layout { display: grid; grid-template-columns: minmax(380px,1fr) minmax(280px,.56fr); gap: 20px; }
.roulette-machine { position: relative; display: grid; min-height: 600px; place-items: center; align-content: center; overflow: hidden; }
.roulette-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(229,72,77,.11); filter: blur(70px); }
.roulette-pointer { position: absolute; z-index: 4; top: 57px; width: 0; height: 0; border-right: 13px solid transparent; border-left: 13px solid transparent; border-top: 28px solid var(--accent); filter: drop-shadow(0 5px 10px rgba(229,72,77,.55)); }
.roulette-wheel { position: relative; width: min(70vw,420px); aspect-ratio: 1; margin-bottom: 30px; border: 10px solid #1c1d20; border-radius: 50%; background: conic-gradient(from 22.5deg,#241315 0 12.5%,#151619 0 25%,#241315 0 37.5%,#17181b 0 50%,#211315 0 62.5%,#151619 0 75%,#241315 0 87.5%,#17181a 0); box-shadow: 0 0 0 1px var(--border-strong),0 24px 80px rgba(0,0,0,.55),0 0 80px rgba(229,72,77,.1); transition: transform 2.8s cubic-bezier(.12,.72,.13,1); }
.roulette-wheel::after { position: absolute; inset: 35%; content: "I"; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 50%; background: #101113; box-shadow: 0 0 30px rgba(229,72,77,.22); font-size: 33px; font-weight: 950; }
.roulette-wheel > span { position: absolute; top: 50%; left: 50%; width: 50%; height: 20px; transform-origin: 0 50%; transform: rotate(calc(var(--i) * 45deg + 22.5deg)); }
.roulette-wheel > span b { position: absolute; left: 54%; color: rgba(245,245,245,.78); font-size: 9px; white-space: nowrap; transform: rotate(90deg); }
.roulette-machine > small { margin-top: 12px; color: var(--muted); font-size: 10px; }
.roulette-machine .btn.cooldown { color: var(--muted-strong); border-color: rgba(157,161,168,.18); background: linear-gradient(135deg,#303237,#222428); box-shadow: none; }
.roulette-info { display: grid; align-content: center; gap: 16px; }
.roulette-info h2 { font-size: 28px; }
.reward-list { display: grid; margin: 20px 0 0; padding: 0; gap: 10px; list-style: none; }
.reward-list li { display: flex; padding: 13px; align-items: center; gap: 11px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.025); }
.reward-list li > span { display: grid; width: 35px; height: 35px; place-items: center; color: var(--accent); border-radius: 9px; background: rgba(229,72,77,.08); }
.reward-list b,.reward-list small { display: block; }
.reward-list b { font-size: 11px; }
.reward-list small { color: var(--muted); font-size: 9px; }
.recent-drop { display: flex; align-items: center; gap: 12px; }
.maintenance-badge { display: inline-flex; min-height: 34px; padding: 8px 11px; align-items: center; gap: 8px; color: #e1e2e4; border: 1px solid rgba(229,72,77,.25); border-radius: 9px; background: rgba(229,72,77,.07); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.maintenance-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(229,72,77,.65); animation: status-pulse 1.8s ease-in-out infinite; }
.roulette-maintenance { position: relative; display: grid; min-height: 520px; padding: clamp(28px,6vw,72px); place-items: center; align-content: center; overflow: hidden; text-align: center; }
.roulette-maintenance > * { position: relative; z-index: 1; }
.maintenance-glow { position: absolute; z-index: 0; width: 400px; height: 400px; border-radius: 50%; background: rgba(229,72,77,.09); filter: blur(90px); pointer-events: none; }
.maintenance-icon { display: grid; width: 88px; height: 88px; margin-bottom: 20px; place-items: center; color: var(--accent); border: 1px solid rgba(229,72,77,.25); border-radius: 26px; background: linear-gradient(145deg,rgba(229,72,77,.13),rgba(157,161,168,.05)); box-shadow: 0 22px 60px rgba(0,0,0,.34),0 0 45px rgba(229,72,77,.09); transform: rotate(-4deg); }
.maintenance-icon .icon { width: 38px; height: 38px; }
.roulette-maintenance h2 { margin: 18px 0 10px; font-size: clamp(28px,4vw,42px); }
.roulette-maintenance > p { max-width: 590px; margin: 0; color: var(--muted); line-height: 1.75; }
.maintenance-status { display: flex; margin: 26px 0; flex-wrap: wrap; justify-content: center; gap: 9px; }
.maintenance-status span { display: inline-flex; min-height: 38px; padding: 9px 12px; align-items: center; gap: 7px; color: var(--muted-strong); border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.025); font-size: 9px; }
.maintenance-status .icon { width: 14px; height: 14px; color: var(--accent); }
.recent-drop p { margin: 0; color: var(--muted); font-size: 11px; }
.recent-drop b { color: var(--text); }

.faq-categories { display: flex; margin-bottom: 20px; flex-wrap: wrap; gap: 7px; }
.hero-search { width: min(100%,330px); flex: 0 0 330px; }

.profile-hero { min-height: 0; }
.profile-identity { display: flex; align-items: center; gap: 24px; }
.profile-avatar { position: relative; width: 112px !important; height: 112px !important; border-radius: 24px; font-size: 31px; }
.profile-avatar i { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border: 4px solid #151619; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }
.profile-identity h1 { margin-bottom: 9px; }
.profile-identity h1 small { color: var(--accent); font-size: .35em; letter-spacing: .04em; }
.profile-identity p { margin-bottom: 14px; }
.profile-badges { display: flex; gap: 8px; }
.profile-badges .status::before { display: none; }
.profile-badges .status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* profile card — medium size, live stats from game server */
.profile-mini-page {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: calc(100dvh - var(--topbar-height) - 40px);
  padding: 22px 0 40px;
}
.profile-mini-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}
.profile-mini-wrap--guest {
  grid-template-columns: minmax(300px, 420px);
  justify-content: center;
  justify-items: stretch;
}
.profile-player-card {
  overflow: hidden;
  padding: 0 !important;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.profile-player-banner {
  position: relative;
  height: 112px;
  overflow: hidden; /* clip banner glow so it doesn't crawl onto avatar */
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--profile-accent, var(--accent)) 62%, #1a1020), #0f1116 72%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 48%);
}
.profile-banner-glow {
  position: absolute;
  inset: auto 0 -30% auto;
  width: 140px;
  height: 100px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--profile-accent, var(--accent)) 22%, transparent);
  filter: blur(28px);
  pointer-events: none;
  /* keep glow inside banner — do not bleed onto avatar/name */
  opacity: 0.85;
}
.profile-player-banner-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.profile-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.profile-icon-btn:hover { border-color: rgba(229, 72, 77, 0.5); color: #fff; }
.profile-icon-btn svg { width: 15px; height: 15px; }
.profile-player-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 18px 16px;
}
.profile-player-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -44px;
  margin-bottom: 14px;
}
.profile-player-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 3px solid #1a1b1f;
  border-radius: 20px;
  background: var(--avatar, #2a2c33);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  font-weight: 800;
  font-size: 22px;
}
.profile-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-online-dot {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid #1a1b1f;
  border-radius: 50%;
  background: var(--success, #3dd68c);
  /* no soft bloom — was bleeding onto the card */
  box-shadow: none;
}
.profile-player-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.profile-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #e8eaef;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.profile-chip small {
  color: #7a808c;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.profile-chip b { font-weight: 800; color: inherit; }
.profile-chip--accent {
  border-color: rgba(229, 72, 77, 0.45);
  background: rgba(229, 72, 77, 0.08);
  color: #f0a8ab;
}
.profile-chip--place {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #d7dbe3;
}
.profile-player-name {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.profile-player-server {
  margin: 0 0 16px;
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 600;
}
.profile-player-status {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.profile-player-status span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.profile-player-status b {
  font-size: 14px;
  font-weight: 600;
}
.profile-player-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.profile-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #b4bac4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-pill.is-admin {
  border-color: rgba(229, 72, 77, 0.5);
  background: transparent;
  color: #e89a96;
}
.profile-pill.is-player {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #b4bac4;
}
.profile-pill--steam {
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #9aa3b0;
}
.profile-pill--vip {
  border-color: rgba(229, 72, 77, 0.4);
  background: transparent;
  color: #d4a07a;
}
.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.profile-quick-stats > div {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}
.profile-quick-stats small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.profile-quick-stats b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.profile-player-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.profile-tab {
  display: grid;
  place-items: center;
  height: 44px;
  border: 1px solid rgba(229, 72, 77, 0.28);
  border-radius: 13px;
  background: rgba(229, 72, 77, 0.12);
  color: #ff8f94;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.profile-tab:hover {
  background: rgba(229, 72, 77, 0.2);
  border-color: rgba(229, 72, 77, 0.45);
  transform: translateY(-1px);
}
.profile-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(229, 72, 77, 0.3);
}
.profile-tab svg { width: 17px; height: 17px; }
.profile-player-card--guest .profile-player-body { padding-top: 18px; }
.profile-player-card--guest .profile-player-avatar {
  margin-top: 0;
  width: 76px;
  height: 76px;
  color: var(--muted);
}
.profile-player-card--guest .btn { margin-top: 6px; }

.profile-info-card {
  padding: 20px 20px 18px !important;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.profile-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.profile-info-head .eyebrow {
  display: block;
  margin-bottom: 4px;
}
.profile-info-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.profile-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #8b919c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.profile-live-tag i {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #9ad4a8;
  box-shadow: none;
}
.profile-info-block + .profile-info-block { margin-top: 16px; }
.profile-info-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.profile-info-label svg { width: 14px; height: 14px; opacity: 0.9; }
.profile-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.profile-info-row--stats { grid-template-columns: repeat(4, 1fr); }
.profile-info-row > div {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.profile-info-wide { grid-column: 1 / -1; }
.profile-info-row small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile-info-row b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.profile-info-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.profile-steam-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}
.profile-steam-main small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.profile-steam-main code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f0f2f6;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.profile-steam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-steam-actions .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}
.profile-steam-actions .btn svg {
  width: 14px;
  height: 14px;
}
.profile-steam-more {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}
.profile-steam-more summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  user-select: none;
  list-style: none;
}
.profile-steam-more summary::-webkit-details-marker { display: none; }
.profile-steam-more summary::after {
  content: " ▾";
  opacity: 0.7;
}
.profile-steam-more[open] summary::after { content: " ▴"; }
.profile-steam-more summary:hover { color: #ddd; }
.profile-steam-id {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 0;
}
.profile-steam-id--nested {
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.profile-steam-copy {
  flex: 1;
  min-width: 0;
}
.profile-steam-copy small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.profile-steam-id code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e8eaef;
  font-size: 13px;
}
.profile-steam-id .icon-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}
.profile-info-hint[hidden] { display: none !important; }
[data-profile-stats-loading].is-loading b,
b.is-loading {
  opacity: 0.45;
}
.privilege-badge {
  padding: 3px 8px;
  color: #e89a96;
  border: 1px solid rgba(229, 72, 77, 0.4);
  border-radius: 2px;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.level-row strong { display: block; font-size: 32px; }
.level-row span,.level-row small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.profile-card .progress { margin: 13px 0 22px; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),var(--accent-2)); box-shadow: 0 0 15px rgba(229,72,77,.45); }
.profile-card dl { display: grid; margin: 0 0 22px; }
.profile-card dl > div { padding: 11px 0; border-bottom: 1px solid var(--border); }
.profile-card dt { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.profile-card dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 11px; }
.profile-main { display: grid; gap: 18px; }
.profile-stats .stat-card { padding: 20px; }
.profile-stats .stat-card span { display: block; }
.profile-stats .stat-card strong { font-size: 28px; }
.profile-stats .stat-card small { display: block; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.activity-card { padding-top: 24px; }
.activity-row { display: grid; padding: 14px 0; align-items: center; grid-template-columns: 40px 1fr auto; gap: 12px; border-bottom: 1px solid var(--border); }
.activity-row:last-child { border-bottom: 0; }
.activity-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: rgba(255,255,255,.04); }
.activity-icon.positive { color: var(--success); }
.activity-icon.negative { color: var(--danger); }
.activity-icon .icon { width: 16px; height: 16px; }
.activity-row b { font-size: 11px; }
.activity-row p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.activity-row time { color: var(--muted); font-size: 9px; }

.auth-main { display: grid; min-height: calc(100vh - var(--topbar-height)); place-items: center; }
.auth-layout { display: grid; width: min(100%,1100px); align-items: center; grid-template-columns: minmax(0,1fr) minmax(340px,.65fr); gap: clamp(40px,8vw,110px); }
.auth-copy h1 { margin-bottom: 19px; font-size: clamp(48px,7vw,88px); font-weight: 950; letter-spacing: -.07em; }
.auth-copy h1 em { color: var(--accent); font-style: normal; }
.auth-copy > p { max-width: 590px; color: var(--muted-strong); font-size: 16px; }
.auth-copy ul { display: grid; margin: 28px 0 0; padding: 0; gap: 11px; list-style: none; }
.auth-copy li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.auth-copy li .icon { width: 15px; height: 15px; color: var(--success); }
.auth-layout .form-card { max-width: 460px; text-align: center; }
.auth-layout .form-card > p { color: var(--muted); }
.auth-shield { display: inline-grid; width: 72px; height: 72px; margin: 0 auto 20px; place-items: center; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 22px; background: rgba(229,72,77,.09); box-shadow: 0 0 50px rgba(229,72,77,.11); }
.auth-shield .icon { width: 29px; height: 29px; }
.btn-large { min-height: 54px; }
.form-divider { display: flex; margin: 18px 0; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.form-divider::before,.form-divider::after { height: 1px; flex: 1; content: ""; background: var(--border); }
.auth-layout .form-card > small { display: flex; margin-top: 18px; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 8px; }

.step-badge { display: grid; width: 30px; height: 30px; place-items: center; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 9px; background: rgba(229,72,77,.08); font-size: 9px; font-weight: 900; }
.form-card .card-title { margin-bottom: 20px; }
.card-title h2 { margin: 2px 0 0; font-size: 24px; }
.payment-title { margin-top: 30px; }
.field > span { color: var(--muted-strong); font-size: 10px; font-weight: 700; }
.payment-grid { display: grid; margin-bottom: 18px; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option > span { display: flex; min-height: 66px; padding: 14px; align-items: center; gap: 10px; color: var(--muted-strong); border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,.16); font-size: 11px; font-weight: 750; transition: border-color .2s ease,background .2s ease; }
.payment-option > span > i { display: none; margin-left: auto; color: var(--success); }
.payment-option input:checked + span { color: var(--text); border-color: var(--accent-border); background: rgba(229,72,77,.06); }
.payment-option input:checked + span > i { display: block; }
.check-field { display: flex; margin-bottom: 18px; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; }
.check-field input { margin-top: 3px; accent-color: var(--accent); }
.order-plan { display: flex; margin: 17px 0; padding: 18px; align-items: center; gap: 14px; border: 1px solid color-mix(in srgb,var(--plan) 30%,transparent); border-radius: 13px; background: color-mix(in srgb,var(--plan) 7%,transparent); }
.order-plan > span { display: grid; width: 44px; height: 44px; place-items: center; color: var(--plan); border-radius: 12px; background: color-mix(in srgb,var(--plan) 12%,transparent); }
.order-plan h2 { margin: 0; color: var(--plan); }
.order-plan small,.order-plan p { margin: 0; color: var(--muted); font-size: 9px; }
.order-summary > ul { display: grid; margin: 0 0 18px; padding: 0; gap: 8px; color: var(--muted); list-style: none; }
.order-summary > ul li { display: flex; align-items: flex-start; gap: 7px; font-size: 10px; }
.order-summary > ul .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--success); }
.promo-field { display: flex; margin: 16px 0; }
.promo-field input { width: 100%; min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--border); border-right: 0; border-radius: 10px 0 0 10px; outline: 0; background: rgba(0,0,0,.2); }
.promo-field button { padding: 0 12px; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 0 10px 10px 0; background: rgba(229,72,77,.08); font-size: 9px; font-weight: 800; }
.order-summary dl { display: grid; margin: 0; }
.order-summary dl > div { display: flex; padding: 9px 0; justify-content: space-between; color: var(--muted); border-bottom: 1px solid var(--border); font-size: 11px; }
.order-summary dd { margin: 0; color: var(--text); }
.order-summary .order-total { padding-top: 14px; color: var(--text); font-size: 15px; font-weight: 800; }
.order-summary .order-total dd { color: var(--accent); font-size: 21px; }

.modal-panel.wide { width: min(100%,720px); }
.modal-close { position: absolute; z-index: 2; top: 15px; right: 15px; }
.modal-copy { margin: 14px 0 22px; color: var(--muted); }
.article-placeholder,.reason-box { margin: 18px 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.025); }
.article-placeholder span { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 10px; }
.article-placeholder p,.reason-box p { margin: 6px 0 0; color: var(--muted); }
.detail-grid { display: grid; margin: 20px 0; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-grid > span { padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.025); }
.detail-grid small,.detail-grid b { display: block; }
.detail-grid small,.reason-box small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.detail-grid b { margin-top: 2px; font-size: 11px; }
.modal-search { width: 100%; margin: 18px 0; }
.search-results { display: grid; max-height: 380px; gap: 5px; overflow: auto; }
.search-results > a { display: grid; padding: 11px 13px; align-items: center; grid-template-columns: 30px 1fr 18px; gap: 10px; border: 1px solid transparent; border-radius: 10px; transition: background .2s ease,border-color .2s ease; }
.search-results > a:hover { border-color: var(--border); background: rgba(255,255,255,.035); }
.search-results > a > .icon:first-child { color: var(--accent); }
.search-results b,.search-results small { display: block; }
.search-results b { font-size: 11px; }
.search-results small { color: var(--muted); font-size: 9px; }
.search-results > a > .icon:last-child { width: 14px; height: 14px; color: var(--muted); }
.empty-mini { display: flex; min-height: 100px; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.search-hint { display: block; margin-top: 15px; color: var(--muted); font-size: 8px; text-align: center; }
.search-hint kbd { padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; background: rgba(255,255,255,.04); }
.toast > span { display: grid; width: 32px; height: 32px; place-items: center; color: var(--success); border-radius: 9px; background: rgba(88,216,120,.08); }
.toast.info > span { color: var(--accent); background: rgba(229,72,77,.08); }
.toast.info { border-color: rgba(229,72,77,.28); box-shadow: 0 20px 55px rgba(0,0,0,.5),0 0 35px rgba(229,72,77,.08); }
.toast.admin-alert { top: calc(var(--topbar-height) + 18px); bottom: auto; cursor: pointer; }
.toast.admin-alert::after { margin-left: auto; content: "Открыть логи →"; color: var(--accent); font-size: 8px; font-weight: 800; white-space: nowrap; }
.toast.admin-alert:focus-visible { outline: 2px solid rgba(229,72,77,.55); outline-offset: 3px; }
.toast b,.toast p { display: block; margin: 0; }
.toast b { font-size: 11px; }
.toast p { color: var(--muted); font-size: 9px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

.footer { grid-template-columns: auto auto minmax(280px,1fr) auto; }
.footer-copy span { color: #55575c; }
.footer-social { display: flex; gap: 5px; }

.error-page { min-height: 100dvh; }
.error-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 50% 42%, rgba(229, 72, 77, 0.11), transparent 70%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.03), transparent 40%);
}
.error-brand { position: absolute; z-index: 3; top: 22px; left: 22px; }
.error-card { z-index: 2; }
.error-visual { display: none !important; }
.error-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px 24px;
}
.error-copy .eyebrow { margin-bottom: 0; }
.error-copy h1 { margin: 8px 0 10px; font-size: clamp(22px, 3.2vw, 28px); }
.error-copy p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 34ch; }
.error-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.error-foot {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  color: #505157;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease) var(--delay,0ms),transform .65s var(--ease) var(--delay,0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform:rotate(360deg); } }

@media (max-width: 1180px) {
  .topbar-social { display: none; }
  .punishment-item { grid-template-columns: minmax(250px,.7fr) minmax(0,1fr) auto; }
  .punishment-meta { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: auto 1fr auto; }
  .footer-copy { display: none; }
}

@media (max-width: 900px) {
  .topbar-brand { margin-right: auto; }
  .hero-art { background-position: 62% center; opacity: .72; }
  .hero-shade { background: linear-gradient(90deg,rgba(7,7,8,.98),rgba(7,7,8,.68)),linear-gradient(0deg,rgba(7,7,8,.86),transparent); }
  .scroll-cue { display: none; }
  .faq-layout,.roulette-layout,.auth-layout { grid-template-columns: 1fr; }
  .faq-aside { min-height: 240px; }
  .roulette-info { grid-template-columns: 1fr 1fr; }
  .punishment-item { grid-template-columns: 1fr auto; }
  .punishment-meta { grid-column: 1 / -1; grid-row: 2; }
  .admin-console-head { align-items: stretch; flex-direction: column; }
  .admin-access-badge { align-self: flex-start; }
  .admin-grant-row { grid-template-columns: 38px minmax(150px,1fr) auto; }
  .admin-term { grid-column: 2 / 4; min-width: 0; text-align: left; }
  .admin-log-item { grid-template-columns: 48px minmax(0,1fr) 38px; }
  .admin-log-meta { grid-column: 2 / 4; grid-row: 2; min-width: 0; justify-items: start; grid-template-columns: auto auto; gap: 10px; }
  .profile-hero { align-items: flex-start; flex-direction: column; }
  .profile-mini-wrap {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .profile-info-row--stats { grid-template-columns: 1fr 1fr; }
  .profile-player-name { font-size: 24px; }
  .auth-copy { text-align: center; }
  .auth-copy > p { margin-inline: auto; }
  .auth-copy ul { justify-content: center; }
  .auth-layout .form-card { margin-inline: auto; }
  .footer { grid-template-columns: 1fr; }
  .footer-social { justify-content: center; }

  /* dual server cards stack on tablet/mobile */
  .server-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .topbar-brand .logo-type { display: none; }
  .topbar-brand .logo-mark { width: 30px; height: 30px; }
  .home-content { padding-top: 10px; }
  .hero-art { background-position: 66% center; opacity: .5; }
  .hero-shade { background: linear-gradient(90deg,rgba(7,7,8,.97),rgba(7,7,8,.76)),linear-gradient(0deg,rgba(7,7,8,.92),transparent); }
  .hero-logo { display: none; }
  .hero-trust { gap: 8px 14px; }
  .server-card-top { flex-wrap: wrap; }
  .server-card-top > div { width: calc(100% - 58px); margin-right: 0; }
  .server-card-top .live-pill { margin-left: 55px; }
  .server-meta { grid-template-columns: repeat(3,1fr); }
  .server-meta > div + div { padding-top: 0; border-top: 0; }
  .server-meta b { font-size: 17px; }
  .server-bottom { align-items: stretch; flex-direction: column; }
  .server-bottom .btn { width: 100%; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-answer { padding-left: 17px; padding-right: 17px; }
  .faq-question { padding-right: 15px; }
  .promo-strip { grid-template-columns: 1fr auto; }
  .promo-strip > span { grid-column: 1 / -1; }
  .chart-head { align-items: stretch; flex-direction: column; }
  .bar-chart { height: 190px; gap: 4px; }
  .punishment-item { padding: 16px; }
  .punishment-meta { grid-template-columns: 1fr 1fr; }
  .admin-console-actions { display: grid; grid-template-columns: 1fr; }
  .admin-console-actions .btn { width: 100%; min-width: 0; }
  .admin-grants-head small { display: none; }
  .admin-grant-row { align-items: start; grid-template-columns: 36px minmax(0,1fr); }
  .admin-role,.admin-term { grid-column: 2; justify-self: start; text-align: left; }
  .admin-form-grid { grid-template-columns: 1fr; gap: 0; }
  .admin-form-actions { display: grid; grid-template-columns: 1fr; }
  .admin-form-actions .btn { width: 100%; min-width: 0; }
  .admin-log-filters { width: 100%; overflow-x: auto; }
  .admin-log-item { padding: 15px; grid-template-columns: 40px minmax(0,1fr) 34px; gap: 11px; }
  .admin-log-icon { width: 40px; height: 40px; }
  .admin-log-main p { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .admin-log-meta { grid-column: 2 / 4; }
  .request-detail-grid { grid-template-columns: 1fr; }
  .request-review-panel { padding: 16px; }
  .request-review-actions { grid-template-columns: 1fr; }
  .review-history-row { align-items: start; grid-template-columns: 1fr; }
  .review-history-row p { white-space: normal; }
  .request-delete-zone { align-items: stretch; flex-direction: column; }
  .request-delete-button { width: 100%; }
  .delete-confirm-actions { grid-template-columns: 1fr; }
  .misc-grid { grid-template-columns: 1fr; }
  .misc-card { min-height: 330px; padding: 23px; }
  .misc-icon { margin-bottom: 40px; }
  .misc-note { align-items: flex-start; }
  .rules-notice { padding: 18px; }
  .rule-group-head { padding: 18px; }
  .rule-group ol { padding-inline: 18px; }
  .roulette-machine { min-height: 480px; padding-inline: 10px; }
  .roulette-wheel { width: min(78vw,340px); }
  .roulette-pointer { top: 35px; }
  .roulette-info { grid-template-columns: 1fr; }
  .profile-identity { align-items: flex-start; flex-direction: column; }
  .profile-avatar { width: 90px !important; height: 90px !important; }
  .profile-mini-page { padding-top: 10px; }
  .profile-mini-wrap { max-width: 100%; }
  .profile-player-name { font-size: 20px; }
  .profile-info-row--stats { grid-template-columns: 1fr 1fr; }
  .activity-row { grid-template-columns: 36px 1fr; }
  .activity-row time { grid-column: 2; }
  .auth-copy h1 { font-size: 48px; }
  .payment-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-hero { align-items: flex-start; flex-direction: column; }
  .hero-search { width: 100%; flex-basis: auto; }
  .error-brand { top: 16px; left: 16px; }
  .error-card,
  .error-card--compact {
    width: min(100%, 400px);
    margin-top: 36px;
    grid-template-columns: 1fr;
  }
  .error-copy { padding: 22px 18px 18px; }
  .error-actions { gap: 8px; }
  .error-actions .btn { flex: 1 1 auto; min-width: 0; }
  .error-foot { bottom: 12px; font-size: 9px; }
  .footer-brand .logo-type { display: inline; }
}

@media (max-width: 390px) {
  .server-meta { grid-template-columns: repeat(3,1fr); }
  .clan-metrics { gap: 4px; }
  .roulette-wheel > span b { font-size: 7px; }
}

/* === perf (Next migration) ===
   NEVER put contain:paint / content on .app-shell — it becomes a
   containing block and position:fixed sidebar scrolls with the page. */
.main-content {
  contain: layout style;
}
/* do NOT set transform/contain:paint on sidebar — pin to viewport */
.sidebar {
  will-change: auto;
}
.nav-link {
  will-change: auto;
}
.nav-link::after {
  display: none; /* blur orb on active was expensive */
}
.hero-bg,
.hero img,
img {
  content-visibility: auto;
}
@media (prefers-reduced-motion: reduce) {
  *:not(.scroll-cue-arrow):not(.scroll-cue-fill-clip):not(.scroll-cue-shape--fill),
  *:not(.scroll-cue-arrow):not(.scroll-cue-fill-clip):not(.scroll-cue-shape--fill)::before,
  *:not(.scroll-cue-arrow):not(.scroll-cue-fill-clip):not(.scroll-cue-shape--fill)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-cue-shape--fill {
    animation: none !important;
    clip-path: inset(0 0 0 0) !important;
  }
  .scroll-cue-arrow {
    animation: none !important;
  }
}

[data-live-dot].is-pending {
  background: #aeb2ba;
  box-shadow: 0 0 8px rgba(174, 178, 186, 0.35);
  animation: status-pulse 1.6s ease-in-out infinite;
}
.status:not(.success):not(.danger) {
  color: var(--muted-strong);
}


/* two server cards in ONE row on the right */
.server-cards {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  max-width: none;
  justify-self: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-self: center;
}
.server-cards .server-card {
  max-width: none;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 16px 16px 14px;
  animation: none;
}
.server-cards .server-card h3 {
  font-size: 15px !important;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
}
.server-cards .server-map strong {
  font-size: 14px;
}
.server-cards .server-meta {
  gap: 8px;
}
.server-cards .server-meta b {
  font-size: 15px;
}
.server-cards .ip-copy code {
  font-size: 11px;
  word-break: break-all;
}
.server-cards .btn-small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
}
.server-card.is-soon {
  opacity: 0.94;
}
.server-card.is-soon .live-pill {
  filter: grayscale(0.2);
  opacity: 0.9;
}
.server-card .card-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy {
  padding-top: 8px;
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .server-cards {
    max-width: 100%;
    justify-self: stretch;
  }
}
@media (max-width: 640px) {
  .server-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== scroll cue — red fill stays INSIDE arrow mask ===== */
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(245, 245, 245, 0.5);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.2s ease;
}
.scroll-cue:hover { color: rgba(245, 245, 245, 0.92); }

.scroll-cue-arrow {
  position: relative;
  width: 26px;
  height: 28px;
  flex: 0 0 26px;
  overflow: hidden;
  animation: scroll-arrow-bob 2.2s ease-in-out infinite;
}

.scroll-cue-shape--base {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23000' d='M10.2 2.2h3.6v13.2h4.4L12 26.8 5.8 15.4h4.4V2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23000' d='M10.2 2.2h3.6v13.2h4.4L12 26.8 5.8 15.4h4.4V2.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* full-size window — only the fill is clipped, never slides past tip */
.scroll-cue-fill-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* reveal with clip-path on the masked shape → red only on the arrow */
.scroll-cue-shape--fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ff8f92 0%, #e5484d 48%, #c93a40 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23000' d='M10.2 2.2h3.6v13.2h4.4L12 26.8 5.8 15.4h4.4V2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath fill='%23000' d='M10.2 2.2h3.6v13.2h4.4L12 26.8 5.8 15.4h4.4V2.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  /* no drop-shadow — it painted past the tip */
  animation: scroll-arrow-fill 2.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* inset bottom shrinks = red grows top → tip, then retracts. never leaves the box */
@keyframes scroll-arrow-fill {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  42% {
    clip-path: inset(0 0 0 0);
  }
  58% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 100% 0);
  }
}

@keyframes scroll-arrow-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@media (max-width: 900px) {
  .scroll-cue { display: none; }
}

