@charset "UTF-8";
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
input[type=text],
input[type=email],
input[type=url],
input[type=number],
input[type=password],
input[type=date] {
  border: 0;
  min-height: 46px;
  border-bottom: 1px solid var(--input-br-default, #dce2e7);
  border-radius: 5px;
  padding: 6px 12px;
  background: var(--input-bg-default, #fff);
  color: var(--text-default);
  box-shadow: var(--input-shadow-default);
  font-family: inherit;
}
html[data-theme=dark] input[type=text],
html[data-theme=dark] input[type=email],
html[data-theme=dark] input[type=url],
html[data-theme=dark] input[type=number],
html[data-theme=dark] input[type=password],
html[data-theme=dark] input[type=date] {
  border: 1px solid var(--input-br-default, #dce2e7);
}
input[type=text].on-monochrome,
input[type=email].on-monochrome,
input[type=url].on-monochrome,
input[type=number].on-monochrome,
input[type=password].on-monochrome,
input[type=date].on-monochrome {
  box-shadow: inset 0 0px 1px 1px var(--shadow-color-neutral);
}
input[type=text]:hover,
input[type=email]:hover,
input[type=url]:hover,
input[type=number]:hover,
input[type=password]:hover,
input[type=date]:hover {
  border-color: #86868b;
}
input[type=text]:focus-visible, input[type=text]:focus,
input[type=email]:focus-visible,
input[type=email]:focus,
input[type=url]:focus-visible,
input[type=url]:focus,
input[type=number]:focus-visible,
input[type=number]:focus,
input[type=password]:focus-visible,
input[type=password]:focus,
input[type=date]:focus-visible,
input[type=date]:focus {
  outline: 1px solid var(--game-bg-target, #47c2ff);
  border-color: var(--game-bg-target, #47c2ff);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=url]::placeholder,
input[type=number]::placeholder,
input[type=password]::placeholder,
input[type=date]::placeholder {
  color: var(--text-sub);
}

textarea {
  background: var(--input-bg-default, #fff);
  border: 1px solid var(--input-br-default, #dce2e7);
  border-radius: 5px;
  min-height: 46px;
  resize: vertical;
  font-family: inherit;
  padding: 18px 20px 10px 16px;
  color: var(--text-default);
}
textarea:hover {
  border-color: #b2b8c5;
}
textarea:focus-visible, textarea:focus {
  outline: 1px solid var(--game-bg-target, #47c2ff);
  border-color: var(--game-bg-target, #47c2ff);
}
textarea::placeholder {
  color: var(--text-sub);
}

select {
  padding: 10px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  background: var(--glass-bg-hard);
  color: var(--text-secondary);
  border: none;
  box-shadow: inset 0 0.0625rem 0.0625rem var(--glare-color-neutral);
}
select.select-s1 {
  background: #e8e8ed;
  border: none;
  color: var(--text-sub);
  border-radius: 5px;
}
select.on-monochrome {
  box-shadow: inset 0 0px 1px 1px var(--shadow-color-neutral);
}

button {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--btn-bg-default, #333);
  max-height: 40px;
  padding: 10px 18px;
  border: none;
  border-radius: 3px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--color-white, #fff);
  letter-spacing: 0.2px;
  justify-content: center;
  white-space: nowrap;
}
button:focus-visible, button:focus {
  border: 0;
  outline: 0;
}
button:hover {
  cursor: pointer;
  opacity: 0.92;
}
button i {
  margin-right: 8px;
  font-size: 12px;
}
button.dark-bg {
  background-color: var(--bg-dark);
  background-image: linear-gradient(195deg, #42424a, #191919);
}
button.mini {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 8px;
  box-shadow: none;
}
button:disabled {
  background: rgba(50, 96, 180, 0.5);
}
button.btn-clean, button.clean-btn {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  max-height: unset;
  width: auto;
  color: inherit;
}
button.shadow {
  box-shadow: rgba(29, 56, 121, 0.15) 0px 15px 25px, rgba(44, 88, 213, 0.05) 0px 5px 10px;
}
button.test {
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
  border: 0.5px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(2px);
  background: linear-gradient(rgba(19, 100, 203, 0.75) 0%, rgba(45, 102, 174, 0.95) 100%);
  border-radius: 8px;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px;
}
button.test2 {
  border: 1.3px dashed var(--input-br-default, #dce2e7);
  background: none;
  color: #868d96;
  letter-spacing: -0.3px;
  font-weight: 500;
  box-shadow: none;
}
button.test3 {
  color: #0e4da4;
  background: #fff;
  border-radius: 7px;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(102, 102, 102, 0.01) 70%);
  backdrop-filter: blur(20px);
  font-weight: 600;
  border-radius: 9px;
}
button.test4 {
  background-image: linear-gradient(195deg, #0e4da4, #0e4da4);
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}
button.dark-blue {
  background-image: linear-gradient(195deg, #103972, #1a3e71);
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}
button.game-color {
  background-color: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #222);
}

.checkbox-switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 44px;
}

.checkbox-switch .switch input {
  display: none;
}

.checkbox-switch .slider {
  background-color: var(--color-gray-on-dark-2);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.checkbox-switch .slider:before {
  background: var(--input-bg-default, #fff);
  bottom: 2px;
  content: "";
  height: 22px;
  left: 2px;
  position: absolute;
  transition: 0.4s;
  width: 22px;
}

.checkbox-switch input:checked + .slider {
  background-color: var(--bg-blue);
}

.checkbox-switch input:checked + .slider:before {
  transform: translateX(18px);
}

.checkbox-switch .slider.round {
  border-radius: 32px;
}

.checkbox-switch .slider.round:before {
  border-radius: 50%;
}

.label-number-s1 {
  display: flex;
  position: relative;
}
.label-number-s1 input[type=number] {
  outline: none;
  border-color: var(--input-br-default, #dce2e7);
  padding-left: 50px;
}
.label-number-s1 .label-text {
  left: 0px;
  position: absolute;
  background: var(--bg-light-3);
  height: 100%;
  border: 1px solid var(--input-br-default, #dce2e7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 17px;
  border-radius: 6px 0 0 6px;
  width: 38px;
}
.label-number-s1 .label-text i {
  font-size: 15px;
}

/* выше от панели, можно удалить */
.btn-target {
  background: #fff;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.05);
  color: #111;
}
.btn-target.download {
  background-color: var(--game-bg-target);
  color: var(--game-text-target-in);
}

.form-textbox {
  position: relative;
}
.form-textbox input {
  width: 100%;
  height: 56px;
  font-size: 17px;
  line-height: 1.23536;
  padding: 18px 20px 0px 16px;
}
.form-textbox input:focus ~ .label, .form-textbox input:not(:placeholder-shown) ~ .label {
  top: 8px;
  font-size: 12px;
  line-height: 1.33337;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.form-textbox .label {
  position: absolute;
  pointer-events: none;
  transition-timing-function: ease-in;
  transition-duration: 0.125s;
  top: 1.05882rem;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 32px);
  left: 1rem;
  font-size: 17px;
  line-height: 1.23536;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text-sub);
}

:root {
  --bg-white: #ffffff;
  --bg-light-1: #fefeff;
  --bg-light-2: #f7faff;
  --bg-light-3: #f2f5f8;
  --bg-light-4: #f2f6fc;
  --bg-light-5: #ecedf1;
  --bg-blue: #2658b7;
  --color-light: #ffffff;
  --color-gray-on-dark-2: #b2b8c5;
  --color-title: #0a121a;
  --color-income: #159e3a;
  --container-wd: minmax(auto, 1400px);
  --color-text-0: #000;
  --game-cs16: #fff100;
  --game-csgo: #d4932e;
  --game-cs2: #e38716;
  --game-css: #989177;
  --game-garrysmod: #0082fe;
  --game-hl: #222f2f;
  --game-hl2: #576166;
  --game-vrising: #576166;
  --gamecard-cs16: #4c5844;
  --gamecard-csgo: #d4932e;
  --gamecard-cs2: #e38716;
  --gamecard-css: #989177;
  --gamecard-hl: #f67b00;
  --gamecard-hl2: #576166;
  --gamecard-garrysmod: #0082fe;
  --gamecard-minecraft: #018944;
  --gamecard-samp: #bdd0a1;
  --gamecard-mta: #c55f13;
  --gamecard-dayz: #1f1f1f;
  --gamecard-rust: #cc412b;
  --gamecard-tf2: #bf862a;
  --gamecard-zomboid: #2f3b43;
  --gamecard-unturned: #627c62;
  --gamecard-ark: #2f3b43;
  --gamecard-vrising: #841c37;
  --gamecard-gta5: #5a8d21;
  --gamecard-7_days_to_die: #1b1715;
  --gamecard-arma3: #292b2d;
  --gamecard-scum: #ae6a2e;
  --gamecard-ark_survival_evolved: #81ae27;
  --gamecard-left4dead2: #58580d;
  --gamecard-terraria: #18a447;
  /* Базовые шаги */
  --spacing-unit: 5px;
  /* Уровни отступов */
  --gap-xxs: calc(var(--spacing-unit) * 0.5); /* 2.5px */
  --gap-xs: calc(var(--spacing-unit) * 1); /* 5px */
  --gap-s: calc(var(--spacing-unit) * 2); /* 10px */
  --gap-m: calc(var(--spacing-unit) * 3); /* 15px */
  --gap-l: calc(var(--spacing-unit) * 4); /* 20px */
  --gap-xl: calc(var(--spacing-unit) * 6); /* 30px */
  --gap-xxl: calc(var(--spacing-unit) * 8); /* 40px */
  /* Семантические значения */
  /* NEW */
  --bg-body-default: #edeef0;
  --text-default: #000;
  /* Grayscale Colors */
  --color-black: #000000;
  --color-dark-gray: #333333;
  --color-gray: #808080;
  --color-light-gray: #d3d3d3;
  --color-white: #ffffff;
  /* Semantic */
  --text-default: #111;
  /* --text-main / --text-tertiary использовались в коде, но не были определены —
     из-за этого var(--text-main, #fff) всегда давал белый цвет и текст пропадал
     на светлой теме. Определяем их с учётом темы. */
  --text-main: #111;
  --text-tertiary: hsl(0, 0%, 42%);
  --text-secondary: hsl(0, 0%, 17%);
  --text-third: hsl(240, 1%, 31%);
  --text-sub: hsl(213, 7%, 48%);
  --text-glass-hard: hsla(0, 0%, 0%, 0.8);
  --nav-text-default: hsl(0, 13%, 23%);
  --guide_nav-bg-default: hsla(0, 0%, 100%, 0.73);
  --guide_nav-br-default: hsla(0, 0%, 84%, 0.6);
  --card-bg-default: hsla(0, 0%, 100%, 0.9);
  --card-br-default: #dce2e7;
  --link-default: #000;
  --input-bg-default: #fff;
  --input-bg-hard: #f7f7f7;
  --input-br-default: hsl(207deg 19% 88% / 10%);
  --input-shadow-default: inset 0 1px 1px 0px rgba(0, 0, 0, 0.11);
  --glass-bg-softer: hsla(0, 0%, 100%, 0.30);
  --glass-bg-soft: hsla(0, 0%, 100%, 0.4);
  --glass-bg-neutral: hsla(0, 0%, 100%, 0.6);
  --glass-bg-hard: hsla(0, 0%, 100%, 0.73);
  --glass-bg-harder: hsla(0, 0%, 100%, 0.95);
  --glass-br-soft: hsla(0, 0%, 100%, 0.4);
  --glass-br-neutral: hsla(0, 0%, 84%, 0.6);
  --glass-br-harder-lo: hsl(220, 13%, 91%);
  --glass-br-bright-neutral: hsla(0, 0%, 100%, 0.73);
  --glass-gradient-bg-default: linear-gradient(rgba(255, 255, 255, 0.47) 0%, rgba(255, 255, 255, 0.28) 100%);
  --glass-gradient-bg-hard: linear-gradient(70deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  --box-icon-bg-glass: linear-gradient(46deg, rgba(218, 222, 231, 0.25) 0%, rgba(240, 241, 255, 0.21) 100%);
  --tr-bg-glass: linear-gradient(90deg, hsl(0deg 0% 100% / 70%), hsl(213deg 8% 85% / 30%));
  --shadow-color-neutral: rgba(0, 0, 0, 0.11);
  --glare-color-neutral: rgba(255, 255, 255, 0.54);
  --hover-bg: rgb(0 0 0 / 10%);
  --hover-opacity: 0.85;
  --hover-gradient: linear-gradient(45deg, rgb(0 0 0 / 10%), rgb(0 0 0 / 10%));
  --hover-hard: hsl(0, 0%, 100%);
  --btn-bg-default: #35708d;
}

[data-theme=dark] {
  --bg-body-default: hsl(229 11% 15% / 1);
  --text-default: hsl(0, 0%, 95%);
  --text-main: hsl(0, 0%, 95%);
  --text-tertiary: hsl(0, 0%, 62%);
  --text-secondary: hsl(0, 0%, 85%);
  --text-third: hsl(240, 1%, 88%);
  --text-sub: hsl(213, 8%, 82%);
  --text-glass-hard: hsla(0, 0%, 100%, 0.8);
  --nav-text-default: hsl(0, 13%, 93%);
  --nav-bg-default: hsla(0, 0%, 0%, 0.73);
  --nav-br-default: hsla(0, 0%, 16%, 0.6);
  --card-bg-default: hsl(220 9% 23% / 1);
  --card-br-default: #454545;
  --link-default: #fff;
  --input-bg-default: hsl(225 11% 10% / 1);
  --input-bg-hard: hsl(225 11% 10% / 1);
  --input-br-default: rgba(0, 0, 0, 0.11);
  --input-shadow-default: 0 1px 1px 0px hsl(200 4% 18% / 1);
  --glass-bg-softer: hsla(213, 9%, 44%, 0.2);
  --glass-bg-neutral: hsla(245deg, 6%, 26%, 60%);
  --glass-bg-hard: hsl(245deg 6% 26% / 73%);
  --glass-bg-harder: hsl(245deg 6% 26% / 95%);
  --glass-br-soft: hsl(252deg 6% 30% / 39%);
  --glass-br-neutral: hsl(252deg 6% 21% / 89%);
  --glass-br-harder-lo: transparent;
  --glass-br-bright-neutral: hsla(200, 2%, 39%, 0.73);
  --glass-gradient-bg-softer: linear-gradient(350deg, hsl(213deg 8.85% 44.31% / 20%) 0%, hsl(213deg 8.85% 44.31% / 20%) 100%);
  --glass-gradient-bg-default: linear-gradient(350deg, hsl(222deg 3% 23% / 70%) 0%, hsl(236deg 3% 24% / 76%) 100%);
  --glass-gradient-bg-hard: linear-gradient(70deg, hsl(222deg 3% 23% / 87%) 0%, hsl(236deg 3% 24% / 80%) 100%);
  --box-icon-bg-glass: linear-gradient(350deg, hsl(222deg 16% 23% / 25%) 0%, hsl(236deg 94% 96% / 21%) 100%);
  --tr-bg-glass: linear-gradient(90deg, rgba(86, 92, 103, 0.3), rgba(90, 98, 108, 0.3));
  --inset-light-softer: inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.24);
  --inset-light-neutral: inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.54);
  --shadow-color-neutral: hsla(231, 8%, 83%, 0.11);
  --glare-color-neutral: hsl(225deg 3% 77% / 10%);
  --hover-bg: rgba(255, 255, 255, 0.17);
  --hover-opacity: 0.85;
  --hover-gradient: linear-gradient(45deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.17));
  --hover-hard: hsl(0, 0%, 10%);
  --btn-bg-default: #265a7d;
}

@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  overscroll-behavior-y: none;
  background-color: #edeef0;
  background: var(--game-bg, var(--bg-body-default));
  color: var(--text-default);
  font-size: 13px;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body::-webkit-scrollbar-thumb {
  background: hsla(var(--game-hue, 210), 20%, 25%, 0.7);
  border-radius: 1px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body {
  scrollbar-face-color: hsla(var(--game-hue, 210), 20%, 25%, 0.7);
  scrollbar-track-color: transparent;
}
html[data-theme=dark] body {
  background: var(--bg-body-default);
}
html[data-theme=dark] body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html[data-theme=dark] body::-webkit-scrollbar-thumb {
  background: hsla(var(--game-hue, 210), 15%, 80%, 1);
  border-radius: 1px;
}
html[data-theme=dark] body::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme=dark] body {
  scrollbar-face-color: hsla(var(--game-hue, 210), 15%, 80%, 1);
  scrollbar-track-color: transparent;
}
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

.page-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  max-width: 1528px;
  margin: 0 auto;
}
.page-grid .header {
  grid-row: 1/2;
  grid-column: 1/3;
}
@media (min-width: 768px) and (max-width: 1269px) {
  .page-grid .guidebar {
    background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  }
}
@media (max-width: 767px) {
  .page-grid .guidebar {
    position: fixed;
  }
}
.page-grid .main-box {
  grid-column: 2/3;
}
@media (max-width: 767px) {
  .page-grid .main-box {
    grid-column: 1/3;
  }
}
.page-grid .footer,
.page-grid .footer-v2 {
  grid-column: 2/3;
}
@media (max-width: 767px) {
  .page-grid .footer,
  .page-grid .footer-v2 {
    grid-column: 1/3;
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .page-grid {
    grid-template-columns: 76px 1fr;
  }
}
@media (max-width: 767px) {
  .page-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    backdrop-filter: blur(8px);
  }
}

a {
  text-decoration: none;
  color: var(--text-default);
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}

.not-working {
  opacity: 0.5;
}
.not-working:hover {
  cursor: not-allowed !important;
}

.h100 {
  height: 100%;
}

.w100 {
  width: 100%;
}

.grid-fr-auto {
  display: grid;
  grid-template-columns: 1fr auto;
}

.grid-auto-fr {
  display: grid;
  grid-template-columns: auto 1fr;
}

.hover-effect {
  position: relative;
}
.hover-effect:hover:after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0px;
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4784313725);
  margin: -2px -5px;
}

.hover-effect-2 {
  width: min-content;
  height: min-content;
  display: flex;
  padding: 3px 6px;
}
.hover-effect-2:hover {
  cursor: pointer;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1725490196);
}

.header {
  position: relative;
  top: 0;
  z-index: 10;
}
.header .bg-color {
  z-index: 2;
  position: relative;
}
.header.sticky {
  background: unset;
  z-index: 100;
}
.header.sticky .sub-header,
.header.sticky .header-top,
.header.sticky .header-bg {
  display: none;
  max-height: 0;
}
.header.sticky .bg-color {
  background: unset;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-duration: 0.4s;
}
.header .header-bg {
  -webkit-filter: saturate(0.4) opacity(0.4) blur(0px);
  filter: saturate(0.4) opacity(0.4) blur(0px);
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  max-width: 1900px;
  transform-origin: top;
  -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 44.22% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 30.69% 13.2%, rgba(66, 66, 66, 0.33) 0%, #333333 100%), radial-gradient(51.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  mask-image: radial-gradient(51.31% 127.89% at 49.99% -21.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  z-index: -1;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 767px) {
  .header .header-bg {
    left: 0px;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 767px) {
  .header .header-info {
    backdrop-filter: unset;
    background: unset;
    box-shadow: unset;
  }
}
@media (max-width: 767px) {
  .header {
    height: unset;
  }
}

.header-v2 {
  display: grid;
  grid-template: ". container ." 54px/20px 1fr 20px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  /* background-color: var(--game-bg-target, #333); */
  background: var(--glass-gradient-bg-default);
  box-shadow: inset 0 -0.0375rem 0.0625rem var(--glare-color-neutral);
  position: relative;
  z-index: 2;
}
.header-v2 .header-container {
  grid-area: container;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.header-v2 .logo-box .logo svg {
  width: 41px;
}
@media (max-width: 767px) {
  .header-v2 .logo-box .logo svg {
    width: 36px;
    height: auto;
  }
}
@media (min-width: 1528px) {
  .header-v2 {
    grid-template: ". container ." 54px/1fr 1472px 1fr;
  }
}
@media (max-width: 767px) {
  .header-v2 {
    grid-template: ". container ." 50px/16px 1fr 16px;
    background: rgba(245, 246, 248, 0.88);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: none;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  }
  html[data-theme=dark] .header-v2 {
    background: rgba(28, 30, 36, 0.88);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  }
  @supports (padding-top: env(safe-area-inset-top)) {
    .header-v2 {
      padding-top: env(safe-area-inset-top);
    }
  }
}

.fixgame-bg {
  display: flex;
  justify-content: center;
}
.fixgame-bg .bg-img {
  -webkit-filter: var(--filter-game-bg, saturate(0.4) opacity(0.4) blur(8px));
  filter: var(--filter-game-bg, saturate(0.4) opacity(0.4) blur(8px));
  position: absolute;
  top: 0px;
  width: 100%;
  max-width: 1900px;
  transform-origin: top;
  -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 44.22% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 30.69% 13.2%, rgba(66, 66, 66, 0.33) 0%, #333333 100%), radial-gradient(51.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  mask-image: radial-gradient(51.31% 127.89% at 49.99% -21.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  z-index: -1;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 767px) {
  .fixgame-bg .bg-img {
    -webkit-mask: none;
    mask: none;
    -webkit-mask-composite: unset;
    mask-composite: unset;
  }
}

.guidebar {
  width: 250px;
  z-index: 2;
  position: sticky;
  top: 0;
  height: 100vh;
}
.guidebar::before {
  content: "";
}
@media (max-width: 767px) {
  .guidebar::before {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
  }
  html[data-theme=dark] .guidebar::before {
    background: var(--game-bg, var(--bg-body-default));
  }
}
.guidebar .sticky-wrapper {
  position: sticky;
  top: 0px;
}
@media (min-width: 768px) and (max-width: 1269px) {
  .guidebar {
    width: 76px;
  }
}
@media (max-width: 767px) {
  .guidebar {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 20;
  background: rgba(245, 246, 248, 0.92);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  /* Не используем translateZ/will-change на fixed — на iOS WKWebView это снова вызывало «отлипание». */
}
html[data-theme=dark] .mobile-menu {
  background: rgba(28, 30, 36, 0.88);
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu .mnav-box {
  display: flex;
  justify-content: space-around;
  padding: 0 4px;
}
.mobile-menu .mnav-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  gap: 3px;
  white-space: nowrap;
  color: rgba(120, 125, 140, 0.8);
  min-height: 44px;
  position: relative;
  padding: 8px 0 6px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu .mnav-item i {
  font-size: 19px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mobile-menu .mnav-item .nav-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.mobile-menu .mnav-item.active {
  color: var(--game-bg-target, #2a6496);
}
.mobile-menu .mnav-item.active i {
  transform: scale(1.1);
}
.mobile-menu .mnav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--game-bg-target, #2a6496);
}
html[data-theme=dark] .mobile-menu .mnav-item {
  color: rgba(180, 185, 200, 0.6);
}
html[data-theme=dark] .mobile-menu .mnav-item.active {
  color: var(--game-bg-target, #8cb4d8);
}
html[data-theme=dark] .mobile-menu .mnav-item.active::before {
  background: var(--game-bg-target, #8cb4d8);
}
@media (max-width: 767px) {
  .mobile-menu {
    display: inherit;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/*
 * iPhone / iOS Chrome (WKWebView): размытие на position:fixed часто даёт артефакт при скролле
 * (полоска между меню и краем экрана). Убираем backdrop-filter, оставляем плотный фон.
 */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .mobile-menu {
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      background: rgba(245, 246, 248, 0.97);
    }
    html[data-theme=dark] .mobile-menu {
      background: rgba(28, 30, 36, 0.97);
    }
  }
}

@media (max-width: 767px) {
  #page-body.open {
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #page-body.open .guidebar {
    display: initial;
    z-index: 20;
    width: 100%;
    max-width: 450px;
    height: calc(100svh - 55px);
    top: -54px;
    padding-top: 32px;
    padding-bottom: 20px;
  }
  #page-body.open .guidebar .user-box {
    display: none;
  }
  #page-body.open .main-box {
    width: 100%;
    overflow: hidden;
    max-height: 80vh;
    border-radius: 10px;
  }
  #page-body.open .content-nav,
  #page-body.open .label-text {
    opacity: 0;
  }
}
#page-body.open .mobile-menu .mnav-item.left-bar-button {
  color: var(--game-bg-target, #333);
}
#page-body.open .mobile-menu .mnav-item.left-bar-button i {
  color: var(--game-bg-target, #333);
}

.header-box {
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
}
.header-box .left-bar-button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  z-index: 2;
}
.header-box .left-bar-button i {
  font-size: 22px;
}
@media (max-width: 767px) {
  .header-box .left-bar-button {
    opacity: 1;
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .header-box .left-bar-button {
    display: none;
  }
}
@media (max-width: 767px) {
  .header-box.phone-fix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.75) 0%, rgba(214, 211, 211, 0.55) 100%);
    backdrop-filter: blur(20px);
    display: none;
  }
}
@media (max-width: 767px) {
  .header-box {
    grid-template-columns: 40px 1fr 40px;
    grid-row-start: 1;
  }
}

.logo-box {
  display: flex;
  justify-content: center;
}
.logo-box .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}
.logo-box .logo:focus-visible {
  outline: 0;
}
.logo-box .logo:hover {
  opacity: 0.8;
}
.logo-box .logo svg {
  width: 60px;
  height: 37.7px;
  width: 48px;
}
@media (max-width: 767px) {
  .logo-box .logo svg {
    width: 38px;
    height: 34.5px;
  }
}
@media (max-width: 767px) {
  .logo-box .logo {
    justify-content: center;
    width: min-content;
  }
}
html[data-theme=dark] .logo-box .logo-g {
  fill: #ffffff;
}

main {
  min-height: 100vh;
}

.footer {
  display: grid;
  grid-template-columns: var(--container-wd) 250px;
  color: var(--text-default);
}
.footer a {
  color: var(--text-default);
}
.footer .footer-container {
  display: grid;
  grid-column-start: 1;
  grid-template-columns: 1fr;
  padding: 0 20px;
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
  border-radius: 3px;
}
@media (max-width: 767px) {
  .footer .footer-container {
    padding: 0 16px;
  }
}
.footer .breadcrumbs {
  padding: 17px 0 24px 0;
  line-height: 24px;
  display: flex;
  flex-wrap: wrap;
}
.footer .breadcrumbs .crumb {
  position: relative;
  margin-right: 31px;
}
.footer .breadcrumbs .crumb::after {
  content: "";
  display: block;
  position: absolute;
  top: 6px;
  right: -16px;
  transform: rotate(315deg);
  transform-origin: right;
  width: 6px;
  height: 6px;
  border-radius: 0px;
  border-right: 2px solid rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}
.footer .breadcrumbs .crumb:last-child::after {
  display: none;
}
.footer .breadcrumbs a.crumb:hover {
  text-decoration: underline;
}
.footer .footer-cat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}
.footer .footer-cat .cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer .footer-cat .cat-list .cat-item {
  color: var(--text-default);
}
.footer .footer-cat .cat-list .title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px 0;
}
@media (max-width: 767px) {
  .footer .footer-cat {
    display: none;
  }
}
.footer .legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 20px 10px 20px;
}
.footer .we-are {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 22px 0 20px 0;
}
@media (max-width: 767px) {
  .footer .we-are .copy {
    grid-row: 3/3;
  }
}
.footer .we-are .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footer .we-are .social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
}
@media (max-width: 767px) {
  .footer .we-are .social {
    grid-row: 1/1;
  }
}
.footer .we-are .engine {
  text-align: right;
}
@media (max-width: 767px) {
  .footer .we-are .engine {
    grid-row: 2/2;
  }
}
@media (max-width: 767px) {
  .footer .we-are {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }
}
.footer.sub-footer .footer-container {
  box-shadow: none;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .footer {
    grid-template: auto/1fr var(--container-wd);
  }
}

.footer-v2 {
  display: grid;
  color: var(--text-default);
}
.footer-v2 .footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-column-start: 1;
  grid-template-columns: 1fr;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .footer-v2 .footer-container {
    padding: 0 16px;
  }
}
.footer-v2 .about-us {
  display: flex;
  justify-content: center;
}
.footer-v2 .social {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-v2 .social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 17px;
  background: var(--glass-bg-softer, rgba(240, 241, 245, 0.7));
  border: 1px solid var(--border-soft, rgba(0, 0, 0, 0.06));
  transition: all 0.2s ease;
}
.footer-v2 .social .social-link i {
  color: var(--text-secondary);
}
html[data-theme=dark] .footer-v2 .social .social-link i {
  color: #ffffff;
}
html[data-theme=dark] .footer-v2 .social .social-link .theme-repainter {
  fill: #ffffff;
}
.footer-v2 .social .social-link:hover {
  background: var(--glass-bg-neutral, rgba(230, 232, 240, 0.9));
  border-color: var(--game-bg-target, #8498c9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.footer-v2 .social .social-link:hover i {
  color: var(--game-bg-target, #8498c9);
}
.footer-v2 .social .social-link:hover svg,
.footer-v2 .social .social-link:hover path {
  fill: var(--game-bg-target, #8498c9);
}
.footer-v2 .legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 20px 10px 20px;
}
.footer-v2 .legal .legal-item {
  font-weight: 500;
  color: var(--text-third);
}
.footer-v2 .legal .legal-item:hover {
  color: var(--link-default);
}
.footer-v2 .copy {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 22px 0 20px 0;
  color: var(--text-third);
}
.dropdown {
  display: inline-flex;
  position: relative;
}
.dropdown .dropdown-menu {
  display: none;
  left: 0;
  min-width: 12rem;
  padding-top: 4px;
  position: absolute;
  top: 100%;
  z-index: 20;
}
.dropdown.is-up .dropdown-menu {
  bottom: 100%;
  padding-bottom: 4px;
  padding-top: initial;
  top: auto;
}
.dropdown.is-active .dropdown-menu {
  display: block !important;
}
.dropdown .dropdown-content {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
.dropdown .dropdown-item {
  color: #4a4a4a;
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.375rem 1rem;
  position: relative;
}
.dropdown a.dropdown-item {
  padding-right: 3rem;
  text-align: inherit;
  white-space: nowrap;
  width: 100%;
}
.dropdown a.dropdown-item:hover {
  background-color: #f5f5f5;
  color: #0a0a0a;
}

.page-title {
  letter-spacing: 0.6px;
  font-size: 30px;
  font-weight: 600;
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  line-height: 36px;
}

.sub-header {
  display: grid;
  grid-template: auto/1fr var(--container-wd) 1fr;
  color: #212121;
}
.sub-header .sub-header-container {
  display: grid;
  grid-column-start: 2;
  grid-template-columns: 1fr;
  padding: 10px 20px;
  align-items: center;
}
@media (max-width: 767px) {
  .sub-header .sub-header-container {
    padding: 6px 16px 0 16px;
  }
}
.sub-header h1 {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  font-size: 12px;
  text-transform: uppercase;
  color: #212121;
  letter-spacing: 0.3px;
}
@media (max-width: 767px) {
  .sub-header {
    background: none;
    grid-column: 1/3;
    margin-top: 55px;
  }
}

.mobile-header {
  display: none;
  padding: 2px 16px;
  height: 48px;
}
.mobile-header .user-box {
  z-index: 19;
}
.mobile-header .user-box .dropdown {
  background: none;
  backdrop-filter: none;
  border: none;
  height: 100%;
  min-height: unset;
}
.mobile-header .user-box .dropdown.is-active {
  align-items: unset;
  overflow: initial;
  min-height: unset;
}
.mobile-header .user-box .dropdown .dropdown-menu {
  top: 0 !important;
  right: 0 !important;
  left: unset;
}
.mobile-header .user-box .dropdown .dropdown-content {
  background: #fff;
}
.mobile-header .user-box .user-box-container {
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .mobile-header {
    display: flex;
    align-items: center;
  }
  .mobile-header .logo-box {
    flex-grow: 1;
    justify-content: flex-start;
  }
}

.header-top {
  display: grid;
}
.header-top .header-top-container {
  display: grid;
  grid-column-start: 1;
  grid-template-columns: 1fr;
  grid-template-rows: 80px;
}
@media (max-width: 767px) {
  .header-top .header-top-container {
    grid-template-columns: 1fr;
    padding: 0;
    grid-template-rows: unset;
  }
}
.header-top .fast-stat {
  display: flex;
  justify-content: center;
}
.header-top .fast-stat .stat-list {
  color: #fff;
  display: flex;
  gap: 20px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 5px 18px;
}
.header-top .fast-stat .stat-list .stat-item {
  padding: 4px 10px;
  text-align: center;
}
.header-top .fast-stat .stat-list .stat-item .value {
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
}
.header-top .fast-stat .stat-list .stat-item .caption {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--game-bg-target);
  letter-spacing: 0.3px;
  text-shadow: #5e5b0a 0px 1px 1px;
}
.header-top .nav-user-block {
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto;
  justify-content: end;
}
.header-top .nav-user-block .link-auth {
  display: flex;
  height: 34px;
  color: #fff;
  align-items: center;
  padding: 4px 10px;
}
.header-top .nav-user-block .link-auth.w-border {
  border: 2px solid #fff;
  border-radius: 3px;
}
@media (max-width: 767px) {
  .header-top {
    height: 100%;
  }
}

.nav-box {
  overflow: hidden;
  overflow-y: auto;
  height: calc(100% - 80px);
  position: relative;
}
.nav-box .nav-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (max-width: 767px) {
  .nav-box .nav-container {
    grid-template-columns: auto 1fr;
    grid-template-rows: 50px;
  }
}
.nav-box .nav-wrapper {
  display: flex;
  gap: 12px;
  flex-grow: 1;
  padding: 0px 14px 110px 14px;
  flex-direction: column;
  width: 250px;
}
.nav-box .nav-wrapper .nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
  font-size: 14px;
  min-height: 40px;
  padding: 0 13px;
  position: relative;
  overflow: hidden;
  color: var(--nav-text-default);
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper .nav-item i {
    font-size: 18px;
  }
}
.nav-box .nav-wrapper .nav-item:after {
  position: absolute;
  left: 0;
  width: 3px;
  height: 20px;
  border-radius: 3px;
  content: "";
  background-color: var(--game-icon-color, var(--text-secondary));
  transform: scaleX(0);
}
.nav-box .nav-wrapper .nav-item:hover {
  background-color: var(--glass-bg-harder);
  border-radius: 3px;
  color: var(--text-secondary);
}
@media (max-width: 767px) {
  .nav-box .nav-wrapper .nav-item:hover:after {
    transform: scaleX(0);
  }
}
.nav-box .nav-wrapper .nav-item.active {
  color: var(--text-secondary);
  border-radius: 3px;
  background: var(--glass-bg-hard);
  border: 1px solid var(--glass-br-neutral);
}
.nav-box .nav-wrapper .nav-item.active i {
  color: var(--game-icon-color, var(--text-secondary));
}
.nav-box .nav-wrapper .nav-item.active:after {
  transform: scaleX(1);
}
@media (max-width: 767px) {
  .nav-box .nav-wrapper .nav-item.active:after {
    transform: scaleX(0);
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper .nav-item.active {
    background: none;
    backdrop-filter: none;
    box-shadow: none;
    border: 0;
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper .nav-item .nav-title {
    font-size: 10px;
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper .nav-item {
    flex-direction: column;
    padding: 16px 0 14px;
  }
}
.nav-box .nav-wrapper hr {
  width: 100%;
  height: 1px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 1px 0;
  border: 0;
  margin: 2px 0;
}
html[data-theme=dark] .nav-box .nav-wrapper hr {
  box-shadow: rgba(255, 255, 255, 0.11) 0px 1px 0;
}
.nav-box .nav-wrapper::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
.nav-box .nav-wrapper::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 1px;
}
.nav-box .nav-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.nav-box .nav-wrapper {
  scrollbar-face-color: transparent;
  scrollbar-track-color: transparent;
}
.nav-box .nav-wrapper::-webkit-scrollbar {
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scrollbar-width: none;
  display: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper {
    gap: unset;
  }
}
@media (max-width: 767px) {
  .nav-box .nav-wrapper {
    overflow-x: auto;
  }
}
@media (min-width: 768px) and (max-width: 1269px) {
  .nav-box .nav-wrapper {
    padding: 0 0;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .nav-box .nav-wrapper {
    width: 100%;
    padding: 0px 16px 0px 16px;
  }
}
@media (max-width: 767px) {
  .nav-box .nav-item svg {
    display: none;
  }
}
.nav-box .add-link {
  position: absolute;
  top: 12px;
  right: 26px;
  border-radius: 50%;
  background: #ccc;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.nav-box .subsection-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-bottom: -2px;
}
.nav-box .contact-us {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
}
.nav-box::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.nav-box::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 1px;
}
.nav-box::-webkit-scrollbar-track {
  background: transparent;
}
.nav-box {
  scrollbar-face-color: transparent;
  scrollbar-track-color: transparent;
}
.nav-box:hover::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.nav-box:hover::-webkit-scrollbar-thumb {
  background: hsla(var(--game-hue, 210), 15%, 80%, 1);
  border-radius: 1px;
}
.nav-box:hover::-webkit-scrollbar-track {
  background: transparent;
}
.nav-box:hover {
  scrollbar-face-color: hsla(var(--game-hue, 210), 15%, 80%, 1);
  scrollbar-track-color: transparent;
}

@media (max-width: 767px) {
  .header {
    margin: 0;
  }
}

.main-box {
  display: grid;
  backdrop-filter: blur(0px);
}
.main-box .main-container {
  display: grid;
  grid-column-start: 1;
  padding: 0 20px;
  z-index: 2;
}
@media (min-width: 768px) {
  .main-box .main-container {
    padding: 15px 20px;
  }
}
@media (max-width: 767px) {
  .main-box .main-container {
    padding: 0;
  }
}
@media (max-width: 767px) {
  .main-box {
    margin: 0;
    backdrop-filter: unset;
  }
}

.page-content {
  padding-bottom: 22px;
}
.page-content h1 {
  font-family: "Russo One", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-secondary);
  margin: 0;
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .page-content h1 {
    font-size: 20px;
    line-height: 1.4;
  }
}
/* Хлебные крошки над тегом (над чипами) и над именем сервера (v0.65.44): «Главная › Сервера КС:ГО ›
   текущая страница». Ссылка на раздел игры со всех тегов и серверов — мелкий приглушённый текст,
   как подписи, чтобы не спорить с заголовком. Последнее звено — текущая страница, без ссылки. */
.page-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-sub);
}
.page-crumbs a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s;
}
.page-crumbs a:hover {
  color: var(--text-default);
  text-decoration: underline;
}
.page-crumbs-sep {
  opacity: 0.6;
}
.page-crumbs-current {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-page .server-main .title .page-crumbs {
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .server-search > .page-crumbs {
    padding: 0 16px;
  }
}
/* Шапка раздела игры / тега (v0.65.47) — заменила панель «Мониторинг» (/{игра}/monitoring):
   на всю ширину над чипами, иконка игры в плитке цвета игры, H1 и живые цифры, справа
   «Добавить сервер». Стекло как у карточек сайта, лёгкий оттенок цвета игры (::before).
   На телефоне кнопка скрыта (она есть в меню), подписи цифр короткие (.sm вместо .lg). */
.game-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid var(--glass-br-bright-neutral);
  border-radius: 12px;
  background: var(--glass-bg-hard);
  overflow: hidden;
}
.game-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--game-bg-target);
  opacity: 0.07;
  pointer-events: none;
}
.game-head > * {
  position: relative;
}
.game-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--game-bg-target);
  box-shadow: 0 4px 14px var(--shadow-color-neutral);
}
.game-head-icon img {
  width: 30px;
  height: 30px;
}
.page-content .game-head h1.game-title {
  margin: 0 0 6px;
}
.game-head-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-size: 14px;
  color: var(--text-sub);
}
.game-head-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.game-head-stat b {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-default);
  font-variant-numeric: tabular-nums;
}
.game-head-stat .sm {
  display: none;
}
/* Зелёная «живая» точка у онлайна — видно, что цифры обновляются */
.game-head-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c46a;
  flex: none;
  animation: game-head-pulse 2s infinite;
}
@keyframes game-head-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 196, 106, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(52, 196, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 196, 106, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .game-head-live { animation: none; }
}
.game-head-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--game-bg-target);
  color: var(--game-text-target-in);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.2s;
}
.game-head-btn:hover {
  filter: brightness(1.06);
  color: var(--game-text-target-in);
  text-decoration: none;
}
@media (max-width: 767px) {
  .game-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0 16px 14px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .game-head-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .game-head-icon img {
    width: 22px;
    height: 22px;
  }
  .page-content .game-head h1.game-title {
    padding: 0;
    margin: 0 0 4px;
  }
  .game-head-stats {
    gap: 4px 12px;
    font-size: 12.5px;
  }
  .game-head-stat b {
    font-size: 14px;
  }
  .game-head-stat .lg {
    display: none;
  }
  .game-head-stat .sm {
    display: inline;
  }
  .game-head-btn {
    display: none;
  }
}
/* Шапка главной (v0.65.57; видимый H1 — с 0.65.56). Слева H1 и лид SEO-текста, справа карточки
   «Серверов в сети / Играют сейчас / Игр» с отметкой Live (точка — .game-head-live от шапки раздела).
   Стекло как у .game-head. Ширина — ровно в целое число карточек игр (190px + зазор 16px = шаг 206px),
   считается по контейнеру .home-top: иначе правый край шапки не совпадал с последней карточкой.
   Браузеры без round() получают ширину во весь контейнер. */
.home-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin: 0 0 18px;
  padding: 26px 28px;
  border: 1px solid var(--glass-br-bright-neutral);
  border-radius: 14px;
  background: var(--glass-bg-hard);
}
.home-hero-main {
  flex: 1 1 340px;
  min-width: 0;
}
.home-hero .game-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 36px;
}
.home-hero-lead {
  margin: 0;
  max-width: 600px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.home-hero-stats {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 186px));
  gap: 12px;
}
.home-stat {
  padding: 14px 16px 16px;
  border: 1px solid var(--glass-br-neutral);
  border-radius: 12px;
  background: var(--glass-bg-softer);
}
.home-stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--text-sub);
  white-space: nowrap;
}
.home-stat-label .sm {
  display: none;
}
.home-stat-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1f9d55;
}
html[data-theme=dark] .home-stat-live {
  color: #34c46a;
}
.home-stat-value {
  margin-top: 8px;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  color: var(--text-default);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .home-top {
    container-type: inline-size;
  }
  @supports (width: round(down, 100px, 10px)) {
    .home-hero {
      width: calc(round(down, 100cqw + 16px, 206px) - 16px);
    }
  }
}
@media (max-width: 767px) {
  .home-hero {
    gap: 14px;
    margin: 8px 14px 14px; /* бока — как у .game-list на телефоне (padding 0 14px) */
    padding: 16px;
    border-radius: 12px;
  }
  .home-hero .game-title {
    padding: 0;
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
  }
  .home-hero-lead {
    font-size: 13px;
    line-height: 1.5;
  }
  .home-hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .home-stat {
    padding: 10px 10px 12px;
    border-radius: 10px;
  }
  .home-stat-label {
    font-size: 11.5px;
  }
  .home-stat-label .lg {
    display: none;
  }
  .home-stat-label .sm {
    display: inline;
  }
  .home-stat-value {
    margin-top: 4px;
    font-size: 19px;
    line-height: 24px;
  }
}
/* «Советуем сейчас» (v0.65.48) — ротация актуальных серверов игры (бывший блок «Актуальные» с
   панели «Мониторинг»; услуга «Рекомендуем» обещает показ здесь). На компьютере — карточка в правой
   колонке над фильтрами; на телефоне колонка уходит под список, поэтому там карточка скрыта, а её
   копия (.recs-inline, js.tpl mwPlaceRecs) стоит после 10-й строки списка. */
.recs-card {
  /* Не распирать колонку по самому длинному названию: у .recs-name nowrap + многоточие, но в
     минимальную ширину блока браузер берёт полную строку — на телефоне список становился шире
     экрана (375 → 455 px) и страница уезжала вбок, когда в ротацию попадало длинное название. */
  min-width: 0;
  contain: inline-size;
  margin-bottom: 14px;
  padding: 10px 12px 6px;
  background: var(--glass-bg-hard);
  border: 1px solid var(--glass-br-bright-neutral);
  border-radius: 10px;
}
.recs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-sub);
}
.recs-refresh {
  border: 0;
  background: none;
  padding: 2px 4px;
  font-size: 15px;
  line-height: 1;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: 4px;
}
.recs-refresh:hover {
  color: var(--text-default);
  background: var(--hover-hard);
}
.recs-refresh.spin {
  animation: recs-spin 0.8s linear infinite;
}
@keyframes recs-spin {
  to { transform: rotate(360deg); }
}
.recs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12.5px;
  color: var(--text-default);
  text-decoration: none;
  border-top: 1px solid var(--glass-br-bright-neutral);
}
.recs-row:hover {
  color: var(--text-default);
  text-decoration: underline;
}
.recs-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recs-top {
  margin-right: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--game-icon-color, var(--text-sub));
}
.recs-online {
  flex: none;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .sidebar > .recs-card {
    display: none;
  }
  .recs-card.recs-inline {
    margin: 2px 0 10px;
  }
}
.page-content.container-limited {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.page-content .grid-inner {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 20px;
}
@media (max-width: 767px) {
  .page-content .grid-inner {
    grid-template-columns: 1fr !important;
  }
}
.page-content .content-navigation {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 16px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 0px 32px 16px 0px;
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}
.page-content .content-navigation::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.page-content .content-navigation::-webkit-scrollbar-thumb {
  background: #8a96b5;
  border-radius: 1px;
}
.page-content .content-navigation::-webkit-scrollbar-track {
  background: transparent;
}
.page-content .content-navigation {
  scrollbar-face-color: #8a96b5;
  scrollbar-track-color: transparent;
}
.page-content .content-navigation .title-contents {
  color: var(--text-default);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 22px;
  margin: 0px;
  text-transform: uppercase;
}
.page-content .content-navigation .content-nav-list {
  color: var(--text-default);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.2;
  list-style: none;
  opacity: 1;
}
.page-content .content-navigation .content-nav-list .nav-item {
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.1;
  margin: 12px 0px 0px;
  overflow-wrap: break-word;
}
.page-content .content-navigation .content-nav-list .nav-item a {
  color: var(--text-glass-hard);
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
}
@media (max-width: 767px) {
  .page-content .alert {
    padding: 8px 16px;
  }
}
@media (max-width: 767px) {
  .page-content {
    padding: 12px 16px;
  }
}

.game-title {
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.6px;
  font-size: 24px;
  font-weight: 400;
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  line-height: 32px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.game-title .gamename {
  color: var(--game-color-3, #333);
}
@media (max-width: 767px) {
  .game-title {
    font-size: 20px;
    line-height: 1.4;
    padding: 0 16px;
  }
}

.page-title {
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.6px;
  font-size: 24px;
  font-weight: 400;
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  line-height: 32px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 20px;
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  .server-search .grid-auto-fr {
    grid-template-columns: 1fr;
    padding: 0px 16px;
  }
}
.server-search .grid-inner {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 20px;
}
@media (max-width: 767px) {
  .server-search .grid-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .server-search .grid-inner.top-part {
    padding: 0px 16px;
  }
}
.server-search .chips {
  display: grid;
  z-index: 10;
  margin-bottom: 22px;
}
.server-search .chips .chips-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.server-search .chips .chips-list::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
.server-search .chips .chips-list::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 1px;
}
.server-search .chips .chips-list::-webkit-scrollbar-track {
  background: transparent;
}
.server-search .chips .chips-list {
  scrollbar-face-color: transparent;
  scrollbar-track-color: transparent;
}
.server-search .chips .chips-list::-webkit-scrollbar {
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scrollbar-width: none;
  display: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
}
.server-search .chips .chips-list .chip-item {
  background: var(--glass-bg-hard);
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.server-search .chips .chips-list .chip-item::first-letter {
  text-transform: uppercase;
}
.server-search .chips .chips-list .chip-item:hover {
  background: var(--hover-bg);
}
.server-search .chips .chips-list .chip-item.active {
  background: var(--game-color-2);
  color: var(--game-color-2-in);
  text-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px;
}
.server-search .chips .chips-list .chip-item-v2 {
  background: var(--glass-bg-hard);
  border-radius: 4px;
  padding: 6px 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  /* background: #fefefe; */
  border: 1px solid var(--glass-br-bright-neutral);
}
.server-search .chips .chips-list .chip-item-v2:not(:first-of-type)::before {
  content: "#";
  font-family: "Font Awesome 6 Pro";
  margin-right: 5px;
  font-weight: 400;
}
.server-search .chips .chips-list .chip-item-v2:not(.active):hover {
  background: var(--hover-hard);
}
.server-search .chips .chips-list .chip-item-v2:not(.active):hover::before {
  color: var(--game-color-2);
}
.server-search .chips .chips-list .chip-item-v2.active {
  background: var(--game-color-2);
  color: var(--game-color-2-in);
  text-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px;
  border-color: transparent;
}
@media (max-width: 767px) {
  .server-search .chips .chips-list {
    padding: 0 16px;
  }
}
.server-search .chips.sticky {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.server-search .chips.sticky .chips-list {
  width: calc(100% + 40px);
  border-radius: 3px;
  margin-left: -20px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.6509803922);
  backdrop-filter: blur(20px);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
}
@media (max-width: 767px) {
  .server-search .chips {
    grid-template-columns: 1fr;
  }
}
.server-search .search {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 40px;
}
.server-search .search input[type=search],
.server-search .search input[type=text] {
  width: 100%;
  background: none;
  border: none;
  padding: 8px 10px 8px 0px;
  color: var(--text-default);
}
.server-search .search input[type=search]:focus,
.server-search .search input[type=text]:focus {
  outline: 0;
  border: 0;
}
.server-search .search .search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--input-bg-default, #fff);
  border-radius: 5px;
  height: 40px;
  width: 100%;
  box-shadow: var(--input-shadow-default);
  border-bottom: 1px solid var(--input-br-default, #dce2e7);
}
html[data-theme=dark] .server-search .search .search-box {
  border: 1px solid var(--input-br-default, #dce2e7);
}
.server-search .search .search-box .search-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}
.server-search .search .search-box .search-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
@media (max-width: 767px) {
  .server-search .search .search-box .search-actions {
    display: none;
  }
}
.server-search .search .btn-search {
  width: 26px;
  height: 20px;
  color: #848484;
}
.server-search .search .btn-search i {
  margin: 0;
}
.server-search .search .btn-search:hover {
  cursor: pointer;
  border-radius: 3px;
  background: var(--game-bg, #edeef0);
}
.server-search .search input[type=search]:not(:placeholder-shown) ~ .btn-search {
  color: var(--game-color-2, #000);
}
.server-search .search input[type=search]::placeholder {
  color: var(--text-sub);
}
@media (max-width: 767px) {
  .server-search .search {
    flex-direction: column;
  }
}
.server-search .otion {
  padding-top: 32px;
}
.server-search .otion .banner {
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
  border-radius: 3px;
  width: 100%;
  height: 600px;
}
@media (max-width: 767px) {
  .server-search {
    padding: 12px 0px;
  }
}
.server-search .btn-random {
  width: min-content;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.0509803922);
  height: 30px;
}
.server-search .search-tags {
  display: flex;
  margin-top: 4px;
  gap: 4px;
  flex-wrap: wrap;
}
.server-search .search-tags .tag-now {
  background: var(--game-color-2);
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  cursor: default;
  opacity: 0.8;
  height: 20px;
}
.server-search .search-tags .tag-now .name {
  text-shadow: #0a425e 0px 0px 0px;
  color: var(--game-color-2-in, #fff);
}
.server-search .search-tags .tag-now .delete {
  opacity: 0.5;
}
.server-search .search-tags .tag-now .delete svg {
  width: 8px;
  height: 8px;
}
.server-search .search-tags .tag-now .delete:hover {
  cursor: pointer;
  opacity: 1;
}
.server-search .search-tags .tag-now:hover {
  opacity: 1;
  cursor: pointer;
}
.server-search .about-result {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 15px;
}
.server-search .about-result .server-counter {
  white-space: nowrap;
  color: var(--text-glass-hard);
  padding: 6px 5px;
}
.server-search .about-result .server-counter i {
  margin-left: 3px;
}

.ip-tooltip-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  padding: 5px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 11;
  opacity: 0;
  line-height: 20px;
  color: #fff;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(34, 42, 62, 0.73) 0%, rgba(34, 42, 62, 0.83) 100%);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
}
.ip-tooltip-inner .center {
  text-align: center;
}
.ip-tooltip-inner .line {
  display: flex;
  gap: 5px;
}
.ip-tooltip-inner .click {
  border-radius: 3px;
  background: #fff;
  color: var(--text-secondary);
  padding: 0px 4px;
  font-weight: 500;
  font-size: 12px;
  box-shadow: rgba(0, 0, 0, 0) 0px 1px 1px, rgba(178, 184, 197, 0.6509803922) 0px 0px 0px 0px, rgba(178, 184, 197, 0.5882352941) 0px -1.2px 0px inset;
}
.ip-tooltip-inner .text {
  white-space: nowrap;
}
.ip-tooltip-inner.slide-top {
  -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s both;
  animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s both;
  opacity: 0;
}
@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
  100% {
    -webkit-transform: translate(-50%, -20px);
    transform: translate(-50%, -20px);
    opacity: 1;
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
  100% {
    -webkit-transform: translate(-50%, -20px);
    transform: translate(-50%, -20px);
    opacity: 1;
  }
}

.servers-counter {
  margin-top: 12px;
  color: #515766;
}
.servers-counter .count {
  color: var(--text-secondary);
  font-weight: 500;
}

.add-server .grid-inner {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  padding-bottom: 15px;
}
@media (max-width: 767px) {
  .add-server .grid-inner {
    grid-template-columns: 1fr;
    padding: 0px 0px;
    gap: 0;
  }
}
.add-server h1 {
  margin-top: 0;
}
.add-server .server-definition {
  border-radius: 3px;
  background: rgba(66, 76, 100, 0.7);
  padding: 14px 14px;
}
.add-server .form-add {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--glass-bg-softer);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-br-soft);
  border-radius: 12px;
  padding: 28px 32px;
}
.add-server .info-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.add-server .conditions {
  position: -webkit-sticky;
  position: sticky;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  top: 75px;
  max-width: 310px;
  margin: 40px 0;
  padding: 11px 20px 11px;
  line-height: 20px;
}
.add-server .conditions .title {
  padding: 5px 2px;
  font-size: 14px;
  font-weight: 500;
}
.add-server .conditions .info {
  margin-top: 6px;
}
.add-server .conditions .cost-info {
  margin-top: 6px;
}
.add-server .conditions .data {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 5px 0px;
  font-size: 13.5px;
}
.add-server .conditions .data span:first-child {
  color: var(--text-sub);
}
.add-server .conditions .data.total {
  font-weight: 600;
  font-size: 18px;
}
.add-server .conditions .data.total span {
  color: var(--text-default);
}
.add-server .conditions .data .link {
  font-weight: 500;
}
.add-server .conditions button {
  margin-top: 15px;
  background-color: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #222);
}
@media (max-width: 767px) {
  .add-server .form-add {
    padding: 20px 16px;
    border-radius: 10px;
  }
  .add-server .conditions {
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
  }
}
.add-server .info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.add-server textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  border-radius: 8px;
  color: var(--text-default);
  font-family: inherit;
  transition: border-color 0.15s;
}
.add-server textarea:focus {
  border-color: var(--game-bg-target, #4a9eff);
  outline: none;
}
.add-server select {
  width: 100%;
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  border-radius: 8px;
  color: var(--text-default);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
}
.add-server .subtitle {
  font-size: 15px;
  line-height: 1.37059;
  font-weight: 400;
  letter-spacing: -0.022em;
}
.add-server .add-tags-hint {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-sub);
}

.server-management .grid-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-rows: auto 1fr;
  gap: var(--gap-xl);
  padding-bottom: 0px;
}
@media (max-width: 767px) {
  .page-content.server-management {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 12px 0;
  }
  .server-management > div:first-child {
    padding: 0 14px;
  }
  .server-management h1 {
    font-size: 20px;
    line-height: 1.3;
    word-break: break-word;
    margin: 0 0 12px;
  }
  .server-management .grid-inner {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .server-management .server-settings {
    background: var(--card-bg-default, rgba(255,255,255,0.92));
    border-radius: 16px;
    padding: 16px 14px;
    border: 1px solid var(--card-br-default, rgba(0,0,0,0.06));
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .server-management .server-preview {
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
  }
  .server-management .server-preview .list-body,
  .server-management .server-preview .server-item {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .server-management .tabs-nav {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 8px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .server-management .tabs-nav .tab-item {
    flex-shrink: 0;
  }
  .server-management .tabs-nav .tab-item a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 13px;
  }
  .server-management .tabs-nav .tab-item a span {
    font-size: 13px;
  }
  .server-management h1 {
    font-size: 20px;
    padding: 0 4px;
  }
  .server-management .step {
    flex-direction: column;
    gap: 6px;
  }
  .server-management .step .heading {
    width: 100%;
    order: -1;
  }
  .server-management .step .heading .title {
    font-size: 13px;
  }
  .server-management .step .heading .caption {
    font-size: 12px;
  }
  .server-management .step .parameters {
    width: 100%;
  }
  .server-management select,
  .server-management textarea,
  .server-management input[type="text"],
  .server-management input[type="url"],
  .server-management input[type="date"] {
    font-size: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .server-management .checktag-list {
    max-width: 100%;
  }
  .server-management .tag-container {
    max-width: 100%;
  }
  .server-management .tag-input {
    min-width: 100px;
  }
  .server-management .form-textbox {
    max-width: 100%;
  }
  .server-management .form-textbox input {
    max-width: 100%;
    box-sizing: border-box;
  }
}
.server-management .server-preview {
  grid-row: 1/2;
  grid-column: 1/2;
}
.server-management .server-settings {
  grid-row: 2/3;
}
.server-management .tabs-nav {
  margin-bottom: var(--gap-m);
}
.server-management .tab-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
}
.server-management h2 {
  margin: 15px 0 6px 0;
}
.server-management .form-flex-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.server-management select {
  width: 100%;
  border-radius: 6px;
}
.server-management textarea {
  width: 100%;
}
.server-management input[type=checkbox] {
  display: none;
}
.server-management .extra-info .title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 28px;
}
.server-management .checktag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 550px;
}
.server-management .checktag-item {
  position: relative;
}
.server-management .checktag-item label {
  min-height: 32px;
}
.server-management .checktag-item label > span {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 22px;
  height: 100%;
  padding: 5px 15px;
  color: #424242;
  box-shadow: 0 0 0 1px #d8d8d8;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
  background: #fff;
}
.server-management .checktag-item label:not(.is-switch) > input[type=checkbox]:checked + span {
  color: #ffffff;
  background: var(--game-color-dark);
  box-shadow: 0 0 0 1px var(--game-color-dark);
}
.server-management .checktag-item .remove-tag {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ccc;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  /* padding: 2px; */
  font-size: 11px;
  width: 14px;
  height: 14px;
  align-items: center;
}
.server-management .checktag-item .remove-tag i {
  line-height: normal;
}
.server-management .checktag-item .remove-tag:hover {
  background: #d23737;
  cursor: pointer;
  color: #fff;
}
.server-management .checktag-item.manual-tag label > span {
  background: repeating-linear-gradient(120deg, #ffffff 0 10px, #f2f5f8 10px 20px);
}
.server-management .subinfo {
  font-size: 13px;
}
.server-management .subinfo.top {
  margin-bottom: 6px;
}
.server-management .subinfo.bottom {
  margin-top: 6px;
}
.server-management #tag-search-results .tag-result-item {
  display: block;
  border-radius: 3px;
  font-size: 12px;
  line-height: 18px;
  padding: 0 6px;
  color: #5a6164;
  background-color: rgba(112, 129, 137, 0.15);
  width: fit-content;
}
.server-management #tag-search-results .tag-result-item:hover {
  cursor: pointer;
  color: var(--game-bg-target);
}

/* --- Управление сервером: tag-container --- */
.server-management .tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  border-radius: 8px;
  padding: 8px 12px;
  min-height: 40px;
  align-items: center;
}
.server-management .tag-container .tag {
  background: var(--glass-bg-harder);
  border: 1px solid var(--glass-br-soft);
  border-radius: 4px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  font-size: 13px;
  gap: 6px;
  color: var(--text-secondary);
}
.server-management .tag-container .tag .remove-tag {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.server-management .tag-container .tag .remove-tag:hover {
  opacity: 1;
  color: #d23737;
}
.server-management .tag-input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 150px;
  background: transparent;
  color: var(--text-default);
  font-size: 14px;
  font-family: inherit;
}

/* --- Управление сервером: все теги игры и предложение нового (v0.65.67) --- */
.server-management [hidden] { display: none !important; }
.server-management .tag-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.server-management .tag-tool-btn,
.server-management .tags-all__chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  width: auto; max-height: none; padding: 5px 10px; border-radius: 8px;
  font-family: inherit; font-size: 12.5px; line-height: 1.4; color: var(--text-secondary); cursor: pointer;
  background: color-mix(in srgb, var(--text-default) 7%, transparent); border: 1px solid var(--glass-br-soft);
  transition: background-color 0.2s, color 0.2s;
}
.server-management .tag-tool-btn i { color: var(--game-icon-color, #fcac19); }
.server-management .tag-tool-btn:hover,
.server-management .tags-all__chip:hover { background: color-mix(in srgb, var(--text-default) 12%, transparent); color: var(--text-default); }
.server-management .tags-all__chip small { font-size: 11px; color: var(--text-sub); }
.server-management .tags-all__chip.is-on { background: var(--game-bg-target); color: var(--game-text-target-in); border-color: transparent; cursor: default; }
.server-management .tags-all__chip.is-on small { color: inherit; opacity: 0.75; }
.server-management .tags-all-box { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.server-management .tags-all__empty { font-size: 12.5px; color: var(--text-sub); }
.server-management .tags-suggest-box { margin-top: 10px; }
.server-management .tags-suggest-row { display: flex; flex-wrap: wrap; gap: 8px; }
.server-management .tags-suggest-input {
  flex: 1 1 180px; min-width: 0; height: 36px; padding: 0 12px; border-radius: 8px;
  font-family: inherit; font-size: 14px; color: var(--text-default);
  background: var(--glass-bg-neutral); border: 1px solid var(--glass-br-soft);
}
.server-management .tags-suggest-input:focus { outline: none; border-color: var(--game-bg-target, #4a9eff); }
.server-management .tags-suggest-send {
  width: auto; max-height: none; padding: 7px 14px; border-radius: 8px; border: none;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff);
  transition: opacity 0.2s;
}
.server-management .tags-suggest-send:hover:not(:disabled) { opacity: 0.9; }
.server-management .tags-suggest-send:disabled { opacity: 0.5; cursor: wait; }
.server-management .tags-suggest-note { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--text-sub); }
.server-management .tag-suggest-inline { margin-top: 6px; }
/* «Похоже, такой тег уже есть» под полем тегов (v0.65.104) */
.server-management .tag-suggest-similar { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.server-management .tag-suggest-similar .tags-all-box,
.server-management .tag-suggest-similar .tags-suggest-note { margin-top: 0; }
.server-management .tags-suggest-send--ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--glass-br-soft); font-weight: 500; }
.server-management .tags-suggested { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.server-management .tags-suggested__title { margin-right: 2px; font-size: 12px; color: var(--text-sub); }
.server-management .tags-suggested__item { padding: 3px 8px; border-radius: 6px; font-size: 12.5px; color: var(--text-default); background: color-mix(in srgb, var(--text-default) 7%, transparent); }
.server-management .tags-suggested__item small { margin-left: 4px; font-size: 11px; font-weight: 600; }
.server-management .tags-suggested__item--pending small  { color: #c2410c; }
.server-management .tags-suggested__item--approved small { color: #16a34a; }
.server-management .tags-suggested__item--rejected small { color: #e53935; }
html[data-theme=dark] .server-management .tags-suggested__item--pending small { color: #fb923c; }

/* --- Управление сервером: уведомления и ошибки в формах --- */
.server-management .form-notification {
  display: none;
  color: #d23737;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}
.server-management .form-error {
  color: #d23737;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}
.server-management .form-error:empty {
  display: none;
}
.server-management .char-counter {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* --- Управление сервером: секция услуг (админ) --- */
.server-management .admin-services {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.server-management .admin-services .field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.server-management .admin-services .field-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}
.server-management .btn-remove-service {
  background: none;
  border: none;
  color: #d23737;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 8px;
  width: fit-content;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.server-management .btn-remove-service:hover {
  background: rgba(210, 55, 55, 0.1);
}
.server-management .btn-add-service {
  margin-top: 4px;
}
button.btn-outline {
  background: transparent;
  border: 1.5px solid var(--game-bg-target, #47c2ff);
  color: var(--game-bg-target, #47c2ff);
  box-shadow: none;
}
button.btn-outline:hover {
  background: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #fff);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
}
.step-content .step {
  display: flex;
  gap: var(--gap-xl);
  flex-wrap: wrap;
}
.step-content .step .heading {
  width: clamp(150px, 320px, 100%);
}
.step-content .step .heading .title {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 5px;
}
.step-content .step .heading .caption {
  color: var(--text-sub);
  line-height: 1.5;
}
.step-content .step .heading .caption a {
  font-weight: 500;
}
.step-content .step .heading .bright {
  color: var(--game-bg-target);
}
.step-content .step .parameters {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-content .step .parameters.row {
  flex-direction: row;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .step-content .step .parameters {
    order: 2;
  }
}
@media (max-width: 767px) {
  .step-content .step {
    gap: var(--gap-s);
  }
}
.step-content.step-reverse .step {
  flex-direction: row-reverse;
}
.step-content.step-column-reverse .step {
  flex-direction: column-reverse;
}

.page-premium .grid-inner {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}
.page-premium h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 26px;
}
.page-premium .server-definition {
  border-radius: 3px;
  background: rgba(66, 76, 100, 0.7);
  padding: 14px 14px;
}
.page-premium .form-add {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.page-premium .info-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-premium .conditions {
  position: -webkit-sticky;
  position: sticky;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  top: 75px;
  max-width: 310px;
  margin: 40px 0;
  padding: 11px 20px 11px;
  line-height: 20px;
}
.page-premium .conditions .title {
  padding: 5px 2px;
  font-size: 14px;
  font-weight: 500;
}
.page-premium .conditions .info {
  margin-top: 6px;
}
.page-premium .conditions .cost-info {
  margin-top: 6px;
}
.page-premium .conditions .data {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 5px 0px;
  font-size: 13.5px;
}
.page-premium .conditions .data span:first-child {
  color: var(--text-sub);
}
.page-premium .conditions .data.total {
  font-weight: 600;
  font-size: 18px;
}
.page-premium .conditions .data.total span {
  color: var(--text-default);
}
.page-premium .conditions .acceptance {
  margin-top: 6px;
}
.page-premium .conditions .acceptance label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-premium .conditions .acceptance input[type=checkbox] {
  margin: 0;
}
.page-premium .conditions .acceptance a {
  font-weight: 500;
}
.page-premium .conditions button {
  margin-top: 15px;
  background-color: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #222);
}
.page-premium .info-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-premium textarea {
  width: 100%;
  padding: 18px 20px 10px 16px;
  font-size: 17px;
}
.page-premium select {
  width: 100%;
}
.page-premium .subtitle {
  font-size: 15px;
  line-height: 1.37059;
  font-weight: 400;
  letter-spacing: -0.022em;
}
.page-premium .benefit-list .benefit-item {
  display: flex;
  gap: 26px;
  margin-bottom: 30px;
}
.page-premium .benefit-list .benefit-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--game-icon-color, #8498c9);
  background: var(--box-icon-bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.23) 0px 2px 6px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.48);
  opacity: 1;
}
.page-premium .benefit-list .benefit-item h3 {
  color: var(--text-default);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 5px;
}
.page-premium .benefit-list .benefit-item .desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.page-description {
  font-size: 13px;
  line-height: 1.75;
  border-radius: 3px;
  margin: 16px 0;
  padding: 15px 20px;
  backdrop-filter: blur(20px);
  background: rgba(252, 172, 25, 0.08);
  word-break: break-word;
  background: hsla(var(--game-hue, 210), 20%, 85%, 0.35);
}
html[data-theme=dark] .page-description {
  background: hsla(var(--game-hue, 252), 20%, 23%, 0.25);
}
.page-description h2 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 767px) {
  .page-description h2 {
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.5;
  }
}
@media (max-width: 767px) {
  .page-description {
    padding: 12px 16px;
    margin: 4px 16px;
    font-size: 12px;
    line-height: 1.5;
  }
}

.seo-related-links {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--glass-border-color, rgba(0,0,0,0.06));
  font-size: 12px;
  color: var(--text-secondary, #666);
}

/* SEO-текст тега/раздела с разметкой (SEO ТЗ-2, v0.65.12): лид под H1, абзацы, подзаголовки,
   списки и частые вопросы. Ответы FAQ видны сразу — без аккордеонов: поисковики учитывают
   видимый текст. Отступ лида по бокам на телефоне — как у .game-title (16px). */
.page-lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #666);
}
@media (max-width: 767px) {
  .page-lead {
    margin: 0 0 12px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 1.5;
  }
}
.page-description p {
  margin: 8px 0 0;
}
.page-description h3 {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.page-description ul {
  margin: 6px 0 0;
  padding-left: 20px;
  list-style: disc;  /* глобальный сброс ul { list-style: none } съедал маркеры — пункты выглядели абзацами */
}
.page-description li {
  margin: 2px 0;
}
.page-description .faq-item {
  margin-top: 12px;
}
.page-description .faq-q {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}
.page-description .faq-item p {
  margin-top: 2px;
}
/* Ссылки в SEO-тексте и в «Популярных режимах» — лёгкие чипы в стиле тегов над списком
   (.chip-item-v2), а не синий текст (v0.65.42): стеклянный фон, тонкая рамка, основной цвет текста;
   у ссылки на тег — «#» в акцентном цвете игры. clone — чтобы при переносе на новую строку
   рамка и отступы были у обеих половин. */
.page-lead a,
.page-description p a,
.page-description li a {
  color: var(--text-default);
  text-decoration: none;
  background: var(--glass-bg-hard);
  border: 1px solid var(--glass-br-bright-neutral);
  border-radius: 4px;
  padding: 0 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color 0.2s, color 0.2s;
}
.page-lead a[href*="/servers/tag/"]::before,
.page-description p a[href*="/servers/tag/"]::before,
.page-description li a[href*="/servers/tag/"]::before {
  content: "#";
  margin-right: 4px;
  color: var(--game-icon-color, var(--text-sub));  /* не --game-color-2: у Rust, MTA, Arma 3 он почти чёрный — в тёмной теме «#» пропадал */
}
.page-lead a:hover,
.page-description p a:hover,
.page-description li a:hover {
  background: var(--hover-hard);
  text-decoration: none;
}
@media (max-width: 767px) {
  .page-description h3 {
    font-size: 13px;
    margin-top: 12px;
  }
  .page-description .faq-q {
    font-size: 12px;
  }
}

.colorful {
  font-weight: 500;
  color: var(--game-text-target, #8498c9);
}

.color-verify {
  color: #60808f;
}

/* ===== Страница привязки сервера (access) ===== */
.page-access .grid-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-access .grid-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.page-access h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* --- Заголовок с иконкой --- */
.ac-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ac-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--game-bg-target, #4a9eff) 0%, rgba(74, 158, 255, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.ac-server-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 8px;
  background: var(--glass-bg-softer, rgba(0,0,0,0.04));
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary, #666);
  margin-top: 6px;
  max-width: 100%;
  overflow: hidden;
}
.ac-server-badge i { opacity: 0.5; font-size: 12px; }
.ac-server-badge span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-ip-label {
  opacity: 0.6;
  font-family: monospace;
  font-size: 12px;
}

/* --- Плашка владельца --- */
.ac-owner-status { margin-bottom: 24px; }
.ac-owner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
.ac-owner-free {
  background: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.2);
}
.ac-owner-taken {
  background: var(--glass-bg-softer, rgba(0,0,0,0.04));
  color: var(--text-secondary, #666);
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.08));
}

/* --- Табы методов --- */
.ac-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.ac-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.08));
  background: var(--glass-bg-softer, rgba(0,0,0,0.02));
  color: var(--text-secondary, #666);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ac-tab:hover {
  border-color: var(--game-bg-target, #4a9eff);
  color: var(--text-main, #222);
}
.ac-tab.active {
  background: var(--game-bg-target, #4a9eff);
  color: var(--game-text-target-in, #fff);
  border-color: transparent;
}
.ac-tab i { font-size: 16px; }
.ac-tab-content { display: none; }
.ac-tab-content.active { display: block; }

/* --- Шаги привязки --- */
.ac-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.ac-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}
.ac-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 44px;
  bottom: -4px;
  width: 2px;
  background: var(--glass-br-soft, rgba(0,0,0,0.08));
}
.ac-step:last-child::before { display: none; }
.ac-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--game-bg-target, #4a9eff);
  color: var(--game-text-target-in, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.ac-step-muted .ac-step-num {
  background: var(--glass-bg-softer, rgba(0,0,0,0.06));
  color: var(--text-secondary, #999);
}
.ac-step-muted .ac-step-title,
.ac-step-muted .ac-step-desc { opacity: 0.6; }
.ac-step-body { flex: 1; min-width: 0; padding-top: 4px; overflow-wrap: break-word; word-break: break-word; }
.ac-step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main, #222);
}
.ac-step-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary, #555);
}

/* --- Код для копирования --- */
.ac-code-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--glass-bg-harder, rgba(0,0,0,0.06));
  border: 1px dashed var(--game-bg-target, #4a9eff);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.ac-code-box:hover { background: rgba(74, 158, 255, 0.08); }
.ac-code-box code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--game-bg-target, #4a9eff);
  letter-spacing: 1px;
  /* .ac-step-body разрешает перенос где угодно (word-break: break-word) — без этого
     код «mw1» на компьютере разваливался по одной букве в строку */
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.ac-code-copy {
  background: none;
  border: none;
  color: var(--text-secondary, #999);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: color 0.2s;
}
.ac-code-copy:hover, .ac-code-copy.copied { color: var(--game-bg-target, #4a9eff); }

/* --- Подсказка в шаге --- */
.ac-step-hint {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
  background: var(--glass-bg-softer, rgba(0,0,0,0.03));
  font-size: 13px;
  color: var(--text-secondary, #666);
  font-style: italic;
}
.ac-step-hint i { margin-right: 4px; color: #f0ad4e; }
.ac-step-hint em { color: var(--text-main, #333); font-weight: 500; }

/* --- Вкладка «Оплата» --- */
.ac-payment-info {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--glass-bg-softer, rgba(0,0,0,0.03));
  border-radius: 14px;
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
}
.ac-payment-icon {
  font-size: 32px;
  color: var(--game-bg-target, #4a9eff);
  flex-shrink: 0;
}
.ac-payment-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ac-payment-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary, #555);
  margin: 0 0 14px;
}
.ac-payment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--game-bg-target, #4a9eff);
  color: var(--game-text-target-in, #fff);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ac-payment-btn:hover { opacity: 0.85; }

/* --- Сайдбар: карточка проверки --- */
.ac-sidebar { display: flex; flex-direction: column; gap: 16px; }
.ac-check-card {
  position: sticky;
  top: 75px;
  background: var(--glass-bg-soft, rgba(255,255,255,0.6));
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.08));
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
}
.ac-check-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.ac-check-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
}
.ac-check-btn:hover { opacity: 0.9; }
.ac-check-btn:active { transform: scale(0.98); }
.ac-check-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- Страница услуги «Скрытие отзывов» (hide_reviews.tpl, v0.62.0) ---
   Наследует каркас .page-access (шапка, пилюли, сайдбар-карточка); своё — колонки
   «что делает / чего не делает» и выбор тарифа. */
.page-hide-reviews .ac-owner-status { margin-bottom: 22px; }
.hr-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.hr-col {
  padding: 18px 18px 14px;
  border-radius: 14px;
  background: var(--glass-bg-softer, rgba(0,0,0,0.03));
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
}
.hr-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main, #222);
}
.hr-col__ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.hr-col__ico--on  { background: rgba(74, 158, 255, 0.14); color: var(--game-bg-target, #4a9eff); }
.hr-col__ico--off { background: rgba(46, 204, 113, 0.14); color: #27ae60; }
.hr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hr-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary, #555);
}
.hr-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}
/* Тарифы в сайдбаре */
.hr-tariffs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.hr-tariff {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.08));
  background: var(--glass-bg-softer, rgba(0,0,0,0.02));
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.hr-tariff:hover { border-color: color-mix(in srgb, var(--game-bg-target, #4a9eff) 45%, transparent); }
.hr-tariff input {
  width: 16px; height: 16px;
  margin: 0;
  accent-color: var(--game-bg-target, #4a9eff);
  flex-shrink: 0;
}
.hr-tariff:has(input:checked) {
  border-color: var(--game-bg-target, #4a9eff);
  background: color-mix(in srgb, var(--game-bg-target, #4a9eff) 8%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--game-bg-target, #4a9eff) 14%, transparent);
}
.hr-tariff__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hr-tariff__name { font-size: 14px; font-weight: 600; color: var(--text-main, #222); }
.hr-tariff__per  { font-size: 12px; color: var(--text-secondary, #777); }
.hr-tariff__price { font-size: 15px; font-weight: 700; white-space: nowrap; color: var(--text-main, #222); }
.hr-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.hr-email span { font-size: 12px; font-weight: 600; color: var(--text-secondary, #666); }
.hr-email input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.1));
  background: var(--glass-bg-soft, #fff);
  color: var(--text-main, #222);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.hr-email input:focus { border-color: var(--game-bg-target, #4a9eff); }
.hr-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px 12px;
  margin-bottom: 4px;
  border-top: 1px dashed var(--glass-br-soft, rgba(0,0,0,0.1));
}
.hr-total__label { font-size: 13px; color: var(--text-secondary, #666); }
.hr-total__sum { font-size: 20px; font-weight: 700; color: var(--text-main, #222); white-space: nowrap; }
.hr-total__sum small { font-size: 11px; font-weight: 500; color: var(--text-secondary, #888); margin-left: 4px; }
.hr-total__hint {
  margin: -2px 0 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-secondary, #777);
}
.hr-total__hint i { margin-right: 4px; opacity: 0.7; }
@media (max-width: 640px) {
  .hr-cols { grid-template-columns: 1fr; }
}

/* --- Сайдбар: FAQ --- */
.ac-help-card {
  background: var(--glass-bg-softer, rgba(0,0,0,0.02));
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
  border-radius: 16px;
  padding: 20px;
}
.ac-help-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary, #666);
}
.ac-faq {
  border-top: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
  padding: 0;
}
.ac-faq summary {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-main, #333);
  list-style: none;
}
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::before {
  content: '+';
  display: inline-block;
  width: 16px;
  margin-right: 6px;
  color: var(--text-secondary);
  font-weight: 400;
}
.ac-faq[open] summary::before { content: '−'; }
.ac-faq p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #666);
  margin: 0 0 10px 22px;
}

/* ===== Карточки результатов проверки ===== */
/* Иконка — рядом с заголовком, всё остальное на всю ширину карточки: в колонке 340px
   отдельный столбец под иконку сужал текст советов до ~180px */
.ac-result {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  animation: acSlideIn 0.3s ease;
}
.ac-result-body { display: contents; }
.ac-result-body > * { grid-column: 1 / -1; }
.ac-result-body > .ac-result-title { grid-column: 2; align-self: center; margin: 0; }
.ac-result-body > .ac-result-title + * { margin-top: 10px; }
@keyframes acSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ac-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.ac-result-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.ac-result-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #666);
  margin-bottom: 8px;
}

/* Варианты результатов */
.ac-result--success {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
}
.ac-result--success .ac-result-icon { background: rgba(46, 204, 113, 0.15); color: #27ae60; }
.ac-result--success .ac-result-title { color: #27ae60; }

.ac-result--warning {
  background: rgba(241, 196, 15, 0.08);
  border: 1px solid rgba(241, 196, 15, 0.25);
}
.ac-result--warning .ac-result-icon { background: rgba(241, 196, 15, 0.15); color: #d4a017; }
.ac-result--warning .ac-result-title { color: #c0920a; }

.ac-result--error {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
}
.ac-result--error .ac-result-icon { background: rgba(231, 76, 60, 0.12); color: #c0392b; }
.ac-result--error .ac-result-title { color: #c0392b; }

.ac-result--info {
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.2);
}
.ac-result--info .ac-result-icon { background: rgba(74, 158, 255, 0.12); color: #4a9eff; }
.ac-result--info .ac-result-title { color: #2d7fd4; }

/* Полоска попыток */
.ac-result-attempts {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.ac-attempt-bar {
  display: block;
  flex: 0 0 80px;
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: rgba(241, 196, 15, 0.15);
  overflow: hidden;
}
.ac-attempt-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #e6a817;
  transition: width 0.4s ease;
}

/* Советы в карточке ошибки. Текст совета — один <span> (см. access.tpl), иначе flex
   разрывал «...именно в» и <strong>hostname</strong> на отдельные колонки */
.ac-result-tips {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--glass-br-neutral, rgba(0,0,0,0.08));
}
.ac-tip {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary, #666);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ac-tip span { min-width: 0; }
.ac-tip strong { font-weight: 600; color: var(--text-default, #111); }
.ac-tip i {
  color: var(--game-bg-target, #4a9eff);
  margin-top: 2px;
  font-size: 12px;
  flex-shrink: 0;
}
/* Код внутри текста результата — такой же моноширинный, как в шаге 1 */
.ac-inline-code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
  white-space: nowrap;
  color: var(--text-default, #111);
  background: color-mix(in srgb, var(--text-default, #111) 8%, transparent);
}

/* Мета-строка (таймер бана) */
.ac-result-meta {
  font-size: 13px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Кнопка-действие в карточке */
.ac-result-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 16px;
  background: var(--game-bg-target, #4a9eff);
  color: var(--game-text-target-in, #fff);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ac-result-action:hover { opacity: 0.85; color: #fff; }

/* ===== Карточка успеха: перки + действия ===== */
.ac-success-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
}
.ac-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #27ae60;
  padding: 4px 0;
}
.ac-perk i { font-size: 14px; }
.ac-success-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ac-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #27ae60;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ac-action-primary:hover { opacity: 0.85; color: #fff; }
.ac-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--glass-bg-softer, rgba(0,0,0,0.04));
  color: var(--text-main, #333);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.08));
  transition: border-color 0.2s;
}
.ac-action-secondary:hover { border-color: var(--game-bg-target); }

/* ===== Виджет в карточке успеха ===== */
.ac-widget-promo {
  background: var(--glass-bg-soft, #1a1d23);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
}
.ac-widget-promo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4a9eff 0%, #6c5ce7 100%);
}
.ac-widget-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.ac-widget-icon { font-size: 24px; color: #4a9eff; margin-top: 2px; }
.ac-widget-title { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.ac-widget-desc { font-size: 13px; color: var(--text-secondary, #8a929c); margin: 0; line-height: 1.4; }
.ac-widget-preview {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.ac-widget-preview img { display: block; max-width: 320px; margin: 0 auto; }
.ac-widget-promo .widget-tabs { display: flex; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.ac-widget-promo .widget-tab-group {
  display: flex; gap: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.1));
}
.ac-widget-promo .widget-tab-btn {
  padding: 5px 10px; font-size: 11px; font-weight: 500;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-secondary, #8a929c); transition: all 0.15s; white-space: nowrap;
}
.ac-widget-promo .widget-tab-btn:hover { color: var(--text-main, #e8eaed); }
.ac-widget-promo .widget-tab-btn.active { background: rgba(74,158,255,0.15); color: #4a9eff; font-weight: 600; }
.ac-widget-promo .widget-code-wrap { position: relative; }
.ac-widget-promo .widget-code {
  display: block; width: 100%; padding: 10px 40px 10px 12px;
  background: var(--glass-bg-harder, rgba(0,0,0,0.2)); border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
  border-radius: 8px; color: var(--text-main, #ccc); font-family: monospace; font-size: 12px;
  resize: none; word-break: break-all;
}
.ac-widget-promo .widget-code:focus { outline: none; border-color: rgba(74,158,255,0.3); }
.ac-widget-promo .widget-copy-btn {
  position: absolute; top: 8px; right: 8px; background: var(--glass-bg-softer, rgba(255,255,255,0.05));
  border: none; border-radius: 6px; padding: 6px 8px; cursor: pointer;
  color: var(--text-secondary, #666); font-size: 13px; transition: all 0.15s;
}
.ac-widget-promo .widget-copy-btn:hover { color: #4a9eff; background: rgba(74,158,255,0.1); }
.ac-widget-promo .widget-copy-btn.copied { color: #2ecc71; }

/* ===== Модальное окно жалобы (sview) ===== */
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 18, 28, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: complaintFade 0.2s ease;
}
#modal-overlay.is-open {
  display: flex;
}
@keyframes complaintFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
#complaint-modal {
  position: relative;
  background: var(--card-bg-default, #fff);
  border: 1px solid var(--card-br-default, rgba(0,0,0,0.08));
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: complaintSlideIn 0.25s ease;
}
@keyframes complaintSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#complaint-modal h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-default, #111);
  line-height: 1.3;
}
#complaint-modal #close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--text-sub, #888);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
#complaint-modal #close-modal:hover {
  background: var(--glass-bg-softer, rgba(0,0,0,0.06));
  color: var(--text-default, #111);
}
#complaint-modal .form-group {
  margin-bottom: 14px;
}
#complaint-modal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-default, #111);
  margin-bottom: 6px;
}
#complaint-modal select,
#complaint-modal textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--card-br-default, rgba(0,0,0,0.12));
  border-radius: 10px;
  background: var(--input-bg-default, #fff);
  color: var(--text-default, #111);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}
#complaint-modal select:focus,
#complaint-modal textarea:focus {
  border-color: var(--game-bg-target, #4a9eff);
}
#complaint-modal textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}
#complaint-modal button[type="submit"] {
  width: 100%;
  padding: 12px 18px;
  background: var(--game-bg-target, #4a9eff);
  color: var(--game-text-target-in, #fff);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
#complaint-modal button[type="submit"]:hover { opacity: 0.9; }
#complaint-modal button[type="submit"]:active { transform: scale(0.98); }
body.modal-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  #modal-overlay { padding: 12px; }
  #complaint-modal { padding: 20px 18px; border-radius: 14px; }
  #complaint-modal h2 { font-size: 16px; }
}

/* --- Мобильная адаптация access --- */
@media (max-width: 767px) {
  .page-access .grid-inner {
    padding: 0 14px;
    gap: 16px;
  }
  .page-access .ac-main,
  .page-access .ac-sidebar {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .ac-header { gap: 12px; flex-wrap: wrap; }
  .ac-header-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  .page-access h2 { font-size: 20px; }
  .ac-server-badge {
    font-size: 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .ac-server-badge span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ac-owner-pill {
    font-size: 12px;
    padding: 6px 10px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .ac-method-tabs { flex-direction: column; gap: 6px; }
  .ac-tab { justify-content: center; padding: 10px 14px; }
  .ac-code-box {
    display: inline-flex;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
  }
  .ac-code-box code {
    font-size: 16px;
    white-space: nowrap;
  }
  .ac-step { gap: 10px; padding: 12px 0; }
  .ac-step-num { width: 28px; height: 28px; font-size: 12px; flex-shrink: 0; }
  .ac-step::before { left: 13px; top: 38px; }
  .ac-step-title { font-size: 14px; }
  .ac-step-desc { font-size: 13px; }
  .ac-step-body {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .ac-step-hint {
    font-size: 12px;
    padding: 6px 10px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .ac-step-hint em {
    word-break: break-all;
    display: inline;
  }
  .ac-success-perks { grid-template-columns: 1fr; }
  .ac-success-actions { flex-direction: column; }
  .ac-success-actions a { text-align: center; justify-content: center; }
  .ac-result { padding: 12px; }
  .ac-result-icon { width: 36px; height: 36px; font-size: 18px; }
  .ac-result-body { word-break: break-word; }
  .ac-result-tips { margin-top: 8px; }
  .ac-tip { font-size: 12px; }
  .ac-payment-info { flex-direction: column; gap: 12px; text-align: center; padding: 16px; }
  .ac-payment-btn { width: 100%; justify-content: center; }
  .ac-sidebar { margin-top: 4px; }
  .ac-check-card {
    position: static;
    padding: 16px;
    border-radius: 14px;
  }
  .ac-check-btn { padding: 12px 16px; font-size: 14px; }
  .ac-help-card {
    padding: 14px;
    word-break: break-word;
  }
  .ac-faq summary { font-size: 13px; padding: 8px 0; }
  .ac-faq p { font-size: 12px; margin-left: 16px; }
}

/* --- Тёмная тема --- */
html[data-theme=dark] .ac-owner-free {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.15);
}
html[data-theme=dark] .ac-owner-taken {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
html[data-theme=dark] .ac-step-hint {
  background: rgba(255,255,255,0.04);
}
html[data-theme=dark] .ac-code-box {
  background: rgba(74, 158, 255, 0.06);
  border-color: rgba(74, 158, 255, 0.3);
}
html[data-theme=dark] .ac-result--success { background: rgba(46,204,113,0.06); }
html[data-theme=dark] .ac-result--warning { background: rgba(241,196,15,0.06); }
html[data-theme=dark] .ac-result--error { background: rgba(231,76,60,0.06); }
html[data-theme=dark] .ac-result--info { background: rgba(74,158,255,0.06); }
html[data-theme=dark] .ac-result--success .ac-result-title { color: #2ecc71; }
html[data-theme=dark] .ac-result--warning .ac-result-title { color: #f1c40f; }
html[data-theme=dark] .ac-result--error .ac-result-title { color: #e74c3c; }
html[data-theme=dark] .ac-check-card {
  background: var(--glass-bg-soft, rgba(30,33,40,0.8));
  border-color: rgba(255,255,255,0.06);
}
html[data-theme=dark] .ac-help-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.server-list {
  display: table;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.server-list .server-list-header {
  display: table-row;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  position: relative;
  color: var(--text-secondary);
}
.server-list .server-list-header .col {
  display: table-cell;
  padding: 0px 6px;
  height: 32px;
  vertical-align: middle;
}
.server-list .server-item {
  display: table-row;
  height: 48px;
  cursor: default;
  position: relative;
}
.server-list .server-item .server-link {
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
}
.server-list .server-item .col {
  display: table-cell;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.23077;
  padding: 0 6px;
  vertical-align: middle;
}
.server-list .server-item .col:first-of-type {
  border-radius: 3px 0 0 3px;
  padding-left: 12px;
}
@media (max-width: 767px) {
  .server-list .server-item .col:first-of-type {
    padding-left: 16px;
    border-radius: 0;
  }
}
.server-list .server-item .col:last-of-type, .server-list .server-item .col.last {
  border-radius: 0 3px 3px 0;
  padding-right: 12px;
  width: 20px;
}
@media (max-width: 767px) {
  .server-list .server-item .col:last-of-type, .server-list .server-item .col.last {
    border-radius: 0;
  }
}
.server-list .server-item .col.no-padding {
  padding: 0;
}
@media (max-width: 767px) {
  .server-list .server-item .col {
    padding: 8px 6px;
    border-bottom: 1px solid #d8d8d8;
  }
}
.server-list .server-item:nth-child(even) .col {
  background: var(--glass-bg-harder);
}
.server-list .server-item.premium {
  background: linear-gradient(90deg, #ff5c4d, #ca1212 26.56%, #5f00fa 75%, #3f7ff9);
  color: #fff;
}
.server-list .server-item.premium .col {
  background: unset;
}
.server-list .server-item.premium-server {
  background-color: var(--game-server-premium, #c8ced9);
}
.server-list .server-item.premium-server .col {
  z-index: 1;
  position: relative;
  background: none;
}
.server-list .server-item:hover .col {
  background-color: var(--game-server-hover);
  color: #fff;
}
.server-list .server-item:hover a {
  color: #fff;
}
.server-list .server-item:hover svg,
.server-list .server-item:hover path {
  fill: #ffffff;
}
.server-list .server-item .players-info {
  display: flex;
  background: var(--game-color-dark);
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.6;
  min-width: 60px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  padding: 0 6px;
  white-space: nowrap;
}
.server-list .server-item .players-info .bots {
  display: flex;
  align-items: center;
}
.server-list .server-item .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}
.server-list .server-item .tag-list .tag-item {
  background: var(--game-bg-target);
  padding: 0px 5px;
  border-radius: 3px;
}
.server-list .server-item .mobile-sinfo {
  display: none;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .server-list .server-item .mobile-sinfo {
    display: inherit;
  }
}
.server-list .server-item .country {
  display: flex;
}
.server-list .server-item .country img {
  width: 17px;
  border-radius: 1px;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.4901960784);
  margin-top: -1px;
}
.server-list .server-item .ip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min-content;
}
.server-list .server-item .ip:hover {
  cursor: pointer;
}
.server-list .server-item .map {
  width: 140px;
}
.server-list .server-item .map .map-name {
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}
.server-list .server-item .play-icon:hover {
  cursor: pointer;
  opacity: 0.6;
}
.server-list .server-item .fast-about {
  display: flex;
  align-items: center;
}
.server-list .server-item .reviews {
  display: flex;
  gap: 3px;
}
.server-list .server-item .reviews span {
  font-weight: 500;
}

@media (max-width: 767px) {
  .sidebar {
    padding: 0 16px;
  }
}

.filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--glass-bg-softer);
  border-radius: 10px;
  padding: 14px;
}
.filter-sidebar .title-block {
  display: flex;
  gap: 10px;
  color: var(--text-sub);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding-bottom: 8px;
}
.filter-sidebar .title-block .title-h {
  flex-grow: 1;
}
.filter-sidebar .title-block .uppercase {
  text-transform: uppercase;
}
.filter-sidebar .title-block .sort-options {
  padding-right: 4px;
}
.filter-sidebar .title-block .sort-options button {
  color: var(--text-secondary);
}
.filter-sidebar .title-block .btn-filter-clean {
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}
.filter-sidebar .title-block .btn-filter-clean:hover {
  opacity: 0.7;
}
.filter-sidebar .sort-options label .icon-checkbox {
  color: #6e6f74;
}
.filter-sidebar .sort-options label:hover {
  cursor: pointer;
  opacity: 0.7;
}
.filter-sidebar .sort-options label input[type=checkbox]:checked + i {
  color: var(--game-bg-target, #47c2ff);
}
.filter-sidebar details > summary {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 9px 10px;
  list-style: none;
  color: var(--nav-text-default, var(--text-secondary));
  font-weight: 500;
  font-size: 13px;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 8px;
  background: var(--glass-bg-softer);
}
.filter-sidebar details > summary:hover {
  cursor: pointer;
  color: var(--text-default);
  background: var(--glass-bg-neutral);
}
.filter-sidebar details > summary::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-60%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--text-sub);
  border-bottom: 1.5px solid var(--text-sub);
  transition: transform 0.25s ease;
}
.filter-sidebar details[open] > summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.filter-sidebar details[open].unable {
  display: block;
}
.filter-sidebar details[open].unable > summary {
  pointer-events: none;
  user-select: none;
  cursor: default;
}
.filter-sidebar details[open].unable > summary::after {
  display: none;
}
.filter-sidebar input[type=checkbox] {
  display: none;
}
.filter-sidebar label {
  min-height: 32px;
}
.filter-sidebar label > span {
  display: block;
  font-size: 12.5px;
  line-height: 20px;
  height: 100%;
  padding: 5px 12px;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  background: var(--glass-bg-softer);
}
.filter-sidebar label > span::first-letter {
  text-transform: uppercase;
}
.filter-sidebar label > span:hover {
  background: var(--glass-bg-neutral);
  color: var(--text-default);
}
.filter-sidebar label:not(.is-switch) > input[type=checkbox]:checked + span {
  background-color: var(--game-bg-target);
  color: var(--game-text-target-in);
}
.filter-sidebar .details-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-sidebar fieldset {
  margin: 0;
  padding: 0px;
  border: none;
}
.filter-sidebar .f-checkbox-tab-1-s1 {
  width: 100%;
  display: block;
  min-width: 0;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
}
.filter-sidebar .f-checkbox-tab-1-s1 legend {
  margin: 0 0 1.5rem;
  padding: 0;
  width: 100%;
  float: left;
  display: table;
  font-size: 1.5rem;
  line-height: 140%;
  font-weight: 600;
  color: var(--text-secondary);
}
.filter-sidebar .f-checkbox-tab-1-s1 legend + * {
  clear: both;
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input + label {
  min-height: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  margin: 0;
  padding: 9px 10px;
  position: relative;
  background: var(--card-bg-default);
  color: var(--text-secondary);
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
  border-right: 1px solid rgba(0, 0, 0, 0.11);
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input + label:first-of-type {
  border-radius: 3px 0 0 3px;
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input + label:last-of-type {
  border-radius: 0 3px 3px 0;
  border-right: none;
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input:hover + label {
  cursor: pointer;
  opacity: 0.75;
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input:checked + label {
  z-index: 1;
  color: var(--game-text-target-in);
  background-color: var(--game-bg-target);
}
.filter-sidebar .f-checkbox-tab-1-s1 .toggle input {
  display: none;
}

.modern-server-list .header-list {
  display: flex;
  gap: 8px;
}
.modern-server-list .header-list .header-row {
  display: flex;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--text-secondary);
}
.modern-server-list .header-list .header-row .col {
  height: 32px;
  vertical-align: middle;
}
.modern-server-list .list-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modern-server-list .list-body .server-item {
  display: flex;
  width: 100%;
  background: var(--card-bg-default, #fff);
  border-radius: 10px;
  border: 1px solid hsla(var(--game-hue, 210), 20%, 92%, 1);
  padding: 10px 14px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
html[data-theme=dark] .modern-server-list .list-body .server-item {
  border-color: hsla(var(--game-hue, 210), 4%, 25%, 1);
}
.modern-server-list .list-body .server-item.premium-server {
  background-color: var(--game-server-premium, var(--glass-bg-hard));
}
.modern-server-list .list-body .server-item.up-server {
  background: linear-gradient(90deg, #ff834d, #ca8012 26.56%, #bdfa00 75%, #f6f93f);
}
.modern-server-list .list-body .server-item.disabled-server {
  opacity: 0.5;
}
.modern-server-list .list-body .server-item.header-row {
  background: none;
  border: 0;
  font-weight: 500;
}
.modern-server-list .list-body .server-item.header-row:hover {
  color: var(--text-secondary);
}
.modern-server-list .list-body .server-item.agg_ad::after {
  overflow: hidden;
  content: "ТОП";
  width: 13px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--game-card-bg, #333);
  color: var(--game-card-in, #fff);
  border-radius: 0 9px 9px 0;
  writing-mode: vertical-rl;
  font-size: 10px;
  padding: 8px 0px;
  line-height: 14px;
  text-align: center;
  opacity: 0.9;
}
.modern-server-list .list-body .server-item .col {
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 10px;
  flex-basis: 16.6666666667%;
}
.modern-server-list .list-body .server-item .col.server-info {
  padding: 0;
  flex-basis: 1%;
}
.modern-server-list .list-body .server-item .col.server-main {
  padding-left: 0;
  flex-basis: 40%;
  flex-grow: 1;
}
.modern-server-list .list-body .server-item .col .main-row {
  display: grid;
  grid-template-rows: 1fr auto;
}
.modern-server-list .list-body .server-item .col .main-row .overflow-fix {
  display: flex;
  align-items: center;
  min-width: 0;
}
.modern-server-list .list-body .server-item .col .main-row .bad-version {
  margin-right: 5px;
  color: #fc1919;
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .col .main-row {
    flex-direction: column;
    gap: 0;
  }
}
.modern-server-list .list-body .server-item .col:last-of-type, .modern-server-list .list-body .server-item .col.last {
  border-radius: 0 9px 9px 0;
  padding-right: 0px;
  flex-basis: 20px;
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .col:last-of-type, .modern-server-list .list-body .server-item .col.last {
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .col.players-on-map {
    display: none;
  }
}
.modern-server-list .list-body .server-item .col.col-about {
  flex-basis: 100px;
}
.modern-server-list .list-body .server-item .col.col-ip {
  flex-basis: 225px;
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .col.col-ip {
    display: none;
  }
}
.modern-server-list .list-body .server-item .players-info {
  display: flex;
  background: var(--game-color-dark);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.6;
  min-width: 60px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  padding: 0 6px;
  white-space: nowrap;
}
.modern-server-list .list-body .server-item .players-info .bots {
  display: flex;
  align-items: center;
  margin: -2px -2px 0 3px;
}
.modern-server-list .list-body .server-item .players-now {
  display: flex;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.6;
  min-width: 60px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  white-space: nowrap;
  overflow: hidden;
}
.modern-server-list .list-body .server-item .players-now .real {
  background: var(--game-color-dark);
  padding: 0 6px;
  text-align: center;
}
.modern-server-list .list-body .server-item .players-now .real.min-w60 {
  min-width: 60px;
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .players-now .real.min-w60 {
    min-width: 50px;
  }
  .modern-server-list .list-body .server-item .players-info,
  .modern-server-list .list-body .server-item .players-now {
    border-radius: 6px;
  }
  .modern-server-list .list-body .server-item .players-now .real {
    border-radius: 6px;
  }
  .modern-server-list .list-body .mod {
    border-radius: 5px;
    padding: 2px 6px;
  }
}
.modern-server-list .list-body .server-item .players-now .fake {
  display: flex;
  background: var(--game-color-subdark, #ccc);
  padding: 0 6px;
}
.modern-server-list .list-body .server-item .players-now .fake span,
.modern-server-list .list-body .server-item .players-now .fake svg {
  opacity: 0.92;
}
.modern-server-list .list-body .server-item .players-now .bots {
  display: flex;
  align-items: center;
  margin: -2px -2px 0 2px;
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item .players-now {
    min-width: 40px;
    font-size: 12px;
  }
}
.modern-server-list .list-body .server-item .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 18px;
}
.modern-server-list .list-body .server-item .tag-list .tag-item {
  display: block;
  border-radius: 3px;
  font-size: 12px;
  line-height: 18px;
  padding: 0 6px;
  background-color: #e6e8e9;
  background: var(--game-tag-bg, #edeef0);
  color: var(--game-tag-color, #5a6164);
}
.modern-server-list .list-body .server-item .tag-list .tag-item::first-letter {
  text-transform: uppercase;
}
.modern-server-list .list-body .server-item .tag-list .tag-item:hover {
  cursor: pointer;
  background-image: var(--hover-gradient);
}
.modern-server-list .list-body .server-item .tag-list .tag-item.tag-mod {
  background: var(--game-tagmod-color);
  color: #eee;
}
.modern-server-list .list-body .server-item .tag-list .tag-item.tag-mod:hover {
  opacity: 0.85;
  cursor: default;
}
.modern-server-list .list-body .server-item .tag-list .tag-item.tag-mirror {
  background: transparent;
  color: var(--text-secondary, #8a9196);
  box-shadow: inset 0 0 0 1px var(--glass-br-soft, #d8dbde);
}
.modern-server-list .list-body .server-item .tag-list .tag-item.tag-mirror:hover {
  background-image: none;
  background: var(--glass-bg-neutral, #edeef0);
  color: var(--text-main, #2c3134);
}
.modern-server-list .list-body .server-item .new-online {
  background: url(/assets/img/temp/de_dust2_2x2.jpg);
  border-radius: 9px;
  padding: 7px 18px;
  color: #fff;
  display: flex;
  gap: 34px;
  backdrop-filter: blur(20px);
  background-size: cover;
  background-position: left;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  /* mix-blend-mode: multiply; */
  /* background: #2d3844; */
  font-size: 13px;
  background: var(--game-color-dark);
  box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.8);
}
.modern-server-list .list-body .server-item .new-online .map-now {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
}
.modern-server-list .list-body .server-item .new-online .backdrop {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(10px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 9px;
  /* box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px; */
  z-index: -1;
}
.modern-server-list .list-body .server-item .country {
  display: flex;
}
.modern-server-list .list-body .server-item .country img {
  width: 17px;
  height: 11px;
  border-radius: 1px;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.4901960784);
  margin-top: -1px;
  object-fit: cover;
}
.modern-server-list .list-body .server-item .ip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min-content;
  white-space: nowrap;
}
.modern-server-list .list-body .server-item .ip:hover {
  cursor: pointer;
}
.modern-server-list .list-body .server-item .ip-block {
  position: relative;
  color: var(--text-secondary);
}
.modern-server-list .list-body .server-item .map {
  width: 140px;
}
.modern-server-list .list-body .server-item .map .map-info {
  display: flex;
  align-items: center;
  gap: 4px;
}
.modern-server-list .list-body .server-item .map .map-info .map-icon img {
  width: 20px;
  height: 15px;
}
.modern-server-list .list-body .server-item .map .map-name {
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}
.modern-server-list .list-body .server-item .play-icon:hover {
  cursor: pointer;
  opacity: 0.6;
}
.modern-server-list .list-body .server-item .fast-about {
  display: flex;
}
.modern-server-list .list-body .server-item .fast-about .youtube i {
  color: var(--game-icon-color-secondary, var(--text-secondary));
  font-size: 14px;
  margin-top: 1px;
}
.modern-server-list .list-body .server-item .fast-about .svg-fast-icon {
  fill: var(--game-icon-color-secondary, var(--text-secondary));
}
.modern-server-list .list-body .server-item .fast-about .svg-fast-icon path {
  fill: var(--game-icon-color-secondary, var(--text-secondary));
}
.modern-server-list .list-body .server-item .fast-about .comments-count {
  color: var(--game-icon-color-secondary, var(--text-secondary));
}
.modern-server-list .list-body .server-item .reviews {
  display: flex;
  gap: 3px;
}
.modern-server-list .list-body .server-item .reviews .comments-count {
  font-weight: 500;
  line-height: 17px;
  font-size: 12px;
}
.modern-server-list .list-body .server-item .col-online {
  display: flex;
  align-items: center;
  gap: 12px;
}
.modern-server-list .list-body .server-item .reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  color: var(--text-secondary, #8b8fa3);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.modern-server-list .list-body .server-item .reviews-badge:hover {
  color: var(--text-default, #e0e0e0);
}
.modern-server-list .list-body .server-item .reviews-badge svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.modern-server-list .list-body .server-item .reviews-badge:hover svg {
  opacity: 1;
}
.server-list .server-item .col-online {
  display: flex;
  align-items: center;
  gap: 12px;
}
.server-list .server-item .reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  color: var(--text-secondary, #8b8fa3);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.server-list .server-item .reviews-badge:hover {
  color: var(--text-default, #e0e0e0);
}
.server-list .server-item .reviews-badge svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.server-list .server-item .reviews-badge:hover svg {
  opacity: 1;
}
.modern-server-list .list-body .server-item .glitter-box {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-image: url(/templates/MonWave-v3/assets/image/glitter_albedo.png);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 67%, black 90%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 67%, black 90%);
  mix-blend-mode: screen;
  background-repeat: repeat-y;
  background-position: 100% 0;
  background-size: 512px contain;
  z-index: 0;
}
html[data-theme=dark] .modern-server-list .list-body .server-item .glitter-box {
  opacity: 0.2;
}
.modern-server-list .list-body .server-item .glitter-box .first {
  position: absolute;
  right: 0;
  width: 512px;
  height: 100%;
  background-image: url(/templates/MonWave-v3/assets/image/glitter_color.png);
  -webkit-mask-image: url(/templates/MonWave-v3/assets/image/glitter.png);
  mask-image: url(/templates/MonWave-v3/assets/image/glitter.png);
  mask-size: 32px;
  -webkit-mask-size: 32px;
  mix-blend-mode: screen;
  animation-name: yirbadges_glitterMove_2UzEp;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.modern-server-list .list-body .server-item .glitter-box .second {
  position: absolute;
  right: 0;
  width: 512px;
  height: 100%;
  background-image: url("/templates/MonWave-v3/assets/image/glitter_color.png");
  -webkit-mask-image: url("/templates/MonWave-v3/assets/image/glitter.png");
  mask-image: url("/templates/MonWave-v3/assets/image/glitter.png");
  mask-size: 32px;
  -webkit-mask-size: 32px;
  mix-blend-mode: screen;
  animation-name: yirbadges_glitterMove_2UzEp;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  -webkit-mask-size: 64px;
  box-sizing: border-box;
  right: -32px;
  animation-duration: 12s;
}
@keyframes yirbadges_glitterMove_2UzEp {
  from {
    background-position: 0;
  }
  to {
    background-position: 512px;
  }
}
@keyframes yirbadges_glitterMove2_309-e {
  from {
    background-position: 0 0px;
  }
  to {
    background-position: 512px -128px;
  }
}
.modern-server-list .list-body .server-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  border-color: hsla(var(--game-hue, 210), 30%, 85%, 1);
}
html[data-theme=dark] .modern-server-list .list-body .server-item:hover {
  border-color: hsla(var(--game-hue, 210), 10%, 35%, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
  .modern-server-list .list-body .server-item {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--glass-br-soft);
    background: var(--glass-bg-neutral);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 2px;
    padding: 10px 12px;
  }
  .modern-server-list .list-body {
    gap: 8px;
    padding: 0 10px;
  }
}
.modern-server-list .list-body .mod {
  background: #216aa1;
  border-radius: 5px;
  padding: 2px 6px;
  color: #fff;
  margin-right: 5px;
  white-space: nowrap;
  font-size: 12px;
}
.modern-server-list .list-body .server-name {
  display: block;
  font-weight: 500;
  white-space: nowrap;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modern-server-list .list-body .server-name:hover {
  opacity: var(--hover-opacity);
}
.modern-server-list.t-mon .list-body .server-item {
  padding: 6px 14px;
}

.contextual-menu .contextual-menu-item > button {
  margin: 0;
  padding: 0;
  display: flex;
  border: 0;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-size: 13px;
  line-height: 1.2307692308;
  font-weight: 400;
  letter-spacing: 0em;
  padding: 0 16px;
  width: 100%;
  height: 45px;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}

.select-game {
  z-index: 4;
}
.select-game .game-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  max-height: unset;
  padding: 0;
  border-radius: 2px;
  font-weight: normal;
  letter-spacing: unset;
  text-align: left;
}
.select-game .game-icon img {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 3px;
}
.select-game .game-info .title {
  font-size: 14px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.select-game .game-info .sub {
  font-size: 12px;
  color: #e5e5e5;
}
.select-game .dropdown.is-active .game-button {
  color: #222;
  background: #fff;
}
.select-game .dropdown.is-active .game-button .sub {
  color: #474747;
}

.select-game-h {
  width: 100%;
  margin: 4px 0 16px 0;
  padding: 0px 14px;
}
.select-game-h .dropdown-trigger {
  width: 100%;
}
.select-game-h .game-search-wrapper {
  position: relative;
}
.select-game-h .game-search-wrapper i {
  font-size: 13px;
  color: var(--text-glass-hard);
  bottom: 0;
  inset-inline-start: 12px;
  margin: auto 0;
  position: absolute;
  top: 0;
  height: 13px;
  width: 13px;
}
.select-game-h .game-search {
  height: 36px;
  border: 1px solid var(--glass-br-soft);
  box-shadow: none;
  border-radius: 8px;
  padding: 3px 12px;
  padding-inline-start: 32px;
  background: var(--input-bg-default, #fff);
  color: var(--text-default);
  font-size: 13px;
  transition: border-color 0.15s ease;
}
.select-game-h .game-search:focus {
  border-color: var(--game-bg-target, #333);
  outline: none;
}
.select-game-h .game-search:focus-visible {
  outline: 1px solid var(--game-bg-target, #333);
}
.select-game-h.dropdown {
  align-items: center;
}
.select-game-h.dropdown .button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 12px;
  max-height: none;
  min-height: 52px;
  text-align: left;
  font-weight: 400;
  background-color: var(--game-bg-target, hsl(240, 5%, 35%));
  border: none;
  border-radius: 10px;
  /* Цвет текста — из цветов игры: у CS:S, CS:GO, HL и др. на светлой кнопке он тёмный */
  color: var(--game-text-target-in, #fff);
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.select-game-h.dropdown .button:hover {
  opacity: 0.88;
}
.select-game-h.dropdown .button:active {
  transform: scale(0.97);
}
.select-game-h.dropdown .dropdown-menu {
  left: 265px;
  top: 0px;
  padding: 0;
  width: max-content;
  min-width: 700px;
  max-width: calc(100vw - 300px);
}
@media (max-width: 767px) {
  .select-game-h.dropdown .dropdown-menu {
    min-width: unset;
    left: 0;
    top: 60px;
    width: 100%;
    max-width: 100%;
  }
}
.select-game-h.dropdown .dropdown-content {
  background: var(--glass-gradient-bg-hard);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 1px, rgba(207, 207, 207, 0.15) 0px 0px 0px 1px, 0 2px 25px 0 rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
@media (max-width: 767px) {
  .select-game-h.dropdown .dropdown-content {
    height: calc(100svh - 55px);
    overflow-y: auto;
    padding-bottom: 60px;
  }
}
.select-game-h.dropdown.is-active .dropdown-content {
  -webkit-animation: fly-out 0.5s 1 ease;
  animation: fly-out 0.5s 1 ease;
}
.select-game-h.dropdown.is-active ~ .nav-wrapper {
  opacity: 0;
}
.select-game-h .game-info {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  /* Bulma даёт .button white-space: nowrap — без этого «Counter-Strike: Source» не переносится, а обрезается */
  white-space: normal;
}
.select-game-h .game-info .name {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.select-game-h .game-info .caption {
  color: inherit;
  opacity: 0.85;
  font-size: 13px;
  line-height: 16px;
}
.select-game-h .drgame-list {
  display: grid;
  gap: 6px 16px;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 767px) {
  .select-game-h .drgame-list {
    grid-template-columns: 1fr;
  }
}
@-webkit-keyframes fly-out {
  0% {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fly-out {
  0% {
    opacity: 0;
    transform: translate3d(-20px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.select-game-h a.game-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.select-game-h a.game-item .dr-icon {
  border-radius: 6px;
  box-shadow: inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.24);
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 34px;
}
.select-game-h a.game-item .dr-icon .icon {
  max-width: 26px;
  max-height: 26px;
}
.select-game-h a.game-item:hover {
  background: var(--tr-bg-glass);
  border-color: var(--glass-br-soft);
  cursor: pointer;
}
.select-game-h a.game-item .name {
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-game-h a .g-cs16 {
  background: #4c5844;
}
.select-game-h a .g-csgo {
  background-color: var(--game-csgo);
}
.select-game-h a .g-cs2 {
  background-color: #28397f;
}
.select-game-h a .g-css {
  background-color: var(--game-css);
}
.select-game-h a .g-garrysmod {
  background-color: var(--game-garrysmod);
}
.select-game-h a .g-hl {
  background-color: var(--game-hl);
}
.select-game-h a .g-hl2 {
  background-color: var(--game-hl2);
}
.select-game-h a .g-minecraft {
  background-color: #018944;
}
.select-game-h a .g-samp {
  background-color: #bdd0a1;
}
.select-game-h a .g-mta {
  background-color: #c55f13;
}
.select-game-h a .g-gta5 {
  background-color: #5a8d21;
}
.select-game-h a .g-dayz {
  background-color: #1f1f1f;
}
.select-game-h a .g-rust {
  background-color: #cc412b;
}
.select-game-h a .g-tf2 {
  background-color: #bf862a;
}
.select-game-h a .g-zomboid {
  background-color: #2f3b43;
}
.select-game-h a .g-unturned {
  background-color: #627c62;
}
.select-game-h a .g-vrising {
  background-color: #c52543;
}
.select-game-h a .g-gta5 {
  background-color: #5a8d21;
}
.select-game-h a .g-7_days_to_die {
  background-color: #b7a27e;
}
.select-game-h a .g-arma3 {
  background-color: #000;
}
.select-game-h a .g-scum {
  background-color: #f38509;
}
.select-game-h a .g-ark_survival_evolved {
  background-color: #81ae27;
}
.select-game-h a .g-left4dead2 {
  background-color: #d2a00e;
}
.select-game-h a .g-terraria {
  background-color: #916748;
}
.select-game-h .is-small i {
  font-size: 13px;
  color: inherit;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .select-game-h {
    margin: 0px 0 16px 0;
    padding-top: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .select-game-h.dropdown .button {
    height: 52px;
    max-height: 52px;
    padding: 8px 14px;
    border-radius: 12px;
  }
  .select-game-h .game-info .name {
    font-size: 16px;
    line-height: 20px;
    /* Высота кнопки здесь фиксирована (52px) — вторая строка не влезет, обрезаем многоточием */
    -webkit-line-clamp: 1;
  }
  .select-game-h .game-info .caption {
    font-size: 13px;
  }
  .select-game-h .is-small i {
    font-size: 14px;
  }
  .select-game-h.dropdown .dropdown-content {
    padding: 16px;
    gap: 10px;
  }
  .select-game-h a.game-item {
    padding: 10px 12px;
    gap: 12px;
  }
  .select-game-h a.game-item .name {
    font-size: 15px;
    line-height: 20px;
    white-space: normal;
    overflow: visible;
  }
  .select-game-h a.game-item .dr-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  .select-game-h a.game-item .dr-icon .icon {
    max-width: 28px;
    max-height: 28px;
  }
  .select-game-h .game-search {
    height: 42px;
    font-size: 15px;
    border-radius: 10px;
  }
}
.game-stats .grid-inner {
  grid-template-columns: 1fr;
}
.game-stats .wide-chart {
  border-radius: 10px;
  background-size: cover;
  border: 1px solid var(--glare-color-neutral);
  background-color: var(--game-card-bg, #222);
  margin-bottom: 15px;
}
.game-stats .wide-chart .main-part {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 14px 14px 12px 10px;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}
.game-stats .wide-chart .chart-wrapper {
  flex-grow: 1;
  height: 200px;
}
.game-stats .wide-chart .chart-label {
  margin-left: 20px;
  color: var(--game-card-bg-in, #fff);
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.game-stats .wide-chart .chart-label .info-item .value {
  font-size: 19px;
  font-weight: 500;
}
.game-stats .wide-chart .chart-label .info-item .clabel.max {
  color: rgba(0, 0, 0, 0.45);
  text-shadow: 0px 0.5px 0px rgba(255, 255, 255, 0.45);
}
.game-stats .wide-chart .chart-label .info-item .clabel.avg {
  color: #f4f5f5;
}
.game-stats .wide-chart .info {
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin: 12px 0;
  color: var(--game-card-bg-in, #fff);
}

.server-page .grid-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-rows: auto 1fr;
  gap: 0 40px;
}
.server-page .grid-inner > .server-main-header {
  grid-column: 1;
  grid-row: 1;
}
.server-page .grid-inner > .server-main:not(.server-main-header) {
  grid-column: 1;
  grid-row: 2;
}
.server-page .grid-inner > .server-sidebar {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 767px) {
  .server-page .grid-inner {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 12px;
  }
  .server-page .grid-inner > .server-main-header,
  .server-page .grid-inner > .server-main:not(.server-main-header),
  .server-page .grid-inner > .server-sidebar {
    grid-column: 1;
    grid-row: auto;
    margin: 0 10px;
  }
  .server-page .grid-inner > .server-sidebar {
    display: contents;
  }
  .server-page .server-sidebar > .server-preview-v2,
  .server-page .server-sidebar > .server-bar {
    margin: 0 10px;
  }
  .server-page .grid-inner > .server-main-header { order: 1; }
  .server-page .server-sidebar > .server-preview-v2 { order: 2; }
  .server-page .grid-inner > .server-main:not(.server-main-header) { order: 3; }
  .server-page .server-sidebar > .server-bar { order: 4; }
}
.server-page .server-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.server-page .server-preview-v2 {
  border: 1px solid var(--glass-br-soft);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0) 0px 16px 16px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  background: var(--glass-bg-neutral);
}
.server-page .server-preview-v2 .map-img {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  -webkit-filter: drop-shadow(5px 10px 15px rgba(8, 9, 13, 0.4));
  -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 51%, rgba(0, 0, 0, 0) 99%), radial-gradient(81.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 63.6%, rgba(0, 0, 0, 0.98) 84.33%, rgba(0, 0, 0, 0) 79.31%);
  mask: linear-gradient(180deg, rgb(0, 0, 0) 51%, rgba(0, 0, 0, 0) 99%), radial-gradient(81.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 63.6%, rgba(0, 0, 0, 0.98) 84.33%, rgba(0, 0, 0, 0) 79.31%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45);
}
/* CTA — загрузить фото карты (показывается когда нет изображения) */
.server-page .server-preview-v2 .map-upload-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: -8px 0 0 0;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-third);
  background: linear-gradient(135deg, rgba(159, 201, 255, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--glass-br-soft);
  transition: all 0.25s ease;
  cursor: pointer;
}
.server-page .server-preview-v2 .map-upload-cta:hover {
  background: linear-gradient(135deg, rgba(159, 201, 255, 0.08) 0%, rgba(159, 201, 255, 0.02) 100%);
  color: var(--text-secondary);
}
.server-page .server-preview-v2 .map-upload-cta > i:first-child {
  font-size: 16px;
  color: #7eb8ff;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.server-page .server-preview-v2 .map-upload-cta:hover > i:first-child {
  opacity: 0.9;
}
.server-page .server-preview-v2 .map-upload-cta > span {
  flex: 1;
}
.server-page .server-preview-v2 .map-upload-cta > span strong {
  color: #7eb8ff;
  font-weight: 600;
}
.server-page .server-preview-v2 .map-upload-cta__arrow {
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}
.server-page .server-preview-v2 .map-upload-cta:hover .map-upload-cta__arrow {
  opacity: 0.6;
  transform: translateX(0);
}

.server-page .server-preview-v2 .info-box {
  padding: 0 16px 12px 16px;
}
.server-page .server-preview-v2 .online-box {
  margin-bottom: 12px;
}
.server-page .server-preview-v2 .online-box .headbar {
  display: flex;
  justify-content: space-between;
  line-height: 28px;
}
.server-page .server-preview-v2 .online-box .headbar .title {
  font-size: 14px;
  font-weight: 500;
}
.server-page .server-preview-v2 .online-box .caption {
  display: flex;
  justify-content: space-between;
  margin: 4px 1px;
  color: var(--text-glass-hard);
  font-size: 12px;
  gap: 10px;
}
.server-page .server-preview-v2 .online-box .online-bar {
  width: 100%;
  height: 18px;
  padding: 2px 2px;
  border-radius: 8px;
  border: 1px solid rgba(204, 214, 228, 0.6);
}
.server-page .server-preview-v2 .online-box .online-bar .current {
  background: rgb(253, 208, 215);
  background: -moz-linear-gradient(90deg, rgb(253, 208, 215) 0%, rgb(252, 224, 188) 50%, rgb(221, 239, 241) 100%);
  background: -webkit-linear-gradient(90deg, rgb(253, 208, 215) 0%, rgb(252, 224, 188) 50%, rgb(221, 239, 241) 100%);
  background: linear-gradient(90deg, rgb(253, 208, 215) 0%, rgb(252, 224, 188) 50%, rgb(221, 239, 241) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdd0d7",endColorstr="#ddeff1",GradientType=1);
  width: 200px;
  height: 100%;
  border-radius: 6px;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
}
.server-page .server-preview-v2 .online-box .online-bar .caret-checkpoint {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: -12px;
  right: 0;
  justify-content: space-between;
  gap: 18px;
  font-size: 9px;
  color: var(--text-secondary);
}
.server-page .server-preview {
  grid-column: 2/3;
  grid-row: 1/3;
}
.server-page .server-preview .map-info .selected-map {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.server-page .server-preview .map-info .selected-map .img-map {
  display: inline-block;
  vertical-align: top;
  border-radius: 2.5px;
  width: 320px;
  border: none;
  height: 220px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4784313725);
}
.server-page .server-preview .map-info .current-map {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.server-page .server-preview .map-info .current-map::after {
  content: "";
  position: absolute;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4784313725);
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  left: 0;
  top: 0;
}
.server-page .server-preview .map-info .current-map .map-img {
  max-width: 320px;
  width: 100%;
}
.server-page .server-preview .map-info .status-info {
  position: absolute;
  top: 0px;
  background: rgba(65, 65, 65, 0.7215686275);
  border-radius: 2.5px;
  font-weight: 500;
  font-size: 15px;
  padding: 5px 8px 4px 7px;
  line-height: 14px;
}
.server-page .server-preview .map-info .status-info .dot {
  height: 12px;
  width: 12px;
  background-color: #a2d933;
  border-radius: 50%;
  display: inline-block;
  margin-right: 3px;
}
.server-page .server-preview .map-info .status-info .dot.off {
  background-color: #b92930;
}
.server-page .server-preview .map-info .status-info .text {
  text-transform: uppercase;
  color: #fff;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 14px;
  padding: 0px 0px;
  vertical-align: top;
}
.server-page .server-preview .map-info .img-info {
  position: absolute;
  font-weight: 500;
  font-size: 15px;
  padding: 5px 8px 4px 8px;
  line-height: 14px;
  bottom: 0px;
  width: 100%;
  background: rgba(65, 65, 65, 0.7215686275);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
  z-index: 3;
}
.server-page .server-preview .map-info .img-info img {
  border: none;
}
.server-page .server-preview .map-info .img-info .text {
  text-transform: uppercase;
  color: #fff;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 14px;
  padding: 0px 0px;
  vertical-align: text-bottom;
}
.server-page .server-preview .map-info .img-info .about-players {
  font-size: 11.5px;
  color: #c8c8c8;
  font-weight: 400;
  padding: 4px 0px 3px 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-page .server-preview .map-info .img-info .dark-blue {
  color: #001f55;
  font-weight: 500;
}
.server-page .server-preview .video-review {
  margin-top: 8px;
}
.server-page .server-preview .video-review .video-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 4px;
}
.server-page .server-preview .video-review iframe {
  width: 320px;
  height: 180px;
  border-radius: 2.5px;
}
@media (max-width: 767px) {
  .server-page .server-preview {
    grid-column: 1;
    grid-row: 2;
  }
}
.server-page .server-main {
  flex-grow: 1;
  grid-column: 1/2;
  min-width: 0;
  overflow: hidden;
}
.server-page .server-main-header {
  overflow: visible;
  z-index: 10;
}
.server-page .server-main .title {
  margin-bottom: 15px;
}
.server-page .server-main .title .mod {
  font-size: 13px;
  color: var(--game-color-subdark, var(--text-third));
  margin: 0 0 6px 0;
  padding: 0;
  border-bottom: none;
  line-height: 1.4;
  font-weight: 500;
}
.server-page .server-main .title .mod a {
  color: var(--game-color-subdark, var(--text-third));
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.server-page .server-main .title .mod a:hover {
  opacity: 0.7;
}
/* Тёмная тема: --game-color-subdark у игр тёмный (у CS:GO #39414d) — на тёмном фоне строка
   «Паблик сервер в Counter-Strike: Global Offensive» над именем сервера пропадала (v0.65.44) */
html[data-theme=dark] .server-page .server-main .title .mod,
html[data-theme=dark] .server-page .server-main .title .mod a {
  color: var(--text-sub);
}
.server-page .server-main .title h1 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 8px 0;
  font-family: "Russo One", sans-serif;
  word-break: break-word;
  color: var(--text-default);
}
.server-page .server-main .title h2.server-ip,
.server-page .server-main .title h3.server-ip {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 0;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}
.server-page .server-main .title .more {
  display: flex;
  gap: 8px;
  align-items: center;
}
.server-page .server-main .title .more .country img {
  width: 20px;
  border-radius: 2px;
  display: block;
}
.server-page .server-main .title .more .query-port {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: var(--glass-bg-softer);
  border: none;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-sub);
}
.server-page .server-main .chart-wrapper {
  width: 480px;
  margin-top: 10px;
  margin-bottom: 15px;
}
/* ===== Serverbar — панель действий сервера ===== */
.server-page .server-main .serverbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.server-page .server-main .serverbar__main {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Общая база для всех кнопок serverbar --- */
.server-page .server-main .serverbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s, opacity 0.15s;
  padding: 0 14px;
  height: 38px;
  box-shadow: none;
  text-decoration: none;
}
.server-page .server-main .serverbar__btn i {
  font-size: 14px;
  margin: 0;
  line-height: 1;
}
.server-page .server-main .serverbar__btn svg {
  flex-shrink: 0;
}

/* --- Primary: «Играть» --- */
.server-page .server-main .serverbar__btn--play {
  background: var(--game-bg-target);
  color: var(--game-text-target-in);
  padding: 0 20px;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}
.server-page .server-main .serverbar__btn--play svg,
.server-page .server-main .serverbar__btn--play path {
  fill: currentColor !important;
}
.server-page .server-main .serverbar__btn--play:hover {
  opacity: 0.88;
}

/* --- Модалка «Играть на сервере» (Minecraft Java) --- */
.mc-connect-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px;
}
.mc-connect-modal__card {
  background: var(--glass-bg, #fff);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.08);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  animation: mcModalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.mc-connect-modal__hero {
  position: relative;
  background: linear-gradient(135deg, var(--game-bg-target, #28a745) 0%, #1a8a3e 100%);
  padding: 28px 24px 22px;
  text-align: center;
}
.mc-connect-modal__hero-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.mc-connect-modal__hero-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.mc-connect-modal__hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mc-connect-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.15);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mc-connect-modal__close:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
}
.mc-connect-modal__body {
  padding: 20px 24px 0;
}
.mc-connect-modal__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-sub, #888);
  margin-bottom: 8px;
}
.mc-connect-modal__ip-row {
  display: flex;
  align-items: center;
  border: 2px solid var(--glass-border, rgba(255,255,255,0.08));
  border-radius: 12px;
  background: var(--glass-bg-softer, rgba(255,255,255,0.04));
  padding: 4px;
  gap: 0;
}
.mc-connect-modal__ip-input {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main, #1a1a1a);
  outline: none;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  text-align: center;
  letter-spacing: 0.3px;
}
.mc-connect-modal__copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: var(--game-bg-target, #28a745);
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  transition: background 0.15s, transform 0.1s;
}
.mc-connect-modal__copy-btn:hover {
  background: #1a8a3e;
  transform: scale(1.05);
}
.mc-connect-modal__copy-btn.copied {
  background: #1a8a3e;
}
.mc-connect-modal__steps {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mc-connect-modal__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-sub, #555);
  line-height: 1.4;
}
.mc-connect-modal__step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glass-bg-softer, #f0f1f3);
  color: var(--text-main, #333);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mc-connect-modal__footer {
  padding: 20px 24px 24px;
  display: flex;
  justify-content: center;
}
.mc-connect-modal__ok-btn {
  background: var(--glass-bg-softer, #f0f1f3);
  color: var(--text-main, #333);
  border: none;
  border-radius: 12px;
  padding: 11px 56px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.mc-connect-modal__ok-btn:hover {
  background: var(--bg-hover, #e5e6e8);
}

/* --- Ghost: вторичные кнопки (избранное, редактировать, подтвердить, ...) --- */
.server-page .server-main .serverbar__btn--ghost {
  background: transparent;
  color: var(--text-sub, #6e6e73);
  border: 1px solid var(--input-br-default, #dce2e7);
}
.server-page .server-main .serverbar__btn--ghost:hover {
  background: var(--hover-bg, rgba(0,0,0,0.04));
  border-color: var(--text-sub, #86868b);
}
html[data-theme="dark"] .server-page .server-main .serverbar__btn--ghost {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-sub, #a1a1a6);
}
html[data-theme="dark"] .server-page .server-main .serverbar__btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

/* --- Текстовые подписи — скрываются на мобиле (кроме «Играть») --- */
.server-page .server-main .serverbar__label {
  pointer-events: none;
}

/* --- Блок «Ещё» (админ dropdown) --- */
.server-page .server-main .serverbar__more {
  position: relative;
  margin-left: 2px;
}

/* --- Dropdown-меню (скрыто по умолчанию) --- */
.server-page .server-main .serverbar__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--input-bg-default, #fff);
  border: 1px solid var(--input-br-default, #dce2e7);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  padding: 6px 0;
  z-index: 120;
  animation: serverbar-dd-in 0.15s ease-out;
}
html[data-theme="dark"] .server-page .server-main .serverbar__dropdown {
  background: var(--glass-bg-softer, #2c2c2e);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
@keyframes serverbar-dd-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.server-page .server-main .serverbar__dropdown.is-open {
  display: block;
}

/* --- Элемент dropdown --- */
.server-page .server-main .serverbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--text-default, #1d1d1f);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
  white-space: nowrap;
}
.server-page .server-main .serverbar__dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-sub, #6e6e73);
  margin: 0;
}
.server-page .server-main .serverbar__dropdown-item:hover {
  background: var(--hover-bg, rgba(0,0,0,0.04));
}
html[data-theme="dark"] .server-page .server-main .serverbar__dropdown-item {
  color: var(--text-default, #f5f5f7);
}
html[data-theme="dark"] .server-page .server-main .serverbar__dropdown-item:hover {
  background: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .server-page .server-main .serverbar__dropdown-item i {
  color: var(--text-sub, #a1a1a6);
}

/* --- Опасное действие (удалить) --- */
.server-page .server-main .serverbar__dropdown-item--danger {
  color: #ff3b30;
}
.server-page .server-main .serverbar__dropdown-item--danger i {
  color: #ff3b30;
}
.server-page .server-main .serverbar__dropdown-item--danger:hover {
  background: rgba(255, 59, 48, 0.08);
}

/* --- Разделитель в dropdown --- */
.server-page .server-main .serverbar__dropdown-divider {
  height: 1px;
  margin: 4px 12px;
  background: var(--input-br-default, #e5e5ea);
}
html[data-theme="dark"] .server-page .server-main .serverbar__dropdown-divider {
  background: rgba(255,255,255,0.1);
}

/* --- Мобильная адаптивность --- */
@media (max-width: 767px) {
  .server-page .server-main .serverbar {
    gap: 5px;
  }
  .server-page .server-main .serverbar__main {
    gap: 5px;
  }
  .server-page .server-main .serverbar__btn--play {
    padding: 0 16px;
    height: 38px;
    font-size: 13px;
  }
  .server-page .server-main .serverbar__btn--ghost {
    padding: 0 10px;
    height: 36px;
  }
  .server-page .server-main .serverbar__btn--ghost .serverbar__label {
    display: none;
  }
  .server-page .server-main .serverbar__dropdown {
    right: 0;
    left: auto;
  }
}
@media (max-width: 767px) {
  .server-page .server-main {
    grid-column: 1;
  }
}
.server-page .server-reviews {
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-top: 18px;
  font-size: 14px;
}
.server-page .server-reviews .server-reviews-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.server-page .server-reviews .server-reviews-header .title-box {
  flex-grow: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.server-page .server-reviews .server-reviews-header .title-box .reviews-title {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-default);
}
.server-page .server-reviews .server-reviews-header .title-box .reviews-count {
  background: var(--glass-bg-softer);
  border-radius: 6px;
  color: var(--text-secondary);
  padding: 1px 7px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}
/* Услуга «Скрытие отзывов» (v0.62.0): ссылка владельца в шапке блока и плашка «скрыто» */
.server-page .server-reviews .server-reviews-header .title-box .reviews-hide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px dashed color-mix(in srgb, var(--text-sub) 40%, transparent);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.server-page .server-reviews .server-reviews-header .title-box .reviews-hide-link:hover {
  color: var(--text-default);
  background: var(--glass-bg-softer);
  border-style: solid;
}
.server-page .server-reviews .reviews-hidden-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
  background: rgba(52, 199, 89, 0.07);
  border: 1px solid rgba(52, 199, 89, 0.22);
}
.server-page .server-reviews .reviews-hidden-note i { color: #2e9e4f; font-size: 15px; flex-shrink: 0; }
.server-page .server-reviews .reviews-hidden-note span { flex: 1; min-width: 0; }
.server-page .server-reviews .reviews-hidden-note b { color: var(--text-default); font-weight: 600; }
.server-page .server-reviews .reviews-hidden-note a {
  font-weight: 600;
  white-space: nowrap;  /* вид — общий чип ссылки в тексте, см. «Ссылки в тексте карточек» */
}
.server-page .server-reviews--hidden .review-list,
.server-page .server-reviews--hidden .create-review { opacity: 0.75; }
.server-page .server-reviews .server-reviews-header .actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.server-page .server-reviews .server-reviews-header .actions .label-sort-select {
  display: flex;
  font-size: 13px;
  padding: 5px 10px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  border: none;
  background: var(--glass-bg-softer);
  height: 30px;
  gap: 6px;
  position: relative;
  width: 120px;
  align-items: center;
}
.server-page .server-reviews .server-reviews-header .actions .label-sort-select:hover {
  background: var(--glass-bg-neutral);
  color: var(--text-default);
}
.server-page .server-reviews .server-reviews-header .actions .label-sort-select select {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: inherit;
  border-radius: 8px;
  position: absolute;
  padding: 5px 10px 5px 24px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.server-page .server-reviews .server-reviews-header .actions .label-sort-select select:focus-visible {
  outline: 1px solid var(--game-bg-target, #47c2ff);
}
.server-page .server-reviews .create-review {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
  position: relative;
  background: var(--glass-bg-softer);
  border-radius: 10px;
  overflow: hidden;
}
.server-page .server-reviews .create-review .disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg-harder);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 10px;
  font-size: 14px;
  padding: 15px;
  text-align: center;
  z-index: 2;
  color: var(--text-secondary);
}
.server-page .server-reviews .create-review textarea {
  width: 100%;
  resize: vertical;
  min-height: 72px;
  padding: 14px 14px 10px;
  margin: 0;
  border: none;
  border-radius: 10px 10px 0 0;
  background: transparent;
  font-size: 14px;
  color: var(--text-default);
  line-height: 1.5;
}
.server-page .server-reviews .create-review textarea::placeholder {
  color: var(--text-sub);
}
.server-page .server-reviews .create-review textarea:focus-visible, .server-page .server-reviews .create-review textarea:focus {
  outline: none;
}
.server-page .server-reviews .create-review textarea:focus-visible + .create-toolbar, .server-page .server-reviews .create-review textarea:focus + .create-toolbar {
  border-color: var(--game-bg-target, #47c2ff);
}
.server-page .server-reviews .create-review textarea:focus-visible + .create-toolbar > .btn-comment, .server-page .server-reviews .create-review textarea:focus + .create-toolbar > .btn-comment {
  background: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #fff);
}
.server-page .server-reviews .create-review .create-toolbar {
  display: flex;
  border-top: 1px solid var(--glass-br-soft);
  border-radius: 0 0 10px 10px;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  padding: 6px 8px;
  transition: border-color 0.2s;
}
.server-page .server-reviews .create-review .btn-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  background: var(--glass-bg-neutral);
  color: var(--text-secondary);
  font-size: 13px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.server-page .server-reviews .create-review .btn-comment:hover {
  background: var(--glass-bg-hard);
  color: var(--text-default);
}
.server-page .server-reviews .review-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.server-page .server-reviews .review-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  line-height: 1.4;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--glass-bg-softer);
  transition: background-color 0.2s;
}
.server-page .server-reviews .review-item:hover {
  background: var(--glass-bg-neutral);
}
.server-page .server-reviews .review-item .avatar-box {
  display: flex;
  flex-shrink: 0;
}
.server-page .server-reviews .review-item .avatar-box .avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.server-page .server-reviews .review-item .review-info {
  grid-row: 1/2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.server-page .server-reviews .review-item .review-text {
  grid-row: 2/3;
  margin-left: 40px;
  line-height: 1.55;
  word-break: break-word;
  font-size: 14px;
  color: var(--text-default);
}
@media (max-width: 767px) {
  .server-page .server-reviews .review-item .review-text {
    margin-left: 0;
    margin-top: 2px;
  }
}
.server-page .server-reviews .review-item .actions {
  grid-row: 3/4;
  margin-top: 4px;
  margin-left: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.server-page .server-reviews .review-item .actions .btn-emotion {
  margin-right: 10px;
}
@media (max-width: 767px) {
  .server-page .server-reviews .review-item .actions {
    margin-left: 0;
  }
}
.server-page .server-reviews .review-item .user {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-default);
}
.server-page .server-reviews .review-item .date-block {
  display: flex;
  gap: 8px;
  color: var(--text-sub);
  align-items: center;
}
.server-page .server-reviews .review-item .date {
  font-size: 12px;
}
.server-page .server-reviews .review-item .text {
  word-break: break-word;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}
@media (max-width: 767px) {
  .server-page .server-reviews .review-item {
    padding: 10px 12px;
  }
}
.server-page .extra {
  width: 254px;
  grid-column: 3/4;
}
.server-page .extra .online-now {
  margin-top: 88px;
  margin-bottom: 12px;
  border-radius: 10px;
}
.server-page .extra .online-now .online-sh {
  display: flex;
  gap: 4px 12px;
  padding-right: 4px;
  justify-content: space-between;
  font-weight: 500;
  color: #3c3c3c;
  margin-bottom: 4px;
}
.server-page .extra .online-now .player-list {
  display: flex;
  flex-direction: column;
  gap: 4px 12px;
  width: 254px;
  max-height: 332px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
}
.server-page .extra .online-now .player-list .player-item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background-color: rgba(55, 78, 96, 0.5411764706);
  width: 100%;
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px #555555;
  line-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  max-height: 35px;
}
.server-page .extra .online-now .player-list .player-item .nick {
  flex-grow: 1;
}
.server-page .server-chart {
  border-radius: 12px;
  padding: 14px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.server-page .server-chart canvas {
  width: 100% !important;
}
@media (max-width: 767px) {
  .server-page .server-chart {
    grid-column: 1;
    padding: 14px 12px 10px 8px;
    border-radius: 10px;
  }
  .server-page .server-chart canvas {
    max-height: 200px;
  }
}
.server-page .server-description {
  grid-column: 2/4;
  grid-row: 2;
  margin: 14px 0px;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}
@media (max-width: 767px) {
  .server-page .server-description {
    grid-column: 1;
    grid-row: unset;
  }
}
.server-page .info-limiter {
  overflow: hidden;
  position: relative;
}
.server-page .info-limiter .info-limiter-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(rgba(255, 255, 255, 0.05) 0%, var(--game-bg, #edeef0) 52%);
  display: none;
}
.server-page .info-limiter.collapsed {
  height: 400px; /* Высота видимой части */
}
.server-page .info-limiter.collapsed .info-limiter-fade {
  display: block;
}
.server-page .read-more-button {
  display: flex;
  gap: 8px;
  margin: 16px auto 0;
  cursor: pointer;
  color: var(--game-bg-target, #222);
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.server-page .read-more-button.absolute {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}
.server-page .read-more-button:hover {
  background: var(--game-bg-target);
  border-color: var(--game-bg-target);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  text-decoration: none;
}
.server-page .read-more-button:active {
  transform: translateY(0);
  box-shadow: none;
}
.server-page .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.server-page .tag-list .tag-item {
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 14px;
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.server-page .tag-list .tag-item a {
  color: inherit;
  text-decoration: none;
}
.server-page .tag-list .tag-item:hover {
  background: var(--game-bg-target);
  border-color: var(--game-bg-target);
  color: #fff;
  transform: translateY(-1px);
}
.server-page .tag-list .tag-item:hover a {
  color: #fff;
}
.server-page .tag-list .tag-item::first-letter {
  text-transform: uppercase;
}
.server-page .services .title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 22px;
}
.server-page .services .service-list {
  display: flex;
  padding: 10px 0 10px 0;
  border-radius: 3px;
  flex-direction: column;
  gap: 20px;
}
.server-page .services .service-list .service-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px 14px;
  align-items: center;
}
.server-page .services .service-list .service-item .icon-box {
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--game-icon-color, #8498c9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 3px;
  opacity: 1;
  transform: rotateZ(350deg);
  min-width: 42px;
  width: 42px;
  height: 42px;
  font-size: 17px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0) 0px 16px 16px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
  background: var(--box-icon-bg-glass);
}
.server-page .services .service-list .service-item .service-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.server-page .services .service-list .service-item .service-time {
  font-size: 14px;
  color: var(--text-glass-hard);
}
.server-page .services .service-list .service-item .service-time .service-value {
  font-weight: 500;
  color: var(--text-secondary);
}
.server-page .services .service-list .service-item .service-time .service-purchases {
  opacity: 0.5;
  font-size: 12px;
}
.server-page .server-stats {
  background: var(--game-color-dark);
  border-radius: 10px;
  overflow: hidden;
}
.server-page .server-stats .style-wrapper {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
}
.server-page .server-stats .chart-wrapper {
  padding: 10px;
  height: 300px;
  width: 900px;
}
.server-page .more-servers .server-list {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.server-page .more-servers .server-item {
  display: flex !important;
  align-items: center;
  background: var(--glass-bg-softer);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-width: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  height: auto !important;
  position: relative;
}
.server-page .more-servers .server-item:hover {
  background: var(--glass-bg-neutral);
  border-color: var(--glass-br-soft);
  transform: translateX(4px);
}
.server-page .more-servers .server-item:active {
  transform: translateX(2px);
}
.server-page .more-servers .server-item .col {
  display: block !important;
  padding: 0 !important;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  height: auto !important;
}
.server-page .more-servers .server-item:hover .col {
  background: transparent !important;
  color: inherit !important;
}
.server-page .more-servers .server-item:nth-child(even) .col {
  background: transparent !important;
}
.server-page .more-servers .server-item .col:first-child {
  flex: 1;
  min-width: 0;
}
.server-page .more-servers .server-item .col:last-child:not(:first-child) {
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
  width: auto !important;
  margin-left: 12px;
  text-align: right;
}
.server-page .more-servers .server-item .server-link {
  font-weight: 500;
  font-size: 14px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-main);
  text-decoration: none;
}
.server-page .more-servers .server-item:hover .server-link {
  color: var(--game-bg-target) !important;
}
.server-page .more-servers .server-item .players-info {
  display: inline-block !important;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass-bg-neutral);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
}
.server-page .more-servers .server-item:hover .players-info {
  background: var(--glass-bg-hard);
  color: var(--text-main);
}
.server-page .more-servers .server-item .mobile-sinfo {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}
.server-page .rec-servers-block {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 15px;
}
.server-page .swidget.swidget-wrapper {
  background: var(--glass-bg-neutral);
  border: 1px solid var(--glass-br-soft);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0) 0px 16px 16px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 12px 16px 12px 16px;
}
.server-page .swidget.swidget-wrapper .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}
.server-page .swidget.flex-2-col {
  display: flex;
  gap: 5px;
  align-items: center;
}
.server-page .swidget.flex-2-col .variable-info {
  flex-grow: 1;
}
.server-page .social-links-server {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.server-page .social-links-server .social-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 0 0;
  min-width: 56px;
  max-width: 80px;
  height: 56px;
  border-radius: 12px;
  background: var(--glass-bg-softer);
  border: 1px solid var(--glass-br-soft);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-size: 20px;
  text-decoration: none;
}
.server-page .social-links-server .social-link-item .social-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  line-height: 1;
  opacity: 0.7;
}
.server-page .social-links-server .social-link-item svg {
  width: 22px;
  height: 22px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}
.server-page .social-links-server .social-link-item i {
  font-size: 22px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.server-page .social-links-server .social-link-item:hover {
  background: var(--glass-bg-neutral);
  border-color: var(--game-bg-target);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.server-page .social-links-server .social-link-item:hover svg,
.server-page .social-links-server .social-link-item:hover path {
  fill: var(--game-bg-target);
}
.server-page .social-links-server .social-link-item:hover i {
  color: var(--game-bg-target);
}
.server-page .social-links-server .social-link-item:hover .social-label {
  color: var(--game-bg-target);
  opacity: 1;
}
.server-page .uptime-info {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 90px;
  border: 7px solid var(--game-color-1);
  border-radius: 150px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 3px 5px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border-bottom-color: var(--glass-bg-hard);
}
.server-page .uptime-info .ut-value {
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  font-size: 30px;
  font-weight: 600;
}
.server-page .uptime-info .ut-label {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-sub);
  font-weight: 700;
}
.server-page .about-access {
  text-align: center;
}
.server-page .access-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid;
}
.server-page .access-card .access-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.server-page .access-card .access-body {
  text-align: left;
}
.server-page .access-card .access-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.server-page .access-card .access-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-third);
}
.server-page .access-card .access-text a {
  color: inherit;
  text-decoration: none;
}
/* «Этот адрес теперь ваш?» — подсказка новому арендатору IP в блоке «Сервер подтверждён» */
.server-page .access-card .access-reclaim {
  margin-top: 6px;
}
/* .access-reclaim a — общий чип ссылки в тексте, см. «Ссылки в тексте карточек» */
.server-page .access-confirmed {
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.2);
}
.server-page .access-confirmed .access-icon {
  color: #34c759;
  background: rgba(52, 199, 89, 0.1);
}
.server-page .access-confirmed .access-title {
  color: #2a9d47;
}
html[data-theme=dark] .access-confirmed {
  background: rgba(52, 199, 89, 0.1);
  border-color: rgba(52, 199, 89, 0.25);
}

html[data-theme=dark] .access-confirmed .access-title {
  color: #4ade80;
}

html[data-theme=dark] .access-confirmed .access-icon {
  color: #4ade80;
  background: rgba(52, 199, 89, 0.15);
}

.server-page .access-unclaimed {
  background: rgba(0, 122, 255, 0.05);
  border-color: rgba(0, 122, 255, 0.15);
}
.server-page .access-unclaimed .access-icon {
  color: #007aff;
  background: rgba(0, 122, 255, 0.08);
}
.server-page .access-unclaimed .access-title {
  color: var(--text-default);
}
html[data-theme=dark] .access-unclaimed {
  background: rgba(0, 122, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.2);
}

.server-page .access-action {
  margin-top: 10px;
}
.server-page .access-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--game-bg-target, #007aff);
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.server-page .access-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

/* === Widget Promo Block === */
.widget-promo .widget-promo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.widget-promo .widget-promo-header i {
  font-size: 16px;
  color: #4a9eff;
}
.widget-promo .widget-promo-header .title {
  margin-bottom: 0;
}
.widget-promo .widget-preview {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
}
.widget-promo .widget-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.widget-promo .widget-tabs {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.widget-promo .widget-tab-group {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.1));
}
.widget-promo .widget-tab-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-third, #9aa0a6);
  border: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.widget-promo .widget-tab-btn:hover {
  color: var(--text-main, #e8eaed);
}
.widget-promo .widget-tab-btn.active {
  background: rgba(74, 158, 255, 0.15);
  color: #4a9eff;
  font-weight: 600;
}
.widget-promo .widget-code-wrap {
  position: relative;
  margin-bottom: 0;
}
.widget-promo .widget-code {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 10px 40px 10px 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary, #9aa0a6);
  background: var(--glass-bg-neutral, rgba(0,0,0,0.15));
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
  border-radius: 8px;
  resize: none;
  overflow: auto;
  word-break: break-all;
}
.widget-promo .widget-code:focus {
  outline: none;
  border-color: rgba(74, 158, 255, 0.3);
}
.widget-promo .widget-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--glass-bg-neutral, rgba(255,255,255,0.06));
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.1));
  border-radius: 6px;
  color: var(--text-third, #9aa0a6);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-size: 13px;
}
.widget-promo .widget-copy-btn:hover {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.1);
}
.widget-promo .widget-copy-btn.copied {
  color: #2ecc71;
}
.widget-promo .widget-hint {
  font-size: 11px;
  color: var(--text-third, #636e72);
  margin-top: 8px;
  line-height: 1.4;
}

/* Widget promo on success pages (access, add) */
.widget-promo-card {
  background: var(--glass-bg-soft, #1a1d23);
  border-radius: 16px;
  padding: 28px 32px;
  border: 1px solid rgba(74, 158, 255, 0.2);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.widget-promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a9eff 0%, #6c5ce7 100%);
}
.widget-promo-card .wpc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.widget-promo-card .wpc-icon {
  font-size: 28px;
  color: #4a9eff;
  flex-shrink: 0;
  margin-top: 2px;
}
.widget-promo-card .wpc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main, #fff);
  margin: 0 0 4px;
}
.widget-promo-card .wpc-desc {
  font-size: 14px;
  color: var(--text-secondary, #8a929c);
  margin: 0;
  line-height: 1.5;
}
.widget-promo-card .wpc-preview {
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
  text-align: center;
}
.widget-promo-card .wpc-preview img {
  display: block;
  max-width: 320px;
  margin: 0 auto;
}
.widget-promo-card .widget-tabs {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.widget-promo-card .widget-tab-group {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.1));
}
.widget-promo-card .widget-tab-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-third, #9aa0a6);
  border: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.widget-promo-card .widget-tab-btn:hover {
  color: var(--text-main, #e8eaed);
}
.widget-promo-card .widget-tab-btn.active {
  background: rgba(74, 158, 255, 0.15);
  color: #4a9eff;
  font-weight: 600;
}
.widget-promo-card .widget-code-wrap {
  position: relative;
}
.widget-promo-card .widget-code {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 10px 40px 10px 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary, #9aa0a6);
  background: var(--glass-bg-neutral, rgba(0,0,0,0.15));
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
  border-radius: 8px;
  resize: none;
  overflow: auto;
  word-break: break-all;
}
.widget-promo-card .widget-code:focus {
  outline: none;
  border-color: rgba(74, 158, 255, 0.3);
}
.widget-promo-card .widget-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--glass-bg-neutral, rgba(255,255,255,0.06));
  border: 1px solid var(--glass-br-soft, rgba(255,255,255,0.1));
  border-radius: 6px;
  color: var(--text-third, #9aa0a6);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-size: 13px;
}
.widget-promo-card .widget-copy-btn:hover {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.1);
}
.widget-promo-card .widget-copy-btn.copied {
  color: #2ecc71;
}

/* =================================
   Страница «Сервер успешно добавлен»
   (центрированный hero + сетка карточек)
   ================================= */
.sa-success {
  padding: 32px 0 48px;
}
.sa-success__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Hero успеха --- */
.sa-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--glass-bg-soft, rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-br-soft, rgba(255, 255, 255, 0.4));
  border-radius: 20px;
  padding: 48px 32px 40px;
}
.sa-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}
.sa-hero__badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 34px;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.14);
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.sa-success .sa-hero__title {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main, #111);
  margin: 0 0 10px;
}
.sa-hero__sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.sa-hero__sub strong {
  color: var(--text-main, #111);
}
.sa-hero__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: monospace;
  font-size: 14px;
  color: var(--text-tertiary, #888);
}
.sa-hero__ip {
  color: var(--text-secondary);
}
.sa-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* --- Кнопки --- */
.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background 0.15s, border-color 0.15s;
}
.sa-btn:hover {
  transform: translateY(-1px);
}
.sa-btn--primary {
  background: linear-gradient(135deg, #4a9eff 0%, #6c5ce7 100%);
  color: #fff;
}
.sa-btn--primary:hover {
  opacity: 0.92;
}
.sa-btn--ghost {
  background: var(--glass-bg-neutral, rgba(255, 255, 255, 0.6));
  color: var(--text-main, #111);
  border-color: var(--glass-br-soft, rgba(0, 0, 0, 0.08));
}
.sa-btn--block {
  width: 100%;
  justify-content: center;
}

/* --- Уведомление о почте --- */
.sa-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.22);
  border-radius: 14px;
  padding: 18px 22px;
}
.sa-notice__icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 22px;
  color: #27ae60;
}
.sa-notice__title {
  font-size: 15px;
  font-weight: 600;
  color: #27ae60;
  margin: 0 0 4px;
}
.sa-notice__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.sa-notice__text strong {
  color: var(--text-main, #111);
}

/* --- Сетка карточек --- */
.sa-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}
.sa-card {
  background: var(--glass-bg-soft, rgba(255, 255, 255, 0.4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-br-soft, rgba(255, 255, 255, 0.4));
  border-radius: 16px;
  padding: 28px 30px;
}
.sa-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sa-card__emoji {
  font-size: 26px;
  line-height: 1;
}
.sa-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main, #111);
  margin: 0;
}
.sa-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.sa-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sa-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.sa-feats li i {
  font-size: 13px;
  color: #2ecc71;
}

/* Виджет-карточка внутри сетки: убираем собственный внешний отступ */
.sa-cards .widget-promo-card {
  margin: 0;
}

@media (max-width: 767px) {
  .sa-success {
    padding: 12px 0 32px;
  }
  .sa-cards {
    grid-template-columns: 1fr;
  }
  .sa-hero {
    padding: 36px 20px 28px;
    border-radius: 16px;
  }
  .sa-success .sa-hero__title {
    font-size: 23px;
  }
}

.more-server-lists .grid-lists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: 10px;
}
.more-server-lists .grid-lists .grid-item {
  background-color: hsla(var(--game-hue, 210), 100%, 95%, 1);
  color: hsla(var(--game-hue, 210), 28%, 24%, 1);
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--glass-br-soft);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0) 0px 16px 16px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
}
.more-server-lists .grid-lists .grid-item.item-tag {
  background-color: hsl(216, 20%, 95%);
  color: hsl(216, 28%, 24%);
}
.more-server-lists .grid-lists .grid-item.item-a-game {
  color: var(--text-glass-hard);
  background: var(--glass-bg-hard);
}
.more-server-lists .grid-lists .grid-item span {
  text-transform: lowercase;
}
.more-server-lists .grid-lists .grid-item span::first-letter {
  text-transform: uppercase;
}
.more-server-lists .grid-lists .grid-item:hover {
  background: var(--game-bg-target);
  color: var(--game-text-target-in);
  box-shadow: none;
}

.about-list-table .row-about {
  display: flex;
  align-items: flex-end;
  padding: 6px 0;
  line-height: 1.5em;
}
.about-list-table .row-about .th {
  position: relative;
  width: clamp(10px, 170px, 100%);
  color: var(--text-secondary);
}
@media (max-width: 767px) {
  .about-list-table .row-about .th {
    width: clamp(5px, 100%, 100%);
  }
}
.about-list-table .row-about .th.red-color {
  color: #7e0f0f;
}
.about-list-table .row-about .th span {
  display: inline;
  position: relative;
  padding-right: 3px;
}
.about-list-table .row-about .th:before {
  border-bottom: 1px dotted rgba(204, 214, 228, 0.6);
  bottom: 3px;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  width: 100%;
}
.about-list-table .row-about .td {
  font-weight: 500;
  white-space: nowrap;
}
.about-list-table .row-about .td.red-color {
  color: #7e0f0f;
}

.test-prev {
  display: flex;
  height: 350px;
  position: relative;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #272a3b;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
}
.test-prev .map .map-img {
  width: 100%;
  -webkit-filter: saturate(0.95) opacity(0.9) blur(0px);
  filter: saturate(0.95) opacity(0.9) blur(0px);
  max-width: 1900px;
  transform-origin: top;
  -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(51.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(81.31% 127.89% at 49.99% 24.75%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  z-index: -1;
  -o-object-fit: cover;
  object-fit: cover;
}
.test-prev .info-box {
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  height: 200px;
  padding: 16px;
  margin-top: -73px;
}

.pagination {
  display: flex;
}
.pagination.pagination-centered {
  justify-content: center;
}
.pagination ul {
  display: flex;
  padding: 10px 20px;
}
.pagination ul li {
  margin: 0 2px;
}
.pagination ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  height: 36px;
  background: var(--card-bg-default);
  border-radius: 3px;
  padding: 0 6px;
  font-weight: 500;
}
.pagination ul li:first-child a, .pagination ul li:last-child a {
  font-weight: 400;
  padding: 0 8px;
}
.pagination ul li:hover {
  border-radius: 3px;
}
.pagination ul li:hover a {
  opacity: var(--hover-opacity);
  border-radius: 3px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.11);
}
.pagination ul li.active a {
  color: #fff;
  background: #272a3b;
  background-color: var(--game-bg-target);
  color: var(--game-text-target-in);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
}
.pagination ul li.disabled {
  opacity: 0.4;
}
.pagination ul li.disabled a {
  pointer-events: none;
}
.pagination ul li.disabled:hover a {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: unset;
  box-shadow: unset;
}
@media (max-width: 767px) {
  .pagination ul li {
    display: none;
  }
  .pagination ul li:nth-child(1), .pagination ul li:nth-child(2), .pagination ul li:nth-last-child(1), .pagination ul li:nth-last-child(2), .pagination ul li.active {
    display: list-item;
  }
}

.user-interface {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-interface i {
  color: var(--text-default);
}
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.theme-toggle-btn i {
  margin: 0;
  font-size: 16px;
}
@media (max-width: 767px) {
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg-softer, rgba(0,0,0,0.04));
  }
  .theme-toggle-btn i {
    font-size: 15px;
  }
  .user-interface {
    gap: 8px;
  }
}

.user-box {
  position: sticky;
  bottom: 0;
  font-size: 14px;
}
.user-box .dropdown {
  width: 100%;
}
.user-box .dropdown .dropdown-content {
  background: none;
  box-shadow: none;
  padding: 0;
}
.user-box .dropdown .separate-part {
  display: flex;
  gap: 10px;
}
.user-box .dropdown .separate-part .a-item {
  flex-grow: 1;
}
.user-box .dropdown .separate-part .a-out {
  padding: 10px;
}
.user-box .dropdown .a-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  color: var(--text-glass-hard);
}
.user-box .dropdown .a-item .grow {
  flex-grow: 1;
}
.user-box .dropdown .a-item i {
  text-align: center;
  width: 14px;
}
.user-box .dropdown .a-item .counter {
  display: flex;
  background: #fff;
  border-radius: 3px;
  min-width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.4901960784);
  padding: 2px 2px;
}
.user-box .dropdown .a-item .counter:empty {
  display: none;
}
.user-box .dropdown.is-up .dropdown-menu {
  bottom: 42px;
  width: 100%;
  padding: 0;
}
.user-box .dropdown .dropdown-menu {
  width: 100%;
  padding: 0;
  left: unset;
  right: -6px;
  top: calc(100% + 16px);
}
.user-box .dropdown .dropdown-menu .dropdown-content {
  background: var(--glass-gradient-bg-hard);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
}
.user-box .dropdown.is-active {
  transition: min-height 130ms linear;
}
.user-box .dropdown-trigger {
  width: 100%;
}
.user-box .user-card {
  display: flex;
  gap: 10px;
  text-align: left;
  width: 100%;
  align-items: center;
}
.user-box .user-card .avatar-frame {
  background: var(--glass-bg-softer);
  border: 1px solid var(--glass-br-soft);
  display: flex;
  border-radius: 3px;
  overflow: hidden;
}
.user-box .user-card .avatar-img {
  width: 27px;
  height: 26px;
  mix-blend-mode: soft-light;
}
.user-box .user-card .info {
  flex-grow: 1;
  min-width: 0;
}
.user-box .user-card .login {
  color: var(--text-default);
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .user-box .user-card {
    display: none;
  }
}
.user-box .mobile-user-card {
  display: none;
}
.user-box .mobile-user-card i {
  font-size: 15.5px;
  margin: 0;
}
@media (max-width: 767px) {
  .user-box .mobile-user-card {
    display: inherit;
  }
}
.auth-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff !important;
  background: var(--game-bg-target, #2a6496);
  border-radius: 18px;
  padding: 6px 16px;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.auth-login-btn:active {
  transform: scale(0.96);
}
@media (max-width: 767px) {
  .header-v2 .auth-login-btn {
    display: none;
  }
}
.user-box hr {
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin: 2px 0;
}

/* INDEX */
.header-index {
  color: #fff;
  background: rgba(66, 76, 100, 0.7);
  max-height: 240px;
}
.header-index a {
  color: #fff;
}
.header-index .header-top-container {
  grid-template-rows: unset;
}
.header-index .header-top {
  height: 100%;
}
.header-index .header-inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header-index .brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px 0;
  min-height: 100px;
}
.header-index .brand .main-part {
  display: flex;
  align-items: center;
}
.header-index .brand .tagline {
  display: flex;
  font-family: "Russo One", sans-serif;
  font-size: 20px;
  letter-spacing: 0.2px;
  font-weight: 400;
  color: rgb(246, 250, 255);
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .header-index .brand .tagline {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 767px) {
  .header-index .brand {
    grid-template-columns: 1fr auto;
    display: none;
  }
}
@media (max-width: 767px) {
  .header-index .sub-header {
    display: none;
  }
}

.nanobar {
  height: 1px;
}
.nanobar .bar {
  background: rgba(0, 0, 0, 0.71);
}

.header-info {
  display: grid;
  grid-template-columns: 250px 1fr 1fr;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
  height: 80px;
  color: #fff;
  overflow: hidden;
}
.header-info .stats-container {
  padding: 20px 24px 20px 40px;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px;
  opacity: 0.9;
  font-weight: 500;
}
.header-info .stats-container .stats-list {
  display: flex;
  gap: 20px;
}
.header-info .stats-container .stats-list .stats-item .caption {
  text-transform: uppercase;
  color: #47c2ff;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-shadow: #0a425e 0px 1px 1px;
  white-space: nowrap;
}
.header-info .stats-container .stats-list .stats-item .value {
  font-size: 19px;
  margin-top: 2px;
}
.header-info .stats-container .stats-list .stats-item .update {
  font-size: 10px;
  color: #dadfe3;
}
@media (max-width: 767px) {
  .header-info .stats-container {
    display: none;
  }
}
.header-info .actions {
  display: flex;
  align-items: center;
  padding: 20px 24px 20px 40px;
  justify-content: flex-end;
  gap: 8px;
}
.header-info .actions .action-item {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: linear-gradient(rgba(209, 209, 209, 0.15) 0%, rgba(102, 102, 102, 0.05) 100%);
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 0.60219px 0.60219px -1.25px, rgba(0, 0, 0, 0.16) 0px 2.28853px 2.28853px -2.5px, rgba(0, 0, 0, 0.063) 0px 10px 10px -3.75px;
}
.header-info .actions .action-item:focus-within {
  box-shadow: none;
  transform: scale3d(0.95, 0.95, 1);
}
.header-info .actions .action-item.in-out {
  display: none;
}
@media (max-width: 767px) {
  .header-info .actions .action-item.in-out {
    display: initial;
  }
}
.header-info .actions .action-link {
  display: flex;
  align-items: center;
  height: 30px;
  cursor: pointer;
  border-radius: 5px;
  padding: 0 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.header-info .actions .action-link i {
  display: none;
}
@media (max-width: 767px) {
  .header-info .actions .action-link i {
    display: initial;
  }
}
@media (max-width: 767px) {
  .header-info .actions .action-link span {
    display: none;
  }
}
.header-info .actions .action-link:hover {
  cursor: pointer;
  outline: 0.5px solid rgba(255, 255, 255, 0.35);
}
@media (max-width: 767px) {
  .header-info .actions.phone-fix {
    position: fixed;
    top: 10px;
    right: 0;
  }
}
@media (max-width: 767px) {
  .header-info .actions {
    padding: 0 16px 0 0;
    grid-row-start: 1;
  }
}
.header-info.game-vars .stats-item .caption {
  color: var(--game-color-2) !important;
  text-shadow: var(--g-text-shadow-2) 0px 1px 1px !important;
}
@media (max-width: 767px) {
  .header-info {
    grid-template-columns: 1fr 40px;
    margin: 0;
    height: unset;
    grid-template-rows: 1fr;
  }
}

@media (min-width: 1200px) {
  .typewriter {
    width: 41ch;
    border-right: 0.15em solid #fff;
    white-space: nowrap;
    overflow: hidden;
    -webkit-animation: cursor 0.15s step-end infinite, printed_text 3s steps(41), border_delete 3s step-end;
    animation: cursor 0.15s step-end infinite, printed_text 3s steps(41), border_delete 3s step-end;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
}
@-webkit-keyframes cursor {
  0% {
    border-color: white;
  }
  50% {
    border-color: transparent;
  }
  100% {
    border-color: white;
  }
}
@keyframes cursor {
  0% {
    border-color: white;
  }
  50% {
    border-color: transparent;
  }
  100% {
    border-color: white;
  }
}
@-webkit-keyframes printed_text {
  from {
    width: 0;
  }
}
@keyframes printed_text {
  from {
    width: 0;
  }
}
@-webkit-keyframes border_delete {
  to {
    border-right: 0;
  }
}
@keyframes border_delete {
  to {
    border-right: 0;
  }
}
.gamelist-tool {
  margin-top: 24px;
  display: flex;
}
.gamelist-tool .search-block {
  flex-grow: 1;
}
.gamelist-tool .game-search {
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  border-radius: 3px 3px 1px 1px;
  height: 38px;
  box-shadow: inset 0 -1.7px 0px rgb(117, 124, 142);
  font-size: 14px;
  padding-left: 12px;
  padding-bottom: 3px;
  background: transparent;
  border: 0;
}
.gamelist-tool .game-search::placeholder {
  color: rgba(130, 142, 151, 0.8196078431);
}
.gamelist-tool .game-search::before {
  content: "";
}
.gamelist-tool .gamelist-setting {
  display: flex;
  align-items: center;
}
.gamelist-tool .gamelist-setting .view-type:hover {
  cursor: pointer;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.25));
}

.gamelist-tool {
  margin-top: 24px;
  display: flex;
}
.gamelist-tool .search-block {
  flex-grow: 1;
}
.gamelist-tool .game-search {
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  border-radius: 3px 3px 1px 1px;
  height: 38px;
  box-shadow: inset 0 -1.7px 0px rgb(117, 124, 142);
  font-size: 14px;
  padding-left: 12px;
  padding-bottom: 3px;
  background: transparent;
  border: 0;
}
.gamelist-tool .game-search::placeholder {
  color: rgba(130, 142, 151, 0.8196078431);
}
.gamelist-tool .gamelist-setting {
  display: flex;
  align-items: center;
}
.gamelist-tool .gamelist-setting .view-type:hover {
  cursor: pointer;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.25));
}

.game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.game-list .game-item {
  width: 190px;
  height: 224px;
  background-size: cover;
  border-radius: 12px;
  position: relative;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.game-list .game-item::after {
  content: "";
  position: absolute;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  top: 2px;
  left: 2px;
  box-shadow: inset rgba(0, 0, 0, 0.08) 0px 0px 1px 0.15px;
  z-index: 0;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .game-list .game-item::after {
    content: unset;
    display: none;
  }
}
.game-list .game-item .container {
  width: 100%;
}
.game-list .game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
@media (max-width: 767px) {
  .game-list .game-item:hover {
    transition: unset;
    box-shadow: none;
  }
}
.game-list .game-item .game-icon {
  display: flex;
  justify-content: center;
}
.game-list .game-item .game-icon .img {
  position: relative;
  width: 100%;
  height: 142px;
  overflow: hidden;
  -webkit-mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 50% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 53.69% 6.2%, rgba(66, 66, 66, 0.6) 0%, #333333 100%), radial-gradient(81.31% 127.89% at 50% 25%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  mask: linear-gradient(180deg, rgb(0, 0, 0) 58%, rgba(0, 0, 0, 0) 95%), radial-gradient(15.77% 50% at 50% 104.95%, rgba(66, 66, 66, 0) 0%, #333333 0%), radial-gradient(30.95% 86.8% at 53.69% 6.2%, rgba(66, 66, 66, 0.6) 0%, #333333 100%), radial-gradient(81.31% 127.89% at 50% 25%, #000000 0%, #000000 52.6%, rgba(0, 0, 0, 0.18) 83.33%, rgba(0, 0, 0, 0) 95.31%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  background-size: cover;
  background-position-y: -100px;
  border-radius: 12px 12px 0 0;
}
.game-list .game-item .game-icon .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 767px) {
  .game-list .game-item .game-icon .img {
    aspect-ratio: 2/3;
    height: unset;
    -webkit-mask: unset;
    mask: unset;
    height: 84px;
    background-position-y: 0 !important;
  }
}
@media (max-width: 767px) {
  .game-list .game-item .game-icon {
    grid-row: 1/3;
  }
}
.game-list .game-item .game-info {
  text-align: left;
  line-height: 20px;
  padding: 10px 20px;
  z-index: 2;
  position: relative;
  margin-top: -24px;
}
.game-list .game-item .game-info .summary {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
}
.game-list .game-item .game-info .summary .summary-item .title {
  font-size: 12px;
  line-height: 15px;
}
.game-list .game-item .game-info .summary .summary-item .value-line {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 767px) {
  .game-list .game-item .game-info .summary {
    color: var(--text-glass-hard);
  }
}
.game-list .game-item .game-info .name {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .game-list .game-item .game-info .name {
    color: var(--text-default);
  }
}
@media (max-width: 767px) {
  .game-list .game-item .game-info {
    margin-top: unset;
    padding: 0;
  }
}
.game-list .game-item .navigation {
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
  position: relative;
}
.game-list .game-item .navigation .a-game-nav {
  background-color: rgba(20, 20, 20, 0.55);
  padding: 8px 20px;
  font-weight: 500;
  font-size: 11px;
  color: #fff;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 30px;
}
.game-list .game-item .navigation .a-game-nav:hover {
  background: rgba(66, 76, 100, 0.75);
}
@media (max-width: 767px) {
  .game-list .game-item .navigation .a-game-nav {
    max-width: 204px;
  }
}
@media (max-width: 767px) {
  .game-list .game-item .navigation {
    justify-content: unset;
  }
}
.game-list .game-item.g-cs2 .img {
  background-position-y: -46px;
}
.game-list .game-item.g-garrysmod .img {
  background-position-y: 0px;
}
.game-list .game-item.g-vrising .img {
  background-position-y: -64px;
}
.game-list .game-item.g-mta .img {
  background-position-y: -36px;
}
.game-list .game-item.g-dayz .img {
  background-position-y: -30px;
}
.game-list .game-item.g-tf2 .img {
  background-position-y: 0px;
}
.game-list .game-item.g-zomboid .img {
  background-position-y: -32px;
}
.game-list .game-item.g-unturned .img {
  background-position-y: -60px;
}
.game-list .game-item.g-gta5 .img {
  background-position-y: -20px;
}
.game-list .game-item.g-7_days_to_die .img {
  background-position-y: -160px;
}
.game-list .game-item.g-arma3 .img {
  background-position-y: 0px;
}
.game-list .game-item.g-scum .img {
  background-position-y: -82px;
}
.game-list .game-item.g-ark_survival_evolved .img {
  background-position-y: 0px;
}
.game-list .game-item.g-terraria .img {
  background-position-y: -60px;
}
@media (max-width: 767px) {
  .game-list {
    padding: 0 14px;
    margin-top: 14px;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .game-list .game-item {
    min-width: unset;
    width: 100%;
    display: grid;
    grid-template-columns: 62px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 14px;
    background: var(--glass-bg-neutral) !important;
    height: unset;
    color: var(--text-default);
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--glass-br-soft);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.2);
    padding: 10px 14px 10px 10px;
  }
  .game-list .game-item .game-icon {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  .game-list .game-item .game-icon .img {
    width: 62px;
    height: 78px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  }
  .game-list .game-item .game-info {
    grid-row: 1;
    grid-column: 2 / 4;
    margin-top: 0;
    padding: 0;
  }
  .game-list .game-item .game-info .name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-default);
  }
  .game-list .game-item .game-info .summary {
    color: var(--text-glass-hard);
    gap: 14px;
    margin-top: 2px;
  }
  .game-list .game-item .game-info .summary .value-line {
    font-size: 13px;
    gap: 5px;
  }
  .game-list .game-item .game-info .summary .value-line i {
    font-size: 12px;
    opacity: 0.6;
  }
  .game-list .game-item .navigation {
    grid-row: 2;
    grid-column: 2 / 4;
    justify-content: flex-start;
    margin-top: 6px;
  }
  .game-list .game-item .navigation .a-game-nav {
    background: var(--glass-bg-softer);
    color: var(--text-default);
    border: 1px solid var(--glass-br-soft);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    height: auto;
    max-width: none;
  }
}

.auth-page h1 {
  font-size: 26px;
  font-weight: bold;
  line-height: 36px;
  margin: 0px;
  margin-bottom: 6px;
  padding: 0px;
  word-break: break-word;
}
.auth-page .caption {
  line-height: 20px;
  color: var(--text-third);
}
.auth-page .grid-inner {
  display: grid;
  justify-items: center;
}
.auth-page .content {
  width: 100%;
  background: var(--glass-bg-softer);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-br-soft);
  max-width: 520px;
  border-radius: 14px;
  padding: 48px 56px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .auth-page .content {
    max-width: 100%;
    padding: 28px 20px;
    margin-top: 0;
    border-radius: 12px;
  }
}
.auth-page .flex-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-page .flex-form .link {
  font-weight: 500;
  color: var(--text-third);
}
.auth-page .fast-auth .auth-list {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
  padding: 10px 0 30px 0;
}
.auth-page .fast-auth .auth-list .auth-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--glass-br-soft);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: var(--glass-bg-neutral);
  font-weight: 500;
  color: var(--text-default);
  transition: background 0.15s, border-color 0.15s;
}
.auth-page .fast-auth .auth-list .auth-item:hover {
  background: var(--glass-bg-hard);
  border-color: var(--glass-br-neutral);
}
.auth-page .fast-auth .auth-list .auth-item i {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-page .email-auth {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-page .email-auth .label-input {
  display: flex;
  height: 100%;
  align-items: center;
  position: relative;
}
.auth-page .email-auth .label-input i {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 0 12px;
}
.auth-page .email-auth input {
  width: 100%;
  padding-left: 40px;
  background: var(--glass-bg-neutral);
  color: var(--text-default);
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--glass-br-soft);
  transition: border-color 0.15s, background 0.15s;
}
.auth-page .email-auth input:focus {
  border-color: var(--game-bg-target, #4a9eff);
  background: var(--glass-bg-hard);
  outline: none;
}
.auth-page .email-auth input::placeholder {
  color: var(--text-third);
}
.auth-page .email-auth .lost-block {
  text-align: right;
}
.auth-page .hr-divider {
  display: flex;
  justify-content: center;
}
.auth-page .hr-divider .hr-divider-line {
  flex-grow: 1;
  height: 1px;
  background: var(--card-br-default);
  border: 0;
}
.auth-page .hr-divider .hr-divider-text {
  padding: 0 16px;
  color: var(--text-third);
}
.auth-page .more {
  text-align: center;
  color: var(--text-sub);
  font-size: 14px;
}
.auth-page .more .link {
  color: var(--game-bg-target, #4a9eff);
  font-weight: 500;
}
.auth-page .flex-form button[type="submit"],
.auth-page .email-auth button[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--game-bg-target, #47c2ff);
  color: var(--game-text-target-in, #fff);
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}
.auth-page .flex-form button[type="submit"]:hover,
.auth-page .email-auth button[type="submit"]:hover {
  opacity: 0.85;
}
.auth-page .hr-divider {
  align-items: center;
}
@media (max-width: 480px) {
  .auth-page .fast-auth .auth-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.icon-box.box-style-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 17px;
  background: linear-gradient(46deg, rgba(218, 222, 231, 0.5) 0%, rgba(240, 241, 255, 0.4) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.19) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0) 0px 16px 16px -3.75px, inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin-bottom: 16px;
  /* box-shadow: inset 0 0.0625rem 0.0625rem rgba(255, 255, 255, 0.24); */
  /* background: linear-gradient(333deg, rgba(90, 99, 99, 0.1) 1.89%, rgba(50, 50, 51, 0) 50%), linear-gradient(180deg, rgba(231, 232, 242, 0.7294117647) 11.6%, rgba(234, 236, 238, 0.831372549) 54.73%, rgba(228, 228, 234, 0.8196078431) 100%); */
  background: linear-gradient(46deg, rgba(218, 222, 231, 0.25) 0%, rgba(255, 255, 255, 0.21) 100%);
}
.icon-box.rotate-350 {
  transform: rotateZ(350deg);
}

.section-features {
  padding: 90px 0 60px 0;
  position: relative;
}
.section-features .headline {
  text-align: center;
}
.section-features .headline .title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 8px;
}
.section-features .headline .subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.section-features .info-wrapper {
  padding: 0 30px;
}
.section-features .features-list {
  max-width: 540px;
  margin: 40px 0 0;
}
.section-features .features-list .features-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--glass-bg-neutral, rgba(255,255,255,0.6));
  border: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-features .features-list .features-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.section-features .features-list .features-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 17px;
  color: #8498c9;
  background: linear-gradient(135deg, rgba(218, 222, 231, 0.5) 0%, rgba(240, 241, 255, 0.4) 100%);
}
html[data-theme=dark] .section-features .features-list .features-item i svg {
  filter: brightness(0.5);
}
.section-features .features-list .features-item h3 {
  color: var(--text-default);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 4px;
}
.section-features .features-list .features-item .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.section-features .picture {
  display: block;
  position: absolute;
  top: 220px;
  left: calc(50% + 135px);
}
.section-features .picture img {
  max-width: 420px;
}
@media (max-width: 767px) {
  .section-features {
    padding: 40px 14px 30px;
  }
  .section-features .headline .title {
    font-size: 20px;
    line-height: 1.3;
    text-align: left;
  }
  .section-features .headline .subtitle {
    font-size: 14px;
    text-align: left;
  }
  .section-features .headline {
    text-align: left;
  }
  .section-features .info-wrapper {
    padding: 0;
  }
  .section-features .features-list {
    margin: 24px 0 0;
  }
  .section-features .features-list .features-item {
    gap: 14px;
    margin-bottom: 14px;
    background: var(--glass-bg-neutral);
    border: 1px solid var(--glass-br-soft);
    border-radius: 12px;
    padding: 14px;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
  }
  .section-features .features-list .features-item i {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .section-features .features-list .features-item h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 3px;
  }
  .section-features .features-list .features-item .desc {
    font-size: 13px;
    line-height: 1.5;
  }
}

.game-icon-default {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
}
.game-icon-default .icon {
  max-width: 24px;
  max-height: 24px;
  fill: #ffffff;
}
@media (max-width: 767px) {
  .game-icon-default .icon {
    max-width: 20px;
    max-height: 20px;
  }
}
@media (max-width: 767px) {
  .game-icon-default {
    width: 30px;
    height: 30px;
  }
}

.ad-v1 {
  margin-top: 12px;
  text-align: center;
}
.ad-v1.sticky {
  position: sticky;
  top: 24px;
}
.ad-v1 img {
  border-radius: 3px;
}

.game-icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--game-icon-color);
}
.game-icon-circle .icon {
  max-width: 24px;
  max-height: 24px;
  fill: #ffffff;
}
@media (max-width: 767px) {
  .game-icon-circle .icon {
    max-width: 20px;
    max-height: 20px;
  }
}
.game-icon-circle.cs16 {
  background-color: var(--game-cs16);
  background: #cdc200;
}
.game-icon-circle.csgo {
  background-color: var(--game-csgo);
}
.game-icon-circle.csgo .icon {
  margin-left: 5px;
}
.game-icon-circle.cs2 {
  background-color: #28397f;
}
.game-icon-circle.cs2 .icon {
  margin-left: 1px;
  max-width: 23px;
  max-height: 24px;
}
@media (max-width: 767px) {
  .game-icon-circle.cs2 .icon {
    max-width: 19px;
    max-height: 19px;
  }
}
.game-icon-circle.css {
  background-color: var(--game-css);
}
.game-icon-circle.css .icon {
  margin-left: 5px;
}
.game-icon-circle.garrysmod {
  background-color: var(--game-garrysmod);
}
.game-icon-circle.garrysmod .icon {
  fill: #ffffff;
  max-width: 30px;
  max-height: 30px;
}
.game-icon-circle.hl {
  background-color: var(--game-hl);
}
.game-icon-circle.hl2 {
  background-color: var(--game-hl2);
}
.game-icon-circle.hl2 .icon,
.game-icon-circle.hl2 .icon path {
  fill: #d98d2e;
}
.game-icon-circle.minecraft {
  background-color: #018944;
}
.game-icon-circle.samp {
  background-color: #bdd0a1;
}
@media (max-width: 767px) {
  .game-icon-circle {
    width: 30px;
    height: 30px;
  }
}

.blocker {
  z-index: 10 !important;
  transition: transform 0.25s ease-out;
  background-color: rgba(59, 68, 78, 0.6);
}

.modal {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}
.modal .modal-body {
  display: flex;
  justify-content: center;
}
.modal .modal-content {
  max-width: 340px;
  width: 100%;
}
.modal a.close-modal {
  right: 16px;
  top: 16px;
  opacity: 0.3;
}

.recline {
  margin: 4px 0 12px 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recline .txt {
  background: var(--game-card-bg, #333);
  color: var(--game-card-in, #fff);
  white-space: nowrap;
  border-radius: 4px;
  font-size: 11px;
  line-height: 20px;
  padding: 0 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.recline:after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: var(--game-card-bg, #333);
  opacity: .35;
}

.step-by-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-by-step .step .step-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 28px;
}
.block-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-payment .grid-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
}
.page-payment .methods-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.page-payment .title-block {
  text-align: center;
}
.page-payment .title-block .title {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 4px;
  color: rgb(41, 41, 42);
}
.page-payment .title-block .extra-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}
.page-payment .payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px;
}
.page-payment .method {
  display: flex;
  border: 2px solid #dbe3e7;
  border-radius: 8px;
  padding: 20px 18px;
  width: 80px;
  cursor: pointer;
  transition: border-color 0.3s;
  background: #fff;
  min-width: 200px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.page-payment .method .title {
  font-size: 16px;
  font-weight: 500;
}
.page-payment .method .img-list {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  height: 36px;
}
.page-payment .method .img-list svg {
  width: 46px;
  height: fit-content;
}
.page-payment .method:hover {
  border-color: #88b2fa;
  background-color: #007bff;
  color: white;
}

.text-tip,
.alert {
  position: relative;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: var(--glass-gradient-bg-default);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  color: var(--text-default);
  overflow: hidden;
  padding: 14px 22px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--glass-br-soft);
  border-left: 3px solid var(--text-tertiary, #888);
  margin-bottom: 16px;
}
.alert strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.text-tip .dashed,
.alert .dashed {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) {
  .text-tip,
  .alert {
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 10px;
    box-shadow: none;
  }
}

.alert {
  width: max-content;
  max-width: 100%;
  height: min-content;
}
.alert.alert-error {
  border-left-color: #e74c3c;
}
.alert.alert-error strong {
  color: #e74c3c;
}
.alert.alert-success {
  border-left-color: #2ecc71;
}
.alert.alert-success strong {
  color: #27ae60;
}
.alert.alert-info {
  border-left-color: #4a9eff;
}
.alert.alert-info strong {
  color: #4a9eff;
}
.alert.alert-warning {
  border-left-color: #f1c40f;
}
.alert.alert-warning strong {
  color: #d4a700;
}
.alert.alert-votes {
  border-left-color: #6c5ce7;
}
.alert.alert-votes strong {
  color: #6c5ce7;
}
.alert .alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.glass-box.style-1 {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: var(--glass-bg-softer);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
  color: var(--text-default);
  border: 1px solid var(--glass-br-soft);
}

.btn-hotkey {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-top: 10px;
  background: var(--game-color-2);
  color: var(--game-color-2-in);
  font-size: 13px;
  border-radius: 5px;
  font-weight: 500;
}
.btn-hotkey .hotkey {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0) 0px 2px 4px, rgba(45, 47, 50, 0.65) 0px 0px 0px 1px, rgba(53, 55, 60, 0.59) 0px -1.2px 0px inset;
  background: var(--game-bg-target);
  color: var(--game-text-target-in);
}
.btn-hotkey:hover {
  opacity: 0.9;
}

.stest {
  width: 100%;
}
.stest .s-dropdown {
  width: 100%;
  display: inline-block;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
  transition: all 0.5s ease;
  position: relative;
  font-size: 14px;
  text-align: left;
  background: var(--card-bg-default);
  color: var(--text-secondary);
}
.stest .s-dropdown .select {
  cursor: pointer;
  display: block;
  padding: 10px;
}
.stest .s-dropdown .select > i {
  font-size: 9px;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  float: right;
  line-height: 17px;
}
.stest .s-dropdown .select:hover {
  box-shadow: 0 0 4px rgb(204, 204, 204);
}
.stest .s-dropdown:hover {
  box-shadow: 0 0 4px rgb(204, 204, 204);
}
.stest .s-dropdown:active {
  background-color: #f8f8f8;
}
.stest .s-dropdown.active:hover, .stest .s-dropdown.active {
  box-shadow: 0 0 4px rgb(204, 204, 204);
  border-radius: 2px 2px 0 0;
  background-color: #f8f8f8;
}
.stest .s-dropdown.active .select > i {
  transform: rotate(-90deg);
}
.stest .s-dropdown .s-dropdown-menu {
  position: absolute;
  background-color: var(--card-bg-default);
  width: 100%;
  left: 0;
  margin-top: 1px;
  box-shadow: 0 1px 2px rgb(204, 204, 204);
  border-radius: 0 1px 2px 2px;
  overflow: hidden;
  display: none;
  max-height: 185px;
  overflow-y: auto !important;
  z-index: 9;
  padding: 0;
  list-style: none;
}
.stest .s-dropdown .s-dropdown-menu::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.stest .s-dropdown .s-dropdown-menu::-webkit-scrollbar-thumb {
  background: #5b646d;
  border-radius: 1px;
}
.stest .s-dropdown .s-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.stest .s-dropdown .s-dropdown-menu {
  scrollbar-face-color: #5b646d;
  scrollbar-track-color: transparent;
}
.stest .s-dropdown .s-dropdown-menu .items-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.stest .s-dropdown .s-dropdown-menu li {
  padding: 10px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.stest .s-dropdown .s-dropdown-menu li:hover {
  background-color: #f2f2f2;
}
.stest .s-dropdown .s-dropdown-menu li:active {
  background-color: #e2e2e2;
}

.tabs-nav {
  display: flex;
  gap: var(--gap-s);
}
.tabs-nav.tabs-column {
  flex-direction: column;
}
.tabs-nav .tab-item {
  background: var(--glass-bg-harder);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px;
}
.tabs-nav .tab-item a {
  display: flex;
  align-items: baseline;
  gap: var(--gap-xs);
  height: 100%;
  width: 100%;
  padding: var(--gap-s) var(--gap-m);
  font-weight: 500;
  color: var(--text-secondary);
}
.tabs-nav .tab-item.active {
  border-color: var(--game-bg-target);
}
.tabs-nav .tab-item.active a {
  color: var(--game-bg-target);
}

.label-hidden-checkbox input[type=checkbox] {
  display: none;
}
.label-hidden-checkbox:hover {
  cursor: pointer;
}
.label-hidden-checkbox > span {
  display: block;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  border: none;
  background: var(--glass-bg-softer);
  color: var(--text-secondary);
  overflow: hidden;
  line-height: 1.4;
}
.label-hidden-checkbox:hover > span {
  background: var(--glass-bg-neutral);
  color: var(--text-default);
}
.label-hidden-checkbox:not(.is-switch) > input[type=checkbox]:checked + span {
  color: var(--game-text-target-in, #fff);
  background: var(--game-bg-target);
}

.emotions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.emotions .item {
  display: flex;
  gap: 4px;
  align-items: center;
  background: var(--glass-bg-softer);
  border: none;
  border-radius: 8px;
  padding: 3px 8px;
  transition: background-color 0.2s;
}
.emotions .item:hover {
  cursor: pointer;
  background: var(--glass-bg-neutral);
}
.emotions .item:last-of-type {
  margin-right: 10px;
}
.emotions .item img {
  display: flex;
  height: 20px;
}
.emotions .item .count {
  font-size: 12px;
  color: var(--text-sub);
}
.emotions:empty {
  display: none;
}

.dropdown-emotions .dropdown-menu {
  z-index: 100;
}
.dropdown-emotions .dropdown-content {
  width: 300px;
  max-height: 164px;
  overflow: hidden auto;
  background: var(--glass-bg-harder);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-br-soft);
}
.dropdown-emotions .dropdown-content::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}
.dropdown-emotions .dropdown-content::-webkit-scrollbar-thumb {
  background-color: var(--text-sub);
  border-radius: 8px;
}
.dropdown-emotions .emotion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dropdown-emotions .emotion-list .d-emot-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  text-align: center;
  width: 33px;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.dropdown-emotions .emotion-list .d-emot-item img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
.dropdown-emotions .emotion-list .d-emot-item:hover {
  background: var(--glass-bg-neutral);
}

.btn-emotion {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: auto;
  max-height: unset;
  background: none;
}
.btn-emotion i {
  font-size: 15px;
  margin-right: 0;
}
.btn-emotion:hover {
  color: var(--text-default);
  background: var(--glass-bg-softer);
}

.waitMe_container.working {
  background: var(--game-bg, var(--bg-body-default)) !important;
}

/* ===== Страница настроек аккаунта ===== */
.page-settings .settings-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.page-settings .settings-col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 320px;
  min-width: 0;
}
.page-settings .settings-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 260px;
}
@media (max-width: 860px) {
  .page-settings .settings-layout {
    flex-wrap: wrap;
  }
  .page-settings .settings-col-right {
    flex: 1 1 100%;
    order: -1;
  }
}
.settings-card {
  background: var(--glass-bg-softer);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-br-soft);
  border-radius: 12px;
  overflow: hidden;
}
.settings-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 0;
}
.settings-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--text-default, #1d1d1f);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
html[data-theme="dark"] .settings-card__icon {
  background: rgba(255,255,255,0.12);
  color: var(--text-default, #f5f5f7);
}
.settings-card__icon--link {
  background: #5856d6;
}
html[data-theme="dark"] .settings-card__icon--link {
  background: #5856d6;
  color: #fff;
}
.settings-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-default, #1d1d1f);
  line-height: 1.3;
}
.settings-card__subtitle {
  font-size: 13px;
  color: var(--text-sub, #86868b);
  margin-top: 2px;
  line-height: 1.4;
}
.settings-card__body {
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settings-card__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.settings-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.settings-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub, #6e6e73);
}
.settings-input {
  border: 1px solid var(--input-br-default, #dce2e7);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--input-bg-default, #fff);
  color: var(--text-default, #1d1d1f);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: auto;
  box-shadow: none;
}
html[data-theme="dark"] .settings-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-default, #f5f5f7);
}
.settings-input:hover {
  border-color: var(--text-sub, #86868b);
}
.settings-input:focus,
.settings-input:focus-visible {
  outline: none;
  border-color: var(--text-default, #1d1d1f);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
html[data-theme="dark"] .settings-input:focus,
html[data-theme="dark"] .settings-input:focus-visible {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.15s, opacity 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.settings-btn--primary {
  background: var(--text-default, #1d1d1f);
  color: #fff;
}
html[data-theme="dark"] .settings-btn--primary {
  background: rgba(255,255,255,0.15);
  color: var(--text-default, #f5f5f7);
}
.settings-btn--primary:hover {
  opacity: 0.85;
}
.settings-btn--outline {
  background: transparent;
  border: 1px solid var(--text-default, #1d1d1f);
  color: var(--text-default, #1d1d1f);
}
html[data-theme="dark"] .settings-btn--outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-default, #f5f5f7);
}
.settings-btn--outline:hover {
  background: var(--text-default, #1d1d1f);
  color: #fff;
}
html[data-theme="dark"] .settings-btn--outline:hover {
  background: rgba(255,255,255,0.12);
}
.settings-btn--ghost {
  background: transparent;
  color: var(--text-sub, #86868b);
  border: 1px solid var(--input-br-default, #dce2e7);
}
.settings-btn--ghost:hover {
  border-color: var(--text-sub, #86868b);
  color: var(--text-default, #1d1d1f);
}

.settings-socials {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.settings-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--input-br-default, #e5e5ea);
}
.settings-social:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.settings-social:first-child {
  padding-top: 0;
}
html[data-theme="dark"] .settings-social {
  border-color: rgba(255,255,255,0.08);
}
.settings-social__info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings-social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.settings-social__icon--vk {
  background: #0077ff;
  color: #fff;
}
.settings-social__icon--steam {
  background: #1b2838;
  color: #fff;
}
.settings-social__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-default, #1d1d1f);
  line-height: 1.3;
}
.settings-social__status {
  margin-top: 2px;
}
.settings-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.5;
}
.settings-badge--success {
  background: rgba(52, 199, 89, 0.12);
  color: #34c759;
}
.settings-badge--neutral {
  background: rgba(142, 142, 147, 0.12);
  color: var(--text-sub, #8e8e93);
}

@media (max-width: 767px) {
  .settings-card__header {
    padding: 16px 18px 0;
  }
  .settings-card__body {
    padding: 14px 18px 18px;
  }
  .settings-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 230px;
  min-height: 230px;
  padding: 20px 24px 24px;
  border-radius: 3px;
  background: var(--glass-bg-neutral);
  border: 2px solid var(--glass-br-soft);
}
.action-card .action-card__icon .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--game-bg-target, #333333);
  background: linear-gradient(46deg, rgba(218, 222, 231, 0.5) 0%, rgba(240, 241, 255, 0.4) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.11) 0px 0.636953px 0.636953px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.9316px 1.9316px -1.875px, rgba(0, 0, 0, 0.09) 0px 5.10612px 5.10612px -2.8125px, rgba(0, 0, 0, 0.04) 0px 16px 16px -3.75px;
  opacity: 1;
  transform: rotateZ(350deg);
  margin-bottom: 16px;
}
.action-card .action-card__title {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 2px;
}
.action-card .action-card__description {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 18px;
}
.action-card .action-card__actions .btn-action {
  display: flex;
  width: 100%;
  background: var(--btn-bg-default, #333);
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
}

/* =================================================
   API Documentation — /developers & /developers/api
   ================================================= */

/* --- Shared --- */
.api-docs {
  color: var(--text-default);
}
.api-docs h2 {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-default);
}
.api-docs h3 {
  margin: 28px 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-default);
}
.api-docs p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary, #a0a8b4);
}
.api-docs code {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(74,158,255,0.08);
  color: #4a9eff;
}
.api-badge-get {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: rgba(46,204,113,0.14);
  color: #2ecc71;
  letter-spacing: 0.4px;
  vertical-align: middle;
}
.api-muted {
  font-size: 13px;
  color: var(--text-sub, #6e7681);
  font-style: italic;
}
.api-copy-sm {
  background: none;
  border: none;
  color: var(--text-sub, #6e7681);
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 13px;
  transition: color .15s;
  flex-shrink: 0;
}
.api-copy-sm:hover { color: #4a9eff; }

.api-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Code blocks (shared) --- */
.api-code {
  border-radius: 6px;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}
.api-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-sub, #6e7681);
}
.api-code pre {
  margin: 0;
  padding: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.api-code pre code {
  font-size: 13px;
  line-height: 1.55;
  color: #c9d1d9;
  white-space: pre;
  background: none;
  padding: 0;
}

/* =================================
   Page 1: /developers (overview)
   ================================= */
.api-overview-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.api-hero {
  text-align: center;
  margin-bottom: 40px;
}
.api-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-default);
}
.api-hero-sub {
  font-size: 16px;
  color: var(--text-secondary, #a0a8b4);
  margin: 0 0 24px;
}

.api-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.api-feat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-default);
}
.api-feat i {
  color: #4a9eff;
  font-size: 13px;
}

.api-baseurl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 24px;
}
.api-baseurl-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-sub, #6e7681);
  flex-shrink: 0;
}
.api-baseurl code {
  font-size: 16px;
  font-weight: 600;
  color: #4a9eff;
  background: none;
  padding: 0;
}

.api-section {
  margin-top: 36px;
}

/* Endpoint overview table */
.api-ep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.api-ep-table thead th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-sub, #6e7681);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.api-ep-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-default);
  vertical-align: middle;
}
.api-ep-table tbody td code {
  font-size: 13px;
}
.api-cta-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #4a9eff;
  text-decoration: none;
  transition: color .15s;
}
.api-cta-link:hover { color: #79bbff; }

/* Lang tabs */
.api-lang-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
}
.api-lang-tab {
  padding: 6px 16px;
  border: none;
  background: rgba(255,255,255,0.04);
  color: var(--text-sub, #6e7681);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.api-lang-tab:hover { color: var(--text-default); }
.api-lang-tab.active {
  background: #0d1117;
  color: #4a9eff;
}
.api-lang-panel {
  display: none;
}
.api-lang-panel.active {
  display: block;
}
.api-lang-panel .api-code {
  border-radius: 0 6px 6px 6px;
}

/* Info columns */
.api-info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.api-info-block {
  padding: 18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.api-info-block h3 {
  margin: 0 0 10px;
}
.api-info-block ul {
  margin: 0; padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary, #a0a8b4);
}
.api-err-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.api-err-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-default);
}
.api-err-table td:first-child { width: 60px; }

/* CTA */
.api-section-cta {
  text-align: center;
  padding: 32px 0 0;
}
.api-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 6px;
  background: #4a9eff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.api-cta-btn:hover { background: #3a8ae6; }
.api-cta-btn:active { transform: scale(0.97); }

/* =================================
   Full-width mode — hide site guidebar
   ================================= */
#page-body.api-fullwidth .page-grid {
  grid-template-columns: 1fr;
}
#page-body.api-fullwidth .guidebar {
  display: none !important;
}
#page-body.api-fullwidth .page-grid .main-box,
#page-body.api-fullwidth .page-grid .footer,
#page-body.api-fullwidth .page-grid .footer-v2 {
  grid-column: 1 / -1;
}
#page-body.api-fullwidth .main-box .main-container {
  padding: 0;
  display: block;
}

/* =================================
   API Layout — shared sidebar + main
   ================================= */
.api-layout {
  display: flex;
  min-height: 70vh;
  width: 100%;
}

/* Sidebar */
.api-sidebar {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid var(--glass-br-soft, rgba(255,255,255,0.06));
  padding: 20px 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
  overflow-y: auto;
  background: var(--glass-bg-softer);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.api-sidebar-head {
  padding: 0 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}
.api-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-default);
}
.api-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 8px;
}
.api-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .12s;
  text-align: left;
  width: 100%;
  font-size: 14px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: var(--text-default);
  text-decoration: none;
}
.api-nav-link:hover { background: rgba(255,255,255,0.04); color: var(--text-default); }
.api-nav-link.active { background: rgba(74,158,255,0.1); color: #4a9eff; }
.api-nav-divider {
  padding: 14px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-sub, #6e7681);
  font-family: inherit;
}

/* Main content */
.api-main {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 48px;
  max-width: 900px;
}

.api-intro {
  font-size: 15px;
  color: var(--text-sub, #6e7681);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Endpoint panels */
.api-ep-panel {
  display: none;
}
.api-ep-panel.active {
  display: block;
}
.api-ep-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.api-ep-title h2 {
  margin: 0;
  font-size: 22px;
}

/* Params table */
.api-param-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.api-param-tbl thead th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-sub, #6e7681);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.api-param-tbl tbody td {
  padding: 8px 12px;
  color: var(--text-default);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}

/* Constructor */
.api-constructor {
  margin-top: 12px;
  padding: 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.api-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.api-fields label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #a0a8b4);
}
.api-field {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  color: var(--text-default);
  font-size: 13px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  width: 120px;
  outline: none;
  transition: border-color .15s;
}
.api-field:focus { border-color: #4a9eff; }
select.api-field { width: auto; cursor: pointer; }

.api-url-display {
  padding: 10px 14px;
  border-radius: 4px;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: #4a9eff;
  line-height: 1.5;
  word-break: break-all;
  margin-bottom: 10px;
}
.api-url-actions {
  display: flex;
  gap: 8px;
}
.api-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-sub, #6e7681);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 13px;
  transition: color .15s, border-color .15s;
}
.api-btn-copy:hover { color: #4a9eff; border-color: rgba(74,158,255,0.3); }
.api-btn-send {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 18px;
  border-radius: 4px;
  border: none;
  background: #4a9eff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.api-btn-send:hover { background: #3a8ae6; }

/* Response */
.api-response {
  margin-top: 14px;
}
.api-response.loading {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.api-response.error pre code { color: #e74c3c; }
.api-response pre {
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: #0d1117;
  border: 1px solid rgba(74,158,255,0.15);
  max-height: 400px;
  overflow: auto;
}
.api-response pre code {
  font-size: 12px;
  line-height: 1.5;
  color: #c9d1d9;
  white-space: pre;
  background: none;
  padding: 0;
}
.api-resp-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub, #6e7681);
  margin-bottom: 6px;
}
.api-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(74,158,255,0.2);
  border-top-color: #4a9eff;
  border-radius: 50%;
  animation: apiSpin .6s linear infinite;
}
@keyframes apiSpin {
  to { transform: rotate(360deg); }
}

/* =================================
   Mobile — API pages (<768px)
   ================================= */
@media (max-width: 767px) {
  #page-body.api-fullwidth .page-grid,
  #page-body.api-fullwidth .main-box,
  #page-body.api-fullwidth .main-container {
    min-width: 0;
    max-width: 100vw;
  }
  .api-layout {
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .api-sidebar {
    width: 100% !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0 0;
  }
  .api-sidebar-head {
    padding: 0 16px 10px;
  }
  .api-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 0 12px 10px;
    white-space: nowrap;
  }
  a.api-nav-link,
  button.api-nav-link {
    flex-shrink: 0;
    width: auto;
    padding: 7px 12px;
    font-size: 12px;
  }
  .api-nav-divider { display: none; }
  .api-main {
    padding: 18px 16px 32px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Overview */
  .api-hero {
    text-align: left;
  }
  .api-hero h1 {
    font-size: 22px;
    word-break: break-word;
    text-transform: none;
  }
  .api-hero-sub {
    font-size: 14px;
    word-break: break-word;
  }
  .api-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .api-feat {
    font-size: 12px;
    padding: 8px 6px;
    gap: 5px;
  }
  .api-baseurl {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 12px 14px;
  }
  .api-baseurl code {
    font-size: 13px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .api-section h2 {
    font-size: 19px;
  }
  .api-info-cols { grid-template-columns: 1fr; }
  .api-lang-tab { font-size: 12px; padding: 5px 12px; }
  .api-cta-btn { width: 100%; text-align: center; padding: 13px 20px; font-size: 14px; box-sizing: border-box; }
  .api-code pre { font-size: 12px; }
  .api-code pre code { word-break: break-all; white-space: pre-wrap; }
  .api-ep-table { font-size: 12px; }
  .api-ep-table td code { word-break: break-all; }

  /* Console */
  .api-intro { font-size: 14px; }
  .api-ep-title h2 { font-size: 19px; }
  .api-fields { flex-direction: column; }
  .api-field { width: 100%; box-sizing: border-box; }
  .api-url-display { font-size: 11px; overflow-wrap: anywhere; }
  .api-url-actions { flex-direction: column; }
  .api-btn-send { width: 100%; justify-content: center; }
  .api-btn-copy { width: 100%; justify-content: center; }
  .api-response pre { max-height: 300px; font-size: 11px; }
  .api-response pre code { white-space: pre-wrap; word-break: break-all; }
  .api-param-tbl { font-size: 12px; }
  .api-constructor { box-sizing: border-box; max-width: 100%; }
}

/* ===== Cookie-баннер =====
   Вставляется в <body> (не в <html>), иначе не наследует шрифт Roboto.
   Плашка перекрывает контент → blur и заметная тень допустимы (как у модалок). */
.cb-wrap {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}
.cb-inner {
    max-width: 640px;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
    background: var(--glass-bg-harder);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid var(--glass-br-neutral);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), inset 0 1px 0 var(--glare-color-neutral);
    color: var(--text-default);
    font-family: "Roboto", sans-serif;
    pointer-events: auto;
    animation: cb-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.cb-wrap.cb-hide .cb-inner {
    opacity: 0;
    transform: translateY(12px);
}
@keyframes cb-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.cb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--game-icon-color, #fcac19) 16%, transparent);
    color: var(--game-icon-color, #fcac19);
    font-size: 20px;
}
.cb-body {
    min-width: 0;
}
.cb-title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-default);
}
.cb-text {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-sub);
}
.cb-text a {
    color: var(--text-default);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--text-default) 35%, transparent);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}
.cb-text a:hover {
    text-decoration-color: currentColor;
}
.cb-inner .cb-btn {
    width: auto;
    max-height: none;
    height: 38px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--game-bg-target, #28397f);
    color: var(--game-text-target-in, #fff);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
    transition: filter 0.2s, transform 0.2s;
}
.cb-inner .cb-btn:hover {
    opacity: 1;
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.cb-inner .cb-btn:focus-visible {
    outline: 2px solid var(--game-icon-color, #fcac19);
    outline-offset: 2px;
}
html[data-theme=dark] .cb-inner {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 var(--glare-color-neutral);
}
/* Телефон: плашка над нижним меню, кнопка во всю ширину */
@media (max-width: 767px) {
    .cb-wrap {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        padding: 0 10px;
    }
    .cb-inner {
        grid-template-columns: auto 1fr;
        align-items: start;
        gap: 12px;
        padding: 14px;
    }
    .cb-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .cb-inner .cb-btn {
        grid-column: 1 / -1;
        width: 100%;
        height: 40px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cb-inner { animation: none; transition: none; }
}

/* --- Антифейк: значки и предупреждения --- */
.add-fairplay-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-muted, #888);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}
.add-fairplay-notice i {
    font-size: 16px;
    color: var(--accent, #4a9eff);
    flex-shrink: 0;
}
html[data-theme=dark] .add-fairplay-notice {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.fp-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 600;
    color: #e6a23c;
    cursor: help;
}
.fp-badge i {
    font-size: 13px;
}
/* «Онлайн не подтверждён» — это не обвинение, а отсутствие данных.
   Поэтому нейтральный серый, а не тревожный оранжевый как у накрутки. */
.fp-badge--unverified {
    color: var(--text-secondary, #8a8f98);
    font-weight: 500;
}
.fp-badge--mirror {
    color: var(--text-secondary, #8a8f98);
    font-weight: 500;
}
.fp-badge--mirror a {
    color: inherit;
    text-decoration: underline;
}
.fp-badge--mirror a:hover {
    color: var(--text-main, #2c3134);
}
.row-about--fake {
    border-bottom: 1px solid var(--glass-br-soft, rgba(0,0,0,0.06));
}

/* ========== Оплаченный баннер в сайдбаре ========== */
.paid-banner { position: relative; display: inline-block; }
.paid-banner__label {
    position: absolute;
    bottom: 18px; right: 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.6);
}

/* ========== Баннерная реклама (/banner) — v3 ==========
   Язык страниц «Премиум»/«Продвижение»: заголовок .page-title, шаги .step-by-step,
   справа «Условия и данные». Цвета — игры (game_vars_*, подгружает banner.tpl/banner.js);
   --game-bg-target в тёмной теме тоже тёмный — им только заливаем, текст им не красим. */

.banner-page { padding-bottom: 40px; }
.banner-page .page-title { margin-bottom: 12px; }
.bn-tip { margin-bottom: 20px; }

.bn-grid {
    display: grid; grid-template-columns: 1fr 340px; gap: 40px;
    margin-bottom: 40px;
}
.bn-grid--bottom { align-items: start; }
@media (max-width: 991px) {
    .bn-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
}

/* Шаги формы */
.banner-page .step-title { display: flex; align-items: center; gap: 8px; }
.bn-num {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; line-height: 1;
    background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff);
}
.bn-step-sub { font-size: 13px; font-weight: 400; color: var(--text-sub); }

.calc-select {
    width: 100%; max-width: 440px; height: 50px; padding: 0 12px 0 16px;
    font-size: 15px; font-family: inherit; color: var(--text-default); cursor: pointer;
    background-color: var(--input-bg-default, #fff);
    border: 0; border-bottom: 1px solid var(--input-br-default, #dce2e7); border-radius: 8px;
    box-shadow: var(--input-shadow-default);
}
.calc-select:focus { outline: 1px solid var(--game-bg-target, #28397f); }

/* Слоты — карточки как услуги на «Продвижении» */
.calc-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-check { position: relative; display: block; cursor: pointer; }
.calc-check input { position: absolute; opacity: 0; pointer-events: none; }
.calc-check__body {
    display: flex; flex-direction: column; height: 100%;
    padding: 18px 18px 16px; border-radius: 14px;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.calc-check:hover .calc-check__body { background: var(--glass-bg-neutral); }
.calc-check input:focus-visible ~ .calc-check__body { outline: 2px solid var(--game-bg-target, #28397f); outline-offset: 2px; }
.calc-check__icon {
    width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    color: var(--game-icon-color, #fcac19); background: var(--glass-bg-neutral);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 var(--glare-color-neutral);
    transition: background-color 0.2s, color 0.2s;
}
.calc-check__box {
    position: absolute; top: 16px; right: 16px;
    width: 20px; height: 20px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: transparent;
    background: var(--input-bg-default, #fff); border: 1.5px solid var(--glass-br-neutral);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.calc-check__title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text-default); }
.calc-check__desc { flex-grow: 1; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
.calc-check__foot {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px;
    margin-top: 12px;
}
.calc-check__price { font-size: 14px; font-weight: 600; color: var(--text-default); white-space: nowrap; }
.calc-check__price:empty { display: none; }
.calc-check__badge { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.calc-check__badge--free { background: rgba(22,163,74,0.12); color: #16a34a; }
.calc-check__badge--taken { background: rgba(229,57,53,0.12); color: #e53935; }
.calc-check--disabled { cursor: not-allowed; }
.calc-check--disabled .calc-check__body { opacity: 0.55; pointer-events: none; }

.calc-check input:checked ~ .calc-check__body {
    background: var(--game-bg-target, #28397f); border-color: transparent;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-2px);
}
.calc-check input:checked ~ .calc-check__body .calc-check__title,
.calc-check input:checked ~ .calc-check__body .calc-check__price { color: var(--game-text-target-in, #fff); }
.calc-check input:checked ~ .calc-check__body .calc-check__desc { color: var(--game-text-target-in, #fff); opacity: 0.8; }
.calc-check input:checked ~ .calc-check__body .calc-check__icon {
    background: rgba(255,255,255,0.2); color: var(--game-text-target-in, #fff); box-shadow: none;
}
.calc-check input:checked ~ .calc-check__body .calc-check__box {
    background: #fff; border-color: transparent; color: var(--game-bg-target, #28397f);
}
.calc-check input:checked ~ .calc-check__body .calc-check__badge--free {
    background: rgba(255,255,255,0.2); color: var(--game-text-target-in, #fff);
}

/* Срок — чипсы как на «Премиуме» */
.calc-durations { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-radio { position: relative; cursor: pointer; user-select: none; }
.calc-radio input { position: absolute; opacity: 0; pointer-events: none; }
.calc-radio span {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 9px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    background: var(--glass-bg-neutral); border: 1px solid var(--glass-br-soft);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.calc-radio small { font-size: 11px; font-weight: 500; color: var(--text-sub); }
.calc-radio .calc-radio__best { color: #16a34a; }
.calc-radio:hover span { background: var(--glass-bg-softer); }
.calc-radio input:focus-visible + span { outline: 2px solid var(--game-bg-target, #28397f); outline-offset: 2px; }
.calc-radio input:checked + span {
    background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff);
    border-color: transparent; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.calc-radio input:checked + span small { color: inherit; opacity: 0.75; }

/* Шаг 4: данные баннера */
.calc-order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.calc-order__wide { grid-column: 1 / -1; }
.calc-upload {
    display: flex; align-items: center; justify-content: center;
    min-height: 120px; padding: 20px; text-align: center; cursor: pointer;
    border: 1.5px dashed var(--glass-br-neutral); border-radius: 12px;
    background: var(--glass-bg-softer);
    transition: background-color 0.2s, border-color 0.2s;
}
.calc-upload:hover, .calc-upload--dragover { border-color: var(--game-bg-target, #28397f); background: var(--glass-bg-neutral); }
.calc-upload__placeholder { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.calc-upload__placeholder i { font-size: 26px; margin-bottom: 4px; color: var(--game-icon-color, #fcac19); }
.calc-upload__placeholder span { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.calc-upload__placeholder .calc-upload__formats { font-size: 12px; font-weight: 400; color: var(--text-sub); }
.calc-upload__preview { max-width: 100px; max-height: 160px; border-radius: 6px; }

/* Правая колонка */
.bn-side { display: flex; flex-direction: column; gap: 10px; }

/* Макет страницы игры — светлый, в цветах игры */
.bp-preview {
    border-radius: 12px; overflow: hidden;
    background: var(--game-bg, #edeef0);
    border: 1px solid var(--glass-br-neutral);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.bp-preview__topbar {
    display: flex; align-items: center; gap: 10px; padding: 7px 12px;
    background: var(--glass-bg-hard); border-bottom: 1px solid var(--glass-br-soft);
}
.bp-preview__dots { display: flex; gap: 5px; }
.bp-preview__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--glass-br-neutral); }
.bp-preview__url {
    flex: 1; padding: 3px 10px; border-radius: 6px;
    background: var(--input-bg-default, #fff); font-size: 11px; color: var(--text-sub);
}
.bp-preview__url span { color: var(--text-default); font-weight: 500; }
.bp-preview__nav {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    border-bottom: 1px solid var(--glass-br-soft);
}
.bp-preview__logo { display: flex; color: var(--text-default); }
.bp-preview__logo svg { width: 16px; height: 16px; }
.bp-preview__nav-items { display: flex; gap: 4px; margin-left: auto; }
.bp-nav-pill {
    min-width: 30px; height: 18px; padding: 0 8px; border-radius: 5px;
    font-size: 10px; font-weight: 600; line-height: 18px; text-align: center;
    background: var(--glass-bg-neutral);
}
.bp-nav-pill--active { background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff); }
.bp-preview__content { display: flex; gap: 10px; padding: 12px; }
.bp-preview__servers { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bp-preview__heading { margin: 2px 0 4px; }
.bp-heading-line { height: 9px; width: 55%; border-radius: 3px; background: var(--glass-br-neutral); }
.bp-server {
    display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px;
    background: var(--card-bg-default, #fff); border: 1px solid var(--glass-br-soft);
}
.bp-preview__heading + .bp-server { box-shadow: inset 3px 0 0 var(--game-icon-color, #fcac19); }
.bp-server--dim { opacity: 0.45; }
.bp-server__icon { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; background: var(--glass-br-neutral); }
.bp-server__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bp-server__name { height: 6px; width: 75%; border-radius: 3px; background: var(--glass-br-neutral); }
.bp-server__meta { height: 5px; width: 40%; border-radius: 3px; background: var(--glass-br-neutral); opacity: 0.6; }
.bp-server__players { width: 22px; height: 10px; flex-shrink: 0; border-radius: 3px; background: var(--game-color-dark, #272a3b); opacity: 0.85; }
.bp-preview__ad-col { width: 96px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.bp-ad-slot {
    width: 96px; height: 154px; border-radius: 8px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-bg-neutral); border: 1.5px dashed var(--game-bg-target, #28397f);
}
.bp-ad-slot img { width: 100%; height: 100%; object-fit: cover; }
.bp-ad-slot:has(img) { border-style: solid; border-color: transparent; }
.bp-ad-slot__placeholder { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-secondary); }
.bp-ad-slot__placeholder i { font-size: 22px; color: var(--game-icon-color, #fcac19); }
.bp-ad-slot__text { font-size: 10px; font-weight: 600; }
.bp-ad-slot__size { font-size: 9px; color: var(--text-sub); }
.bp-ad-label { margin-top: 5px; font-size: 8px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-sub); }
.bp-caption { display: flex; align-items: flex-start; gap: 6px; padding: 0 2px; font-size: 12px; line-height: 1.4; color: var(--text-sub); }
.bp-caption i { margin-top: 2px; color: var(--game-icon-color, #fcac19); }

/* «Условия и данные» — как на «Продвижении» */
.bn-summary {
    position: sticky; top: 75px; margin-top: 10px;
    padding: 16px 20px; border-radius: 12px; line-height: 20px;
}
.bn-summary__title { padding: 2px 0 8px; font-size: 15px; font-weight: 600; color: var(--text-default); }
.bn-summary__rows { padding-top: 8px; border-top: 1px solid var(--glass-br-soft); }
.bn-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.bn-summary__row span:first-child { color: var(--text-sub); flex-shrink: 0; }
.bn-summary__row span:last-child { font-weight: 500; color: var(--text-default); text-align: right; }
.bn-summary__total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--glass-br-soft);
    font-size: 17px; font-weight: 600; color: var(--text-default);
}
#calcTotalPrice { font-size: 20px; font-weight: 700; white-space: nowrap; }
#calcTotalPrice.is-empty { color: var(--text-sub); font-weight: 500; }
.bn-summary__hint { margin-top: 2px; font-size: 12px; color: var(--text-sub); text-align: right; }
.bn-summary__hint:empty { display: none; }
.calc-error {
    margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45;
    background: rgba(229,57,53,0.1); border: 1px solid rgba(229,57,53,0.25); color: #e53935;
}
.calc-submit {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 14px; padding: 12px 20px;
    font-size: 15px; font-weight: 600; font-family: inherit;
    border: none; border-radius: 10px; cursor: pointer;
    background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff);
    transition: opacity 0.2s, transform 0.15s;
}
.calc-submit:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.calc-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.bn-summary__offer { margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: var(--text-sub); text-align: center; }
.bn-summary__offer a { color: inherit; text-decoration: underline; }
.calc-auth-notice {
    display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 10px;
    font-size: 13px; line-height: 1.5; color: var(--text-secondary);
    background: var(--glass-bg-neutral); border: 1px solid var(--glass-br-soft);
}
.calc-auth-notice i { margin-top: 3px; color: var(--game-icon-color, #fcac19); }
.calc-auth-notice a { font-weight: 600; color: var(--text-default); text-decoration: underline; }

/* Тарифы + занятые слоты */
.bn-block-title { margin: 0 0 10px; font-size: 17px; font-weight: 500; line-height: 28px; color: var(--text-default); }
.bn-tariffs__cards { display: flex; flex-direction: column; gap: 10px; }
.bn-tariff {
    display: grid; grid-template-columns: 120px auto 1fr; align-items: center; gap: 16px;
    padding: 14px 18px; border-radius: 12px;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
}
.bn-tariff--premium { border-color: var(--game-bg-target, #28397f); }
.bn-tariff__header { display: flex; align-items: center; gap: 6px; }
.bn-tariff__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-secondary); }
.bn-tariff__header i { font-size: 13px; color: var(--game-icon-color, #fcac19); }
.bn-tariff__price { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--text-default); white-space: nowrap; }
.bn-tariff__price span { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.bn-tariff__period { margin-top: 2px; font-size: 11px; color: var(--text-sub); white-space: nowrap; }
.bn-tariff__games { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.bn-tariff__game-tag {
    padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap;
    color: var(--text-secondary); background: var(--glass-bg-neutral); border: 1px solid var(--glass-br-soft);
}
.bn-tariffs__note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--text-sub); }
.bn-tariffs__note i { color: var(--game-icon-color, #fcac19); }

.bn-slots__list { display: flex; flex-direction: column; gap: 8px; }
.bn-slots__free {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 24px 20px; border-radius: 12px; text-align: center;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
}
.bn-slots__free i { margin-bottom: 4px; font-size: 26px; color: var(--game-icon-color, #fcac19); }
.bn-slots__free span { font-size: 15px; font-weight: 600; color: var(--text-default); }
.bn-slots__free small { font-size: 12px; color: var(--text-sub); }

/* Строка занятого слота в два яруса: игра + срок / слот + сайт (колонка 340px) */
.banner-occupied__row {
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px 14px; border-radius: 12px; font-size: 13px;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
}
.banner-occupied__head, .banner-occupied__meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.banner-occupied__game {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-weight: 600; color: var(--text-default);
}
.banner-occupied__until { margin-left: auto; flex-shrink: 0; white-space: nowrap; font-size: 12px; color: var(--text-secondary); }
.banner-occupied__until i { margin-right: 2px; color: var(--game-icon-color, #fcac19); }
.banner-occupied__slot {
    flex-shrink: 0; white-space: nowrap; padding: 2px 8px; border-radius: 6px; font-size: 11px;
    color: var(--text-secondary); background: var(--glass-bg-neutral); border: 1px solid var(--glass-br-soft);
}
.banner-occupied__who {
    margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 12px; font-weight: 500; color: var(--text-default);
}

/* Условия размещения */
.bn-footer__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.bn-footer__card {
    padding: 18px 16px; border-radius: 12px; text-align: center;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
}
.bn-footer__icon {
    width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    color: var(--game-icon-color, #fcac19); background: var(--glass-bg-neutral);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 var(--glare-color-neutral);
}
.bn-footer__icon--red { color: #e53935; }
.bn-footer__card-title { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--text-default); }
.bn-footer__card-desc { font-size: 12px; line-height: 1.4; color: var(--text-sub); }
.bn-footer__contact {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px;
    padding: 14px 20px; border-radius: 12px; font-size: 13px;
    background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft);
}
.bn-footer__contact span { color: var(--text-secondary); }
.bn-footer__contact a {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; margin: -4px 0; border-radius: 8px;
    font-weight: 600; color: var(--text-default); text-decoration: none; transition: background-color 0.2s;
}
.bn-footer__contact a i { color: var(--game-icon-color, #fcac19); }
.bn-footer__contact a:hover { background: var(--glass-bg-neutral); text-decoration: none; }

/* ===== Мобильная адаптация /banner ===== */
@media (max-width: 991px) {
    .bn-summary { position: static; }
    .bp-preview, .bp-caption { width: 100%; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .bn-tip { margin-bottom: 16px; }
    .calc-select { max-width: none; }
    .calc-check__body { padding: 14px 14px 12px; }
    .calc-check__box { top: 12px; right: 12px; }
    .calc-check__icon { width: 36px; height: 36px; font-size: 15px; margin-bottom: 10px; }
    .calc-check__title { font-size: 14px; }
    .calc-check__desc { font-size: 12px; }
    .calc-check input:checked ~ .calc-check__body { transform: none; }
    .calc-order__grid { grid-template-columns: 1fr; }
    .banner-page .form-textbox .label { font-size: 15px; }
    .bn-summary { padding: 14px 16px; }
    .bn-tariff { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 12px 14px; }
    .bn-tariff__games { grid-column: 1 / -1; justify-content: flex-start; }
    .bn-tariff__cost { text-align: right; }
    .bn-footer__cards { grid-template-columns: 1fr 1fr; gap: 8px; }
    .bn-footer__card { padding: 14px 12px; }
    .banner-occupied__row { padding: 10px 12px; gap: 6px; }
}
@media (max-width: 560px) {
    .calc-slots { grid-template-columns: 1fr; gap: 8px; }
    .calc-check__foot { margin-top: 8px; }
}

/* ── Голосование за Minecraft-сервер по нику и награда NuVotifier (v0.65.61) ── */
.server-page .mc-vote {
  border: 1px solid var(--glass-br-soft);
  border-radius: 10px;
  background: var(--glass-bg-neutral);
  padding: 14px 16px;
}
.server-page .mc-vote .block-title { margin-bottom: 6px; }
.mc-vote__text { margin: 0 0 10px; font-size: 14px; color: var(--text-sub); }
.mc-vote__form { display: flex; gap: 8px; }
.mc-vote__form input[name=nick] { flex: 1 1 auto; min-width: 0; width: auto; height: 44px; }
.mc-vote__form button { flex: 0 0 auto; width: auto; height: 44px; padding: 0 18px; border-radius: 8px; white-space: nowrap; }
.mc-vote__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mc-vote__meta { margin-top: 8px; font-size: 13px; color: var(--text-sub); }
.mc-vote__consent { margin-top: 4px; font-size: 12px; }
@media (max-width: 420px) {
  .mc-vote__form { flex-direction: column; }
  .mc-vote__form button { width: 100%; }
}
.vf-fields { display: flex; flex-direction: column; gap: 8px; }
.vf-fields select { height: 44px; }
.vf-fields textarea { width: 100%; font-family: monospace; font-size: 13px; }
.vf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vf-status { font-size: 14px; min-height: 20px; }
.vf-status .vf-ok { color: #2fbf71; }
.vf-status .vf-err { color: #e5534b; }

/* ── Голосование: ссылка на инструкцию, кнопка владельца, API-ключ на /edit (v0.65.71) ── */
.mc-vote__owner {
  display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 10px;
  color: var(--text-default); text-decoration: none;
  background: color-mix(in srgb, var(--game-bg-target, #28397f) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--game-bg-target, #28397f) 30%, transparent);
  transition: background-color 0.2s;
}
.mc-vote__owner:hover { background: color-mix(in srgb, var(--game-bg-target, #28397f) 16%, transparent); text-decoration: none; }
.mc-vote__owner > i:first-child { font-size: 20px; color: var(--game-icon-color, #fcac19); flex-shrink: 0; }
.mc-vote__owner > i:last-child { margin-left: auto; color: var(--text-sub); flex-shrink: 0; }
.mc-vote__owner span { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.4; color: var(--text-sub); }
.mc-vote__owner span b { font-size: 14px; color: var(--text-default); }

.server-management .vg-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 500; }
.server-management .vg-link i { color: var(--game-icon-color, #fcac19); }
.apikey-fields { display: flex; flex-direction: column; gap: 10px; }
.apikey-state { font-size: 14px; line-height: 1.5; }
.apikey-state .vf-ok { color: #2fbf71; }
.apikey-state code { font-family: monospace; color: var(--text-default); }
.apikey-used { margin-top: 2px; font-size: 12.5px; color: var(--text-sub); }
.apikey-none { color: var(--text-sub); }
.apikey-reveal { padding: 12px 14px; border-radius: 10px; background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.3); }
.apikey-reveal__title { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #c2410c; }
html[data-theme=dark] .apikey-reveal__title { color: #fb923c; }
.apikey-reveal__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.apikey-reveal__row code {
  flex: 1 1 260px; min-width: 0; padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere;
  font-family: monospace; font-size: 13px; color: var(--text-default); background: var(--glass-bg-neutral); user-select: all;
}

/* ===== Голосование за сервер — инструкция для владельцев (/vote-guide, v0.65.71) =====
   Каркас — общий язык страниц «Баннер»/«Картинки карт»: .page-title, .text-tip, .bn-block-title,
   .step-by-step + .bn-num, .bn-footer__cards, .calc-submit. Цвета — раздела Minecraft. */
/* contain: inline-size — иначе сетка страницы (.main-container) растягивается по самой длинной строке
   кода в <pre> и на телефоне страница становится шириной ~1000 px с обрезанным текстом */
.vg-page { max-width: 1000px; padding-bottom: 40px; contain: inline-size; }
.vg-page p code, .vg-page td code, .vg-page li code { overflow-wrap: anywhere; }
.vg-page .page-title { margin-bottom: 12px; }
.vg-tip { margin-bottom: 16px; }
.vg-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.vg-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  font-size: 13px; color: var(--text-secondary); text-decoration: none;
  background: var(--glass-bg-softer); border: 1px solid var(--glass-br-soft);
  transition: background-color 0.2s, color 0.2s;
}
.vg-nav a:hover { background: var(--glass-bg-neutral); color: var(--text-default); text-decoration: none; }
.vg-nav a i { color: var(--game-icon-color, #fcac19); }
.vg-section { margin-bottom: 36px; scroll-margin-top: 80px; }
.vg-lead { margin: -4px 0 14px; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.vg-h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 600; color: var(--text-default); }
.vg-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-sub); }
.vg-page p { line-height: 1.55; }
.vg-page code { padding: 1px 5px; border-radius: 4px; font-family: monospace; font-size: 0.92em; background: color-mix(in srgb, var(--text-default) 7%, transparent); }
.vg-cards { margin-bottom: 14px; }
.vg-cards .bn-footer__card { text-align: left; }
.vg-cards .bn-footer__icon { margin: 0 0 10px; }

.vg-box { margin-top: 14px; padding: 16px 18px; border-radius: 12px; background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft); }
.vg-box--warn { border-color: rgba(217,119,6,0.35); background: rgba(217,119,6,0.06); }
.vg-box__title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--text-default); }
.vg-box__title i { color: var(--game-icon-color, #fcac19); }
.vg-box--warn .vg-box__title i { color: #d97706; }
.vg-box p { margin: 6px 0 0; font-size: 13.5px; color: var(--text-secondary); }

.vg-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vg-way { display: flex; flex-direction: column; padding: 18px; border-radius: 14px; background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft); }
.vg-way__head { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--text-default); }
.vg-way__head i { color: var(--game-icon-color, #fcac19); }
.vg-way__sub { margin: 2px 0 10px; font-size: 13px; color: var(--text-sub); }
.vg-way ul { flex-grow: 1; margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.vg-way li + li { margin-top: 4px; }
.vg-way__go {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff); transition: opacity 0.2s;
}
.vg-way__go:hover { opacity: 0.9; text-decoration: none; }

.vg-steps { gap: 14px; }
.vg-steps .step { padding: 14px 16px; border-radius: 12px; background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft); }
.vg-steps .step-title { display: flex; align-items: center; gap: 8px; }
.vg-steps .step p { margin: 4px 0 0; font-size: 13.5px; color: var(--text-secondary); }

.vg-code { position: relative; margin-top: 10px; border-radius: 10px; background: color-mix(in srgb, var(--text-default) 6%, transparent); border: 1px solid var(--glass-br-soft); }
.vg-code pre { margin: 0; padding: 12px 14px; overflow-x: auto; font-family: "JetBrains Mono", Consolas, monospace; font-size: 12.5px; line-height: 1.55; color: var(--text-default); white-space: pre; }
.vg-copy {
  position: absolute; top: 6px; right: 6px; z-index: 1; width: auto; max-height: none; padding: 4px 9px; border-radius: 6px;
  font-family: inherit; font-size: 11.5px; color: var(--text-secondary); cursor: pointer;
  background: var(--glass-bg-hard); border: 1px solid var(--glass-br-soft); transition: color 0.2s;
}
.vg-copy:hover { color: var(--text-default); }
.vg-code:has(.vg-copy) pre { padding-right: 96px; }

.vg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vg-tab {
  width: auto; max-height: none; padding: 6px 12px; border-radius: 8px; font-family: inherit; font-size: 13px; cursor: pointer;
  color: var(--text-secondary); background: var(--glass-bg-softer); border: 1px solid var(--glass-br-soft); transition: background-color 0.2s, color 0.2s;
}
.vg-tab:hover { background: var(--glass-bg-neutral); color: var(--text-default); }
.vg-tab.is-active { background: var(--game-bg-target, #28397f); color: var(--game-text-target-in, #fff); border-color: transparent; }
.vg-pane { display: none; }
.vg-pane.is-active { display: block; }

.vg-table-wrap { overflow-x: auto; border-radius: 12px; border: 1.5px solid var(--glass-br-soft); background: var(--glass-bg-softer); }
.vg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vg-table th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-sub); border-bottom: 1px solid var(--glass-br-soft); }
.vg-table td { padding: 10px 14px; vertical-align: top; line-height: 1.5; color: var(--text-secondary); border-bottom: 1px solid var(--glass-br-soft); }
.vg-table tr:last-child td { border-bottom: none; }
.vg-table td:first-child { color: var(--text-default); white-space: nowrap; }
/* Колонка с кодом ошибки (средняя в таблице из трёх колонок) — код не рвём посередине (https_requir-ed) */
.vg-table td:nth-child(2):not(:last-child) code { white-space: nowrap; overflow-wrap: normal; }
.vg-table small { color: var(--text-sub); }
.vg-m { display: inline-block; min-width: 38px; padding: 1px 6px; border-radius: 5px; font-size: 11px; font-weight: 700; text-align: center; }
.vg-m--get { background: rgba(22,163,74,0.12); color: #16a34a; }
.vg-m--post { background: rgba(37,99,235,0.12); color: #2563eb; }
html[data-theme=dark] .vg-m--post { color: #60a5fa; }

.vg-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vg-sec { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft); }
.vg-sec > i { margin-top: 3px; font-size: 16px; color: var(--game-icon-color, #fcac19); flex-shrink: 0; }
.vg-sec b { color: var(--text-default); }

.vg-faq { display: flex; flex-direction: column; gap: 8px; }
.vg-faq details { padding: 12px 16px; border-radius: 12px; background: var(--glass-bg-softer); border: 1.5px solid var(--glass-br-soft); }
.vg-faq summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-default); }
.vg-faq details p { margin: 8px 0 0; font-size: 13.5px; color: var(--text-secondary); }

.vg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.vg-cta__btn { width: auto; padding: 12px 22px; text-decoration: none; }
.vg-cta__btn:hover { text-decoration: none; }
.vg-cta__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.vg-cta__link i { color: var(--game-icon-color, #fcac19); }

/* ── Ссылки в тексте — лёгкий чип, как в SEO-тексте (.page-lead a), а не подчёркивание ──
   Заказчик 02.10.2026: «ссылки должны быть в стиле сайта». Два вида, как требует дизайн-система:
   • в светлых карточках (голосование, «Сервер подтверждён», отзывы, /edit) — фон через color-mix:
     стекло --glass-bg-hard там белое на белом, чип пропадает (как .tags-all__chip на /edit);
   • в тексте страниц-инструкций (/vote-guide, /developers) — ровно чип SEO-текста (стекло + светлая
     рамка): серый там путается с плашками <code>.
   clone — у ссылки, перенесённой на две строки, рамка и отступы у обеих половин. */
.mc-vote__meta a,
.server-page .access-card .access-reclaim a,
.server-page .server-reviews .reviews-hidden-note a,
.server-page .server-reviews .create-review .disabled a,
.server-management .vg-link,
.vg-page p a, .vg-page li a, .vg-page summary a, .vg-tip a, .vg-sec a,
.vg-cta__link {
  color: var(--text-default);
  text-decoration: none;
  background: color-mix(in srgb, var(--text-default) 6%, transparent);
  border: 1px solid var(--glass-br-soft);
  border-radius: 4px;
  padding: 0 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color 0.2s, color 0.2s;
}
.mc-vote__meta a:hover,
.server-page .access-card .access-reclaim a:hover,
.server-page .server-reviews .reviews-hidden-note a:hover,
.server-page .server-reviews .create-review .disabled a:hover,
.server-management .vg-link:hover,
.vg-page p a:hover, .vg-page li a:hover, .vg-page summary a:hover, .vg-tip a:hover, .vg-sec a:hover,
.vg-cta__link:hover {
  color: var(--text-default);
  background: color-mix(in srgb, var(--text-default) 12%, transparent);
  text-decoration: none;
}
/* Инструкции: чип SEO-текста (.page-lead a) — стекло + светлая рамка, наведение --hover-hard */
.vg-page p a, .vg-page li a, .vg-page summary a, .vg-tip a, .vg-sec a,
.vg-cta__link {
  background: var(--glass-bg-hard);
  border-color: var(--glass-br-bright-neutral);
}
.vg-page p a:hover, .vg-page li a:hover, .vg-page summary a:hover, .vg-tip a:hover, .vg-sec a:hover,
.vg-cta__link:hover {
  background: var(--hover-hard);
}
/* Короткие ссылки в строке-подписи не рвём на две строки («Как / это работает») */
.mc-vote__meta a,
.server-page .server-reviews .create-review .disabled a {
  white-space: nowrap;
}
/* Отдельные ссылки с иконкой (не внутри фразы) — чип покрупнее */
.server-management .vg-link,
.vg-cta__link {
  padding: 4px 10px;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .vg-compare, .vg-sec-grid { grid-template-columns: 1fr; }
  .vg-nav { margin-bottom: 20px; }
  .vg-section { margin-bottom: 28px; }
  .vg-table td:first-child { white-space: normal; }
}
