:root {
  --bg: #090b0d;
  --panel: #11171a;
  --ink: #e4e9e8;
  --muted: #98a2a3;
  --gold: #6db5c2;
  --gold-soft: #cce7e9;
  --cyan: #72c1d0;
  --line: rgba(112, 174, 186, .2);
  --line-strong: rgba(119, 194, 207, .44);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 300px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Georgia, "Times New Roman", serif;
  letter-spacing: .005em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 6%, rgba(96, 119, 124, .11), transparent 34%),
    radial-gradient(circle at 82% 35%, rgba(44, 107, 123, .1), transparent 32%),
    linear-gradient(180deg, #080a0c, #0c0e0f 50%, #08090a);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: soft-light;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0, rgba(255, 255, 255, .045) 1px, transparent 1px, transparent 3px);
}
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #d7ecee; color: #101718; border-radius: 2px; }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 18;
  border-bottom: 1px solid rgba(111, 181, 194, .18);
  background: linear-gradient(180deg, rgba(7, 9, 10, .94), rgba(7, 9, 10, .78));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(85, 187, 207, .24)); }
.brand span { font-size: 15px; letter-spacing: .13em; text-transform: uppercase; color: #d7e1e2; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { position: relative; color: #9ca6a7; text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: color .22s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: #e8f5f5; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(18, 17, 15, .88); color: var(--ink); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 19px; height: 1px; background: currentColor; margin: 5px auto; transition: .25s; }

.hero { position: relative; min-height: min(92vh, 920px); height: auto; display: flex; align-items: center; isolation: isolate; overflow: hidden; background: #080b0d; padding-top: 73px; box-sizing: border-box; }
.hero-art { position: absolute; inset: -2%; z-index: -3; width: 104%; height: 104%; object-fit: cover; object-position: center; transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.025); filter: saturate(.94) contrast(1.05) brightness(.97); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5, 7, 8, .88) 0%, rgba(7, 9, 10, .7) 26%, rgba(7, 9, 10, .28) 54%, rgba(6, 8, 9, 0) 76%), linear-gradient(180deg, rgba(6, 8, 10, .18), transparent 34%, rgba(7, 9, 10, .82) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto -15% -18%; height: 46%; background: radial-gradient(ellipse at center, rgba(105, 128, 132, .17), transparent 62%); filter: blur(25px); animation: mist 12s ease-in-out infinite alternate; }
@keyframes mist { to { transform: translate3d(4%, -3%, 0) scale(1.07); opacity: .62; } }
.hero-content { padding-top: 24px; padding-bottom: 48px; max-width: 730px; }
/* ★2026-07-26 (юзер: «из шапки сайта что-то обрезалось и версия патча пропала»). На невысоком
   окне содержимое первого экрана выше самого экрана, а он центрирует по вертикали и режет
   лишнее -- верх уезжал под шапку вместе со строкой версии. На таких окнах экран растёт по
   содержимому и прижимается к верху; на высоких всё как было. */
@media (max-height: 900px) {
  .hero { align-items: flex-start; }
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: #8bc7d0; font-size: 12px; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.patch-version-hero {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
  letter-spacing: .075em;
  color: #bcecf2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9), 0 0 22px rgba(99, 191, 207, .2);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9dbe86; box-shadow: 0 0 16px rgba(157, 190, 134, .8); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 5px rgba(157, 190, 134, .45); } }
h1 { margin: 0; max-width: 700px; font-size: clamp(57px, 8.2vw, 108px); line-height: .86; font-weight: normal; letter-spacing: -.055em; color: #edf2f1; text-shadow: 0 4px 35px rgba(0, 0, 0, .8); }
h1 em { display: block; margin-left: clamp(28px, 7vw, 96px); font-style: normal; color: #80c4cf; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #bdc6c5; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; text-shadow: 0 2px 20px #000; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; font: 600 12px/1 Georgia, "Times New Roman", serif; letter-spacing: .12em; cursor: pointer; transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #0d1719; background: linear-gradient(135deg, #d1ecee, #5fabb8); border-color: #d9f1f2; box-shadow: 0 11px 35px rgba(48, 137, 153, .25); }
.button-primary:hover { background: linear-gradient(135deg, #e6f7f7, #76c1cd); }
.button-quiet { color: #d4dede; border-color: var(--line-strong); background: rgba(11, 15, 16, .52); }
.button-quiet:hover { border-color: #73bdc9; background: rgba(35, 92, 104, .24); }
.button-discord {
  position: relative;
  color: #fff;
  border-color: rgba(166, 180, 255, .72);
  background: linear-gradient(135deg, #7289ff, #8656ef 56%, #4f6ee9);
  box-shadow: 0 10px 32px rgba(94, 111, 242, .35), inset 0 1px rgba(255, 255, 255, .25);
  overflow: hidden;
}
.button-discord::after {
  content: "";
  position: absolute;
  inset: -55% -25%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .42) 49%, transparent 63%);
  transform: translateX(-70%);
  animation: discord-shine 3.2s ease-in-out infinite;
}
.button-discord:hover {
  border-color: #dfe4ff;
  background: linear-gradient(135deg, #8da0ff, #9d6cff 56%, #647fff);
  box-shadow: 0 14px 40px rgba(94, 111, 242, .5), 0 0 25px rgba(136, 93, 255, .26);
}
.discord-button-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #65ffc5;
  box-shadow: 0 0 0 4px rgba(101, 255, 197, .13), 0 0 16px rgba(101, 255, 197, .9);
  animation: discord-dot 1.8s ease-in-out infinite;
}
.button .icon { width: 18px; height: 18px; }
/* ★две равноправные кнопки скачивания (SMNS и Семга). Правила стоят ПОСЛЕ базового .button,
   иначе его min-height/padding/text-transform перебивают двухстрочную подпись.
   flex-basis 250px + wrap: на узком экране кнопки встают друг под друга, а не сжимаются в кашу. */
.download-pair { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 680px; }
.button-download { flex: 1 1 250px; min-width: 0; min-height: 68px; padding: 13px 20px; gap: 14px; justify-content: space-between; text-align: left; }
.button-download-copy { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.button-download b { font-size: 13px; line-height: 1.25; letter-spacing: .1em; }
.button-download small { text-transform: none; font: 400 12px/1.35 Georgia, "Times New Roman", serif; letter-spacing: .02em; opacity: .72; }
.button-download .icon { flex: 0 0 auto; }
/* ★блок «Какая у меня сборка?»: игроки ставили патч чужой ветки и получали игру без режима */
.build-help { max-width: 680px; margin-top: 18px; padding: 15px 18px; border: 1px solid var(--line-strong); border-left: 2px solid #73bdc9; background: rgba(9, 13, 14, .74); }
.build-help b { display: block; margin-bottom: 8px; color: #cfe6e8; text-transform: uppercase; font: 600 12px/1 Georgia, "Times New Roman", serif; letter-spacing: .11em; }
.build-help p { margin: 0 0 6px; color: #b3bdbd; font-size: 14px; line-height: 1.5; }
.build-help p:last-child { margin-bottom: 0; }
.discord-beacon {
  position: fixed;
  z-index: 19;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 30px);
  isolation: isolate;
  display: grid;
  grid-template-columns: 48px minmax(108px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 292px;
  padding: 12px 14px 12px 12px;
  border: 1px solid rgba(190, 198, 255, .76);
  border-radius: 15px;
  background: linear-gradient(125deg, rgba(73, 86, 190, .97), rgba(115, 75, 205, .97) 52%, rgba(66, 92, 214, .97));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .52), 0 0 35px rgba(105, 92, 255, .34), inset 0 1px rgba(255, 255, 255, .22);
  color: #fff;
  text-decoration: none;
  transform-origin: right bottom;
  animation: discord-float 4.8s ease-in-out infinite;
}
.discord-beacon::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, .35) 48%, transparent 70%);
  background-size: 230% 100%;
  animation: discord-sweep 3.4s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
.discord-beacon:hover,
.discord-beacon:focus-visible {
  transform: translateY(-5px) scale(1.025);
  border-color: #f0f2ff;
  box-shadow: 0 23px 65px rgba(0, 0, 0, .58), 0 0 46px rgba(121, 102, 255, .55), inset 0 1px rgba(255, 255, 255, .3);
  outline: none;
}
.discord-beacon-orbit {
  position: absolute;
  inset: -7px;
  z-index: -2;
  border: 1px solid rgba(134, 150, 255, .38);
  border-radius: 21px;
  animation: discord-orbit 2.4s ease-out infinite;
}
.discord-beacon-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 15px;
  background: rgba(21, 26, 82, .38);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .08);
}
.discord-beacon-mark::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 17px;
  border: 3px solid #fff;
  border-top-width: 5px;
  border-radius: 9px 9px 12px 12px;
  opacity: .96;
}
.discord-beacon-mark i {
  position: relative;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, .65);
}
.discord-beacon-copy { display: grid; gap: 2px; min-width: 0; }
.discord-beacon-copy small { color: #cfd5ff; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.discord-beacon-copy strong { color: #fff; font-size: 21px; font-weight: normal; letter-spacing: .025em; line-height: 1; }
.discord-beacon-action { display: flex; align-items: center; gap: 7px; color: #edf0ff; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.discord-beacon-action b { font: 17px/1 Arial, sans-serif; }
.patch-dock {
  position: fixed;
  z-index: 19;
  left: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 30px);
  display: grid;
  gap: 8px;
  width: 205px;
}
.patch-beacon {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid rgba(118, 188, 199, .5);
  border-radius: 11px;
  background: linear-gradient(120deg, rgba(11, 24, 27, .96), rgba(22, 64, 71, .95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .48), inset 0 1px rgba(210, 248, 251, .08);
  color: #d9f3f5;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.patch-beacon::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(190, 241, 245, .13) 49%, transparent 65%);
  transform: translateX(-105%);
  transition: transform .55s ease;
}
.patch-beacon:hover, .patch-beacon:focus-visible {
  transform: translateY(-3px);
  border-color: #8fd2dc;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .54), 0 0 24px rgba(77, 165, 180, .18);
  outline: none;
}
.patch-beacon:hover::before, .patch-beacon:focus-visible::before { transform: translateX(105%); }
.patch-beacon-mns {
  border-color: rgba(172, 139, 76, .52);
  background: linear-gradient(120deg, rgba(24, 20, 12, .96), rgba(72, 50, 18, .94));
}
.patch-beacon-mns:hover, .patch-beacon-mns:focus-visible {
  border-color: #d0ac60;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .54), 0 0 24px rgba(188, 139, 48, .15);
}
.patch-beacon-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(174, 229, 235, .34);
  border-radius: 9px;
  background: rgba(76, 153, 166, .13);
  color: #a5dce3;
  font: 19px/1 Arial, sans-serif;
}
.patch-beacon-mns .patch-beacon-mark { border-color: rgba(217, 177, 94, .32); background: rgba(175, 121, 28, .12); color: #e4c47e; }
.patch-beacon-copy { display: grid; gap: 2px; min-width: 0; }
.patch-beacon-copy small { color: #75aeb7; font-size: 7px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.patch-beacon-copy strong { color: #e3f2f2; font-size: 15px; font-weight: normal; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.patch-beacon-copy strong b { color: #8fd2dc; font-weight: normal; }
.patch-beacon-mns .patch-beacon-copy small { color: #ad8e50; }
.patch-beacon-mns .patch-beacon-copy strong b { color: #e2bd6f; }
.patch-beacon-arrow { color: #94cbd3; font: 15px/1 Arial, sans-serif; }
.patch-beacon-mns .patch-beacon-arrow { color: #d3ae62; }
@keyframes discord-dot { 50% { opacity: .55; transform: scale(.82); box-shadow: 0 0 0 2px rgba(101, 255, 197, .08), 0 0 7px rgba(101, 255, 197, .58); } }
@keyframes discord-shine { 0%, 56% { transform: translateX(-70%); } 78%, 100% { transform: translateX(72%); } }
@keyframes discord-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes discord-sweep { to { background-position: -230% 0; } }
@keyframes discord-orbit { 0% { opacity: .7; transform: scale(.96); } 76%, 100% { opacity: 0; transform: scale(1.08); } }
.hero-meta { display: flex; gap: 22px; margin-top: 23px; color: #808b8c; font-size: 12px; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: #579daa; }
.hero-support {
  position: absolute;
  z-index: 2;
  top: 126px;
  right: clamp(24px, 3.2vw, 66px);
  display: grid;
  gap: 11px;
  width: clamp(250px, 17vw, 300px);
}
.hero-support-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 106px;
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid rgba(144, 196, 204, .34);
  background: #0b1012;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .025);
  color: #eef5f4;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-support-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 7, 8, .96) 0%, rgba(6, 9, 10, .77) 48%, rgba(6, 9, 10, .08) 100%);
}
.hero-support-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .055);
  pointer-events: none;
}
.hero-support-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.08);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}
.hero-support-card:hover,
.hero-support-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(173, 225, 232, .72);
  box-shadow: 0 19px 44px rgba(0, 0, 0, .48), 0 0 24px rgba(76, 155, 169, .12);
  outline: none;
}
.hero-support-card:hover img,
.hero-support-card:focus-visible img { transform: scale(1.045); filter: saturate(1.08) contrast(1.1); }
.hero-support-patreon:hover,
.hero-support-patreon:focus-visible { border-color: rgba(229, 121, 102, .72); box-shadow: 0 19px 44px rgba(0, 0, 0, .48), 0 0 25px rgba(229, 121, 102, .14); }
.hero-support-boosty:hover,
.hero-support-boosty:focus-visible { border-color: rgba(242, 152, 55, .76); box-shadow: 0 19px 44px rgba(0, 0, 0, .48), 0 0 25px rgba(242, 152, 55, .14); }
.hero-support-copy { display: grid; gap: 5px; }
.hero-support-copy small { color: #91c9d1; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-support-copy strong { color: #f0f4f2; font-size: 22px; font-weight: normal; line-height: 1; text-shadow: 0 2px 16px #000; }
.hero-support-arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(183, 220, 225, .35);
  color: #c8e9ec;
  font: 15px/1 Arial, sans-serif;
}

.section { position: relative; padding: 110px 0; }
.section-compact { padding: 76px 0; }
.section-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: #73b7c2; text-transform: uppercase; font-size: 11px; letter-spacing: .2em; }
.section-kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-title { margin: 0; color: #e4ebea; font-size: clamp(36px, 5vw, 64px); font-weight: normal; line-height: 1.04; letter-spacing: -.035em; }
.section-lead { max-width: 710px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }

.stats-band { position: relative; z-index: 3; margin-top: -48px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: rgba(14, 15, 15, .92); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.stat { position: relative; padding: 28px 26px; min-height: 130px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; color: var(--gold-soft); font-size: 31px; font-weight: normal; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: #899495; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.stat::after { content: ""; position: absolute; left: 25px; bottom: 17px; width: 38px; height: 1px; background: linear-gradient(90deg, #579ba7, transparent); }

.overview-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.manifest { position: sticky; top: 110px; }
.manifest blockquote { margin: 30px 0 0; padding-left: 23px; border-left: 1px solid var(--gold); color: #ced8d7; font-size: 23px; line-height: 1.45; }
.manifest cite { display: block; margin-top: 13px; color: #777166; font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .12em; }
.loop { display: grid; counter-reset: loop; }
.loop-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); counter-increment: loop; }
.loop-step:last-child { border-bottom: 1px solid var(--line); }
.loop-step::before { content: "0" counter(loop); color: #67aeba; font-size: 17px; letter-spacing: .08em; }
.loop-step h3 { margin: 0 0 7px; color: #d8e1e0; font-size: 22px; font-weight: normal; }
.loop-step p { margin: 0; color: #8d9797; }

.rating-section { background: linear-gradient(180deg, rgba(15, 25, 28, .58), rgba(9, 11, 13, 0)); border-top: 1px solid rgba(105, 177, 190, .12); }
.rating-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.live-label { display: flex; align-items: center; gap: 9px; color: #9eae91; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.live-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #93ae7a; box-shadow: 0 0 14px rgba(147, 174, 122, .45); }
.difficulty-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.difficulty-tab { position: relative; padding: 15px 17px; border: 1px solid var(--line); background: rgba(15, 16, 16, .8); text-decoration: none; transition: .23s; }
.difficulty-tab span { display: block; color: #abb6b6; font-size: 15px; }
.difficulty-tab small { color: #6e6a62; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.difficulty-tab:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.difficulty-tab.active { background: linear-gradient(135deg, rgba(45, 111, 123, .34), rgba(17, 27, 30, .86)); border-color: #579baa; }
.difficulty-tab.active::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 3px; background: #73c2d0; }
.difficulty-tab.active span { color: #d6ecee; }
.table-shell { overflow: hidden; border: 1px solid var(--line); background: rgba(12, 14, 14, .88); box-shadow: 0 22px 65px rgba(0, 0, 0, .25); }
.table-shell.is-loading { opacity: .58; pointer-events: none; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { height: 50px; padding: 0 15px; text-align: left; color: #7f7a70; font-size: 10px; font-weight: normal; letter-spacing: .14em; text-transform: uppercase; background: #0c0e0f; border-bottom: 1px solid var(--line); }
th.num, th.ver { text-align: center; }
td { height: 57px; padding: 10px 15px; border-bottom: 1px solid rgba(106, 171, 182, .1); transition: background .18s; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(79, 154, 168, .07); }
.rank { width: 66px; text-align: center; }
.rank-mark { display: inline-grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(151, 177, 181, .24); color: #7f898a; transform: rotate(45deg); font-size: 12px; }
.rank-mark i { transform: rotate(-45deg); font-style: normal; }
.nick strong { font-weight: normal; font-size: 17px; color: #d9e1e0; }
.race { color: #959fa0; font-size: 13px; }
.race-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #b8ae97; box-shadow: 0 0 9px currentColor; }
.race-0 { background: #d9ca86; } .race-1 { background: #8aa49c; } .race-2 { background: #b86f4a; } .race-3 { background: #c59d55; } .race-4 { background: #80a77b; }
.num { text-align: center; color: #c1cccc; }
.hero-level span { font-size: 12px; color: #938c7f; }
.wave b { font-size: 18px; color: #dce7e6; }
.of { margin-left: 2px; color: #6e6a61; font-size: 12px; }
.endless { color: #9dbbc0; }
td.ver { text-align: center; color: #716d65; font-size: 12px; }
.place-1 { background: linear-gradient(90deg, rgba(198, 147, 57, .09), transparent 58%); }
.place-2 { background: linear-gradient(90deg, rgba(173, 184, 188, .06), transparent 58%); }
.place-3 { background: linear-gradient(90deg, rgba(165, 98, 52, .07), transparent 58%); }
.place-1 .rank-mark { color: #f2d27e; border-color: #c99d46; box-shadow: 0 0 20px rgba(201, 157, 70, .12); }
.place-2 .rank-mark { color: #d0d4d5; border-color: #8d989b; }
.place-3 .rank-mark { color: #d39163; border-color: #96603e; }
.place-1 .nick strong { color: #efd68f; } .place-2 .nick strong { color: #d9dddd; } .place-3 .nick strong { color: #d7a179; }
.empty { text-align: center !important; height: 110px; color: #79746b; }
.table-note { display: flex; justify-content: space-between; gap: 20px; padding: 14px 17px; border-top: 1px solid var(--line); color: #716c63; font-size: 11px; letter-spacing: .05em; }

.spotlight { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 560px; border: 1px solid var(--line); background: #111313; box-shadow: var(--shadow); overflow: hidden; }
.spotlight-media { position: relative; min-height: 520px; overflow: hidden; }
.spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #111313), linear-gradient(0deg, rgba(5, 7, 8, .6), transparent 50%); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.96) contrast(1.05) brightness(1.02); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.spotlight:hover img { transform: scale(1.035); }
.spotlight-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px 52px; }
.spotlight-copy .icon { width: 34px; height: 34px; color: #6cb8c5; margin-bottom: 23px; }
.spotlight-copy h3 { margin: 0; color: #e0e8e7; font-size: 38px; font-weight: normal; line-height: 1.08; }
.spotlight-copy p { margin: 20px 0 0; color: #99a3a3; }
.spotlight-list { display: grid; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; color: #b9c5c5; font-size: 14px; }
.spotlight-list li { display: flex; gap: 10px; }
.spotlight-list li::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; margin-top: 9px; transform: rotate(45deg); background: #5da8b5; }

.mechanics-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.mechanics-head .section-lead { margin-bottom: 5px; }
.mechanic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mechanic-card { position: relative; min-height: 300px; padding: 31px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(20, 29, 31, .94), rgba(12, 16, 18, .96)); overflow: hidden; isolation: isolate; transition: transform .25s, border-color .25s; }
.mechanic-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(9, 13, 15, .08), rgba(10, 14, 16, .3) 60%, rgba(10, 14, 16, .68) 92%), linear-gradient(90deg, rgba(9, 13, 15, .28), transparent 52%); pointer-events: none; }
.mechanic-card::after { content: ""; position: absolute; z-index: 1; width: 170px; height: 170px; right: -95px; bottom: -95px; border: 1px solid rgba(104, 181, 194, .12); transform: rotate(45deg); pointer-events: none; }
.mechanic-art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; filter: saturate(.92) contrast(1.05) brightness(1); transform: scale(1.01); transition: transform .7s cubic-bezier(.2, .75, .2, 1), opacity .3s, filter .3s; }
.mechanic-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.mechanic-card:hover .mechanic-art { opacity: 1; filter: saturate(1) contrast(1.06) brightness(1.06); transform: scale(1.045); }
.mechanic-card .icon { position: relative; z-index: 2; color: #76c4d0; width: 31px; height: 31px; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .7)); }
.mechanic-card h3 { position: relative; z-index: 2; margin: 38px 0 13px; color: #e2e9e8; font-size: 22px; font-weight: normal; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.mechanic-card p { position: relative; z-index: 2; margin: 0; color: #a2acad; font-size: 14px; text-shadow: 0 2px 10px rgba(0, 0, 0, .95); }
.mechanic-card .card-index { position: absolute; z-index: 2; right: 23px; top: 18px; color: #797267; font-size: 11px; letter-spacing: .1em; text-shadow: 0 1px 6px #000; }

.building-section { background: linear-gradient(180deg, transparent, rgba(13, 27, 31, .56), transparent); }
.building-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.building-intro { position: sticky; top: 110px; height: max-content; }
.building-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.building { display: grid; grid-template-columns: 112px 1fr; min-height: 118px; border: 1px solid var(--line); background: rgba(16, 17, 17, .72); overflow: hidden; transition: transform .24s, border-color .24s, background .24s; }
.building:hover { transform: translateY(-3px); border-color: var(--line-strong); background: rgba(22, 22, 20, .9); }
.building-media { position: relative; min-height: 118px; overflow: hidden; border-right: 1px solid rgba(106, 177, 189, .16); background: #090b0c; }
.building-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 22px rgba(0, 0, 0, .72); pointer-events: none; }
.building-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.06) brightness(1); transition: transform .65s cubic-bezier(.2, .75, .2, 1), filter .3s; }
.building:hover .building-media img { transform: scale(1.055); filter: saturate(1) contrast(1.08) brightness(1.08); }
.building-media-icon { display: grid; place-items: center; background: radial-gradient(circle, #1d2b2f, #090b0c 72%); }
.building-media-icon img { width: 77px; height: 74px; object-fit: contain; }
.building-media-thief img { object-fit: contain; object-position: center; } /* #45: вор целиком, пустые края лучше срезанных голов */
.building-copy { align-self: center; padding: 19px 20px; }
.building b { display: block; color: #d4dfde; font-weight: normal; font-size: 17px; }
.building span { display: block; margin-top: 7px; color: #818c8d; font-size: 13px; }
.building.featured { border-color: rgba(131, 188, 196, .34); background: linear-gradient(135deg, rgba(42, 75, 78, .18), rgba(15, 16, 16, .8)); }

.update-section { background: linear-gradient(180deg, rgba(22, 50, 56, .09), transparent 22%, rgba(15, 33, 37, .13)); }
.update-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: end; margin-bottom: 45px; }
.update-head .section-title { margin-bottom: 18px; }
.update-head .section-lead { margin-bottom: 3px; }
.release-mark { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 24px 28px; border: 1px solid var(--line-strong); background: rgba(35, 91, 103, .15); color: inherit; text-decoration: none; cursor: pointer; transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease; }
.release-mark:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(43, 112, 126, .24); box-shadow: 0 16px 38px rgba(0, 0, 0, .3), 0 0 24px rgba(114, 193, 208, .1); }
.release-mark:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.release-mark small { color: #78aeb7; text-transform: uppercase; letter-spacing: .16em; }
.release-mark b { font-size: 64px; line-height: 1; color: #a9d8de; font-weight: normal; }
.update-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.update-feature { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 300px; border: 1px solid var(--line); background: #101517; overflow: hidden; transition: transform .25s, border-color .25s; }
.update-feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.update-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 30%, rgba(9, 13, 15, .18) 46%, rgba(9, 13, 15, .72) 100%); }
.update-feature img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; filter: saturate(.92) contrast(1.05); transition: transform .8s ease, filter .4s; }
.update-feature:hover img { transform: scale(1.035); filter: saturate(1.03) contrast(1.06); }
.update-feature-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px 31px; }
.update-feature-copy > span { color: #65afbb; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.update-feature-copy h3 { margin: 13px 0 12px; color: #e2e9e8; font-size: 25px; font-weight: normal; line-height: 1.12; }
.update-feature-copy p { margin: 0; color: #9fa9a9; font-size: 14px; line-height: 1.55; }
.update-list-head { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: end; margin: 70px 0 25px; }
.update-list-head .section-kicker { margin-bottom: 7px; }
.update-list-head h3 { margin: 0; color: #dce6e5; font-size: 32px; font-weight: normal; }
.update-list-head > p { margin: 0 0 4px; color: #8f9999; }
.changes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; counter-reset: change; }
.changes li { position: relative; padding: 18px 0 18px 37px; border-top: 1px solid var(--line); color: #a8a194; counter-increment: change; }
.changes li::before { content: counter(change, decimal-leading-zero); position: absolute; left: 0; color: #5da6b2; font-size: 11px; letter-spacing: .05em; }
.changes li strong { color: #d0dbda; font-weight: normal; }

.gallery-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 300px 300px 340px 440px; gap: 12px; margin-top: 40px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #111; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04) brightness(.98); transition: transform 1s ease, filter .5s; }
.gallery-item-player img { object-fit: contain; background: radial-gradient(circle at 50% 42%, #1c1d1c, #080a0b 72%); }
.gallery-item-featured { grid-column: 1 / -1; }
.gallery-item:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.05) brightness(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 36px 22px 18px; background: linear-gradient(transparent, rgba(6, 8, 9, .92)); color: #d3dddd; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-submit { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 18px; padding: 26px 28px; overflow: hidden; border: 1px solid rgba(101, 179, 191, .34); background: radial-gradient(circle at 8% 50%, rgba(65, 139, 151, .2), transparent 30%), linear-gradient(115deg, rgba(19, 28, 30, .98), rgba(12, 15, 16, .98)); box-shadow: 0 18px 54px rgba(0, 0, 0, .25); }
.gallery-submit::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(118, 206, 220, .06) 50%, transparent 65%); transform: translateX(-100%); animation: gallery-sheen 5.5s ease-in-out infinite; }
.gallery-submit-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; aspect-ratio: 1; border: 1px solid rgba(120, 201, 214, .45); transform: rotate(45deg); background: rgba(44, 102, 111, .18); box-shadow: inset 0 0 24px rgba(72, 162, 176, .14), 0 0 28px rgba(57, 135, 147, .1); }
.gallery-submit-mark span { transform: rotate(-45deg); color: #8fd3dd; font: 300 36px/1 Georgia, serif; text-shadow: 0 0 16px rgba(102, 204, 219, .55); }
.gallery-submit-copy { position: relative; z-index: 1; }
.gallery-submit-copy .section-kicker { margin-bottom: 7px; }
.gallery-submit-copy h3 { margin: 0 0 8px; color: #e1e8e7; font: normal clamp(22px, 3vw, 31px)/1.1 Georgia, serif; }
.gallery-submit-copy > p:last-child { max-width: 720px; margin: 0; color: #929d9e; font-size: 14px; }
.gallery-submit-action { position: relative; z-index: 1; display: grid; justify-items: end; gap: 9px; min-width: 250px; }
.gallery-submit-action .button { white-space: nowrap; }
.gallery-submit-action small { color: #728082; font-size: 11px; letter-spacing: .04em; text-align: right; }
@keyframes gallery-sheen { 0%, 68% { transform: translateX(-100%); } 82%, 100% { transform: translateX(100%); } }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.install-card { padding: 31px; border: 1px solid var(--line); background: rgba(17, 18, 18, .82); }
.install-card small { color: #5fa4b0; text-transform: uppercase; letter-spacing: .13em; }
.install-card h3 { margin: 9px 0 12px; color: #d7e1e0; font-size: 25px; font-weight: normal; }
.install-card p { margin: 0; color: #8c9697; }
.notice { display: flex; gap: 15px; margin-top: 12px; padding: 18px 20px; border: 1px solid rgba(184, 104, 53, .28); background: rgba(112, 53, 25, .1); color: #bca58e; font-size: 14px; }
.notice .icon { flex: 0 0 auto; color: #bd7848; }

.support-section { border-top: 1px solid rgba(105, 177, 190, .11); background: radial-gradient(circle at 14% 20%, rgba(74, 127, 136, .15), transparent 34%), linear-gradient(180deg, rgba(12, 20, 22, .84), #0b0d0f); }
.support-head { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: end; }
.support-head .section-lead { margin: 0 0 5px; }
.support-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.support-tiers article { min-height: 190px; padding: 28px; border: 1px solid var(--line); background: rgba(15, 19, 20, .82); }
.support-tiers small, .support-platform > span { color: #5fa4b0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.support-tiers h3, .support-platform h3 { margin: 13px 0 11px; color: #d9e4e3; font-size: 25px; font-weight: normal; }
.support-tiers p, .support-platform p { margin: 0; color: #8c9697; }
.support-platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; margin-top: 12px; }
.support-platform { display: flex; min-height: 245px; padding: 30px; border: 1px solid rgba(105, 177, 190, .22); background: linear-gradient(145deg, rgba(29, 55, 60, .35), rgba(15, 18, 19, .95)); flex-direction: column; align-items: flex-start; }
.support-platform p { max-width: 580px; margin-bottom: 24px; }
.support-platform .button { margin-top: auto; }
.donation-board { position: relative; isolation: isolate; margin-top: 12px; padding: 32px; overflow: hidden; border: 1px solid rgba(105, 177, 190, .24); background: radial-gradient(circle at 88% 12%, rgba(75, 139, 150, .13), transparent 30%), linear-gradient(135deg, rgba(18, 25, 27, .98), rgba(12, 15, 16, .98) 58%, rgba(17, 24, 25, .98)); box-shadow: 0 24px 70px rgba(0, 0, 0, .3), inset 0 1px rgba(219, 175, 88, .08); }
.donation-board::before { content: ""; position: absolute; z-index: -1; inset: 7px; border: 1px solid rgba(112, 185, 197, .07); pointer-events: none; }
.donation-board::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -250px; bottom: -290px; border: 1px solid rgba(103, 177, 189, .14); transform: rotate(45deg); box-shadow: 0 0 70px rgba(76, 153, 166, .05); }
.donation-board-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: start; }
.donation-board-head h3 { margin: 0 0 11px; color: #d9e4e3; font: normal clamp(28px, 3.2vw, 39px)/1.08 Georgia, serif; }
.donation-board-head > div > p:last-child { max-width: 760px; margin: 0; color: #8c9697; }
.donation-live { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(147, 190, 116, .34); color: #a8cc8e; background: rgba(70, 111, 51, .13); box-shadow: inset 0 0 18px rgba(128, 184, 91, .04), 0 0 18px rgba(112, 173, 75, .045); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 0 12px rgba(157, 209, 120, .24); white-space: nowrap; }
.donation-live i { width: 7px; height: 7px; border-radius: 50%; background: #a2db79; box-shadow: 0 0 0 4px rgba(154, 213, 111, .1), 0 0 16px rgba(154, 213, 111, .72); animation: donation-pulse 1.9s ease-in-out infinite; }
.donation-board-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 300px); gap: 14px; margin-top: 26px; }
.donation-feed { display: grid; gap: 7px; min-height: 175px; margin: 0; padding: 0; list-style: none; }
.donation-entry { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 72px; padding: 12px 17px 12px 12px; border: 1px solid rgba(105, 177, 190, .13); background: linear-gradient(90deg, rgba(41, 91, 100, .11), rgba(10, 13, 14, .36)); animation: donation-arrive .55s both; }
.donation-entry:nth-child(2) { animation-delay: .06s; }
.donation-entry:nth-child(3) { animation-delay: .12s; }
.donation-entry:nth-child(4) { animation-delay: .18s; }
.donation-entry:nth-child(5) { animation-delay: .24s; }
.donation-entry:nth-child(6) { animation-delay: .3s; }
.donation-entry-mark { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border: 1px solid rgba(227, 186, 101, .28); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); color: #b49351; font-size: 8px; }
.donation-entry-copy { min-width: 0; }
.donation-entry-copy strong { display: block; overflow: hidden; color: #d7e1e0; font-size: 16px; font-weight: normal; text-overflow: ellipsis; white-space: nowrap; }
.donation-entry-copy p { margin: 4px 0 0; overflow: hidden; color: #879192; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.donation-entry-amount { color: #dfb65e; font: normal 18px/1 Georgia, serif; white-space: nowrap; }
.donation-empty { display: flex; align-items: center; gap: 20px; min-height: 175px; padding: 28px; border: 1px dashed rgba(105, 177, 190, .18); background: rgba(31, 77, 85, .045); }
.donation-empty strong { display: block; color: #c4d2d1; font: normal 21px/1.2 Georgia, serif; }
.donation-empty p { max-width: 620px; margin: 7px 0 0; color: #7f898a; }
.donation-crest { display: grid; place-items: center; flex: 0 0 auto; width: 54px; aspect-ratio: 1; border: 1px solid rgba(224, 181, 94, .34); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); color: #ddb25d; font-size: 23px; text-shadow: 0 0 18px rgba(224, 172, 68, .6); }
.donation-call { position: relative; display: flex; min-width: 0; min-height: 230px; padding: 19px 20px 18px; overflow: hidden; border: 1px solid rgba(105, 177, 190, .2); background: radial-gradient(circle at 50% 36%, rgba(208, 155, 53, .11), transparent 34%), linear-gradient(180deg, rgba(18, 28, 30, .92), rgba(11, 15, 16, .88)); flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
.donation-call::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(111, 184, 196, .06); pointer-events: none; }
.donation-call::after { content: ""; position: absolute; width: 130px; height: 130px; right: -88px; bottom: -88px; border: 1px solid rgba(109, 181, 193, .13); transform: rotate(45deg); }
.donation-call-kicker { position: relative; z-index: 1; align-self: stretch; padding-bottom: 10px; border-bottom: 1px solid rgba(105, 177, 190, .12); color: #73b4bf; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.donation-sigil { position: relative; display: grid; place-items: center; width: 76px; aspect-ratio: 1; margin: 18px 0 13px; border: 1px solid rgba(219, 176, 86, .42); border-radius: 50%; background: radial-gradient(circle, rgba(218, 166, 62, .13), transparent 62%); box-shadow: inset 0 0 22px rgba(212, 159, 53, .08), 0 0 28px rgba(212, 159, 53, .08); }
.donation-sigil::before, .donation-sigil::after { content: ""; position: absolute; width: 5px; height: 5px; transform: rotate(45deg); background: #d7a84d; box-shadow: 0 0 12px rgba(222, 172, 72, .72); }
.donation-sigil::before { left: -10px; top: 20px; }
.donation-sigil::after { right: -8px; bottom: 17px; }
.donation-sigil i { position: absolute; inset: 8px; border: 1px dashed rgba(212, 168, 78, .24); border-radius: 50%; animation: donation-sigil-spin 18s linear infinite; }
.donation-sigil .icon { width: 35px; height: 35px; color: #dcb461; filter: drop-shadow(0 0 9px rgba(222, 173, 74, .34)); }
.donation-call > strong { position: relative; z-index: 1; color: #dce7e6; font: normal 23px/1.1 Georgia, serif; }
.donation-call > p { position: relative; z-index: 1; margin: 7px 0 17px; color: #798789; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.donation-call > small { position: relative; z-index: 1; display: flex; gap: 4px; margin-top: 11px; color: #687476; font-size: 9px; }
.donation-call > small b { color: #b89b5d; font-weight: normal; }
.button-donation { display: inline-flex; width: 100%; min-width: 0; max-width: 100%; padding: 13px 14px; justify-content: center; border-color: #78bdc9; background: linear-gradient(135deg, #d9eeee, #69b5c2); color: #0b1517; box-shadow: 0 10px 30px rgba(67, 142, 154, .2); font-size: 11px; line-height: 1.25; letter-spacing: .07em; text-align: center; white-space: normal; }
.button-donation:hover { border-color: #c9f0f3; background: linear-gradient(135deg, #eefafa, #7cc8d3); box-shadow: 0 14px 38px rgba(73, 154, 167, .28), 0 0 24px rgba(102, 188, 201, .14); }
.button-donation[hidden] { display: none; }
@keyframes donation-pulse { 50% { opacity: .58; transform: scale(.82); box-shadow: 0 0 0 2px rgba(154, 213, 111, .06), 0 0 8px rgba(154, 213, 111, .52); } }
@keyframes donation-arrive { from { opacity: 0; transform: translateY(8px); } }
@keyframes donation-sigil-spin { to { transform: rotate(360deg); } }
.support-rule { display: flex; gap: 15px; margin-top: 12px; padding: 18px 20px; border: 1px solid rgba(105, 177, 190, .2); background: rgba(22, 54, 60, .12); color: #9eaaa9; font-size: 14px; }
.support-rule .icon { flex: 0 0 auto; color: #69b3bf; }
.support-rule p { margin: 0; }
.support-rule strong { color: #d5e1e0; font-weight: normal; }

.report-section { border-top: 1px solid rgba(105, 177, 190, .11); background: radial-gradient(circle at 80% 15%, rgba(46, 106, 116, .14), transparent 34%), #0c0e0f; }
.report-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.report-copy { position: sticky; top: 110px; }
.report-copy ul { margin: 27px 0 0; padding: 0; list-style: none; }
.report-copy li { position: relative; margin: 11px 0; padding-left: 20px; color: #899394; font-size: 14px; }
.report-copy li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; transform: rotate(45deg); background: #5da6b2; }
.report-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 34px; border: 1px solid var(--line); background: rgba(17, 19, 19, .92); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #aab6b6; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.field label span { color: #6e6a62; text-transform: none; letter-spacing: 0; }
.field small { color: #6e6a62; font-size: 12px; }
input, select, textarea { width: 100%; border: 1px solid rgba(105, 177, 190, .22); border-radius: 0; background: #0c0e0f; color: #dce5e4; font: 15px/1.45 Georgia, "Times New Roman", serif; outline: none; transition: border-color .2s, box-shadow .2s; }
input, select { height: 46px; padding: 0 13px; }
input[type="file"] { height: auto; min-height: 46px; padding: 8px 10px; color: #899394; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 11px; border: 1px solid var(--line-strong); background: #172226; color: #cbd8d7; cursor: pointer; }
textarea { min-height: 120px; padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #67b2bf; box-shadow: 0 0 0 3px rgba(92, 170, 183, .11); }
input::placeholder, textarea::placeholder { color: #595750; }
.check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; color: #8d887e; font-size: 13px; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: #62afbc; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin-top: 4px; }
.form-status { min-height: 20px; color: #8d887e; font-size: 13px; }
.form-status.ok { color: #9fbd8e; }
.form-status.error { color: #d39573; }
.button[disabled] { opacity: .55; cursor: wait; transform: none; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.footer { padding: 50px 0 65px; border-top: 1px solid var(--line); color: #716d65; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 30px; height: 34px; }
.footer-brand b { display: block; color: #a8b5b5; font-weight: normal; }
.footer-brand small { display: block; color: #65625c; }
.footer-meta { text-align: right; }
.patch-version-footer { display: block; color: #bcecf2; font-size: clamp(22px, 2vw, 28px); font-weight: normal; line-height: 1.2; letter-spacing: .045em; }
.footer-note { display: block; margin-top: 7px; color: #716d65; font-size: 12px; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .75, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1320px) {
  .hero-support { display: none; }
}

@media (max-width: 980px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 11px; }
  .hero { min-height: 700px; }
  .support-head { grid-template-columns: 1fr; gap: 20px; }
  .donation-board-body { grid-template-columns: 1fr; }
  .donation-call { min-height: 150px; }
  .overview-grid, .building-layout, .report-grid { grid-template-columns: 1fr; gap: 42px; }
  .gallery-submit { grid-template-columns: 70px 1fr; }
  .gallery-submit-action { grid-column: 2; justify-items: start; min-width: 0; }
  .gallery-submit-action small { text-align: left; }
  .update-head { grid-template-columns: .8fr 1.2fr; gap: 45px; }
  .update-feature { grid-template-columns: 1fr; }
  .update-feature img { position: absolute; inset: 0; opacity: .53; }
  .update-feature::after { background: linear-gradient(90deg, rgba(8, 11, 12, .42), rgba(8, 11, 12, .88)); }
  .manifest, .building-intro, .report-copy { position: static; }
  .mechanic-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-copy { padding: 40px 35px; }
  .stats-band { margin-top: -30px; }
  .stat { padding: 23px 18px; }
  .report-form { padding: 28px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 13px 16px; border-bottom: 1px solid var(--line); background: rgba(8, 10, 11, .97); transform: translateY(-140%); opacity: 0; visibility: hidden; transition: .28s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 8px; font-size: 12px; }
  .discord-beacon { right: 12px; bottom: 12px; min-width: 0; grid-template-columns: 42px auto; padding: 9px 11px 9px 9px; border-radius: 13px; }
  .discord-beacon-mark { width: 42px; height: 42px; border-radius: 12px; }
  .discord-beacon-copy small { display: none; }
  .discord-beacon-copy strong { font-size: 17px; }
  .discord-beacon-action { display: none; }
  .patch-dock { left: 12px; bottom: 76px; width: 158px; gap: 6px; }
  .patch-beacon { grid-template-columns: 30px minmax(0, 1fr) auto; min-height: 44px; gap: 8px; padding: 6px 8px; border-radius: 9px; }
  .patch-beacon-mark { width: 30px; height: 30px; border-radius: 7px; font-size: 16px; }
  .patch-beacon-copy small { display: none; }
  .patch-beacon-copy strong { font-size: 13px; }
  .hero { height: auto; min-height: 760px; }
  .hero-art { object-position: 66% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5, 7, 8, .96), rgba(5, 7, 8, .65) 75%, rgba(5, 7, 8, .28)), linear-gradient(0deg, #080a0b, transparent 68%); }
  .hero-content { padding-top: 120px; padding-bottom: 75px; }
  .hero-meta { flex-direction: column; gap: 7px; }
  .support-tiers { grid-template-columns: 1fr; }
  .donation-board { padding: 25px 20px; }
  .donation-board-head { grid-template-columns: 1fr; gap: 17px; }
  .donation-live { justify-self: start; }
  .donation-entry { grid-template-columns: 34px minmax(0, 1fr); }
  .donation-entry-amount { grid-column: 2; }
  .donation-empty { align-items: flex-start; padding: 22px 18px; }
  .stats-band { margin-top: -25px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .rating-head { align-items: start; flex-direction: column; }
  .difficulty-tabs { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 380px; }
  .spotlight-media::after { background: linear-gradient(0deg, #111313, transparent 40%); }
  .mechanics-head { grid-template-columns: 1fr; gap: 20px; }
  .update-head, .update-list-head { grid-template-columns: 1fr; gap: 25px; }
  .update-feature-grid { grid-template-columns: 1fr; }
  .update-feature { min-height: 270px; }
  .update-feature img { min-height: 270px; }
  .building-list { grid-template-columns: 1fr; }
  .changes { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 380px 260px 260px 340px 260px 300px; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item-featured { grid-column: auto; }
  .gallery-submit { grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 20px; }
  .gallery-submit-mark { width: 50px; }
  .gallery-submit-action { grid-column: 1 / -1; width: 100%; }
  .gallery-submit-action .button { width: 100%; justify-content: center; }
  .install-grid { grid-template-columns: 1fr; }
  .report-form { grid-template-columns: 1fr; }
  .field, .field-wide { grid-column: 1; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .patch-version-hero { font-size: 20px; gap: 8px; letter-spacing: .04em; }
}

@media (max-width: 560px) {
  .section { padding: 82px 0; }
  .section-compact { padding: 58px 0; }
  h1 { font-size: 58px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  /* ★на узком экране обе кнопки скачивания идут в столбик, как остальные кнопки героя,
     иначе при ширине ~530px они встают в ряд и подписи ужимаются */
  .download-pair { max-width: none; flex-direction: column; }
  /* ★без этого кнопки в столбике наследуют flex-основу из ряда и растягиваются по-разному */
  .button-download { flex: 0 0 auto; }
  .build-help { max-width: none; }
  .discord-beacon { width: auto; }
  .hero-meta { font-size: 11px; }
  .stat { min-height: 112px; padding: 22px 16px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 10px; }
  .difficulty-tabs { grid-template-columns: 1fr; }
  .table-shell { border: 0; background: transparent; }
  .table-scroll { overflow: visible; }
  table, tbody { display: block; min-width: 0; }
  thead { display: none; }
  tbody { display: grid; gap: 9px; }
  tbody tr { display: grid; grid-template-columns: 52px 1fr auto; padding: 11px 12px; border: 1px solid var(--line); background: rgba(14, 16, 16, .88); }
  td { display: block; height: auto !important; padding: 5px 7px !important; border: 0 !important; }
  .rank { grid-row: 1 / 3; grid-column: 1; align-self: center; }
  .nick { grid-column: 2; }
  .race { grid-column: 2; font-size: 11px; }
  .wave { grid-column: 3; grid-row: 1; text-align: right; }
  .hero-level { grid-column: 3; grid-row: 2; text-align: right; }
  .endless, .ver { display: none; }
  .table-note { align-items: flex-start; flex-direction: column; }
  .mechanic-grid { grid-template-columns: 1fr; }
  .mechanic-card { min-height: 250px; }
  .update-feature { min-height: 250px; }
  .update-feature img { min-height: 250px; }
  .update-feature-copy { padding: 27px 24px; }
  .update-feature-copy h3 { font-size: 23px; }
  .update-list-head { margin-top: 52px; }
  .spotlight-media { min-height: 310px; }
  .spotlight-copy { padding: 32px 25px; }
  .spotlight-copy h3 { font-size: 32px; }
  .building { grid-template-columns: 96px 1fr; }
  .building-copy { padding: 17px 16px; }
  .gallery-grid { grid-template-rows: 300px 230px 230px 320px 220px 240px; }
  .report-form { padding: 22px 17px; }
  .brand span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ★рейтинг: портреты, ячейка расы, попап отряда (перенесено из inline <style> —
   CSP style-src 'self' блокировал встроенный блок, стили молча не применялись) */
.port{width:60px;text-align:center}
.hport{width:48px;height:60px;border:1px solid #6b5630;border-radius:3px;cursor:pointer;display:block;margin:0 auto;image-rendering:pixelated}
.hport:hover{border-color:#c8a95d;box-shadow:0 0 6px #c8a95d66}
.race-cell{display:inline-flex;align-items:center;gap:10px}
.ricon{height:54px;width:auto;border-radius:3px;flex:none}
.lang-switch{border:1px solid #6b5630;border-radius:4px;padding:2px 9px;margin-left:8px;color:#c8a95d;font-size:13px;letter-spacing:.08em}
.lang-switch:hover{border-color:#c8a95d;background:#c8a95d1a}
#sqov{position:fixed;inset:0;background:#000a;display:none;align-items:center;justify-content:center;z-index:90}
#sqov.on{display:flex}
#sqbox{--sq-meta-h:clamp(22px,6vh,48px);--sq-row-gap:clamp(4px,1.5vh,10px);background:#221b12;border:1px solid #6b5630;border-radius:6px;padding:18px 22px 20px;max-height:94vh;max-width:320px;width:calc(100% - 24px);overflow:auto}
#sqbox h3{margin:0 28px 14px 0;color:#e8d9ae;font-size:18px}
#sqgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);grid-auto-flow:row dense;column-gap:6.6667%;row-gap:var(--sq-row-gap);width:min(100%,250px,max(70px,calc(40.6vh - 42px)));margin:0 auto}
.squ{display:flex;min-width:0;overflow:hidden;flex-direction:column;align-items:stretch;background:transparent;border:0;border-radius:3px;padding:0}
.squ img,.squ-face{display:block;width:100%;height:auto;aspect-ratio:70/85;box-sizing:border-box;border:1px solid #6b5630;border-radius:3px 3px 0 0;background:#100d0a;object-fit:cover;image-rendering:pixelated}
.squ-meta{display:flex;height:var(--sq-meta-h);box-sizing:border-box;padding:3px 4px 4px;overflow:hidden;flex-direction:column;align-items:center;justify-content:center;border:1px solid #4a3b28;border-top:0;border-radius:0 0 3px 3px;background:#191410;text-align:center}
.squ b{display:-webkit-box;width:100%;overflow:hidden;color:#f0e2ba;font-size:clamp(6px,1.55vh,10px);line-height:1.05;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.squ-wide b{font-size:clamp(6px,1.8vh,12px)}
.squ i{flex:none;color:#b49b62;font-style:normal;font-size:clamp(6px,1.6vh,11px);line-height:1.1}
.squ-wide{grid-column:span 2}
.squ-wide img,.squ-wide .squ-face{aspect-ratio:150/85}
.squ-face-missing,.squ-face-empty{position:relative;background:linear-gradient(135deg,#17120d,#0d0b09)}
.squ-face-missing::after,.squ-face-empty::after{content:"";position:absolute;left:50%;top:50%;width:10%;aspect-ratio:1;border:1px solid #6b563088;transform:translate(-50%,-50%) rotate(45deg)}
.squ-empty .squ-meta{background:#19141088;border-style:dashed}
.squ-empty .squ-face{border-style:dashed}
#sqclose{float:right;cursor:pointer;color:#b49b62;font-size:20px;line-height:1}
#sqempty{color:#9b8a66}

@media (max-width:430px){
  #sqbox{padding:14px 12px 16px}
  #sqbox h3{margin-bottom:10px}
}

/* ★11.08 (просьба игрока): таблица рейтинга схваток.
   Сто строк по 57px -- почти шесть тысяч пикселей простыни на главной, поэтому таблица прокручивается
   внутри своей плашки, а не растягивает страницу. Колонка звания -- своя: в одиночной таблице такой
   нет, и без правила она выглядела бы обычным именем. */
#pvp-table .table-scroll { max-height: 640px; overflow-y: auto; }
#pvp-table .pvp-title { color: #a9b4b4; font-size: 13px; letter-spacing: .06em; }

@media (max-width: 560px) {
  /* На узком экране заголовки таблицы скрыты, поэтому три подряд числовые колонки без подписей
     превратились бы в кашу. Оставляем главное: место, игрока со званием и рейтинг. */
  #pvp-table td.pvp-title { grid-column: 2; color: #8f9a9a; font-size: 12px; }
  #pvp-table td.num:nth-of-type(5),
  #pvp-table td.num:nth-of-type(6) { display: none; }
}
