:root {
  --bg: #050303;
  --bg-soft: #090606;
  --panel: #120c0d;
  --panel-strong: #1a1012;
  --panel-hot: #240b0e;
  --text: #fff6ee;
  --muted: #c4b4aa;
  --muted-strong: #e1d1c7;
  --crimson: #c9141b;
  --crimson-hot: #ff3b32;
  --crimson-dark: #76080d;
  --gold: #d7a64c;
  --steel: #87909c;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-red: rgba(255, 59, 50, 0.32);
  --shadow-red: rgba(201, 20, 27, 0.34);
  --max-width: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(112, 7, 12, 0.36), rgba(5, 3, 3, 0.98) 360px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.78)),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(rgba(255, 70, 60, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 11px);
  background-size: 72px 72px, 16px 16px;
  opacity: 0.42;
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 260px;
  pointer-events: none;
  content: "";
  background: linear-gradient(0deg, rgba(140, 10, 16, 0.32), rgba(140, 10, 16, 0.08) 54%, transparent);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 3, 3, 0.88);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 59, 50, 0.26);
  background: rgba(5, 3, 3, 0.96);
}

.announcement {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 59, 50, 0.16), rgba(255, 255, 255, 0.035), rgba(215, 166, 76, 0.12)),
    rgba(10, 5, 6, 0.92);
}

.announcement__inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #f7dfd2;
  font-size: 0.88rem;
  font-weight: 850;
}

.announcement__inner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.nav__brand img {
  width: 62px;
  height: 42px;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 59, 50, 0.46));
}

.nav__brand span {
  font-size: 0.98rem;
}

.nav__menu {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav__menu a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 9px 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav__menu a:hover,
.nav__menu a:focus-visible,
.nav__menu a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -2px 0 rgba(255, 59, 50, 0.65);
}

.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  cursor: pointer;
}

.nav__chevron {
  color: var(--crimson-hot);
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  display: grid;
  min-width: 190px;
  gap: 3px;
  border: 1px solid rgba(255, 59, 50, 0.24);
  border-radius: 8px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(118, 8, 13, 0.42), rgba(8, 5, 5, 0.98)),
    #080505;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.48), 0 0 24px rgba(201, 20, 27, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav__submenu::before {
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
  content: "";
}

.nav__submenu a {
  display: flex;
  width: 100%;
  padding: 10px 11px;
}

.nav__submenu a:hover,
.nav__submenu a:focus-visible {
  background: rgba(201, 20, 27, 0.28);
  box-shadow: inset 3px 0 0 rgba(255, 59, 50, 0.82);
}

.nav__dropdown:hover .nav__submenu,
.nav__dropdown-toggle:focus-visible + .nav__submenu,
.nav__dropdown:focus-within .nav__submenu,
.nav__dropdown.is-open .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown:hover .nav__chevron,
.nav__dropdown-toggle:focus-visible .nav__chevron,
.nav__dropdown:focus-within .nav__chevron,
.nav__dropdown.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.server-status {
  display: inline-flex;
  min-height: 38px;
  max-width: 158px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 59, 50, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 5, 5, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.server-status__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d7673;
  box-shadow: 0 0 12px rgba(125, 118, 115, 0.45);
}

.server-status__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-status.is-online {
  border-color: rgba(48, 220, 118, 0.28);
}

.server-status.is-online .server-status__dot {
  background: #30dc76;
  box-shadow: 0 0 13px rgba(48, 220, 118, 0.68);
}

.server-status.is-unavailable {
  border-color: rgba(255, 59, 50, 0.18);
  color: var(--muted);
}

.server-status.is-unavailable .server-status__dot {
  background: #8e3e3e;
  box-shadow: 0 0 12px rgba(255, 59, 50, 0.22);
}

.discord-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 101, 242, 0.38);
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.15);
  box-shadow: 0 0 0 rgba(255, 59, 50, 0);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.discord-icon img {
  width: 24px;
  height: 24px;
}

.discord-icon:hover,
.discord-icon:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 59, 50, 0.74);
  background: rgba(201, 20, 27, 0.22);
  box-shadow: 0 0 28px rgba(255, 59, 50, 0.44);
}

.language-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 59, 50, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 5, 5, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 59, 50, 0.18);
}

.language-selector__current {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.language-selector__current:hover,
.language-selector__current:focus-visible {
  background: rgba(201, 20, 27, 0.18);
}

.language-selector__current .nav__chevron {
  font-size: 0.64rem;
  transition: transform 160ms ease;
}

.language-selector.is-open .language-selector__current .nav__chevron {
  transform: rotate(180deg);
}

.language-selector__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  min-width: 148px;
  gap: 4px;
  border: 1px solid rgba(255, 59, 50, 0.34);
  border-radius: 8px;
  padding: 6px;
  background: rgba(8, 5, 5, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 59, 50, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-selector.is-open .language-selector__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-selector__button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 0 8px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-selector__button:hover,
.language-selector__button:focus-visible,
.language-selector__button[aria-pressed="true"] {
  color: var(--text);
  background: rgba(201, 20, 27, 0.24);
  box-shadow: inset 0 -2px 0 rgba(215, 166, 76, 0.72);
}

.language-selector__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.language-selector__label {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 3, 3, 0.08), rgba(5, 3, 3, 0.94)),
    linear-gradient(115deg, rgba(255, 59, 50, 0.18), transparent 34%, rgba(135, 144, 156, 0.1) 68%, transparent);
}

.hero::after,
.page-hero::after {
  position: absolute;
  right: -10%;
  bottom: 0;
  left: -10%;
  z-index: -1;
  height: 34%;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(5, 3, 3, 0.74)),
    linear-gradient(90deg, transparent, rgba(255, 59, 50, 0.34), rgba(215, 166, 76, 0.18), transparent);
  filter: blur(18px);
}

.hero {
  display: grid;
  min-height: calc(100svh - 140px);
  align-items: center;
  border-bottom: 1px solid rgba(255, 59, 50, 0.2);
  padding: 42px 0 60px;
}

.hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: min(100%, 520px);
  height: auto;
  margin-bottom: 10px;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(255, 59, 50, 0.2));
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 20px 44px rgba(255, 59, 50, 0.28));
  }

  50% {
    filter: drop-shadow(0 24px 58px rgba(255, 59, 50, 0.42));
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 59, 50, 0.46);
  border-radius: 999px;
  padding: 6px 12px;
  color: #ffe0d7;
  background: rgba(118, 8, 13, 0.56);
  box-shadow: 0 0 24px rgba(255, 59, 50, 0.2);
  font-size: 0.82rem;
  font-weight: 950;
}

.badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson-hot);
  box-shadow: 0 0 14px var(--crimson-hot);
  content: "";
}

.hero h1 {
  margin-top: 18px;
  max-width: 100%;
  font-size: 5rem;
  line-height: 0.95;
  font-weight: 950;
  overflow-wrap: break-word;
  text-shadow: 0 0 32px rgba(255, 59, 50, 0.28);
}

.hero__subtitle {
  margin-top: 12px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 750;
}

.hero__copy {
  width: min(100%, 760px);
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 950;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  border-color: rgba(255, 221, 151, 0.4);
  color: #fff9f1;
  background: linear-gradient(180deg, #ff3e35, #aa0b12);
  box-shadow: 0 18px 38px rgba(201, 20, 27, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 46px rgba(255, 59, 50, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn--secondary {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: rgba(255, 59, 50, 0.58);
  background: rgba(201, 20, 27, 0.14);
  box-shadow: 0 0 26px rgba(255, 59, 50, 0.18);
}

.btn--vote {
  border-color: rgba(240, 194, 106, 0.42);
  background: linear-gradient(180deg, rgba(240, 194, 106, 0.22), rgba(118, 8, 13, 0.44));
  color: #fff6dc;
  box-shadow: inset 0 1px 0 rgba(255, 231, 179, 0.18), 0 0 26px rgba(215, 166, 76, 0.14);
}

.home-page {
  background: #050303;
  overflow-x: hidden;
}

.home-page::before,
.home-page::after {
  display: block;
}

.home-header {
  border-bottom: 1px solid rgba(255, 59, 50, 0.2);
  background:
    linear-gradient(180deg, rgba(38, 9, 12, 0.96), rgba(7, 4, 5, 0.94)),
    rgba(5, 3, 3, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 24px rgba(201, 20, 27, 0.16);
  backdrop-filter: blur(18px);
}

.home-header.is-scrolled {
  border-color: rgba(255, 59, 50, 0.36);
  background:
    linear-gradient(180deg, rgba(24, 7, 9, 0.98), rgba(5, 3, 3, 0.98)),
    rgba(5, 3, 3, 0.98);
}

.home-page .nav {
  min-height: 78px;
}

.home-page .nav__brand img {
  width: 104px;
  height: 52px;
}

.home-page .hero {
  min-height: calc(100svh - 78px);
  border-bottom: 1px solid rgba(255, 59, 50, 0.24);
  padding: 38px 0 64px;
  background:
    linear-gradient(90deg, rgba(5, 3, 3, 0.9), rgba(5, 3, 3, 0.28) 44%, rgba(5, 3, 3, 0.7)),
    linear-gradient(180deg, rgba(118, 8, 13, 0.1), rgba(5, 3, 3, 0.92)),
    url("../img/home-hero-fantasy.png") center 48% / cover no-repeat;
}

.home-page .hero::before {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 59, 50, 0.22), transparent 24%),
    linear-gradient(115deg, rgba(255, 59, 50, 0.18), transparent 32%, rgba(215, 166, 76, 0.1) 68%, transparent);
}

.home-page .hero::after {
  right: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 10, 0.96));
  filter: none;
}

.home-page .hero__content {
  min-height: 500px;
  justify-content: center;
  padding-top: 4px;
}

.home-page .hero__logo {
  display: block;
  width: min(100%, 540px);
  margin-bottom: 16px;
  filter: drop-shadow(0 20px 38px rgba(255, 59, 50, 0.28)) drop-shadow(0 6px 0 rgba(0, 0, 0, 0.44));
}

.hero__welcome {
  width: 100%;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.68), 0 0 20px rgba(255, 255, 255, 0.2);
}

.home-page .hero__subtitle {
  width: 100%;
  margin-top: 20px;
  max-width: 100%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5vw, 4.75rem);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.64), 0 0 26px rgba(215, 166, 76, 0.24);
}

.home-page .hero__copy {
  width: min(100%, 720px);
  margin-top: 20px;
  color: rgba(246, 224, 194, 0.88);
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.54);
}

.home-page .hero__actions {
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.home-page .hero__actions .btn {
  min-height: 54px;
  border-width: 2px;
  border-radius: 10px;
  padding: 13px 20px;
  background: rgba(28, 10, 12, 0.62);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.06), 0 12px 24px rgba(0, 0, 0, 0.34);
}

.home-page .hero__actions .btn--primary {
  border-color: rgba(255, 221, 151, 0.46);
  background: linear-gradient(180deg, #ff3e35, #aa0b12);
  box-shadow: 0 18px 38px rgba(201, 20, 27, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-page .hero__actions .btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.05), 0 0 24px rgba(201, 20, 27, 0.14);
}

.home-page .hero__actions .btn--vote {
  border-color: rgba(240, 194, 106, 0.42);
  background: linear-gradient(180deg, rgba(240, 194, 106, 0.22), rgba(118, 8, 13, 0.44));
  color: #fff6dc;
  box-shadow: inset 0 1px 0 rgba(255, 231, 179, 0.18), 0 0 26px rgba(215, 166, 76, 0.14);
}

.page-hero {
  border-bottom: 1px solid rgba(255, 59, 50, 0.2);
  padding: 70px 0 74px;
}

.page-hero__content {
  width: min(100%, 780px);
  min-width: 0;
}

.page-hero h1 {
  margin-top: 14px;
  max-width: 100%;
  font-size: 4.1rem;
  line-height: 1;
  font-weight: 950;
  overflow-wrap: break-word;
}

.page-hero p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.section {
  position: relative;
  padding: 82px 0;
}

.section--alt {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 59, 50, 0.045)),
    rgba(12, 7, 8, 0.72);
}

.section__heading {
  width: min(100%, 780px);
  margin-bottom: 34px;
}

.section__heading h2,
.panel h2,
.split-panel h2 {
  margin-top: 8px;
  font-size: 2.35rem;
  line-height: 1.08;
  font-weight: 950;
}

.section__heading p:not(.eyebrow),
.panel p,
.split-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.02rem;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.content-card,
.vote-card,
.panel,
.split-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.31);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.content-card::before,
.vote-card::before,
.panel::before,
.split-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.content-card:hover,
.vote-card:hover,
.panel:hover,
.split-panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-red);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 34px rgba(255, 59, 50, 0.13);
}

.content-card {
  min-height: 160px;
  padding: 24px;
}

.content-card--compact {
  min-height: 136px;
}

.content-card__meta {
  display: inline-flex;
  min-width: 38px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(215, 166, 76, 0.36);
  border-radius: 7px;
  color: var(--gold);
  background: rgba(215, 166, 76, 0.08);
  font-size: 0.84rem;
  font-weight: 950;
}

.content-card h3,
.vote-card h3,
.panel h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 950;
}

.content-card p,
.vote-card p {
  margin-top: 10px;
  color: var(--muted);
}

.feature-card {
  min-height: 168px;
}

.mode-card {
  min-height: 210px;
}

.mode-select-hero,
.animated-hero {
  background:
    linear-gradient(180deg, rgba(5, 3, 3, 0.04), rgba(5, 3, 3, 0.86)),
    linear-gradient(120deg, rgba(201, 20, 27, 0.2), transparent 42%, rgba(215, 166, 76, 0.08));
}

.mode-select-hero::before,
.animated-hero::before {
  animation: modeDrift 12s linear infinite;
  background:
    linear-gradient(180deg, rgba(5, 3, 3, 0.08), rgba(5, 3, 3, 0.92)),
    repeating-linear-gradient(115deg, rgba(255, 59, 50, 0.14) 0, rgba(255, 59, 50, 0.14) 1px, transparent 1px, transparent 76px),
    repeating-linear-gradient(65deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 98px);
  background-size: auto, 220px 220px, 260px 260px;
}

.mode-hero__lines,
.animated-hero__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 59, 50, 0.32), transparent) 0 28% / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(215, 166, 76, 0.22), transparent) 0 72% / 100% 1px no-repeat;
  opacity: 0.75;
}

@keyframes modeDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 0 0, 220px 220px, -260px 260px;
  }
}

.mode-select-section {
  padding-top: 76px;
}

.mode-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mode-select-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(201, 20, 27, 0.1), transparent 46%),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mode-select-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.mode-select-card::after {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  content: "";
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(255, 59, 50, 0.16) 48% 52%, transparent 53%),
    linear-gradient(45deg, transparent 0 47%, rgba(215, 166, 76, 0.12) 48% 52%, transparent 53%);
  opacity: 0.55;
  transform: rotate(45deg);
}

.mode-select-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-red);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38), 0 0 40px rgba(255, 59, 50, 0.13);
}

.mode-select-card--featured {
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.12), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(215, 166, 76, 0.1), transparent 52%),
    var(--panel);
}

.mode-select-card--danger {
  border-color: rgba(255, 59, 50, 0.24);
}

.mode-select-card--wild {
  background:
    linear-gradient(180deg, rgba(201, 20, 27, 0.16), rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(135deg, rgba(255, 59, 50, 0.04) 0, rgba(255, 59, 50, 0.04) 1px, transparent 1px, transparent 14px),
    var(--panel);
}

.mode-select-card--ultimate {
  border-color: rgba(215, 166, 76, 0.24);
}

.mode-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.mode-card__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 59, 50, 0.38);
  border-radius: 8px;
  color: #fff2ec;
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.24), rgba(118, 8, 13, 0.42)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px rgba(255, 59, 50, 0.16);
  font-size: 0.96rem;
  font-weight: 950;
}

.mode-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 59, 50, 0.38);
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffe2dc;
  background: rgba(118, 8, 13, 0.52);
  box-shadow: 0 0 20px rgba(255, 59, 50, 0.13);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mode-badge--steel {
  border-color: rgba(135, 144, 156, 0.34);
  color: #e9eef6;
  background: rgba(135, 144, 156, 0.12);
}

.mode-badge--gold,
.mode-badge--bonus {
  border-color: rgba(215, 166, 76, 0.44);
  color: #ffe2a4;
  background: rgba(215, 166, 76, 0.12);
}

.mode-badge--danger {
  border-color: rgba(255, 59, 50, 0.62);
  color: #fff0ec;
  background: rgba(201, 20, 27, 0.34);
  box-shadow: 0 0 28px rgba(255, 59, 50, 0.24);
}

.mode-select-card h3 {
  font-size: 1.65rem;
  line-height: 1.05;
  font-weight: 950;
}

.mode-card__desc {
  margin-top: 10px;
  color: var(--muted-strong);
}

.mode-difficulty {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.mode-difficulty span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mode-difficulty strong {
  color: #fff7ef;
  font-size: 0.94rem;
}

.difficulty-pips {
  display: inline-flex;
  gap: 5px;
}

.difficulty-pips span {
  display: block;
  width: 18px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.difficulty-pips span.is-active {
  background: linear-gradient(90deg, var(--gold), var(--crimson-hot));
  box-shadow: 0 0 12px rgba(255, 59, 50, 0.35);
}

.mode-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.mode-card__details h4 {
  margin: 0 0 10px;
  color: #fff5ed;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mode-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-list li {
  display: flex;
  gap: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.38;
}

.mode-list li::before {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 18px;
}

.mode-list--benefits li::before {
  color: #fff7e8;
  background: rgba(215, 166, 76, 0.22);
  content: "+";
}

.mode-list--restrictions li::before {
  color: #ffd7d2;
  background: rgba(255, 59, 50, 0.22);
  content: "-";
}

.recommended {
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.recommended span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  text-align: left;
  white-space: nowrap;
}

.comparison-table thead th {
  color: var(--gold);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-table tbody th {
  color: #fff7ef;
  font-weight: 950;
}

.comparison-table tbody td {
  color: var(--muted-strong);
  font-weight: 750;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 59, 50, 0.07);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.mode-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 50, 0.28);
  border-radius: 8px;
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.16), transparent 46%, rgba(215, 166, 76, 0.1)),
    rgba(12, 7, 8, 0.78);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.mode-cta h2 {
  margin-top: 8px;
  font-size: 2.35rem;
  line-height: 1.08;
}

.mode-cta p:not(.eyebrow) {
  width: min(100%, 680px);
  margin: 12px auto 0;
  color: var(--muted-strong);
}

.event-card,
.rule-card {
  min-height: 150px;
}

.boss-section + .boss-section {
  margin-top: 46px;
}

.boss-section h2 {
  margin-bottom: 20px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.boss-hero {
  background:
    linear-gradient(180deg, rgba(5, 3, 3, 0.08), rgba(5, 3, 3, 0.94)),
    radial-gradient(circle at 80% 24%, rgba(255, 59, 50, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(201, 20, 27, 0.16), transparent 48%, rgba(215, 166, 76, 0.08));
}

.boss-hero__flare {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 59, 50, 0.24), transparent) 0 38% / 100% 1px no-repeat,
    repeating-linear-gradient(115deg, rgba(255, 59, 50, 0.08) 0, rgba(255, 59, 50, 0.08) 1px, transparent 1px, transparent 86px);
  opacity: 0.8;
}

.button-row--left {
  justify-content: flex-start;
}

.launcher-download-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 28px;
}

.launcher-download {
  position: relative;
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(8, 5, 5, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.launcher-download span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.launcher-download strong {
  margin-top: 5px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.18;
  font-weight: 950;
}

.launcher-download small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 750;
}

.launcher-download--active {
  border-color: rgba(255, 221, 151, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 59, 50, 0.24), rgba(118, 8, 13, 0.4)),
    rgba(8, 5, 5, 0.78);
  box-shadow: 0 18px 42px rgba(201, 20, 27, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.launcher-download--active:hover,
.launcher-download--active:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 221, 151, 0.58);
  box-shadow: 0 22px 50px rgba(255, 59, 50, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.launcher-download--disabled {
  cursor: default;
  opacity: 0.76;
}

.launcher-download--disabled strong {
  color: rgba(255, 246, 238, 0.76);
}

.download-hero-actions {
  margin-top: 16px;
}

.boss-progression-section {
  padding-top: 76px;
}

.progression-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.progression-tier {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.progression-tier::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--crimson-hot), transparent);
}

.progression-tier--mid {
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.09), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.progression-tier--end {
  border-color: rgba(255, 59, 50, 0.22);
  background:
    linear-gradient(180deg, rgba(201, 20, 27, 0.16), rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(135deg, rgba(255, 59, 50, 0.04) 0, rgba(255, 59, 50, 0.04) 1px, transparent 1px, transparent 14px),
    var(--panel);
}

.progression-tier__label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.progression-tier h3 {
  margin-top: 8px;
  font-size: 1.4rem;
  line-height: 1.12;
}

.progression-tier ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.progression-tier li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
  font-weight: 750;
}

.progression-tier li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-hot);
  box-shadow: 0 0 12px rgba(255, 59, 50, 0.64);
  content: "";
}

.progression-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 950;
  text-shadow: 0 0 22px rgba(255, 59, 50, 0.36);
}

.boss-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.boss-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 238px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(201, 20, 27, 0.1), transparent 46%),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.boss-card::before,
.raid-card::before,
.custom-boss-card::before,
.collection-panel::before,
.boss-feature-card::before,
.boss-final-cta::before,
.pvm-prestige-panel::before,
.pvm-king-card::before,
.drop-matters-panel::before,
.event-feature-card::before,
.event-community-panel::before,
.events-final-cta::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.boss-card:hover,
.raid-card:hover,
.custom-boss-card:hover,
.boss-feature-card:hover,
.pvm-king-card:hover,
.event-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-red);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38), 0 0 40px rgba(255, 59, 50, 0.13);
}

.boss-card__art {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle, rgba(255, 59, 50, 0.18), transparent 58%),
    rgba(0, 0, 0, 0.18);
}

.boss-card__art img {
  width: 112px;
  height: 132px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 16px rgba(255, 59, 50, 0.28));
}

.raid-card__icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 16px rgba(255, 59, 50, 0.28));
}

.boss-card__body {
  padding: 22px 22px 22px 0;
}

.boss-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.boss-card h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.difficulty-badge,
.reward-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(215, 166, 76, 0.36);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffe2a4;
  background: rgba(215, 166, 76, 0.1);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.difficulty-badge--medium {
  border-color: rgba(215, 166, 76, 0.42);
  color: #ffe2a4;
}

.difficulty-badge--hard {
  border-color: rgba(255, 59, 50, 0.42);
  color: #ffd8d2;
  background: rgba(201, 20, 27, 0.16);
}

.difficulty-badge--expert,
.reward-badge--legendary {
  border-color: rgba(255, 59, 50, 0.62);
  color: #fff0ec;
  background: rgba(201, 20, 27, 0.3);
  box-shadow: 0 0 24px rgba(255, 59, 50, 0.18);
}

.boss-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.boss-stats div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.boss-stats dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.boss-stats dd {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-weight: 800;
}

.boss-card p {
  margin-top: 16px;
  color: var(--muted);
}

.boss-why span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.raid-grid,
.custom-boss-grid,
.boss-feature-grid {
  display: grid;
  gap: 18px;
}

.raid-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.raid-card,
.custom-boss-card,
.boss-feature-card,
.collection-panel,
.boss-final-cta,
.pvm-prestige-panel,
.pvm-king-card,
.drop-matters-panel,
.event-feature-card,
.event-community-panel,
.events-final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.raid-card {
  min-height: 310px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.raid-card__icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 59, 50, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 59, 50, 0.22), transparent 58%),
    rgba(0, 0, 0, 0.18);
}

.raid-card h3 {
  margin-top: 16px;
  font-size: 1.4rem;
}

.raid-highlights {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.raid-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-weight: 800;
}

.raid-highlights li::before {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff7e8;
  background: rgba(215, 166, 76, 0.18);
  content: "+";
  font-weight: 950;
}

.custom-boss-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.custom-boss-card {
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.custom-boss-card__sigil {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 50, 0.38);
  border-radius: 10px;
  color: #fff4ed;
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.22), rgba(118, 8, 13, 0.42)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px rgba(255, 59, 50, 0.16);
  font-weight: 950;
  line-height: 1;
  position: relative;
}

.custom-boss-card__sigil--image {
  align-items: end;
  padding: 6px;
}

.custom-boss-card__sigil--image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.custom-boss-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reward-badge--event {
  border-color: rgba(135, 144, 156, 0.36);
  color: #e9eef6;
  background: rgba(135, 144, 156, 0.12);
}

.custom-boss-card h3 {
  font-size: 1.18rem;
  line-height: 1.14;
}

.custom-boss-card p,
.boss-feature-card p {
  margin-top: 10px;
  color: var(--muted);
}

.collection-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.14), transparent 46%, rgba(215, 166, 76, 0.08)),
    var(--panel);
}

.collection-panel h2,
.boss-final-cta h2 {
  margin-top: 8px;
  font-size: 2.35rem;
  line-height: 1.08;
}

.collection-panel p:not(.eyebrow),
.boss-final-cta p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted-strong);
}

.boss-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.boss-feature-card {
  min-height: 180px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.boss-feature-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 166, 76, 0.34);
  border-radius: 7px;
  color: var(--gold);
  background: rgba(215, 166, 76, 0.08);
  font-weight: 950;
}

.boss-feature-card h3 {
  font-size: 1.16rem;
}

.pvm-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.pvm-prestige-panel,
.pvm-king-card,
.drop-matters-panel {
  padding: 28px;
}

.pvm-prestige-panel {
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.16), transparent 48%, rgba(215, 166, 76, 0.09)),
    var(--panel);
}

.pvm-prestige-panel h2,
.drop-matters-panel h2,
.event-community-panel h2,
.events-final-cta h2 {
  margin-top: 8px;
  font-size: 2.15rem;
  line-height: 1.08;
}

.pvm-prestige-panel p:not(.eyebrow),
.pvm-king-card p:not(.eyebrow),
.drop-matters-panel p:not(.eyebrow),
.event-community-panel p:not(.eyebrow),
.events-final-cta p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted-strong);
}

.prestige-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.prestige-highlight-grid span,
.event-highlights li,
.drop-highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.16);
  font-weight: 850;
}

.prestige-highlight-grid strong {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.prestige-teaser {
  border-left: 2px solid var(--crimson-hot);
  padding-left: 14px;
}

.pvm-king-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 82% 18%, rgba(215, 166, 76, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 59, 50, 0.1), rgba(255, 255, 255, 0.018)),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pvm-king-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 166, 76, 0.38);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(215, 166, 76, 0.1);
  font-weight: 950;
}

.pvm-king-card h3 {
  font-size: 1.6rem;
}

.pvm-king-card__cta {
  margin-top: 22px;
  color: #fff4ec;
  font-weight: 950;
}

.drop-matters-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(215, 166, 76, 0.08), transparent 42%, rgba(255, 59, 50, 0.13)),
    var(--panel);
}

.drop-highlight-list,
.event-highlights {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drop-highlight-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drop-highlight-list li::before {
  flex: 0 0 auto;
  color: var(--gold);
  content: "+";
  font-weight: 950;
}

.event-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-feature-card {
  min-height: 310px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(201, 20, 27, 0.1), transparent 46%),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-feature-card__icon {
  display: inline-flex;
  min-width: 52px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(215, 166, 76, 0.34);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(215, 166, 76, 0.08);
  font-weight: 950;
}

.event-feature-card h3 {
  font-size: 1.32rem;
}

.event-feature-card p {
  margin-top: 10px;
  color: var(--muted);
}

.event-highlights {
  margin-top: 18px;
}

.event-highlights li {
  min-height: 44px;
}

.event-community-panel,
.events-final-cta {
  padding: 34px;
}

.event-community-panel {
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.12), transparent 44%, rgba(215, 166, 76, 0.08)),
    var(--panel);
}

.event-community-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: center;
}

.events-final-cta {
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.16), transparent 46%, rgba(215, 166, 76, 0.1)),
    rgba(12, 7, 8, 0.78);
}

.events-final-cta p:not(.eyebrow) {
  width: min(100%, 680px);
  margin-inline: auto;
}

.boss-final-cta {
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.16), transparent 46%, rgba(215, 166, 76, 0.1)),
    rgba(12, 7, 8, 0.78);
}

.boss-final-cta p:not(.eyebrow) {
  width: min(100%, 620px);
  margin-inline: auto;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  padding: 32px;
}

.panel {
  padding: 28px;
}

.download-panel {
  min-height: 360px;
}

.download-card {
  border: 1px solid rgba(255, 59, 50, 0.28);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(5, 3, 3, 0.58);
}

.download-card h3 {
  font-size: 1.35rem;
}

.download-card p {
  margin-top: 10px;
  color: var(--muted);
}

.download-step-grid,
.download-feature-grid,
.requirements-grid,
.download-info-grid {
  display: grid;
  gap: 18px;
}

.download-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.requirements-grid,
.download-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-step-card,
.download-feature-card,
.download-flow-panel,
.download-system-panel,
.download-info-card,
.download-size-card,
.requirement-card,
.download-future-panel,
.download-final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.download-step-card::before,
.download-feature-card::before,
.download-flow-panel::before,
.download-system-panel::before,
.download-info-card::before,
.download-size-card::before,
.requirement-card::before,
.download-future-panel::before,
.download-final-cta::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.download-step-card,
.download-feature-card,
.download-size-card,
.requirement-card {
  min-height: 210px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-step-card:hover,
.download-feature-card:hover,
.requirement-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-red);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38), 0 0 40px rgba(255, 59, 50, 0.13);
}

.download-overview-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.download-overview-strip span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.14);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.download-step-card__number,
.download-feature-card span {
  display: inline-flex;
  min-width: 44px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(215, 166, 76, 0.36);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(215, 166, 76, 0.08);
  font-size: 0.84rem;
  font-weight: 950;
}

.download-step-card h3,
.download-feature-card h3,
.download-size-card h3,
.requirement-card h3 {
  font-size: 1.24rem;
  line-height: 1.16;
}

.download-step-card p,
.download-feature-card p,
.download-size-card p,
.requirement-card p {
  margin-top: 10px;
  color: var(--muted);
}

.download-flow-panel {
  margin-top: 18px;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.1), transparent 52%, rgba(215, 166, 76, 0.06)),
    var(--panel);
}

.download-flow-panel h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.download-flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.download-flow-list li {
  position: relative;
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 30px 10px 10px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.download-flow-list li::before {
  position: absolute;
  top: 9px;
  left: 50%;
  color: var(--gold);
  content: counter(list-item, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 950;
  transform: translateX(-50%);
}

.download-system-panel,
.download-future-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.13), transparent 46%, rgba(215, 166, 76, 0.08)),
    var(--panel);
}

.download-system-panel h2,
.download-info-card h2,
.download-future-panel h2,
.download-final-cta h2 {
  margin-top: 8px;
  font-size: 2.15rem;
  line-height: 1.08;
}

.download-system-panel p:not(.eyebrow),
.download-info-card p:not(.eyebrow),
.download-future-panel p:not(.eyebrow),
.download-final-cta p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted-strong);
}

.download-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.16);
  font-weight: 850;
}

.download-check-list li::before {
  flex: 0 0 auto;
  color: var(--gold);
  content: "+";
  font-weight: 950;
}

.download-info-card {
  padding: 30px;
  background:
    linear-gradient(120deg, rgba(215, 166, 76, 0.08), transparent 44%, rgba(255, 59, 50, 0.12)),
    var(--panel);
}

.download-size-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 59, 50, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.download-size-meter {
  overflow: hidden;
  height: 12px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.download-size-meter span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--crimson-hot));
  box-shadow: 0 0 18px rgba(255, 59, 50, 0.34);
}

.download-size-card__target,
.download-note {
  color: var(--gold);
  font-weight: 900;
}

.download-note {
  margin-top: 18px;
}

.requirement-card--recommended {
  border-color: rgba(255, 59, 50, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 59, 50, 0.1), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.future-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.future-highlight-grid span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.16);
  font-weight: 850;
}

.download-final-cta {
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.16), transparent 46%, rgba(215, 166, 76, 0.1)),
    rgba(12, 7, 8, 0.78);
}

.download-final-cta p:not(.eyebrow) {
  width: min(100%, 620px);
  margin-inline: auto;
}

.status-list,
.reward-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li,
.reward-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-weight: 800;
}

.status-list li::before,
.reward-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson-hot);
  box-shadow: 0 0 12px rgba(255, 59, 50, 0.76);
  content: "";
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vote-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.vote-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.vote-card__site {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vote-card__action {
  margin-top: 20px;
  color: #fff4ec;
  font-weight: 950;
}

.vote-card__cooldown {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(97, 214, 139, 0.34);
  border-radius: 8px;
  padding: 8px 10px;
  color: #d9ffe5;
  background: rgba(97, 214, 139, 0.1);
  font-size: 0.9rem;
  font-weight: 950;
}

.vote-card.is-on-cooldown .vote-card__cooldown {
  border-color: rgba(215, 166, 76, 0.34);
  color: #ffe7b8;
  background: rgba(215, 166, 76, 0.1);
}

.vote-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 59, 50, 0.22);
  padding: 88px 0 70px;
  background:
    linear-gradient(180deg, rgba(5, 3, 3, 0.12), rgba(5, 3, 3, 0.94)),
    linear-gradient(115deg, rgba(201, 20, 27, 0.26), transparent 44%, rgba(215, 166, 76, 0.08)),
    rgba(5, 3, 3, 0.94);
}

.vote-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(255, 59, 50, 0.24), transparent) 0 32% / 100% 1px no-repeat,
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 74px);
  opacity: 0.72;
}

.vote-hero__inner {
  width: min(calc(100% - 40px), 860px);
  text-align: center;
}

.vote-hero h1 {
  margin-top: 12px;
  font-size: 4.5rem;
  line-height: 0.98;
  font-weight: 950;
  overflow-wrap: break-word;
  text-shadow: 0 0 32px rgba(255, 59, 50, 0.26);
}

.vote-hero p:not(.eyebrow) {
  width: min(100%, 720px);
  margin: 18px auto 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.vote-hero strong,
.section__heading strong,
.vote-info-panel strong {
  color: #fff3e8;
}

.vote-section {
  padding-top: 76px;
}

.vote-name-panel {
  width: min(100%, 860px);
  margin: 0 auto 28px;
  border: 1px solid rgba(255, 59, 50, 0.22);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(201, 20, 27, 0.14), rgba(255, 255, 255, 0.018)),
    rgba(8, 5, 5, 0.82);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

.vote-name-panel label {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vote-name-panel__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 10px;
}

.vote-name-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.38);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.vote-name-panel input::placeholder {
  color: rgba(240, 222, 210, 0.54);
}

.vote-name-panel input:focus {
  border-color: rgba(255, 59, 50, 0.54);
  box-shadow: 0 0 0 3px rgba(201, 20, 27, 0.18);
}

.vote-name-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.vote-name-panel.is-ready p {
  color: #ffd9c7;
}

.vote-cooldown-summary {
  display: flex;
  width: min(100%, 860px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 28px;
  border: 1px solid rgba(215, 166, 76, 0.28);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--muted-strong);
  background: rgba(12, 8, 7, 0.82);
  font-weight: 900;
}

.vote-cooldown-summary strong {
  color: #ffe4af;
  font-size: 1.05rem;
}

.vote-grid--premium .vote-card {
  min-height: 214px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(201, 20, 27, 0.1), transparent 52%),
    var(--panel);
}

.vote-card--featured {
  border-color: rgba(255, 59, 50, 0.34);
}

.vote-card__badge {
  flex: 0 0 auto;
  border: 1px solid rgba(215, 166, 76, 0.38);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffe4af;
  background: rgba(215, 166, 76, 0.1);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vote-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vote-info-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.vote-info-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.vote-info-panel h2 {
  margin-top: 8px;
  font-size: 2.1rem;
  line-height: 1.08;
}

.vote-info-panel p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted-strong);
}

.vote-info-panel--wide {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(255, 59, 50, 0.14), transparent 48%, rgba(215, 166, 76, 0.08)),
    var(--panel);
}

.vote-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted-strong);
}

.vote-steps li {
  padding-left: 6px;
  font-weight: 800;
}

.vote-steps li::marker {
  color: var(--gold);
  font-weight: 950;
}

.vote-reward-list li {
  align-items: flex-start;
}

.store-hero .page-hero__content {
  width: min(100%, 840px);
}

.store-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.store-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(215, 166, 76, 0.36);
  border-radius: 8px;
  padding: 0 15px;
  color: #ffe2ad;
  background: rgba(215, 166, 76, 0.08);
  font-size: 0.88rem;
  font-weight: 900;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.store-quick-nav a:hover,
.store-quick-nav a:focus-visible {
  border-color: rgba(255, 59, 50, 0.58);
  color: var(--text);
  background: rgba(255, 59, 50, 0.13);
}

.store-section {
  scroll-margin-top: 92px;
}

.store-section__heading {
  width: min(100%, 860px);
}

.store-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  align-items: stretch;
  gap: 18px;
}

.store-product-card,
.store-info-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.store-product-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  min-height: 420px;
}

.store-product-card::before,
.store-info-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), var(--gold), transparent);
}

.store-product-card__image {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 166, 76, 0.24), rgba(201, 20, 27, 0.15) 42%, rgba(0, 0, 0, 0.32) 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.046) 0, rgba(255, 255, 255, 0.046) 1px, transparent 1px, transparent 16px);
}

.store-product-card__image img {
  display: block;
  width: min(100%, 330px);
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.56));
}

.store-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}

.store-product-card h3,
.store-info-panel h3 {
  font-size: 1.58rem;
  line-height: 1.12;
}

.store-product-card p:not(.deal-card__type),
.store-info-panel {
  color: var(--muted);
}

.store-custom-amount {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.store-custom-amount span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-custom-amount input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(215, 166, 76, 0.34);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(5, 3, 3, 0.78);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  outline: none;
}

.store-custom-amount input:focus {
  border-color: rgba(255, 59, 50, 0.62);
  box-shadow: 0 0 0 3px rgba(255, 59, 50, 0.12);
}

.store-info-panel {
  padding: 30px;
}

.store-check-list {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.store-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
  font-weight: 750;
}

.store-check-list li::before {
  position: absolute;
  top: 0.12em;
  left: 0;
  color: var(--gold);
  content: "+";
  font-weight: 950;
}

.store-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.store-list .content-card {
  min-height: 178px;
}

.store-category-card .content-card__meta {
  margin-bottom: 18px;
}

.deal-sync-note {
  margin-top: 8px !important;
  color: var(--gold) !important;
  font-size: 0.9rem !important;
  font-weight: 850;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.deal-card {
  display: grid;
  grid-template-rows: 128px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 50, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.deal-card__art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(215, 166, 76, 0.2), rgba(201, 20, 27, 0.16) 44%, rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 15px);
}

.deal-card__art span {
  display: inline-flex;
  min-width: 66px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 166, 76, 0.42);
  border-radius: 8px;
  color: #ffe0aa;
  background: rgba(5, 3, 3, 0.76);
  font-size: 1rem;
  font-weight: 950;
}

.deal-card__art img {
  display: block;
  width: min(72%, 172px);
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.48));
}

.deal-card__body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
}

.deal-card__type {
  margin: 0 !important;
  color: var(--gold) !important;
  font-size: 0.75rem !important;
  font-weight: 950;
  text-transform: uppercase;
}

.deal-card h3 {
  font-size: 1.16rem;
  line-height: 1.2;
}

.deal-card p {
  color: var(--muted);
}

.deal-card__badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 59, 50, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffe0d7;
  background: rgba(118, 8, 13, 0.52);
  font-size: 0.78rem;
  font-weight: 950;
}

.deal-card__facts {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 6px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.deal-card__facts dt {
  color: var(--gold);
  font-weight: 900;
}

.deal-card__facts dd {
  margin: 0;
}

.deal-card .btn {
  margin-top: auto;
}

.store-page {
  background:
    radial-gradient(circle at 18% 0, rgba(180, 18, 26, 0.2), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(215, 166, 76, 0.12), transparent 25%),
    #050303;
}

body.store-modal-open {
  overflow: hidden;
}

.store-hero-aaa {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  padding: 48px 0 38px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(5, 3, 3, 0.98)),
    linear-gradient(120deg, rgba(111, 9, 14, 0.52), rgba(6, 4, 4, 0.36) 44%, rgba(215, 166, 76, 0.08)),
    url("../img/home-hero-logo.jpg") center 42% / cover;
}

.store-hero-aaa::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 3, 3, 0.9), rgba(5, 3, 3, 0.5) 46%, rgba(5, 3, 3, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.034) 0, rgba(255, 255, 255, 0.034) 1px, transparent 1px, transparent 22px);
  pointer-events: none;
}

.store-ember-field {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: radial-gradient(circle at 30% 100%, rgba(255, 59, 50, 0.22), transparent 32%);
  opacity: 0.75;
  pointer-events: none;
}

.store-hero-aaa__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.store-hero-aaa__kicker {
  margin-top: 12px;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
}

.store-hero-aaa__text {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.store-hero-aaa__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.store-section {
  scroll-margin-top: 92px;
}

.store-page .section--alt {
  border-block: 0;
}

.store-section-title {
  width: min(100%, 840px);
  margin-bottom: 28px;
}

.store-section-title h2 {
  margin-top: 8px;
  font-size: 2.42rem;
  line-height: 1.06;
}

.store-section-title p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.store-product-grid-aaa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.store-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2fr) minmax(170px, 0.55fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(5, 3, 3, 0.72);
}

.store-search input,
.store-sort select,
.store-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(215, 166, 76, 0.25);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.38);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.store-search input:focus,
.store-sort select:focus,
.store-field input:focus,
.store-category-tabs button:focus-visible,
.store-cart-button:focus-visible,
.store-icon-button:focus-visible,
.store-cart-line__controls button:focus-visible,
.store-related button:focus-visible {
  border-color: rgba(255, 59, 50, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 59, 50, 0.14);
}

.store-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-category-tabs button,
.store-cart-button,
.store-icon-button,
.store-cart-line__controls button,
.store-related button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.store-category-tabs button {
  min-height: 38px;
  padding: 0 11px;
  font-size: 0.82rem;
}

.store-category-tabs button:hover,
.store-category-tabs button.is-active,
.store-cart-button:hover,
.store-icon-button:hover,
.store-cart-line__controls button:hover,
.store-related button:hover {
  border-color: rgba(255, 59, 50, 0.48);
  color: var(--text);
  background: rgba(255, 59, 50, 0.12);
}

.store-cart-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}

.store-cart-button strong {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #1b0906;
  background: var(--gold);
}

.store-product-card-aaa {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-rows: 172px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 50, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
    rgba(13, 8, 8, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.store-product-card-aaa::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--crimson-hot), rgba(215, 166, 76, 0.86), transparent);
}

.store-product-card-aaa:hover {
  border-color: rgba(255, 59, 50, 0.42);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.42), 0 0 34px rgba(255, 59, 50, 0.11);
  transform: translateY(-3px);
}

.store-product-card-aaa--featured {
  border-color: rgba(215, 166, 76, 0.34);
}

.store-product-art,
.store-modal-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(215, 166, 76, 0.18), rgba(201, 20, 27, 0.12) 44%, rgba(0, 0, 0, 0.3) 72%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.042) 0, rgba(255, 255, 255, 0.042) 1px, transparent 1px, transparent 16px);
}

.store-product-art--prestige,
.store-modal-art--prestige {
  background:
    radial-gradient(circle, rgba(215, 166, 76, 0.26), rgba(111, 9, 14, 0.14) 46%, rgba(0, 0, 0, 0.36) 72%),
    repeating-linear-gradient(135deg, rgba(215, 166, 76, 0.07) 0, rgba(215, 166, 76, 0.07) 1px, transparent 1px, transparent 18px);
}

.store-product-art img,
.store-modal-art img {
  display: block;
  width: 94px;
  height: 94px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.55));
  transform: scale(var(--store-item-scale, 1));
  transform-origin: center;
}

.store-modal-art img {
  width: 138px;
  height: 138px;
}

.store-product-art--donation-scrolls img {
  width: 104px;
  height: 104px;
}

.store-modal-art--donation-scrolls img {
  width: 146px;
  height: 146px;
}

.store-product-art--mystery-boxes img {
  width: 112px;
  height: 112px;
}

.store-modal-art--mystery-boxes img {
  width: 152px;
  height: 152px;
}

.store-product-art--legendary-potions img {
  width: 104px;
  height: 104px;
}

.store-modal-art--legendary-potions img {
  width: 146px;
  height: 146px;
}

.store-product-card-aaa--donation-scroll-5,
.store-product-card-aaa--donation-scroll-10,
.store-product-card-aaa--donation-scroll-25,
.store-product-card-aaa--donation-scroll-50,
.store-product-card-aaa--donation-scroll-100,
.store-modal-art--donation-scroll-5,
.store-modal-art--donation-scroll-10,
.store-modal-art--donation-scroll-25,
.store-modal-art--donation-scroll-50,
.store-modal-art--donation-scroll-100 {
  --store-item-scale: 1.55;
}

.store-product-card-aaa--donation-scroll-250,
.store-product-card-aaa--donation-scroll-500,
.store-modal-art--donation-scroll-250,
.store-modal-art--donation-scroll-500 {
  --store-item-scale: 1.32;
}

.store-product-card-aaa--demons-token,
.store-modal-art--demons-token {
  --store-item-scale: 3.15;
}

.store-product-card-aaa--donator-vault-token,
.store-modal-art--donator-vault-token {
  --store-item-scale: 1.55;
}

.store-product-card-aaa--box-of-the-realm,
.store-modal-art--box-of-the-realm {
  --store-item-scale: 1.2;
}

.store-product-card-aaa--legendary-potions,
.store-modal-art--legendary-potions {
  --store-item-scale: 0.92;
}

.store-product-art__placeholder {
  display: inline-grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(215, 166, 76, 0.34);
  border-radius: 8px;
  color: #ffe2ad;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.01)),
    rgba(5, 3, 3, 0.78);
  font-size: 1.2rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-product-card-aaa__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.store-product-card-aaa__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-product-card-aaa__meta strong {
  flex: 0 0 auto;
  border: 1px solid rgba(215, 166, 76, 0.34);
  border-radius: 999px;
  padding: 4px 7px;
  color: #ffe2ad;
  background: rgba(215, 166, 76, 0.09);
}

.store-product-card-aaa h3 {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.16;
}

.store-product-card-aaa p {
  color: var(--muted);
  font-size: 0.94rem;
}

.store-product-receives {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(215, 166, 76, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(215, 166, 76, 0.07);
}

.store-product-receives span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.store-product-receives strong {
  color: #fff3de;
  font-size: 1rem;
  line-height: 1.15;
}

.store-product-card-aaa__footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.store-price {
  color: #fff3de;
  font-size: 1.28rem;
  font-weight: 950;
}

.store-product-card-aaa__actions,
.store-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.store-product-card-aaa .btn,
.store-modal-actions .btn,
.store-checkout__button {
  min-height: 44px;
  padding-inline: 12px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.store-empty-state,
.store-cart-empty,
.store-checkout__note,
.store-disclosure {
  color: var(--muted);
}

.store-empty-state {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 24px;
  background: rgba(5, 3, 3, 0.72);
}

.store-cart {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background 180ms ease;
}

.store-cart.is-open {
  background: rgba(0, 0, 0, 0.58);
  opacity: 1;
  pointer-events: auto;
}

.store-cart__panel {
  display: flex;
  width: min(100%, 460px);
  min-height: 100%;
  flex-direction: column;
  border-left: 1px solid rgba(255, 59, 50, 0.22);
  background: #090606;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.46);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.store-cart.is-open .store-cart__panel {
  transform: translateX(0);
}

.store-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.store-cart__header h2 {
  margin-top: 5px;
  font-size: 1.7rem;
}

.store-icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
}

.store-cart__items {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 120px;
  padding: 18px 22px;
}

.store-cart-line {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.store-cart-line strong,
.store-cart-line span {
  display: block;
}

.store-cart-line span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.store-cart-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.store-cart-line__controls button {
  min-height: 34px;
  padding: 0 10px;
}

.store-cart-line__controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.store-checkout {
  display: grid;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.store-field,
.store-agreement {
  display: grid;
  gap: 8px;
}

.store-field span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-field small,
.store-warning,
.store-agreement,
.store-form-error {
  color: var(--muted);
  font-size: 0.86rem;
}

.store-warning {
  border: 1px solid rgba(215, 166, 76, 0.2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(215, 166, 76, 0.065);
}

.store-agreement {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
}

.store-agreement input {
  margin-top: 3px;
}

.store-form-error {
  min-height: 1.2em;
  color: #ffb5ae;
  font-weight: 800;
}

.store-cart__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.store-cart__summary strong {
  color: #fff3de;
  font-size: 1.32rem;
}

.store-modal[hidden] {
  display: none;
}

.store-modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.store-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.store-modal__panel {
  position: relative;
  width: min(100%, 940px);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 59, 50, 0.26);
  border-radius: 8px;
  background: #090606;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.56);
}

.store-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.store-modal__content {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
}

.store-modal-art {
  min-height: 430px;
}

.store-modal-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 34px;
}

.store-modal-copy h2 {
  margin-top: 6px;
  font-size: 2.15rem;
  line-height: 1.05;
}

.store-detail-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 9px 12px;
  margin: 2px 0 0;
  color: var(--muted);
}

.store-detail-list dt {
  color: var(--gold);
  font-weight: 950;
}

.store-detail-list dd {
  margin: 0;
}

.store-disclosure {
  border: 1px solid rgba(215, 166, 76, 0.2);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(215, 166, 76, 0.06);
}

.store-related {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.store-related h3 {
  font-size: 1rem;
}

.store-related button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .store-product-card-aaa,
  .store-cart,
  .store-cart__panel,
  .store-category-tabs button,
  .store-cart-button,
  .store-icon-button,
  .store-cart-line__controls button,
  .store-related button {
    transition: none;
  }

  .store-product-card-aaa:hover {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .store-modal__content {
    grid-template-columns: 1fr;
  }

  .store-modal-art {
    min-height: 260px;
  }

  .store-toolbar {
    grid-template-columns: 1fr;
  }

  .store-category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .store-category-tabs button {
    flex: 0 0 auto;
  }
}

@media (max-width: 980px) {
  .store-product-grid-aaa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .store-document .language-selector {
    gap: 2px !important;
    padding: 3px !important;
  }

  .store-document .language-selector__button {
    width: auto !important;
    height: 30px !important;
  }

  .store-document .language-selector__flag {
    width: 18px !important;
    height: 12px !important;
  }

  .store-hero-aaa {
    padding: 34px 0 28px;
  }

  .store-hero-aaa__actions,
  .store-product-card-aaa__actions,
  .store-modal-actions {
    grid-template-columns: 1fr;
  }

  .store-hero-aaa__actions {
    display: grid;
  }

  .store-product-grid-aaa {
    grid-template-columns: 1fr;
  }

  .store-section-title h2 {
    font-size: 1.9rem;
  }

  .store-product-card-aaa {
    min-height: auto;
  }

  .store-cart__panel {
    width: 100%;
  }

  .store-modal {
    padding: 12px;
  }

  .store-modal__panel {
    max-height: calc(100vh - 24px);
  }

  .store-modal-copy {
    padding: 24px;
  }

  .store-detail-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030202;
  padding: 32px 0;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 950;
}

.footer__brand img {
  width: 46px;
  height: 32px;
  background: transparent;
  object-fit: contain;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer__links a {
  color: var(--muted);
  font-weight: 800;
  transition: color 160ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .grid-4,
  .vote-grid,
  .store-list,
  .deal-grid,
  .custom-boss-grid,
  .boss-feature-grid,
  .event-feature-grid,
  .download-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-product-grid,
  .store-product-card {
    grid-template-columns: 1fr;
  }

  .store-product-card {
    min-height: auto;
  }

  .store-product-card__image {
    min-height: 260px;
  }

  .download-overview-strip,
  .download-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  .nav__toggle {
    display: block;
  }

  .nav {
    width: min(calc(100% - 28px), var(--max-width));
    min-height: 76px;
    justify-content: space-between;
  }

  .nav__actions {
    margin-left: auto;
  }

  .nav__toggle {
    display: block;
    border-color: rgba(0, 229, 255, 0.48);
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.14);
  }

  .home-mobile-brand {
    display: inline-flex;
    order: -1;
  }

  .home-mobile-brand img {
    width: 168px;
    height: auto;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 59, 50, 0.2);
    border-radius: 8px;
    padding: 10px;
    background: rgba(8, 5, 5, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu {
    width: auto;
    justify-content: start;
    gap: 4px;
  }

  .home-nav-logo {
    display: none;
  }

  .nav__menu > a:not(.home-nav-logo) {
    min-width: 0;
    justify-content: flex-start;
    padding: 12px;
    font-size: 0.96rem;
  }

  .nav__menu a {
    padding: 12px;
  }

  .nav__dropdown {
    display: grid;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav__submenu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    margin-left: 12px;
    border-color: rgba(255, 59, 50, 0.18);
    background: rgba(0, 0, 0, 0.24);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav__submenu::before {
    content: none;
  }

  .nav__dropdown:not(.is-open) .nav__submenu {
    display: none;
  }

  .nav__dropdown.is-open .nav__chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 940px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .download-overview-strip,
  .download-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mode-select-grid {
    grid-template-columns: 1fr;
  }

  .progression-path {
    grid-template-columns: 1fr;
  }

  .progression-arrow {
    transform: rotate(90deg);
  }

  .boss-card-grid,
  .raid-grid {
    grid-template-columns: 1fr;
  }

  .pvm-showcase-grid,
  .drop-matters-panel,
  .event-community-grid,
  .download-system-panel,
  .download-future-panel,
  .download-info-grid,
  .vote-info-grid {
    grid-template-columns: 1fr;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .page-hero h1 {
    font-size: 3.35rem;
  }

  .vote-hero h1 {
    font-size: 3.35rem;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .announcement__inner {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    overflow: visible;
    padding: 7px 0;
    font-size: 0.74rem;
  }

  .announcement__inner::-webkit-scrollbar {
    display: none;
  }

  .nav {
    min-height: 68px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 54px;
  }

  .home-page .hero {
    min-height: 560px;
    padding: 34px 0 50px;
    background-position: center center;
  }

  .home-page .hero__content {
    min-height: 440px;
    width: 100%;
    overflow: hidden;
  }

  .hero__logo {
    width: min(100%, 440px);
    height: auto;
  }

  .home-page .hero__logo {
    width: min(100%, 380px);
    min-width: 0;
    margin: 0 0 20px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero__subtitle {
    font-size: 1.55rem;
  }

  .home-page .hero__subtitle {
    font-size: clamp(1.9rem, 8.2vw, 3.15rem);
  }

  .hero__welcome {
    font-size: clamp(1.75rem, 8vw, 2.7rem);
  }

  .home-page .hero__actions {
    width: min(100%, 310px);
    align-self: center;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__copy,
  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .page-hero {
    padding: 54px 0 58px;
  }

  .vote-hero {
    padding: 64px 0 58px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .vote-hero h1 {
    font-size: 2.7rem;
  }

  .section {
    padding: 62px 0;
  }

  .section__heading h2,
  .panel h2,
  .split-panel h2,
  .pvm-prestige-panel h2,
  .drop-matters-panel h2,
  .event-community-panel h2,
  .events-final-cta h2,
  .download-system-panel h2,
  .download-info-card h2,
  .download-future-panel h2,
  .download-final-cta h2 {
    font-size: 1.95rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .vote-grid,
  .vote-info-grid,
  .store-list,
  .deal-grid,
  .custom-boss-grid,
  .boss-feature-grid,
  .event-feature-grid,
  .prestige-highlight-grid,
  .drop-highlight-list,
  .download-step-grid,
  .download-feature-grid,
  .requirements-grid,
  .future-highlight-grid,
  .download-overview-strip,
  .download-flow-list {
    grid-template-columns: 1fr;
  }

  .store-quick-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .store-quick-nav a {
    width: 100%;
  }

  .store-product-card__body,
  .store-info-panel {
    padding: 22px;
  }

  .store-product-card__image {
    min-height: 220px;
    padding: 24px;
  }

  .launcher-download-row {
    grid-template-columns: 1fr;
  }

  .vote-name-panel__row {
    grid-template-columns: 1fr;
  }

  .vote-cooldown-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .boss-card {
    grid-template-columns: 1fr;
  }

  .boss-card__body {
    padding: 0 20px 20px;
  }

  .boss-card__art {
    min-height: 120px;
  }

  .collection-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .mode-select-card {
    min-height: auto;
  }

  .mode-card__details {
    grid-template-columns: 1fr;
  }

  .footer__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .nav__brand span {
    display: none;
  }

  .hero__logo {
    width: min(100%, 320px);
    height: auto;
  }

  .home-page .hero__logo {
    display: block;
    width: min(100%, 260px);
  }

  .home-page .hero__content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .home-page .hero__copy,
  .home-page .hero__actions {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .vote-hero h1 {
    font-size: 2.18rem;
  }

  .hero__actions,
  .hero__actions .btn,
  .button-row,
  .button-row .btn {
    width: 100%;
  }

  .home-page .hero__actions {
    width: min(100%, 292px);
    align-self: center;
    margin-left: 0;
  }

  .home-page .hero__copy {
    width: min(100%, 340px);
    padding: 0 2px;
  }

  .home-page .section__heading {
    width: min(100%, 780px);
    max-width: 100%;
    overflow: hidden;
  }

  .home-page .section__heading h2 {
    font-size: 1.65rem;
    overflow-wrap: anywhere;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 10px 0;
    overflow: visible;
  }

  .nav__actions {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-left: 0;
  }

  .nav__actions .server-status {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .nav__actions .language-selector {
    flex: 0 0 auto;
  }

  .nav__actions .discord-icon,
  .nav__actions .nav__toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    visibility: visible;
    opacity: 1;
    position: static;
  }

  .nav__actions .server-status {
    min-height: 34px;
    max-width: 124px;
    gap: 6px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .language-selector {
    min-width: 0;
  }

  .language-selector__current {
    min-height: 34px;
    max-width: 106px;
    gap: 5px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .language-selector__current span[data-language-current-label] {
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .language-selector__menu {
    min-width: 126px;
  }

  .language-selector__flag {
    width: 18px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .nav__brand span {
    display: none;
  }

  .nav__actions {
    gap: 6px;
  }

  .language-selector {
    min-width: 0;
  }

  .language-selector__current {
    min-height: 34px;
    gap: 5px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .language-selector__menu {
    min-width: 126px;
  }

  .language-selector__button {
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  .language-selector__flag {
    width: 18px;
    height: 12px;
  }

  .language-selector__label {
    display: none;
  }

  .server-status {
    min-height: 34px;
    max-width: 112px;
    gap: 6px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .server-status__dot {
    width: 7px;
    height: 7px;
  }

  .nav__brand img {
    width: 56px;
    height: 38px;
  }

  .discord-icon,
  .nav__toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2.18rem;
  }

  .hero__subtitle {
    font-size: 1.28rem;
  }

  .mode-select-card,
  .mode-cta,
  .boss-final-cta,
  .pvm-prestige-panel,
  .pvm-king-card,
  .drop-matters-panel,
  .event-community-panel,
  .events-final-cta,
  .event-feature-card,
  .download-step-card,
  .download-feature-card,
  .download-flow-panel,
  .download-system-panel,
  .download-info-card,
  .download-size-card,
  .requirement-card,
  .download-future-panel,
  .download-final-cta {
    padding: 20px;
  }

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

  .collection-panel {
    padding: 20px;
  }

  .collection-panel .btn {
    width: 100%;
  }

  .mode-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .mode-difficulty {
    grid-template-columns: 1fr;
  }

  .mode-cta h2 {
    font-size: 1.85rem;
  }

  .content-card,
  .vote-card,
  .vote-info-panel,
  .panel,
  .split-panel,
  .download-card {
    padding: 20px;
  }

  .vote-info-panel--wide {
    align-items: stretch;
    flex-direction: column;
  }

  .vote-info-panel--wide .btn {
    width: 100%;
  }
}

/* CrimsonScape Wiki */
.wiki-hero {
  padding: 128px 0 46px;
  background:
    linear-gradient(135deg, rgba(135, 12, 23, 0.22), rgba(5, 3, 3, 0.82) 42%, rgba(12, 12, 13, 0.96)),
    radial-gradient(circle at top right, rgba(196, 32, 45, 0.18), transparent 34%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-hero__inner {
  max-width: 960px;
}

.wiki-label {
  color: #e7b15f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-hero h1 {
  margin: 12px 0 8px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  letter-spacing: 0;
}

.wiki-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.wiki-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wiki-stat {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 9, 10, 0.78);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
}

.wiki-stat strong {
  color: #fff;
}

.wiki-section {
  padding: 42px 0;
}

.wiki-section--tight {
  padding-top: 26px;
}

.wiki-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.wiki-section__heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.wiki-section__heading p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.wiki-search {
  position: relative;
  max-width: 900px;
  margin-top: 26px;
}

.wiki-search input,
.wiki-directory__filter {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(6, 5, 6, 0.9);
  color: #fff;
  padding: 0 16px;
  font: inherit;
  outline: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.wiki-search input:focus,
.wiki-directory__filter:focus {
  border-color: rgba(231, 36, 54, 0.85);
  box-shadow: 0 0 0 3px rgba(231, 36, 54, 0.18), 0 18px 38px rgba(0, 0, 0, 0.24);
}

.wiki-search-results {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 7, 8, 0.97);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 10px;
}

.wiki-search-results__title {
  margin: 4px 8px 8px;
  color: #e7b15f;
  font-weight: 800;
}

.wiki-search-result {
  display: grid;
  gap: 4px;
  color: #fff;
  text-decoration: none;
  border-radius: 7px;
  padding: 11px 12px;
}

.wiki-search-result:hover,
.wiki-search-result:focus-visible {
  background: rgba(204, 28, 43, 0.18);
}

.wiki-search-result span {
  color: var(--muted);
  font-size: 0.92rem;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wiki-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.wiki-card,
.wiki-directory,
.wiki-reading-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 19, 20, 0.95), rgba(9, 8, 9, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  padding: 18px;
  overflow: hidden;
}

.wiki-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(226, 31, 50, 0.9), rgba(255, 176, 83, 0.46), transparent);
}

.wiki-card:hover {
  transform: translateY(-2px);
  border-color: rgba(231, 36, 54, 0.34);
}

.wiki-card__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(194, 28, 43, 0.16);
  color: #f0c26a;
  border: 1px solid rgba(231, 36, 54, 0.28);
  font-weight: 900;
}

.wiki-card h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.wiki-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0 0 12px;
}

.wiki-card__eyebrow {
  color: #e7b15f !important;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wiki-card__count,
.wiki-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wiki-card__link,
.wiki-quick-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.wiki-card__link:hover,
.wiki-card__link:focus-visible,
.wiki-quick-link:hover,
.wiki-quick-link:focus-visible {
  color: #d9473f;
}

.wiki-card__link--muted {
  color: #a9a2a4;
}

.wiki-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  color: #d8d0d2;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.wiki-chip--ready {
  border-color: rgba(80, 210, 137, 0.28);
  color: #8ff0b8;
}

.wiki-chip--pending,
.wiki-chip--muted {
  border-color: rgba(255, 176, 83, 0.24);
  color: #ffd098;
}

.wiki-updates,
.wiki-quick-list {
  display: grid;
  gap: 10px;
}

.wiki-update-row,
.wiki-quick-link {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
}

.wiki-update-row {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  color: #fff;
}

.wiki-update-row span,
.wiki-update-row time {
  color: var(--muted);
  font-size: 0.88rem;
}

.wiki-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.wiki-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.wiki-breadcrumbs a {
  color: #e7b15f;
  text-decoration: none;
}

.wiki-breadcrumbs > * + *::before {
  content: ">";
  color: #6f6668;
  margin-right: 8px;
}

.wiki-article-head {
  margin-bottom: 22px;
}

.wiki-article-head h1 {
  margin: 8px 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0;
}

.wiki-article-head p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 820px;
}

.wiki-reading-panel {
  padding: 24px;
}

.wiki-article-section {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-article-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.wiki-article-section h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.wiki-article-section p,
.wiki-article-section li {
  color: #d7d0d2;
  line-height: 1.72;
}

.wiki-check-list {
  padding-left: 20px;
}

.wiki-callout {
  border-radius: 8px;
  padding: 13px 14px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.wiki-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.wiki-callout p {
  margin: 0;
}

.wiki-callout--warning {
  border-color: rgba(231, 36, 54, 0.35);
  background: rgba(139, 18, 29, 0.13);
}

.wiki-callout--pending {
  border-color: rgba(255, 176, 83, 0.28);
  background: rgba(115, 75, 23, 0.12);
}

.wiki-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.wiki-toc {
  display: grid;
  gap: 7px;
}

.wiki-toc a {
  color: #d8d0d2;
  text-decoration: none;
  padding: 7px 0;
}

.wiki-toc a:hover,
.wiki-toc a:focus-visible {
  color: #d9473f;
}

.wiki-directory {
  margin-top: 22px;
}

.wiki-directory h2 {
  margin-top: 0;
}

.wiki-command-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.wiki-command-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.wiki-command-row code {
  color: #e7b15f;
  font-weight: 900;
}

.wiki-command-row p {
  margin: 0;
  color: #d7d0d2;
}

.wiki-boss-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.wiki-boss-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.wiki-boss-card h3 {
  margin: 0 0 8px;
}

.wiki-boss-card p {
  color: var(--muted);
}

.wiki-facts,
.wiki-rank-table {
  display: grid;
  gap: 7px;
}

.wiki-facts {
  grid-template-columns: 110px 1fr;
}

.wiki-facts dt {
  color: #e7b15f;
  font-weight: 800;
}

.wiki-facts dd {
  margin: 0;
  color: #d8d0d2;
}

.wiki-rank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-empty {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 1060px) {
  .wiki-grid,
  .wiki-grid--featured,
  .wiki-layout {
    grid-template-columns: 1fr 1fr;
  }

  .wiki-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .wiki-hero {
    padding-top: 104px;
  }

  .wiki-grid,
  .wiki-grid--featured,
  .wiki-grid--related,
  .wiki-layout,
  .wiki-boss-grid {
    grid-template-columns: 1fr;
  }

  .wiki-section__heading {
    display: block;
  }

  .wiki-update-row,
  .wiki-command-row {
    grid-template-columns: 1fr;
  }

  .wiki-reading-panel {
    padding: 18px;
  }
}


/* Wiki production content update */
.wiki-search-result strong {
  display: block;
  margin-bottom: 4px;
}
.wiki-search-result small {
  display: block;
  color: rgba(255, 244, 236, 0.72);
  line-height: 1.45;
}
.wiki-search-result mark {
  color: #140806;
  background: #f0c26a;
  border-radius: 3px;
  padding: 0 2px;
}
.wiki-step-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 24px;
  color: rgba(255, 244, 236, 0.86);
}
.wiki-step-list li {
  padding-left: 4px;
}
.wiki-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid rgba(231, 177, 95, 0.22);
  border-radius: 8px;
}
.wiki-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(13, 8, 7, 0.78);
}
.wiki-table th,
.wiki-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wiki-table th {
  color: #f0c26a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.wiki-table td {
  color: rgba(255, 244, 236, 0.86);
}
.wiki-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.wiki-boss-card {
  position: relative;
  overflow: hidden;
}
.wiki-boss-card__art {
  width: 100%;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(231, 177, 95, 0.16), rgba(93, 10, 12, 0.14));
  border: 1px solid rgba(231, 177, 95, 0.22);
}
.wiki-boss-card__art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 118px;
  object-fit: contain;
  image-rendering: auto;
}
.wiki-facts dt {
  color: #f0c26a !important;
}
@media (max-width: 720px) {
  .wiki-table {
    min-width: 560px;
  }
  .wiki-boss-card__art {
    height: 118px;
  }
  .wiki-boss-card__art img {
    max-height: 104px;
  }
}
