:root {
  color-scheme: dark;
  --bg: #070304;
  --bg-deep: #13070a;
  --panel: rgba(20, 9, 12, 0.72);
  --panel-strong: rgba(28, 10, 14, 0.9);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 106, 106, 0.22);
  --text: #f8ecea;
  --muted: #d6b8b3;
  --accent: #ff4d4d;
  --accent-2: #ff9e6d;
  --accent-3: #ffd2b4;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1192px) {
  #screenshots {
    display: none;
  }
}


body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(120, 0, 12, 0.36), transparent 34%),
    radial-gradient(circle at 85% 14%, rgba(180, 26, 26, 0.22), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(91, 16, 16, 0.32), transparent 48%),
    linear-gradient(180deg, #050203 0%, #0d0305 36%, #14070a 100%);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

.landing-shell {
  position: relative;
  isolation: isolate;
}

.noise-layer,
.blood-orb {
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: -1;
}

.noise-layer {
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
}

.blood-orb {
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}

.blood-orb-left {
  background: radial-gradient(circle, rgba(165, 10, 32, 0.68) 0%, rgba(165, 10, 32, 0) 65%);
  transform: translate(-18%, 6%);
}

.blood-orb-right {
  background: radial-gradient(circle, rgba(225, 85, 40, 0.3) 0%, rgba(225, 85, 40, 0) 68%);
  transform: translate(58%, -14%);
  animation-duration: 19s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 3vw, 44px);
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(10, 4, 6, 0.92), rgba(10, 4, 6, 0.62));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  width: min(120px, 24vw);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 236, 234, 0.88);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: #fff6f2;
}

.site-nav-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav-live-count {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 91, 91, 0.34);
  border-radius: 999px;
  background: rgba(255, 45, 45, 0.08);
  color: #ffd9d4;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
}

.site-nav-live-count.is-live {
  color: #fff7f2;
  background: rgba(255, 50, 50, 0.2);
  box-shadow: 0 0 18px rgba(255, 58, 58, 0.2);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(32, 10, 15, 0.86);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff3ef;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  display: grid;
  gap: 28px;
  padding: 0 clamp(18px, 3vw, 44px) 64px;
}

.hero-banner {
  margin-inline: calc(clamp(18px, 3vw, 44px) * -1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
}

.hero-banner-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-banner-fx::before,
.hero-banner-fx::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.hero-banner-fx::before {
  left: -6%;
  bottom: 4%;
  width: min(28vw, 420px);
  height: min(28vw, 420px);
  background: radial-gradient(circle, rgba(255, 140, 82, 0.28) 0%, rgba(255, 140, 82, 0.12) 24%, rgba(255, 140, 82, 0) 72%);
  filter: blur(16px);
  animation: fireGlow 5.8s ease-in-out infinite;
}

.hero-banner-fx::after {
  right: 3%;
  top: 8%;
  width: min(22vw, 320px);
  height: min(22vw, 320px);
  background: radial-gradient(circle, rgba(255, 192, 120, 0.14) 0%, rgba(255, 192, 120, 0) 72%);
  filter: blur(10px);
  animation: emberPulse 7.4s ease-in-out infinite;
}

.hero-ember,
.hero-ash,
.hero-smoke {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.hero-ember {
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, rgba(255, 247, 214, 0.98) 0%, rgba(255, 174, 88, 0.9) 40%, rgba(255, 109, 58, 0.22) 72%, transparent 100%);
  box-shadow:
    0 0 10px rgba(255, 177, 92, 0.7),
    0 0 22px rgba(255, 109, 58, 0.32);
  mix-blend-mode: screen;
  animation: emberRise 8s linear infinite;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.72);
  will-change: transform, opacity;
  animation-fill-mode: backwards;
}

.hero-ash {
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 225, 214, 0.56), transparent);
  opacity: 0.58;
  filter: blur(0.5px);
  animation: ashDrift 17s linear infinite;
}

.hero-smoke {
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 249, 245, 0.54) 0%, rgba(244, 236, 231, 0.34) 24%, rgba(211, 197, 191, 0.18) 48%, rgba(122, 108, 104, 0.08) 66%, rgba(122, 108, 104, 0) 82%);
  opacity: 0;
  filter: blur(18px);
  will-change: transform, opacity;
}

.ember-a { left: 12%; bottom: 9%; animation-delay: 0s; animation-duration: 7.2s; }
.ember-b { left: 20%; bottom: 14%; animation-delay: 1.2s; animation-duration: 8.6s; transform: scale(0.9); }
.ember-c { left: 28%; bottom: 8%; animation-delay: 2.8s; animation-duration: 7.8s; transform: scale(1.15); }
.ember-d { right: 18%; bottom: 18%; animation-delay: 0.8s; animation-duration: 9.1s; transform: scale(0.85); }
.ember-e { right: 10%; bottom: 10%; animation-delay: 3.2s; animation-duration: 7.5s; }
.ember-f { left: 50%; bottom: 12%; animation-delay: 2s; animation-duration: 8.9s; transform: scale(0.75); }
.ember-g { left: 8%; bottom: 7%; animation-delay: 4.4s; animation-duration: 9.4s; transform: scale(0.8); }
.ember-h { left: 36%; bottom: 10%; animation-delay: 5.1s; animation-duration: 8.1s; transform: scale(1.05); }
.ember-i { left: 62%; bottom: 9%; animation-delay: 1.6s; animation-duration: 7.4s; transform: scale(0.7); }
.ember-j { right: 24%; bottom: 12%; animation-delay: 6.2s; animation-duration: 8.7s; transform: scale(1.1); }
.ember-k { right: 6%; bottom: 7%; animation-delay: 2.6s; animation-duration: 9.8s; transform: scale(0.9); }
.ember-l { left: 44%; bottom: 6%; animation-delay: 3.8s; animation-duration: 7.9s; transform: scale(0.82); }

.ash-a { left: 16%; bottom: 24%; animation-delay: 0s; }
.ash-b { left: 54%; bottom: 18%; animation-delay: 4.5s; animation-duration: 17s; }
.ash-c { right: 12%; bottom: 28%; animation-delay: 8.2s; animation-duration: 14s; }

.smoke-a {
  left: -2%;
  bottom: 3%;
  width: min(30vw, 420px);
  height: min(20vw, 250px);
  animation-delay: 0s;
  animation-duration: 27s;
  animation-name: smokeLiftA;
}

.smoke-b {
  left: 18%;
  bottom: 0%;
  width: min(24vw, 320px);
  height: min(17vw, 220px);
  animation-delay: 5s;
  animation-duration: 24s;
  animation-name: smokeLiftB;
}

.smoke-c {
  right: -4%;
  bottom: 4%;
  width: min(28vw, 360px);
  height: min(19vw, 240px);
  animation-delay: 11s;
  animation-duration: 28s;
  animation-name: smokeLiftC;
}

.smoke-d {
  left: 36%;
  bottom: 2%;
  width: min(26vw, 340px);
  height: min(16vw, 210px);
  animation-delay: 2.5s;
  animation-duration: 26s;
  animation-name: smokeLiftD;
}

.smoke-e {
  left: 58%;
  bottom: 1%;
  width: min(22vw, 300px);
  height: min(15vw, 200px);
  animation-delay: 9s;
  animation-duration: 23s;
  animation-name: smokeLiftE;
}

.smoke-f {
  right: 18%;
  bottom: 0%;
  width: min(20vw, 280px);
  height: min(14vw, 180px);
  animation-delay: 15s;
  animation-duration: 31s;
  animation-name: smokeLiftF;
}

.section-frame,
.landing-section {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(30, 10, 14, 0.82), rgba(13, 5, 8, 0.88)),
    radial-gradient(circle at top, rgba(255, 133, 104, 0.08), transparent 44%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-frame::before,
.landing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(255, 82, 82, 0.1), transparent 24%);
  pointer-events: none;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(28px, 4vw, 56px);
  align-items: start;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(255, 118, 84, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(30, 10, 14, 0.9), rgba(13, 5, 8, 0.94));
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffb7a2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 15ch;
  margin-inline: auto;
  text-shadow:
    0 16px 46px rgba(0, 0, 0, 0.52),
    0 0 26px rgba(255, 126, 94, 0.12);
}

.hero-copy h1 span {
  display: block;
  margin-bottom: 0.22em;
}

.hero-copy h1 span:last-child {
  margin-bottom: 0;
}

.hero-lead,
.section-heading p,
.play-card p,
.mode-card p,
.feature-card p,
.arsenal-copy p,
.hero-card p,
.shot-card span,
.video-overlay-copy p,
.video-bullet span,
.contact-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

.hero-copy {
  position: relative;
  order: 2;
  width: 100%;
  display: block;
  max-width: none;
}

.hero-copy::before {
  content: "Врывайся в арену. Оставляй после себя только красный след.";
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 209, 191, 0.34);
  background: linear-gradient(135deg, rgba(109, 15, 10, 0.66), rgba(37, 11, 14, 0.72));
  color: #fff0e7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-actions,
.hero-copy .hero-stats,
.hero-copy .eyebrow {
  max-width: min(820px, 100%);
  margin-inline: auto;
}

.hero-copy::after {
  content: none;
}

.hero-copy .eyebrow {
  color: #ffd9c9;
  letter-spacing: 0.22em;
}

.hero-copy {
  padding: clamp(30px, 4vw, 44px) clamp(22px, 4vw, 52px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-actions,
.play-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: #130506;
  background: linear-gradient(135deg, #ff6856, #ffb36d);
  box-shadow: 0 12px 30px rgba(255, 94, 77, 0.32);
}

.button-secondary,
.button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff4f2;
}

.hero-stats,
.skill-list,
.contacts-grid,
.about-grid,
.heroes-showcase,
.play-grid,
.shots-grid,
.news-grid,
.ratings-grid {
  display: grid;
  gap: 16px;
}

.hero-stats {
  margin-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: min(900px, 100%);
  justify-content: center;
}

.stat-chip {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 168, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top center, rgba(255, 130, 92, 0.14), transparent 55%);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-chip strong {
  display: block;
  font-size: 28px;
  color: #fff8f7;
}

.stat-chip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stage {
  display: none;
}

.hero-stage::after {
  content: none;
}

.hero-stage-visual {
  position: relative;
  width: 100%;
  min-height: inherit;
  aspect-ratio: auto;
  border-radius: inherit;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 3, 5, 0) 0%, rgba(8, 3, 5, 0.08) 58%, rgba(8, 3, 5, 0.2) 100%),
    url("/assets/other/landing-image.jpg") center center / contain no-repeat,
    linear-gradient(180deg, #090304 0%, #120609 100%);
}

.hero-stage-hud {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(12, 6, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
}

.hero-stage-hud,
.floating-badge {
  display: none;
}

.hero-stage-blood,
.hero-stage-rune {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-stage-blood {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  left: 68%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(166, 0, 24, 0.52) 0%, rgba(166, 0, 24, 0) 68%);
  filter: blur(16px);
  animation: pulse 5.6s ease-in-out infinite;
  z-index: 1;
}

.hero-stage-rune {
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  right: -10%;
  top: 12%;
  border: 1px solid rgba(255, 198, 180, 0.12);
  background: radial-gradient(circle, rgba(255, 189, 148, 0.08), rgba(255, 189, 148, 0) 72%);
  animation: spin 20s linear infinite;
  z-index: 0;
}

.hero-figure {
  position: absolute;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
  transform-origin: bottom center;
  z-index: 3;
}

.hero-collage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 6, 8, 0.82);
  backdrop-filter: blur(12px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 6;
}

.badge-danger {
  left: auto;
  right: 188px;
  bottom: 28px;
  color: #ffc8c8;
}

.badge-lightning {
  right: 24px;
  top: auto;
  bottom: 28px;
  color: #ffe0bf;
}

.landing-section {
  padding: clamp(24px, 4vw, 44px);
}

#play.landing-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

#play.landing-section::before {
  display: none;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.battle-hub-heading {
  max-width: none;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 24px;
  align-items: center;
}

.battle-hub-heading-copy {
  min-width: 0;
}

.battle-hub-heading-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

.battle-hub-heading-logo-img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(84, 4, 6, 0.42));
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

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

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

.battle-hub-intro {
  grid-column: 1 / -1;
}

.hub-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.35fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.hub-summary-card,
.hub-note-card {
  padding: 22px;
}

.hub-note-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.hub-note-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hub-note-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.hub-tab-button {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(11, 5, 7, 0.6);
  color: #fff2ef;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hub-tab-button:hover,
.hub-tab-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 186, 159, 0.42);
}

.hub-tab-button.active {
  border-color: rgba(255, 136, 97, 0.52);
  background: linear-gradient(135deg, rgba(132, 25, 18, 0.88), rgba(255, 127, 80, 0.22));
  box-shadow: 0 12px 24px rgba(100, 15, 10, 0.22);
}

.battle-hub-shell {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(30, 10, 14, 0.82), rgba(13, 5, 8, 0.88)),
    radial-gradient(circle at top, rgba(255, 133, 104, 0.08), transparent 44%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.battle-hub-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}

.battle-hub-head h3 {
  margin: 0;
  font-size: 22px;
}

.battle-hub-head-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.battle-hub-frame-wrap {
  position: relative;
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 114, 84, 0.09), transparent 34%),
    rgba(8, 4, 5, 0.75);
}

.battle-hub-frame {
  display: block;
  width: 100%;
  height: clamp(620px, calc(100svh - 176px), 840px);
  border: 0;
  background: transparent;
}

.live-run-layout {
  display: block;
}

.live-run-layout.is-live-paused .live-run-canvas-wrap {
  box-shadow: inset 0 0 0 1px rgba(255, 210, 190, 0.08);
}

.live-run-copy,
.live-run-player {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 136, 97, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.live-run-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
}

.live-run-player-wide {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.live-run-kicker,
.live-run-player-label,
.live-status-pill,
.live-run-flag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-run-kicker,
.live-run-player-label,
.live-run-flag {
  color: #ffd1bf;
}

.live-run-copy h3,
.live-run-player-head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.live-run-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.live-run-stats,
.live-run-player-foot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.live-run-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.live-run-overview-copy {
  display: grid;
  gap: 14px;
}

.live-run-overview-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.live-run-stat,
.live-run-foot-card {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.live-run-stat span,
.live-run-foot-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-run-stat strong,
.live-run-foot-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.live-run-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-run-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.live-run-actions .button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.live-run-switcher {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(0, 1.2fr) minmax(112px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.live-run-switch-status {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.live-run-switch-btn {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff1eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.live-run-switch-btn:hover,
.live-run-switch-btn:focus-visible {
  border-color: rgba(255, 186, 159, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.live-run-switch-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.live-run-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-run-player-head > div {
  display: grid;
  gap: 10px;
}

.live-status-pill {
  color: #ffe7de;
}

.live-status-pill.is-live {
  color: #fff7f2;
  border-color: rgba(255, 122, 122, 0.44);
  background: linear-gradient(135deg, rgba(162, 25, 25, 0.96), rgba(255, 130, 92, 0.3));
  box-shadow: 0 0 0 6px rgba(255, 89, 89, 0.08);
}

.live-status-pill.is-waiting {
  color: #ffdccc;
  border-color: rgba(255, 255, 255, 0.12);
}

.live-run-canvas-wrap {
  position: relative;
  height: clamp(360px, calc(100svh - 220px), 640px);
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top center, rgba(255, 122, 92, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(14, 5, 7, 0.98), rgba(6, 2, 3, 1));
}

.live-run-canvas-wrap.has-fallback-art {
  background:
    url("/assets/stream/background.jpg") center / cover no-repeat,
    linear-gradient(180deg, rgba(14, 5, 7, 0.98), rgba(6, 2, 3, 1));
}

.live-run-canvas-wrap.has-no-live-art {
  background:
    url("/assets/stream/stream-not-started.jpg") center / cover no-repeat,
    linear-gradient(180deg, rgba(14, 5, 7, 0.98), rgba(6, 2, 3, 1));
}

.live-run-canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at center, rgba(255, 118, 82, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(5, 2, 4, 0.18), rgba(5, 2, 4, 0.72));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.live-run-canvas-wrap:hover::after,
.live-run-canvas-wrap:focus-within::after {
  opacity: 1;
}

.live-run-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.live-run-iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #070b10;
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.live-run-canvas-wrap:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

.live-run-iframe.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.live-run-canvas.is-hidden {
  display: none;
}

.live-run-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 4, 6, 0.72), rgba(10, 4, 6, 0.92));
}

.live-run-canvas-wrap.has-fallback-art .live-run-empty {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.24) 30%, rgba(0, 0, 0, 0) 58%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.76);
}

.live-run-empty strong {
  font-size: 22px;
}

.live-run-empty span {
  color: var(--muted);
  line-height: 1.6;
}

.live-run-empty.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.live-player-controls {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 22px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.live-player-fullscreen-toggle {
  position: absolute;
  top: 22px;
  right: 22px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 228, 210, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 127, 86, 0.28), rgba(105, 22, 24, 0.42)),
    rgba(13, 6, 8, 0.72);
  color: #fff4ed;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

.live-player-fullscreen-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat;
  opacity: 0.92;
}

.live-player-fullscreen-toggle.is-exit::before {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) left top / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 2px 7px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 7px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 2px 7px no-repeat;
}

.live-run-canvas-wrap:hover .live-player-controls,
.live-run-canvas-wrap:focus-within .live-player-controls {
  opacity: 1;
}

.live-player-center-toggle,
.live-player-play-toggle,
.live-player-mute-toggle,
.live-player-fullscreen-toggle {
  border: 1px solid rgba(255, 228, 210, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 127, 86, 0.28), rgba(105, 22, 24, 0.42)),
    rgba(13, 6, 8, 0.72);
  color: #fff4ed;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

.live-player-center-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  font-size: 17px;
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

.live-player-center-toggle:hover,
.live-player-play-toggle:hover,
.live-player-mute-toggle:hover,
.live-player-fullscreen-toggle:hover {
  border-color: rgba(255, 196, 154, 0.48);
  transform: translateY(-1px);
}

.live-player-center-toggle:hover {
  transform: translate(-50%, calc(-50% - 1px));
}

.live-player-controlbar {
  grid-row: 2;
  align-self: end;
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 226, 210, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at left center, rgba(255, 111, 78, 0.18), transparent 26%),
    rgba(10, 4, 7, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.live-player-play-toggle,
.live-player-mute-toggle {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
}

.live-player-time {
  min-width: 96px;
  color: #ffe4d5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-player-timeline,
.live-player-volume-slider {
  width: 100%;
  accent-color: #ff845d;
  cursor: pointer;
}

.live-player-volume {
  display: grid;
  grid-template-columns: auto 0;
  gap: 10px;
  align-items: center;
  min-width: 92px;
  transition: grid-template-columns 180ms ease;
}

.live-player-volume:hover,
.live-player-volume:focus-within {
  grid-template-columns: auto 110px;
}

.live-player-volume-slider {
  opacity: 0;
  transition: opacity 180ms ease;
}

.live-player-volume:hover .live-player-volume-slider,
.live-player-volume:focus-within .live-player-volume-slider {
  opacity: 1;
}

.live-run-commentary {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at left center, rgba(255, 120, 88, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(37, 10, 12, 0.94), rgba(14, 8, 12, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.live-run-commentary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 36%);
  pointer-events: none;
}

.live-run-commentary-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: 148px;
}

.live-run-commentary-avatar img {
  display: block;
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 179, 154, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  background: rgba(34, 15, 16, 0.92);
}

.live-run-commentary-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.live-run-commentary-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffd1bf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-run-commentary-tools {
  display: grid;
  gap: 0;
  width: 148px;
  margin-top: 0;
}

.live-run-commentary-voice-btn {
  width: 148px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 179, 154, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 218, 206, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(154, 34, 24, 0.92), rgba(94, 15, 20, 0.92));
  color: #fff3ec;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease, opacity 180ms ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.live-run-commentary-voice-btn:hover,
.live-run-commentary-voice-btn:focus-visible {
  border-color: rgba(255, 190, 170, 0.38);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.live-run-commentary-voice-btn.is-active {
  border-color: rgba(255, 164, 134, 0.42);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 236, 225, 0.32), transparent 42%),
    linear-gradient(180deg, rgba(196, 48, 28, 0.94), rgba(122, 22, 24, 0.94));
}

.live-run-commentary-voice-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.live-run-commentary-voice-status {
  display: none;
}

.live-run-commentary strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.2;
  color: #fff5ee;
  text-wrap: balance;
}

.live-run-commentary p {
  margin: 8px 0 0;
  color: #f1d9cf;
  line-height: 1.65;
  max-width: 78ch;
}

.section-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.play-card-main {
  grid-column: span 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.play-card,
.mode-card,
.feature-card,
.hero-card,
.contact-card,
.news-card,
.rating-card,
.shot-card,
.raid-feed-shell,
.raid-card,
.arsenal-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.play-card,
.mode-card,
.feature-card,
.arsenal-panel,
.contact-card,
.news-card,
.rating-card {
  padding: 22px;
}

.mode-label,
.contact-label,
.news-meta,
.rating-card-meta,
.video-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffcfbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-card h3,
.feature-card h3,
.play-card h3,
.arsenal-copy h3,
.hero-card h3,
.shot-card strong,
.video-overlay-copy h3,
.contact-card h3,
.news-card h3,
.rating-card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.15;
}

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

.arsenal-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 140, 92, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(32, 11, 16, 0.94), rgba(14, 8, 12, 0.92));
}

.skill-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
}

.arsenal-copy-library {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 48%),
    radial-gradient(circle at top left, rgba(255, 186, 120, 0.12), transparent 42%);
}

.arsenal-copy-library::after {
  content: "FAQ";
  position: absolute;
  right: 26px;
  top: 24px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 212, 180, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 142, 94, 0.14), rgba(255, 221, 182, 0.04)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  color: rgba(255, 230, 216, 0.82);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(10deg);
  opacity: 0.42;
  pointer-events: none;
}

.arsenal-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 202, 174, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffd4c1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arsenal-spotlight {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 152, 102, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.arsenal-spotlight-head {
  display: grid;
  gap: 6px;
}

.arsenal-spotlight-label {
  color: #ffb998;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arsenal-spotlight strong,
.codex-card-head strong {
  font-size: 18px;
  line-height: 1.2;
}

.arsenal-synergy-row,
.codex-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.arsenal-synergy-row span,
.codex-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  color: #fff2ec;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.skill-list-legacy {
  display: none;
}

.knowledge-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 100%);
  background-size: auto, 100% 58px;
}

.codex-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 212px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(9, 4, 6, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.16);
}

.codex-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%);
  opacity: 0.6;
  pointer-events: none;
}

.codex-card-head {
  display: grid;
  gap: 8px;
}

.codex-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffe0d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.codex-card-weapons .codex-badge,
.codex-card-weapons .codex-chip-row span {
  background: rgba(255, 123, 93, 0.11);
}

.codex-card-abilities .codex-badge,
.codex-card-abilities .codex-chip-row span {
  background: rgba(255, 204, 120, 0.1);
}

.codex-card-bonuses .codex-badge,
.codex-card-bonuses .codex-chip-row span {
  background: rgba(255, 104, 104, 0.11);
}

.codex-card-enemies .codex-badge,
.codex-card-enemies .codex-chip-row span {
  background: rgba(255, 165, 120, 0.1);
}

.skill-list span {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(255, 149, 107, 0.12), transparent 64%),
    rgba(0, 0, 0, 0.16);
  text-align: center;
  font-weight: 600;
}

.heroes-showcase {
  margin-top: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hero-card {
  display: grid;
  grid-template-rows: 220px 1fr;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -38px;
}

.hero-card div {
  padding: 18px;
}

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

.news-card {
  min-height: 260px;
}

.news-card-button {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.news-card-button:hover,
.news-card-button:focus-visible {
  border-color: rgba(255, 181, 130, 0.36);
  background:
    radial-gradient(circle at top right, rgba(255, 117, 88, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.news-card-button:active {
  transform: translateY(0) scale(0.992);
  filter: brightness(0.96);
}

.news-card-stats,
.news-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  color: #ffd8ca;
  font-size: 13px;
  font-weight: 800;
}

.news-card-link {
  margin-top: 14px;
  color: #fff0e7;
  text-decoration: underline;
  text-decoration-color: rgba(255, 209, 190, 0.32);
  text-underline-offset: 4px;
}

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

.rating-card {
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(255, 145, 87, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.rating-card-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rating-card-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.rating-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff5f1;
  background: linear-gradient(135deg, rgba(255, 104, 86, 0.9), rgba(255, 179, 109, 0.82));
}

.rating-name {
  min-width: 0;
  font-weight: 700;
  color: #fff4ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button.rating-name {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 212, 196, 0.34);
  text-underline-offset: 3px;
}

button.rating-name:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 212, 196, 0.74);
}

.rating-value {
  font-size: 13px;
  font-weight: 700;
  color: #ffd9c8;
  text-align: right;
}

.rating-card-link {
  display: inline-flex;
  margin-top: 18px;
  color: #fff0e7;
  font-weight: 700;
}

.landing-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  padding: 18px;
}

.landing-profile-modal.hidden {
  display: none;
}

.landing-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 4, 0.72);
  backdrop-filter: blur(8px);
}

.landing-profile-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 24px));
  max-height: min(88vh, 920px);
  overflow: auto;
  overflow-x: hidden;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 205, 184, 0.18);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 119, 88, 0.14), transparent 30%),
    radial-gradient(circle at 92% 16%, color-mix(in srgb, var(--profile-accent, #ff8a5d) 18%, transparent), transparent 26%),
    linear-gradient(180deg, rgba(22, 8, 11, 0.98), rgba(8, 4, 6, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 109, 84, 0.08) inset;
}

.landing-profile-modal:not(.hidden) .landing-profile-backdrop {
  animation: profile-backdrop-in 260ms ease-out both;
}

.landing-profile-modal:not(.hidden) .landing-profile-dialog {
  animation: profile-dialog-in 360ms cubic-bezier(0.18, 0.92, 0.22, 1.08) both;
}

.landing-profile-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 42%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  opacity: 0.68;
  mix-blend-mode: screen;
}

.landing-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.landing-profile-head b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  line-height: 1;
}

.landing-profile-title-live {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 121, 91, 0.44);
  border-radius: 999px;
  background: rgba(255, 82, 58, 0.14);
  color: #ffe1d5;
  font-size: 11px;
  font-family: var(--font-ui);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 86, 66, 0.18);
}

.modal-close-btn {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px 0 12px;
  border: 1px solid rgba(255, 218, 196, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(39, 17, 21, 0.94), rgba(12, 7, 10, 0.92));
  color: #fff3ed;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease,
    filter 170ms ease;
}

.modal-close-btn::after {
  content: "";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), #fff7f0 calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) center / 12px 12px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - 1px), #fff7f0 calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) center / 12px 12px no-repeat,
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(135deg, rgba(255, 126, 98, 0.34), rgba(74, 22, 27, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 218, 0.42),
    inset 0 -7px 12px rgba(59, 7, 13, 0.34),
    0 0 0 1px rgba(255, 109, 86, 0.16),
    0 5px 13px rgba(0, 0, 0, 0.22);
  transition:
    background 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease;
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
  border-color: rgba(255, 177, 122, 0.58);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(73, 22, 25, 0.96), rgba(19, 8, 11, 0.94));
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(255, 103, 72, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.modal-close-btn:hover::after,
.modal-close-btn:focus-visible::after {
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), #ffffff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) center / 11px 11px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - 1px), #ffffff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) center / 11px 11px no-repeat,
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(135deg, rgba(255, 148, 112, 0.44), rgba(96, 24, 29, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 226, 0.62),
    inset 0 -7px 12px rgba(59, 7, 13, 0.28),
    0 0 0 1px rgba(255, 134, 103, 0.24),
    0 0 18px rgba(255, 104, 86, 0.34),
    0 7px 14px rgba(0, 0, 0, 0.28);
  transform: rotate(90deg);
}

.modal-close-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.28),
    inset 0 1px 8px rgba(0, 0, 0, 0.28);
}

.landing-profile-body {
  display: grid;
  gap: 14px;
}

.landing-profile-card {
  border: 1px solid rgba(255, 219, 204, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--profile-accent, #ff8a5d) 10%, transparent), transparent 28%),
    rgba(255, 255, 255, 0.045);
  padding: 16px;
  color: #fff0e9;
}

.landing-profile-card h3 {
  margin: 0;
  font-size: 16px;
}

.landing-profile-meta,
.landing-profile-empty,
.landing-profile-row,
.landing-profile-run-head,
.landing-profile-run-main {
  font-size: 13px;
  line-height: 1.45;
}

.landing-profile-heroes {
  display: grid;
  gap: 4px;
}

.landing-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.landing-profile-runs {
  display: grid;
  gap: 8px;
}

.landing-profile-run {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.42);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.landing-profile-run-live {
  margin-bottom: 10px;
  border-color: rgba(255, 128, 94, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(255, 90, 70, 0.16), transparent 38%),
    rgba(65, 18, 25, 0.46);
}

.landing-profile-run-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #d3dceb;
}

.landing-profile-run-main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
  color: #f4f7fb;
}

.landing-profile-run-xp {
  color: #88f0ba;
  font-weight: 700;
}

.landing-profile-run-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 218, 196, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(71, 22, 26, 0.92), rgba(16, 8, 11, 0.92));
  color: #fff5ef;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.landing-profile-run-launch:hover,
.landing-profile-run-launch:focus-visible {
  border-color: rgba(255, 177, 122, 0.62);
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 18px rgba(255, 103, 72, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.landing-profile-run-launch:active {
  transform: translateY(1px) scale(0.98);
}

.landing-profile-skill-grid > .landing-profile-empty,
.landing-profile-equipment-grid > .landing-profile-empty {
  grid-column: 1 / -1;
}

.landing-profile-shell {
  --profile-accent: #ff8a5d;
  --hero-xp: 0%;
  position: relative;
  display: grid;
  gap: 14px;
  color: #fff0e8;
}

.landing-profile-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(136px, 164px) minmax(0, 1fr);
  gap: 18px;
  min-height: 250px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--profile-accent) 34%, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--profile-accent) 24%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(38, 12, 16, 0.92), rgba(8, 4, 7, 0.94));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-profile-hero-card::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: -18%;
  height: 24%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--profile-accent) 22%, transparent), transparent);
  filter: blur(12px);
  animation: profile-scan 980ms ease-out 120ms both;
  pointer-events: none;
}

.landing-profile-hero-art {
  position: relative;
  display: grid;
  place-items: stretch;
  align-self: center;
  justify-self: center;
  width: min(154px, 100%);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--profile-accent) 30%, transparent), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.28));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--profile-accent) 48%, rgba(255, 255, 255, 0.18)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -28px 30px rgba(0, 0, 0, 0.36),
    0 0 28px color-mix(in srgb, var(--profile-accent) 20%, transparent);
}

.landing-profile-hero-art::before,
.landing-profile-hero-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.landing-profile-hero-art::before {
  inset: 8px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--profile-accent) 52%, transparent);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.06),
    0 0 22px color-mix(in srgb, var(--profile-accent) 22%, transparent);
}

.landing-profile-hero-art::after {
  inset: auto 14px 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--profile-accent), transparent);
  box-shadow: 0 0 18px var(--profile-accent);
}

.landing-profile-hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.52));
  animation: profile-hero-rise 460ms cubic-bezier(0.2, 0.9, 0.2, 1.08) both;
}

.landing-profile-hero-info {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.landing-profile-kicker,
.landing-profile-card-head span {
  color: #f2c6b7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-profile-hero-info h3 {
  margin: 0;
  color: #fff8f4;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.92;
  text-shadow: 0 0 22px color-mix(in srgb, var(--profile-accent) 24%, transparent);
}

.landing-profile-hero-info p {
  max-width: 58ch;
  margin: 0;
  color: #ead2c9;
  line-height: 1.55;
}

.landing-profile-live-badge {
  display: grid;
  grid-template-columns: auto minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 128, 94, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.2), transparent 28%),
    rgba(255, 94, 72, 0.12);
  color: #fff6f1;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(255, 80, 62, 0.16);
}

.landing-profile-live-badge span {
  color: #ffb8a4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.landing-profile-live-badge b,
.landing-profile-live-badge small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-profile-live-badge b {
  font-size: 12px;
}

.landing-profile-live-badge small {
  color: #e5c3b9;
  font-size: 11px;
  font-weight: 800;
}

.landing-profile-hero-xp {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #fff4ee;
  font-size: 13px;
  font-weight: 900;
}

.landing-profile-hero-xp i {
  position: relative;
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.landing-profile-hero-xp i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hero-xp);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--profile-accent), #fff0c7);
  box-shadow: 0 0 18px color-mix(in srgb, var(--profile-accent) 55%, transparent);
}

.landing-profile-hero-stats,
.landing-profile-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.landing-profile-hero-stats span,
.landing-profile-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f1cec3;
  font-size: 12px;
  text-align: center;
}

.landing-profile-hero-stats b,
.landing-profile-strip b {
  color: #fff8f3;
  font-size: 18px;
  line-height: 1;
}

.landing-profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.landing-profile-skill-grid,
.landing-profile-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-profile-slot {
  --slot-color: #ff8a5d;
  --slot-delay: 0ms;
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--slot-color) 34%, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--slot-color) 14%, transparent), transparent 32%),
    rgba(5, 2, 5, 0.38);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  animation: profile-slot-in 360ms cubic-bezier(0.2, 0.9, 0.2, 1.08) var(--slot-delay) both;
}

.landing-profile-slot::before {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.46) 49%, transparent 62%);
  transform: translateX(-58%) rotate(8deg);
  animation: profile-slot-glint 1400ms ease-out calc(var(--slot-delay) + 180ms) both;
  pointer-events: none;
}

.landing-profile-slot.is-locked,
.landing-profile-slot.is-empty {
  filter: saturate(0.78);
  opacity: 0.72;
}

.landing-profile-slot-ring {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border-radius: 12px;
  background:
    conic-gradient(from -90deg, var(--slot-color), rgba(255, 255, 255, 0.08), var(--slot-color)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02));
  opacity: 0.9;
  box-shadow: 0 0 18px color-mix(in srgb, var(--slot-color) 24%, transparent);
}

.landing-profile-slot-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--slot-color) 38%, transparent), transparent 62%),
    rgba(2, 1, 3, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.landing-profile-slot-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.landing-profile-slot-icon.has-image > span {
  display: none;
}

.landing-profile-slot-icon span {
  color: #fff8f3;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 0 12px var(--slot-color);
}

.landing-profile-slot div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  min-width: 0;
}

.landing-profile-slot b,
.landing-profile-slot span,
.landing-profile-slot small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-profile-slot b {
  color: #fff8f3;
  font-size: 14px;
}

.landing-profile-slot span,
.landing-profile-slot small {
  color: #e6c9c0;
  font-size: 12px;
}

.landing-profile-slot small {
  color: #bfa39b;
}

.landing-profile-slot em {
  position: relative;
  z-index: 1;
  color: #fff7f2;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.landing-profile-row.is-active {
  color: #fff7f2;
  text-shadow: 0 0 14px color-mix(in srgb, var(--profile-accent, #ff8a5d) 26%, transparent);
}

@keyframes profile-backdrop-in {
  from { opacity: 0; backdrop-filter: blur(2px); }
  to { opacity: 1; backdrop-filter: blur(8px); }
}

@keyframes profile-dialog-in {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
    filter: saturate(0.8) brightness(0.86);
  }
  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) brightness(1);
  }
}

@keyframes profile-hero-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes profile-scan {
  0% { opacity: 0; transform: translateY(0); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(360px); }
}

@keyframes profile-slot-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes profile-slot-glint {
  0% { opacity: 0; transform: translateX(-58%) rotate(8deg); }
  24% { opacity: 0.78; }
  100% { opacity: 0; transform: translateX(58%) rotate(8deg); }
}

.news-card a,
.contact-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #fff0e7;
  font-weight: 700;
}

.shots-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: center;
}

.shots-grid > .shot-card {
  grid-column: span 2;
}

.shots-grid > .shot-card:nth-child(1) {
  grid-column: span 2;
}

.shots-grid > .shot-card:nth-child(2) {
  grid-column: span 2;
}

.shots-grid > .shot-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.shots-grid > .shot-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.shot-wide {
  grid-column: span 2;
}

.shot-card {
  min-height: 320px;
}

.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-card figcaption {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(10, 5, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.shot-card figcaption > span {
  display: none;
}

.shot-card figcaption > .shot-card-copy {
  display: block;
}

.raid-card-topline,
.raid-card-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.raid-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.28;
  font-weight: 600;
}

.raid-card p,
.raid-card-footer {
  margin: 0;
  color: var(--text-muted);
}

.raid-feed-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.raid-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 126, 90, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(18, 7, 10, 0.96), rgba(10, 4, 6, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.raid-card-featured {
  min-height: 0;
}

.raid-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.raid-card-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.raid-card-name strong {
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 700;
}

.raid-card-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.raid-card-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.raid-stat {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.raid-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.raid-stat strong {
  display: block;
  font-size: 1rem;
}

.raid-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: 2px;
}

.raid-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.raid-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.raid-replay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 186, 159, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 132, 97, 0.16), rgba(255, 255, 255, 0.02)),
    rgba(24, 8, 11, 0.82);
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.raid-replay-link:hover,
.raid-replay-link:focus-visible {
  border-color: rgba(255, 186, 159, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 144, 102, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(30, 10, 14, 0.9);
  transform: translateY(-1px);
}

.raid-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.raid-pager-status {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.raid-pager-btn {
  min-width: 120px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.raid-pager-btn:hover,
.raid-pager-btn:focus-visible {
  border-color: rgba(255, 186, 159, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.raid-pager-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.devlog-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 176, 112, 0.13), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(118, 176, 255, 0.09), transparent 26%),
    linear-gradient(180deg, rgba(29, 12, 14, 0.9), rgba(9, 6, 8, 0.94));
}

.devlog-heading {
  max-width: min(980px, 100%);
}

.devlog-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.devlog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.devlog-feature,
.devlog-gallery-shell,
.devlog-timeline-card,
.landing-devlog-dialog {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(11, 6, 8, 0.62);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.devlog-feature {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 460px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 24px;
  overflow: hidden;
}

.devlog-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 2, 3, 0.06), rgba(4, 2, 3, 0.78)),
    var(--devlog-cover, url("/assets/backgrounds/screen-loading.jpg")) center / cover no-repeat;
  opacity: 0.9;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 190ms ease, transform 220ms ease;
}

.devlog-feature > * {
  position: relative;
  z-index: 2;
}

.devlog-feature-cover-action {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.devlog-feature-cover-action:focus-visible {
  outline: 2px solid rgba(255, 190, 139, 0.82);
  outline-offset: -8px;
}

.devlog-feature-cover-action:hover ~ h3,
.devlog-feature-cover-action:focus-visible ~ h3 {
  color: #fff7f1;
}

@supports selector(:has(*)) {
  .devlog-feature:has(.devlog-feature-cover-action:hover)::before,
  .devlog-feature:has(.devlog-feature-cover-action:focus-visible)::before {
    opacity: 1;
    transform: scale(1.05);
  }
}

.devlog-kicker,
.devlog-reaction-btn,
.devlog-comment-reaction-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 218, 196, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffd4bf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.devlog-feature h3 {
  max-width: 820px;
  margin: 16px 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.02;
}

.devlog-feature p,
.devlog-timeline-card p,
.landing-devlog-body p,
.landing-devlog-body li,
.landing-devlog-body blockquote,
.devlog-comment-text,
.devlog-sub {
  color: var(--muted);
  line-height: 1.65;
}

.devlog-feature-actions,
.devlog-card-actions,
.devlog-reactions,
.devlog-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.devlog-feature-actions {
  margin-top: 20px;
}

.devlog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  color: #f2c9ba;
  font-size: 13px;
}

.devlog-feature-actions .devlog-meta-row,
.devlog-card-actions .devlog-meta-row {
  margin-top: 0;
}

.devlog-gallery-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
}

.devlog-gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffe8df;
}

.devlog-gallery-head span {
  font-weight: 700;
}

.devlog-gallery-head strong {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.devlog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.devlog-media-tile {
  position: relative;
  min-height: 188px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 218, 196, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.devlog-media-tile:first-child {
  grid-column: 1 / -1;
  min-height: 320px;
}

.devlog-media-tile img,
.devlog-media-tile video,
.devlog-detail-media img,
.devlog-detail-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.devlog-media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 2, 4, 0.08), rgba(5, 2, 4, 0.28) 40%, rgba(5, 2, 4, 0.88)),
    radial-gradient(circle at 16% 14%, rgba(255, 85, 67, 0.18), transparent 34%);
  pointer-events: none;
}

.devlog-media-tile:hover,
.devlog-media-tile:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(255, 88, 66, 0.12),
    inset 0 0 0 1px rgba(255, 218, 196, 0.18);
}

.devlog-media-live {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff4ef;
  text-align: left;
}

.devlog-media-live b {
  max-width: 82ch;
  color: #fff8f3;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.devlog-media-live em {
  color: #ffd5c7;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.devlog-media-live small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #f2c9ba;
  font-size: 12px;
  font-weight: 700;
}

.devlog-media-live small strong {
  color: #ffffff;
}

.devlog-media-live small i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 197, 168, 0.58);
}

.devlog-timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.devlog-timeline-card {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
}

.devlog-card-media {
  min-height: 152px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.devlog-card-media img,
.devlog-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devlog-card-body {
  min-width: 0;
}

.devlog-card-body h3 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
}

.devlog-card-body p {
  max-width: 76ch;
  margin: 0 0 12px;
}

.devlog-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.devlog-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 218, 196, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #f3d0c3;
  font-size: 12px;
  font-weight: 700;
}

.devlog-card-stats strong {
  color: #fff5ef;
  font-size: 13px;
}

.devlog-card-body .devlog-reactions {
  margin: 12px 0 14px;
}

.devlog-card-actions {
  padding-top: 2px;
}

.devlog-read-btn,
.devlog-submit-btn,
.devlog-plain-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 218, 196, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #fff2ed;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.devlog-reaction-btn,
.devlog-comment-reaction-btn {
  min-height: 34px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.devlog-reaction-btn.is-active,
.devlog-comment-reaction-btn.is-active {
  border-color: rgba(255, 177, 122, 0.54);
  background: rgba(255, 133, 84, 0.18);
  color: #fff7f2;
}

.landing-devlog-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 240ms ease,
    visibility 0ms linear 240ms;
}

.landing-devlog-modal.hidden {
  display: none;
}

.landing-devlog-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 260ms ease,
    visibility 0ms;
}

.landing-devlog-modal.is-closing {
  opacity: 0;
  pointer-events: none;
  visibility: visible;
  transition:
    opacity 210ms ease,
    visibility 0ms;
}

.landing-devlog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 4, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition:
    opacity 260ms ease,
    backdrop-filter 260ms ease,
    background 260ms ease;
}

.landing-devlog-modal.is-open .landing-devlog-backdrop {
  opacity: 1;
}

.landing-devlog-modal.is-closing .landing-devlog-backdrop {
  opacity: 0;
  backdrop-filter: blur(2px);
}

.landing-devlog-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(980px, calc(100vw - 24px));
  max-height: min(90vh, 940px);
  overflow: hidden;
  border-radius: 24px;
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transform-origin: 88% 6%;
  filter: saturate(0.82) brightness(0.9);
  transition:
    opacity 260ms ease,
    transform 300ms cubic-bezier(0.2, 0.85, 0.18, 1),
    filter 280ms ease;
  will-change: transform, opacity, filter;
}

.landing-devlog-dialog::before,
.landing-devlog-dialog::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.landing-devlog-dialog::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 104, 86, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 70, 55, 0.12), transparent 18% 82%, rgba(255, 176, 112, 0.08));
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 280ms ease;
}

.landing-devlog-dialog::after {
  left: -18%;
  right: -18%;
  top: -18%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255, 87, 68, 0.26), transparent);
  filter: blur(12px);
  opacity: 0;
}

.landing-devlog-modal.is-open .landing-devlog-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1) brightness(1);
}

.landing-devlog-modal.is-open .landing-devlog-dialog::before {
  opacity: 1;
}

.landing-devlog-modal.is-open .landing-devlog-dialog::after {
  animation: devlog-modal-scan 820ms ease-out 70ms both;
}

.landing-devlog-modal.is-closing .landing-devlog-dialog {
  opacity: 0;
  transform: translateY(12px) scale(0.975);
  filter: saturate(1.2) brightness(0.86);
}

@keyframes devlog-modal-scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(760px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-devlog-modal,
  .landing-devlog-backdrop,
  .landing-devlog-dialog {
    transition: none;
  }

  .landing-devlog-modal.is-open .landing-devlog-dialog::after {
    animation: none;
  }
}

.landing-devlog-dialog-head {
  position: relative;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 6, 8, 0.94);
  backdrop-filter: blur(14px);
}

.landing-devlog-dialog-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.02;
}

.landing-devlog-body {
  display: grid;
  gap: 18px;
  min-height: 0;
  padding: 18px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 177, 122, 0.38) rgba(255, 255, 255, 0.06);
}

.landing-devlog-body::-webkit-scrollbar {
  width: 10px;
}

.landing-devlog-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.landing-devlog-body::-webkit-scrollbar-thumb {
  border: 2px solid rgba(14, 7, 10, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 177, 122, 0.56), rgba(128, 37, 41, 0.62));
}

.landing-devlog-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 204, 151, 0.72), rgba(171, 52, 54, 0.74));
}

.devlog-detail-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(255, 218, 196, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 97, 73, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.devlog-detail-brief h3 {
  margin: 10px 0 8px;
  color: #fff6f1;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.devlog-detail-brief p {
  max-width: 80ch;
  margin: 0;
}

.devlog-detail-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.devlog-detail-stats span {
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 218, 196, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #f3d0c3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.devlog-detail-stats strong {
  color: #fff5ef;
  font-size: 20px;
  line-height: 1;
}

.devlog-detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.devlog-detail-media {
  position: relative;
  margin: 0;
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.devlog-detail-media-primary,
.devlog-detail-media:first-child {
  grid-column: 1 / -1;
  min-height: 380px;
}

.devlog-detail-media.is-focused {
  box-shadow:
    0 0 0 1px rgba(255, 177, 122, 0.48),
    0 0 30px rgba(255, 89, 68, 0.16);
}

.devlog-detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(5, 2, 4, 0.84));
  pointer-events: none;
}

.devlog-detail-media figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff6f1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.devlog-story {
  display: grid;
  gap: 12px;
  max-width: 78ch;
}

.devlog-story h3,
.devlog-story h4 {
  margin: 8px 0 0;
  color: #fff5ef;
}

.devlog-story p,
.devlog-story ul,
.devlog-story blockquote {
  margin: 0;
}

.devlog-story ul {
  padding-left: 20px;
}

.devlog-story blockquote {
  padding: 12px 16px;
  border-left: 3px solid rgba(255, 168, 112, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.devlog-comments {
  display: grid;
  gap: 12px;
}

.devlog-comment-form,
.devlog-comment {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.devlog-comment-form input,
.devlog-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(6, 3, 5, 0.72);
  color: #fff4ef;
  font: inherit;
}

.devlog-comment-form input {
  min-height: 42px;
  padding: 0 12px;
}

.devlog-comment-form textarea {
  min-height: 94px;
  padding: 12px;
  resize: vertical;
}

.devlog-comment-identity,
.devlog-auth-hint {
  color: #f1d4ca;
  line-height: 1.45;
}

.devlog-comment-identity strong,
.devlog-comment-hero {
  color: #ffd1bf;
}

.devlog-comment-author-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffe4d8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(255, 178, 143, 0.34);
  text-underline-offset: 3px;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.devlog-comment-author-btn:hover,
.devlog-comment-author-btn:focus-visible {
  color: #fff8f3;
  filter: drop-shadow(0 0 8px rgba(255, 122, 88, 0.32));
  text-decoration-color: rgba(255, 206, 184, 0.82);
  transform: translateY(-1px);
}

.devlog-comment-author-btn:active {
  transform: translateY(1px) scale(0.99);
}

.devlog-comment-head .devlog-comment-author-btn .devlog-comment-hero {
  color: #ffd1bf;
  font-size: inherit;
}

.devlog-auth-hint {
  align-items: start;
}

.devlog-auth-hint .devlog-submit-btn {
  width: fit-content;
  text-decoration: none;
}

.devlog-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffe4d8;
}

.devlog-comment-head span {
  color: var(--muted);
  font-size: 12px;
}

.devlog-comment-replies {
  display: grid;
  gap: 10px;
  margin-left: 18px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

body.menu-open {
  overflow: hidden;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes drift {
  0%, 100% { transform: translate(-18%, 6%); }
  50% { transform: translate(-10%, 2%); }
}

@keyframes emberRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.75);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  55% {
    opacity: 0.72;
  }
  100% {
    transform: translate3d(56px, -360px, 0) scale(1.16);
    opacity: 0;
  }
}

@keyframes ashDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(10deg);
    opacity: 0;
  }
  15% {
    opacity: 0.32;
  }
  80% {
    opacity: 0.24;
  }
  100% {
    transform: translate3d(160px, -260px, 0) rotate(-14deg);
    opacity: 0;
  }
}

@keyframes smokeLiftA {
  0% {
    transform: translate3d(-56px, 20px, 0) scale(0.7);
    opacity: 0;
  }
  10% {
    opacity: 0.26;
  }
  44% {
    opacity: 0.32;
  }
  78% {
    opacity: 0.14;
  }
  100% {
    transform: translate3d(92px, -166px, 0) scale(1.24);
    opacity: 0;
  }
}

@keyframes smokeLiftB {
  0% {
    transform: translate3d(42px, 26px, 0) scale(0.68);
    opacity: 0;
  }
  12% {
    opacity: 0.24;
  }
  48% {
    opacity: 0.29;
  }
  82% {
    opacity: 0.12;
  }
  100% {
    transform: translate3d(-88px, -210px, 0) scale(1.34);
    opacity: 0;
  }
}

@keyframes smokeLiftC {
  0% {
    transform: translate3d(54px, 14px, 0) scale(0.74);
    opacity: 0;
  }
  14% {
    opacity: 0.22;
  }
  54% {
    opacity: 0.27;
  }
  76% {
    opacity: 0.1;
  }
  100% {
    transform: translate3d(-76px, -150px, 0) scale(1.2);
    opacity: 0;
  }
}

@keyframes smokeLiftD {
  0% {
    transform: translate3d(-18px, 24px, 0) scale(0.66);
    opacity: 0;
  }
  16% {
    opacity: 0.2;
  }
  52% {
    opacity: 0.26;
  }
  88% {
    opacity: 0.08;
  }
  100% {
    transform: translate3d(72px, -182px, 0) scale(1.28);
    opacity: 0;
  }
}

@keyframes smokeLiftE {
  0% {
    transform: translate3d(34px, 10px, 0) scale(0.72);
    opacity: 0;
  }
  12% {
    opacity: 0.18;
  }
  42% {
    opacity: 0.24;
  }
  74% {
    opacity: 0.1;
  }
  100% {
    transform: translate3d(-64px, -170px, 0) scale(1.22);
    opacity: 0;
  }
}

@keyframes smokeLiftF {
  0% {
    transform: translate3d(-28px, 16px, 0) scale(0.62);
    opacity: 0;
  }
  18% {
    opacity: 0.16;
  }
  58% {
    opacity: 0.22;
  }
  86% {
    opacity: 0.08;
  }
  100% {
    transform: translate3d(82px, -190px, 0) scale(1.26);
    opacity: 0;
  }
}

@keyframes fireGlow {
  0%, 100% { opacity: 0.58; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.08); }
}

@keyframes emberPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(1.1); }
}

@media (max-width: 1180px) {
  .hero-section,
  .arsenal-panel,
  .hub-layout {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    margin-inline: calc(clamp(18px, 3vw, 44px) * -1);
  }

  .hub-rail {
    grid-template-columns: 1fr;
  }

  .hero-stage-visual {
    width: 100%;
  }

  .hero-collage {
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .play-grid,
  .about-grid,
  .news-grid,
  .ratings-grid,
  .contacts-grid,
  .heroes-showcase,
  .shots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-card-main,
  .shot-wide {
    grid-column: span 2;
  }

  .shots-grid > .shot-card:nth-child(1),
  .shots-grid > .shot-card:nth-child(2) {
    grid-column: span 1;
  }

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

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

  .live-run-overview,
  .live-run-stats,
  .live-run-player-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .devlog-layout {
    grid-template-columns: 1fr;
  }

  .live-run-actions {
    grid-template-columns: 1fr;
  }

  .battle-hub-heading {
    grid-template-columns: 1fr;
  }

  .battle-hub-heading-logo {
    justify-content: flex-start;
  }

  .battle-hub-heading-logo-img {
    width: min(100%, 320px);
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 41;
  }

  .site-nav {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    right: 0;
    left: 0;
    height: calc(100dvh - 64px - env(safe-area-inset-top));
    min-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px - env(safe-area-inset-top));
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    padding: 24px 24px max(40px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at top center, rgba(255, 119, 84, 0.12), transparent 26%),
      linear-gradient(180deg, rgba(9, 4, 6, 0.94), rgba(9, 4, 6, 0.98));
    backdrop-filter: blur(18px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(320px, 100%);
    min-height: 58px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
      rgba(25, 9, 13, 0.7);
    font-size: 15px;
    letter-spacing: 0.12em;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transform: translateY(10px);
    opacity: 0;
    transition:
      transform 220ms ease,
      opacity 220ms ease,
      border-color 180ms ease,
      background 180ms ease;
  }

  .site-nav.is-open a {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a:nth-child(1) { transition-delay: 40ms; }
  .site-nav a:nth-child(2) { transition-delay: 70ms; }
  .site-nav a:nth-child(3) { transition-delay: 100ms; }
  .site-nav a:nth-child(4) { transition-delay: 130ms; }
  .site-nav a:nth-child(5) { transition-delay: 160ms; }
  .site-nav a:nth-child(6) { transition-delay: 190ms; }
  .site-nav a:nth-child(7) { transition-delay: 220ms; }
  .site-nav a:nth-child(8) { transition-delay: 250ms; }
  .site-nav a:nth-child(9) { transition-delay: 280ms; }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    border-color: rgba(255, 186, 159, 0.34);
    background:
      linear-gradient(180deg, rgba(255, 144, 102, 0.14), rgba(255, 255, 255, 0.03)),
      rgba(35, 10, 14, 0.86);
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-section {
    align-items: start;
  }

  .hero-copy::after {
    content: none;
  }

  .hero-stats,
  .play-grid,
  .about-grid,
  .news-grid,
  .ratings-grid,
  .contacts-grid,
  .heroes-showcase,
  .shots-grid,
  .skill-list,
  .knowledge-library {
    grid-template-columns: 1fr;
  }

  .arsenal-copy-library,
  .knowledge-library {
    padding: 22px;
  }

  .codex-card {
    min-height: auto;
  }

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

  .play-card-main,
  .shot-wide {
    grid-column: auto;
  }

  .shots-grid > .shot-card {
    grid-column: auto;
  }

  .play-card-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stage-visual {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .hero-collage {
    object-position: center center;
  }

  .battle-hub-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-run-player-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-player-controls {
    padding: 12px;
  }

  .live-player-center-toggle {
    width: 96px;
    height: 96px;
    font-size: 14px;
  }

  .live-player-fullscreen-toggle {
    top: 12px;
    right: 12px;
  }

  .live-player-controlbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .live-player-time {
    display: none;
  }

  .live-player-volume {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(70px, 1fr);
  }

  .live-player-volume-slider {
    opacity: 1;
  }

  .live-run-overview,
  .live-run-stats,
  .live-run-player-foot {
    grid-template-columns: 1fr;
  }

  .live-run-switcher {
    grid-template-columns: 1fr;
  }

  .live-run-commentary {
    grid-template-columns: 1fr;
  }

  .live-run-commentary-avatar {
    width: 148px;
  }

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

  .devlog-detail-media-grid,
  .devlog-gallery {
    grid-template-columns: 1fr;
  }

  .devlog-detail-media:first-child,
  .devlog-media-tile:first-child {
    grid-column: auto;
  }

  .landing-profile-hero-card,
  .landing-profile-skill-grid,
  .landing-profile-equipment-grid {
    grid-template-columns: 1fr;
  }

  .landing-profile-hero-art {
    width: min(154px, 58vw);
  }

  .landing-profile-hero-stats,
  .landing-profile-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 8px 14px;
  }

  main {
    padding: 0 14px 44px;
  }

  .section-frame,
  .landing-section {
    border-radius: 24px;
  }

  .hero-section {
    padding: 20px;
  }

  .hero-banner {
    margin-inline: -14px;
  }

  .hero-banner-image {
    width: 100%;
    height: auto;
  }

  .hero-banner-fx::before {
    width: 180px;
    height: 180px;
    left: -14%;
    bottom: 3%;
  }

  .hero-banner-fx::after {
    width: 140px;
    height: 140px;
    top: 6%;
    right: -4%;
  }

  .smoke-a,
  .smoke-b,
  .smoke-c,
  .smoke-d,
  .smoke-e,
  .smoke-f {
    filter: blur(10px);
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-copy::before {
    font-size: 11px;
    line-height: 1.4;
    padding: 9px 12px;
  }

  .hero-copy {
    padding: 22px 18px;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .hero-stage-hud {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px;
  }

  .badge-danger {
    left: 14px;
    right: auto;
    bottom: 14px;
  }

  .badge-lightning {
    right: 14px;
    top: auto;
    bottom: 72px;
  }

  .raid-card {
    padding: 18px;
  }

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

  .raid-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-run-copy,
  .live-run-player,
  .live-run-player-wide {
    padding: 16px;
  }

  .live-run-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .live-run-canvas-wrap,
  .live-run-canvas {
    min-height: 280px;
  }

  .devlog-feature {
    min-height: 360px;
  }

  .devlog-detail-media,
  .devlog-detail-media:first-child {
    min-height: 220px;
  }

  .landing-devlog-dialog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-profile-modal {
    padding: 10px;
  }

  .landing-profile-dialog {
    max-height: calc(100dvh - 20px);
    padding: 12px;
    border-radius: 20px;
  }

  .landing-profile-head {
    align-items: flex-start;
  }

  .landing-profile-head b {
    font-size: 22px;
  }

  .landing-profile-hero-card,
  .landing-profile-card {
    padding: 12px;
  }

  .landing-profile-hero-art {
    width: min(150px, 62vw);
  }

  .landing-profile-slot {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
  }

  .landing-profile-slot em {
    grid-column: 2;
  }

  .landing-profile-run {
    grid-template-columns: 1fr;
  }

  .landing-profile-run-launch {
    width: fit-content;
  }

}

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