/* ============================================
   VSCode 游乐园 — 全局样式
   ============================================ */
:root {
  --bg: #1b1e27;
  --bg2: #151823;
  --panel: #222634;
  --panel2: #2a2f40;
  --line: #343b4f;
  --text: #e8ecf5;
  --muted: #9aa3b8;
  --blue: #3b9dff;
  --blue2: #0a84ff;
  --green: #3ad07a;
  --purple: #c586c0;
  --orange: #ffb454;
  --red: #ff6b6b;
  --yellow: #ffd166;
  --teal: #4ec9b0;
  --radius: 14px;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59, 157, 255, .12), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(197, 134, 192, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 24, 35, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); white-space: nowrap; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--blue); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  padding: 7px 13px; border-radius: 9px;
  color: var(--muted); font-size: 14px; transition: .15s;
}
.nav a:hover { color: var(--text); background: var(--panel2); }
.nav a.active {
  color: #fff; font-weight: 600;
  background: linear-gradient(135deg, #2b7fff, #3b9dff);
  box-shadow: 0 4px 14px rgba(59, 157, 255, .35);
}

/* XP 组件 */
.xp { margin-left: auto; width: 190px; }
.xp-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.xp-top b { color: var(--yellow); }
.xp-bar { height: 8px; border-radius: 99px; background: var(--panel2); overflow: hidden; border: 1px solid var(--line); }
.xp-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 99px; transition: width .6s cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 通用布局 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 70px; }
.section { margin-top: 46px; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; }
.section-head .sub { color: var(--muted); font-size: 14px; }

.card {
  background: linear-gradient(180deg, var(--panel), #1f2330);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: .2s;
}
.card:hover { transform: translateY(-3px); border-color: #465275; box-shadow: var(--shadow); }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  color: #fff; font-family: inherit;
  background: linear-gradient(135deg, #2b7fff, #3b9dff);
  box-shadow: 0 6px 18px rgba(59, 157, 255, .35);
  transition: .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(59, 157, 255, .45); }
.btn.ghost {
  background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text);
}
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.green { background: linear-gradient(135deg, #1fa35c, #3ad07a); box-shadow: 0 6px 18px rgba(58, 208, 122, .3); }
.btn.big { font-size: 17px; padding: 14px 30px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* 键帽 */
kbd {
  display: inline-block; min-width: 28px; text-align: center;
  padding: 3px 9px; margin: 0 2px;
  border-radius: 7px; background: #12141c;
  border: 1px solid #3a4258; border-bottom-width: 3px;
  color: #dfe7ff; font-family: var(--mono); font-size: 13px;
  white-space: nowrap;
}

/* 徽章 / 提示条 */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 99px; font-size: 12.5px;
  background: var(--panel2); border: 1px solid var(--line); color: var(--muted);
}
.chip.blue { color: var(--blue); border-color: rgba(59, 157, 255, .4); background: rgba(59, 157, 255, .1); }
.chip.green { color: var(--green); border-color: rgba(58, 208, 122, .4); background: rgba(58, 208, 122, .1); }
.chip.gold { color: var(--yellow); border-color: rgba(255, 209, 102, .4); background: rgba(255, 209, 102, .1); }

/* 页面小横幅 */
.page-hero {
  padding: 34px 20px 8px; max-width: 1180px; margin: 0 auto;
}
.page-hero h1 { font-size: 32px; margin-bottom: 6px; }
.page-hero p { color: var(--muted); max-width: 720px; }

/* ---------- 首页 Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: 40px 20px 10px; max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: 44px; line-height: 1.25; }
.hero h1 .hl { color: var(--blue); }
.hero p.lead { color: var(--muted); font-size: 17px; margin: 14px 0 24px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats .num { font-size: 24px; font-weight: 800; color: var(--text); }
.hero-stats .lbl { font-size: 12.5px; color: var(--muted); }

.hero-art { position: relative; }
.hero-art .mascot-wrap { filter: drop-shadow(0 16px 30px rgba(0,0,0,.4)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-key {
  position: absolute; font-family: var(--mono); font-size: 13px;
  padding: 5px 11px; border-radius: 8px;
  background: #12141c; border: 1px solid #3a4258; border-bottom-width: 3px;
  color: #cfe0ff; animation: floaty 5s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.float-key.k1 { top: 4%; left: -4%; animation-delay: 0s; }
.float-key.k2 { top: 16%; right: -2%; animation-delay: 1.2s; color: #ffd9a8; }
.float-key.k3 { bottom: 12%; left: -8%; animation-delay: 2.1s; color: #b8f5d9; }
.float-key.k4 { bottom: -4%; right: 4%; animation-delay: 3s; color: #e3c2f0; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

.float-emoji { position: absolute; font-size: 26px; opacity: .8; animation: floaty 6s ease-in-out infinite; }

/* ---------- 学习路径 ---------- */
.path-card { position: relative; display: block; color: var(--text); }
.path-card .step {
  position: absolute; top: -12px; left: 16px;
  font-family: var(--mono); font-weight: 800; font-size: 13px;
  background: linear-gradient(135deg, #2b7fff, #7aa8ff); color: #fff;
  padding: 3px 11px; border-radius: 99px; box-shadow: 0 4px 12px rgba(59,157,255,.4);
}
.path-card h3 { margin: 8px 0 6px; font-size: 17px; }
.path-card p { color: var(--muted); font-size: 13.5px; }
.path-card .go { margin-top: 12px; font-size: 13.5px; color: var(--blue); font-weight: 600; }
.path-card .emoji-big { font-size: 34px; }

/* ---------- 游戏磁贴 ---------- */
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: block; color: var(--text);
  transition: .2s; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
}
.tile:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow); }
.tile .ico { font-size: 46px; margin-bottom: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.tile h3 { font-size: 18px; margin-bottom: 4px; }
.tile p { font-size: 13px; color: rgba(255,255,255,.75); }
.tile .best-chip {
  position: absolute; top: 14px; right: 14px;
  font-size: 12px; padding: 3px 10px; border-radius: 99px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.tile .play-hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff;
}
.tg1 { background: linear-gradient(135deg, #27406e, #4f7ec2); }
.tg2 { background: linear-gradient(135deg, #4a2a5e, #9b59b6); }
.tg3 { background: linear-gradient(135deg, #5e3a1e, #d98324); }
.tg4 { background: linear-gradient(135deg, #1e4d46, #2ea898); }
.tg5 { background: linear-gradient(135deg, #5e1e2e, #d9536f); }
.tg6 { background: linear-gradient(135deg, #2d4a1e, #7bb24a); }

/* ---------- 成就墙 ---------- */
.ach {
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(180deg, var(--panel), #1f2330);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.ach .a-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(255, 209, 102, .12); border: 1px solid rgba(255, 209, 102, .35);
}
.ach h4 { font-size: 14.5px; }
.ach p { font-size: 12.5px; color: var(--muted); }
.ach.locked { opacity: .38; filter: grayscale(.9); }
.ach.unlocked { border-color: rgba(255, 209, 102, .45); box-shadow: 0 4px 18px rgba(255, 209, 102, .1); }

/* ---------- Toast 提示 ---------- */
.toast-wrap { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 999; }
.toast {
  background: #10131b; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  padding: 11px 16px; border-radius: 11px; box-shadow: var(--shadow);
  font-size: 14px; max-width: 320px;
  animation: toastIn .25s ease, toastOut .3s ease 2.4s forwards;
}
.toast.gold { border-left-color: var(--yellow); }
.toast.green { border-left-color: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* 撒花 */
.confetti {
  position: fixed; top: -20px; z-index: 998; font-size: 18px; pointer-events: none;
  animation: drop linear forwards;
}
@keyframes drop { to { transform: translateY(110vh) rotate(720deg); opacity: .2; } }

/* ---------- VSCode SVG 模拟窗 ---------- */
.vscode-svg { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.hotspot { fill: transparent; cursor: pointer; }
.hotspot:hover { fill: rgba(59, 157, 255, .14); }
.hotspot.hot-ok { fill: rgba(58, 208, 122, .25); stroke: var(--green); stroke-width: 2; }
.hotspot.hot-bad { fill: rgba(255, 107, 107, .25); stroke: var(--red); stroke-width: 2; animation: shake .3s; }
.blink { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- 快捷键图鉴 ---------- */
.sc-card { display: flex; align-items: center; gap: 16px; }
.sc-card .sc-desc { flex: 1; }
.sc-card h4 { font-size: 15.5px; margin-bottom: 2px; }
.sc-card .keys { font-family: var(--mono); font-size: 14px; color: var(--blue); white-space: nowrap; }
.sc-card .know {
  flex: none; user-select: none; cursor: pointer;
  font-size: 12.5px; padding: 5px 12px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); transition: .15s;
}
.sc-card .know:hover { border-color: var(--green); color: var(--green); }
.sc-card .know.on { background: rgba(58, 208, 122, .14); border-color: var(--green); color: var(--green); font-weight: 700; }
.progress-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.progress-line .bar { flex: 1; height: 10px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; }
.progress-line .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--teal)); width: 0; transition: width .5s; }

/* ---------- 插件卡片 ---------- */
.ext-card { display: flex; gap: 15px; }
.ext-card .e-ico {
  width: 52px; height: 52px; flex: none; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 27px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.ext-card h4 { font-size: 15.5px; }
.ext-card h4 small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.ext-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 技巧页 ---------- */
.tip-card h3 { font-size: 17px; margin-bottom: 8px; }
.tip-card p { font-size: 14px; color: var(--muted); }
.tip-card .steps { margin-top: 10px; padding-left: 0; list-style: none; }
.tip-card .steps li { font-size: 13.5px; padding: 5px 0; color: var(--text); border-bottom: 1px dashed var(--line); }
.tip-card .steps li:last-child { border-bottom: none; }
.tip-card .steps li::before { content: "▸ "; color: var(--blue); font-weight: 700; }

/* ---------- 游戏页公共 ---------- */
.game-stage {
  background: linear-gradient(180deg, var(--panel), #1d2130);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; margin-top: 20px; position: relative; overflow: hidden;
}
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.game-head h2 { font-size: 22px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stat {
  background: var(--panel2); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 10px; text-align: center; min-width: 76px;
}
.stat .v { font-size: 18px; font-weight: 800; color: var(--blue); font-family: var(--mono); }
.stat .k { font-size: 11px; color: var(--muted); }
.stat.warn .v { color: var(--red); }
.stat.good .v { color: var(--green); }
.stat.gold .v { color: var(--yellow); }

.overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(18, 21, 30, .88); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 30px; border-radius: 18px;
}
.overlay h3 { font-size: 28px; }
.overlay p { color: var(--muted); max-width: 460px; }
.overlay .big-emoji { font-size: 58px; }
.overlay.hidden { display: none; }

.back-links { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 记忆翻牌 */
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 640px; margin: 0 auto; }
.mem-card { perspective: 800px; height: 108px; cursor: pointer; }
.mem-inner { position: relative; width: 100%; height: 100%; transition: transform .4s; transform-style: preserve-3d; }
.mem-card.flipped .mem-inner, .mem-card.done .mem-inner { transform: rotateY(180deg); }
.mem-face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 15px; padding: 6px; text-align: center;
  background: linear-gradient(135deg, #2b3a67, #4f6db3); border: 1px solid rgba(255,255,255,.18);
}
.mem-face .q { font-size: 30px; }
.mem-back { background: #242a3d; border: 1px solid var(--line); transform: rotateY(180deg); }
.mem-card.done .mem-back { border-color: var(--green); background: rgba(58, 208, 122, .12); }
.mem-card.done { cursor: default; }
.mem-card.shake { animation: shake .35s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* 打地鼠 */
.mole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 560px; margin: 0 auto; }
.hole {
  position: relative; height: 130px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120px 46px at 50% 78%, #3d2c1e, #241a12 70%);
  border: 1px solid var(--line); cursor: pointer;
}
.mole {
  position: absolute; left: 50%; bottom: 8px; transform: translate(-50%, 110%);
  width: 86px; text-align: center; transition: transform .22s ease-out;
}
.hole.up .mole { transform: translate(-50%, 12%); }
.mole .m-face { font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.mole .m-tag {
  display: block; margin-top: 4px; font-family: var(--mono); font-size: 12px; font-weight: 700;
  background: #10131b; border: 1px solid #3a4258; color: #cfe0ff;
  padding: 3px 6px; border-radius: 8px; white-space: nowrap;
}
.hole.hit .m-face { animation: pop .25s; }
.hole.hit { background: radial-gradient(120px 46px at 50% 78%, #355e3d, #1e2a20 70%); }
.hole.miss { background: radial-gradient(120px 46px at 50% 78%, #5e3035, #2a1c1e 70%); }
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(0); } }
.mole-target {
  font-size: 18px; background: var(--panel2); border: 1px dashed var(--blue);
  padding: 12px 20px; border-radius: 12px; text-align: center; margin-bottom: 18px;
}
.mole-target b { color: var(--yellow); font-size: 20px; }

/* 大侦探 / 漫游 */
.detect-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; align-items: start; }
.info-panel { position: sticky; top: 84px; }
.info-panel .ip-tag { font-size: 12px; color: var(--blue); font-weight: 700; letter-spacing: 1px; }
.info-panel h3 { font-size: 21px; margin: 6px 0 10px; }
.info-panel p { color: var(--muted); font-size: 14px; }
.info-panel .try { margin-top: 14px; font-size: 13.5px; background: rgba(59,157,255,.08); border: 1px solid rgba(59,157,255,.3); padding: 10px 14px; border-radius: 10px; }

/* 答题 */
.quiz-q { font-size: 21px; font-weight: 700; margin: 8px 0 20px; text-align: center; }
.quiz-opts { display: grid; gap: 12px; max-width: 620px; margin: 0 auto; }
.quiz-opt {
  padding: 14px 18px; border-radius: 12px; cursor: pointer; font-size: 15.5px;
  background: var(--panel2); border: 1px solid var(--line); transition: .15s; text-align: left;
  color: var(--text); font-family: inherit; width: 100%;
}
.quiz-opt:hover { border-color: var(--blue); transform: translateX(4px); }
.quiz-opt.ok { border-color: var(--green); background: rgba(58, 208, 122, .15); }
.quiz-opt.bad { border-color: var(--red); background: rgba(255, 107, 107, .15); }
.quiz-opt:disabled { cursor: default; transform: none; }
.time-bar { height: 8px; border-radius: 99px; background: var(--panel2); overflow: hidden; border: 1px solid var(--line); }
.time-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--yellow), var(--red)); }
.hearts { font-size: 18px; letter-spacing: 3px; }
.quiz-explain {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px;
  background: rgba(59, 157, 255, .08); border: 1px solid rgba(59, 157, 255, .3); display: none;
}
.quiz-explain.show { display: block; }

/* 真假快断 */
.tf-statement {
  min-height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; text-align: center; padding: 20px;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 14px;
}
.tf-statement.shake { animation: shake .3s; }
.tf-btns { display: flex; gap: 16px; justify-content: center; margin-top: 20px; }
.tf-btn { width: 130px; height: 60px; font-size: 20px; font-weight: 800; border-radius: 14px; border: none; cursor: pointer; color: #fff; font-family: inherit; transition: .12s; }
.tf-btn:hover { transform: translateY(-3px); }
.tf-true { background: linear-gradient(135deg, #1fa35c, #3ad07a); }
.tf-false { background: linear-gradient(135deg, #c0392b, #ff6b6b); }

/* 反应挑战 */
.reflex-prompt {
  text-align: center; padding: 30px 20px; border-radius: 16px;
  background: var(--panel2); border: 1px solid var(--line); margin-bottom: 18px;
}
.reflex-prompt .task { font-size: 15px; color: var(--muted); }
.reflex-prompt .action { font-size: 32px; font-weight: 800; color: var(--blue); margin-top: 6px; }
.reflex-pressed { text-align: center; font-family: var(--mono); font-size: 15px; color: var(--muted); min-height: 26px; }
.reflex-pressed.flash-ok { color: var(--green); font-weight: 700; }
.reflex-prompt.flash-ok { border-color: var(--green); box-shadow: 0 0 0 2px rgba(58,208,122,.4); }
.reflex-prompt.flash-bad { border-color: var(--red); animation: shake .3s; }

/* 音效开关 */
.sfx-btn {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel2);
  cursor: pointer; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.sfx-btn:hover { border-color: var(--blue); transform: translateY(-1px); }
@media (max-width: 700px) { .sfx-btn { margin-left: auto; } }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 26px 20px; text-align: center; color: var(--muted); font-size: 13px; }
footer b { color: var(--text); }

/* 响应式 */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .detect-wrap { grid-template-columns: 1fr; }
  .info-panel { position: static; }
}
@media (max-width: 700px) {
  .xp { display: none; }
  .hero h1 { font-size: 32px; }
  .mem-grid { grid-template-columns: repeat(3, 1fr); }
  .mem-card { height: 92px; }
}
