* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #060613;
  --panel: rgba(11, 10, 31, 0.78);
  --line: rgba(185, 106, 255, 0.38);
  --line-strong: rgba(227, 193, 255, 0.72);
  --text: #ffffff;
  --muted: #cfc9eb;
  --muted-2: #9c96c2;
  --purple: #b35cff;
  --shadow: 0 0 28px rgba(149, 63, 255, 0.26);
  --mx: 0px;
  --my: 0px;
  --bg-scale: 1;
  --btn-tilt-x: 0deg;
  --btn-tilt-y: 0deg;
}

.page-legal .page {
  min-height: 100vh;
}

.legal-page {
  position: relative;
  z-index: 4;
  width: min(100% - 64px, 980px);
  margin: 76px auto 0;
  padding: 34px;
  border: 1px solid rgba(190, 112, 255, .26);
  border-radius: 8px;
  background: rgba(8, 10, 24, .76);
  box-shadow: 0 0 32px rgba(176, 65, 255, .14), inset 0 0 18px rgba(106, 196, 255, .06);
  backdrop-filter: blur(14px);
}

.legal-page .eyebrow {
  margin: 0 0 10px;
  color: #d88cff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.legal-lead,
.legal-page p,
.legal-page li {
  color: rgba(244, 237, 255, .82);
  font-size: 16px;
  line-height: 1.72;
}

.legal-lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
}

.legal-block {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.legal-block h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}

.legal-block h3 {
  margin: 0;
  color: #e6b3ff;
  font-size: 18px;
}

.legal-block ol {
  margin: 4px 0 0;
  padding-left: 22px;
}

.legal-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.legal-inline-links a,
.legal-page a {
  color: #e483ff;
  font-weight: 800;
}

.legal-inline-links a {
  padding: 9px 12px;
  border: 1px solid rgba(228, 131, 255, .3);
  border-radius: 8px;
  background: rgba(94, 26, 132, .24);
}

.legal-muted {
  padding: 12px 14px;
  border: 1px solid rgba(255, 190, 92, .3);
  border-radius: 8px;
  background: rgba(86, 58, 12, .22);
}

@media (max-width: 720px) {
  .legal-page {
    width: min(100% - 28px, 980px);
    margin-top: 36px;
    padding: 22px;
  }
}

.control-launcher-sync-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.control-mods-summary {
  margin-top: 16px;
  color: rgba(235, 249, 255, 0.82);
  font-weight: 800;
}

.control-mods-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.control-mod-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(102, 247, 255, 0.14);
  border-radius: 16px;
  background: rgba(4, 13, 28, 0.58);
}

.control-mod-row strong {
  display: block;
  color: #fff;
  word-break: break-word;
}

.control-mod-row span {
  display: block;
  margin-top: 4px;
  color: rgba(235, 249, 255, 0.68);
  font-size: 0.9rem;
}

.control-mod-row code {
  flex: 0 0 auto;
  color: #66f7ff;
  font-size: 0.78rem;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  min-height: 100vh;
  padding: 30px 72px 124px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at left center, rgba(160, 88, 255, 0.22), transparent 24%),
    radial-gradient(circle at right center, rgba(160, 88, 255, 0.22), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(88, 42, 170, 0.2), transparent 28%);
  filter: blur(34px);
}

.background, .bg-shadow, .neon-orbs, .stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform .28s ease-out;
  will-change: transform;
}

.background {
  z-index: -6;
  background:
    linear-gradient(90deg, rgba(4, 5, 17, 0.48) 0%, rgba(4, 5, 17, 0.2) 31%, rgba(4, 5, 17, 0.08) 57%, rgba(4, 5, 17, 0.28) 100%),
    url("assets/5984a0ca-30f0-42c7-b755-28fd3574a493.png") center center / cover no-repeat,
    radial-gradient(circle at 74% 34%, rgba(132, 66, 255, 0.28), transparent 20%),
    radial-gradient(circle at 36% 18%, rgba(220, 196, 255, 0.18), transparent 16%),
    radial-gradient(circle at 62% 58%, rgba(76, 170, 255, 0.14), transparent 18%);
  filter: saturate(1.12) contrast(1.05) brightness(0.96);
  transform: translate3d(calc(var(--mx) * -.026), calc(var(--my) * -.026), 0) scale(var(--bg-scale));
}

.page-inner .background {
  background:
    linear-gradient(180deg, rgba(5, 5, 20, 0.24) 0%, rgba(5, 5, 20, 0.5) 100%),
    url("assets/5984a0ca-30f0-42c7-b755-28fd3574a493.png") center center / cover no-repeat;
  filter: saturate(1.1) contrast(1.04) brightness(0.9) blur(.4px);
}

.page-forum .background {
  background:
    linear-gradient(180deg, rgba(7, 6, 22, 0.18) 0%, rgba(7, 6, 22, 0.54) 100%),
    url("assets/5984a0ca-30f0-42c7-b755-28fd3574a493.png") center center / cover no-repeat,
    radial-gradient(circle at 50% 45%, rgba(10, 8, 32, 0.08) 0%, rgba(10, 8, 32, 0.44) 42%, rgba(7, 6, 22, 0.72) 100%),
    radial-gradient(circle at 18% 75%, rgba(170, 75, 255, 0.34), transparent 17%),
    radial-gradient(circle at 84% 70%, rgba(129, 54, 255, 0.3), transparent 18%),
    radial-gradient(circle at 20% 16%, rgba(103, 32, 228, 0.3), transparent 16%),
    radial-gradient(circle at 85% 22%, rgba(145, 70, 255, 0.3), transparent 14%),
    radial-gradient(circle at 34% 16%, rgba(235, 224, 255, 0.12), transparent 12%),
    radial-gradient(circle at 73% 30%, rgba(182, 94, 255, 0.2), transparent 14%),
    linear-gradient(180deg, #0a0822 0%, #0b0826 40%, #080719 100%);
  filter: saturate(1.08) contrast(1.04) brightness(0.94);
}

.bg-shadow {
  z-index: -5;
  background:
    linear-gradient(180deg, rgba(4, 4, 18, 0.04) 0%, rgba(4, 4, 18, 0.18) 34%, rgba(4, 4, 18, 0.36) 100%),
    radial-gradient(circle at 18% 18%, rgba(187, 123, 255, 0.34), transparent 24%),
    radial-gradient(circle at 72% 28%, rgba(80, 189, 255, 0.2), transparent 18%),
    radial-gradient(circle at 38% 18%, rgba(255, 245, 255, 0.12), transparent 12%),
    radial-gradient(circle at 63% 58%, rgba(126, 208, 255, 0.14), transparent 16%);
  transform: translate3d(calc(var(--mx) * -.04), calc(var(--my) * -.04), 0);
}

.neon-orbs { z-index: -4; }
.neon-orbs {
  transform: translate3d(calc(var(--mx) * -.055), calc(var(--my) * -.055), 0);
}
.neon-orbs::before, .neon-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
}
.neon-orbs::before {
  left: -180px; top: 120px; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.34), transparent 62%);
}
.neon-orbs::after {
  right: 120px; top: 180px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 65%);
}

.stars {
  z-index: -3;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    radial-gradient(circle, rgba(196, 144, 255, 0.82) 1px, transparent 1px);
  background-size: 120px 120px, 170px 170px;
  transform: translate3d(calc(var(--mx) * -.02), calc(var(--my) * -.02), 0);
}

.header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}

.logo-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 50%;
  backdrop-filter: none;
  overflow: visible;
}

.logo-smoke {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.3), transparent 20%),
    radial-gradient(circle at 36% 46%, rgba(214, 154, 255, 0.28), transparent 28%),
    radial-gradient(circle at 60% 62%, rgba(148, 88, 255, 0.22), transparent 32%),
    radial-gradient(circle at 48% 78%, rgba(255, 210, 176, 0.16), transparent 24%);
  filter: blur(22px);
  opacity: .92;
  pointer-events: none;
  z-index: 0;
}

.smoke-left {
  left: -34px;
  transform: translateY(-50%) rotate(-14deg);
  animation: logo-smoke-left 5.6s ease-in-out infinite;
}

.smoke-right {
  right: -32px;
  transform: translateY(-50%) rotate(16deg);
  animation: logo-smoke-right 6.2s ease-in-out infinite;
}

.logo-mark img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1);
  filter: drop-shadow(0 0 8px rgba(255, 214, 156, 0.18)) drop-shadow(0 0 18px rgba(179, 92, 255, 0.16));
}

.header-avatar,
.header-avatar img {
  display: none !important;
}

@keyframes logo-smoke-left {
  0%, 100% {
    opacity: .76;
    transform: translateY(-50%) translateX(0) scale(1) rotate(-14deg);
    filter: blur(22px);
  }
  50% {
    opacity: 1;
    transform: translateY(-58%) translateX(-8px) scale(1.18) rotate(-24deg);
    filter: blur(28px);
  }
}

@keyframes logo-smoke-right {
  0%, 100% {
    opacity: .72;
    transform: translateY(-50%) translateX(0) scale(1) rotate(16deg);
    filter: blur(22px);
  }
  50% {
    opacity: .98;
    transform: translateY(-42%) translateX(9px) scale(1.2) rotate(28deg);
    filter: blur(30px);
  }
}

.logo-wordmark img {
  display: block;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.28)) drop-shadow(0 0 16px rgba(168,85,247,.7));
}

.nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.84);
}

.nav a {
  position: relative;
  padding: 22px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: -10px; right: -10px; bottom: 2px; height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #f3deff, transparent);
  box-shadow: 0 0 16px rgba(179,92,255,.9);
}

.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { opacity: 1; }

.header-right { display: flex; align-items: center; gap: 18px; }

.header-account-dock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.header-account-balance,
.header-account-manage,
.header-account-logout {
  min-width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 208, 255, 0.24);
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.72);
  box-shadow: 0 0 12px rgba(77,198,255,.14), inset 0 0 12px rgba(77,198,255,.08);
  color: #d8f5ff;
}

.header-account-balance {
  gap: 10px;
  padding: 0 6px 0 14px;
  min-width: 154px;
  color: #9bf7ff;
  font-weight: 900;
  border-radius: 18px;
  border-color: rgba(88, 230, 244, .28);
  background: rgba(5, 18, 30, .82);
  box-shadow: 0 0 20px rgba(69, 225, 242, .18), inset 0 0 18px rgba(77,198,255,.1);
}

.header-account-balance i,
.header-account-manage i,
.header-account-logout i {
  font-size: 17px;
}

.header-account-balance strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.header-balance-add {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border: 1px solid rgba(117, 255, 216, .52);
  border-radius: 14px;
  color: #04151a;
  background: linear-gradient(135deg, #78ffe0, #35d8c7);
  box-shadow: 0 0 20px rgba(91, 246, 222, .28), inset 0 0 12px rgba(255,255,255,.24);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.header-balance-add:hover {
  transform: translateY(-2px);
  border-color: rgba(117, 255, 216, .76);
  box-shadow: 0 0 24px rgba(91, 246, 222, .36), inset 0 0 14px rgba(255,255,255,.3);
}

.header-account-manage,
.header-account-logout {
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.header-account-manage:hover,
.header-account-logout:hover {
  transform: translateY(-2px);
  border-color: rgba(116, 208, 255, 0.46);
  background: rgba(18, 28, 52, 0.88);
}

.header-account-manage {
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin-left: -4px;
  border-radius: 14px;
  border-color: rgba(117, 255, 216, .52);
  color: #04151a;
  background: linear-gradient(135deg, #78ffe0, #35d8c7);
  box-shadow: 0 0 20px rgba(91, 246, 222, .28), inset 0 0 12px rgba(255,255,255,.24);
}

.header-balance-modal[hidden] {
  display: none !important;
}

.header-balance-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.header-balance-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 14, .72);
  backdrop-filter: blur(8px);
}

.header-balance-dialog {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(102, 247, 255, .25);
  border-radius: 12px;
  background: rgba(10, 13, 30, .94);
  box-shadow: 0 0 46px rgba(87, 238, 255, .18), 0 0 70px rgba(183, 70, 255, .14);
}

.header-balance-dialog > span {
  color: #66f7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.header-balance-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.header-balance-dialog p {
  margin: 0;
  color: rgba(238, 234, 255, .76);
  line-height: 1.5;
}

.header-balance-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.header-balance-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.header-balance-form {
  display: grid;
  gap: 12px;
}

.header-balance-form label {
  display: grid;
  gap: 6px;
  color: rgba(238, 234, 255, .76);
  font-size: 13px;
  font-weight: 700;
}

.header-balance-form input[type="number"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 10px;
  color: #fff;
  background: rgba(2, 8, 20, .72);
  font: inherit;
}

.header-balance-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.header-balance-methods label {
  position: relative;
  min-height: 112px;
  display: block;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  color: #fff;
  background: rgba(54, 58, 73, .78);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.header-balance-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header-balance-methods label:has(input:checked) {
  border-color: #6144ff;
  box-shadow: inset 0 0 0 1px #6144ff, 0 0 22px rgba(97, 68, 255, .24);
}

.header-balance-methods label:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .36);
}

.header-balance-methods-preview .header-balance-method-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  background: rgba(54, 58, 73, .78);
}

.header-balance-method-card {
  min-height: 112px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 12px;
}

.header-balance-method-card b {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 7px;
  border-radius: 0 0 0 3px;
  color: #fff;
  background: #5968ff;
  font-size: 11px;
  line-height: 1;
}

.header-balance-method-card i {
  align-self: start;
  margin-top: 14px;
  color: #f4f6ff;
  font-size: 30px;
}

.header-balance-method-card strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
}

.header-balance-method-card small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.2;
}

.header-balance-rate,
.header-balance-status {
  min-height: 18px;
  color: rgba(238, 234, 255, .7);
  font-size: 13px;
}

.header-balance-status[data-state="ok"] {
  color: #7af6d0;
}

.header-balance-status[data-state="error"] {
  color: #ff9a9a;
}

body.header-balance-modal-open {
  overflow: hidden;
}

.header-account-chip {
  min-width: 0;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0;
  border: 1px solid rgba(116, 208, 255, 0.32);
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.76);
  box-shadow: 0 0 18px rgba(77,198,255,.18), inset 0 0 12px rgba(77,198,255,.08);
}

.header-account-chip img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.22);
}

.header-account-chip span {
  display: none;
}

.social {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid rgba(116, 208, 255, 0.22);
  border-radius: 50%;
  background: rgba(10, 18, 34, 0.52);
  color: #92d7ff; font-size: 26px;
  box-shadow: 0 0 12px rgba(77,198,255,.14), inset 0 0 12px rgba(77,198,255,.08);
  filter: drop-shadow(0 0 7px rgba(77,198,255,.55));
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease, filter .22s ease;
}

.header-account-logout {
  border-color: rgba(255, 91, 122, .42);
  color: #ff9aac;
  background: rgba(42, 10, 22, .72);
  box-shadow: 0 0 18px rgba(255, 76, 118, .16), inset 0 0 12px rgba(255, 76, 118, .08);
}

.header-account-logout:hover {
  border-color: rgba(255, 112, 142, .7);
  background: rgba(58, 13, 28, .88);
  box-shadow: 0 0 22px rgba(255, 76, 118, .24), inset 0 0 14px rgba(255, 76, 118, .12);
}

@media (max-width: 1500px) {
  .page {
    padding-left: 38px;
    padding-right: 38px;
  }

  .header {
    grid-template-columns: 300px minmax(390px, 1fr) auto;
    gap: 20px;
  }

  .logo-wordmark img {
    width: 190px;
  }

  .nav {
    gap: 24px;
    font-size: 14px;
  }

  .header-right {
    gap: 12px;
  }

  .header-account-dock {
    gap: 8px;
    margin-left: 2px;
  }

  .header-account-balance,
  .header-account-manage,
  .header-account-logout,
  .header-account-chip {
    min-width: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .header-account-balance {
    width: auto;
    min-width: 126px;
    padding: 0 5px 0 11px;
    gap: 8px;
    border-radius: 13px;
  }

  .header-balance-add {
    width: 36px;
    height: 36px;
    margin-left: 1px;
    border-radius: 11px;
  }

  .header-account-manage {
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-left: -5px;
    border-radius: 12px;
  }

  .header-account-balance i,
  .header-account-manage i,
  .header-account-logout i {
    font-size: 15px;
  }

  .header-account-balance strong {
    font-size: 16px;
  }

  .header-account-chip {
    border-radius: 12px;
  }

  .header-account-chip img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .social {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

.nav a,
.card,
.ticket-link,
.department-item,
.ticket-action,
.filter-chip,
.avatar-button,
.auth-toggle,
.section-title a {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, filter .22s ease;
  will-change: transform;
}

.account, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 8px; text-transform: uppercase; font-weight: 900;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease, filter .22s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.account {
  min-height: 64px; padding: 0 28px; margin-left: 8px;
  border: 1px solid var(--line);
  background: rgba(13, 9, 34, .72);
  font-size: 17px;
  box-shadow: 0 0 0 rgba(179,92,255,0), inset 0 0 0 rgba(255,255,255,0);
}

.hero {
  position: relative;
  z-index: 5;
  min-height: 600px;
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
}

.hero-left { padding-top: 36px; }

.tag {
  width: max-content;
  margin-bottom: 24px;
  padding: 13px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23,12,50,.66);
  color: #dfbdff;
  box-shadow: inset 0 0 16px rgba(168,85,247,.12), 0 0 16px rgba(168,85,247,.18);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-brand {
  display: inline-block;
  width: min(100%, 560px);
  margin-bottom: 22px;
}

.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.22)) drop-shadow(0 0 24px rgba(179,92,255,.5));
}

.inner-hero-brand {
  width: min(100%, 560px);
  margin-bottom: 20px;
}

.hero h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.24;
  font-weight: 900;
}

.hero-description, .inner-hero p, .feature-card p, .pricing-card p, .info-panel p, .ticket-copy p, .sidebar-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-description { max-width: 500px; margin-bottom: 36px; }
.buttons { display: flex; gap: 22px; margin-bottom: 22px; }

.btn {
  min-height: 62px;
  padding: 0 28px;
  font-size: 14px;
}

.account::before, .btn::before, .social::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(179,92,255,.2) 26%, transparent 62%);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.btn-play {
  min-width: 178px;
  border: 1px solid #f2d6ff;
  background: radial-gradient(circle at 30% 18%, rgba(255,255,255,.32), transparent 24%), linear-gradient(180deg, #d386ff 0%, #a334f0 52%, #7e22ce 100%);
  box-shadow: 0 0 16px rgba(216,180,254,.68), 0 0 36px rgba(168,85,247,.58), inset 0 0 16px rgba(255,255,255,.2);
}

.btn-launcher {
  min-width: 248px;
  border: 1px solid rgba(168,85,247,.72);
  background: rgba(14,8,34,.74);
  color: #f0e9ff;
  box-shadow: 0 0 12px rgba(168,85,247,.2), inset 0 0 12px rgba(168,85,247,.08);
}

.page.is-animated .background {
  transform: translate3d(calc(var(--mx) * -.026), calc(var(--my) * -.026), 0) scale(var(--bg-scale));
}

.page.is-animated .bg-shadow {
  transform: translate3d(calc(var(--mx) * -.04), calc(var(--my) * -.04), 0);
}

.page.is-animated .neon-orbs {
  transform: translate3d(calc(var(--mx) * -.055), calc(var(--my) * -.055), 0);
}

.page.is-animated .stars {
  transform: translate3d(calc(var(--mx) * -.02), calc(var(--my) * -.02), 0);
}

.page.is-animated .btn,
.page.is-animated .account,
.page.is-animated .social {
  transform:
    perspective(900px)
    rotateX(var(--btn-tilt-x))
    rotateY(var(--btn-tilt-y))
    translate3d(0, 0, 0);
}

.account:hover, .btn:hover {
  transform:
    perspective(900px)
    rotateX(var(--btn-tilt-x))
    rotateY(var(--btn-tilt-y))
    translateY(-7px)
    scale(1.04);
  border-color: var(--line-strong);
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
  filter: brightness(1.08);
}

.account:hover::before, .btn:hover::before, .social:hover::before {
  opacity: 1;
  transform: scale(1);
}

.account:hover {
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
}

.btn-play:hover {
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
}

.btn-launcher:hover {
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
}

.social:hover {
  transform:
    perspective(900px)
    rotateX(var(--btn-tilt-x))
    rotateY(var(--btn-tilt-y))
    translateY(-7px)
    scale(1.04);
  border-color: var(--line-strong);
  background: rgba(14, 28, 52, 0.84);
  color: #d8f4ff;
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(121,220,255,.62));
}

@keyframes neon-pulse-purple {
  0%, 100% {
    box-shadow: 0 0 20px rgba(216,180,254,.82), 0 0 42px rgba(168,85,247,.72), 0 0 66px rgba(168,85,247,.3), inset 0 0 18px rgba(255,255,255,.22);
  }
  50% {
    box-shadow: 0 0 26px rgba(233,204,255,.95), 0 0 52px rgba(179,92,255,.88), 0 0 86px rgba(179,92,255,.4), inset 0 0 22px rgba(255,255,255,.3);
  }
}

@keyframes neon-pulse-purple-soft {
  0%, 100% {
    box-shadow: 0 0 16px rgba(168,85,247,.36), 0 0 32px rgba(168,85,247,.2), inset 0 0 16px rgba(168,85,247,.1);
  }
  50% {
    box-shadow: 0 0 22px rgba(198,132,255,.54), 0 0 44px rgba(168,85,247,.28), inset 0 0 20px rgba(198,132,255,.14);
  }
}

@keyframes neon-pulse-cyan {
  0%, 100% {
    box-shadow: 0 0 16px rgba(77,198,255,.4), 0 0 34px rgba(77,198,255,.2), inset 0 0 18px rgba(121,220,255,.12);
  }
  50% {
    box-shadow: 0 0 24px rgba(138,228,255,.62), 0 0 46px rgba(77,198,255,.3), inset 0 0 22px rgba(138,228,255,.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .background, .bg-shadow, .neon-orbs, .stars,
  .account, .btn, .social {
    transition: none;
    animation: none !important;
    transform: none !important;
  }
}

.online {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5d0f0;
  font-size: 15px;
}

.online span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 14px var(--purple);
}

.news, .feature-grid, .pricing-grid, .faq-grid, .info-panel, .dashboard-grid, .forum-layout, .department-list, .donate-filter, .donate-section {
  position: relative;
  z-index: 8;
}

.news { margin-top: auto; padding-top: 22px; }

.features-section {
  position: relative;
  z-index: 8;
  padding: 44px 0 24px;
}

.page-home .features-section {
  padding-top: 170px;
}

.features-section .section-title {
  margin-bottom: 22px;
}

.features {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 18px;
  direction: rtl;
}

.features .feature {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(116, 208, 255, .18);
  border-radius: 8px;
  background: rgba(8, 12, 28, .68);
  box-shadow: inset 0 0 24px rgba(77,198,255,.07), 0 0 26px rgba(116, 70, 255, .12);
  backdrop-filter: blur(12px);
  direction: ltr;
}

.features .feature i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 208, 255, .28);
  border-radius: 8px;
  color: #74f0ff;
  font-size: 20px;
  background: rgba(7, 22, 36, .7);
  box-shadow: 0 0 18px rgba(77,198,255,.14), inset 0 0 12px rgba(77,198,255,.08);
}

.features .feature h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.features .feature p {
  margin: 0;
  color: rgba(238, 234, 255, .74);
  font-size: 14px;
  line-height: 1.45;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.section-title h3, .info-panel h2 {
  font-size: 22px;
  font-weight: 900;
}

.section-title a {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-grid, .feature-grid, .pricing-grid, .faq-grid, .dashboard-grid {
  display: grid;
  gap: 22px;
}

.news-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.compact-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, 1fr); }

.card, .feature-card, .pricing-card, .stats, .dashboard-card, .sidebar-card, .ticket-group, .department-item, .auth-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 0 0 24px rgba(168,85,247,.1), var(--shadow);
  backdrop-filter: blur(14px);
}

.card { position: relative; height: 250px; display: block; overflow: hidden; }
.card:hover {
  transform: translateY(-7px) scale(1.04);
  border-color: var(--line-strong);
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.32);
}
.card-img { height: 140px; background-size: cover; background-position: center; }
.img-1 { background-image: linear-gradient(rgba(168,85,247,.12), rgba(7,7,22,.34)), url("assets/reference-bg.png"); background-position: left 55%; }
.img-2 { background-image: linear-gradient(rgba(249,115,22,.16), rgba(7,7,22,.34)), url("assets/reference-bg.png"); background-position: center 62%; }
.img-3 { background-image: linear-gradient(rgba(56,189,248,.14), rgba(7,7,22,.34)), url("assets/reference-bg.png"); background-position: 68% 56%; }
.img-4 { background-image: linear-gradient(rgba(168,85,247,.18), rgba(7,7,22,.34)), url("assets/reference-bg.png"); background-position: right 58%; }

.card::after {
  content: "";
  position: absolute;
  inset: 70px 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14,9,35,.94) 44%, rgba(14,9,35,1) 100%);
}

.card::before {
  content: "Открыть";
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(227,193,255,.45);
  border-radius: 999px;
  background: rgba(10,10,29,.58);
  color: #f4eaff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.circle {
  position: absolute;
  left: 18px;
  top: 112px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #edd7ff;
  background: linear-gradient(180deg, #ba61ff, #7e22ce);
}

.card h4, .card p, .card span { position: relative; z-index: 2; }
.card h4 { margin: 38px 18px 8px; font-size: 17px; font-weight: 900; }
.card p { margin: 0 18px; color: var(--muted); font-size: 13px; line-height: 1.42; }
.card span { position: absolute; right: 18px; bottom: 15px; color: #cc8bff; font-size: 13px; font-weight: 800; }

.home-news-showcase {
  margin-top: 34px;
  padding-top: 10px;
}

.home-news-showcase .section-title {
  align-items: end;
  margin-bottom: 20px;
}

.home-news-showcase .news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 18px;
}

.home-news-showcase .news-grid:has(.home-news-card:only-child) {
  grid-template-columns: 1fr;
}

.home-news-showcase .news-grid:has(.home-news-card:nth-child(2):last-child) .home-news-card-compact {
  grid-row: 1 / span 2;
}

.home-news-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(116, 208, 255, .2);
  border-radius: 8px;
  background: rgba(7, 10, 24, .74);
  box-shadow: inset 0 0 26px rgba(77,198,255,.07), 0 0 28px rgba(111, 64, 255, .12);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 208, 255, .36);
  box-shadow: inset 0 0 28px rgba(77,198,255,.1), 0 0 34px rgba(111, 64, 255, .18);
}

.home-news-card-main {
  min-height: 318px;
  grid-row: 1 / span 2;
  display: grid;
  align-items: end;
}

.home-news-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .28s ease;
}

.home-news-card-main:hover .home-news-image {
  transform: scale(1.035);
}

.home-news-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.home-news-card-main .home-news-content {
  padding: 28px;
}

.home-news-meta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(116, 208, 255, .22);
  border-radius: 8px;
  color: #83f4ff;
  background: rgba(5, 18, 30, .68);
  font-size: 12px;
  font-weight: 900;
}

.home-news-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 950;
}

.home-news-card-main strong {
  max-width: 760px;
  font-size: clamp(26px, 3.2vw, 42px);
}

.home-news-card .home-news-content > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(238, 234, 255, .76);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-news-card-main .home-news-content > span:last-child {
  max-width: 720px;
  font-size: 16px;
  -webkit-line-clamp: 2;
}

.home-news-card-compact {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
}

.home-news-thumb {
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

.home-news-loading {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(116, 208, 255, .18);
  border-radius: 8px;
  background: rgba(7, 10, 24, .66);
  color: rgba(238, 234, 255, .78);
}

.home-news-loading i {
  color: #83f4ff;
  font-size: 28px;
}

.home-news-loading h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
}

.home-news-loading p {
  margin: 0;
}

.page-home .home-news-showcase {
  margin-top: 30px;
  padding-top: 8px;
}

.page-home .home-news-showcase .section-title {
  margin-bottom: 16px;
}

.page-home .home-news-showcase .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  grid-template-rows: none;
  gap: 16px;
  justify-content: stretch;
}

.page-home .home-news-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(116, 208, 255, .22);
  border-radius: 8px;
  background: rgba(4, 7, 18, .8);
  box-shadow: inset 0 0 26px rgba(77,198,255,.06), 0 18px 34px rgba(3, 6, 18, .26);
}

.page-home .home-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 208, 255, .38);
}

.page-home .home-news-media {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: rgba(4, 7, 18, .8);
}

.page-home .home-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .28s ease, filter .28s ease;
}

.page-home .home-news-card:hover .home-news-media img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.page-home .home-news-image,
.page-home .home-news-thumb {
  position: static;
  inset: auto;
  min-height: 0;
}

.page-home .home-news-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(5, 8, 20, 0), rgba(5, 8, 20, .78) 28%, rgba(5, 8, 20, .94));
}

.page-home .home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-home .home-news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(224, 244, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.page-home .home-news-meta i {
  color: #83f4ff;
}

.page-home .home-news-card strong {
  color: #fff;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.15;
  font-weight: 950;
}

.page-home .home-news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(238, 234, 255, .78);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-home .home-news-more {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff4fb8, #b04bff);
  box-shadow: 0 0 18px rgba(255, 79, 184, .28);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.page-home .home-news-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 79, 184, .36);
}

@media (max-width: 920px) {
  .page-home .home-news-showcase .news-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .page-home .home-news-media {
    min-height: 0;
  }

  .page-home .home-news-card {
    width: 100%;
    max-width: 420px;
  }

  .page-home .home-news-content {
    min-height: 0;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 96px;
  margin-top: 30px;
}

.stat {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  padding: 20px 30px;
  border-right: 1px solid rgba(168,85,247,.22);
}

.stat:last-child { border-right: none; }
.stat i { grid-row: span 2; color: var(--purple); font-size: 30px; }
.stat strong { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.stat span { margin-top: 5px; color: var(--muted-2); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.inner-hero {
  position: relative;
  z-index: 7;
  max-width: 560px;
  padding: 44px 0 30px;
}

.page-inner .tag,
.page-forum .tag {
  margin-bottom: 18px;
}

.page-inner .inner-hero p,
.page-forum .inner-hero p {
  max-width: 500px;
}

.inner-hero h1 {
  margin-bottom: 22px;
  font-family: "Berkshire Swash", cursive;
  font-size: 98px;
  line-height: .95;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255,255,255,.95),
    0 0 18px rgba(255,255,255,.42),
    0 0 34px rgba(179,92,255,.72),
    0 0 60px rgba(126,34,206,.32);
}

.feature-card, .pricing-card, .dashboard-card, .sidebar-card { padding: 24px; }

.page-inner .feature-card,
.page-inner .pricing-card,
.page-inner .dashboard-card,
.page-inner .sidebar-card,
.page-inner .ticket-group,
.page-inner .department-item,
.page-inner .auth-card {
  backdrop-filter: blur(10px);
}

.page-inner .feature-card,
.page-inner .sidebar-card,
.page-inner .department-item {
  padding: 20px;
}

.page-inner .pricing-card {
  min-height: 176px;
  padding: 18px;
}

.page-inner .feature-card h3,
.page-inner .pricing-card h3,
.page-inner .dashboard-head h3,
.page-inner .sidebar-card h3,
.page-inner .ticket-copy h3,
.page-inner .department-item strong {
  font-size: 21px;
}

.page-inner .feature-card p,
.page-inner .pricing-card p,
.page-inner .sidebar-card p,
.page-inner .ticket-copy p,
.page-inner .department-item span {
  font-size: 15px;
}

.feature-card i, .dashboard-head i {
  width: 58px; height: 58px; display: grid; place-items: center;
  margin-bottom: 20px; border-radius: 50%;
  border: 1px solid rgba(227,193,255,.58);
  background: linear-gradient(180deg, rgba(186,97,255,.3), rgba(126,34,206,.2));
  color: #cf8cff; font-size: 24px;
}

.feature-card h3, .pricing-card h3, .dashboard-head h3, .sidebar-card h3, .ticket-copy h3 { margin-bottom: 12px; font-size: 24px; font-weight: 900; }

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 236px;
  padding: 20px;
}

.pricing-card strong { font-size: 28px; font-weight: 900; color: #cf8cff; }
.pricing-card .btn { margin-top: auto; align-self: stretch; }
.pricing-card.featured { border-color: rgba(237,116,255,.66); }

.page-news .page {
  background: rgba(3, 3, 8, .32);
}

.page-news .inner-hero {
  align-items: flex-start;
  max-width: 620px;
  padding-top: 44px;
  padding-bottom: 22px;
}

.page-news .inner-hero-brand {
  width: min(100%, 500px);
  margin-bottom: 20px;
}

.page-news .inner-hero p {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.telegram-news {
  position: relative;
  z-index: 8;
  padding: 54px 0 70px;
}

.telegram-news .section-head {
  max-width: 720px;
}

.telegram-news .eyebrow {
  margin: 0 0 8px;
  color: #66f7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.telegram-news h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(102, 247, 255, .18);
}

.telegram-news .section-head > p:last-child {
  margin-top: 12px;
  color: rgba(244,242,248,.72);
  font-size: 18px;
  line-height: 1.5;
}

.telegram-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.telegram-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(18, 20, 38, 0.85);
  border: 1px solid rgba(130, 110, 255, 0.35);
  box-shadow: 0 0 30px rgba(98, 70, 255, 0.18);
}

.telegram-card p {
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 18px;
  white-space: pre-line;
}

.telegram-card a {
  color: #9aa7ff;
  text-decoration: none;
  font-weight: 600;
}

.telegram-card a:hover {
  text-decoration: underline;
}

.telegram-loading,
.telegram-empty,
.telegram-error {
  color: rgba(255, 255, 255, 0.75);
}

.news-board {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
  justify-content: start;
  gap: 28px 24px;
  padding: 10px 0 48px;
}

.news-post-card {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
  color: #f4f2f8;
}

.news-post-image {
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(12, 9, 24, .88);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.news-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .28s ease, filter .28s ease;
}

.news-post-card:hover .news-post-image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.news-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244,242,248,.7);
  font-size: 16px;
  font-weight: 600;
}

.news-post-meta i {
  color: rgba(244,242,248,.78);
  font-size: 15px;
}

.news-post-card h2 {
  min-height: 54px;
  margin: -2px 0 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: .01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-post-card p {
  color: rgba(244,242,248,.72);
  font-size: 17px;
  line-height: 1.22;
}

.news-post-lead {
  min-height: 42px;
  font-weight: 700;
  color: rgba(244,242,248,.68);
  text-transform: uppercase;
  letter-spacing: .01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-post-card > p:not(.news-post-lead) {
  min-height: 84px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.news-reactions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.news-reactions span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.news-reactions .fa-heart {
  color: #ff5757;
}

.news-reactions .fa-comment {
  color: #2196ff;
}

.news-reactions .fa-share {
  color: rgba(255,255,255,.76);
}

.news-more {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #ef4d9b;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(239, 77, 155, .24);
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.news-more:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 32px rgba(239, 77, 155, .34);
}

.news-modal[hidden] {
  display: none !important;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 28px;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 14, .74);
  backdrop-filter: blur(9px);
}

.news-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 10px;
  background: rgba(8, 10, 24, .96);
  box-shadow: 0 0 50px rgba(87, 238, 255, .18), 0 0 80px rgba(183, 70, 255, .14);
}

.news-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(5, 8, 20, .74);
  cursor: pointer;
}

.news-modal-media {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 1px solid rgba(102, 247, 255, .16);
  background: rgba(4, 7, 18, .8);
}

.news-modal-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-modal-meta,
.news-modal-dialog h2,
.news-modal-body,
.news-modal-tg {
  margin-left: 28px;
  margin-right: 28px;
}

.news-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 14px;
}

.news-modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(102, 247, 255, .22);
  border-radius: 8px;
  color: #83f4ff;
  background: rgba(5, 18, 30, .68);
  font-size: 12px;
  font-weight: 900;
}

.news-modal-dialog h2 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 950;
}

.news-modal-body {
  margin-bottom: 24px;
  color: rgba(245, 242, 255, .86);
  font-size: 17px;
  line-height: 1.65;
  white-space: normal;
}

.news-modal-tg {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 0 15px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 8px;
  color: #dffcff;
  font-weight: 900;
  background: rgba(5, 18, 30, .68);
}

body.news-modal-open {
  overflow: hidden;
}

.news-delete-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 93, 124, .48);
  border-radius: 10px;
  background: rgba(28, 5, 18, .82);
  color: #ff6f8e;
  box-shadow: 0 0 18px rgba(255, 93, 124, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.news-delete-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 93, 124, .2);
  box-shadow: 0 0 28px rgba(255, 93, 124, .34);
}

.news-management-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-management-actions .news-delete-button {
  position: static;
}

.news-feature-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 247, 255, .78);
  box-shadow: none;
  font-size: 19px;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, filter .18s ease;
}

.news-feature-button:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.08);
  background: transparent;
  color: #ffd34e;
  filter: drop-shadow(0 0 7px rgba(255, 198, 49, .55));
}

.news-feature-button.is-active {
  background: transparent;
  color: #ffd34e;
  filter: drop-shadow(0 0 6px rgba(255, 198, 49, .42));
  cursor: default;
}

.news-featured-remove-button {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 120, 142, .58);
  border-radius: 7px;
  background: rgba(35, 8, 22, .82);
  color: #ff819a;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .26);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.news-featured-remove-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(167, 26, 61, .78);
  box-shadow: 0 0 20px rgba(255, 81, 119, .36);
}

.news-featured-remove-button:disabled {
  cursor: wait;
  opacity: .58;
}

.control-feature-toggle {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 205, 78, .28);
  border-radius: 8px;
  background: rgba(24, 18, 4, .34);
  cursor: pointer;
}

.control-feature-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #ffd35a;
}

.control-feature-toggle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 199, 52, .12);
  color: #ffd35a;
}

.control-feature-toggle strong,
.control-feature-toggle small {
  display: block;
}

.control-feature-toggle strong {
  color: #fff4c2;
}

.control-feature-toggle small {
  margin-top: 3px;
  color: rgba(231, 224, 197, .68);
  line-height: 1.35;
}

.news-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  align-content: center;
  padding: 28px;
  border: 1px solid rgba(168,85,247,.28);
  border-radius: 12px;
  background: rgba(7, 9, 24, .68);
}

.page-checkout .page {
  padding: 54px 72px 52px;
  background: rgba(5, 4, 8, .5);
}

.page-checkout .background {
  background:
    linear-gradient(180deg, rgba(10, 7, 12, .88), rgba(10, 7, 12, .92)),
    url("assets/5984a0ca-30f0-42c7-b755-28fd3574a493.png") center center / cover no-repeat;
  filter: saturate(.78) contrast(1.02) brightness(.32);
}

.page-checkout .bg-shadow {
  background:
    radial-gradient(circle at 22% 20%, rgba(239, 77, 155, .2), transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.1), transparent 15%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72));
}

.checkout-topbar {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr minmax(280px, 380px) 1fr;
  align-items: center;
  gap: 18px;
}

.checkout-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.checkout-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #ef4d9b;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.checkout-search {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 54px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(236,236,236,.82);
  color: #111;
}

.checkout-search input {
  min-width: 0;
  border: 0;
  padding: 0 20px;
  background: transparent;
  color: #111;
  font-size: 16px;
  outline: 0;
}

.checkout-search i {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(0,0,0,.18);
}

.checkout-socials {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  color: #fff;
  font-size: 25px;
}

.checkout-shell {
  position: relative;
  z-index: 8;
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: clamp(28px, 4vw, 64px);
  margin: 0 auto;
  flex: 1 0 auto;
}

.checkout-main {
  min-width: 0;
}

.checkout-breadcrumbs {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  color: #fff;
  font-weight: 700;
}

.checkout-breadcrumbs::before,
.checkout-breadcrumbs::after,
.checkout-breadcrumbs span {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.18);
}

.checkout-breadcrumbs span {
  width: 18px;
}

.checkout-main h1 {
  margin-bottom: 38px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.checkout-main h1 span,
.checkout-summary strong {
  color: #ef4d9b;
}

.checkout-items {
  display: grid;
  gap: 12px;
  min-height: 104px;
}

.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.checkout-item strong,
.checkout-item b {
  color: #fff;
  font-size: 15px;
}

.checkout-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.checkout-unit-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.checkout-item .checkout-unit-price > span {
  display: inline-block;
  margin-top: 0;
}

.checkout-item .checkout-unit-price .price-current-sale {
  color: #72ff9a;
  font-size: 15px;
  font-weight: 900;
}

.checkout-item .checkout-unit-price .price-original {
  color: rgba(255,255,255,.54);
}

.checkout-item .checkout-unit-price .price-discount-badge {
  color: #fff;
}

.checkout-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 120px;
  color: #fff;
  text-align: center;
}

.checkout-empty i {
  color: #dbe7ff;
  font-size: 42px;
}

.checkout-empty a {
  color: #ef4d9b;
  font-weight: 900;
}

.checkout-help {
  margin-top: 38px;
  color: #fff;
}

.checkout-help h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.checkout-help strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
}

.checkout-help p {
  margin-top: 6px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.35;
}

.checkout-summary {
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 8px;
  background: rgba(0,0,0,.28);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-summary h2 {
  color: #fff;
  font-size: 31px;
  text-transform: uppercase;
}

.checkout-summary strong {
  font-size: 27px;
}

.checkout-field {
  height: 44px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  color: rgba(217, 228, 255, .82);
}

.checkout-field i {
  text-align: center;
}

.checkout-field input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: 0;
}

.checkout-field input::placeholder {
  color: rgba(217, 228, 255, .8);
}

.checkout-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #b8c8ff;
  font-size: 13px;
  line-height: 1.18;
}

.checkout-check input {
  width: 16px;
  height: 16px;
  accent-color: #ef4d9b;
}

.checkout-accent {
  color: #ef4d9b;
  font-weight: 800;
  text-decoration: none;
}

.checkout-buy {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ef4d9b;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-buy:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.checkout-status {
  min-height: 18px;
  color: #ef4d9b;
  font-size: 13px;
  line-height: 1.25;
}

.checkout-status[data-state="success"] {
  color: #75ff83;
}

.checkout-policy {
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.18;
  text-align: center;
}

.checkout-policy span {
  color: #ef4d9b;
}

.page-rules .page {
  padding: 36px 62px 72px;
  background: #17171a;
}

.page-rules .background {
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 90, 98, .28), transparent 34%),
    radial-gradient(circle at 18% 28%, rgba(82, 82, 90, .18), transparent 24%),
    linear-gradient(180deg, #1d1d21 0%, #151519 44%, #101012 100%);
  filter: none;
}

.page-rules .bg-shadow {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.32) 100%),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.035), transparent 42%);
}

.page-rules .neon-orbs {
  opacity: .18;
}

.rules-topbar {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.rules-mark {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.rules-mark-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 9, 24, .34);
  box-shadow: 0 0 24px rgba(239, 77, 155, .22);
  overflow: hidden;
}

.rules-mark-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rules-mark-word img {
  width: 128px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(236, 205, 255, .5));
}

.rules-toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.rules-toplinks a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(239, 77, 155, .66);
  border-radius: 999px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(12, 9, 24, .34);
  backdrop-filter: blur(8px);
}

.rules-toplinks a.active,
.rules-toplinks a:hover {
  background: rgba(239, 77, 155, .14);
  box-shadow: 0 0 24px rgba(239, 77, 155, .24);
}

.rules-socials {
  display: flex;
  gap: 13px;
}

.rules-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 24px;
  background: rgba(255, 255, 255, .06);
}

.rules-hero {
  position: relative;
  z-index: 8;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 118px auto 34px;
  text-align: center;
}

.rules-logo {
  display: none;
}

.rules-logo img {
  width: min(100%, 360px);
  filter: drop-shadow(0 0 28px rgba(236, 205, 255, .5));
}

.rules-hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(239, 77, 155, .3);
}

.rules-hero p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(244, 242, 248, .74);
  font-size: 20px;
  line-height: 1.5;
}

.rules-shell {
  position: relative;
  z-index: 8;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 0 10px 20px;
}

.rules-section {
  scroll-margin-top: 110px;
  min-width: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(168,85,247,.22);
}

.rules-section:first-child {
  border-top: 0;
}

.rules-section:last-child {
  padding-bottom: 24px;
}

.rules-section h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
  font-weight: 500;
  text-transform: none;
}

.rules-section h3 {
  margin: 26px 0 14px;
  color: #66f7ff;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  text-transform: none;
}

.rules-section p,
.rules-section li {
  color: rgba(244,242,248,.82);
  font-size: 22px;
  line-height: 1.52;
}

.rules-section p {
  margin: 10px 0;
}

.rules-section b {
  color: #fff;
}

.rules-section ul,
.rules-section ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.rules-section li + li {
  margin-top: 8px;
}

.rules-danger {
  border-top-color: rgba(239, 77, 155, .38);
}

.rules-danger h2 {
  color: #ff78bf;
}

.donate-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(168,85,247,.62);
  border-radius: 999px;
  background: rgba(14,8,34,.72);
  color: #f0e9ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-chip:hover,
.avatar-button:hover,
.auth-toggle:hover,
.section-title a:hover {
  transform: translateY(-3px) scale(1.08);
  filter: brightness(1.12);
}

.active-chip { box-shadow: 0 0 18px rgba(168,85,247,.34); }
.donate-section { margin-top: 16px; margin-bottom: 24px; }

.dashboard-grid { grid-template-columns: repeat(3, 1fr); }
.account-layout { grid-template-columns: 1.4fr 1fr 1fr; }

.dashboard-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(168,85,247,.18);
}

.metric-row:first-of-type { border-top: none; padding-top: 0; }
.metric-row span { color: var(--muted); }
.metric-row strong { color: #fff; font-size: 16px; }

.avatar-uploader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatar-preview {
  width: 96px; height: 96px; display: grid; place-items: center;
  border-radius: 28px; border: 1px solid rgba(227,193,255,.58);
  background: linear-gradient(180deg, rgba(186,97,255,.3), rgba(126,34,206,.2));
  color: #eadbff; font-size: 40px;
}

.avatar-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px;
  border: 1px solid rgba(168,85,247,.72); border-radius: 8px;
  background: rgba(14,8,34,.74); color: #f0e9ff;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
}

.avatar-uploader input { display: none; }

.status-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.status-list span, .ticket-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(227,193,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #eadbff;
  font-size: 12px;
  font-weight: 700;
}

.info-panel {
  margin-top: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.account-overview,
.account-dashboard {
  position: relative;
  z-index: 8;
}

.account-overview {
  display: grid;
  gap: 24px;
  padding-top: 34px;
}

.account-profile-layout {
  display: block;
}

.account-title-block {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-self: center;
}

.account-title-art {
  width: min(100%, 320px);
}

.account-title-art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(210, 88, 255, .34));
}

.account-profile-panel {
  position: relative;
  min-height: 238px;
  display: grid;
  grid-template-columns: minmax(220px, 290px) 136px minmax(0, 1fr) minmax(150px, max-content);
  gap: 24px;
  align-items: center;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(102, 247, 255, .22);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(6, 10, 26, .88), rgba(20, 8, 42, .72)),
    radial-gradient(circle at 22% 10%, rgba(102, 247, 255, .16), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(239, 77, 155, .18), transparent 28%);
  box-shadow: inset 0 0 34px rgba(102, 247, 255, .06), 0 24px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}

.account-profile-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, #66f7ff, #f65fb0, transparent);
}

.account-avatar {
  position: relative;
  width: 124px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(8, 12, 30, .92), rgba(15, 8, 32, .86)),
    rgba(2, 8, 20, .72);
  border: 1px solid rgba(102, 247, 255, .38);
  box-shadow:
    0 0 0 4px rgba(6, 10, 25, .55),
    0 0 28px rgba(102, 247, 255, .18);
  overflow: visible;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, .26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.account-avatar span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #55ff80;
  box-shadow: 0 0 14px rgba(85,255,128,.8);
}

.account-avatar-upload {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .36);
  border-radius: 10px;
  background: rgba(3, 10, 25, .86);
  color: #66f7ff;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(102, 247, 255, .18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.account-avatar-upload:hover {
  transform: translateY(-2px);
  background: rgba(102, 247, 255, .15);
  box-shadow: 0 0 24px rgba(102, 247, 255, .28);
}

.account-avatar-upload input {
  display: none;
}

.account-avatar-cropper {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(1, 4, 14, .78);
  backdrop-filter: blur(16px);
}

body.account-cropper-open {
  overflow: hidden;
}

.account-avatar-cropper[hidden] {
  display: none;
}

.account-avatar-cropper-dialog {
  width: min(100%, 520px);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(8, 12, 31, .96), rgba(21, 8, 43, .94)),
    radial-gradient(circle at 18% 0%, rgba(102, 247, 255, .18), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(239, 77, 155, .18), transparent 34%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58), 0 0 36px rgba(102, 247, 255, .12);
}

.account-cropper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.account-cropper-head span,
.account-cropper-range span {
  color: #66f7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-cropper-head h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.account-cropper-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}

.account-avatar-crop-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 16 / 10;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(102, 247, 255, .34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(102, 247, 255, .08), rgba(239, 77, 155, .08)),
    rgba(0, 0, 0, .38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 28px rgba(102, 247, 255, .24);
  touch-action: none;
}

.account-avatar-crop-frame img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  max-height: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center;
}

.account-avatar-crop-selection {
  position: absolute;
  z-index: 3;
  border: 2px solid rgba(102, 247, 255, .92);
  border-radius: 16px;
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, .46),
    0 0 28px rgba(102, 247, 255, .36),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
  cursor: grab;
  touch-action: none;
}

.account-avatar-crop-selection:active {
  cursor: grabbing;
}

.account-avatar-crop-selection::before,
.account-avatar-crop-selection::after {
  content: "";
  position: absolute;
  inset: 33.333% 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, .28);
}

.account-avatar-crop-selection::after {
  inset: 0 33.333% 0 auto;
  width: 1px;
  height: auto;
}

.account-cropper-range {
  display: grid;
  gap: 10px;
}

.account-cropper-range input {
  width: 100%;
  accent-color: #66f7ff;
}

.account-cropper-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-profile-main {
  min-width: 0;
}

.account-kicker {
  color: #66f7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-profile-main h1 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
}

.account-profile-main p {
  max-width: 560px;
  margin: 0;
  color: rgba(232, 241, 255, .74);
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-action-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.account-badge,
.account-ghost-button,
.account-inline-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-badge {
  border: 1px solid rgba(255, 196, 0, .32);
  background: rgba(255, 190, 51, .12);
  color: #ffd36b;
}

.account-badge.account-badge-success {
  border-color: rgba(85, 255, 128, .3);
  background: rgba(85, 255, 128, .12);
  color: #aaffbe;
}

.account-ghost-button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(236, 246, 255, .88);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.account-ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
}

.account-inline-button {
  min-width: 0;
  padding-inline: 14px;
}

.account-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-status-line span,
.account-status-line b {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 8px;
  background: rgba(102, 247, 255, .08);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-top-hint {
  margin-top: 12px;
  max-width: 560px;
}

.account-balance-panel {
  display: grid;
  justify-self: end;
  justify-items: center;
  align-content: center;
  text-align: center;
  width: max-content;
  min-width: 150px;
  max-width: min(360px, 48vw);
  min-height: 126px;
  padding: 18px 20px;
  border: 1px solid rgba(239, 77, 155, .18);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 18px rgba(239, 77, 155, .06);
}

.account-balance-panel span,
.account-balance-panel em {
  color: rgba(232, 241, 255, .72);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.account-balance-panel strong {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  color: #fff;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: .95;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(239, 77, 155, .38);
}

.account-dashboard {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.account-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(102, 247, 255, .18);
  border-radius: 12px;
  background: rgba(5, 8, 23, .72);
  box-shadow: inset 0 0 28px rgba(102, 247, 255, .05), 0 18px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}

.account-panel-wide {
  grid-row: span 2;
}

.account-panel-head {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.account-panel-head i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .34);
  border-radius: 14px;
  background: rgba(102, 247, 255, .08);
  color: #66f7ff;
  font-size: 20px;
  box-shadow: 0 0 18px rgba(102, 247, 255, .12);
}

.account-panel-head h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.account-panel-head p {
  margin: 0;
  color: rgba(232, 241, 255, .62);
}

.account-progress-grid {
  display: grid;
  gap: 14px;
}

.account-progress-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}

.account-progress-card span,
.account-list-row span,
.account-service span,
.account-purchase span {
  color: rgba(232, 241, 255, .68);
  font-weight: 700;
}

.account-progress-card strong {
  color: #fff;
  font-size: 28px;
}

.account-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.account-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #66f7ff, #f65fb0);
  box-shadow: 0 0 14px rgba(102, 247, 255, .36);
}

.account-list-row,
.account-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(102, 247, 255, .12);
}

.account-list-row:last-child,
.account-service:last-child {
  border-bottom: 0;
}

.account-list-row strong,
.account-service strong {
  color: #fff;
}

.account-service.connected strong {
  color: #66f7ff;
}

.account-service-action {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.account-service-button {
  min-width: 0;
  width: 100%;
}

.account-service-button[disabled] {
  opacity: .8;
  cursor: default;
}

.account-service-hint {
  margin: 0;
  color: rgba(232, 241, 255, .68);
  line-height: 1.5;
  font-size: 14px;
}

.account-purchase {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}

.account-purchase b {
  color: #fff;
}

.account-purchases-panel {
  grid-column: 2 / -1;
}

.account-purchases-panel [data-account-purchases-list] {
  display: grid;
  gap: 10px;
}

.account-purchase-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid rgba(102,247,255,.7);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.account-purchase-card[data-state="delivered"] { border-left-color: #63e6a6; }
.account-purchase-card[data-state="failed"] { border-left-color: #ff6b78; }
.account-purchase-card[data-state="cancelled"] { border-left-color: #8992a5; }
.account-purchase-card[data-state="waiting_player"] { border-left-color: #ffd166; }

.account-purchase-card > img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}

.account-purchase-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.account-purchase-title,
.account-purchase-meta,
.account-purchase-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
}

.account-purchase-title span,
.account-purchase-meta span {
  color: rgba(232,241,255,.68);
  font-size: 13px;
}

.account-purchase-title strong {
  min-width: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.account-purchase-status b { color: #bdf6ff; }
.account-purchase-status span,
.account-purchase-message { color: #ffb8c1; font-size: 13px; overflow-wrap: anywhere; }

.account-purchase-deliver {
  min-width: 196px;
  min-height: 44px;
  justify-content: center;
}

.account-purchase-deliver:disabled {
  opacity: .58;
  cursor: wait;
}

@media (max-width: 1280px) {
  .account-purchases-panel { grid-column: auto; }
}

@media (max-width: 760px) {
  .account-purchase-card { grid-template-columns: 52px minmax(0, 1fr); }
  .account-purchase-card > img { width: 52px; height: 52px; }
  .account-purchase-deliver { grid-column: 1 / -1; width: 100%; min-width: 0; }
}

.btn-logout {
  min-width: 248px;
  border: 1px solid rgba(255, 156, 214, .62);
  background: rgba(42, 9, 30, .72);
  color: #ffe8f6;
  box-shadow: 0 0 12px rgba(255, 77, 166, .14), inset 0 0 12px rgba(255, 77, 166, .08);
  cursor: pointer;
}

.btn-logout[hidden] {
  display: none;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 24px;
}

.forum-main, .forum-sidebar { display: grid; gap: 18px; }
.forum-hero { max-width: 560px; }
.ticket-groups, .department-list { display: grid; gap: 18px; }

.ticket-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.ticket-link:hover, .department-item:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--line-strong);
  box-shadow: inset 0 0 28px rgba(168,85,247,.16), 0 0 34px rgba(179,92,255,.3);
}

.ticket-icon {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(186,97,255,.24), rgba(126,34,206,.18));
  border: 1px solid rgba(227,193,255,.42);
  color: #d891ff; font-size: 28px;
}

.ticket-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.ticket-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 22px;
  border: 1px solid rgba(168,85,247,.72); border-radius: 8px;
  background: rgba(14,8,34,.74); color: #f0e9ff;
  font-size: 13px; font-weight: 900; text-transform: uppercase;
}

.ticket-group:hover .ticket-action,
.ticket-action:hover {
  transform: scale(1.08);
  border-color: rgba(236, 205, 255, 0.9);
  box-shadow: 0 0 18px rgba(168,85,247,.36), inset 0 0 16px rgba(168,85,247,.12);
}

.department-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
}

.department-open-link {
  display: grid;
  gap: 10px;
}

.department-open-link strong { font-size: 24px; font-weight: 900; color: #fff; }
.department-open-link span { color: var(--muted); font-size: 15px; }

.forum-return-row,
.forum-ticket-workspace {
  position: relative;
  z-index: 8;
}

.forum-return-row {
  display: flex;
  margin: -10px 0 20px;
}

.forum-back-button,
.forum-ticket-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(126, 233, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 17, 34, 0.72);
  color: #dff8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(77, 198, 255, 0.1), inset 0 0 14px rgba(77, 198, 255, 0.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.forum-back-button:hover,
.forum-ticket-edit-button:hover {
  transform: translateY(-3px);
  border-color: rgba(162, 240, 255, 0.66);
  box-shadow: 0 0 24px rgba(77, 198, 255, 0.18), inset 0 0 18px rgba(77, 198, 255, 0.08);
}

.forum-ticket-management-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 18px;
}

.forum-ticket-hide-button,
.forum-ticket-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 171, 88, .46);
  border-radius: 8px;
  background: rgba(45, 27, 8, .72);
  color: #ffe3bc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.forum-ticket-delete-button {
  border-color: rgba(255, 102, 137, .52);
  background: rgba(49, 10, 24, .72);
  color: #ffd5df;
}

.forum-ticket-hide-button:hover,
.forum-ticket-delete-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.forum-ticket-hide-button:disabled,
.forum-ticket-delete-button:disabled {
  opacity: .58;
  cursor: wait;
}

.forum-ticket-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.forum-primary-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:20px}.forum-public-section,.forum-support-section{display:grid;gap:18px;margin-top:30px}.forum-latest-topics{display:grid;gap:10px}.forum-latest-topic{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid rgba(126,233,255,.22);border-radius:10px;background:rgba(7,10,28,.78)}.forum-latest-topic div{display:grid;gap:5px}.forum-latest-topic span{color:#8deeff;font-size:11px;font-weight:900;text-transform:uppercase}.forum-latest-topic strong{font-size:17px}.forum-latest-topic small{color:var(--muted)}.forum-public-links{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.forum-public-links a{padding:14px;border:1px solid rgba(126,233,255,.2);border-radius:8px;background:rgba(7,17,34,.68);text-align:center;font-weight:800}.forum-privacy-note{padding:14px 16px;border:1px solid rgba(94,234,212,.26);border-radius:9px;background:rgba(8,48,49,.34);color:#cffff5}.forum-privacy-note i{margin-right:8px}@media(max-width:820px){.forum-public-links{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.forum-public-links{grid-template-columns:1fr}.forum-primary-actions>*{width:100%}}

/* Forum hub layout */
.page-forum .background { position: fixed; }
.page-forum .inner-hero,
.page-forum .forum-public-section,
.page-forum .forum-support-section {
  width: min(100%, 1320px);
  margin-left: auto;
  margin-right: auto;
}
.page-forum .inner-hero {
  max-width: 1320px;
  padding: 34px 0 28px;
}
.page-forum .inner-hero-brand { width: min(430px, 100%); }
.page-forum .inner-hero p { max-width: 620px; font-size: 16px; line-height: 1.65; }
.forum-primary-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  justify-content: start;
  max-width: 720px;
  margin-top: 20px;
}
.forum-primary-actions > * { min-height: 48px; padding: 0 15px; white-space: nowrap; }
.forum-primary-actions > :nth-child(1),
.forum-primary-actions > :nth-child(2) { grid-column: span 3; }
.forum-primary-actions > :nth-child(n+3) { grid-column: span 2; }
.forum-public-section,
.forum-support-section {
  padding: 24px;
  border: 1px solid rgba(156, 91, 255, .25);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 9, 28, .82), rgba(6, 8, 24, .68));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2), inset 0 0 30px rgba(136, 76, 255, .05);
  backdrop-filter: blur(12px);
}
.forum-public-section .section-title,
.forum-support-section .section-title { align-items: end; margin: 0; }
.forum-public-section .section-title h3,
.forum-support-section .section-title h3 { margin-top: 4px; font-size: clamp(22px, 2vw, 30px); }
.forum-public-section .tag,
.forum-support-section .tag { margin: 0; }
.forum-latest-topic { min-height: 76px; background: rgba(5, 10, 28, .76); }
.forum-latest-topic:hover { transform: translateY(-2px); border-color: rgba(190, 123, 255, .5); }
.forum-public-links a { min-height: 52px; display: grid; place-items: center; }
.forum-support-section .ticket-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.forum-support-section .ticket-group { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; min-height: 168px; padding: 18px; }
.forum-support-section .ticket-icon { width: 62px; height: 62px; border-radius: 18px; font-size: 24px; }
.forum-support-section .ticket-copy h3 { font-size: 20px; }
.forum-support-section .ticket-copy p { margin-top: 7px; }
.forum-support-section .ticket-action { grid-column: 2; justify-self: start; min-height: 42px; padding: 0 16px; font-size: 11px; }
.forum-privacy-note { margin: 0; }
@media (max-width: 980px) {
  .forum-support-section .ticket-groups { grid-template-columns: 1fr; }
  .forum-primary-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forum-primary-actions > * { grid-column: auto !important; }
}
@media (max-width: 620px) {
  .forum-public-section,.forum-support-section { padding: 16px; border-radius: 12px; }
  .forum-primary-actions { grid-template-columns: 1fr; max-width: none; }
  .forum-primary-actions > * { width: 100%; }
  .forum-public-links { grid-template-columns: 1fr; }
  .forum-support-section .ticket-group { grid-template-columns: 52px 1fr; }
  .forum-support-section .ticket-icon { width: 52px; height: 52px; }
  .forum-support-section .ticket-action { grid-column: 1 / -1; width: 100%; }
}

/* Classic community forum board */
.page-forum-board .page{padding-top:24px}.forum-board-hero,.forum-board-nav,.forum-board-layout,.forum-support-bar{width:min(100%,1320px);margin-left:auto;margin-right:auto}.forum-board-hero{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:34px 0 24px}.forum-board-hero .tag{margin-bottom:8px}.forum-board-hero h1{font-family:"Berkshire Swash",cursive;font-size:clamp(52px,6vw,82px);line-height:.95;text-shadow:0 0 30px rgba(174,91,255,.6)}.forum-board-hero p{margin-top:12px;color:var(--muted);font-size:16px}.forum-board-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.forum-board-actions>*{min-height:46px}.forum-board-nav{display:flex;gap:4px;padding:7px;border:1px solid rgba(168,85,247,.28);border-radius:12px 12px 0 0;background:rgba(7,8,25,.9);backdrop-filter:blur(14px)}.forum-board-nav a{display:flex;align-items:center;gap:8px;padding:12px 15px;border-radius:8px;color:#c9bfdc;font-size:13px;font-weight:800}.forum-board-nav a:hover,.forum-board-nav a.active{background:linear-gradient(135deg,rgba(145,67,230,.34),rgba(69,35,132,.26));color:#fff}.forum-board-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:18px;align-items:start}.forum-board-main,.forum-side-panel,.forum-support-bar{border:1px solid rgba(168,85,247,.26);border-radius:12px;background:rgba(7,8,25,.88);box-shadow:0 18px 50px rgba(0,0,0,.24);backdrop-filter:blur(14px);overflow:hidden}.forum-board-panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(168,85,247,.2);background:linear-gradient(90deg,rgba(116,45,193,.22),transparent)}.forum-board-panel-head span{color:#c997ff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.forum-board-panel-head h2{margin-top:3px;font-size:24px}.forum-board-panel-head>a{font-size:12px;font-weight:900;color:#c9a5ff}.forum-board-categories{display:grid}.forum-board-row{display:grid;grid-template-columns:58px minmax(0,1fr) 135px minmax(190px,250px);gap:16px;align-items:center;padding:19px 20px;border-bottom:1px solid rgba(168,85,247,.14);transition:background .2s ease}.forum-board-row:last-child{border-bottom:none}.forum-board-row:hover{background:rgba(134,66,218,.08)}.forum-board-icon{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(202,140,255,.38);border-radius:13px;background:linear-gradient(145deg,rgba(155,78,234,.3),rgba(77,39,137,.22));color:#dda7ff;font-size:22px}.forum-board-copy h3{font-size:18px}.forum-board-copy p{margin:5px 0 9px;color:var(--muted);font-size:13px}.forum-board-copy>div{display:flex;flex-wrap:wrap;gap:6px}.forum-board-copy>div a{padding:3px 7px;border-radius:5px;background:rgba(94,54,153,.28);color:#cbb7e8;font-size:10px;font-weight:700}.forum-board-counts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:0;text-align:center}.forum-board-counts div{padding:8px 5px;border-radius:7px;background:rgba(5,9,24,.55)}.forum-board-counts dt{font-size:16px;font-weight:900}.forum-board-counts dd{margin:2px 0 0;color:var(--muted);font-size:9px;text-transform:uppercase}.forum-board-last{display:grid;gap:3px;min-width:0;padding-left:15px;border-left:1px solid rgba(168,85,247,.16)}.forum-board-last a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;color:#eee4ff}.forum-board-last span,.forum-board-last time{color:var(--muted);font-size:10px}.forum-board-sidebar{display:grid;gap:14px}.forum-side-panel>header{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid rgba(168,85,247,.18);background:rgba(105,48,171,.12)}.forum-side-panel>header h3{font-size:15px}.forum-side-panel>header a{font-size:11px;color:#d3a7ff}.forum-side-topic{display:grid;gap:4px;padding:13px 16px;border-bottom:1px solid rgba(168,85,247,.12)}.forum-side-topic:last-child{border-bottom:none}.forum-side-topic:hover{background:rgba(140,69,221,.08)}.forum-side-topic strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.forum-side-topic span,.forum-side-topic small{color:var(--muted);font-size:10px}.forum-board-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:15px 10px}.forum-board-stats span{text-align:center;color:var(--muted);font-size:9px;text-transform:uppercase}.forum-board-stats strong{display:block;margin-bottom:4px;color:#fff;font-size:18px}.forum-side-help{display:flex;gap:13px;padding:17px}.forum-side-help>i{color:#8deeff;font-size:22px}.forum-side-help h3{font-size:14px}.forum-side-help p{margin:6px 0;color:var(--muted);font-size:11px;line-height:1.5}.forum-side-help a{color:#9feeff;font-size:11px;font-weight:900}.forum-support-bar{display:grid;grid-template-columns:280px 1fr;gap:24px;margin-top:22px;padding:20px}.forum-support-bar .tag{margin-bottom:7px}.forum-support-bar h2{font-size:22px}.forum-support-bar p{margin-top:6px;color:var(--muted);font-size:12px}.forum-support-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.forum-support-shortcuts>a{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid rgba(168,85,247,.2);border-radius:9px;background:rgba(17,13,42,.6)}.forum-support-shortcuts>a:hover{border-color:rgba(204,143,255,.54);transform:translateY(-2px)}.forum-support-shortcuts i{width:34px;color:#d49cff;font-size:20px;text-align:center}.forum-support-shortcuts span{display:grid;gap:3px}.forum-support-shortcuts strong{font-size:12px}.forum-support-shortcuts small{color:var(--muted);font-size:9px;line-height:1.4}@media(max-width:1100px){.forum-board-layout{grid-template-columns:1fr}.forum-board-sidebar{grid-template-columns:repeat(3,1fr)}.forum-support-bar{grid-template-columns:1fr}}@media(max-width:820px){.forum-board-hero{display:grid}.forum-board-actions{justify-content:flex-start}.forum-board-nav{overflow-x:auto}.forum-board-nav a{white-space:nowrap}.forum-board-row{grid-template-columns:52px 1fr}.forum-board-counts,.forum-board-last{grid-column:2}.forum-board-last{padding:8px 0 0;border-left:0;border-top:1px solid rgba(168,85,247,.14)}.forum-board-sidebar,.forum-support-shortcuts{grid-template-columns:1fr}}@media(max-width:560px){.forum-board-hero{padding-top:22px}.forum-board-actions>*{width:100%}.forum-board-row{padding:15px 13px;gap:11px}.forum-board-counts{width:180px}.forum-board-panel-head{align-items:start}.forum-support-bar{padding:15px}}

.forum-ticket-hide-button.compact,
.forum-ticket-delete-button.compact,
.forum-ticket-edit-button.compact {
  min-height: 34px;
  padding: 0 11px;
  font-size: 10px;
}

.forum-ticket-workspace {
  display: grid;
  gap: 18px;
}

.community-shell,.support-grid{display:grid;gap:18px;max-width:1100px;margin:0 auto}.support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-actions,.community-filters,.community-categories,.community-topic footer{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.community-filters input{flex:1;min-width:230px}.community-filters input,.community-filters select,.community-form input,.community-form select,.community-form textarea,.community-reply input,.community-reply textarea{border:1px solid rgba(126,233,255,.25);border-radius:8px;background:rgba(3,8,20,.82);color:#fff;padding:12px;font:inherit}.community-filters button,.community-categories button{border:1px solid rgba(126,233,255,.24);border-radius:8px;background:rgba(7,17,34,.72);color:#dff8ff;padding:10px 12px;cursor:pointer}.community-topic-list,.community-posts{display:grid;gap:12px}.community-topic{display:flex;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid rgba(126,233,255,.22);border-radius:12px;background:rgba(7,10,28,.78)}.community-topic h2{font-size:18px;margin:8px 0}.community-topic p,.community-detail>p{color:var(--muted);margin:0}.community-category,.community-pin,.community-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;background:rgba(77,198,255,.13);color:#aeefff}.community-pin{background:rgba(255,190,80,.15);color:#ffe1a0}.community-status.solved{background:rgba(78,209,138,.16);color:#b8ffd6}.community-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.community-tags b{font-size:12px;color:#c9a8ff}.community-form,.community-reply{display:grid;gap:14px}.community-form label{display:grid;gap:7px;font-weight:700}.community-body{margin:20px 0;line-height:1.7}.community-image{display:block;max-width:min(100%,700px);max-height:600px;border-radius:10px;margin:14px 0;border:1px solid rgba(126,233,255,.25)}.community-detail h1{margin:10px 0}.community-posts .forum-ticket-message footer{margin-top:12px}@media(max-width:720px){.support-grid{grid-template-columns:1fr}.community-topic{display:grid}.community-topic .community-status{justify-self:start}}

.forum-ticket-workspace[hidden],
.department-list[hidden],
.forum-return-row[hidden] {
  display: none;
}

.forum-ticket-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.forum-ticket-panel {
  border: 1px solid rgba(126, 233, 255, 0.22);
  border-radius: 12px;
  background: rgba(7, 10, 28, 0.78);
  box-shadow: inset 0 0 24px rgba(77, 198, 255, 0.06), 0 0 28px rgba(13, 110, 180, 0.12);
  backdrop-filter: blur(12px);
  padding: 24px;
}

.forum-ticket-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.forum-ticket-head.compact {
  margin-bottom: 16px;
}

.forum-ticket-head span,
.forum-ticket-view-head span {
  color: #8deeff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.forum-ticket-head h2,
.forum-ticket-view-head h2 {
  font-size: 26px;
  line-height: 1.18;
  font-weight: 900;
}

.forum-ticket-head p,
.forum-ticket-view-head p,
.forum-ticket-row p,
.forum-ticket-row small,
.forum-ticket-empty,
.forum-ticket-state {
  color: var(--muted);
  line-height: 1.55;
}

.forum-ticket-form {
  display: grid;
  gap: 16px;
}

.forum-ticket-field {
  display: grid;
  gap: 8px;
}

.forum-ticket-field span {
  color: #e7fbff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-ticket-input,
.forum-ticket-textarea {
  width: 100%;
  border: 1px solid rgba(126, 233, 255, 0.2);
  border-radius: 8px;
  background: rgba(3, 8, 20, 0.82);
  color: #fff;
  outline: none;
  box-shadow: inset 0 0 18px rgba(77, 198, 255, 0.04);
}

.forum-ticket-input {
  height: 56px;
  padding: 0 16px;
  font-size: 16px;
}

.forum-ticket-textarea {
  min-height: 260px;
  resize: vertical;
  padding: 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
}

.forum-ticket-input:focus,
.forum-ticket-textarea:focus {
  border-color: rgba(126, 233, 255, 0.62);
  box-shadow: 0 0 22px rgba(77, 198, 255, 0.12), inset 0 0 18px rgba(77, 198, 255, 0.06);
}

.forum-ticket-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.forum-ticket-submit {
  min-width: 220px;
}

.forum-ticket-state[data-state="error"] {
  color: #ffb4d1;
}

.forum-ticket-notice {
  position: fixed;
  top: 86px;
  right: 24px;
  z-index: 2200;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(126, 233, 255, 0.34);
  border-radius: 10px;
  background: rgba(7, 10, 28, 0.94);
  color: #eafcff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), 0 0 28px rgba(77, 198, 255, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.forum-ticket-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.forum-ticket-notice[data-state="error"] {
  border-color: rgba(255, 102, 137, 0.48);
  color: #ffd5df;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 102, 137, 0.14);
}

.forum-ticket-list {
  display: grid;
  gap: 12px;
}

.forum-ticket-row,
.forum-ticket-empty {
  border: 1px solid rgba(126, 233, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.forum-ticket-row {
  padding: 16px;
}

.forum-ticket-row-main {
  display: grid;
  gap: 8px;
}

.forum-ticket-title-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.forum-ticket-open {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.forum-ticket-open:hover {
  color: #bdf6ff;
  text-shadow: 0 0 14px rgba(126, 233, 255, 0.4);
}

.forum-ticket-edit-button {
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.forum-ticket-edit-button.large {
  min-height: 46px;
  padding: 0 18px;
}

.forum-ticket-view-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 22px;
}

.forum-ticket-body {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(126, 233, 255, 0.14);
  border-radius: 10px;
  background: rgba(3, 8, 20, 0.54);
  color: #f3fbff;
  font-size: 16px;
  line-height: 1.7;
  white-space: normal;
}

.forum-ticket-discussion {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(126, 233, 255, 0.2);
}

.forum-ticket-discussion-title,
.forum-ticket-message header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.forum-ticket-discussion-title span {
  color: #eafcff;
  font-size: 17px;
  font-weight: 900;
}

.forum-ticket-discussion-title strong {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 233, 255, 0.32);
  border-radius: 50%;
  color: #8deeff;
  font-size: 12px;
}

.forum-ticket-messages {
  display: grid;
  gap: 10px;
}

.forum-ticket-message {
  padding: 15px 16px;
  border: 1px solid rgba(126, 233, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 20, 0.58);
}

.forum-ticket-message.is-official {
  border-color: rgba(88, 230, 255, 0.55);
  background: rgba(21, 91, 118, 0.2);
  box-shadow: inset 3px 0 0 #58e6ff, 0 0 18px rgba(88, 230, 255, 0.08);
}

.forum-ticket-message header {
  margin-bottom: 9px;
}

.forum-ticket-message header strong {
  color: #fff;
}

.forum-ticket-message header time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.forum-ticket-message > div {
  color: #eaf7fb;
  line-height: 1.6;
}

.forum-ticket-official {
  padding: 4px 8px;
  border: 1px solid rgba(88, 230, 255, 0.38);
  border-radius: 5px;
  color: #8deeff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-ticket-reply-form {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(126, 233, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 7, 18, 0.52);
}

.forum-ticket-reply-text {
  min-height: 130px;
}

.forum-ticket-close-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 102, 137, 0.45);
  border-radius: 7px;
  background: rgba(96, 18, 40, 0.28);
  color: #ffb3c5;
  font-weight: 900;
  cursor: pointer;
}

.forum-ticket-closed {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.forum-ticket-form button:disabled,
.forum-ticket-close-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.forum-ticket-empty {
  padding: 18px;
}

.auth-shell {
  position: relative;
  z-index: 8;
  min-height: calc(100vh - 176px);
  display: grid;
  place-items: center;
  padding: 42px 0 56px;
}

.page-auth .page {
  min-height: 100vh;
  padding: 0 24px;
}

.page-auth .header {
  padding-top: 24px;
}

.page-auth .background {
  background:
    linear-gradient(180deg, rgba(4, 6, 20, .2), rgba(5, 6, 22, .62) 54%, rgba(4, 5, 18, .86)),
    linear-gradient(90deg, rgba(6, 9, 28, .72), rgba(6, 9, 28, .18) 48%, rgba(6, 9, 28, .68)),
    url("assets/5984a0ca-30f0-42c7-b755-28fd3574a493.png") center center / cover no-repeat;
  filter: saturate(1.18) contrast(1.06) brightness(.92);
}

.page-auth .bg-shadow {
  background:
    radial-gradient(circle at 50% 24%, rgba(102, 247, 255, .16), transparent 24%),
    radial-gradient(circle at 22% 62%, rgba(179, 92, 255, .24), transparent 24%),
    radial-gradient(circle at 78% 52%, rgba(101, 255, 122, .1), transparent 21%),
    linear-gradient(180deg, rgba(4, 5, 18, .02), rgba(4, 5, 18, .3) 52%, rgba(4, 5, 18, .72));
}

.page-auth .neon-orbs {
  opacity: .42;
}

.page-auth .stars {
  opacity: .58;
}

.auth-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 540px);
  display: grid;
  align-content: center;
  padding: 40px 52px 38px;
  overflow: hidden;
  border: 1px solid rgba(102, 247, 255, .46);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(10, 12, 34, .9), rgba(12, 9, 32, .82) 54%, rgba(6, 8, 22, .92)),
    radial-gradient(circle at 18% 0%, rgba(102, 247, 255, .16), transparent 28%),
    radial-gradient(circle at 86% 88%, rgba(179, 92, 255, .2), transparent 30%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .52),
    0 0 42px rgba(102, 247, 255, .12),
    0 0 68px rgba(179, 92, 255, .16),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -24px 58px rgba(0,0,0,.28);
  backdrop-filter: blur(18px) saturate(1.18);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(102, 247, 255, .9), rgba(101, 255, 122, .82), rgba(179, 92, 255, .88), transparent);
  box-shadow: 0 0 24px rgba(102, 247, 255, .5);
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -2;
  pointer-events: none;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 24%, rgba(0,0,0,.16)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%);
}

.auth-card-glow {
  position: absolute;
  inset: -18% -12% auto;
  z-index: -1;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 247, 255, .3), transparent 44%),
    radial-gradient(circle at 58% 22%, rgba(179, 92, 255, .24), transparent 46%);
  filter: blur(22px);
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin: 0 auto 22px;
  width: min(230px, 70vw);
}

.auth-brand img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.55)) drop-shadow(0 0 26px rgba(179,92,255,.42));
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.auth-single {
  margin-top: 0;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.auth-form h3 {
  margin: 0 0 14px;
  color: #f7fdff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(102, 247, 255, .5),
    0 0 28px rgba(179, 92, 255, .34);
}

.auth-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.auth-field:has(input[hidden]) {
  display: none;
}

.auth-field span {
  color: #d8f9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(102, 247, 255, .22);
}

.auth-field i {
  position: absolute;
  left: 17px;
  bottom: 18px;
  color: rgba(102, 247, 255, .78);
  font-size: 16px;
  text-shadow: none;
  pointer-events: none;
}

.auth-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 10px;
  background: rgba(4, 6, 18, .62) !important;
  background-color: rgba(4, 6, 18, .62) !important;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 24px rgba(0,0,0,.18);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.auth-form input::placeholder {
  color: rgba(216, 249, 255, .48);
}

.auth-form.is-register input::placeholder {
  color: rgba(216, 249, 255, .42);
}

.auth-form.is-register .auth-field span {
  color: rgba(216, 249, 255, .86);
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(216, 249, 255, .76);
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

.auth-consent[hidden] {
  display: none;
}

.auth-consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #75ff83;
  flex: 0 0 auto;
}

.auth-consent a {
  color: #75ff83;
  text-decoration: none;
}

.auth-consent a:hover {
  text-decoration: underline;
}

.auth-form input:focus {
  border-color: rgba(101, 255, 122, .78);
  background-color: rgba(6, 9, 24, .78) !important;
  box-shadow:
    0 0 0 3px rgba(101, 255, 122, .12),
    0 0 28px rgba(102, 247, 255, .14),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px rgba(4, 6, 18, .92) inset, 0 0 0 3px rgba(101, 255, 122, .12);
  transition: background-color 9999s ease-in-out 0s;
}

.auth-form .btn {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border: 1px solid rgba(180, 255, 190, .52);
  border-radius: 10px;
  background:
    linear-gradient(180deg, #75ff83, #3eea62);
  color: #06110a;
  font-size: 17px;
  letter-spacing: .04em;
  box-shadow:
    0 0 24px rgba(101, 255, 122, .28),
    0 18px 34px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.48);
  text-shadow: 0 1px 0 rgba(255,255,255,.34);
}

.auth-form .btn:hover {
  box-shadow:
    0 0 34px rgba(101, 255, 122, .36),
    0 22px 42px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.auth-status,
.cart-state {
  min-height: 22px;
  font-size: 14px;
  color: rgba(216, 249, 255, .72);
}

.auth-status[data-state="error"],
.cart-state[data-state="error"] {
  color: #ff7aa8;
}

.auth-status[data-state="success"] {
  color: #75ff83;
}

.auth-toggle {
  min-height: 44px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 10px;
  background: rgba(102, 247, 255, .06);
  color: rgba(216, 249, 255, .78);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.auth-toggle strong,
.auth-toggle:hover {
  color: #fff;
  border-color: rgba(102, 247, 255, .48);
  background: rgba(102, 247, 255, .12);
  box-shadow: 0 0 22px rgba(102, 247, 255, .14);
}

.donate-layout {
  position: relative;
  flex: 1 1 auto;
  margin-bottom: 44px;
}

.digital-service-info {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: 28px 48px;
  width: min(100% - 64px, 1480px);
  margin: 42px auto 0;
  padding: 30px 0;
  border-top: 1px solid rgba(168, 85, 247, .28);
  border-bottom: 1px solid rgba(102, 247, 255, .18);
}

.page-donate > .digital-service-info {
  position: relative;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid rgba(102, 247, 255, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 8, 24, .62), rgba(7, 10, 28, .72));
  box-shadow: 0 -16px 40px rgba(0, 0, 0, .18), inset 0 0 22px rgba(102, 247, 255, .04);
}

.page-donate > .digital-service-info .digital-service-info-heading {
  display: block !important;
  width: 100%;
  max-width: 980px;
  opacity: 1 !important;
  visibility: visible !important;
}

.page-donate > .digital-service-info .digital-service-info-heading h2,
.page-donate > .digital-service-info .digital-service-info-heading p,
.page-donate > .digital-service-info .digital-service-info-heading span {
  opacity: 1 !important;
  visibility: visible !important;
}

.page-donate > .digital-service-info .digital-service-info-steps {
  width: 100%;
}

.digital-service-info-heading span {
  display: block;
  margin-bottom: 8px;
  color: #c78aff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.digital-service-info-heading h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12;
}

.digital-service-info-heading p,
.digital-service-info-steps span,
.digital-service-info-delivery {
  color: rgba(226, 232, 255, .76);
  line-height: 1.6;
}

.digital-service-info-heading p {
  margin: 0;
}

.digital-service-info-heading strong {
  color: #66f7ff;
}

.digital-service-info-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: digital-service-step;
}

.digital-service-info-steps li {
  position: relative;
  min-width: 0;
  padding-left: 38px;
  counter-increment: digital-service-step;
}

.digital-service-info-steps li::before {
  content: counter(digital-service-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(199, 138, 255, .52);
  color: #dbaeff;
  font-size: 12px;
  font-weight: 900;
}

.digital-service-info-steps strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
}

.digital-service-info-steps span {
  display: block;
  font-size: 13px;
}

.digital-service-info-delivery {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(102, 247, 255, .58);
  font-size: 14px;
}

.digital-service-info-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.digital-service-info-links a {
  color: #b9c8ec;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(199, 138, 255, .5);
  text-underline-offset: 4px;
}

.digital-service-info-links a:hover {
  color: #fff;
  text-decoration-color: #66f7ff;
}

@media (max-width: 900px) {
  .digital-service-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .digital-service-info-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .digital-service-info-delivery,
  .digital-service-info-links {
    grid-column: 1;
  }
}

.page-donate .page {
  padding-bottom: 52px;
}

.donate-empty-state {
  grid-column: 1 / -1;
  max-width: 560px;
}

.cart-panel {
  position: fixed;
  right: 24px;
  bottom: 102px;
  top: auto;
  z-index: 90;
  display: grid;
  gap: 18px;
  width: min(360px, calc(100vw - 36px));
  max-height: min(70vh, 640px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 0 0 24px rgba(168,85,247,.1), var(--shadow);
  backdrop-filter: blur(10px);
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-panel-head h3 {
  font-size: 24px;
  font-weight: 900;
}

.donate-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.cart-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  min-width: 220px;
  border-color: rgba(240, 214, 255, 0.88);
  box-shadow: 0 0 22px rgba(179,92,255,.46), 0 0 44px rgba(179,92,255,.26), inset 0 0 20px rgba(168,85,247,.16);
}

.page-donate .cart-toggle {
  top: auto;
  bottom: 24px;
}

.page-donate .cart-panel {
  top: auto;
  bottom: 102px;
  max-height: min(70vh, 640px);
}

.cart-badge {
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,.62);
  background: rgba(14,8,34,.72);
  color: #f0e9ff;
  font-size: 14px;
  font-weight: 900;
}

.cart-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(168,85,247,.42);
  border-radius: 50%;
  background: rgba(14,8,34,.72);
  color: #f0e9ff;
  cursor: pointer;
}

.cart-copy {
  color: var(--muted);
  line-height: 1.6;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item,
.cart-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(168,85,247,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}

.cart-item strong,
.cart-empty {
  font-size: 15px;
  font-weight: 800;
}

.cart-item span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.cart-item .cart-item-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.cart-item .cart-item-price > span {
  display: inline-block;
  margin-top: 0;
}

.cart-item .cart-item-price .price-current-sale {
  color: #72ff9a;
  font-weight: 900;
}

.cart-remove {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(168,85,247,.42);
  border-radius: 50%;
  background: rgba(14,8,34,.72);
  color: #f0e9ff;
  cursor: pointer;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(168,85,247,.18);
}

.cart-summary strong {
  font-size: 24px;
  font-weight: 900;
  color: #cf8cff;
}

.donate-catalog {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 38px;
}

.donate-category-nav {
  z-index: 12;
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 12px;
  width: min(100%, 760px);
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.donate-category-nav h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(102, 247, 255, .34);
}

.donate-category-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(10, 19, 42, .82), rgba(3, 6, 18, .86)),
    radial-gradient(circle at 50% 0%, rgba(102, 247, 255, .12), transparent 62%);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 22px rgba(102, 247, 255, .06), 0 0 30px rgba(102, 247, 255, .1);
}

.donate-category-switch button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(236, 250, 255, .78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.donate-category-switch button:hover {
  color: #fff;
  background: rgba(102, 247, 255, .08);
  transform: translateY(-1px);
}

.donate-category-switch button.active {
  color: #02111a;
  border-color: rgba(255,255,255,.66);
  background: linear-gradient(180deg, #7efcff, #1fd9ff);
  box-shadow: 0 0 20px rgba(102, 247, 255, .36), inset 0 1px 0 rgba(255,255,255,.6);
}

.donate-product-section {
  display: grid;
  gap: 20px;
}

.donate-category-title {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0 42px 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(102, 247, 255, .36), 0 0 38px rgba(179, 92, 255, .26);
}

.donate-category-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(260px, 72vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #66f7ff, #f6d8ff, #66f7ff, transparent);
  box-shadow: 0 0 22px rgba(102, 247, 255, .42);
  transform: translateX(-50%);
}

.donate-section-grid {
  width: 100%;
}

.donate-category-empty {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(8, 13, 32, .72), rgba(20, 13, 44, .5)),
    radial-gradient(circle at 50% 0%, rgba(102, 247, 255, .12), transparent 36%);
  color: rgba(240, 248, 255, .76);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(255,255,255,.035), 0 0 24px rgba(102, 247, 255, .08);
  backdrop-filter: blur(12px);
}

.donate-category-empty i {
  color: #66f7ff;
  text-shadow: 0 0 18px rgba(102, 247, 255, .48);
}

.donate-category-heading {
  grid-column: 1 / -1;
  position: relative;
  z-index: 8;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid rgba(102, 247, 255, .26);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(8, 13, 32, .76), rgba(20, 13, 44, .54)),
    radial-gradient(circle at 14% 0%, rgba(102, 247, 255, .18), transparent 34%);
  box-shadow: 0 0 28px rgba(102, 247, 255, .1), inset 0 0 20px rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
}

.donate-category-heading::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, transparent, #66f7ff, #f6d8ff, #66f7ff, transparent);
  box-shadow: 0 0 22px rgba(102, 247, 255, .38);
}

.donate-category-heading span {
  color: rgba(230, 246, 255, .72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.donate-category-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(102, 247, 255, .28);
}

.page-donate .pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.page-donate .pricing-card {
  --donate-accent: #cf8cff;
  --donate-accent-soft: rgba(168, 85, 247, .2);
  --donate-glow: rgba(168, 85, 247, .34);
  position: relative;
  isolation: isolate;
  min-height: 430px;
  gap: 14px;
  padding: 22px 20px 20px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--donate-accent) 46%, rgba(255,255,255,.12));
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 42%, rgba(0,0,0,.16)),
    radial-gradient(circle at 50% 0%, var(--donate-accent-soft), transparent 34%),
    rgba(7, 9, 24, .72);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 18px 44px rgba(0,0,0,.34),
    0 0 28px var(--donate-glow),
    inset 0 0 26px rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, filter .24s ease;
  cursor: pointer;
}

.page-donate .pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--donate-accent), #f6d8ff, var(--donate-accent), transparent);
  box-shadow: 0 0 22px var(--donate-glow), 0 0 42px var(--donate-glow);
}

.page-donate .pricing-card::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  opacity: .48;
  background:
    radial-gradient(circle at 18% 16%, var(--donate-glow), transparent 14%),
    radial-gradient(circle at 80% 8%, rgba(126, 233, 255, .18), transparent 16%),
    radial-gradient(circle at 62% 88%, rgba(255, 105, 180, .14), transparent 18%),
    radial-gradient(circle, rgba(255,255,255,.24) 1px, transparent 1px);
  background-size: auto, auto, auto, 76px 76px;
  animation: donate-card-glow 7s ease-in-out infinite;
}

.page-donate .pricing-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: color-mix(in srgb, var(--donate-accent) 74%, white);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 24px 56px rgba(0,0,0,.42),
    0 0 38px var(--donate-glow),
    0 0 72px color-mix(in srgb, var(--donate-accent) 28%, transparent),
    inset 0 0 30px rgba(255,255,255,.06);
  filter: brightness(1.08);
}

.page-donate .pricing-card h3 {
  margin: 0;
  color: var(--donate-accent);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--donate-glow), 0 0 28px var(--donate-glow);
}

.donate-delete-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 93, 124, .48);
  border-radius: 10px;
  background: rgba(28, 5, 18, .78);
  color: #ff6f8e;
  box-shadow: 0 0 18px rgba(255, 93, 124, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.donate-delete-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 93, 124, .2);
  box-shadow: 0 0 28px rgba(255, 93, 124, .34);
}

.product-thumb {
  height: 148px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,.2);
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 18px rgba(168,85,247,.08);
}

.page-donate .product-thumb {
  position: relative;
  height: 174px;
  border-color: color-mix(in srgb, var(--donate-accent) 32%, rgba(255,255,255,.08));
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 25%, var(--donate-accent-soft), transparent 44%),
    rgba(255,255,255,.035);
  box-shadow:
    0 12px 30px rgba(0,0,0,.28),
    0 0 24px color-mix(in srgb, var(--donate-accent) 18%, transparent),
    inset 0 0 22px rgba(255,255,255,.06);
}

.page-donate .product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%, rgba(0,0,0,.28)),
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--donate-accent) 34%, transparent), transparent 26%);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-donate .product-thumb img {
  transform: scale(1.02);
  transition: transform .32s ease, filter .32s ease;
}

.page-donate .product-thumb-local img {
  object-position: center 38%;
  transform: scale(1.08);
}

.page-donate .pricing-card:hover .product-thumb img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.page-donate .pricing-card:hover .product-thumb-local img {
  transform: scale(1.14);
}

.product-thumb-placeholder {
  display: grid;
  place-items: center;
  color: #dba1ff;
  font-size: 42px;
}

.page-donate .product-thumb-placeholder img {
  opacity: .58;
  filter: saturate(1.18) brightness(.76);
}

.page-donate .product-thumb-placeholder i {
  position: absolute;
  z-index: 2;
  color: var(--donate-accent);
  text-shadow: 0 0 18px var(--donate-glow), 0 0 36px var(--donate-glow);
}

.product-thumb.is-missing-image {
  display: grid;
  place-items: center;
}

.product-thumb.is-missing-image::before {
  content: "\f3a5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #9feeff;
  font-size: 42px;
  text-shadow: 0 0 18px rgba(77, 198, 255, 0.5);
}

.donate-add-button {
  width: 100%;
}

.page-donate .donate-card-copy {
  min-height: 74px;
  margin: 0;
  color: rgba(240, 235, 255, .88);
  font-size: 15px;
  line-height: 1.55;
}

.page-donate .donate-price {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--donate-accent) 38%, rgba(255,255,255,.08));
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(0,0,0,.22);
  color: var(--donate-accent);
  font-size: 27px;
  font-weight: 900;
  text-shadow: 0 0 14px var(--donate-glow), 0 0 30px var(--donate-glow);
  box-shadow: inset 0 0 18px rgba(255,255,255,.035), 0 0 20px color-mix(in srgb, var(--donate-accent) 18%, transparent);
}

.page-donate .donate-price.has-discount {
  flex-wrap: wrap;
  gap: 10px;
  border-color: rgba(114, 255, 154, .55);
  background:
    radial-gradient(circle at 80% 15%, rgba(114, 255, 154, .16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
    rgba(0,0,0,.26);
}

.price-original {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,.58);
  font-size: .64em;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: none;
}

.price-original::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: #ff547f;
  box-shadow: 0 0 6px rgba(255, 84, 127, .72);
  transform: rotate(-12deg);
  transform-origin: center;
  pointer-events: none;
}

.price-current {
  display: inline-block;
  color: inherit;
  font: inherit;
}

.price-current-sale {
  color: #72ff9a;
  text-shadow: 0 0 14px rgba(114, 255, 154, .48);
}

.price-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 84, 127, .68);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 84, 127, .96), rgba(194, 32, 83, .96));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  box-shadow: 0 0 13px rgba(255, 84, 127, .28);
}

.page-donate .donate-add-button {
  --buy-accent: #5dff73;
  --buy-glow: rgba(93, 255, 115, .38);
  min-height: 54px;
  margin-top: 0;
  border-color: color-mix(in srgb, var(--buy-accent) 58%, white);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--buy-accent) 82%, white), var(--buy-accent));
  color: #06140d;
  box-shadow:
    0 0 18px var(--buy-glow),
    0 0 38px rgba(93, 255, 115, .24),
    inset 0 0 18px rgba(255,255,255,.2);
  text-shadow: none;
}

.page-donate .donate-add-button:hover {
  box-shadow:
    0 0 28px var(--buy-glow),
    0 0 56px rgba(93, 255, 115, .32),
    inset 0 0 24px rgba(255,255,255,.24);
}

.donate-manager-add-tile {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border: 1px dashed rgba(102, 247, 255, .54);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 18%, rgba(102, 247, 255, .16), transparent 34%),
    rgba(7, 10, 24, .64);
  color: #eaf8ff;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(102, 247, 255, .06), 0 0 28px rgba(102, 247, 255, .08);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.donate-manager-add-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.8);
  box-shadow: inset 0 0 28px rgba(102, 247, 255, .08), 0 0 38px rgba(102, 247, 255, .18);
}

.donate-manager-add-tile i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #66f7ff, #16aee8);
  color: #06131f;
  font-size: 24px;
}

.donate-modal[hidden] {
  display: none;
}

.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 30px;
}

.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 16%, rgba(102, 247, 255, .18), transparent 32%),
    radial-gradient(circle at 78% 8%, rgba(255, 84, 168, .15), transparent 28%),
    rgba(2, 4, 12, .78);
  backdrop-filter: blur(10px);
}

.donate-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 44px));
  min-height: min(650px, calc(100vh - 44px));
  display: grid;
  grid-template-columns: minmax(260px, 330px) 1fr;
  gap: 34px;
  align-items: start;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(240, 246, 255, .84);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 12%, rgba(102, 247, 255, .12), transparent 26%),
    linear-gradient(180deg, rgba(132, 38, 77, .76), rgba(8, 4, 14, .94) 34%, rgba(2, 2, 8, .97)),
    #05050a;
  box-shadow:
    0 0 0 2px rgba(255, 76, 142, .38),
    0 34px 90px rgba(0,0,0,.62),
    0 0 58px rgba(102, 247, 255, .2),
    inset 0 0 44px rgba(255,255,255,.04);
}

.donate-modal-dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.58) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .32;
}

.donate-modal-side {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.donate-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(8, 10, 22, .72);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(102, 247, 255, .16);
}

.donate-modal-image {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 5px solid rgba(0,0,0,.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, rgba(102, 247, 255, .24), transparent 36%),
    rgba(6, 11, 24, .76);
  box-shadow:
    0 0 0 2px rgba(102, 247, 255, .58),
    0 0 34px rgba(102, 247, 255, .26),
    0 18px 42px rgba(0,0,0,.42);
}

.donate-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.donate-modal-image.has-local-art img {
  object-position: center 36%;
  transform: scale(1.08);
}

.page-donate .product-thumb img[src="assets/Луна.jpg"],
.donate-modal-image img[src="assets/Луна.jpg"] {
  object-position: center 20%;
}

.page-donate .product-thumb img[src$="Любовь.jpg"],
.donate-modal-image img[src$="Любовь.jpg"] {
  object-position: center 18%;
}

.page-donate .product-thumb img[src="assets/Демоническая-Луна.jpg"],
.donate-modal-image img[src="assets/Демоническая-Луна.jpg"] {
  object-position: center 20%;
}

.donate-modal-image.is-placeholder img {
  opacity: .46;
  filter: saturate(1.15) brightness(.72);
}

.donate-modal-image i,
.donate-modal-image.is-missing-image::before {
  z-index: 2;
  color: #66f7ff;
  font-size: 72px;
  text-shadow: 0 0 24px rgba(102, 247, 255, .72);
}

.donate-modal-image i {
  position: absolute;
}

.donate-modal-image.is-missing-image::before {
  content: "\f3a5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.donate-modal-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  color: #fff;
}

.donate-modal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  font-weight: 800;
}

.donate-modal-topline i {
  color: #14d9b2;
  text-shadow: 0 0 18px rgba(20, 217, 178, .48);
}

.donate-modal-content h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(102, 247, 255, .22);
}

.donate-modal-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.donate-modal-add {
  min-width: 170px;
  border-color: rgba(128, 255, 151, .74);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(180deg, #8aff9a, #5dff73);
  color: #06140d;
  text-shadow: none;
  box-shadow: 0 0 24px rgba(93, 255, 115, .36), inset 0 0 18px rgba(255,255,255,.18);
}

.donate-modal-buy strong {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(102, 247, 255, .24);
}

.donate-modal-buy #product-modal-price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.donate-modal-buy #product-modal-price .price-original {
  font-size: 18px;
}

.donate-modal-buy #product-modal-price .price-current-sale {
  color: #72ff9a;
}

.donate-modal-description {
  min-height: 260px;
  padding: 24px;
  border: 2px solid rgba(255,255,255,.84);
  border-radius: 10px;
  background: rgba(0,0,0,.74);
  box-shadow: inset 0 0 28px rgba(102, 247, 255, .05);
}

.donate-modal-description h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.donate-modal-description p {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  white-space: pre-line;
}

.donate-modal-meta {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(100%, 320px);
  margin: 0;
  padding: 0 6px;
}

.donate-modal-meta div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
}

.donate-modal-meta dt,
.donate-modal-meta dd {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.donate-modal-meta dt {
  color: rgba(255,255,255,.82);
}

.donate-modal-meta dd {
  color: #ff5aa8;
}

.donate-modal-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 90, 168, .32);
  border-radius: 10px;
  background: rgba(0,0,0,.38);
  color: rgba(255, 232, 244, .9);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(255, 90, 168, .06);
}

body.donate-modal-open {
  overflow: hidden;
}

.site-announcement {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2200;
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 72px 1fr auto 44px;
  align-items: center;
  gap: 16px;
  padding: 6px 10px 6px 36px;
  border-bottom: 1px solid rgba(255, 198, 76, .28);
  background:
    radial-gradient(circle at 4% 50%, rgba(255, 90, 168, .28), transparent 18%),
    linear-gradient(90deg, rgba(4, 4, 8, .98), rgba(10, 7, 18, .96), rgba(4, 4, 8, .98));
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.42), 0 0 28px rgba(255, 90, 168, .12);
}

/* Text-only Telegram posts use a CSS treatment instead of a large placeholder image. */
.news-media-fallback {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ecf9ff;
  background-color: #101a36;
  border: 1px solid rgba(102, 247, 255, .42);
}

.news-media-fallback::before,
.news-media-fallback::after {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(166, 101, 255, .32);
  border-radius: 50%;
  z-index: -1;
}

.news-media-fallback::before { transform: translate(-28%, 30%); }
.news-media-fallback::after { transform: translate(34%, -38%); border-color: rgba(102, 247, 255, .25); }

.news-fallback-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .62);
  border-radius: 50%;
  color: #66f7ff;
  font-size: 30px;
  box-shadow: 0 0 24px rgba(102, 247, 255, .22);
}

.news-fallback-brand {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: rgba(235, 247, 255, .72);
  font-size: 12px;
  font-weight: 800;
}

.page-inner .news-post-card,
.page-inner .forum-card,
.page-control .control-panel,
.page-account .account-panel {
  border-color: rgba(98, 221, 255, .34);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.page-control .control-form {
  border-color: rgba(174, 105, 255, .32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.page-control .control-form input:focus,
.page-control .control-form select:focus,
.page-control .control-form textarea:focus {
  border-color: rgba(102, 247, 255, .74);
  box-shadow: 0 0 0 3px rgba(102, 247, 255, .11);
}

.site-announcement-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ff5aa8;
  font-size: 24px;
  text-shadow: 0 0 16px rgba(255, 90, 168, .72);
}

.site-announcement-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.site-announcement strong {
  justify-self: center;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.12;
  font-weight: 900;
  text-align: center;
}

.site-announcement a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff5aa8, #f04296);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255, 90, 168, .35);
}

.site-announcement button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.page-control.control-locked .control-shell {
  display: none;
}

.control-loading[hidden],
.control-shell[hidden] {
  display: none;
}

.control-loading {
  position: relative;
  z-index: 8;
  min-height: 54vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #eaf8ff;
  font-size: 16px;
  font-weight: 900;
}

.control-loading i {
  color: #66f7ff;
  font-size: 42px;
  text-shadow: 0 0 24px rgba(102, 247, 255, .52);
}

.control-shell {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 28px;
  padding-top: 34px;
}

.control-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.control-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  padding: 10px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 8px;
  background-color: rgba(5, 10, 28, .72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.control-section-nav button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(237, 246, 255, .74);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.control-section-nav button:hover,
.control-section-nav button.active {
  border-color: rgba(102, 247, 255, .5);
  background-color: rgba(30, 86, 124, .28);
  color: #fff;
}

.control-section-nav button i { color: #66f7ff; }

.control-server-panel { margin-bottom: 20px; }

.control-server-summary {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(102, 247, 255, .25);
  border-radius: 7px;
  background-color: rgba(5, 10, 28, .72);
}

.control-server-summary strong { color: #fff; }
[data-control-server-status][data-state="online"] .control-server-summary strong { color: #8affdf; }
[data-control-server-status][data-state="offline"] .control-server-summary strong { color: #ffd176; }
[data-control-server-status][data-state="error"] .control-server-summary { border-color: rgba(255, 100, 144, .44); }
.control-server-summary small { color: rgba(225, 241, 255, .55); }

.control-launcher-policy-note {
  margin: 0;
  color: rgba(225, 241, 255, .68);
  font-size: 13px;
}

.control-head h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(102, 247, 255, .26), 0 0 48px rgba(179,92,255,.28);
}

.control-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.control-role-pill {
  min-width: 220px;
  padding: 18px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 12px;
  background: rgba(7, 10, 24, .72);
  box-shadow: inset 0 0 22px rgba(102, 247, 255, .08), 0 0 28px rgba(102, 247, 255, .08);
  backdrop-filter: blur(12px);
}

.control-role-pill span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-role-pill strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.control-visit-stats {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(102, 247, 255, .22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(7, 13, 30, .78), rgba(20, 9, 42, .62)),
    radial-gradient(circle at 14% 0%, rgba(102, 247, 255, .14), transparent 34%);
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 24px rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
}

.control-visit-stats.is-loading {
  opacity: .72;
}

.control-visit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.control-visit-head span {
  color: #66f7ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.control-visit-head h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(102, 247, 255, .26);
}

.control-visit-head button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 10px;
  background: rgba(4, 10, 24, .68);
  color: #66f7ff;
  cursor: pointer;
}

.control-visit-head button:disabled {
  cursor: wait;
  opacity: .55;
}

.control-visit-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.control-analytics-periods { display: flex; flex-wrap: wrap; gap: 8px; }
.control-analytics-periods button {
  padding: 8px 13px; border: 1px solid rgba(102, 247, 255, .18); border-radius: 8px;
  background: rgba(4, 10, 24, .56); color: rgba(238, 247, 255, .68); font-weight: 900; cursor: pointer;
}
.control-analytics-periods button.active {
  border-color: rgba(102, 247, 255, .62); background: rgba(102, 247, 255, .13); color: #8affff;
}
.control-analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.control-chart-card {
  min-width: 0; padding: 14px; border: 1px solid rgba(102, 247, 255, .14);
  border-radius: 10px; background: rgba(4, 10, 24, .5);
}
.control-chart-card > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.control-chart-card strong { color: #fff; }
.control-chart-card > div:first-child span { color: rgba(238,247,255,.5); font-size: 11px; }
.control-bar-chart { height: 170px; display: flex; align-items: stretch; gap: 4px; overflow-x: auto; }
.control-chart-column {
  min-width: 24px; flex: 1 0 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 4px;
}
.control-chart-column > span { color: #dffcff; font-size: 10px; font-weight: 900; }
.control-chart-column > i {
  width: 72%; min-height: 2px; border-radius: 5px 5px 1px 1px;
  background: linear-gradient(#66f7ff, #786bff); box-shadow: 0 0 12px rgba(102,247,255,.2);
}
.control-chart-column > small {
  max-width: 46px; color: rgba(238,247,255,.45); font-size: 9px;
  white-space: nowrap; transform: rotate(-28deg); transform-origin: center;
}
.control-chart-empty { margin: auto; color: rgba(238,247,255,.55); font-size: 12px; }
.control-activity-row strong small { display: inline; color: rgba(138,255,223,.62); font-size: 10px; }

.control-visit-cards div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(102, 247, 255, .14);
  border-radius: 10px;
  background: rgba(4, 10, 24, .56);
}

.control-visit-cards span {
  display: block;
  margin-bottom: 7px;
  color: rgba(238, 247, 255, .58);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.control-visit-cards strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.control-visit-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.control-visit-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.control-visit-page {
  min-height: 34px;
  display: inline-grid;
  grid-template-columns: minmax(90px, auto) auto auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(227, 193, 255, .16);
  border-radius: 8px;
  background: rgba(4, 10, 24, .5);
  color: rgba(238, 247, 255, .72);
  font-size: 12px;
  font-weight: 850;
}

.control-visit-page strong {
  color: #8affdf;
}

.control-visit-page small,
.control-visit-last {
  color: rgba(238, 247, 255, .54);
  font-size: 12px;
  font-weight: 800;
}

.control-visit-page.is-empty {
  display: block;
  padding: 10px 12px;
}

.control-visit-last strong {
  color: #fff;
}

.control-activity-feed {
  display: grid;
  gap: 8px;
  max-height: 310px;
  overflow-y: auto;
}

.control-activity-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(102, 247, 255, .16);
  border-radius: 8px;
  background: rgba(3, 8, 20, .5);
}

.control-activity-row > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 8px;
  color: #66f7ff;
  background: rgba(102, 247, 255, .08);
}

.control-activity-row strong,
.control-activity-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-activity-row strong {
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.control-activity-row span,
.control-activity-row time {
  color: rgba(230, 246, 255, .68);
  font-size: 12px;
  font-weight: 800;
}

.control-activity-row time {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .control-visit-cards,
  .control-visit-bottom,
  .control-analytics-grid {
    grid-template-columns: 1fr;
  }

  .control-visit-page {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .control-activity-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .control-activity-row time {
    grid-column: 2;
  }
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.control-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(102, 247, 255, .2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    rgba(7, 10, 24, .7);
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 0 24px rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
}

.control-panel-wide {
  grid-column: 1 / -1;
}

.control-panel-head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}

.control-panel-head i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102, 247, 255, .34);
  border-radius: 50%;
  background: rgba(102, 247, 255, .1);
  color: #66f7ff;
  font-size: 22px;
  text-shadow: 0 0 18px rgba(102, 247, 255, .52);
}

.control-panel-head h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.control-panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.control-purchases-panel {
  margin: 22px 0;
}

.control-purchases-head {
  grid-template-columns: 58px minmax(0, 1fr) 42px;
}

.control-icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102,247,255,.3);
  border-radius: 8px;
  background: rgba(102,247,255,.08);
  color: #bdf6ff;
  cursor: pointer;
}

.control-panel-head .control-icon-button i {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  text-shadow: none;
}

.control-purchase-filters {
  display: flex;
  align-items: end;
  gap: 12px;
}

.control-purchase-filters label {
  display: grid;
  gap: 6px;
  color: rgba(232,241,255,.7);
  font-size: 13px;
  font-weight: 800;
}

.control-purchase-filters select {
  min-width: 220px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(102,247,255,.26);
  border-radius: 8px;
  background: rgba(3,10,24,.9);
  color: #fff;
  font: inherit;
}

.control-purchase-list {
  display: grid;
  gap: 10px;
}

.control-purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid #66f7ff;
  border-radius: 8px;
  background: rgba(2,8,20,.5);
}

.control-purchase-row[data-state="delivered"] { border-left-color: #63e6a6; }
.control-purchase-row[data-state="failed"] { border-left-color: #ff6b78; }
.control-purchase-row[data-state="waiting_player"] { border-left-color: #ffd166; }
.control-purchase-row[data-state="cancelled"] { border-left-color: #8992a5; }

.control-purchase-main,
.control-purchase-actions {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.control-purchase-title,
.control-purchase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  align-items: center;
}

.control-purchase-title strong { color: #fff; overflow-wrap: anywhere; }
.control-purchase-title span { color: #bdf6ff; font-weight: 900; }
.control-purchase-meta span { color: rgba(232,241,255,.7); font-size: 13px; overflow-wrap: anywhere; }
.control-purchase-error { color: #ffb8c1; font-size: 13px; overflow-wrap: anywhere; }

.control-purchase-technical summary,
.control-purchase-history summary {
  color: rgba(232,241,255,.78);
  cursor: pointer;
}

.control-purchase-technical pre {
  max-height: 240px;
  overflow: auto;
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #060b16;
  color: #c7f5d9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.control-purchase-event {
  display: grid;
  grid-template-columns: 150px minmax(140px, 1fr) minmax(140px, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(232,241,255,.72);
  font-size: 12px;
}

.control-purchase-event strong { color: #fff; }
.control-purchase-event em { grid-column: 1 / -1; color: #ffb8c1; overflow-wrap: anywhere; }

.control-action-button {
  min-width: 132px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(102,247,255,.3);
  border-radius: 8px;
  background: rgba(102,247,255,.08);
  color: #dffcff;
  font-weight: 800;
  cursor: pointer;
}

.control-action-button.danger { border-color: rgba(255,107,120,.42); background: rgba(255,107,120,.08); color: #ffc2c8; }
.control-action-button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 900px) {
  .control-purchase-row { grid-template-columns: 1fr; }
  .control-purchase-actions { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
  .control-action-button { min-width: 0; }
  .control-purchase-event { grid-template-columns: 1fr; }
  .control-purchase-event em { grid-column: auto; }
}

.players-search {
  position: relative;
  display: grid;
  align-items: center;
}

.players-search i {
  position: absolute;
  left: 16px;
  z-index: 1;
  color: #66f7ff;
  font-size: 16px;
  filter: drop-shadow(0 0 8px rgba(102, 247, 255, .42));
}

.players-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 46px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 12px;
  background: rgba(5, 14, 28, .78);
  color: #fff;
  font: inherit;
  font-weight: 800;
  outline: none;
  box-shadow: inset 0 0 18px rgba(102, 247, 255, .06);
}

.players-search input:focus {
  border-color: rgba(102, 247, 255, .58);
  box-shadow: 0 0 24px rgba(102, 247, 255, .14), inset 0 0 18px rgba(102, 247, 255, .08);
}

.players-list {
  display: grid;
  gap: 12px;
}

.players-empty {
  padding: 22px;
  border: 1px dashed rgba(102, 247, 255, .28);
  border-radius: 12px;
  color: rgba(238, 247, 255, .72);
  font-weight: 800;
  text-align: center;
  background: rgba(6, 10, 24, .45);
}

.player-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(320px, auto);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(102, 247, 255, .16);
  border-radius: 12px;
  background: rgba(7, 11, 26, .58);
  box-shadow: inset 0 0 18px rgba(102, 247, 255, .045);
  cursor: pointer;
}

.player-row.is-banned {
  border-color: rgba(255, 91, 122, .3);
  background: rgba(34, 8, 18, .5);
}

.player-row.is-expanded {
  border-color: rgba(102, 247, 255, .34);
  box-shadow: 0 0 24px rgba(102, 247, 255, .08), inset 0 0 18px rgba(102, 247, 255, .06);
}

.player-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.player-main strong {
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.player-sub {
  overflow: hidden;
  color: rgba(232, 240, 255, .62);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-you {
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(102, 247, 255, .3);
  border-radius: 999px;
  color: #66f7ff;
  font-size: 10px;
  text-transform: uppercase;
}

.player-meta,
.player-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.player-balance,
.player-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.player-balance {
  border: 1px solid rgba(102, 247, 255, .22);
  color: #eaffff;
  background: rgba(5, 18, 30, .72);
}

.player-badge.active {
  border: 1px solid rgba(117, 255, 216, .28);
  color: #8affdf;
  background: rgba(28, 109, 91, .14);
}

.player-badge.banned {
  border: 1px solid rgba(255, 91, 122, .32);
  color: #ff9aac;
  background: rgba(98, 18, 38, .22);
}

.player-role-select,
.player-actions button {
  min-height: 36px;
  border: 1px solid rgba(227, 193, 255, .18);
  border-radius: 8px;
  background: rgba(8, 8, 24, .78);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.player-role-select {
  width: 150px;
  padding: 0 10px;
}

.player-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  cursor: pointer;
}

.player-actions button:hover,
.player-role-select:hover {
  border-color: rgba(102, 247, 255, .42);
  background: rgba(14, 24, 46, .86);
}

.player-activity {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(102, 247, 255, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(5, 14, 30, .82), rgba(18, 8, 34, .72));
}

.player-activity-loading,
.player-activity-error,
.player-activity-muted {
  color: rgba(238, 247, 255, .76);
  font-weight: 800;
}

.player-activity-error {
  color: #ff9aac;
}

.player-activity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.player-activity-summary div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(102, 247, 255, .14);
  border-radius: 10px;
  background: rgba(4, 10, 24, .58);
}

.player-activity-summary span {
  display: block;
  margin-bottom: 5px;
  color: rgba(238, 247, 255, .58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-activity-summary strong {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.player-activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
}

.player-activity-grid section {
  min-width: 0;
}

.player-activity-grid h3 {
  margin: 0 0 10px;
  color: #66f7ff;
  font-size: 13px;
  font-weight: 950;
}

.player-activity-table-wrap {
  overflow-x: auto;
}

.player-activity-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(238, 247, 255, .82);
  font-size: 12px;
  font-weight: 750;
}

.player-activity-table th,
.player-activity-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(102, 247, 255, .1);
  text-align: left;
  vertical-align: top;
}

.player-activity-table th {
  color: rgba(238, 247, 255, .58);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-activity code {
  padding: 2px 6px;
  border: 1px solid rgba(102, 247, 255, .18);
  border-radius: 7px;
  color: #8affdf;
  background: rgba(4, 10, 24, .7);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.player-activity-twins {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-activity-twins li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(227, 193, 255, .14);
  border-radius: 10px;
  background: rgba(4, 10, 24, .5);
}

.player-activity-twins li.player-activity-muted {
  display: block;
}

.player-activity-twins span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-activity-twins small {
  grid-column: 1 / -1;
  color: rgba(238, 247, 255, .54);
  font-weight: 800;
}

@media (max-width: 900px) {
  .player-activity-summary,
  .player-activity-grid {
    grid-template-columns: 1fr;
  }

  .player-activity-twins li {
    grid-template-columns: 1fr;
  }
}

.player-actions button.is-ban {
  border-color: rgba(255, 196, 87, .28);
  color: #ffd47a;
}

.player-actions button.is-unban {
  border-color: rgba(117, 255, 216, .32);
  color: #8affdf;
}

.player-actions button.is-delete {
  min-width: 38px;
  padding: 0;
  border-color: rgba(255, 91, 122, .34);
  color: #ff9aac;
}

.player-actions button:disabled,
.player-role-select:disabled {
  opacity: .48;
  cursor: default;
}

.control-add-tile {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px dashed rgba(102, 247, 255, .52);
  border-radius: 16px;
  background: rgba(102, 247, 255, .055);
  color: #eaf8ff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.control-add-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.76);
  box-shadow: 0 0 34px rgba(102, 247, 255, .18), inset 0 0 22px rgba(102, 247, 255, .06);
}

.control-add-tile i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #66f7ff, #16aee8);
  color: #06131f;
  font-size: 22px;
}

.control-form {
  display: grid;
  gap: 14px;
}

.control-form input,
.control-form select,
.control-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(227,193,255,.18);
  border-radius: 10px;
  background: rgba(8, 8, 24, .74);
  color: #fff;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.control-form textarea {
  min-height: 112px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.control-form input[type="color"] {
  min-height: 46px;
  padding: 6px;
  cursor: pointer;
}

.control-form label {
  display: grid;
  gap: 8px;
  color: rgba(230, 246, 255, .76);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-form .btn {
  width: 100%;
}

.control-form-split {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
}

.control-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.control-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  text-transform: none;
}

.control-check input {
  width: 20px;
  min-height: 20px;
}

.control-product-modal[hidden],
.control-toast[hidden] {
  display: none;
}

.control-product-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.control-product-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 12, .76);
  backdrop-filter: blur(10px);
}

.control-product-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(102, 247, 255, .32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 16, 42, .94), rgba(5, 7, 20, .96));
  box-shadow: 0 30px 80px rgba(0,0,0,.62), 0 0 44px rgba(102, 247, 255, .18);
}

.control-product-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.control-product-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(8, 10, 22, .72);
  color: #fff;
  cursor: pointer;
}

.control-product-preview {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
}

.control-preview-thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(102, 247, 255, .32);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: #66f7ff;
  font-size: 34px;
}

.control-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.control-product-preview p {
  color: var(--muted);
  line-height: 1.55;
}

.control-news-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(102, 247, 255, .18);
  border-radius: 14px;
  background: rgba(4, 8, 20, .6);
}

.control-news-preview-image {
  min-height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(102, 247, 255, .26);
  border-radius: 10px;
  background: rgba(0, 0, 0, .32);
  color: #66f7ff;
}

.control-news-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.control-news-preview span {
  color: rgba(230, 246, 255, .62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.control-news-preview h3 {
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.12;
}

.control-news-preview p {
  margin: 0;
  color: rgba(230, 246, 255, .78);
  line-height: 1.45;
}

.is-locked {
  opacity: .72;
}

.control-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2300;
  width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(102, 247, 255, .28);
  border-radius: 12px;
  background: rgba(7, 10, 24, .92);
  color: #eaf8ff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(0,0,0,.44), 0 0 24px rgba(102, 247, 255, .16);
}

.control-toast[data-state="error"] {
  border-color: rgba(255, 90, 168, .42);
  color: #ffd4e6;
}

@keyframes donate-card-glow {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: .42;
  }
  50% {
    transform: translate3d(2%, -2%, 0);
    opacity: .62;
  }
}

.donate-purchase-history {
  position: relative;
  z-index: 8;
  width: min(100%, 1180px);
  margin: 8px auto 38px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
}

.donate-history-label {
  min-width: 0;
}

.donate-history-label span {
  color: #66f7ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.donate-history-label h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: .95;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(102, 247, 255, .28);
}

.donate-history-rail {
  min-width: 0;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.donate-history-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: donate-history-marquee 34s linear infinite;
}

.donate-history-track:hover {
  animation-play-state: paused;
}

.donate-history-marquee-item {
  flex: 0 0 auto;
  width: 138px;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.donate-history-thumb {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(102, 247, 255, .72);
  border-radius: 50%;
  color: #66f7ff;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, rgba(7, 16, 35, .9), rgba(24, 9, 46, .92));
  box-shadow:
    0 0 18px rgba(102, 247, 255, .24),
    0 0 34px rgba(196, 71, 255, .14);
}

.donate-history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-history-thumb i {
  font-size: 30px;
}

.donate-history-thumb.is-missing-image {
  border-style: dashed;
}

.donate-history-marquee-item strong {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(102, 247, 255, .16);
}

.donate-history-marquee-item span {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #8affdf;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donate-history-empty {
  color: rgba(238, 247, 255, .66);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .donate-purchase-history {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .donate-history-label h2 {
    font-size: 24px;
  }
}

@keyframes donate-history-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.donate-footer {
  position: relative;
  z-index: 8;
  width: 100%;
  margin-top: 34px;
  border-top: 1px solid rgba(126, 233, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(3, 9, 20, 0.9), rgba(12, 10, 34, 0.8), rgba(3, 9, 20, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(77, 198, 255, 0.14), transparent 30%);
  box-shadow: 0 -18px 42px rgba(77, 198, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.donate-footer-inner {
  min-height: 58px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 72px;
  color: rgba(232, 248, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.donate-footer-inner span {
  position: relative;
}

.donate-footer-inner span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7ee9ff;
  box-shadow: 0 0 12px rgba(126, 233, 255, 0.75);
  transform: translateY(-50%);
}

.krd-page-shell {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 24px;
  padding-top: 44px;
}

.krd-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: end;
}

.krd-hero-copy {
  max-width: 640px;
}

.krd-hero-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.page-leaderboard .inner-hero-brand {
  width: min(100%, 1120px);
}

.krd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.krd-card,
.krd-board {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 0 0 24px rgba(168,85,247,.1), var(--shadow);
  backdrop-filter: blur(12px);
}

.krd-card {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 20px;
}

.krd-card i {
  color: #8deeff;
  font-size: 22px;
  text-shadow: 0 0 18px rgba(126, 233, 255, .42);
}

.krd-card strong {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
}

.krd-card span,
.krd-updated {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.krd-board {
  display: grid;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
}

.krd-board .section-title {
  margin-bottom: 0;
}

.krd-view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(102, 247, 255, .24);
  border-radius: 10px;
  background: rgba(4, 7, 20, .34);
}

.krd-view-switch a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f0e9ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.krd-view-switch a.active,
.krd-view-switch a:hover {
  border-color: rgba(102, 247, 255, .58);
  background: rgba(102, 247, 255, .14);
  color: #fff;
  box-shadow: 0 0 20px rgba(102, 247, 255, .18);
}

.krd-view-switch i {
  color: #8deeff;
}

.krd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.krd-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(168,85,247,.62);
  border-radius: 8px;
  background: rgba(14,8,34,.74);
  color: #f0e9ff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.krd-tab:hover,
.krd-tab.active {
  transform: translateY(-3px);
  border-color: rgba(236, 205, 255, .9);
  box-shadow: 0 0 18px rgba(168,85,247,.34), inset 0 0 16px rgba(168,85,247,.12);
  filter: brightness(1.08);
}

.krd-tab i {
  color: #cf8cff;
}

.krd-table-panel {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(168,85,247,.22);
  border-radius: 10px;
  background: rgba(4, 7, 20, .42);
}

.krd-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.krd-table th,
.krd-table td {
  padding: 17px 18px;
  border-bottom: 1px solid rgba(168,85,247,.16);
  text-align: left;
  vertical-align: middle;
}

.krd-table th {
  color: #e8d6ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.krd-table td {
  color: #f8f5ff;
  font-size: 15px;
  font-weight: 700;
}

.krd-table tbody tr:last-child td {
  border-bottom: none;
}

.krd-table tbody tr:hover {
  background: rgba(126, 233, 255, .05);
}

.krd-rank {
  width: 64px;
  color: #8deeff;
  font-weight: 900;
}

.krd-table tbody tr:nth-child(1) .krd-rank,
.krd-table tbody tr:nth-child(2) .krd-rank,
.krd-table tbody tr:nth-child(3) .krd-rank {
  color: #f3deff;
  text-shadow: 0 0 16px rgba(179,92,255,.78);
}

.krd-player {
  color: #fff;
  font-weight: 900;
}

.krd-player:hover {
  color: #bdf6ff;
  text-shadow: 0 0 14px rgba(126, 233, 255, .38);
}

@media (max-width: 1280px) {
  .page { padding: 24px 24px 124px; }
  .page-donate .page { padding-bottom: 48px; }
  .header { grid-template-columns: 330px 1fr; }
  .header-right { display: none; }
  .hero { grid-template-columns: 1fr; }
  .page-home .features-section {
    padding-top: 110px;
  }
  .krd-hero-panel { grid-template-columns: 1fr; }
  .news-grid, .feature-grid, .pricing-grid, .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .home-news-showcase .news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .home-news-card-main {
    grid-row: auto;
  }
  .compact-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .forum-layout, .auth-grid, .account-layout { grid-template-columns: 1fr; }
  .account-profile-layout {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 24px;
  }
  .account-profile-panel,
  .account-dashboard {
    grid-template-columns: 1fr;
  }
  .account-panel-wide {
    grid-row: auto;
  }
  .account-balance-panel {
    justify-self: stretch;
    justify-items: start;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .ticket-group { grid-template-columns: 72px 1fr; }
  .ticket-action { grid-column: 1 / -1; }
  .stat { border-right: none; border-bottom: 1px solid rgba(168,85,247,.22); }
  .forum-ticket-title-line,
  .forum-ticket-view-head {
    grid-template-columns: 1fr;
  }
  .control-grid {
    grid-template-columns: 1fr;
  }

  .player-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .player-actions {
    width: 100%;
  }

  .page-donate .pricing-grid,
  .page-donate .donate-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-board {
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
  }

  .checkout-topbar {
    grid-template-columns: 1fr;
  }

  .checkout-links,
  .checkout-socials {
    justify-content: center;
  }

  .checkout-search {
    justify-self: center;
    width: min(100%, 420px);
  }

  .rules-topbar {
    top: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 920px) {
  .header { grid-template-columns: 1fr; gap: 12px; }
  .nav { justify-content: flex-start; flex-wrap: wrap; gap: 20px; }
  .hero-brand { width: min(100%, 440px); }
  .inner-hero-brand { width: min(100%, 440px); }
  .inner-hero h1 { font-size: 74px; }
  .page-donate .inner-hero-brand {
    width: min(100%, 520px);
  }
  .account-profile-layout {
    grid-template-columns: 1fr;
  }
  .account-title-block {
    justify-items: start;
  }
  .account-title-art {
    max-width: 380px;
  }

  .donate-modal-dialog {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
    overflow-y: auto;
  }

  .donate-modal-image {
    width: min(260px, 74vw);
    justify-self: center;
  }

  .page-donate .page {
    padding-left: 22px;
    padding-right: 22px;
    overflow-x: hidden;
  }

  .page-donate .pricing-grid,
  .page-donate .donate-section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-donate .pricing-card,
  .donate-manager-add-tile {
    width: 100%;
    max-width: 560px;
    min-height: 0;
    margin: 0 auto;
  }

  .page-donate .pricing-card {
    padding: 20px;
  }

  .page-donate .product-thumb {
    height: clamp(190px, 48vw, 280px);
  }

  .page-news .inner-hero {
    padding-top: 34px;
  }

  .news-board {
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 26px 22px;
  }

  .account-overview {
    padding-top: 26px;
  }

  .account-title-block {
    justify-items: center;
    text-align: center;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    width: min(100%, 430px);
    justify-self: center;
  }

}

@media (max-width: 720px) {
  .page { padding: 18px 18px 124px; }
  .page-donate .page {
    padding: 16px 14px 130px;
    max-width: 100vw;
    overflow-x: clip;
  }
  .header {
    gap: 14px;
  }
  .logo {
    justify-self: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .logo-mark { width: 58px; height: 58px; }
  .logo-wordmark img { width: min(180px, 58vw); }
  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    font-size: 12px;
    letter-spacing: 0;
  }
  .nav a {
    min-width: 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .nav a::after {
    left: 12px;
    right: 12px;
    bottom: 5px;
  }
  .hero h2 { font-size: 22px; }
  .inner-hero h1, .auth-card h1 { font-size: 56px; }
  .inner-hero {
    padding-top: 34px;
  }
  .auth-shell {
    min-height: auto;
    padding: 28px 0 44px;
  }
  .auth-card {
    padding: 30px 20px 28px;
    border-radius: 14px;
  }
  .auth-brand {
    width: min(210px, 72vw);
    margin-bottom: 18px;
  }
  .auth-form h3 {
    font-size: 28px;
  }
  .auth-field span {
    font-size: 11px;
  }
  .auth-form input {
    height: 52px;
    font-size: 15px;
  }
  .page-donate .inner-hero-brand {
    width: 100%;
    max-width: min(360px, calc(100vw - 28px));
    transform: none;
  }
  .page-donate .inner-hero-brand img {
    max-width: 100%;
  }
  .inner-hero p {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .krd-page-shell { padding-top: 26px; }
  .krd-card-grid { grid-template-columns: 1fr; }
  .krd-board { padding: 18px; }
  .krd-board .section-title { align-items: flex-start; flex-direction: column; }
  .krd-tabs { display: grid; grid-template-columns: 1fr; }
  .krd-tab { width: 100%; }
  .buttons { flex-direction: column; }
  .page-home .features-section {
    padding-top: 58px;
  }
  .btn, .btn-play, .btn-launcher, .ticket-action { width: 100%; }
  .news-grid, .feature-grid, .compact-grid, .pricing-grid, .dashboard-grid, .faq-grid, .stats { grid-template-columns: 1fr; }
  .home-news-card-compact {
    grid-template-columns: 1fr;
  }
  .home-news-thumb {
    min-height: 160px;
  }
  .home-news-card-main {
    min-height: 280px;
  }
  .home-news-card-main .home-news-content,
  .home-news-content {
    padding: 18px;
  }
  .features { grid-template-columns: 1fr; }
  .page-donate .pricing-grid,
  .page-donate .donate-section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .news-board {
    grid-template-columns: minmax(0, 420px);
    gap: 26px;
  }

  .account-profile-panel {
    justify-items: center;
    text-align: center;
    padding: 22px;
  }

  .account-avatar {
    width: 132px;
  }

  .account-avatar img {
    width: 100%;
    height: 100%;
  }

  .account-status-line {
    justify-content: center;
  }

  .account-balance-panel {
    width: 100%;
    justify-items: center;
    min-height: 126px;
    min-width: 0;
    max-width: none;
  }

  .account-panel {
    padding: 18px;
  }

  .account-panel-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .account-avatar-cropper-dialog {
    padding: 18px;
  }

  .account-cropper-actions {
    grid-template-columns: 1fr;
  }

  .page-checkout .page {
    padding: 18px 16px 42px;
  }

  .checkout-topbar {
    gap: 14px;
  }

  .checkout-links {
    flex-wrap: wrap;
  }

  .page-rules .page {
    padding: 24px 16px 48px;
  }

  .rules-topbar {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
    scrollbar-width: none;
  }

  .rules-topbar::-webkit-scrollbar {
    display: none;
  }

  .rules-mark-avatar {
    width: 40px;
    height: 40px;
  }

  .rules-mark-word {
    display: block;
  }

  .rules-mark-word img {
    width: 112px;
  }

  .rules-toplinks {
    flex-wrap: nowrap;
  }

  .rules-toplinks a {
    min-height: 46px;
    padding: 0 13px;
    font-size: 14px;
    white-space: nowrap;
  }

  .rules-hero {
    width: min(354px, calc(100vw - 36px));
    max-width: min(354px, calc(100vw - 36px));
    margin-left: 0;
    margin-right: 0;
    margin-top: 136px;
  }

  .rules-hero h1 {
    font-size: 28px;
    white-space: normal;
  }

  .rules-hero p {
    font-size: 17px;
  }

  .rules-shell {
    width: min(354px, calc(100vw - 36px));
    max-width: min(354px, calc(100vw - 36px));
    margin-left: 0;
    margin-right: 0;
    padding: 0 2px 16px;
  }

  .rules-section {
    padding: 22px 0;
  }

  .rules-section h2 {
    font-size: 36px;
  }

  .rules-section h3 {
    font-size: 25px;
  }

  .rules-section p,
  .rules-section li {
    font-size: 17px;
  }

  .checkout-links a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
  }

  .checkout-summary {
    width: 100%;
  }

  .checkout-breadcrumbs {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    margin-bottom: 26px;
  }

  .checkout-breadcrumbs::before,
  .checkout-breadcrumbs::after,
  .checkout-breadcrumbs span {
    display: none;
  }

  .checkout-main h1 {
    font-size: 32px;
  }

  .checkout-help h2 {
    font-size: 28px;
  }

  .news-post-image {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .news-post-card h2 {
    min-height: 0;
    font-size: 20px;
  }

  .news-post-card p {
    font-size: 16px;
  }

  .news-post-lead,
  .news-post-card > p:not(.news-post-lead) {
    min-height: 0;
  }

  .news-post-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .donate-catalog {
    gap: 30px;
  }

  .donate-category-nav {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 22px;
  }

  .donate-category-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-product-section {
    gap: 18px;
  }

  .donate-category-title {
    width: 100%;
    max-width: 100%;
    padding: 0 12px 9px;
    font-size: clamp(26px, 8vw, 32px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .donate-category-empty {
    flex-wrap: wrap;
    padding: 20px 14px;
    font-size: 14px;
  }

  .donate-category-empty span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-donate .pricing-card {
    gap: 12px;
    padding: 18px;
    border-radius: 12px;
  }

  .page-donate .pricing-card h3 {
    font-size: clamp(23px, 8vw, 31px);
  }

  .page-donate .product-thumb {
    height: clamp(210px, 62vw, 300px);
  }

  .page-donate .donate-card-copy {
    min-height: 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .page-donate .donate-price {
    min-height: 48px;
    font-size: 30px;
  }

  .page-donate .donate-add-button {
    min-height: 52px;
  }

  .donate-manager-add-tile {
    min-height: 180px;
  }

  .forum-ticket-panel {
    padding: 18px;
  }

  .forum-ticket-textarea {
    min-height: 220px;
  }

  .forum-ticket-form-actions,
  .forum-ticket-toolbar,
  .forum-back-button,
  .forum-ticket-edit-button,
  .forum-ticket-submit {
    width: 100%;
  }

  .cart-panel {
    right: 18px;
    bottom: 92px;
    top: auto;
    width: min(100vw - 36px, 360px);
    max-height: min(62vh, 520px);
    padding: 18px;
  }

  .cart-toggle {
    right: 14px;
    bottom: 14px;
    top: auto;
    min-width: 0;
    width: min(100vw - 28px, 260px);
  }

  .site-announcement {
    grid-template-columns: 42px 1fr 34px;
    gap: 10px;
    padding: 8px 10px;
  }

  .site-announcement a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-announcement button {
    grid-column: 3;
    grid-row: 1;
  }

  .site-announcement strong {
    justify-self: start;
    text-align: left;
    font-size: 14px;
  }

  .control-head {
    align-items: stretch;
    flex-direction: column;
  }

  .control-role-pill {
    min-width: 0;
  }

  .control-panel {
    padding: 18px;
  }

  .control-panel-head {
    grid-template-columns: 1fr;
  }

  .control-form-split,
  .control-inline-fields,
  .control-product-preview,
  .control-news-preview {
    grid-template-columns: 1fr;
  }

  .donate-category-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .donate-category-heading h2 {
    font-size: 22px;
  }

  .donate-modal {
    padding: 16px;
  }

  .donate-modal-dialog {
    width: calc(100vw - 24px);
    min-height: calc(100vh - 24px);
    padding: 22px 16px;
  }

  .donate-modal-content h2 {
    font-size: 32px;
  }

  .donate-modal-description {
    min-height: 220px;
    padding: 18px;
  }

  .donate-modal-description p {
    font-size: 15px;
  }

  .donate-footer-inner {
    min-height: 76px;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
    text-align: center;
  }

  .donate-footer-inner span:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page,
  .page-donate .page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .header,
  .inner-hero,
  .digital-service-info,
  .donate-layout,
  .donate-catalog,
  .donate-category-nav,
  .donate-product-section,
  .page-donate .pricing-grid,
  .page-donate .donate-section-grid,
  .page-donate .pricing-card,
  .donate-category-empty,
  .donate-footer {
    width: 100%;
    max-width: calc(100vw - 28px);
    min-width: 0;
  }

  .digital-service-info {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0;
  }

  .digital-service-info-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .digital-service-info-delivery,
  .digital-service-info-links {
    grid-column: 1;
  }

  .page-donate .header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 12px;
  }

  .page-donate .logo {
    justify-self: start;
    width: auto;
    gap: 6px;
  }

  .page-donate .logo-mark {
    width: 34px;
    height: 34px;
  }

  .page-donate .logo-wordmark img {
    width: 98px;
  }

  .page-donate .nav {
    display: none;
  }

  .page-donate .header-right {
    display: flex;
    gap: 8px;
  }

  .page-donate .header-right .account {
    display: none;
  }

  .page-donate .social {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .page-donate .inner-hero {
    padding-top: 14px;
    margin-bottom: 22px;
  }

  .page-donate .tag {
    margin-bottom: 14px;
    padding: 8px 14px;
    font-size: 8px;
    border-radius: 5px;
  }

  .page-donate .inner-hero-brand {
    max-width: 225px;
    margin-bottom: 12px;
  }

  .page-donate .inner-hero p {
    max-width: 260px;
    font-size: 9px;
    line-height: 1.45;
  }

  .donate-category-title {
    display: block;
    max-width: calc(100vw - 34px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(18px, 5.6vw, 22px);
    line-height: 1.12;
    text-wrap: balance;
  }

  .donate-category-title::after {
    max-width: 72vw;
  }

  .donate-category-empty {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    justify-content: stretch;
    min-height: 48px;
    padding: 12px 14px;
    text-align: left;
    font-size: 9px;
  }

  .donate-category-empty span,
  .page-donate .donate-card-copy,
  .inner-hero p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .page-donate .pricing-card h3 {
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .page-donate .pricing-grid,
  .page-donate .donate-section-grid {
    width: min(100%, 340px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-donate .pricing-card {
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    min-height: 0;
  }

  .page-donate .pricing-card::before {
    height: 2px;
  }

  .page-donate .pricing-card:hover {
    transform: translateY(-3px);
  }

  .page-donate .pricing-card h3 {
    min-height: 26px;
    margin: 0;
    font-size: clamp(9px, 2.8vw, 11px);
    line-height: 1.1;
  }

  .page-donate .product-thumb {
    height: clamp(78px, 25vw, 98px);
    border-radius: 7px;
  }

  .page-donate .donate-card-copy {
    min-height: 42px;
    display: -webkit-box;
    overflow: hidden;
    color: rgba(240, 235, 255, .86);
    font-size: 7.5px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .page-donate .donate-price {
    min-height: 20px;
    border-radius: 5px;
    font-size: 12px;
  }

  .page-donate .donate-add-button {
    min-height: 23px;
    border-radius: 5px;
    font-size: 7.5px;
    gap: 4px;
  }

  .page-donate .donate-add-button i {
    font-size: 8px;
  }

  .donate-manager-add-tile {
    min-height: 150px;
    border-radius: 8px;
    font-size: 10px;
  }

  .donate-empty-state {
    width: min(100%, 340px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .cart-toggle {
    max-width: 210px;
    min-height: 48px;
    font-size: 13px;
  }
}

[hidden] {
  display: none !important;
}

.site-footer {
  position: relative;
  z-index: 5;
  width: min(100% - 64px, 1480px);
  margin: 72px auto 28px;
  padding: 18px 20px;
  border: 1px solid rgba(190, 112, 255, .24);
  border-radius: 8px;
  background: rgba(8, 10, 24, .72);
  box-shadow: 0 0 26px rgba(176, 65, 255, .14), inset 0 0 18px rgba(106, 196, 255, .06);
  backdrop-filter: blur(12px);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.site-footer-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 104, 205, .38);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(78, 24, 98, .54);
}

.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer-links a {
  color: rgba(244, 237, 255, .82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer-copy {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(244, 237, 255, .72);
  font-size: 12px;
}

.site-footer-copy small {
  color: rgba(244, 237, 255, .58);
}

.site-footer-fk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
}

.site-footer-fk img {
  display: block;
  max-width: 172px;
  height: auto;
}

.site-footer-fk-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(102, 247, 255, .42);
  border-radius: 8px;
  color: #e9fbff;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(12, 18, 34, .78);
  box-shadow: 0 0 18px rgba(102, 247, 255, .14);
}

.site-footer-fk img:not([hidden]) + .site-footer-fk-fallback {
  display: none;
}

.play-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.play-modal[hidden] {
  display: none !important;
}

.play-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 14, .72);
  backdrop-filter: blur(8px);
}

.play-modal-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 42px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(99, 244, 255, .24);
  border-radius: 18px;
  background: rgba(14, 8, 34, .94);
  box-shadow: 0 0 46px rgba(87, 238, 255, .18), 0 0 70px rgba(183, 70, 255, .18);
}

.play-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.play-kicker {
  display: block;
  margin-bottom: 10px;
  color: #62f1ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.play-modal-dialog h2 {
  margin: 0 54px 20px 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
}

.play-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.play-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(8, 5, 22, .52);
}

.play-step-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #071220;
  font-weight: 950;
  font-size: 20px;
  background: linear-gradient(135deg, #74ffde, #33d6c9);
  box-shadow: 0 0 22px rgba(89, 245, 225, .42);
}

.play-step-body h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
}

.play-step-body p {
  margin: 0 0 14px;
  color: rgba(238, 234, 255, .76);
  line-height: 1.45;
}

.play-step-btn {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(99, 244, 255, .34);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: rgba(10, 18, 34, .72);
  cursor: pointer;
}

.play-step-btn:disabled {
  opacity: .72;
  cursor: wait;
}

.play-admin-note {
  display: block;
  color: rgba(255, 215, 122, .9);
  font-size: 13px;
  font-weight: 800;
}

body.play-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-footer {
    width: min(100% - 28px, 1480px);
    margin-top: 48px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer-copy {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== Админ: управление товарами ===== */
.products-admin-list { display: grid; gap: 10px; max-height: 540px; overflow-y: auto; }
.padmin-row { padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(0,0,0,.24); display: grid; gap: 10px; }
.padmin-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.padmin-head strong { color: #fff; }
.padmin-id { color: rgba(232,241,255,.45); font-size: 12px; }
.padmin-active { margin-left: auto; color: rgba(232,241,255,.7); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.padmin-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.padmin-fields label { display: grid; gap: 4px; font-size: 12px; color: rgba(232,241,255,.6); }
.padmin-fields input, .padmin-fields select { padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(102,247,255,.26); background: rgba(2,8,20,.6); color: #fff; font-size: 14px; }
.padmin-fields input[data-f="price"] { width: 90px; }
.padmin-val { flex: 1; min-width: 220px; }
.padmin-val input { width: 100%; }
.padmin-fields button[data-save] { padding: 9px 18px; border-radius: 9px; font-weight: 800; cursor: pointer; border: 1px solid rgba(54,224,196,.45); background: rgba(13,9,34,.7); color: #7af6d0; }
.padmin-fields button[data-save]:hover { transform: translateY(-1px); }
.padmin-hint { font-size: 13px; min-height: 1em; }
.padmin-hint[data-ok="1"] { color: #7af6d0; }
.padmin-hint[data-ok="0"] { color: #ff9a9a; }
.padmin-row.padmin-summary { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.padmin-row.padmin-summary > div { min-width: 0; display: grid; gap: 5px; }
.padmin-product-meta { overflow: hidden; color: rgba(222, 234, 255, .68); font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.padmin-edit-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(102, 247, 255, .42); border-radius: 7px; background: rgba(8, 31, 51, .72); color: #baf9ff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.padmin-edit-button:hover { transform: translateY(-1px); border-color: #66f7ff; background: rgba(19, 92, 111, .52); }
@media (max-width: 620px) { .padmin-row.padmin-summary { grid-template-columns: 1fr; } .padmin-edit-button { width: 100%; } }

.payment-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.payment-logo-grid span {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(102,247,255,.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(7,14,32,.62);
  font-weight: 900;
}

.payment-logo-grid i {
  color: #66f7ff;
  font-size: 24px;
}

.legal-requisites {
  border-color: rgba(255, 205, 102, .35);
  box-shadow: 0 0 28px rgba(255, 205, 102, .08);
}

.legal-requisites > p:first-of-type {
  color: #ffd989;
}

/* Mobile account controls: keep the ?????? ??????? button visible when header-right collapses. */
@media (max-width: 1280px) {
  .header-right.has-account-dock,
  .header-right:has(.header-account-dock:not([hidden])) {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .header-right.has-account-dock > .social,
  .header-right.has-account-dock > .account,
  .header-right:has(.header-account-dock:not([hidden])) > .social,
  .header-right:has(.header-account-dock:not([hidden])) > .account {
    display: none;
  }

  .header-account-dock:not([hidden]) {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .header-right.has-account-dock,
  .header-right:has(.header-account-dock:not([hidden])) {
    width: 100%;
    justify-content: center;
    grid-column: 1 / -1;
  }

  .header-account-dock {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    gap: 7px;
    margin-left: 0;
  }

  .header-account-balance {
    min-width: 118px;
    height: 42px;
    gap: 7px;
    padding: 0 4px 0 10px;
    border-radius: 15px;
  }

  .header-account-balance strong {
    font-size: 15px;
  }

  .header-balance-add {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .header-account-chip {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
  }

  .header-account-chip img {
    width: 38px;
    height: 38px;
  }

  .header-account-chip span {
    display: none;
  }

  .header-account-logout {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

/* Public player profile */
@media (max-width: 720px) {
  .control-section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-section-nav button { justify-content: flex-start; padding: 0 10px; font-size: 12px; }
}

.player-profile-wrap{max-width:1120px;margin:0 auto;padding:48px 24px 80px}.player-profile-back{display:inline-flex;align-items:center;gap:9px;color:#cbd4f6;text-decoration:none;margin-bottom:20px}.player-profile-back:hover{color:#77f5ea}.player-profile-loading,.player-profile-error{padding:58px 24px;text-align:center;color:#dbe2ff;border:1px solid rgba(126,103,255,.3);border-radius:24px;background:rgba(16,12,43,.78);box-shadow:0 20px 60px rgba(0,0,0,.25)}.player-profile-loading i{margin-right:8px}.player-profile-error i{font-size:30px;color:#ff9aaf}.player-profile-error h1{margin:14px 0 8px}.player-profile-error .btn{margin-top:18px}.player-profile-card{overflow:hidden;border:1px solid rgba(122,106,255,.38);border-radius:28px;background:linear-gradient(140deg,rgba(30,22,75,.9),rgba(9,13,38,.9));box-shadow:0 25px 75px rgba(0,0,0,.34)}.player-profile-hero{display:flex;align-items:center;gap:24px;padding:38px;background:radial-gradient(circle at 85% 0,rgba(66,225,216,.18),transparent 40%),linear-gradient(110deg,rgba(92,62,204,.32),rgba(20,19,63,.32))}.player-profile-avatar{width:126px;height:126px;flex:0 0 126px;border-radius:28px;padding:4px;background:linear-gradient(135deg,#72f1e9,#8b6cff);box-shadow:0 12px 35px rgba(73,226,218,.22)}.player-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:24px;background:#17173a}.player-profile-title{min-width:0;flex:1}.player-profile-title .tag{display:inline-block}.player-profile-title h1{margin:10px 0 5px;font-size:clamp(28px,4vw,46px);word-break:break-word}.player-profile-title p{margin:0;color:#b7c1e8}.player-profile-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.player-profile-tags span{padding:7px 11px;border-radius:999px;background:rgba(11,16,53,.56);color:#d8e3ff;font-size:13px}.player-profile-level{text-align:right;min-width:110px}.player-profile-level span,.player-profile-level small{display:block;color:#b9c3e8}.player-profile-level strong{display:block;margin:3px 0;font-size:48px;color:#6ff5e7}.player-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(134,142,255,.2);border-bottom:1px solid rgba(134,142,255,.2)}.player-profile-stats>div{min-height:130px;padding:25px;border-right:1px solid rgba(134,142,255,.2);display:flex;flex-direction:column;gap:8px}.player-profile-stats>div:last-child{border-right:0}.player-profile-stats i{color:#70eee4;font-size:18px}.player-profile-stats span{color:#aeb9df;font-size:13px}.player-profile-stats strong{font-size:25px;color:#fff}.player-profile-details{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(134,142,255,.2)}.player-profile-details section{padding:30px;background:rgba(11,15,43,.68)}.player-profile-details h2{margin:0 0 22px;font-size:20px}.player-profile-details h2 i{color:#73f4e8;margin-right:9px}.player-characteristics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.player-characteristics div{padding:15px 12px;border-radius:14px;background:rgba(108,88,214,.14)}.player-characteristics span{display:block;color:#aeb9df;font-size:13px}.player-characteristics b{display:block;margin-top:7px;font-size:24px;color:#ff9db4}.player-profile-list{margin:0}.player-profile-list div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid rgba(134,142,255,.14)}.player-profile-list div:last-child{border-bottom:0}.player-profile-list dt{color:#aeb9df}.player-profile-list dd{margin:0;text-align:right;color:#fff;font-weight:700}@media(max-width:760px){.player-profile-wrap{padding:32px 16px 60px}.player-profile-hero{align-items:flex-start;flex-wrap:wrap;padding:25px}.player-profile-avatar{width:90px;height:90px;flex-basis:90px;border-radius:22px}.player-profile-avatar img{border-radius:18px}.player-profile-level{text-align:left;margin-left:114px;margin-top:-54px;width:calc(100% - 114px)}.player-profile-level strong{font-size:34px}.player-profile-stats{grid-template-columns:1fr 1fr}.player-profile-stats>div:nth-child(2){border-right:0}.player-profile-stats>div{min-height:105px;padding:18px}.player-profile-details{grid-template-columns:1fr}.player-characteristics{gap:8px}.player-profile-details section{padding:23px 18px}}
/* Registration consent */
.auth-consent{display:flex;align-items:flex-start;gap:10px;margin:2px 0 14px;color:#bfc9eb;font-size:12px;line-height:1.45}.auth-consent input{width:16px;height:16px;flex:0 0 16px;margin:1px 0 0;accent-color:#75efe5}.auth-consent a{color:#76eee3;text-decoration:underline;text-underline-offset:2px}.auth-consent a:hover{color:#fff}

/* News cards: override the legacy four-column rule declared above. */
@media (min-width: 921px) {
  .page-news .news-board {
    grid-template-columns: repeat(auto-fit, minmax(420px, 440px));
    gap: 28px;
  }
}
.page-forum-board .forum-support-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1180px){.page-forum-board .forum-support-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.page-forum-board .forum-support-shortcuts{grid-template-columns:1fr}}

/* Keep the latest news readable instead of spreading small cards across four columns. */
@media (min-width: 921px) {
  .page-news .news-board {
    grid-template-columns: repeat(auto-fit, minmax(480px, 520px));
    gap: 28px;
  }
}

/* Audit improvements: onboarding, accessibility, mobile and honest empty states */
:focus-visible{outline:3px solid #63dbea!important;outline-offset:3px}
.start-journey,.trust-section,.donate-principles,.rules-summary{position:relative;z-index:2;width:min(1180px,calc(100% - 40px));margin:34px auto;padding:28px;border:1px solid rgba(89,211,231,.24);border-radius:22px;background:rgba(7,12,30,.88);box-sizing:border-box}.section-kicker{display:block;color:#5ed9e9;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.journey-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.journey-steps>a,.journey-steps>button{min-height:112px;display:flex;align-items:center;gap:14px;padding:18px;text-align:left;color:#fff;border:1px solid rgba(108,129,177,.32);border-radius:16px;background:linear-gradient(145deg,rgba(18,29,57,.95),rgba(9,14,34,.95));text-decoration:none;font:inherit;cursor:pointer}.journey-steps b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#58d6e7;color:#07101d}.journey-steps i{font-size:24px;color:#9d73ff}.journey-steps span{display:grid;gap:5px}.journey-steps small{color:#aeb9d0;line-height:1.45}.server-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.server-facts span,.server-facts a{display:flex;gap:8px;align-items:center;padding:10px 13px;border-radius:12px;background:#0b1630;color:#c9d6eb;text-decoration:none}.server-facts i{color:#5ed9e9}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-grid article{padding:20px;border-radius:16px;background:#0b142b;border:1px solid #223457}.trust-grid i{font-size:25px;color:#9b74ff}.trust-grid strong{display:block;margin:12px 0 7px}.trust-grid p{margin:0;color:#aeb9d0;line-height:1.5}.mobile-action-bar{display:none}
.donate-principles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.donate-principles article{display:flex;gap:12px;padding:15px;border-radius:14px;background:#0b142b}.donate-principles i{color:#f56eb3;font-size:21px}.donate-principles div{display:grid;gap:4px}.donate-principles span{color:#aeb9d0;font-size:13px;line-height:1.4}.krd-empty{display:grid;justify-items:center;gap:8px;padding:30px 12px}.krd-empty span{color:#aeb9d0}.krd-empty a,.krd-empty button{padding:10px 14px;border:1px solid #3b7790;border-radius:10px;background:#10223b;color:#fff;text-decoration:none}
.rules-summary{display:grid;gap:16px}.rules-summary h2{margin:4px 0}.rules-summary>div>span{color:#5ed9e9;font-weight:800}.rules-summary ul{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px;margin:0;padding-left:22px}.rules-summary li{line-height:1.55}.rules-summary-actions{display:flex;gap:10px}.rules-summary-actions a,.rules-outline a{padding:10px 13px;border:1px solid #334b72;border-radius:10px;color:#fff;text-decoration:none;background:#0c1730}.rules-outline{position:sticky;top:10px;z-index:8;display:flex;flex-wrap:wrap;gap:8px;width:min(1180px,calc(100% - 40px));margin:0 auto 20px;padding:10px;border-radius:14px;background:rgba(5,9,24,.94);backdrop-filter:blur(14px)}
@media(max-width:900px){.journey-steps,.trust-grid,.donate-principles{grid-template-columns:1fr 1fr}.rules-summary ul{grid-template-columns:1fr}.krd-table thead{display:none}.krd-table,.krd-table tbody,.krd-table tr,.krd-table td{display:block;width:100%;box-sizing:border-box}.krd-table tr{margin:12px 0;padding:12px;border:1px solid #24375d;border-radius:15px;background:#091329}.krd-table td{display:flex;justify-content:space-between;gap:14px;padding:8px!important;border:0!important}.krd-table td:not([colspan])::before{content:attr(data-label);color:#8fa4c5;font-weight:700}}
@media(max-width:620px){.start-journey,.trust-section,.donate-principles,.rules-summary{width:calc(100% - 20px);padding:18px}.journey-steps,.trust-grid,.donate-principles{grid-template-columns:1fr}.mobile-action-bar{position:fixed;z-index:90;display:grid;grid-template-columns:repeat(3,1fr);left:8px;right:8px;bottom:8px;padding:7px;border:1px solid #314769;border-radius:16px;background:rgba(5,10,25,.96);backdrop-filter:blur(16px)}.mobile-action-bar a,.mobile-action-bar button{display:grid;justify-items:center;gap:4px;padding:8px;border:0;background:none;color:#fff;text-decoration:none;font:inherit;font-size:11px}.mobile-action-bar i{font-size:17px;color:#5ed9e9}.page-home{padding-bottom:78px}.rules-outline{width:calc(100% - 20px);overflow:auto;flex-wrap:nowrap}.rules-outline a{white-space:nowrap;min-height:44px}.btn,button,a.account{min-height:44px}}

/* Local news reference layout */
.page-news .background {
  opacity: .72;
  filter: saturate(.72) contrast(1.08) brightness(.34);
}

.page-news .bg-shadow {
  background:
    linear-gradient(180deg, rgba(3, 5, 16, .36), rgba(3, 6, 18, .82) 62%, rgba(3, 6, 18, .96)),
    linear-gradient(90deg, rgba(2, 5, 16, .82), rgba(4, 7, 20, .3) 52%, rgba(3, 6, 18, .68));
}

.news-reference-hero,
.page-news .news-board,
.news-benefits {
  width: min(100%, 1450px);
  margin-right: auto;
  margin-left: auto;
}

.news-reference-hero {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.45fr);
  gap: 36px;
  align-items: stretch;
  padding: 42px 0 22px;
}

.news-reference-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.news-reference-intro h1 {
  margin: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.news-reference-intro h1 span {
  color: #d699ff;
}

.news-reference-intro > p {
  max-width: 460px;
  margin: 18px 0 30px;
  color: rgba(235, 239, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.news-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(119, 137, 183, .3);
  border-radius: 8px;
  background: rgba(5, 9, 24, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.news-summary-stats > div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(119, 137, 183, .2);
}

.news-summary-stats > div:last-child {
  border-right: 0;
}

.news-summary-stats i {
  grid-row: 1 / 3;
  color: #a56bff;
  font-size: 23px;
}

.news-summary-stats strong {
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.news-summary-stats span {
  color: rgba(218, 225, 245, .65);
  font-size: 11px;
  line-height: 1.25;
}

.news-featured-card {
  position: relative;
  min-width: 0;
  min-height: 294px;
  overflow: hidden;
  border: 1px solid rgba(205, 63, 255, .78);
  border-radius: 8px;
  background: #080c1b;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}

.news-featured-media,
.news-featured-media img,
.news-featured-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-featured-media img {
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.news-featured-fallback,
.news-grid-card-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(12, 16, 34, .96);
  color: rgba(196, 145, 235, .76);
}

.news-featured-fallback {
  font-size: 58px;
}

.news-grid-card-fallback {
  font-size: 38px;
}

.news-featured-card:hover .news-featured-media img {
  transform: scale(1.025);
}

.news-featured-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 20, .96) 0%, rgba(8, 8, 25, .82) 37%, rgba(7, 8, 22, .18) 72%),
    linear-gradient(0deg, rgba(5, 7, 18, .54), transparent 55%);
}

.news-featured-content {
  position: relative;
  z-index: 2;
  width: min(58%, 540px);
  min-height: 294px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 30px;
}

.news-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(189, 83, 255, .25);
  border-radius: 6px;
  background: rgba(96, 27, 146, .38);
  color: #f0d9ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-featured-label i {
  color: #c36aff;
}

.news-featured-content h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.news-featured-content > p {
  max-width: 470px;
  max-height: 2.96em;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(235, 239, 255, .82);
  font-size: 15px;
  line-height: 1.48;
}

.news-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
  color: rgba(226, 232, 252, .78);
  font-size: 13px;
}

.news-featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-featured-meta .fa-heart {
  color: #ff4f79;
}

.news-featured-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid #c140ff;
  border-radius: 7px;
  color: #f5dfff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: background .2s ease, transform .2s ease;
}

.news-featured-action:hover {
  transform: translateY(-2px);
  background: rgba(174, 52, 232, .16);
}

.news-featured-loading,
.news-featured-empty {
  min-height: 294px;
  display: grid;
  place-items: center;
  color: rgba(229, 235, 255, .66);
}

.news-featured-empty {
  gap: 10px;
  align-content: center;
}

.news-featured-empty i {
  color: #b265ff;
  font-size: 28px;
}

.page-news .news-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 18px;
  padding: 0 0 20px;
}

.news-grid-card {
  --news-accent: #2898ff;
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(94, 116, 164, .4);
  border-radius: 8px;
  background: rgba(5, 10, 25, .88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}

.news-grid-card[data-accent="green"] { --news-accent: #3edb68; }
.news-grid-card[data-accent="orange"] { --news-accent: #ff9f22; }
.news-grid-card[data-accent="pink"] { --news-accent: #ff426d; }

.news-grid-card-media {
  position: relative;
  aspect-ratio: 1.86 / 1;
  overflow: hidden;
  background: #0a1022;
}

.news-grid-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(5, 10, 25, .72), transparent);
}

.news-grid-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}

.news-grid-card:hover .news-grid-card-media img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.news-grid-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.news-grid-card h2 {
  min-height: 48px;
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.news-grid-card p {
  min-height: 66px;
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 14px;
  color: rgba(225, 231, 249, .76);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-grid-card-date,
.news-grid-card-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgba(220, 227, 248, .72);
  font-size: 12px;
}

.news-grid-card-date {
  padding-top: 2px;
}

.news-grid-card-metrics {
  justify-content: space-between;
  margin-top: 14px;
}

.news-grid-card-metrics span {
  font-size: 18px;
  font-weight: 800;
}

.news-grid-card-date span,
.news-grid-card-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.news-grid-card-metrics .fa-heart {
  color: #ff4f79;
}

.news-grid-card-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--news-accent), transparent 42%);
  border-radius: 7px;
  color: var(--news-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: background .2s ease, transform .2s ease;
}

.news-grid-card-action:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--news-accent), transparent 90%);
}

.news-grid-empty {
  grid-column: 1 / -1;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(94, 116, 164, .34);
  border-radius: 8px;
  background: rgba(5, 10, 25, .72);
  color: rgba(225, 231, 249, .74);
}

.news-grid-empty i {
  color: #a85cff;
  font-size: 28px;
}

.news-grid-empty div {
  display: grid;
  gap: 5px;
}

.news-grid-empty strong {
  color: #fff;
}

.news-grid-loading {
  min-height: 320px;
}

.news-benefits {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(94, 116, 164, .34);
  border-radius: 8px;
  background: rgba(5, 10, 25, .72);
}

.news-benefits > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 18px 28px;
  border-right: 1px solid rgba(94, 116, 164, .2);
}

.news-benefits > div:last-child {
  border-right: 0;
}

.news-benefits i {
  color: #a957ff;
  font-size: 29px;
}

.news-benefits > div:nth-child(2) i { color: #1dd6df; }
.news-benefits > div:nth-child(3) i { color: #ffad22; }

.news-benefits span {
  color: rgba(225, 231, 249, .7);
  font-size: 12px;
  line-height: 1.5;
}

.news-benefits strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
}

.page-news .news-delete-button {
  z-index: 6;
}

@media (max-width: 1180px) {
  .news-reference-hero {
    grid-template-columns: 1fr;
  }

  .news-reference-intro {
    max-width: 680px;
  }

  .page-news .news-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-benefits > div:nth-child(2) {
    border-right: 0;
  }

  .news-benefits > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(94, 116, 164, .2);
  }
}

@media (max-width: 680px) {
  .news-reference-hero {
    gap: 22px;
    padding-top: 30px;
  }

  .news-reference-intro h1 {
    font-size: 36px;
  }

  .news-reference-intro > p {
    margin: 14px 0 22px;
    font-size: 16px;
  }

  .news-summary-stats {
    grid-template-columns: 1fr;
  }

  .news-summary-stats > div {
    border-right: 0;
    border-bottom: 1px solid rgba(119, 137, 183, .2);
  }

  .news-summary-stats > div:last-child {
    border-bottom: 0;
  }

  .news-featured-card,
  .news-featured-content {
    min-height: 430px;
  }

  .news-featured-shade {
    background: linear-gradient(0deg, rgba(6, 8, 22, .98) 0%, rgba(6, 8, 22, .82) 52%, rgba(6, 8, 22, .12) 100%);
  }

  .news-featured-content {
    width: 100%;
    justify-content: flex-end;
    padding: 22px;
  }

  .news-featured-content h2 {
    font-size: 27px;
  }

  .page-news .news-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-grid-card h2,
  .news-grid-card p {
    min-height: 0;
  }

  .news-benefits {
    grid-template-columns: 1fr;
  }

  .news-benefits > div {
    border-right: 0;
    border-bottom: 1px solid rgba(94, 116, 164, .2);
  }

  .news-benefits > div:last-child {
    border-bottom: 0;
  }
}

/* Desktop override: latest-news cards are one and a half times wider. */
@media (min-width: 921px) {
  .page-news .news-board {
    grid-template-columns: repeat(auto-fit, minmax(420px, 440px));
    gap: 28px;
  }
}
/* Management overview */
.control-overview-dashboard{display:grid;gap:16px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.control-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px}.control-overview-kicker{color:#9b78ff;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.control-overview-toolbar h2{margin:4px 0 2px;font-size:24px}.control-overview-toolbar p{margin:0;color:var(--text-muted,#94a0b8);font-size:13px}.control-overview-actions{display:flex;align-items:center;gap:10px}.control-overview-actions button,.control-date-range{min-height:42px;border:1px solid rgba(133,155,202,.18);border-radius:9px;background:rgba(7,18,39,.72);color:var(--text,#eef3ff);padding:0 14px}.control-overview-actions button{cursor:pointer}.control-overview-refresh{width:42px;padding:0!important}.control-date-range{display:flex;align-items:center;gap:8px}.control-date-range input{width:116px;border:0;background:transparent;color:inherit;color-scheme:dark;font:inherit}
.control-overview-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.overview-kpi,.overview-panel{border:1px solid rgba(127,151,197,.16);background:linear-gradient(145deg,rgba(11,25,49,.94),rgba(7,18,37,.9));box-shadow:0 12px 35px rgba(0,0,0,.16)}.overview-kpi{display:flex;align-items:flex-start;gap:13px;min-height:112px;padding:18px;border-radius:10px}.overview-kpi>i,.overview-metrics article>i{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:rgba(139,92,246,.15);color:#a878ff;font-size:18px}.overview-kpi div{min-width:0}.overview-kpi span{display:block;color:#cbd4e7;font-size:13px}.overview-kpi em{padding:2px 6px;border:1px solid rgba(255,255,255,.12);border-radius:5px;font-size:9px;font-style:normal}.overview-kpi strong{display:block;margin:5px 0;font-size:27px;line-height:1}.overview-kpi small{color:#8e9bb3;font-size:11px}.overview-kpi small b{color:#53df99}.overview-kpi.is-green>i{background:rgba(41,211,133,.12);color:#39dc91}.overview-kpi.is-blue>i{background:rgba(50,138,255,.14);color:#49a0ff}.overview-kpi.is-violet>i{background:rgba(168,85,247,.14);color:#b169ff}.overview-kpi.is-cyan>i{background:rgba(23,193,224,.13);color:#28cee7}
.control-overview-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.overview-panel{border-radius:10px;padding:16px}.overview-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.overview-panel h3{margin:0;color:#f3f6ff;font-size:15px}.overview-panel header span{display:block;margin-top:4px;color:#78869f;font-size:11px}.overview-periods{display:flex;border:1px solid rgba(120,145,190,.14);border-radius:7px;overflow:hidden}.overview-periods button{border:0;border-right:1px solid rgba(120,145,190,.12);background:transparent;color:#aab5ca;padding:8px 11px;font-size:11px;cursor:pointer}.overview-periods button:last-child{border:0}.overview-periods button.active{background:linear-gradient(135deg,#50308e,#382274);color:#fff}.overview-line-chart{height:220px}.overview-line-chart svg{display:block;width:100%;height:100%;overflow:visible}.overview-chart-grid line{stroke:rgba(130,151,188,.13)}.overview-chart-grid text,.overview-chart-x{fill:#8390a8;font-size:10px}.overview-chart-grid text{text-anchor:end}.overview-chart-x{text-anchor:middle}.overview-chart-line{fill:none;stroke-width:2}.overview-line-chart circle{stroke:#dce8ff;stroke-width:1;cursor:help}
.control-overview-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:12px}.overview-events-panel{min-width:0}.overview-event-filters{display:flex;gap:8px;margin-bottom:10px}.overview-event-filters label{display:flex;align-items:center;gap:8px;flex:1}.overview-event-filters label,.overview-event-filters select{border:1px solid rgba(127,151,197,.16);border-radius:7px;background:#08172d;color:#b9c3d7;padding:9px 11px}.overview-event-filters input{width:100%;border:0;outline:0;background:transparent;color:#fff}.overview-events-table{overflow:hidden}.overview-event-row{display:grid;grid-template-columns:132px 112px 110px minmax(150px,1.25fr) minmax(110px,1fr) 85px;gap:10px;align-items:center;min-height:44px;border-bottom:1px solid rgba(120,145,190,.1);color:#aeb9cc;font-size:11px}.overview-event-row.is-head{min-height:30px;color:#77859d}.overview-event-row strong{color:#e3e9f5}.overview-event-row code{overflow:hidden;border-radius:4px;background:rgba(139,92,246,.13);color:#ae83ff;padding:4px;text-overflow:ellipsis}.overview-event-action{display:flex;align-items:center;gap:7px}.overview-event-action i{color:#4bdc9a}.overview-events-footer{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:10px;color:#8996ad;font-size:11px}.overview-events-footer button{width:30px;height:28px;border:1px solid rgba(127,151,197,.15);border-radius:6px;background:#09182e;color:#ccd5e6}.overview-events-footer button:disabled{opacity:.35}
.overview-funnel-step{display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;padding:12px 6px;border-bottom:1px solid rgba(120,145,190,.1)}.overview-funnel-step>i{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:rgba(139,92,246,.14);color:#a978ff}.overview-funnel-step div span{font-size:12px}.overview-funnel-step div small{display:block;color:#77859c;font-size:10px}.overview-funnel-step div b{display:block;height:3px;margin-top:9px;border-radius:4px;background:linear-gradient(90deg,#8050e8 var(--progress),rgba(110,130,165,.13) var(--progress))}.overview-funnel-step>strong{text-align:right;font-size:16px}.overview-funnel-step>strong small{display:block;color:#97a4b9;font-size:10px;font-weight:400}.overview-funnel-step.is-green>i{color:#43d993;background:rgba(54,210,139,.12)}.overview-funnel-step.is-blue>i{color:#49a0ff;background:rgba(50,138,255,.13)}.overview-funnel-step.is-violet>i{color:#b169ff;background:rgba(168,85,247,.13)}
.overview-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.overview-metrics article{display:grid;grid-template-columns:34px 1fr;gap:5px 10px;align-items:center;padding:12px;border:1px solid rgba(127,151,197,.13);border-radius:8px;background:rgba(7,20,40,.6)}.overview-metrics article>i{grid-row:1/3;width:34px;height:34px;font-size:14px}.overview-metrics span{color:#aab5c9;font-size:11px}.overview-metrics strong{font-size:18px}.overview-empty{display:grid;place-items:center;min-height:120px;color:#76849d;font-size:12px}.control-overview-dashboard.is-loading .overview-line-chart,.control-overview-dashboard.is-loading .overview-events-table{opacity:.45}
@media(max-width:1200px){.control-overview-kpis{grid-template-columns:repeat(3,1fr)}.control-overview-charts,.control-overview-detail-grid{grid-template-columns:1fr}.overview-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.control-overview-toolbar,.control-overview-actions,.overview-panel>header{align-items:stretch;flex-direction:column}.control-overview-actions{display:grid;grid-template-columns:1fr auto}.control-date-range{grid-column:1/-1}.control-overview-kpis{grid-template-columns:1fr 1fr}.overview-periods{width:100%}.overview-periods button{flex:1;padding:8px 5px}.overview-event-row.is-head{display:none}.overview-event-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:12px 2px}.overview-event-row>*:before{content:attr(data-label);display:block;margin-bottom:3px;color:#697790;font-size:9px}.overview-event-row .overview-event-action{align-items:flex-start}.overview-metrics{grid-template-columns:1fr}.overview-line-chart{height:190px}}
@media(max-width:480px){.control-overview-kpis{grid-template-columns:1fr}.overview-event-filters{flex-direction:column}.control-date-range input{width:105px}}
