/* VinaArcade · 免费在线游戏 */
:root {
  --bg: #070a13;
  --bg-2: #0a0f1c;
  --panel: #0d1424;
  --panel-2: #111a2e;
  --line: rgba(126, 158, 255, .14);
  --line-2: rgba(126, 158, 255, .26);
  --txt: #e9eefb;
  --dim: #94a3c4;
  --dim-2: #6f7f9e;
  --pink: #ff4d9d;
  --violet: #a06bff;
  --cyan: #39e6ff;
  --lime: #b6ff3c;
  --amber: #ffcc4d;
  --grad: linear-gradient(100deg, #ff4d9d 0%, #a06bff 52%, #39e6ff 100%);
  --r: 14px;
  --wrap: 1180px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(160, 107, 255, .16), transparent 62%),
    radial-gradient(760px 420px at 8% 4%, rgba(57, 230, 255, .10), transparent 60%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.4px; font-weight: 800; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--font); letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 10, 19, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.brand b { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex: 1 1 auto; }
.nav a {
  color: var(--dim); padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.nav a:hover { color: var(--txt); background: rgba(255, 255, 255, .05); }
.nav a.on { color: #0a0f1c; background: var(--lime); }
.nav a.on:hover { color: #0a0f1c; }

.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  color: var(--txt); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.menu-btn { display: none; }

/* ---------- 公告 ---------- */
.announce { border-bottom: 1px solid var(--line); background: rgba(57, 230, 255, .055); }
.announce .wrap { display: flex; align-items: center; gap: 12px; padding: 9px 22px; }
.announce .tag {
  flex: 0 0 auto; font: 800 11px/1 var(--font); letter-spacing: 1.4px;
  color: #071018; background: var(--cyan); padding: 5px 8px; border-radius: 5px;
}
.announce p { margin: 0; font-size: 13.5px; color: #b9c6e0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 11px;
  font: 700 15px/1 var(--font); border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #080b14; box-shadow: 0 10px 28px rgba(255, 77, 157, .28); }
.btn-primary:hover { color: #080b14; box-shadow: 0 14px 34px rgba(57, 230, 255, .28); }
.btn-ghost { border-color: var(--line-2); color: var(--txt); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }

/* ---------- 首页英雄 ---------- */
.hero { position: relative; padding: 62px 0 54px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(126, 158, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(560px 340px at 22% 42%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(560px 340px at 22% 42%, #000 10%, transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -1.6px; margin: 16px 0 18px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 17px; color: var(--dim); max-width: 33em; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.hero-stats div { min-width: 84px; }
.hero-stats b { display: block; font-size: 26px; letter-spacing: -1px; line-height: 1.1; }
.hero-stats span { font-size: 12.5px; color: var(--dim-2); }

.hero-card { position: relative; }
.hero-card .cover { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.hero-card .cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-card .hc-body {
  position: relative; z-index: 2; margin: -24px 16px 0;
  background: rgba(10, 16, 29, .96); border: 1px solid var(--line-2);
  border-radius: 13px; padding: 14px 17px; display: flex; align-items: center; gap: 14px;
  backdrop-filter: blur(8px);
}
.hc-body .hc-t { flex: 1 1 auto; min-width: 0; }
.hc-body strong { display: block; font-size: 16px; }
.hc-body small { color: var(--dim-2); font-size: 12.5px; }
.hc-play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: #071018; font-size: 15px;
}
.hero-card .badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(7, 10, 19, .82); border: 1px solid var(--line-2);
  color: var(--lime); font: 700 11px/1 var(--font); letter-spacing: 1.6px;
  padding: 7px 10px; border-radius: 6px;
}

/* ---------- 区块 ---------- */
.section { padding: 62px 0; position: relative; z-index: 1; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 0; }
.sec-head p { margin: 8px 0 0; color: var(--dim); font-size: 14.5px; max-width: 46em; }
.sec-more { flex: 0 0 auto; color: var(--dim); font-size: 14px; font-weight: 600; }
.sec-more:hover { color: var(--cyan); }

/* ---------- 游戏卡片 ---------- */
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.game-card {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .42); }
.game-card .thumb { position: relative; display: block; background: #0a1120; }
.game-card .thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.game-card .thumb .play {
  position: absolute; right: 10px; bottom: 10px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 10, 19, .8); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 12px;
}
.game-card:hover .thumb .play { background: var(--lime); color: #071018; border-color: transparent; }
.gc-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1 1 auto; }
.gc-body h3 { font-size: 16.5px; }
.gc-body h3 a { color: var(--txt); }
.gc-body h3 a:hover { color: var(--cyan); }
.gc-body p { margin: 0; font-size: 13px; color: var(--dim-2); line-height: 1.55; }
.gc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip {
  font-size: 11.5px; line-height: 1; padding: 5px 7px; border-radius: 5px;
  background: rgba(126, 158, 255, .10); color: #a9b8d8; border: 1px solid transparent;
}
.chip.cat { color: var(--pink); background: rgba(255, 77, 157, .10); }
.chip.easy { color: var(--lime); background: rgba(182, 255, 60, .08); }
.chip.mid { color: var(--amber); background: rgba(255, 204, 77, .08); }
.chip.hard { color: #ff7a90; background: rgba(255, 77, 109, .10); }

/* ---------- 分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-card {
  position: relative; padding: 24px 22px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.cat-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cat-card .no { font: 800 12px/1 var(--font); letter-spacing: 2px; color: var(--dim-2); }
.cat-card h3 { font-size: 23px; margin: 12px 0 8px; }
.cat-card h3 a { color: var(--txt); }
.cat-card p { margin: 0 0 16px; color: var(--dim); font-size: 13.5px; min-height: 3.1em; }
.cat-card .cnt { font-size: 12.5px; color: var(--dim-2); display: flex; align-items: center; justify-content: space-between; }
.cat-card .cnt b { color: var(--cyan); font-size: 13px; }
.cat-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--dot, var(--pink)); opacity: .12; filter: blur(2px);
}

/* ---------- 文章 ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.art-card {
  padding: 22px; border-radius: var(--r); background: var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.art-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.art-card .k { font-size: 11.5px; letter-spacing: 1.2px; color: var(--cyan); font-weight: 700; }
.art-card h3 { font-size: 18px; margin: 10px 0 8px; line-height: 1.45; }
.art-card h3 a { color: var(--txt); }
.art-card p { font-size: 13.5px; color: var(--dim); margin: 0 0 16px; }
.art-card .foot { margin-top: auto; font-size: 12px; color: var(--dim-2); display: flex; gap: 12px; }

/* ---------- 榜单 ---------- */
.rank-list { display: grid; gap: 10px; }
.rank-row {
  display: grid; grid-template-columns: 44px 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.rank-row:hover { border-color: var(--line-2); }
.rank-row .n { font: 800 18px/1 var(--font); color: var(--dim-2); }
.rank-row .n.top { color: var(--lime); }
.rank-row img { width: 56px; height: 36px; object-fit: cover; border-radius: 6px; }
.rank-row .t { min-width: 0; }
.rank-row .t b { display: block; font-size: 15px; }
.rank-row .t span { font-size: 12.5px; color: var(--dim-2); }
.rank-row .s { font: 700 13px/1 var(--font); color: var(--amber); }
.rank-row .go { font-size: 12.5px; color: var(--cyan); }

/* ---------- 详情页 ---------- */
.crumb { padding: 20px 0 0; font-size: 13px; color: var(--dim-2); display: flex; flex-wrap: wrap; gap: 8px; }
.crumb a { color: var(--dim-2); }
.crumb a:hover { color: var(--cyan); }
.crumb span { opacity: .5; }

.game-hero { padding: 26px 0 34px; }
.game-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr); gap: 34px; align-items: start; }
.game-side { position: sticky; top: 90px; }
#play { scroll-margin-top: 90px; }
.game-head h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 10px; letter-spacing: -1px; }
.game-head .tagline { color: var(--dim); font-size: 15.5px; margin-bottom: 18px; }
.game-head .chipbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.game-head .intro { max-width: 62em; }
.game-head .intro p { color: #c2cde5; font-size: 15.5px; margin: 0; }

.player-card {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto 20px;
}
.stage { position: relative; background: #060911; }
.stage canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.stage-over {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center;
  background: rgba(5, 8, 15, .82); backdrop-filter: blur(4px); padding: 24px;
}
.stage-over.is-on { display: grid; }
.stage-over h3 { font-size: 24px; margin-bottom: 8px; }
.stage-over p { color: var(--dim); font-size: 14px; margin-bottom: 16px; }
.stage-hud {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 12px; border-bottom: 1px solid var(--line); background: #0a1120;
}
.hud-item { font-size: 12px; color: var(--dim-2); display: flex; align-items: center; gap: 6px; }
.hud-item b { color: var(--txt); font-size: 15px; font-variant-numeric: tabular-nums; }
.hud-item.state b { color: var(--cyan); font-size: 12.5px; font-weight: 600; }
.hud-sp { flex: 1 1 auto; }
.stage-tools { display: flex; gap: 6px; }
.stage-tools button {
  min-height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--txt); font-size: 12.5px; cursor: pointer;
}
.stage-tools button:hover { border-color: var(--cyan); }
.pad { display: none; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #0a1120; }
.pad button {
  flex: 1 1 0; min-height: 44px; border-radius: 9px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05); color: var(--txt); font-size: 17px; font-weight: 700;
  touch-action: none; user-select: none;
}
.pad button:active { background: var(--cyan); color: #071018; }
.player-note { font-size: 12px; color: var(--dim-2); padding: 10px 14px; border-top: 1px solid var(--line); }
.player-note b { color: var(--dim); }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 19px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ""; width: 4px; height: 17px; background: var(--grad); border-radius: 3px; }
.panel h3 { font-size: 16px; margin: 18px 0 8px; }
.side-facts { display: grid; gap: 12px; }
.side-facts div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 11px; border-bottom: 1px dashed rgba(126, 158, 255, .14); font-size: 13.5px; }
.side-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.side-facts span { color: var(--dim-2); }
.side-facts b { color: var(--txt); font-weight: 600; text-align: right; }
.side-games { display: grid; gap: 12px; margin-top: 4px; }
.side-game { display: flex; gap: 11px; align-items: center; }
.side-game img { width: 68px; height: 43px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); }
.side-game b { display: block; font-size: 13.5px; color: var(--txt); }
.side-game span { font-size: 11.5px; color: var(--dim-2); }

.prose { color: #c7d2e8; font-size: 15.8px; }
.prose h2 { font-size: 23px; margin: 32px 0 14px; color: var(--txt); }
.prose h3 { font-size: 18px; margin: 24px 0 10px; color: var(--txt); }
.prose p { margin: 0 0 16px; }
.prose .plist { padding-left: 1.2em; margin: 0 0 18px; }
.prose .plist li { margin-bottom: 8px; }
.prose .callout {
  border-left: 3px solid var(--cyan); background: rgba(57, 230, 255, .06);
  padding: 13px 16px; border-radius: 0 8px 8px 0; margin: 0 0 18px; font-size: 14.5px; color: #b9cbe4;
}
.prose strong { color: #fff; font-weight: 700; }

/* 表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; background: rgba(255, 255, 255, .03); }
td b { color: #fff; }

/* 列表页 */
.page-head { padding: 44px 0 28px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 12px; letter-spacing: -1.2px; }
.page-head p { color: var(--dim); max-width: 50em; margin: 0; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.filter-row a {
  font-size: 13px; padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--dim); background: rgba(255, 255, 255, .02);
}
.filter-row a:hover { border-color: var(--line-2); color: var(--txt); }
.filter-row a.on { background: var(--lime); border-color: transparent; color: #071018; font-weight: 700; }

/* 文章页 */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 26px 0 60px; }
.article-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 14px; letter-spacing: -1px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--dim-2); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-body { padding-top: 24px; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: var(--panel); }
.toc b { font-size: 13px; letter-spacing: 1px; color: var(--dim); display: block; margin-bottom: 10px; }
.toc a { display: block; font-size: 13px; color: var(--dim); padding: 5px 0; }
.toc a:hover { color: var(--cyan); }

/* 术语 */
.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.term { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.term b { font-size: 16px; display: block; margin-bottom: 6px; }
.term b em { font-style: normal; font-size: 11px; color: var(--cyan); letter-spacing: 1px; margin-left: 6px; }
.term p { margin: 0; font-size: 13px; color: var(--dim); }

/* 年表 */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--pink), var(--cyan)); opacity: .5; }
.tl-item { position: relative; padding: 0 0 26px 10px; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.tl-year { font: 800 13px/1 var(--font); letter-spacing: 1.5px; color: var(--lime); }
.tl-item h3 { font-size: 17px; margin: 7px 0 5px; }
.tl-item p { margin: 0; color: var(--dim); font-size: 14px; }

/* 搜索 */
.search-box { display: flex; gap: 10px; margin: 24px 0 8px; max-width: 560px; }
.search-box input {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--txt); font-size: 15px;
}
.search-box input:focus { outline: 2px solid rgba(57, 230, 255, .45); outline-offset: 1px; }
.result-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-row .rt { font-size: 11px; color: var(--cyan); border: 1px solid rgba(57, 230, 255, .3); border-radius: 4px; padding: 2px 6px; height: fit-content; flex: 0 0 auto; }
.result-row b { display: block; font-size: 15.5px; }
.result-row b a { color: var(--txt); }
.result-row b a:hover { color: var(--cyan); }
.result-row p { margin: 3px 0 0; font-size: 13px; color: var(--dim-2); }

/* 页脚 */
.footer { border-top: 1px solid var(--line); background: #05080f; padding: 50px 0 24px; position: relative; z-index: 1; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer .f-brand img { height: 40px; margin-bottom: 14px; }
.footer .f-brand p { color: var(--dim-2); font-size: 13px; max-width: 30em; }
.footer h4 { font-size: 13px; letter-spacing: 1.2px; color: var(--dim); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--dim-2); font-size: 13px; }
.footer a:hover { color: var(--cyan); }
.footer .bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: var(--dim-2);
}
.footer .bottom a { color: var(--dim-2); }
.footer .bottom a:hover { color: var(--cyan); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .wrap { gap: 36px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-wrap .article-side { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; background: #0a0f1c; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: grid; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-card { max-width: 560px; }
  .game-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .game-side { display: none; }
  .cat-grid, .art-grid, .term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .rank-row { grid-template-columns: 34px 48px minmax(0, 1fr) auto; }
  .rank-row img { width: 48px; height: 31px; }
  .rank-row .go { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: 60px; gap: 10px; }
  .brand img { height: 34px; }
  .nav { top: 60px; }
  .hero { padding: 38px 0 66px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hero .lead { font-size: 15px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .hero-stats b { font-size: 21px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gc-body { padding: 10px 11px 12px; }
  .gc-body h3 { font-size: 14.5px; }
  .gc-body p { display: none; }
  .cat-grid, .art-grid, .term-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-card p { min-height: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer .f-brand { grid-column: 1 / -1; }
  .panel { padding: 18px 16px; }
  .player-card { border-radius: 12px; max-width: none; margin-bottom: 16px; }
  .stage-hud { padding: 8px 10px; gap: 8px; }
  .hud-item { font-size: 11px; }
  .pad { display: flex; }
  .rank-row { padding: 10px 12px; gap: 10px; }
  .rank-row .s { display: none; }
  .article-wrap { padding: 16px 0 44px; }
}

@media (hover: none) {
  .pad { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
