/* ============================================================
   原始对决 STONE ROAR — 官网样式系统
   石火 · 部落 · 史前 —— 近黑暖底 / 骨白 / 赤金 / 熔岩橙
   ============================================================ */

/* ---- 品牌显示字体（ZCOOLQingKeHuangYou 子集化，仅覆盖站内用字，204KB）---- */
@font-face {
  font-family: "ZCOOL";
  src: url("../assets/fonts/zcool-subset.woff") format("woff"),
       url("../assets/fonts/zcool-subset.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* 底色 */
  --bg:        #0d0906;
  --bg-2:      #150e08;
  --bg-3:      #1c130a;
  --panel:     #241910;
  --panel-2:   #2e2013;
  --panel-hi:  #3a2917;

  /* 文字 */
  --bone:      #f3e9d4;
  --bone-dim:  #cdbfa4;
  --muted:     #9c8b71;
  --muted-2:   #746550;

  /* 品牌强调 */
  --gold:      #ffd15c;
  --gold-2:    #f7b73e;
  --gold-deep: #c2842b;
  --ember:     #ff7a1a;
  --lava:      #e2451a;
  --lava-glow: #ff5a2c;

  /* 稀有度（沿用客户端 Kit.gd） */
  --common:    #b9ac93;
  --rare:      #599eff;
  --epic:      #b86bf2;
  --legend:    #59d9ff;

  /* 线条 / 边框 */
  --line:      rgba(255, 209, 92, 0.16);
  --border:    rgba(201, 150, 74, 0.30);
  --border-hi: rgba(255, 209, 92, 0.55);

  --shadow:    0 18px 46px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.45);
  --glow:      0 0 34px rgba(255, 122, 26, 0.28);

  --font-display: "ZCOOL", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-brush:   "MaShan", "Kaiti SC", "STKaiti", serif;
  --font-body:    system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
                  "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
}

/* ---------------------------------------------------------- base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bone);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .18s; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 400; }
p { margin: 0 0 1em; }

/* 全局暗底纹理（生成的石纹图，极低透明度） */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: url("../assets/gen/tex_stone_dark.png") center/cover no-repeat fixed;
  opacity: .10; z-index: -2; pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,122,26,.10), transparent 60%),
              radial-gradient(100% 60% at 50% 120%, rgba(226,69,26,.08), transparent 60%);
  z-index: -1; pointer-events: none;
}

/* ------------------------------------------------------- layout ---- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(20,13,7,.0), rgba(28,18,10,.55) 50%, rgba(20,13,7,.0)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.eyebrow.center { justify-content: center; }

.h-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: .02em;
  color: var(--bone);
  text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 0 30px rgba(255,122,26,.12);
}
.h-title .accent { color: var(--gold); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--bone-dim); max-width: 62ch; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ------------------------------------------------------ buttons ---- */
.btn {
  --_bg: linear-gradient(180deg, var(--gold), var(--gold-2));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  padding: 14px 30px; border-radius: 11px; cursor: pointer;
  color: #34210c; background: var(--_bg); border: none;
  box-shadow: 0 10px 24px rgba(226,120,26,.28), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .16s, box-shadow .16s, filter .16s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #34210c;
  box-shadow: 0 16px 30px rgba(226,120,26,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(40,28,15,.5); color: var(--bone);
  border: 1px solid var(--border); box-shadow: none; backdrop-filter: blur(4px);
}
.btn--ghost:hover { color: var(--bone); border-color: var(--border-hi); background: rgba(58,41,23,.6); }
.btn--lg { padding: 17px 38px; font-size: 17px; }
.btn .ico { font-size: 18px; line-height: 1; }

/* -------------------------------------------------------- panels ---- */
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,225,170,.06);
  position: relative;
}
.panel::before { /* 角部铆钉/凿刻感 */
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255,209,92,.07);
  border-radius: calc(var(--radius) - 5px); pointer-events: none;
}

/* ========================================================== NAV ==== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,9,6,.72); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__zh { font-family: var(--font-display); font-size: 20px; color: var(--bone); letter-spacing: .04em; }
.brand__en { font-size: 10px; letter-spacing: .34em; color: var(--gold-deep); font-weight: 700; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: var(--bone-dim); font-weight: 600; font-size: 15px;
  padding: 8px 15px; border-radius: 8px; transition: color .16s, background .16s;
}
.nav__links a:hover, .nav__links a.active { color: var(--bone); background: rgba(255,209,92,.08); }
.nav__cta { margin-left: 8px; }

/* 语言切换器 */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: rgba(40,28,15,.5); border: 1px solid var(--border); color: var(--bone-dim);
  border-radius: 8px; padding: 8px 11px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: color .15s, border-color .15s;
}
.lang__btn:hover { color: var(--bone); border-color: var(--border-hi); }
.lang__globe { font-size: 14px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 148px;
  background: rgba(18,12,7,.98); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 120;
}
.lang.open .lang__menu { display: flex; }
.lang__menu button {
  text-align: left; background: none; border: none; color: var(--bone-dim); cursor: pointer;
  padding: 9px 12px; border-radius: 7px; font-size: 14px; font-weight: 600; transition: background .14s, color .14s;
}
.lang__menu button:hover { background: rgba(255,209,92,.08); color: var(--bone); }
.lang__menu button.is-on { color: var(--gold); background: rgba(255,209,92,.06); }
@media (max-width: 900px) { .lang { margin-left: auto; } }
.nav__toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  color: var(--bone); width: 42px; height: 42px; font-size: 20px; cursor: pointer; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 22px; background: rgba(13,9,6,.97);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 14px; font-size: 16px; }
  .nav__cta { margin: 8px 0 0; }
}

/* ========================================================= HERO ==== */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
  overflow: hidden; padding: 90px 0 70px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,9,6,.55) 0%, rgba(13,9,6,.2) 35%, rgba(13,9,6,.86) 88%, var(--bg) 100%),
              radial-gradient(80% 55% at 50% 42%, transparent, rgba(13,9,6,.5)); }
.hero__in { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero__logo { width: min(680px, 84vw); margin: 0 auto 10px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.6)); }
.hero__tag {
  font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 40px);
  color: var(--bone); letter-spacing: .06em; margin: 18px 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.hero__sub { font-size: clamp(15px, 1.7vw, 19px); color: var(--bone-dim); max-width: 46ch;
  margin: 0 auto 30px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px; letter-spacing: .04em; }
.hero__meta b { color: var(--bone-dim); font-weight: 700; }

/* 余烬粒子 */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, var(--lava-glow), rgba(255,90,44,0) 70%);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .7; }
  100% { transform: translateY(-92vh) translateX(var(--dx, 20px)) scale(.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ember { display: none; } .reveal { transition: none !important; } }

/* ==================================================== 三途 PATHS ==== */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path {
  padding: 30px 26px 30px; text-align: center; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.path:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: var(--shadow), var(--glow); }
.path__totem { height: 260px; margin: 0 auto 14px; display: flex; align-items: flex-end; justify-content: center; }
.path__totem img { max-height: 260px; width: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.6)); }
.path__code { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; }
.path--beast  .path__code { color: var(--lava); }
.path--hunt   .path__code { color: var(--legend); }
.path--shaman .path__code { color: var(--epic); }
.path__name { font-family: var(--font-display); font-size: 27px; color: var(--bone); margin: 4px 0 10px; }
.path__desc { color: var(--bone-dim); font-size: 15px; margin-bottom: 14px; }
.path__roles { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.tag {
  font-size: 12.5px; color: var(--bone-dim); background: rgba(255,209,92,.06);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}

/* =============================================== FEATURES 特征 ==== */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 26px; align-items: start; }
.feature__ic {
  width: 96px; height: 96px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: #120c07;
  display: flex; align-items: center; justify-content: center;
}
.feature__ic img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-family: var(--font-display); font-size: 22px; color: var(--gold); }
.feature p { color: var(--bone-dim); font-size: 15px; margin: 0; }
.feature__zh-en { color: var(--muted); font-size: 12px; letter-spacing: .06em; }

/* 大特征分栏（左图右文 / 交替） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); position: relative; }
.split__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.split--rev .split__text { order: 2; }
.split h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: var(--bone); }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; }
.split li { padding: 9px 0 9px 30px; position: relative; color: var(--bone-dim); border-bottom: 1px solid var(--line); }
.split li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold-deep); font-size: 12px; top: 12px; }

/* ================================================ ROSTER 图鉴 ==== */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.unit {
  text-align: center; padding: 14px 10px 16px; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.unit:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow-sm), var(--glow); }
.unit__art { height: 128px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 10px; }
.unit__art img { max-height: 128px; width: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.unit__zh { font-family: var(--font-display); font-size: 17px; color: var(--bone); line-height: 1.2; }
.unit__en { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.unit__role { font-size: 11px; margin-top: 7px; display: inline-block; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--bone-dim); }
.unit[data-path="beast"]  .unit__role { color: #ffb38a; border-color: rgba(226,69,26,.4); }
.unit[data-path="hunt"]   .unit__role { color: #9fd8ff; border-color: rgba(89,158,255,.4); }
.unit[data-path="shaman"] .unit__role { color: #d6a8ff; border-color: rgba(184,107,242,.4); }

.roster-filter .btn { padding: 10px 20px; font-size: 14px; }
.roster-filter .btn.is-on {
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #34210c;
  border-color: transparent; box-shadow: 0 8px 18px rgba(226,120,26,.28);
}
.unit { transition: transform .18s, border-color .18s, box-shadow .18s, opacity .3s; }

.roster-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; }
.roster-strip .unit { min-width: 168px; scroll-snap-align: start; }
.roster-strip::-webkit-scrollbar { height: 8px; }
.roster-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

/* ================================================ ARENA 画廊 ==== */
.arenas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.arena { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border);
  position: relative; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.arena img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.arena:hover img { transform: scale(1.06); }
.arena__cap { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px 14px;
  background: linear-gradient(0deg, rgba(9,6,4,.92), transparent);
  font-family: var(--font-display); font-size: 16px; color: var(--bone); }
.arena__cap small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--muted-2); letter-spacing: .1em; }

/* ================================================= 数据条 STATS ==== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat { padding: 26px 16px; }
.stat__n { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: var(--gold);
  line-height: 1; text-shadow: 0 0 24px rgba(255,122,26,.25); }
.stat__l { color: var(--bone-dim); font-size: 14px; margin-top: 8px; }
.stat__l small { display: block; color: var(--muted-2); font-size: 11px; letter-spacing: .1em; }

/* ==================================================== CTA 尾部 ==== */
.cta-band { text-align: center; padding: clamp(60px, 9vw, 120px) 24px; position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 50% 50%, rgba(13,9,6,.4), var(--bg)); }
.cta-band__in { position: relative; z-index: 2; }
.cta-band .h-title { margin-bottom: 12px; }

/* ===================================== COMMUNITY 社群频道 ==== */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.channel { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; transition: transform .18s, border-color .18s; }
.channel:hover { transform: translateY(-5px); border-color: var(--border-hi); }
.channel__ic { font-size: 30px; }
.channel h3 { font-family: var(--font-display); font-size: 21px; color: var(--bone); margin: 4px 0 0; }
.channel p { color: var(--bone-dim); font-size: 14px; margin: 0; flex: 1; }
.channel__link { color: var(--gold); font-weight: 700; font-size: 14px; margin-top: 6px; }

.board { display: grid; grid-template-columns: 1fr; gap: 12px; }
.thread { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; }
.thread__pin { font-size: 20px; }
.thread__t { font-weight: 700; color: var(--bone); }
.thread__t small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.thread__meta { text-align: right; color: var(--muted); font-size: 13px; }
.thread__meta b { color: var(--gold-deep); }

.creed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.creed li { list-style: none; padding-left: 30px; position: relative; color: var(--bone-dim); }
.creed li::before { content: "⬦"; position: absolute; left: 0; color: var(--gold); }
.creed b { color: var(--bone); }

/* subhero（内页页头） */
.subhero { position: relative; padding: clamp(70px, 12vw, 150px) 0 clamp(40px, 6vw, 64px); overflow: hidden;
  border-bottom: 1px solid var(--line); }
.subhero__bg { position: absolute; inset: 0; z-index: 0; }
.subhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.subhero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,9,6,.6), rgba(13,9,6,.82) 70%, var(--bg)); }
.subhero__in { position: relative; z-index: 2; }
.subhero .lead { margin-top: 10px; }

/* ================================================ DOC 法务页 ==== */
.doc { max-width: 860px; }
.doc__meta { color: var(--muted); font-size: 14px; margin-bottom: 34px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc h2 { font-family: var(--font-display); font-size: 25px; color: var(--gold); margin-top: 44px; }
.doc h3 { font-size: 19px; color: var(--bone); margin-top: 26px; }
.doc p, .doc li { color: var(--bone-dim); font-size: 15.5px; }
.doc ul { padding-left: 22px; } .doc li { margin-bottom: 8px; }
.doc .en { color: var(--muted); font-size: 14px; font-style: italic; }
.doc__toc { margin: 0 0 30px; padding: 18px 22px; }
.doc__toc a { display: inline-block; margin: 3px 14px 3px 0; font-size: 14px; }
.callout { padding: 16px 20px; border-left: 3px solid var(--gold-deep); background: rgba(255,209,92,.05);
  border-radius: 0 8px 8px 0; margin: 20px 0; color: var(--bone-dim); font-size: 14.5px; }

/* ================================================== FOOTER ==== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 34px; background: rgba(9,6,4,.6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer__col h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.footer__col a { display: block; color: var(--bone-dim); font-size: 14.5px; padding: 5px 0; font-weight: 500; }
.footer__col a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }
.footer__bar a { color: var(--muted); }

/* ================================================ 音乐播放条 ==== */
.player {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 10px; border-radius: 999px;
  background: rgba(20,13,7,.86); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,225,170,.08);
  backdrop-filter: blur(10px); max-width: calc(100vw - 40px);
  transition: box-shadow .2s, border-color .2s;
}
.player.is-playing { border-color: var(--border-hi); box-shadow: var(--shadow-sm), var(--glow); }
.player__btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: none; color: #34210c; background: linear-gradient(180deg, var(--gold), var(--gold-2));
  display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1;
  box-shadow: 0 4px 12px rgba(226,120,26,.3); transition: transform .15s, filter .15s;
}
.player__btn:hover { transform: scale(1.06); filter: brightness(1.05); }
.player__mid { display: flex; flex-direction: column; min-width: 0; padding-right: 4px; }
.player__label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.player__title {
  font-size: 13.5px; color: var(--bone); font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 148px;
}
.player__next {
  flex: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: rgba(255,209,92,.08); border: 1px solid var(--border); color: var(--bone-dim);
  font-size: 12px; display: flex; align-items: center; justify-content: center; transition: color .15s, border-color .15s;
}
.player__next:hover { color: var(--gold); border-color: var(--border-hi); }
/* 均衡器（播放时跳动，非播放时静止） */
.player__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.player__eq i { width: 2.5px; height: 5px; background: #34210c; border-radius: 2px; }
.player.is-playing .player__eq i { animation: eqbar .9s ease-in-out infinite; }
.player.is-playing .player__eq i:nth-child(2) { animation-delay: .2s; }
.player.is-playing .player__eq i:nth-child(3) { animation-delay: .4s; }
.player.is-playing .player__eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eqbar { 0%,100% { height: 4px; } 50% { height: 13px; } }
@media (prefers-reduced-motion: reduce) { .player.is-playing .player__eq i { animation: none; height: 9px; } }
@media (max-width: 560px) {
  .player { left: 12px; bottom: 12px; padding: 6px; gap: 8px; }
  .player__mid { display: none; }
  .player.is-open .player__mid { display: flex; }
}

/* ================================================ reveal 动画 ==== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

/* ================================================ 响应式 ==== */
@media (max-width: 980px) {
  .features, .split, .paths, .channels, .creed { grid-template-columns: 1fr; }
  .split--rev .split__text { order: 0; }
  .arenas { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .arenas { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 72px 1fr; gap: 14px; }
  .feature__ic { width: 72px; height: 72px; }
  .thread { grid-template-columns: auto 1fr; }
  .thread__meta { display: none; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { gap: 14px 20px; }
}
