:root {
  color-scheme: dark;
  --bg: #050608;
  --ink: #fff4df;
  --muted: #cfc1ad;
  --gold: #f2bd5a;
  --gold-2: #ffe09a;
  --red: #b8372f;
  --teal: #64dfcf;
  --panel: rgba(9, 10, 13, 0.76);
  --panel-2: rgba(28, 14, 11, 0.72);
  --line: rgba(0, 0, 0, 0.72);
  --line-gold: rgba(36, 18, 9, 0.78);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.news-page {
  min-height: 100vh;
  overflow: auto;
  background: rgba(3, 4, 7, 0.92);
}

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

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

button {
  font: inherit;
}

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

.skip-link:focus {
  z-index: 200;
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #1b1208;
  font-weight: 900;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #050608 url("../images/mu.jpg") center / cover no-repeat;
}

.stage__video,
.stage__vignette {
  position: absolute;
  inset: 0;
}

.stage__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: stageBreath 18s ease-in-out infinite alternate;
}

.stage__vignette {
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0.04) 68%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.42) 100%);
}

body.news-page .stage__video {
  opacity: 0.18;
  filter: saturate(0.75) brightness(0.62);
}

body.news-page .stage__vignette {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 112, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.84) 58%, rgba(0, 0, 0, 0.94)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.62));
}

@keyframes stageBreath {
  from {
    transform: scale(1.02) translate3d(-0.35%, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(0.35%, -0.35%, 0);
  }
}

@keyframes headerDrop {
  from {
    transform: translateY(-16px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes footerRise {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes newsRise {
  from {
    transform: translate(-50%, 18px);
  }

  to {
    transform: translate(-50%, 0);
  }
}

@keyframes bladeSweep {
  from {
    opacity: 0;
    transform: translateX(-130%) skewX(-16deg);
  }

  35% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateX(130%) skewX(-16deg);
  }
}

@keyframes goldPulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.46), 0 0 0 rgba(242, 189, 90, 0);
  }

  50% {
    filter: brightness(1.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52), 0 0 28px rgba(242, 189, 90, 0.24);
  }
}

@property --orbit-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes lightOrbit {
  to {
    --orbit-angle: 360deg;
  }
}

@keyframes supportPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.92);
  }

  70% {
    opacity: 0;
    transform: scale(1.58);
  }

  100% {
    opacity: 0;
    transform: scale(1.58);
  }
}

@keyframes tagGlow {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(255, 220, 141, 0);
  }

  50% {
    filter: brightness(1.18);
    box-shadow: 0 0 18px var(--tag-glow);
  }
}

@keyframes tagSweep {
  from {
    transform: translateX(-130%) skewX(-18deg);
  }

  to {
    transform: translateX(130%) skewX(-18deg);
  }
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: max(18px, env(safe-area-inset-top));
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.brand-card,
.site-nav,
.nav-toggle,
.battle-panel__side,
.battle-panel__main {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand-card {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "logo text"
    "logo state";
  align-items: center;
  gap: 0 12px;
  min-width: 230px;
  padding: 12px 16px 12px 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(50, 22, 14, 0.88), rgba(10, 11, 14, 0.82)),
    var(--panel);
}

.brand-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.72;
}

.brand-card img {
  grid-area: logo;
  width: 54px;
  height: 27px;
  object-fit: contain;
}

.brand-card span {
  grid-area: text;
}

.brand-card strong,
.brand-card small,
.brand-card b {
  display: block;
  line-height: 1.08;
}

.brand-card strong {
  color: var(--gold-2);
  font-size: 1rem;
  font-weight: 950;
}

.brand-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-card b {
  grid-area: state;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(100, 223, 207, 0.12);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-card b::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
  vertical-align: 1px;
}

.site-nav,
.blade-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  animation: headerDrop 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.blade-nav__item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 28px;
  border: 1px solid rgba(0, 0, 0, 0.82);
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(27, 13, 10, 0.9), rgba(5, 6, 8, 0.84)),
    rgba(8, 9, 12, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 141, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  color: #fff1df;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.blade-nav__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 244, 210, 0.28) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-130%) skewX(-16deg);
  pointer-events: none;
}

.blade-nav__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  clip-path: inherit;
  background: conic-gradient(
    from var(--orbit-angle),
    transparent 0deg,
    transparent 250deg,
    rgba(255, 244, 210, 0.08) 274deg,
    rgba(255, 224, 154, 0.95) 294deg,
    rgba(255, 255, 255, 0.82) 304deg,
    transparent 330deg,
    transparent 360deg
  );
  opacity: 0.72;
  animation: lightOrbit 2.8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.blade-nav__item span,
.blade-nav__item strong {
  position: relative;
  z-index: 2;
}

.blade-nav__item:first-child {
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.blade-nav__item:last-child {
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.blade-nav__item span {
  color: rgba(255, 220, 141, 0.68);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.blade-nav__item strong {
  color: inherit;
  font-size: 0.98rem;
}

.blade-nav__item:hover,
.blade-nav__item:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.1);
  color: var(--gold-2);
}

.blade-nav__item:hover::before,
.blade-nav__item:focus-visible::before {
  animation: bladeSweep 850ms ease;
}

.blade-nav__item--primary {
  border: 1px solid rgba(38, 18, 6, 0.88);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1d1208;
  text-shadow: none;
  animation: goldPulse 3.2s ease-in-out infinite;
}

.blade-nav__item--primary span {
  color: rgba(29, 18, 8, 0.62);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(38, 17, 12, 0.86), rgba(8, 9, 12, 0.86)),
    var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
}

.nav-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  padding: 0 18px max(20px, env(safe-area-inset-bottom));
  pointer-events: none;
}

.support-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  top: 50%;
  z-index: 28;
  width: 74px;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.support-float__item {
  --support-accent: #70d7ff;
  --support-glow: rgba(112, 215, 255, 0.34);
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.3), transparent 33%),
    linear-gradient(145deg, rgba(20, 24, 32, 0.96), rgba(5, 6, 9, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 18px 46px rgba(0, 0, 0, 0.54),
    0 0 28px var(--support-glow);
  color: #fff;
  isolation: isolate;
  transition: transform 160ms ease, filter 160ms ease;
}

.support-float__item::before,
.support-float__item::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.support-float__item::before {
  inset: -8px;
  z-index: -1;
  border: 1px solid var(--support-accent);
  border-radius: 50%;
  opacity: 0;
  animation: supportPulse 2.2s ease-out infinite;
}

.support-float__item::after {
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: 50%;
  background:
    conic-gradient(from var(--orbit-angle),
      transparent 0deg,
      transparent 236deg,
      var(--support-accent) 278deg,
      rgba(255, 255, 255, 0.95) 300deg,
      var(--support-accent) 322deg,
      transparent 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lightOrbit 2.9s linear infinite;
}

.support-float__item img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px var(--support-glow);
}

.support-float__item:hover,
.support-float__item:focus-visible {
  transform: translateY(-2px) scale(1.07);
  filter: brightness(1.12);
}

.support-float__item--group {
  --support-accent: #ffd86e;
  --support-glow: rgba(255, 216, 110, 0.34);
}

.support-float__item--zalo {
  --support-accent: #2bc8ff;
  --support-glow: rgba(43, 200, 255, 0.38);
}

.news-widget {
  position: fixed;
  left: 50%;
  bottom: 152px;
  z-index: 24;
  width: min(760px, calc(100vw - 32px));
  min-height: 214px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.82);
  background:
    linear-gradient(135deg, rgba(44, 20, 13, 0.62), rgba(6, 7, 10, 0.76)),
    rgba(8, 9, 12, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 141, 0.08),
    0 26px 74px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  animation: newsRise 560ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.news-widget::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.7;
}

.news-widget__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-widget__head span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.news-widget__head strong {
  color: #fff4df;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 950;
}

.news-widget__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding-top: 12px;
}

.news-widget__list a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.68);
  background: rgba(255, 255, 255, 0.055);
  color: #fff4df;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.news-widget__list a:first-child {
  grid-column: 1 / -1;
}

.news-widget__list a:hover,
.news-widget__list a:focus-visible {
  transform: translateX(4px);
  border-color: rgba(255, 220, 141, 0.28);
  background: rgba(255, 220, 141, 0.12);
  color: var(--gold-2);
}

.news-widget__list time {
  display: none;
}

.news-widget__list span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-tag {
  --tag-bg-1: rgba(255, 220, 141, 0.28);
  --tag-bg-2: rgba(135, 76, 21, 0.7);
  --tag-line: rgba(255, 220, 141, 0.72);
  --tag-glow: rgba(255, 204, 92, 0.44);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin-right: 10px;
  padding: 0 10px;
  border: 1px solid var(--tag-line);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--tag-bg-1), var(--tag-bg-2)),
    rgba(255, 220, 141, 0.14);
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: 1px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.72), 0 0 12px var(--tag-glow);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 14px rgba(255, 204, 92, 0.16);
  animation: tagGlow 2.8s ease-in-out infinite;
}

.news-tag::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% 0;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.72;
  transform: translateX(-130%) skewX(-18deg);
  animation: tagSweep 2.9s ease-in-out infinite;
}

.news-tag--notice {
  --tag-bg-1: rgba(255, 224, 154, 0.42);
  --tag-bg-2: rgba(146, 83, 20, 0.82);
  --tag-line: rgba(255, 224, 154, 0.86);
  --tag-glow: rgba(255, 205, 96, 0.5);
}

.news-tag--event {
  --tag-bg-1: rgba(255, 96, 92, 0.46);
  --tag-bg-2: rgba(111, 22, 22, 0.9);
  --tag-line: rgba(255, 137, 130, 0.86);
  --tag-glow: rgba(255, 77, 69, 0.54);
  color: #ffd8d4;
}

.news-tag--summary {
  --tag-bg-1: rgba(100, 223, 207, 0.38);
  --tag-bg-2: rgba(22, 92, 86, 0.86);
  --tag-line: rgba(151, 255, 243, 0.8);
  --tag-glow: rgba(100, 223, 207, 0.46);
  color: #aaf8ef;
}

.news-widget__list .news-tag {
  min-width: 86px;
}

.article-meta .news-tag {
  min-height: 26px;
  padding: 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.news-dialog {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.84);
  background:
    linear-gradient(135deg, rgba(47, 21, 12, 0.96), rgba(7, 8, 11, 0.97)),
    #08090c;
  color: #fff4df;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

.news-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.news-dialog article {
  position: relative;
  padding: 28px;
}

.news-dialog article::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

.news-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  background: rgba(0, 0, 0, 0.44);
  color: #fff4df;
  font-weight: 950;
  cursor: pointer;
}

.news-dialog__close:hover,
.news-dialog__close:focus-visible {
  background: var(--gold);
  color: #1d1208;
}

.news-dialog__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news-dialog h2 {
  max-width: calc(100% - 42px);
  margin: 0 0 10px;
  color: #fff4df;
  font-size: 1.7rem;
  line-height: 1.12;
}

.news-dialog time {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.news-dialog p:last-child {
  margin: 0;
  color: #e8ddce;
  font-size: 1rem;
  line-height: 1.7;
}

.news-frame-dialog {
  position: fixed;
  top: max(34px, env(safe-area-inset-top));
  left: 50%;
  width: min(980px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100vh - 76px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: translateX(-50%);
}

.news-frame-dialog::backdrop {
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(5px);
}

.news-frame-dialog iframe {
  width: 100%;
  height: 360px;
  max-height: calc(100vh - 76px);
  display: block;
  border: 0;
  background: transparent;
  border-radius: 8px;
}

.news-frame-dialog__close {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 221, 137, 0.9);
  border-radius: 999px;
  background: rgba(5, 6, 9, 0.94);
  color: var(--gold-2);
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 205, 96, 0.32);
}

.news-frame-dialog__close:hover,
.news-frame-dialog__close:focus-visible {
  background: var(--gold);
  color: #1d1208;
}

.article-shell {
  position: relative;
  z-index: 3;
  width: min(880px, calc(100vw - 32px));
  margin: 58px auto 48px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.82);
  background:
    linear-gradient(135deg, rgba(44, 20, 13, 0.82), rgba(6, 7, 10, 0.9)),
    rgba(8, 9, 12, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 141, 0.08),
    0 32px 90px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(16px);
}

.article-shell::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

html.is-popup-document {
  min-height: 0;
  background: transparent;
  scrollbar-color: rgba(255, 224, 154, 0.58) rgba(0, 0, 0, 0.24);
}

body.news-page.is-popup {
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  background: transparent;
}

body.news-page.is-popup .stage {
  display: none;
}

body.news-page.is-popup .article-shell {
  width: 100%;
  margin: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 15, 10, 0.94), rgba(7, 8, 11, 0.97)),
    rgba(8, 9, 12, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 141, 0.09),
    0 26px 80px rgba(0, 0, 0, 0.58);
}

body.news-page.is-popup .article-back {
  display: none;
}

.article-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 22px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-2);
  font-weight: 900;
}

.article-back:hover,
.article-back:focus-visible {
  background: rgba(255, 220, 141, 0.14);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.article-meta time {
  display: none;
}

.article-shell h1 {
  margin: 0 0 18px;
  color: #fff4df;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.article-lead {
  margin: 0 0 24px;
  color: #f0e2cf;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-content {
  display: grid;
  gap: 16px;
  color: #e7ddcf;
}

.article-content p {
  margin: 0;
  line-height: 1.75;
}

.article-content ul {
  margin: 0;
  padding-left: 20px;
}

.article-content li + li {
  margin-top: 8px;
}

.tl-container {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-left: 30px;
}

.tl-container::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 220, 141, 0.82), rgba(100, 223, 207, 0.58), transparent);
  box-shadow: 0 0 18px rgba(255, 204, 92, 0.18);
}

.tl-item {
  position: relative;
}

.tl-dot {
  position: absolute;
  left: -27px;
  top: 20px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 224, 154, 0.88);
  border-radius: 999px;
  background: #170b08;
  box-shadow:
    0 0 0 4px rgba(255, 220, 141, 0.08),
    0 0 18px rgba(255, 204, 92, 0.34);
}

.tl-card {
  display: grid;
  grid-template-columns: minmax(128px, 180px) 1fr;
  gap: 12px 18px;
  align-items: center;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 141, 0.11), rgba(100, 223, 207, 0.035)),
    rgba(12, 10, 12, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.tl-time {
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.28;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 204, 92, 0.28);
}

.tl-feature {
  color: #eadfd0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.45;
}

.server-info-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.server-info-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 220, 141, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 141, 0.1), rgba(100, 223, 207, 0.045)),
    rgba(13, 10, 12, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.article-shell .server-info-title {
  margin: 0;
  padding: 15px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(135deg, rgba(255, 220, 141, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
  color: var(--gold-2);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 204, 92, 0.34);
}

.server-info-list {
  display: grid;
}

.server-info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  background: rgba(255, 220, 141, 0.055);
  color: #eadfd0;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.server-info-row:nth-child(even) {
  background: rgba(100, 223, 207, 0.04);
}

.server-info-row--single {
  display: block;
}

.server-info-row span {
  flex: 0 0 auto;
  color: #d8c6ad;
}

.server-info-row strong {
  min-width: 0;
  color: #fff4df;
  font-weight: 950;
}

.server-info-row em {
  font-style: normal;
}

.server-info-hot {
  color: #ff756b !important;
}

.server-info-orange {
  color: var(--gold) !important;
}

.server-info-cyan {
  color: var(--teal) !important;
}

.server-info-green {
  color: #b7f08a !important;
}

.server-info-gold {
  color: var(--gold-2) !important;
}

.nova-event-page {
  display: grid;
  gap: 16px;
}

.nova-event-section {
  --nova-accent: #ff756b;
  --nova-soft: rgba(255, 117, 107, 0.12);
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--nova-soft), rgba(255, 220, 141, 0.045)),
    rgba(13, 10, 11, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.nova-event-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--nova-accent), transparent);
}

.nova-event-head {
  display: grid;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nova-event-subtitle {
  width: max-content;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(255, 137, 130, 0.72);
  border-radius: 999px;
  background: rgba(255, 117, 107, 0.14);
  color: #ffd8d4;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.article-shell .nova-event-title {
  margin: 0;
  color: #fff4df;
  font-size: clamp(1.32rem, 3vw, 2rem);
  line-height: 1.14;
  text-shadow: 0 0 22px rgba(255, 117, 107, 0.24);
}

.nova-event-time {
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(255, 220, 141, 0.26);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 850;
}

.nova-event-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.nova-rank-card {
  --rank-orbit: rgba(255, 220, 141, 0.82);
  position: relative;
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 144px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 220, 141, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.14), transparent 58%),
    rgba(0, 0, 0, 0.2);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.nova-rank-card::before,
.lux-evt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    conic-gradient(from var(--orbit-angle),
      transparent 0deg,
      transparent 52deg,
      var(--rank-orbit) 92deg,
      rgba(255, 255, 255, 0.9) 112deg,
      var(--rank-orbit) 132deg,
      transparent 172deg,
      transparent 360deg);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lightOrbit 3.4s linear infinite;
}

.nova-rank-card > *,
.lux-evt-card > * {
  position: relative;
  z-index: 2;
}

.nova-rank-card--gold {
  --rank-orbit: rgba(255, 224, 154, 0.96);
  border-color: rgba(255, 220, 141, 0.56);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.3), transparent 62%),
    rgba(43, 24, 10, 0.5);
  box-shadow: 0 0 30px rgba(255, 204, 92, 0.17);
  transform: translateY(-5px);
}

.nova-rank-card--silver {
  --rank-orbit: rgba(218, 229, 245, 0.9);
  border-color: rgba(214, 224, 242, 0.32);
}

.nova-rank-card--bronze {
  --rank-orbit: rgba(224, 163, 106, 0.88);
  border-color: rgba(224, 163, 106, 0.34);
}

.nova-rank-medal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 220, 141, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 220, 141, 0.26), rgba(0, 0, 0, 0.26)),
    rgba(0, 0, 0, 0.18);
  color: var(--gold-2);
  font-size: 1.08rem;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(255, 204, 92, 0.22);
}

.nova-rank-name {
  color: #fff4df;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nova-rank-reward {
  color: #eadfd0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.nova-rank-card--gold .nova-rank-reward:first-of-type,
.nova-rank-card--silver .nova-rank-reward:first-of-type,
.nova-rank-card--bronze .nova-rank-reward:first-of-type {
  color: var(--gold-2);
  font-size: 0.94rem;
}

.nova-rule-box {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.nova-rule-title {
  margin: 0 0 10px;
  color: #ffd8d4;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.nova-rule-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #eadfd0;
  line-height: 1.55;
}

.nova-rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--nova-accent);
  box-shadow: 0 0 12px rgba(255, 117, 107, 0.42);
}

.boss-reward-wrap {
  overflow: hidden;
  border: 1px solid rgba(100, 223, 207, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(100, 223, 207, 0.09), rgba(255, 220, 141, 0.04)),
    rgba(8, 9, 12, 0.64);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.boss-reward-table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.boss-reward-table colgroup {
  display: none;
}

.boss-reward-table tr {
  height: auto !important;
  transition: background-color 160ms ease;
}

.boss-reward-table tr:first-child td {
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(100, 223, 207, 0.2), rgba(255, 220, 141, 0.08)),
    rgba(0, 0, 0, 0.22);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.boss-reward-table tr:not(:first-child):hover {
  background: rgba(100, 223, 207, 0.055);
}

.boss-reward-table td {
  height: auto !important;
  padding: 13px 16px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #eadfd0;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.35;
  vertical-align: middle;
}

.boss-reward-table td:first-child {
  color: #fff4df;
}

.boss-reward-table td:last-child {
  width: 34%;
  color: #aaf8ef;
  font-weight: 950;
  text-align: right;
  text-shadow: 0 0 14px rgba(100, 223, 207, 0.26);
}

.boss-reward-table tr:not(:first-child) td:last-child::after {
  content: " Wcoin";
  color: rgba(255, 244, 223, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.boss-reward-note {
  padding: 13px 15px;
  border: 1px solid rgba(255, 220, 141, 0.18);
  border-radius: 8px;
  background: rgba(255, 220, 141, 0.07);
  color: var(--gold-2);
  font-weight: 850;
}

.lux-evt-wrapper {
  --evt-accent: #ff756b;
  --evt-soft: rgba(255, 117, 107, 0.12);
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--evt-soft), rgba(255, 220, 141, 0.045)),
    rgba(13, 10, 11, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.lux-evt-wrapper + .lux-evt-wrapper {
  margin-top: 4px;
}

.lux-evt-header {
  display: grid;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.lux-evt-subtitle {
  width: max-content;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(255, 137, 130, 0.72);
  border-radius: 999px;
  background: rgba(255, 117, 107, 0.14);
  color: #ffd8d4;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.article-shell .lux-evt-title {
  margin: 0;
  color: #fff4df;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.14;
  text-shadow: 0 0 22px rgba(255, 117, 107, 0.24);
}

.lux-evt-time {
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(255, 220, 141, 0.26);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 850;
}

.lux-evt-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.lux-evt-card {
  --rank-orbit: rgba(255, 220, 141, 0.82);
  position: relative;
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 126px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 220, 141, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.16), transparent 56%),
    rgba(0, 0, 0, 0.2);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.lux-rank-1 {
  --rank-orbit: rgba(255, 224, 154, 0.96);
  border-color: rgba(255, 220, 141, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.28), transparent 60%),
    rgba(43, 24, 10, 0.5);
  box-shadow: 0 0 28px rgba(255, 204, 92, 0.16);
  transform: translateY(-5px);
}

.lux-rank-2 {
  --evt-accent: #cfd7e6;
  --rank-orbit: rgba(218, 229, 245, 0.9);
}

.lux-rank-3 {
  --evt-accent: #e0a36a;
  --rank-orbit: rgba(224, 163, 106, 0.88);
}

.lux-medal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 220, 141, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 220, 141, 0.26), rgba(0, 0, 0, 0.26)),
    rgba(0, 0, 0, 0.18);
  color: var(--gold-2);
  font-size: 1.05rem;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(255, 204, 92, 0.2);
}

.lux-rank-title {
  color: #fff4df;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lux-reward {
  color: var(--gold-2);
  font-size: 0.98rem;
  line-height: 1.35;
}

.lux-evt-rules {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.lux-evt-rules h3 {
  margin: 0 0 10px;
  color: #ffd8d4;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.lux-rule-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #eadfd0;
  line-height: 1.55;
}

.lux-rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--evt-accent);
  box-shadow: 0 0 12px rgba(255, 117, 107, 0.42);
}

.alpha-race-page .article-shell,
.open-race-page .article-shell {
  width: min(1040px, calc(100vw - 32px));
}

.alpha-race-page .lux-evt-wrapper {
  --evt-accent: #ff9f5a;
  --evt-soft: rgba(255, 159, 90, 0.13);
  grid-template-columns: minmax(220px, 0.86fr) minmax(360px, 1.14fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-color: rgba(255, 159, 90, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 159, 90, 0.11), rgba(100, 223, 207, 0.035)),
    rgba(13, 10, 12, 0.8);
}

.alpha-race-page .lux-evt-wrapper:nth-of-type(2) {
  --evt-accent: var(--teal);
  --evt-soft: rgba(100, 223, 207, 0.12);
  border-color: rgba(100, 223, 207, 0.24);
}

.alpha-race-page .lux-evt-wrapper:nth-of-type(3) {
  --evt-accent: #ff756b;
  --evt-soft: rgba(255, 117, 107, 0.13);
  border-color: rgba(255, 117, 107, 0.26);
}

.alpha-race-page .lux-evt-wrapper::before {
  width: 5px;
  background: linear-gradient(180deg, var(--evt-accent), transparent 52%, var(--evt-accent));
}

.alpha-race-page .lux-evt-header {
  align-content: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 0;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--evt-accent) 26%, transparent), transparent 58%),
    rgba(0, 0, 0, 0.18);
}

.alpha-race-page .lux-evt-subtitle {
  border-color: color-mix(in srgb, var(--evt-accent) 76%, #000 24%);
  background: color-mix(in srgb, var(--evt-accent) 16%, transparent);
  color: color-mix(in srgb, var(--evt-accent) 72%, #fff 28%);
}

.alpha-race-page .lux-evt-title {
  font-size: clamp(1.28rem, 2.6vw, 2.05rem);
}

.alpha-race-page .lux-evt-time {
  border-color: color-mix(in srgb, var(--evt-accent) 34%, #000 66%);
  color: #fff4df;
}

.alpha-race-page .lux-evt-podium {
  align-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px 18px 10px;
}

.alpha-race-page .lux-evt-card {
  min-height: 112px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--evt-accent) 16%, transparent), transparent 62%),
    rgba(0, 0, 0, 0.22);
}

.alpha-race-page .lux-rank-1 {
  grid-column: 1 / -1;
  min-height: 136px;
  border-color: rgba(255, 220, 141, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.28), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, var(--evt-accent) 18%, transparent), rgba(255, 220, 141, 0.06)),
    rgba(37, 21, 10, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 223, 0.08),
    0 0 34px color-mix(in srgb, var(--evt-accent) 28%, transparent);
  transform: none;
}

.alpha-race-page .lux-medal {
  border-radius: 6px;
  color: #1b1208;
  background:
    linear-gradient(180deg, #fff0bc, var(--evt-accent)),
    var(--evt-accent);
}

.alpha-race-page .lux-evt-rules {
  grid-column: 2;
  margin: 0 18px 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.alpha-race-page .lux-evt-rules h3 {
  color: color-mix(in srgb, var(--evt-accent) 70%, #fff 30%);
}

.open-race-page .nova-event-page {
  counter-reset: open-race;
}

.open-race-page .nova-event-section {
  --nova-accent: var(--gold);
  --nova-soft: rgba(255, 220, 141, 0.11);
  padding: 20px;
  border-color: rgba(255, 220, 141, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 220, 141, 0.13), transparent 40%),
    linear-gradient(135deg, rgba(255, 220, 141, 0.08), rgba(100, 223, 207, 0.045)),
    rgba(12, 10, 12, 0.8);
}

.open-race-page .nova-event-section:nth-of-type(3n + 2) {
  --nova-accent: var(--teal);
  --nova-soft: rgba(100, 223, 207, 0.1);
  border-color: rgba(100, 223, 207, 0.2);
}

.open-race-page .nova-event-section:nth-of-type(3n) {
  --nova-accent: #ff756b;
  --nova-soft: rgba(255, 117, 107, 0.1);
  border-color: rgba(255, 117, 107, 0.2);
}

.open-race-page .nova-event-section::before {
  inset: 0 0 auto 0;
  width: auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--nova-accent), transparent);
}

.open-race-page .nova-event-head {
  position: relative;
  min-height: 68px;
  padding-left: 78px;
}

.open-race-page .nova-event-head::before {
  counter-increment: open-race;
  content: counter(open-race, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid color-mix(in srgb, var(--nova-accent) 58%, #000 42%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--nova-accent) 22%, transparent), rgba(0, 0, 0, 0.2)),
    rgba(0, 0, 0, 0.22);
  color: color-mix(in srgb, var(--nova-accent) 74%, #fff 26%);
  font-size: 1.08rem;
  font-weight: 950;
}

.open-race-page .nova-event-subtitle {
  border-color: color-mix(in srgb, var(--nova-accent) 70%, #000 30%);
  background: color-mix(in srgb, var(--nova-accent) 18%, transparent);
  color: color-mix(in srgb, var(--nova-accent) 72%, #fff 28%);
  border-radius: 4px;
}

.open-race-page .nova-event-time {
  border-color: color-mix(in srgb, var(--nova-accent) 30%, #000 70%);
  color: #fff4df;
}

.open-race-page .nova-event-podium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.open-race-page .nova-rank-card {
  border-radius: 6px;
}

.open-race-page .nova-rank-card--gold {
  grid-column: 1 / -1;
  min-height: 168px;
  border-color: rgba(255, 220, 141, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 141, 0.3), transparent 58%),
    linear-gradient(135deg, rgba(255, 220, 141, 0.16), rgba(100, 223, 207, 0.04)),
    rgba(43, 24, 10, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 223, 0.08),
    0 0 38px rgba(255, 204, 92, 0.22);
  transform: none;
}

.open-race-page .nova-rank-card--gold .nova-rank-medal {
  width: 52px;
  height: 52px;
  color: #1b1208;
  background:
    linear-gradient(180deg, #fff3c4, var(--gold)),
    var(--gold);
}

.open-race-page .nova-rank-card--gold .nova-rank-name {
  color: var(--gold-2);
  font-size: 0.98rem;
}

.open-race-page .nova-rank-card--gold .nova-rank-reward:first-of-type {
  font-size: 1.06rem;
}

.open-race-page .nova-rank-medal {
  border-radius: 6px;
}

.open-race-page .nova-rule-box {
  border-color: color-mix(in srgb, var(--nova-accent) 24%, transparent);
}

.open-race-page .nova-rule-title {
  color: color-mix(in srgb, var(--nova-accent) 70%, #fff 30%);
}

.mu-schedule-wrap {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.mu-schedule-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 220, 141, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 141, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.18);
}

.article-shell .mu-schedule-title {
  min-width: 0;
  margin: 0;
  color: var(--gold-2);
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  line-height: 1.18;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 204, 92, 0.34);
  overflow-wrap: anywhere;
}

.mu-schedule-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.mu-schedule-note:empty {
  display: none;
}

.mu-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 12px;
}

.mu-schedule-card {
  --schedule-accent: var(--gold);
  --schedule-soft: rgba(242, 189, 90, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--schedule-soft), rgba(255, 255, 255, 0.025)),
    rgba(13, 11, 12, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 14px 32px rgba(0, 0, 0, 0.24);
}

.mu-schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--schedule-accent), transparent);
}

.mu-schedule-card--farm {
  --schedule-accent: #ffd77c;
  --schedule-soft: rgba(255, 215, 124, 0.13);
}

.mu-schedule-card--event {
  --schedule-accent: #ff756b;
  --schedule-soft: rgba(255, 117, 107, 0.13);
}

.mu-schedule-card--boss {
  --schedule-accent: #64dfcf;
  --schedule-soft: rgba(100, 223, 207, 0.12);
}

.mu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mu-card-name {
  min-width: 0;
  color: #fff4df;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.mu-card-badge {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--schedule-accent) 76%, #000 24%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--schedule-accent) 22%, transparent);
  color: var(--schedule-accent);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.mu-card-body {
  display: grid;
  gap: 9px;
  padding: 12px 14px 14px 16px;
}

.mu-card-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
}

.mu-card-label {
  color: color-mix(in srgb, var(--schedule-accent) 82%, #fff 18%);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.45;
  text-transform: uppercase;
}

.mu-card-value {
  min-width: 0;
  color: #e9ded0;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

.mu-time-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 28px;
  margin: 0 5px 6px 0;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--schedule-accent) 72%, #000 28%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--schedule-accent) 26%, transparent), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.22);
  color: #fff7df;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px color-mix(in srgb, var(--schedule-accent) 22%, transparent);
}

.battle-panel {
  width: min(100%, 850px);
  min-height: 120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 230px minmax(150px, 1fr);
  align-items: end;
  gap: 18px;
  pointer-events: auto;
  animation: footerRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.battle-panel__side,
.battle-panel__main {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 141, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  transition: transform 160ms ease, filter 160ms ease;
}

.battle-panel__side::after,
.battle-panel__main::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  clip-path: inherit;
  background: conic-gradient(
    from var(--orbit-angle),
    transparent 0deg,
    transparent 250deg,
    rgba(255, 244, 210, 0.08) 274deg,
    rgba(255, 224, 154, 0.92) 294deg,
    rgba(255, 255, 255, 0.76) 304deg,
    transparent 330deg,
    transparent 360deg
  );
  opacity: 0.68;
  animation: lightOrbit 3s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.battle-panel__side span,
.battle-panel__side strong,
.battle-panel__main span,
.battle-panel__main strong,
.battle-panel__main small {
  position: relative;
  z-index: 1;
}

.battle-panel__side {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  background:
    linear-gradient(135deg, rgba(42, 18, 12, 0.82), rgba(9, 11, 14, 0.86)),
    var(--panel);
}

.battle-panel__side:first-child {
  text-align: right;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
}

.battle-panel__side::before,
.battle-panel__main::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0.72;
}

.battle-panel__side span,
.battle-panel__main span,
.battle-panel__main small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.battle-panel__side strong,
.battle-panel__main strong {
  display: block;
  margin-top: 7px;
  color: #fff4df;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 950;
}

.battle-panel__main {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: rgba(38, 18, 6, 0.88);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 244, 210, 0.42), rgba(255, 244, 210, 0) 42%),
    linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1d1208;
  text-align: center;
  transform: translateY(-10px);
  animation: goldPulse 3s 400ms ease-in-out infinite;
}

.battle-panel__main span,
.battle-panel__main small {
  color: rgba(29, 18, 8, 0.72);
}

.battle-panel__main strong {
  margin: 7px 0;
  color: #1d1208;
  font-size: 1.45rem;
}

.battle-panel__side:hover,
.battle-panel__side:focus-visible,
.battle-panel__main:hover,
.battle-panel__main:focus-visible {
  filter: brightness(1.08);
}

.battle-panel__side:hover::after,
.battle-panel__side:focus-visible::after,
.battle-panel__main:hover::after,
.battle-panel__main:focus-visible::after {
  opacity: 1;
  animation-duration: 1.4s;
}

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

.battle-panel__main:hover,
.battle-panel__main:focus-visible {
  transform: translateY(-12px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 244, 210, 0) 42%),
    linear-gradient(180deg, #fff0bd, var(--gold));
}

@media (max-width: 900px) {
  :root {
    --mobile-ui-width: min(300px, calc(100vw - 40px));
  }

  .site-header {
    left: 50%;
    right: auto;
    top: max(14px, env(safe-area-inset-top));
    width: var(--mobile-ui-width);
    padding: 0;
    transform: translateX(-50%);
  }

  .brand-card {
    min-width: 0;
    width: fit-content;
  }

  .brand-card small,
  .brand-card b {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 8px;
    padding: 5px;
    background: rgba(8, 9, 12, 0.94);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 6px;
  }

  .site-nav a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
  }

  .site-nav a:first-child,
  .site-nav a:last-child {
    border-radius: 8px;
  }

  .site-nav span {
    display: none;
  }

  .site-nav strong {
    font-size: 0.72rem;
  }

  .site-footer {
    left: 50%;
    right: auto;
    width: var(--mobile-ui-width);
    transform: translateX(-50%);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .support-float {
    left: auto !important;
    right: 120px !important;
    top: 46%;
    z-index: 40;
    width: 56px !important;
    gap: 10px;
  }

  .support-float__item {
    width: 54px !important;
    height: 54px !important;
    min-height: 0;
    padding: 6px;
  }

  .news-widget {
    left: 50%;
    bottom: 92px;
    width: var(--mobile-ui-width);
    min-height: 0;
    padding: 12px;
    transform: translateX(-50%);
    animation: none;
  }

  .news-widget__head {
    padding-bottom: 10px;
  }

  .news-widget__head strong {
    font-size: 0.92rem;
  }

  .news-widget__list {
    grid-template-columns: 1fr;
    max-height: none;
    overflow-y: visible;
    gap: 6px;
    padding-top: 10px;
  }

  .news-widget__list a:first-child {
    grid-column: auto;
  }

  .news-widget__list a {
    min-height: 34px;
    grid-template-columns: 1fr;
    padding: 0 8px;
  }

  .news-widget__list span {
    font-size: 0.78rem;
  }

  .news-dialog article {
    padding: 24px 20px;
  }

  .news-dialog h2 {
    font-size: 1.32rem;
  }

  .news-frame-dialog {
    top: max(18px, env(safe-area-inset-top));
    width: min(360px, calc(100vw - 20px));
    max-height: calc(100vh - 44px);
  }

  .news-frame-dialog iframe {
    max-height: calc(100vh - 44px);
  }

  .news-frame-dialog__close {
    top: -11px;
    right: -9px;
    width: 28px;
    height: 28px;
  }

  .article-shell {
    width: min(340px, calc(100vw - 32px));
    margin-top: 46px;
    padding: 20px;
  }

  .article-shell h1 {
    font-size: 1.7rem;
  }

  body.news-page.is-popup .article-shell {
    width: 100%;
    margin: 0;
    padding: 20px;
  }

  body.news-page.is-popup .article-shell h1 {
    font-size: 1.55rem;
  }

  .article-lead {
    font-size: 1rem;
  }

  .tl-container {
    gap: 10px;
    padding-left: 22px;
  }

  .tl-container::before {
    left: 8px;
  }

  .tl-dot {
    left: -21px;
    top: 18px;
    width: 13px;
    height: 13px;
  }

  .tl-card {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 12px 13px;
  }

  .tl-time {
    font-size: 0.78rem;
  }

  .tl-feature {
    font-size: 0.9rem;
  }

  .server-info-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-shell .server-info-title {
    padding: 13px 12px 12px;
    font-size: 1.12rem;
  }

  .server-info-row {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .server-info-row span {
    flex-basis: 100%;
  }

  .nova-event-page {
    gap: 14px;
  }

  .nova-event-section {
    gap: 14px;
    padding: 14px;
  }

  .nova-event-head {
    gap: 8px;
    padding-bottom: 12px;
  }

  .article-shell .nova-event-title {
    font-size: 1.42rem;
  }

  .nova-event-time {
    width: 100%;
    font-size: 0.8rem;
  }

  .nova-event-podium {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .nova-rank-card--gold {
    order: -1;
    transform: none;
  }

  .nova-rank-card {
    min-height: 100px;
    grid-template-columns: 42px 1fr;
    place-items: center start;
    padding: 12px;
    text-align: left;
  }

  .nova-rank-medal {
    grid-row: span 3;
    width: 38px;
    height: 38px;
  }

  .nova-rule-box {
    padding: 13px;
  }

  .lux-evt-wrapper {
    gap: 14px;
    padding: 14px;
  }

  .lux-evt-header {
    gap: 8px;
    padding-bottom: 12px;
  }

  .article-shell .lux-evt-title {
    font-size: 1.42rem;
  }

  .lux-evt-time {
    width: 100%;
    font-size: 0.8rem;
  }

  .lux-evt-podium {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .lux-rank-1 {
    transform: none;
    order: -1;
  }

  .lux-evt-card {
    min-height: 92px;
    grid-template-columns: 42px 1fr;
    place-items: center start;
    padding: 12px;
    text-align: left;
  }

  .lux-medal {
    grid-row: span 2;
    width: 38px;
    height: 38px;
  }

  .lux-evt-rules {
    padding: 13px;
  }

  .boss-reward-wrap {
    border-radius: 8px;
  }

  .boss-reward-table,
  .boss-reward-table tbody,
  .boss-reward-table tr,
  .boss-reward-table td {
    display: block;
    width: 100%;
  }

  .boss-reward-table tr:first-child {
    display: none;
  }

  .boss-reward-table tr {
    padding: 12px 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    height: auto !important;
    min-height: 0;
  }

  .boss-reward-table tr:first-child + tr {
    border-top: 0;
  }

  .boss-reward-table td {
    padding: 0;
    border: 0;
    font-size: 0.9rem;
  }

  .boss-reward-table td:last-child {
    width: 100%;
    margin-top: 5px;
    text-align: left;
    font-size: 1.05rem;
  }

  .boss-reward-note {
    padding: 12px 13px;
    font-size: 0.92rem;
  }

  .mu-schedule-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }

  .article-shell .mu-schedule-title {
    font-size: 1.16rem;
  }

  .mu-schedule-note {
    text-align: left;
    font-size: 0.78rem;
  }

  .mu-schedule-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mu-card-head {
    padding: 12px 12px 10px 14px;
  }

  .mu-card-body {
    padding: 11px 12px 13px 14px;
  }

  .mu-card-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mu-card-label {
    font-size: 0.7rem;
  }

  .mu-card-value {
    font-size: 0.86rem;
  }

  .mu-time-chip {
    min-width: 48px;
    min-height: 26px;
    margin-right: 4px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .battle-panel {
    width: 100%;
    max-width: none;
    min-height: 74px;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 8px;
  }

  .battle-panel__side,
  .battle-panel__main {
    min-height: 60px;
    padding: 10px 8px;
    align-items: center;
    text-align: center;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  }

  .battle-panel__side:first-child {
    text-align: center;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  }

  .battle-panel__side span,
  .battle-panel__main span,
  .battle-panel__main small {
    display: none;
  }

  .battle-panel__side strong,
  .battle-panel__main strong {
    margin: 0;
    font-size: 0.82rem;
  }

  .battle-panel__main {
    transform: translateY(-4px);
  }

  .battle-panel__main strong {
    font-size: 0.94rem;
  }
}

@media (max-width: 460px) {
  .support-float {
    left: auto !important;
    right: 120px !important;
  }

  .brand-card {
    padding: 10px 12px 10px 10px;
  }

  .brand-card img {
    width: 44px;
    height: 22px;
  }

  .brand-card strong {
    font-size: 0.92rem;
  }

  .battle-panel {
    gap: 6px;
  }

  .battle-panel__side strong,
  .battle-panel__main strong {
    font-size: 0.84rem;
  }
}

@media (max-width: 900px) {
  .alpha-race-page .article-shell,
  .open-race-page .article-shell {
    width: min(340px, calc(100vw - 32px));
  }

  .alpha-race-page .lux-evt-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .alpha-race-page .lux-evt-header {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
  }

  .alpha-race-page .lux-evt-podium {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .alpha-race-page .lux-evt-rules {
    grid-column: auto;
    margin: 0;
  }

  .open-race-page .nova-event-head {
    min-height: 0;
    padding-left: 54px;
  }

  .open-race-page .nova-event-head::before {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .open-race-page .nova-event-podium {
    grid-template-columns: 1fr;
  }

  .open-race-page .nova-rank-card--gold {
    transform: none;
  }
}

@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;
  }
}
