@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/nunito-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night-800: #475985;
  --bg-rgb: 56 70 104;
  --bg-low: #323f5e;
  --plate-rgb: 42 54 82;
  --panel-a: #45567f;
  --panel-b: #405077;
  --panel-c: #4a4f7a;
  --bubble: #313e5c;
  --footer-bg: #2d3955;
  --btn-night: #50638f;
  --btn-night-hover: #5a6e9c;
  --tint-rgb: 214 224 245;
  --line: rgb(var(--tint-rgb) / .2);
  --line-gold: rgba(255, 201, 60, .45);
  --text: #f3f6fd;
  --soft: #d2d9ea;
  --mute: #a0abc4;
  --gold: #ffc93c;
  --gold-deep: #e3a514;
  --gold-text: #ffd257;
  --sky: #8cc8f0;
  --neon: #ff6a3d;
  --ink: #080c16;
  --boosty: #f26a24;
  --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --banner-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0 }

html { -webkit-text-size-adjust: 100% }

body.site3 {
  min-height: 100vh;
  font: 500 16px/1.6 var(--font);
  color: var(--text);
  background: linear-gradient(180deg, rgb(var(--bg-rgb)) 0, rgb(var(--bg-rgb)) 900px, var(--bg-low) 100%);
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.site3) img { display: block; max-width: 100%; height: auto }
:where(.site3) a { color: inherit; text-decoration: none }
:where(.site3) button { font-family: inherit }
:where(.site3) [hidden] { display: none !important }
html:not(.is-signed-in) .only-signed-in { display: none !important }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.ic-fill { fill: currentColor; stroke: none }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px }

.tier-0 { --tier: #a0abc4 }
.tier-1 { --tier: #e39a5a }
.tier-2 { --tier: #c4ccd9 }
.tier-3 { --tier: #ffcc4a }
.tier-4 { --tier: #5fdcd6 }
.tier-5 { --tier: #b896ff }
.tier-6 { --tier: #ff7fa6 }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font: 900 15px/1 var(--font);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}

.btn:hover { transform: translate(-1px, -1px) }
.btn:active { transform: translate(2px, 2px) }

.btn-gold { color: var(--ink); background: var(--gold); box-shadow: 4px 4px 0 var(--ink), inset 0 -3px 0 rgba(150, 90, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .45) }
.btn-gold:hover { background: #ffd25e; box-shadow: 5px 5px 0 var(--ink), inset 0 -3px 0 rgba(150, 90, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .45) }
.btn-gold:active { box-shadow: 2px 2px 0 var(--ink), inset 0 -3px 0 rgba(150, 90, 0, .35) }

.btn-night { color: var(--gold-text); background: var(--btn-night); box-shadow: 4px 4px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .12) }
.btn-night:hover { background: var(--btn-night-hover); box-shadow: 5px 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .12) }

.btn-boosty { color: #fff; background: var(--boosty); box-shadow: 4px 4px 0 var(--ink), inset 0 -3px 0 rgba(120, 30, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .3) }
.btn-boosty:hover { background: #ff7a35 }

.btn-big { padding: 16px 34px; font-size: 18px }
.btn .ic { width: 20px; height: 20px }

.gem {
  width: 9px;
  height: 9px;
  flex: none;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 2px rgb(var(--plate-rgb) / .9), 0 0 0 3px var(--line-gold);
}

.section { position: relative; padding: 56px 0 }

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font: 900 36px/1.1 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--ink);
}

.section-title-line { height: 1px; margin: 22px 0 30px; background: linear-gradient(90deg, transparent, var(--line-gold) 20%, var(--line-gold) 80%, transparent) }

.news-thumb { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 14px 28px -16px rgba(5, 8, 25, .8) }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s }

.news-main:hover .news-thumb img, .news-side-item:hover .news-thumb img { transform: scale(1.04) }

.news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  font: 900 11px/1.3 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--neon);
  border: 2px solid var(--ink);
  border-radius: 6px;
  transform: rotate(-3deg);
}

.news-kind { display: block; font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sky) }
.news-date { display: block; margin-top: 8px; font-size: 14px; color: var(--mute) }

.news-side-item { display: grid; grid-template-columns: 176px 1fr; gap: 20px; align-items: start }
.news-side-item .news-thumb { aspect-ratio: 16 / 9; border-radius: 10px }
.news-side-item h4 { margin-top: 2px; font: 900 18px/1.3 var(--font); color: var(--text); transition: color .15s }
.news-side-item p { margin-top: 4px; font-size: 14px; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.news-side-item .news-date { margin-top: 6px; font-size: 13px }

.news-main:hover h3, .news-side-item:hover h4 { color: var(--gold-text) }

.news-main .news-thumb { aspect-ratio: 16 / 9 }
.news-main .news-kind { margin-top: 18px }
.news-main h3 { margin-top: 4px; font: 900 26px/1.25 var(--font); color: var(--text); transition: color .15s }
.news-main p { margin-top: 6px; font-size: 16px; color: var(--soft) }

.news-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px }
.news-grid3 .news-side-item { grid-template-columns: 1fr; gap: 14px }

.news-skeleton .news-thumb { background: rgb(var(--tint-rgb) / .07); animation: news-pulse 1.4s ease-in-out infinite }
.news-skeleton-line { display: block; height: 14px; margin-top: 12px; border-radius: 7px; background: rgb(var(--tint-rgb) / .07); animation: news-pulse 1.4s ease-in-out infinite }
.news-skeleton-line.is-title { height: 22px; width: 70% }
.news-skeleton-line.is-short { width: 40% }
@keyframes news-pulse { 50% { opacity: .45 } }

.btn-small { gap: 8px; padding: 9px 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink) }
.btn-small .ic { width: 16px; height: 16px }
.btn-small:hover { box-shadow: 4px 4px 0 var(--ink) }

@supports (text-box: trim-both cap alphabetic) {
  :is(.btn, .seg3-btn, .page-back, .footer-title, .field-label, .site-account, .site-notice-action):has(> .ic) > span { text-box: trim-both cap alphabetic; padding-block: calc((1lh - 1cap) / 2) }
}

.page-head { position: relative; padding: calc(140px + var(--banner-h)) 24px 44px; text-align: center; overflow: hidden; isolation: isolate }

.page-head-art {
  position: absolute;
  inset: -48px;
  z-index: -2;
  background: url('/images/town.jpg') center 30% / cover no-repeat;
  filter: blur(12px) saturate(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
}

.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(var(--plate-rgb) / .6) 0, rgb(var(--bg-rgb) / .5) 45%, rgb(var(--bg-rgb)) 100%);
}

.page-back { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font: 800 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); transition: color .15s }
.page-back .ic { width: 16px; height: 16px; transition: transform .2s }
.page-back:hover { color: var(--gold-text) }
.page-back:hover .ic { transform: translateX(-3px) }

.panel3 {
  background: linear-gradient(135deg, var(--panel-a) 0%, var(--panel-b) 55%, var(--panel-c) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -36px rgba(5, 8, 25, .9);
}

.page-title { margin-top: 14px; font: 900 40px/1.15 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-shadow: 3px 3px 0 var(--ink) }
.page-lead { max-width: 640px; margin: 12px auto 0; font-size: 18px; color: var(--soft); text-shadow: 0 2px 10px rgba(0, 0, 0, .45) }

.seg3 { display: inline-flex; gap: 4px; padding: 4px; background: rgb(var(--plate-rgb) / .75); border: 1px solid var(--line); border-radius: 12px }
.seg3-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font: 800 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); background: none; border: 0; border-radius: 9px; cursor: pointer; transition: background .15s, color .15s }
.seg3-btn .ic { width: 16px; height: 16px }
.seg3-btn:hover { color: var(--text); background: rgb(var(--tint-rgb) / .08) }
.seg3-btn.active { color: var(--ink); background: var(--gold) }

.field { display: grid; gap: 8px; min-width: 0 }
.field-label { display: flex; align-items: center; gap: 8px; font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--soft) }
.field-label .ic { width: 15px; height: 15px; color: var(--gold) }
.field-hint { font: 600 13px/1.45 var(--font); letter-spacing: 0; text-transform: none; color: var(--mute) }

.control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font: 700 15px var(--font);
  color: var(--text);
  background: rgb(var(--plate-rgb) / .7);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color-scheme: dark;
  transition: border-color .15s, box-shadow .15s;
}

.control::placeholder { color: var(--mute) }
.control:focus { border-color: rgba(255, 201, 60, .65); box-shadow: 0 0 0 3px rgba(255, 201, 60, .15) }
select.control { appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd257' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px }
select.control option { color: var(--text); background: rgb(var(--plate-rgb)) }
textarea.control { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical }

.ic-spin { animation: ic-spin .8s linear infinite }

select.select3-open { border-color: rgba(255, 201, 60, .65); box-shadow: 0 0 0 3px rgba(255, 201, 60, .15) }

.select3-list {
  position: fixed;
  z-index: 90;
  max-width: min(420px, calc(100vw - 24px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: rgb(var(--plate-rgb));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(5, 8, 25, .9);
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--tint-rgb) / .25) transparent;
  animation: select3-in .12s ease-out;
}

.select3-list.is-up { animation-name: select3-in-up }
@keyframes select3-in { from { opacity: 0; transform: translateY(-4px) } }
@keyframes select3-in-up { from { opacity: 0; transform: translateY(4px) } }

.select3-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute) }
.select3-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 36px; padding: 8px 10px 8px 12px; font-weight: 700; line-height: 1.3; color: var(--soft); border-radius: 8px; cursor: pointer; user-select: none; overflow-wrap: anywhere }
.select3-option svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; visibility: hidden }
.select3-option.is-active { color: var(--text); background: rgb(var(--tint-rgb) / .1) }
.select3-option[aria-selected="true"] { color: var(--gold-text) }
.select3-option[aria-selected="true"] svg { visibility: visible }
.select3-option[aria-disabled="true"] { opacity: .45; cursor: default }
@keyframes ic-spin { to { transform: rotate(360deg) } }

.site3 .mk-toast {
  --toast-tone: var(--sky);
  min-width: 300px;
  padding: 14px 16px;
  background: rgb(var(--plate-rgb) / .98);
  border: 1px solid var(--line);
  border-left: 4px solid var(--toast-tone);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(5, 8, 25, .9);
}

.site3 .mk-toast-success { --toast-tone: #6fdc8c }
.site3 .mk-toast-error { --toast-tone: #ff8a7a }
.site3 .mk-toast-warning { --toast-tone: var(--gold) }
.site3 .mk-toast-icon { width: 10px; height: 10px; font-size: 0; border-radius: 50%; background: var(--toast-tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--toast-tone) 22%, transparent) }
.site3 .mk-toast-message { font: 700 14px/1.45 var(--font); color: var(--text) }

.site-notices { position: fixed; top: 0; left: 0; right: 0; z-index: 21; display: grid; gap: 8px; padding: 16px 24px 0; pointer-events: none }

.site-notice { width: 100%; max-width: var(--wrap); margin: 0 auto; pointer-events: auto; font-family: var(--font) }

.site-notice-inner {
  --notice: #ff9a4c;
  --notice-rgb: 255 154 76;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 8px 10px 8px 9px;
  background: radial-gradient(90% 260% at 0% 50%, rgb(var(--notice-rgb) / .22), transparent 42%), rgb(var(--plate-rgb) / .94);
  border: 1px solid rgb(var(--notice-rgb) / .5);
  border-radius: 14px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7), inset 3px 0 0 var(--notice);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.policy-notice-banner .site-notice-inner { --notice: var(--sky); --notice-rgb: 140 200 240 }

.site-notice-icon { position: relative; flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: var(--notice); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 2px 2px 0 var(--ink) }
.site-notice-icon .ic { width: 18px; height: 18px; stroke-width: 2.4 }
.maintenance-banner .site-notice-icon .ic { animation: notice-wrench 2.6s ease-in-out infinite; transform-origin: 50% 50% }

.site-notice-text { flex: 1; min-width: 0; font: 800 15px/1.4 var(--font); color: var(--text) }
.site-notice-text a { color: var(--notice); text-decoration: underline; text-decoration-color: rgb(var(--notice-rgb) / .5); text-underline-offset: 3px }
.site-notice-text a:hover { text-decoration-color: currentColor }

.site-notice-action { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font: 900 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); background: rgb(var(--tint-rgb) / .07); border: 1px solid var(--line); border-radius: 10px; transition: background .15s, border-color .15s }
.site-notice-action .ic { width: 15px; height: 15px; transition: transform .2s }
.site-notice-action:hover { background: rgb(var(--tint-rgb) / .12); border-color: var(--line-gold) }
.site-notice-action:hover .ic { transform: translateX(3px) }

.site-notice-close { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--soft); background: rgb(var(--tint-rgb) / .07); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: background .15s, color .15s }
.site-notice-close .ic { width: 15px; height: 15px }
.site-notice-close:hover { color: var(--text); background: rgb(var(--tint-rgb) / .14) }

@keyframes notice-wrench {
  0%, 70%, 100% { transform: rotate(0) }
  78% { transform: rotate(-24deg) }
  86% { transform: rotate(14deg) }
  93% { transform: rotate(-6deg) }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-banner .site-notice-icon .ic { animation: none }
  .select3-list { animation: none }
  .cookie-note { animation: none }
  .site-burger .ic { transition: none }
}

.cookie-note {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 580px;
  padding: 12px 12px 12px 14px;
  background: rgb(var(--plate-rgb) / .97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(5, 8, 25, .9);
  animation: cookie-note-in .25s ease-out;
}

.cookie-note-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); background: var(--sky); border: 2px solid var(--ink); border-radius: 9px; box-shadow: 2px 2px 0 var(--ink) }
.cookie-note-icon .ic { width: 16px; height: 16px; stroke-width: 2.4 }
.cookie-note-text { flex: 1; min-width: 0; font: 700 14px/1.45 var(--font); color: var(--soft) }
.cookie-note-text a { color: var(--gold-text); text-decoration: underline; text-decoration-color: rgba(255, 210, 87, .45); text-underline-offset: 3px }
.cookie-note-text a:hover { text-decoration-color: currentColor }
.cookie-note-ok { flex: none }
@keyframes cookie-note-in { from { opacity: 0; transform: translateY(10px) } }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 8, 25, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}

.modal-overlay.active { opacity: 1; visibility: visible }

.modal-content {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  background: linear-gradient(135deg, var(--panel-a) 0%, var(--panel-b) 55%, var(--panel-c) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: translateY(12px) scale(.98);
  transition: transform .2s;
}

.modal-overlay.active .modal-content { transform: none }

.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--soft); background: rgb(var(--tint-rgb) / .08); border: 0; border-radius: 50%; cursor: pointer; transition: background .15s, color .15s }
.modal-close:hover { color: var(--text); background: rgb(var(--tint-rgb) / .16) }
.modal-close .ic { width: 16px; height: 16px }

.modal-title { padding-right: 40px; font: 900 20px/1.25 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-shadow: 2px 2px 0 var(--ink) }

.site-header {
  position: fixed;
  top: max(16px, calc(var(--banner-h) + 10px));
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 24px;
  transition: top .2s;
}

.site-header.is-scrolled { top: calc(var(--banner-h) + 8px) }

.site-header-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px 0 22px;
  height: 68px;
  background: rgb(var(--plate-rgb) / .78);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7);
  transition: background .2s, box-shadow .2s;
}

.site-header.is-scrolled .site-header-inner { background: rgb(var(--plate-rgb) / .95); box-shadow: 0 16px 34px -18px rgba(5, 8, 25, .9) }

.site-logo { display: flex; align-items: center; flex: none }
.site-logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)) }

.site-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px }

.site-nav a {
  position: relative;
  padding: 8px 14px;
  font: 900 14px/1 var(--font);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .15s;
}

.site-nav a:hover { color: var(--gold-text) }
.site-nav a.active { color: var(--gold) }

.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-bottom-color: var(--gold);
}

.site-nav .nav-link-login { display: none }

.site-actions { margin-left: auto; display: flex; align-items: center; gap: 20px }

.site-account { display: inline-flex; align-items: center; gap: 7px; font: 800 13px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--soft) }
.site-account:hover { color: var(--text) }
.site-account .ic { width: 16px; height: 16px }

.site-burger {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: var(--night-800);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}

.site-burger .ic { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity .18s, transform .22s }
.site-burger .burger-close { opacity: 0; transform: rotate(-90deg) scale(.6) }
.site-burger.active { color: var(--ink); background: var(--gold) }
.site-burger.active .burger-open { opacity: 0; transform: rotate(90deg) scale(.6) }
.site-burger.active .burger-close { opacity: 1; transform: none }

.user-menu { position: relative }

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  font: 800 14px var(--font);
  color: var(--text);
  background: rgb(var(--tint-rgb) / .07);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}

.user-menu-btn:hover, .user-menu.open .user-menu-btn { background: rgb(var(--tint-rgb) / .13) }

.user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
}

.user-avatar .ic { width: 17px; height: 17px; stroke-width: 2.4 }
.user-name { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.user-caret { width: 16px; height: 16px; color: var(--mute); transition: transform .15s }
.user-menu.open .user-caret { transform: rotate(180deg) }

.notif-badge, .notif-count-chip {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font: 900 11px/1 var(--font);
  color: #fff;
  background: var(--neon);
  border-radius: 999px;
}

.notif-badge { position: absolute; top: -5px; right: -7px; border: 2px solid rgb(var(--plate-rgb)) }
.notif-count-chip { margin-left: auto }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  display: none;
  background: rgb(var(--plate-rgb) / .98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 36px -16px rgba(5, 8, 25, .9);
}

.user-menu.open .user-dropdown { display: block }

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font: 700 15px var(--font);
  color: var(--soft);
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s;
}

.dropdown-item .ic { width: 17px; height: 17px; color: var(--mute) }
.dropdown-item:hover { color: var(--text); background: rgb(var(--tint-rgb) / .08) }
.dropdown-item:hover .ic { color: var(--gold-text) }
.dropdown-divider { margin: 6px 4px; border: 0; border-top: 1px solid var(--line) }
.dropdown-item-logout:hover { color: #ff9a7a }
.dropdown-item-logout:hover .ic { color: #ff9a7a }

.footer { margin-top: 24px; background: var(--footer-bg); border-top: 1px solid var(--line) }

.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr 1.1fr; gap: 40px; padding: 44px 0 36px }

.footer-logo { height: 58px; width: auto }
.footer-label { margin-top: 20px; font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--mute) }
.footer-social { margin-top: 10px; display: flex; gap: 10px }

.footer-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 900 14px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text) }
.footer-title .ic { width: 17px; height: 17px; color: var(--gold) }

.footer-nav { display: grid; gap: 8px; font-size: 15px }
.footer-nav a { color: var(--soft); width: fit-content }
.footer-nav a:hover { color: var(--gold-text) }

.footer-contacts { display: grid; gap: 8px; font-size: 15px }
.footer-contact { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); width: fit-content }
a.footer-contact:hover { color: var(--gold-text) }
.footer-contact .ic { width: 15px; height: 15px; color: var(--mute) }

.footer-text { font-size: 15px; color: var(--soft); max-width: 260px }

.footer-btn { margin-top: 18px; padding: 11px 16px; font-size: 13px; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink) }
.footer-btn .ic { width: 18px; height: 18px }

.social {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--soft);
  background: rgb(var(--tint-rgb) / .08);
  border-radius: 12px;
  transition: background .15s, color .15s, transform .15s;
}

.social .ic { width: 20px; height: 20px }
.social:hover { color: #fff; transform: translateY(-2px) }
.social.is-vk:hover { background: #0077ff }
.social.is-discord:hover { background: #5865f2 }
.social.is-telegram:hover { background: #229ed9 }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute) }

.footer-legal { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap }
.footer-legal nav { display: flex; gap: 22px; flex-wrap: wrap }
.footer-legal a { color: var(--soft) }
.footer-legal a:hover { color: var(--text) }

.footer-dev { display: inline-flex; align-items: center; gap: 10px; color: var(--mute) }
.footer-dev img { height: 20px; width: auto; opacity: .85 }

@media (max-width: 960px) {
  .site-header-inner { justify-content: space-between }
  .site-burger { display: grid }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgb(var(--plate-rgb));
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7);
  }
  .site-nav.active { display: flex }
  .site-nav a { padding: 12px 14px; border-radius: 10px }
  .site-nav a.active { background: rgba(255, 201, 60, .12) }
  .site-nav a.active::after { display: none }
  .site-nav .nav-link-login { display: block }
  .user-name { display: none }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px }
  .footer-bottom { flex-wrap: wrap }
  .footer-dev { white-space: nowrap }
}

@media (max-width: 640px) {
  .site-header { top: calc(var(--banner-h) + 10px); padding: 0 12px }
  .site-notices { gap: 6px; padding: 10px 12px 0 }
  .site-notice-inner { gap: 10px; min-height: 50px; padding: 7px 7px 7px 8px }
  .site-notice-icon { width: 32px; height: 32px; border-radius: 9px }
  .site-notice-icon .ic { width: 16px; height: 16px }
  .site-notice-text { font-size: 13px; line-height: 1.35 }
  .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; gap: 10px; padding: 10px 10px 10px 12px }
  .cookie-note-icon { display: none }
  .cookie-note-text { font-size: 13px }
  .site-notice-action { width: 34px; height: 34px; justify-content: center; padding: 0 }
  .site-notice-action-label { display: none }
  .site-header-inner { padding-left: 12px; height: 56px }
  .site-logo img { height: 38px }
  .site-actions { gap: 10px }
  .site-account { width: 40px; height: 40px; justify-content: center; color: var(--text); background: rgb(var(--tint-rgb) / .08); border: 1px solid var(--line); border-radius: 10px }
  .site-account .ic { width: 18px; height: 18px }
  .site-account span { display: none }
  .page-head { padding: calc(112px + var(--banner-h)) 16px 32px }
  .page-title { font-size: 28px }
  .wrap { padding: 0 16px }
  .section { padding: 52px 0 }
  .section-title { font-size: clamp(21px, 7vw, 26px); gap: 12px }
  .news-grid3 { grid-template-columns: 1fr }
  .news-side-item { grid-template-columns: 120px 1fr; gap: 14px }
  .news-grid3 .news-side-item { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding: 26px 0 22px }
  .footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px }
  .footer-logo { height: 48px }
  .footer-label { display: none }
  .footer-social { margin-top: 0 }
  .footer-col:nth-child(2) { padding: 20px 0; border-top: 1px solid var(--line) }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 2px 16px }
  .footer-nav a { width: auto; padding: 7px 0 }
  .footer-col:nth-child(n+3) { margin-top: 12px; padding: 18px 16px; background: rgb(var(--tint-rgb) / .05); border: 1px solid var(--line); border-radius: 16px }
  .footer-col:nth-child(3) { margin-top: 4px }
  .footer-contacts { gap: 10px }
  .footer-text { max-width: none }
  .footer-btn { display: flex; width: 100% }
  .footer-bottom { flex-direction: column; gap: 14px; padding: 20px 0 28px; text-align: center }
  .footer-legal { flex-direction: column-reverse; gap: 14px }
  .footer-legal nav { justify-content: center; gap: 4px 18px }
  .footer-legal nav a { padding: 4px 0 }
}
