/* ==========================================================================
   星火社区 · WARDOGS — 电影感重制版（演示）
   独立完整样式表：不再加载 site.css / esports.css / refresh.css。
   语言：近黑底色、骨白文字、单一琥珀强调、超大字排版、细线分隔、大留白。
   ========================================================================== */

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0b0704;
  --ink-2: #130c07;
  --ink-3: #1c130a;
  --bone: #f6ead3;
  --mute: #bfac91;
  --faint: #8a7460;
  --line: rgba(246, 234, 211, 0.13);
  --line-soft: rgba(246, 234, 211, 0.075);
  --line-strong: rgba(246, 234, 211, 0.28);
  --ember: #ff7420;
  --ember-2: #ffc287;
  --amber: #d99a4e;
  --blue: #54b7f2;
  --red: #f9544a;
  --green: #2ad06a;
  --gold: #eec481;
  --ok: #3ddc84;
  --max: 1400px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --font: "Barlow", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "Barlow", "Cascadia Mono", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(75vw 50vh at 82% -8%, rgba(196, 96, 24, 0.16), transparent 64%),
    radial-gradient(65vw 45vh at 4% 26%, rgba(128, 62, 16, 0.10), transparent 70%),
    radial-gradient(110vw 60vh at 50% 106%, rgba(158, 76, 18, 0.12), transparent 72%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--bone);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
svg { display: block; }
::selection { background: rgba(255, 116, 32, 0.35); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(246, 234, 211, 0.14); border: 2px solid var(--ink); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 116, 32, 0.55); }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 4px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.progress.is-active { opacity: 1; }
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 116, 32, 0.2), var(--ember));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ==========================================================================
   顶栏
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  height: 88px;
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.topbar.is-stuck {
  height: 66px;
  background: rgba(11, 7, 4, 0.78);
  backdrop-filter: blur(22px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--bone);
  transition: color 0.3s;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.brand:hover .brand-mark { color: var(--ember); }
.brand-mark.small { width: 24px; height: 24px; }
.brand-mark.small svg { width: 22px; height: 22px; }
.brand-type { display: flex; flex-direction: column; line-height: 1.15; }
.brand-type strong { font-size: 15px; font-weight: 500; letter-spacing: 0.22em; }
.brand-type small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--faint);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); justify-self: center; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(246, 234, 211, 0.52);
  white-space: nowrap;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ember);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--bone); }
.nav a.is-active { color: var(--bone); }
.nav a.is-active::after { transform: translateX(-50%) scale(1); }

.topbar-side { display: flex; align-items: center; gap: 14px; justify-self: end; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.06em;
}
.live-pill b { color: var(--bone); font-weight: 500; }
.live-dot, .pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.12);
  flex: none;
}
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.14); }
  50% { opacity: 0.4; box-shadow: 0 0 0 6px rgba(61, 220, 132, 0.02); }
}
.admin-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
  transition: color 0.25s;
}
.admin-link:hover { color: var(--bone); }
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 15px; height: 1px;
  background: var(--bone);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { margin-top: -3px; }
.menu-toggle span:nth-child(2) { margin-top: 3px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); margin-top: 0; }
body.menu-open .menu-toggle span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); margin-top: 0; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--bone);
  color: #140d06;
}
.btn-primary:hover { background: #fffaf0; }
.btn-outline {
  border-color: var(--line-strong);
  color: var(--bone);
  background: transparent;
}
.btn-outline:hover { border-color: var(--ember); color: var(--ember-2); }
.btn-small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border-color: var(--line);
  color: var(--mute);
  background: transparent;
}
.btn-small:hover { color: var(--bone); border-color: var(--line-strong); }
.arrow { font-size: 13px; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   首屏 · 电影感
   ========================================================================== */
.masthead {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
}
.masthead-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.m-moon {
  position: absolute;
  top: 4vh; right: -8vw;
  width: 62vw; height: 62vw;
  max-width: 1020px; max-height: 1020px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 194, 135, 0.40), rgba(255, 116, 32, 0.18) 42%, rgba(255, 116, 32, 0.04) 62%, transparent 70%);
  filter: blur(2px);
  opacity: 0.92;
}
.m-glow {
  position: absolute;
  left: 50%; bottom: -34vh;
  width: 130vw; height: 100vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 116, 32, 0.34), rgba(196, 96, 24, 0.10) 38%, transparent 68%);
  filter: blur(6px);
}
.m-beams {
  position: absolute;
  inset: -20% -10%;
  background:
    linear-gradient(104deg, transparent 32%, rgba(246, 234, 211, 0.05) 34%, transparent 36%),
    linear-gradient(104deg, transparent 58%, rgba(246, 234, 211, 0.035) 60%, transparent 62%),
    linear-gradient(104deg, transparent 78%, rgba(255, 116, 32, 0.05) 80%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 10%, transparent 75%);
}
.m-ridge {
  position: absolute;
  left: 50%; bottom: -2px;
  width: 150vw; height: 46vh;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1px solid rgba(255, 194, 135, 0.30);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 116, 32, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(19, 12, 7, 0.2), var(--ink) 72%);
  box-shadow: 0 -30px 120px rgba(255, 116, 32, 0.20);
}
.m-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 46%, transparent 34%, rgba(6, 4, 2, 0.74) 100%),
    linear-gradient(180deg, rgba(11, 7, 4, 0.72) 0%, transparent 26%, transparent 68%, rgba(11, 7, 4, 0.86) 100%);
}

.masthead-rail {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  right: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.42em;
  color: rgba(246, 234, 211, 0.16);
  pointer-events: none;
}
.masthead-rail span:last-child { writing-mode: vertical-rl; transform: translateX(6px); }
.masthead-rail span:first-child { writing-mode: vertical-rl; transform: rotate(180deg) translateX(6px); }

.masthead-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }
.masthead-kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 30px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  color: var(--ember-2);
}
.masthead-kicker i { width: 26px; height: 1px; background: var(--ember); }

.masthead-title { margin: 0; }
.mt-cn {
  display: block;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 400;
  letter-spacing: 0.92em;
  color: rgba(246, 234, 211, 0.72);
  margin-bottom: 14px;
  transform: translateX(2px);
}
.mt-en {
  display: block;
  font-size: clamp(74px, 17vw, 268px);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.035em;
  background: linear-gradient(178deg, #fff8ea 6%, #f6ead3 38%, #c9ab84 72%, #6d5540 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.masthead-lead {
  max-width: 40ch;
  margin: 40px 0 0;
  font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.95;
  color: var(--mute);
  font-weight: 400;
}
.masthead-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.masthead-tags span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.masthead-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.masthead-foot {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 72px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.36em;
  color: rgba(246, 234, 211, 0.34);
}
.mf-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); position: relative; }
.mf-line i {
  position: absolute; left: 0; top: -1.5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ember);
  animation: travel 4.5s var(--ease) infinite;
}
@keyframes travel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ==========================================================================
   首屏数据总览（仪表盘）
   ========================================================================== */
.console {
  position: relative;
  z-index: 5;
  max-width: var(--max);
  margin: -84px auto 0;
  padding: 0 var(--gutter);
}
.console-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.92fr;
  border: 1px solid var(--line);
  background: rgba(19, 12, 7, 0.86);
  backdrop-filter: blur(26px) saturate(1.1);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7);
}
.console-cell { padding: 26px 28px; min-width: 0; }
.console-cell + .console-cell { border-left: 1px solid var(--line); }
.cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.cc-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--faint);
}
.cc-more {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  transition: color 0.25s;
}
.cc-more:hover { color: var(--ember-2); }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ok);
  white-space: nowrap;
}
.status-chip.is-offline { color: var(--red); }
.status-chip.is-offline .live-dot { background: var(--red); box-shadow: none; }

.live-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  padding: 20px 0 4px;
}
.figure { min-width: 0; }
.figure b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.figure span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.hero-scoreboard { border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 14px; }
.score-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 11.5px;
}
.score-name { display: flex; align-items: center; gap: 7px; color: var(--mute); white-space: nowrap; }
.score-name i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.score-bar { height: 2px; background: rgba(246, 234, 211, 0.08); overflow: hidden; }
.score-bar span { display: block; height: 100%; }
.score-val { font-family: var(--mono); font-size: 12.5px; text-align: right; }
.cc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.cc-clock { color: var(--mute); font-size: 12px; letter-spacing: 0.08em; }

.dash-list { list-style: none; margin: 8px 0 0; padding: 0; }
.dash-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.dash-row:last-child { border-bottom: 0; }
.dr-rank { font-family: var(--mono); font-size: 9.5px; color: var(--faint); letter-spacing: 0.08em; }
.dr-name {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dr-name i { width: 4px; height: 4px; border-radius: 50%; background: var(--fc, var(--ember)); flex: none; }
.dr-kills { font-family: var(--mono); font-size: 13px; color: var(--bone); }
.dr-kills small { font-size: 8.5px; letter-spacing: 0.1em; color: var(--faint); margin-left: 3px; }

.dash-match { padding-top: 20px; }
.dm-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin-bottom: 18px;
}
.dm-status { color: var(--ember-2); }
.dm-teams { display: grid; gap: 10px; }
.dm-team { display: flex; align-items: center; gap: 12px; }
.dm-team span {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dm-team b {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  color: var(--bone);
}
.dm-team.is-b b { color: var(--mute); }
.dm-vs { display: flex; align-items: center; gap: 10px; margin: 2px 0; }
.dm-vs span { flex: 1; height: 1px; background: var(--line-soft); }
.dm-vs em { font-family: var(--mono); font-size: 9px; font-style: normal; letter-spacing: 0.2em; color: var(--faint); }
.dm-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.console-note {
  margin: 12px 0 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(246, 234, 211, 0.26);
}

/* ==========================================================================
   版块通用
   ========================================================================== */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(88px, 9.5vw, 148px) var(--gutter);
}
.section + .section { border-top: 1px solid var(--line-soft); }
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) auto;
  align-items: end;
  gap: 36px;
  margin-bottom: 54px;
}
.sec-head.compact { grid-template-columns: 1fr; margin-bottom: 34px; }
.sec-id { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.sec-no {
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ember);
  flex: none;
}
.sec-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  color: var(--faint);
}
.sec-title h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
}
.sec-desc {
  margin: 0 0 4px;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--mute);
}
.sec-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  flex-wrap: wrap;
}
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
  white-space: nowrap;
}
.source-chip::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--faint);
}
.source-chip.is-live { color: var(--mute); }
.source-chip.is-live::before { background: var(--ok); box-shadow: 0 0 8px rgba(61, 220, 132, 0.7); }
.source-chip.is-offline::before { background: var(--red); }
.board-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mute);
  white-space: nowrap;
}
.empty {
  margin: 18px 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--faint);
}
.empty a { color: var(--ember-2); }

/* 入场动画（site.js 会给 .section / .join-card / .faq-wrap 加 .reveal） */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.skeleton, .skeleton-card, .skeleton-row {
  position: relative;
  overflow: hidden;
  background: rgba(246, 234, 211, 0.04);
}
.skeleton-card { min-height: 210px; border: 1px solid var(--line); }
.skeleton-row { height: 36px; margin: 6px 0; border: 0; }
.skeleton::after, .skeleton-card::after, .skeleton-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(246, 234, 211, 0.06), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ==========================================================================
   01 实时战况
   ========================================================================== */
.live-meta {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1px;
}
.meta-item { padding: 18px 20px; min-width: 0; }
.meta-item + .meta-item { border-left: 1px solid var(--line-soft); }
.meta-item span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-bottom: 5px;
}
.meta-item b {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.faction-card {
  position: relative;
  padding: 26px 26px 22px;
  background: #100a06;
  overflow: hidden;
}
.faction-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--fcolor);
  opacity: 0.85;
}
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f-name {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.f-name i { width: 6px; height: 6px; border-radius: 50%; background: var(--fcolor); flex: none; }
.f-pos {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
  white-space: nowrap;
}
.f-score {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fcolor);
}
.f-score small { font-size: 11px; letter-spacing: 0.06em; color: var(--faint); margin-left: 8px; }
.f-bar { height: 2px; background: rgba(246, 234, 211, 0.08); margin: 16px 0 20px; }
.f-bar span { display: block; height: 100%; background: var(--fcolor); }
.f-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.f-stats div { min-width: 0; }
.f-stats b { display: block; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.f-stats span { display: block; font-size: 9.5px; letter-spacing: 0.1em; color: var(--faint); margin-top: 2px; }

.live-lower {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  border: 1px solid var(--line);
  border-top: 0;
}
.panel { padding: 26px 28px 24px; min-width: 0; background: #100a06; }
.live-lower .panel + .panel { border-left: 1px solid var(--line); }
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.panel-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--faint);
  white-space: nowrap;
}

.kill-leaders { padding: 10px 0 6px; }
.kill-leader {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.kill-leader:last-child { border-bottom: 0; }
.kl-rank { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--faint); }
.kl-name {
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kl-kills { font-family: var(--mono); font-size: 16px; color: var(--bone); }
.kl-kills small { font-size: 8.5px; letter-spacing: 0.1em; color: var(--faint); margin-left: 4px; }

.kill-feed {
  margin-top: 14px;
  max-height: 268px;
  overflow: auto;
  overscroll-behavior: contain;
}
.kill-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 11.5px;
}
.kill-line:last-child { border-bottom: 0; }
.k-time { font-family: var(--mono); font-size: 9.5px; color: var(--faint); letter-spacing: 0.04em; }
.k-killer, .k-victim { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-arrow { font-family: var(--mono); font-size: 10px; color: var(--faint); text-align: center; }
.k-weapon {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  border: 1px solid var(--line-soft);
  padding: 1px 5px;
  white-space: nowrap;
}

.intel { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 26px; padding-top: 20px; }
.intel-col { min-width: 0; }
.intel-col h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--faint);
}
.intel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--mute);
}
.intel-row b { font-family: var(--mono); font-size: 12.5px; color: var(--bone); font-weight: 500; }
.intel-block { margin-top: 12px; }
.intel-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--mute);
  margin-bottom: 5px;
}
.intel-label b { font-family: var(--mono); font-size: 11.5px; color: var(--bone); font-weight: 500; }
.intel-bar { height: 2px; background: rgba(246, 234, 211, 0.08); }
.intel-bar span { display: block; height: 100%; background: var(--fcolor); }

/* 阵营色点 */
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
  vertical-align: middle;
}
.dot.blue { background: var(--blue); }
.dot.red { background: var(--red); }
.dot.green { background: var(--green); }

/* ==========================================================================
   02 排行榜
   ========================================================================== */
.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1px;
}
.segmented { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.seg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid transparent;
  background: none;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.seg:hover { color: var(--bone); }
.seg.active {
  color: var(--bone);
  border-color: var(--line-strong);
  background: rgba(246, 234, 211, 0.04);
}
.seg .dot { margin-right: 1px; }

.board-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(246, 234, 211, 0.02);
  transition: border-color 0.3s var(--ease);
}
.search:focus-within { border-color: rgba(255, 116, 32, 0.55); }
.search svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.6;
  flex: none;
}
.search input {
  width: clamp(140px, 18vw, 210px);
  border: 0;
  background: none;
  outline: none;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.search input::placeholder { color: rgba(246, 234, 211, 0.28); }
.select {
  height: 42px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  background-color: rgba(246, 234, 211, 0.02);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236c6962' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  appearance: none;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  outline: none;
}
.select:focus { border-color: rgba(255, 116, 32, 0.55); }

.table-wrap {
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  overscroll-behavior-x: contain;
}
.board-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.board-table th {
  padding: 14px 14px;
  text-align: left;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--faint);
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}
.board-table th.col-num { text-align: right; }
.board-table th.sortable { cursor: pointer; user-select: none; transition: color 0.25s var(--ease); }
.board-table th.sortable:hover { color: var(--bone); }
.board-table th.is-active { color: var(--ember); }
.board-table th.sortable i {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.board-table th.sortable.is-active i { opacity: 0.9; }
.board-table th.sortable.desc i { transform: rotate(180deg); }
.board-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  vertical-align: middle;
}
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table tbody tr { transition: background 0.25s var(--ease); }
.board-table tbody tr:hover { background: rgba(246, 234, 211, 0.025); }

.col-rank { width: 84px; white-space: nowrap; }
.rank-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.board-table tbody tr:nth-child(1) .rank-badge,
.board-table tbody tr:nth-child(2) .rank-badge,
.board-table tbody tr:nth-child(3) .rank-badge { color: var(--gold); }
.rank-delta {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}
.rank-delta.up { color: var(--ok); }
.rank-delta.down { color: var(--red); }

.player-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(246, 234, 211, 0.05);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone);
}
.player-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.player-name {
  font-size: 13px;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-id {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.faction-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--mute);
  white-space: nowrap;
}
.faction-tag i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mute);
  white-space: nowrap;
}
.board-table td.col-num { text-align: right; }
.num.cash { color: var(--bone); }
.num.kills { color: var(--bone); }
.table-empty {
  padding: 44px 20px !important;
  text-align: center;
  color: var(--faint);
  font-size: 12.5px;
}
.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 14px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.board-legend { display: inline-flex; align-items: center; gap: 6px; }
.board-legend .dot { margin-left: 8px; }

/* ==========================================================================
   03 服务器
   ========================================================================== */
.server-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1px;
}
.connect-card {
  padding: clamp(26px, 3.4vw, 40px);
  background: #100a06;
  min-width: 0;
}
.connect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.connect-head h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.connect-copy {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--mute);
}
.address-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(246, 234, 211, 0.025);
}
.connect-label {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: var(--faint);
}
.address-box code {
  font-family: var(--mono);
  font-size: clamp(15px, 2vw, 21px);
  letter-spacing: 0.01em;
  color: var(--bone);
  word-break: break-all;
}
.connect-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.connect-meta div { padding: 14px 0; min-width: 0; }
.connect-meta div + div { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.connect-meta span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin-bottom: 4px;
}
.connect-meta b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.connect-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.rotation-panel { background: #100a06; }
.rotation { padding-top: 8px; }
.rotation-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.rotation-item:last-child { border-bottom: 0; }
.r-idx { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--faint); }
.r-map {
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.r-tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--ember);
  border: 1px solid rgba(255, 116, 32, 0.35);
  padding: 1px 6px;
  white-space: nowrap;
}
.r-tag.muted { color: var(--faint); border-color: var(--line-soft); }
.rotation-item.is-now .r-idx { color: var(--ember); }
.rotation-item.is-now .r-map { color: var(--bone); }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.rule-card { padding: 24px 26px; background: #100a06; min-width: 0; }
.rule-card b { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; }
.rule-card p {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--mute);
}

/* ==========================================================================
   04 赛事
   ========================================================================== */
.es-notice {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-left: 2px solid var(--ember);
  background: rgba(255, 116, 32, 0.06);
  font-size: 12px;
  line-height: 1.85;
  color: var(--mute);
}
.es-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.es-stat { padding: 20px 22px; min-width: 0; }
.es-stat + .es-stat { border-left: 1px solid var(--line-soft); }
.es-stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1;
  color: var(--bone);
}
.es-stat span {
  display: block;
  margin-top: 7px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.es-block { margin-top: 52px; }
.es-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.es-block-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.es-matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.es-match {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  background: #100a06;
  min-width: 0;
  transition: background 0.3s var(--ease);
}
.es-match:hover { background: #170f08; }
.es-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.es-round {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.es-status {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--faint);
  white-space: nowrap;
}
.es-status.live { color: var(--red); border-color: rgba(249, 84, 74, 0.45); }
.es-status.soon { color: var(--ember); border-color: rgba(255, 116, 32, 0.4); }
.es-status.done { color: var(--faint); }
.es-match-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  flex: 1;
}
.es-team { min-width: 0; }
.es-team-name {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--bone);
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.es-team.is-b { text-align: right; }
.es-vs {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.es-score {
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bone);
  white-space: nowrap;
}
.es-match-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.es-match-foot span:last-child { white-space: nowrap; }

.es-squads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.es-squad {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: #100a06;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.es-squad::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--es-theme, var(--ember));
  opacity: 0.8;
}
.es-squad:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.es-squad.is-solo { background: #0e0905; }
.es-squad-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.es-squad-logo {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.es-logo-text {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--es-theme, var(--ember));
  background: rgba(246, 234, 211, 0.04);
  overflow: hidden;
}
.es-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
  border: 1px solid var(--line-soft);
  padding: 2px 7px;
  white-space: nowrap;
}
.es-squad-head h4 {
  flex: 1 1 100%;
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.es-squad-motto {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mute);
}
.es-captain {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(246, 234, 211, 0.02);
}
.es-captain img {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  object-fit: cover;
  flex: none;
}
.es-captain span { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--faint); }
.es-captain b { display: block; font-size: 14px; font-weight: 500; }
.es-roster { display: flex; flex-wrap: wrap; gap: 12px; }
.es-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 46px;
}
.es-person img {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}
.es-person i {
  max-width: 100%;
  font-size: 10.5px;
  font-style: normal;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.es-person.is-sub { opacity: 0.45; }
.es-squad-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.es-links { display: inline-flex; gap: 14px; }
.es-links a { color: var(--ember-2); transition: color 0.25s var(--ease); }
.es-links a:hover { color: var(--ember); }

/* 社区战队 */
.es-clans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.es-clan { background: #0d0a07; }
.es-clan.has-cover {
  background-image:
    linear-gradient(180deg, rgba(10, 8, 6, 0.55), rgba(10, 8, 6, 0.92) 74%),
    var(--es-cover);
  background-size: cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.es-clan-notice {
  margin: 12px 0 0;
  padding: 9px 11px;
  border-left: 2px solid var(--es-theme, var(--ember));
  background: rgba(246, 234, 211, 0.04);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 分工小队过多时在卡片内部滚动，避免把整页拉长 */
.es-units-wrap { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.es-units-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.es-units-head b { font-weight: 500; color: var(--text); letter-spacing: 0.06em; }
.es-units {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 234, 211, 0.22) transparent;
}
.es-units::-webkit-scrollbar { width: 6px; }
.es-units::-webkit-scrollbar-track { background: transparent; }
.es-units::-webkit-scrollbar-thumb { background: rgba(246, 234, 211, 0.2); border-radius: 3px; }
.es-units::-webkit-scrollbar-thumb:hover { background: rgba(246, 234, 211, 0.34); }
.es-unit {
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(246, 234, 211, 0.02);
}
.es-unit-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
}
.es-unit-head b {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
}
.es-unit-head span {
  font-size: 11px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.es-unit-head em {
  margin-left: auto;
  flex: none;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.es-unit-empty { margin: 0; font-size: 11.5px; color: var(--faint); }

/* ==========================================================================
   05 社区
   ========================================================================== */
.community-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-news {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 40px);
  background: #100a06;
  min-width: 0;
}
.news-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--ember);
  border: 1px solid rgba(255, 116, 32, 0.35);
  padding: 2px 8px;
}
.feature-news h3 {
  margin: 18px 0 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.feature-news p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
}
.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.news-foot a { color: var(--ember-2); }
.news-foot a:hover { color: var(--ember); }

.news-list { background: #100a06; min-width: 0; }
.news-item {
  display: block;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: rgba(246, 234, 211, 0.025); }
.n-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.n-tag { color: var(--ember-2); }
.news-item b {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.news-item p {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}
.event-card { padding: 24px 26px; background: #100a06; min-width: 0; }
.e-when {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--ember);
}
.event-card b {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 500;
}
.event-card p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--mute);
}

/* ==========================================================================
   06 加入 + 07 FAQ
   ========================================================================== */
.section-join { padding-top: clamp(72px, 8vw, 120px); }
.join-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 88% 8%, rgba(255, 116, 32, 0.14), transparent 58%),
    #100a06;
  overflow: hidden;
}
.join-word {
  position: absolute;
  right: -0.04em;
  bottom: -0.28em;
  font-family: var(--font);
  font-size: clamp(88px, 17vw, 240px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 234, 211, 0.07);
  pointer-events: none;
  user-select: none;
}
.join-copy { position: relative; z-index: 1; min-width: 0; }
.join-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.join-copy > p:not(.sec-kicker) {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
}
.join-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.join-step { display: flex; flex-direction: column; gap: 3px; }
.join-step b {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--ember);
}
.join-step span { font-size: 12px; color: var(--bone); }
.join-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
}
.join-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(11, 7, 4, 0.55);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.join-link:hover {
  border-color: rgba(255, 116, 32, 0.45);
  background: rgba(255, 116, 32, 0.05);
}
.jl-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--mute);
}
.jl-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jl-main b { font-size: 13px; font-weight: 500; }
.jl-main span {
  font-size: 10.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jl-arrow { margin-left: auto; color: var(--ember); font-size: 13px; }

.faq-wrap { margin-top: clamp(56px, 6vw, 84px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 2px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--bone);
  cursor: pointer;
}
.faq-q i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ember);
  transition: transform 0.35s var(--ease);
  flex: none;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p {
  margin: 0 0 22px;
  max-width: 78ch;
  padding-right: 40px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 36px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.footer-brand strong { display: block; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; }
.footer-brand p { margin: 3px 0 0; font-size: 10.5px; color: var(--faint); line-height: 1.7; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--bone); }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: rgba(246, 234, 211, 0.24);
}

.noscript { padding: 16px var(--gutter); background: var(--ember); color: #140d06; font-size: 12px; text-align: center; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    row-gap: 18px;
  }
  .sec-id { grid-column: 1; grid-row: 1; }
  .sec-tools { grid-column: 2; grid-row: 1; }
  .sec-desc { grid-column: 1 / -1; grid-row: 2; max-width: 62ch; }
  .sec-head.compact { grid-template-columns: 1fr; }

  .console-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-live { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }

  .server-layout { grid-template-columns: 1fr; }
  .rotation-panel { border-top: 1px solid var(--line); }

  .es-squads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-clans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    width: min(84vw, 380px);
    padding: 0 30px;
    background: #0e0905;
    border-left: 1px solid var(--line);
    transform: translateX(101%);
    transition: transform 0.5s var(--ease);
    visibility: hidden;
  }
  body.menu-open .nav { transform: none; visibility: visible; }
  .topbar-side { position: relative; z-index: 70; }
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
  }
  .nav a {
    padding: 14px 0;
    font-size: 20px;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--ember); }
  .menu-toggle { display: flex; }
  .admin-link { display: none; }

  .live-lower { grid-template-columns: 1fr; }
  .live-lower .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .intel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-matches { grid-template-columns: 1fr; }
  .footer-inner { padding-top: 40px; }
}

@media (max-width: 760px) {
  .console { margin-top: -56px; }
  .console-grid { grid-template-columns: 1fr; }
  .console-cell + .console-cell { border-left: 0; border-top: 1px solid var(--line); }
  .console-note { text-align: left; }

  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-id { grid-column: 1; grid-row: 1; }
  .sec-desc { grid-column: 1; grid-row: 2; }
  .sec-tools { grid-column: 1; grid-row: 3; justify-self: start; }

  .live-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-item:nth-child(odd) { border-left: 0; }
  .meta-item:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }

  .faction-grid { grid-template-columns: 1fr; }
  .faction-card + .faction-card { border-top: 1px solid var(--line); }
  .intel { grid-template-columns: 1fr; }
  .kill-feed { max-height: 300px; }

  .board-toolbar { gap: 14px; }
  .board-tools { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .board-table { min-width: 0; }
  .board-table th, .board-table td { padding: 12px 10px; }
  .board-table th:nth-child(5), .board-table td:nth-child(5),
  .board-table th:nth-child(6), .board-table td:nth-child(6),
  .board-table th:nth-child(8), .board-table td:nth-child(8) { display: none; }
  .col-rank { width: 54px; }

  .es-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-stat:nth-child(odd) { border-left: 0; }
  .es-stat:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .es-squads { grid-template-columns: 1fr; }
  .es-clans { grid-template-columns: 1fr; }
  .es-block { margin-top: 40px; }

  .rules-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }

  .join-card { padding: 28px 22px; }
  .join-steps { gap: 12px 24px; }
  .join-word { font-size: clamp(72px, 26vw, 140px); }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .masthead { padding-top: 120px; }
  .masthead-rail { display: none; }
  .masthead-actions { flex-direction: column; align-items: stretch; }
  .masthead-actions .btn { justify-content: center; }
  .masthead-foot span:last-child { display: none; }

  .console-cell { padding: 22px 20px; }
  .section { padding-top: 74px; padding-bottom: 74px; }
  .sec-head { margin-bottom: 38px; }
  .sec-title h2 { font-size: 34px; }
  .sec-tools { justify-self: start; }

  .seg { padding: 8px 12px; }
  .board-foot { font-size: 9.5px; }
  .board-table th:nth-child(3), .board-table td:nth-child(3) { display: none; }
  .news-item { padding: 18px 20px; }
  .connect-meta { grid-template-columns: 1fr; }
  .connect-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .address-box { grid-template-columns: 1fr; }
  .address-box .btn { justify-self: start; }

  .es-match { padding: 20px 18px; }
  .es-team-name { font-size: 12.5px; }
  .es-score { font-size: 20px; }
  .faq-q { font-size: 13.5px; padding: 17px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .skeleton::after, .skeleton-card::after, .skeleton-row::after { animation: none; }
  .es-squad:hover { transform: none; }
  .fx-item, .fx-item.in { opacity: 1; transform: none; transition: none; }
  .cursor-halo { display: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   交互与动效层（由 effects.js 驱动，纯装饰，不改变布局）
   ========================================================================== */

/* 光标光晕：跟着鼠标走的一团暖光 */
.cursor-halo {
  position: fixed;
  top: 0; left: 0;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 142, 64, 0.11), rgba(255, 116, 32, 0.045) 40%, transparent 68%);
  transition: opacity 0.6s var(--ease);
  will-change: transform;
}
.cursor-halo.is-on { opacity: 1; }

/* 卡片聚光：光点跟随指针落在卡片表面 */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 148, 72, 0.16), rgba(255, 116, 32, 0.05) 42%, transparent 66%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after { opacity: 1; }
}

/* 倾斜卡：鼠标在卡内时轻微 3D 倾斜 + 内描边亮起 */
.fx-tilt {
  transition: transform 0.55s var(--ease), box-shadow 0.45s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.fx-tilt.is-tilting { transition: transform 0.08s linear, box-shadow 0.45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .fx-tilt:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 194, 135, 0.20), 0 26px 64px rgba(0, 0, 0, 0.45);
  }
}

/* 磁吸按钮：指针靠近时按钮向指针方向轻移 */
.btn.is-magnet { transition: transform 0.12s linear, background 0.3s, color 0.3s, border-color 0.3s; }
.btn.is-magnet.is-out { transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }

/* 数值刷新时的暖色脉冲 */
@keyframes numPulse {
  0% { text-shadow: 0 0 24px rgba(255, 116, 32, 0.8); filter: brightness(1.45); }
  100% { text-shadow: none; filter: none; }
}
.is-pulse { animation: numPulse 0.85s var(--ease); }

/* 列表项逐条入场（由 effects.js 动态打标） */
.fx-item { opacity: 0; transform: translateY(16px); }
.fx-item.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.board-table tbody tr.fx-item { transform: none; }

/* 排行榜行：暖光扫过 + 头像微放大 */
@media (hover: hover) and (pointer: fine) {
  .board-table tbody tr { background-image: linear-gradient(90deg, rgba(255, 116, 32, 0.10), rgba(255, 116, 32, 0.02) 52%, transparent 88%); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 0.45s var(--ease); }
  .board-table tbody tr:hover { background-size: 100% 100%; }
  .board-table tbody tr .player-avatar { transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
  .board-table tbody tr:hover .player-avatar { transform: scale(1.08); border-color: rgba(255, 194, 135, 0.55); }
}

/* 击杀流水：左侧亮条 + 行底色 */
@media (hover: hover) and (pointer: fine) {
  .kill-line { transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
  .kill-line:hover { background: rgba(255, 116, 32, 0.07); box-shadow: inset 2px 0 0 var(--ember); }
  .rotation-item { transition: background 0.3s var(--ease); }
  .rotation-item:hover { background: rgba(255, 116, 32, 0.05); }
  .rotation-item:hover .r-idx { color: var(--ember-2); }
  .faq-item:hover .faq-q i { color: var(--ember); }
}

/* 导航：悬停时从左侧展开一条暖线 */
.nav a::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--ember), rgba(255, 116, 32, 0));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::before, .nav a.is-active::before { transform: scaleX(1); }

/* 首屏巨型标题：悬停时暖光自上而下扫过 */
.mt-en {
  background-size: 100% 280%;
  background-position: 0% 0%;
  transition: background-position 1.5s var(--ease), letter-spacing 0.9s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .masthead:hover .mt-en {
    background-position: 0% 100%;
    letter-spacing: -0.028em;
  }
  .sec-title h2 { transition: text-shadow 0.6s var(--ease); }
  .sec-head:hover .sec-title h2 { text-shadow: 0 0 48px rgba(255, 116, 32, 0.28); }
}

/* 首屏背景缓慢呼吸 */
@keyframes moonBreath {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}
@keyframes glowDrift {
  0% { transform: translateX(-50%) scale(1) translateY(0); opacity: 0.85; }
  100% { transform: translateX(-50%) scale(1.07) translateY(-2vh); opacity: 1; }
}
.m-moon { animation: moonBreath 15s ease-in-out infinite; }
.m-glow { animation: glowDrift 18s ease-in-out infinite alternate; }

/* 首屏视差：effects.js 在 .masthead 上写入 --mx / --my（-1 ~ 1） */
.m-moon { translate: calc(var(--mx, 0) * 30px) calc(var(--my, 0) * 22px); }
.m-beams { translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -12px); }
.m-ridge { translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 9px); }
.masthead-inner { translate: calc(var(--mx, 0) * -9px) calc(var(--my, 0) * -6px); }

@media (prefers-reduced-motion: reduce) {
  .m-moon, .m-beams, .m-ridge, .masthead-inner { translate: none; }
  .m-moon, .m-glow { animation: none; }
}

