/* 少年游 · 原创暗色奇幻门户样式
   布局语言参考同类游戏社区（悬浮导航 / 金色徽记 / 半透明卡片 / 表格式设定），
   所有图形均为 CSS 自绘，无任何外部字体、图片、图标库或第三方素材。 */
:root {
  --bg: #0a1018;
  --bg-2: #0d1622;
  --bg-3: #111d2b;
  --panel: rgba(7, 12, 19, .78);
  --line: rgba(206, 165, 92, .20);
  --line-mid: rgba(206, 165, 92, .34);
  --line-strong: rgba(224, 183, 101, .58);
  --gold: #f0bd55;
  --gold-2: #ffdb8f;
  --gold-deep: #a97b2c;
  --text: #ece3d2;
  --text-2: #cdbfa4;
  --muted: #8d8878;
  --radius: 10px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 50% -180px, rgba(70, 96, 140, .16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 1px, transparent 1px 7px);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(240,189,85,.3); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; background: #080d14; }
::-webkit-scrollbar-thumb { border-radius: 8px; background: linear-gradient(180deg, #b8903f, #6d5324); border: 2px solid #080d14; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 分板块视图切换 ---------- */
.view[hidden] { display: none !important; }
.view { animation: viewIn .26s ease both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .view { animation: none; } }
#main { min-height: 58vh; }

/* ---------- 悬浮圆角导航 ---------- */
.nav {
  position: fixed; top: 18px; left: 22px; right: 22px; z-index: 50;
  background: rgba(9, 15, 24, .94); backdrop-filter: blur(16px);
  border: 1px solid var(--line-mid); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,225,160,.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { background: rgba(7, 12, 19, .97); box-shadow: 0 16px 44px rgba(0,0,0,.65); }
.nav-inner { height: 64px; max-width: 1500px; margin: 0 auto; padding: 0 18px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { position: relative; width: 34px; height: 34px; display: block; transform: rotate(45deg); }
.brand-mark i { position: absolute; display: block; }
.brand-mark i:nth-child(1) { inset: 1px; border: 1px solid var(--line-strong); border-radius: 3px; background: rgba(240,189,85,.06); }
.brand-mark i:nth-child(2) { inset: 8px; border: 1px solid var(--gold); border-radius: 2px; background: rgba(240,189,85,.18); }
.brand-mark i:nth-child(3) { inset: 14px; background: var(--gold-2); border-radius: 1px; box-shadow: 0 0 12px rgba(255,205,110,.7); }
.brand-text { font-weight: 800; font-size: 19px; letter-spacing: .14em; line-height: 1.15; color: #f7e7c4; }
.brand-text small { display: block; font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; align-items: center; }
.nav-links a { position: relative; font-size: 13.5px; color: var(--text-2); padding: 8px 13px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; transform: rotate(45deg); border: 1px solid var(--gold-deep); border-radius: 1px; transition: background .2s, box-shadow .2s; }
.nav-links a:hover { color: var(--gold-2); background: rgba(240,189,85,.07); }
.nav-links a:hover::before { background: var(--gold); box-shadow: 0 0 8px rgba(240,189,85,.7); }
.nav-links a.active { color: var(--gold-2); background: rgba(240,189,85,.12); }
.nav-links a.active::before { background: var(--gold); box-shadow: 0 0 8px rgba(240,189,85,.7); }
.nav-actions { display: flex; gap: 10px; margin-left: 8px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; padding: 9px 19px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; transition: transform .18s ease, background .18s, border-color .18s, box-shadow .18s, color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(180deg, #ffdc90 0%, #efbb55 48%, #c8902f 100%); color: #241703; border-color: #f7d18a; box-shadow: 0 6px 20px rgba(224,168,60,.22), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(240,189,85,.38); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-mid); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(240,189,85,.06); }
.btn-outline { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--line-mid); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(240,189,85,.07); }
.btn-lg { padding: 13px 27px; font-size: 15px; border-radius: 8px; }
.btn-block { width: 100%; padding: 12px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 660px;
  padding: 40px 0 104px;
  background:
    radial-gradient(760px 420px at 50% 34%, rgba(96, 124, 176, .30), transparent 72%),
    radial-gradient(620px 380px at 88% 76%, rgba(176, 78, 42, .24), transparent 72%),
    radial-gradient(560px 340px at 8% 72%, rgba(38, 104, 132, .26), transparent 72%),
    linear-gradient(168deg, #07101d 0%, #101a2c 45%, #1a1626 78%, #0b1018 100%);
  border-bottom: 1px solid var(--line-mid);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art .stars { position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 28% 12%, #ffe9b8 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 63% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 78% 30%, #ffdf9e 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 90% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 42% 34%, #d9e6ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 6% 44%, #fff 50%, transparent 51%);
}
.hero-art .orb { position: absolute; border-radius: 50%; }
.orb-a { width: 720px; height: 720px; right: -190px; top: -300px; background: radial-gradient(circle at 40% 40%, rgba(255,168,80,.17), transparent 66%); }
.orb-b { width: 620px; height: 620px; left: -220px; bottom: -340px; background: radial-gradient(circle at 50% 50%, rgba(70,160,190,.20), transparent 70%); }
.orb-c { width: 460px; height: 460px; right: 20%; bottom: -330px; border: 1px solid rgba(240,189,85,.10); background: radial-gradient(circle, rgba(240,189,85,.05), transparent 70%); }
.ridge { position: absolute; left: -5%; right: -5%; bottom: -2px; height: 46%; }
.ridge-a { background: linear-gradient(180deg, rgba(18,30,46,.15), rgba(5,10,17,.92)); clip-path: polygon(0 100%, 0 62%, 9% 48%, 17% 66%, 27% 34%, 36% 60%, 46% 42%, 55% 68%, 66% 30%, 75% 58%, 85% 40%, 94% 64%, 100% 48%, 100% 100%); }
.ridge-b { height: 32%; background: linear-gradient(180deg, rgba(8,14,24,.25), rgba(4,8,14,.96)); clip-path: polygon(0 100%, 0 74%, 12% 55%, 22% 76%, 34% 48%, 45% 78%, 57% 52%, 68% 80%, 79% 56%, 90% 78%, 100% 60%, 100% 100%); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(240,189,85,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(240,189,85,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 880px; }
.hero-copy > * { max-width: 100%; }
.hero-crest { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-crest::before, .hero-crest::after { content: ""; height: 1px; width: 52px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.hero-crest::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.hero-crest span { width: 15px; height: 15px; transform: rotate(45deg); border: 1px solid var(--gold); background: rgba(240,189,85,.16); box-shadow: 0 0 18px rgba(240,189,85,.5); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .1em; color: var(--text-2); border: 1px solid var(--line-mid); border-radius: 999px; padding: 5px 15px; background: rgba(9,15,24,.55); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #8fa1b4; box-shadow: 0 0 0 3px rgba(143,161,180,.18); }
.dot.on { background: #56d8a8; box-shadow: 0 0 0 3px rgba(86,216,168,.2), 0 0 10px rgba(86,216,168,.7); }
.dot.off { background: #e7a15c; box-shadow: 0 0 0 3px rgba(231,161,92,.2); }
.hero h1 {
  font-size: clamp(58px, 7.6vw, 100px); margin: 16px 0 6px; letter-spacing: .2em; line-height: 1.12; font-weight: 900;
  background: linear-gradient(180deg, #fff8e4 0%, #ffe19b 26%, #f0bd55 55%, #ab7624 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(38,22,6,.85)) drop-shadow(0 10px 22px rgba(240,170,60,.32));
}
.hero-slogan { color: var(--gold-2); font-size: 19px; font-weight: 700; letter-spacing: .12em; margin: 4px 0 10px; text-shadow: 0 2px 16px rgba(255,168,60,.4); }
.hero-en { margin: 0 0 14px; font-size: 13px; letter-spacing: .52em; text-indent: .52em; color: #a08553; font-weight: 600; }
.hero-sub { font-size: 14.5px; line-height: 1.95; color: var(--text-2); margin: 0 0 28px; max-width: 640px; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #e3cd9d; border: 1px solid var(--line-mid); border-radius: 999px; padding: 8px 20px; background: rgba(8,13,20,.62); }
.chip i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px rgba(240,189,85,.8); }
.chip b { color: var(--gold-2); font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .btn-outline { color: #f0dfba; border-color: var(--line-strong); background: rgba(8,13,20,.45); }
.hero .btn-outline:hover { border-color: var(--gold); background: rgba(240,189,85,.12); color: var(--gold-2); }

/* 概览面板：居中半透明黑金卡 */
.hero-panel { position: relative; margin-top: 52px; width: min(860px, 100%); background: var(--panel); border: 1px solid var(--line-mid); border-radius: 8px; padding: 26px 30px 20px; backdrop-filter: blur(12px); box-shadow: 0 26px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,220,150,.08); text-align: left; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold); opacity: .7; }
.hero-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-title { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--gold-2); }
.panel-live { font-size: 11.5px; color: #56d8a8; border: 1px solid rgba(86,216,168,.4); padding: 2px 11px; border-radius: 999px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stat b { display: block; font-size: 29px; font-weight: 800; letter-spacing: -.02em; color: #ffdb8f; text-shadow: 0 0 18px rgba(240,189,85,.3); }
.stat span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.panel-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-mid), transparent); margin: 22px 0 16px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 34px; }
.kv { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 6px 0; color: var(--text-2); }
.kv > span { color: var(--muted); }
.kv code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; color: #f4dfb2; background: rgba(240,189,85,.09); border: 1px solid var(--line); padding: 2px 9px; border-radius: 4px; }
.panel-foot { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-align: right; }
.hero-rule { position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%); width: min(1200px, 90%); height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--gold) 50%, var(--line-strong) 70%, transparent); }
.hero-rule::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); background: var(--gold); box-shadow: 0 0 14px rgba(240,189,85,.8); }

/* ---------- 区块通用 ---------- */
.section { position: relative; padding: 56px 0 86px; background: var(--bg); }
.section-alt { background: linear-gradient(180deg, #0a111b 0%, #0e1825 50%, #0a111b 100%); }
.section::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1200px, 90%); height: 1px; background: linear-gradient(90deg, transparent, var(--line-mid) 35%, var(--line-strong) 50%, var(--line-mid) 65%, transparent); }
.section::after { content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 7px; height: 7px; background: var(--gold-deep); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.sec-kicker { font-size: 11px; letter-spacing: .28em; color: var(--gold); font-weight: 700; margin: 0 0 10px; }
h2 { font-size: clamp(27px, 3.3vw, 36px); margin: 0 0 12px; letter-spacing: .08em; color: #f6e9cd; font-weight: 800; }
h2::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 14px; background: linear-gradient(90deg, var(--gold), transparent); }
.sec-desc { color: var(--text-2); font-size: 14px; max-width: 660px; margin: 0; }
.sec-badge { font-size: 12px; color: var(--gold-2); background: rgba(240,189,85,.08); border: 1px solid var(--line-mid); border-radius: 999px; padding: 6px 15px; white-space: nowrap; }
.empty { color: var(--muted); text-align: center; padding: 34px 12px; font-size: 14px; }

/* ---------- 设定数据卡 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; background: linear-gradient(180deg, rgba(20,31,45,.85), rgba(10,16,24,.9)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,189,85,.55), transparent); opacity: .55; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(240,189,85,.18); border-color: var(--line-strong); }
.card-label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.card-value { display: block; font-size: 30px; font-weight: 800; margin: 7px 0 3px; letter-spacing: -.01em; color: #ffdb8f; }
.card-hint { font-size: 11.5px; color: #79796e; }

/* ---------- 设定说明：表格式（左侧金色标签 + 右侧米色正文） ---------- */
.notes { margin-top: 22px; border: 1px solid var(--line-mid); border-radius: 6px; background: rgba(6, 11, 18, .55); overflow: hidden; }
.note-block { display: grid; grid-template-columns: 186px 1fr; background: transparent; border: 0; border-radius: 0; padding: 0; }
.note-block + .note-block { border-top: 1px solid var(--line); }
.note-block h3 { display: flex; align-items: center; margin: 0; padding: 22px 24px; font-size: 15.5px; font-weight: 700; letter-spacing: .1em; color: var(--gold-2); border-left: 0; border-right: 1px solid var(--line); background: linear-gradient(90deg, rgba(240,189,85,.085), rgba(240,189,85,.01)); }
.note-block ul { margin: 0; padding: 20px 28px; list-style: none; }
.note-block li { position: relative; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; line-height: 1.85; }
.note-block li:last-child { margin-bottom: 0; }
.note-block li::before { content: "◆"; color: var(--gold-deep); font-size: 9px; margin-right: 11px; vertical-align: 2px; }
.note-block b { color: var(--gold-2); font-weight: 700; }

/* ---------- 排行榜 ---------- */
.table-card { background: rgba(7, 12, 19, .72); border: 1px solid var(--line-mid); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.rank-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank-table th { text-align: left; font-size: 11.5px; letter-spacing: .12em; color: var(--gold); font-weight: 700; background: rgba(240,189,85,.075); padding: 15px 20px; border-bottom: 1px solid var(--line-mid); }
.rank-table td { padding: 13px 20px; border-bottom: 1px solid rgba(206,165,92,.11); color: var(--text-2); }
.rank-table tbody tr:last-child td { border-bottom: none; }
.rank-table tbody tr:hover { background: rgba(240,189,85,.055); }
.rank-table .col-rank { width: 80px; }
.rank-table .name { font-weight: 700; color: #f6e6c4; letter-spacing: .04em; }
.badge-rank { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text-2); }
.badge-rank.r1 { background: linear-gradient(180deg, #ffe19b, #d39b32); color: #2a1a05; border-color: #ffe19b; box-shadow: 0 0 14px rgba(240,189,85,.4); }
.badge-rank.r2 { background: linear-gradient(180deg, #dbe6f0, #99aec2); color: #16202b; border-color: #dbe6f0; }
.badge-rank.r3 { background: linear-gradient(180deg, #e6bd93, #b9804f); color: #2a1709; border-color: #e6bd93; }
.level-pill { display: inline-block; min-width: 46px; padding: 3px 11px; border-radius: 999px; background: rgba(240,189,85,.11); border: 1px solid var(--line-mid); color: var(--gold-2); font-weight: 700; font-size: 13px; text-align: center; }
.table-foot { font-size: 12.5px; color: var(--muted); margin: 15px 0 0; }

/* ---------- 下载 ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; background: rgba(240,189,85,.075); border: 1px solid rgba(240,189,85,.3); border-radius: 8px; padding: 19px 22px; margin-bottom: 24px; }
.notice-icon { flex: 0 0 24px; color: var(--gold); }
.notice-icon svg { width: 22px; height: 22px; }
.notice b { font-size: 14px; color: var(--gold-2); }
.notice p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.8; }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, rgba(20,31,45,.8), rgba(9,15,23,.92)); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.4); border-color: var(--line-strong); }
.dl-card::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,189,85,.5), transparent); }
.dl-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dl-icon { width: 42px; height: 42px; border-radius: 9px; background: rgba(240,189,85,.11); border: 1px solid var(--line-mid); color: var(--gold); display: grid; place-items: center; }
.dl-icon svg { width: 22px; height: 22px; }
.dl-tag { font-size: 11px; color: var(--text-2); border: 1px solid var(--line-mid); padding: 3px 11px; border-radius: 999px; }
.dl-card h3 { font-size: 17px; margin: 0 0 10px; color: #f5e6c7; }
.dl-card p { font-size: 13px; color: var(--text-2); line-height: 1.85; margin: 0 0 18px; flex: 1; }
.dl-meta { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-meta .btn { padding: 7px 15px; font-size: 12.5px; }
.dl-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.dl-fastnote { font-size: 12px; color: #f0dcae; background: rgba(240,189,85,.08); border: 1px solid rgba(240,189,85,.28); border-radius: 6px; padding: 7px 12px; margin: -6px 0 16px; }

/* ---------- 三步 / 我的账号 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(20,31,45,.8), rgba(9,15,23,.92)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.step::after { content: ""; position: absolute; top: 0; right: 0; width: 60px; height: 60px; background: radial-gradient(circle at 100% 0, rgba(240,189,85,.13), transparent 70%); }
.step-no { display: block; font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 1px rgba(240,189,85,.55); }
.step h3 { font-size: 17px; margin: 0 0 10px; color: #f5e6c7; }
.step p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.85; }
.account-zone { margin-top: 26px; background: rgba(7,12,19,.72); border: 1px solid var(--line-mid); border-radius: 8px; padding: 26px 28px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.account-head h3 { margin: 0 0 4px; font-size: 18px; color: #f5e6c7; }
.account-head p { margin: 0; font-size: 13px; color: var(--muted); }
.account-buttons { display: flex; gap: 10px; }
.account-body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.me-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.me-item { background: rgba(240,189,85,.055); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.me-item span { display: block; font-size: 11.5px; color: var(--muted); }
.me-item b { font-size: 16px; color: var(--gold-2); }
.char-list { display: flex; flex-wrap: wrap; gap: 10px; }
.char-chip { border: 1px solid var(--line-mid); border-radius: 7px; padding: 8px 14px; font-size: 13px; background: rgba(255,255,255,.02); }
.char-chip b { color: #f5e6c7; }
.char-chip span { color: var(--muted); margin-left: 8px; font-size: 12px; }
.btn-logout { margin-left: auto; }

/* ---------- 声明 / 页脚 ---------- */
.legal { background: #080d14; border-top: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.legal-card { border: 1px solid var(--line); border-radius: 8px; padding: 22px 25px; background: rgba(16,25,37,.65); }
.legal-card h3 { margin: 0 0 10px; font-size: 15px; color: var(--gold-2); }
.legal-card p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.9; }
.legal-tip { font-size: 12.5px; color: var(--muted); margin: 20px 0 0; text-align: center; }
.footer { position: relative; background: #060a10; border-top: 1px solid var(--line-mid); padding: 52px 0 34px; text-align: center; }
.footer::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(1200px, 90%); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { font-size: 27px; font-weight: 900; letter-spacing: .28em; color: #f0c975; text-shadow: 0 0 22px rgba(240,189,85,.28); }
.footer-brand span { font-size: 13px; font-weight: 400; letter-spacing: .1em; color: var(--muted); }
.footer-links { display: flex; gap: 26px; font-size: 13px; color: var(--text-2); margin: 12px 0 6px; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--gold-2); }
.footer-small { font-size: 11.5px; color: #6f7168; margin: 0; line-height: 1.9; }

/* ---------- 弹窗 ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(3,7,12,.76); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(430px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: linear-gradient(180deg, #141f2d, #0b121b); border: 1px solid var(--line-strong); border-radius: 12px; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.65), 0 0 40px rgba(240,189,85,.08); animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 26px; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--gold-2); }
.tabs { display: flex; gap: 6px; background: rgba(0,0,0,.32); border: 1px solid var(--line); border-radius: 8px; padding: 4px; margin-bottom: 22px; }
.tab { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 6px; font-size: 14px; color: var(--text-2); font-weight: 600; }
.tab.active { background: linear-gradient(180deg, rgba(240,189,85,.2), rgba(240,189,85,.08)); color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--line-mid); }
.modal-title { font-size: 22px; margin: 0 0 6px; color: #f6e9cd; }
.modal-desc { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
form input { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; border: 1px solid var(--line-mid); border-radius: 7px; font-size: 14px; font-family: inherit; color: var(--text); background: rgba(4,8,14,.7); outline: none; transition: border-color .2s, box-shadow .2s; }
form input::placeholder { color: #66685f; }
form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240,189,85,.14); }
.opt { font-weight: 400; color: var(--muted); }
#challengeQ { float: right; color: var(--gold-2); font-weight: 700; }
.form-msg { min-height: 20px; font-size: 12.5px; margin: 0 0 8px; color: #ef8b7e; }
.form-msg.ok { color: #66d9ae; }
.modal-foot { font-size: 11.5px; color: var(--muted); line-height: 1.8; margin: 18px 0 0; text-align: center; }
.modal-foot a { color: var(--gold); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 200; background: #101a26; color: #f5e6c7; border: 1px solid var(--line-strong); padding: 12px 20px; border-radius: 8px; font-size: 13.5px; box-shadow: 0 12px 32px rgba(0,0,0,.5); animation: pop .2s ease; }
.toast[hidden] { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; font-size: 12.5px; }
  .nav-inner { gap: 12px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 32px 0 92px; }
  .hero-copy { max-width: 100%; }
  .hero-panel { width: 100%; max-width: 640px; }
  .cards, .downloads { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .note-block { grid-template-columns: 150px 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav { left: 10px; right: 10px; top: 10px; }
  .nav-inner { padding: 0 10px; }
  .brand-text small { display: none; }
  .nav-actions .btn { padding: 8px 12px; font-size: 12.5px; }
  .section { padding: 44px 0 62px; }
  .hero { padding: 28px 0 80px; }
  .hero h1 { font-size: 52px; letter-spacing: .14em; }
  .hero-en { letter-spacing: .3em; }
  .hero-slogan { font-size: 15px; letter-spacing: .1em; }
  .chip { padding: 7px 14px; font-size: 12px; }
  .cards, .downloads { grid-template-columns: 1fr; }
  .note-block { grid-template-columns: 1fr; }
  .note-block h3 { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .note-block ul { padding: 16px 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 24px; }
  .rank-table th, .rank-table td { padding: 11px 12px; font-size: 12.5px; }
  .rank-table th:nth-child(6), .rank-table td:nth-child(6) { display: none; }
  .me-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { gap: 14px; }
}

/* ---------- 排行榜职业筛选 ---------- */
.rank-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rank-tab { border: 1px solid var(--line-mid); background: rgba(7, 12, 19, .6); color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 7px 18px; border-radius: 999px; transition: color .18s, border-color .18s, background .18s, box-shadow .18s; }
.rank-tab:hover { color: var(--gold-2); border-color: var(--line-strong); background: rgba(240, 189, 85, .08); }
.rank-tab.active { color: var(--gold-2); border-color: var(--gold); background: rgba(240, 189, 85, .16); box-shadow: 0 0 14px rgba(240, 189, 85, .25), inset 0 0 10px rgba(240, 189, 85, .08); }

/* ---------- 特别玩法（金色高亮块） ---------- */
.note-block.note-special h3 { color: var(--gold-2); background: linear-gradient(90deg, rgba(240, 189, 85, .14), rgba(240, 189, 85, .01)); text-shadow: 0 0 14px rgba(240, 189, 85, .35); }
.note-block.note-special { border-left: 2px solid rgba(240, 189, 85, .45); }
.note-block.note-special li::before { color: rgba(240, 189, 85, .7); }
.note-block.note-special b { color: #f7dc9c; }

@media (max-width: 980px) {
  .rank-filters { gap: 6px; }
  .rank-tab { padding: 6px 13px; font-size: 12.5px; }
}

/* ---------- 特别玩法 · 合成材料表 ---------- */
.mix-table { margin: 12px 0 4px; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mix-table th, .mix-table td { border: 1px solid var(--line-mid); padding: 7px 18px; text-align: center; }
.mix-table th { background: rgba(240, 189, 85, .1); color: var(--gold-2); font-weight: 700; letter-spacing: .06em; }
.mix-table td { color: var(--text-2); background: rgba(7, 12, 19, .5); }
.mix-table td:first-child { color: var(--text); font-weight: 600; }

/* ---------- 副本事件倒计时（概览面板内） ---------- */
.event-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 20px 0 14px; }
.event-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #f0dfba; }
.event-tip { font-size: 10.5px; color: var(--muted); }
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.event-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 12.5px; padding: 20px 0; }
.event-card { position: relative; background: rgba(6, 11, 18, .55); border: 1px solid var(--line); border-radius: 6px; padding: 12px 13px 11px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.event-card::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,189,85,.45), transparent); }
.event-card.active { border-color: rgba(240,189,85,.55); box-shadow: inset 0 0 18px rgba(240,189,85,.07), 0 0 16px rgba(240,189,85,.1); }
.event-card.active::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ec-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 7px; }
.ec-name { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #f3e3c2; white-space: nowrap; }
.ec-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; }
.ec-dot.r-copy { background: var(--gold); box-shadow: 0 0 7px rgba(240,189,85,.7); }
.ec-dot.r-wild { background: #e08a5c; box-shadow: 0 0 7px rgba(224,138,92,.6); }
.ec-dot.r-event { background: #7fc9a8; box-shadow: 0 0 7px rgba(127,201,168,.6); }
.ec-state { font-size: 9.5px; border: 1px solid var(--line-mid); border-radius: 999px; padding: 1px 7px; color: var(--muted); white-space: nowrap; }
.ec-state.on { color: #0d0a04; background: var(--gold); border-color: var(--gold); font-weight: 700; }
.ec-count { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 21px; font-weight: 800; letter-spacing: .04em; color: #f7dc9c; line-height: 1.2; font-variant-numeric: tabular-nums; }
.event-card.active .ec-count { color: #ffcf6b; text-shadow: 0 0 14px rgba(240,189,85,.45); }
.ec-sub { margin-top: 5px; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 980px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .event-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ec-count { font-size: 18px; }
  .event-tip { display: none; }
  .ec-name { font-size: 11.5px; }
}

/* ---------- 顶部开服公告横幅（各界面常驻） ---------- */
.announce-wrap { padding: 104px 0 0; }
@keyframes announcePulse {
  0%, 100% { box-shadow: 0 12px 38px rgba(0,0,0,.42), inset 0 0 30px rgba(240,189,85,.10), 0 0 0 rgba(255,190,60,0); }
  50% { box-shadow: 0 12px 38px rgba(0,0,0,.42), inset 0 0 36px rgba(240,189,85,.18), 0 0 26px rgba(255,190,60,.32); }
}
.announce {
  position: relative; z-index: 3;
  width: min(980px, calc(100% - 32px)); margin: 0 auto 28px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 26px; border-radius: 10px;
  background: linear-gradient(100deg, rgba(240,189,85,.22), rgba(240,189,85,.08) 55%, rgba(201,73,49,.20));
  border: 1px solid rgba(240,189,85,.78);
  animation: announcePulse 3s ease-in-out infinite;
}
.announce::before, .announce::after { content: ""; position: absolute; width: 15px; height: 15px; border: 2px solid var(--gold); opacity: .9; }
.announce::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.announce::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.announce-tag {
  flex: 0 0 auto; font-size: 16px; font-weight: 800; letter-spacing: .18em;
  color: #241703; padding: 7px 15px; border-radius: 5px;
  background: linear-gradient(180deg, #ffdc90, #e9b449); box-shadow: 0 3px 14px rgba(224,168,60,.45);
}
.announce-body { flex: 1 1 420px; min-width: 0; }
.announce-text { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.6; color: #fff3da; }
.announce-text b { color: #ffd77e; font-weight: 900; font-size: 22px; }
.announce-sub {
  margin: 6px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5;
  color: #ffb98a; letter-spacing: .01em;
}
.announce-sub::before { content: "⚠ "; color: #ff8a5c; }
.announce-link { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--gold-2); border-bottom: 1px dashed rgba(240,189,85,.55); padding-bottom: 2px; }
.announce-link:hover { color: #fff0cf; border-bottom-color: var(--gold-2); }

/* ---------- 意见反馈区 ---------- */
.feedback-card {
  display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
  background: var(--panel); border: 1px solid var(--line-mid); border-radius: var(--radius);
  padding: 32px 38px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,220,150,.06);
}
.feedback-eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--gold-deep); font-weight: 700; }
.feedback-copy h3 { margin: 6px 0 12px; font-size: 26px; letter-spacing: .08em; color: #f7e3b8; text-shadow: 0 0 18px rgba(240,189,85,.22); }
.feedback-copy p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.9; color: var(--text-2); max-width: 560px; }
.feedback-qq { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 16px; }
.feedback-qq > span { font-size: 12.5px; color: var(--muted); }
.feedback-qq code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 22px; font-weight: 800; letter-spacing: .1em; color: #ffd77e; }
.feedback-qq .btn { padding: 6px 14px; font-size: 12px; }
.feedback-note { font-size: 12px !important; color: var(--muted) !important; border-left: 2px solid var(--gold-deep); padding-left: 12px; }
.feedback-qr {
  text-align: center; padding: 12px 12px 10px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 8px 26px rgba(0,0,0,.4);
}
.feedback-qr img { display: block; width: 190px; height: auto; margin: 0 auto; }
.feedback-qr span { display: block; margin-top: 8px; font-size: 11.5px; color: #7a5b1e; font-weight: 700; }
@media (max-width: 980px) {
  .feedback-card { grid-template-columns: 1fr; gap: 22px; padding: 26px 24px; }
  .feedback-qr img { width: 200px; }
}
@media (max-width: 620px) {
  .announce-wrap { padding-top: 94px; }
  .announce { padding: 14px 16px; gap: 10px; }
  .announce-tag { font-size: 13px; padding: 5px 10px; }
  .announce-body { flex-basis: 100%; }
  .announce-text { font-size: 16px; }
  .announce-text b { font-size: 18px; }
  .announce-sub { font-size: 13px; }
  .announce-link { font-size: 13px; }
  .feedback-copy h3 { font-size: 22px; }
  .feedback-qq code { font-size: 19px; }
}

/* ---------- 两侧常驻 QQ 群二维码 ---------- */
.side-qr { position: fixed; top: 50%; transform: translateY(-50%); z-index: 45; }
.side-qr-left { left: 20px; }
.side-qr-right { right: 20px; }
.side-qr-card {
  width: 200px; padding: 13px 13px 11px; text-align: center;
  background: rgba(9, 15, 24, .93); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0,0,0,.55), inset 0 0 18px rgba(240,189,85,.06);
}
.side-qr-card::before, .side-qr-card::after { content: ""; position: absolute; width: 13px; height: 13px; border: 1px solid var(--gold); opacity: .8; }
.side-qr-left .side-qr-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.side-qr-left .side-qr-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.side-qr-right .side-qr-card::before { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.side-qr-right .side-qr-card::after { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.sqr-title { font-size: 11px; letter-spacing: .22em; color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
.side-qr-card img { display: block; width: 100%; height: auto; border-radius: 5px; background: #fff; }
.sqr-no { margin-top: 9px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 17px; font-weight: 800; letter-spacing: .04em; color: #ffd77e; }
.sqr-no-text { font-family: inherit; font-size: 14px; letter-spacing: 0; white-space: nowrap; }
.sqr-tip { margin-top: 3px; font-size: 10.5px; color: var(--muted); }
/* 屏幕不够宽时两侧悬浮会遮挡正文，逐级收窄再隐藏；feedback 区二维码始终保留 */
@media (max-width: 1600px) {
  .side-qr-card { width: 170px; }
  .sqr-no { font-size: 15px; }
  .sqr-no-text { font-size: 12px; }
}
@media (max-width: 1360px) {
  .side-qr-card { width: 140px; padding: 10px; }
  .sqr-title, .sqr-tip { font-size: 9px; }
  .sqr-no { font-size: 12px; }
  .sqr-no-text { font-size: 10px; }
}
@media (max-width: 1180px) {
  .side-qr { display: none; }
}

/* ---------- 移动端底部快捷导航（≤980px 显示） ---------- */
.tabbar { display: none; }
@media (max-width: 980px) {
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(8, 13, 20, .97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-mid);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .5);
  }
  .tabbar a {
    flex: 1; text-align: center; font-size: 12px; color: var(--text-2);
    padding: 7px 2px; border-radius: 7px; letter-spacing: .04em;
    transition: color .18s, background .18s;
  }
  .tabbar a.active { color: var(--gold-2); background: rgba(240,189,85,.14); }
  body { padding-bottom: 64px; }
  .toast { bottom: 78px; }
}
