:root {
  --bg: #121826;
  --panel: rgba(22, 32, 52, 0.92);
  --panel2: rgba(34, 48, 74, 0.94);
  --line: #3b4d74;
  --text: #e8eefc;
  --dim: #93a3c4;
  --gold: #ffd24a;
  --hp: #ff5b5b;
  --xp: #5bd1ff;
  --boss: #ff4f7b;
  --accent: #6ef0a8;
  --danger: #ff6b6b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; user-select: none; }

#game-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; }

.hidden { display: none !important; }

/* ---------- screens ---------- */
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; background: rgba(10, 15, 28, 0.82); z-index: 20;
  padding: 24px; text-align: center;
}
.game-title {
  font-size: 72px; letter-spacing: 12px; color: var(--gold);
  text-shadow: 0 4px 0 #8a5a00, 0 8px 24px rgba(0,0,0,0.8);
}
.subtitle { color: var(--dim); font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; }
h2 { font-size: 34px; color: var(--gold); letter-spacing: 4px; text-shadow: 0 2px 0 #8a5a00; }
.menu-buttons { display: flex; flex-direction: column; gap: 12px; width: 300px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.row.col { flex-direction: column; }

button {
  font: inherit; font-size: 18px; color: var(--text); background: var(--panel2);
  border: 2px solid var(--line); border-radius: 8px; padding: 10px 22px; cursor: pointer;
  transition: transform 0.06s, background 0.12s, border-color 0.12s;
}
button:hover:not(:disabled) { background: #2c4168; border-color: var(--accent); transform: translateY(-1px); }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.big { font-size: 22px; padding: 12px 34px; background: linear-gradient(#3aa876, #2a7a58); border-color: var(--accent); }
button.big:hover:not(:disabled) { background: linear-gradient(#48c88e, #339a6a); }
button.small { font-size: 14px; padding: 6px 12px; }

.section-title { color: var(--dim); font-size: 15px; margin-top: 6px; }
.accent { color: var(--gold); font-weight: bold; }
.dim { color: var(--dim); }

#menu-stats { color: var(--dim); font-size: 14px; margin-top: 10px; line-height: 1.8; }

.grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 1080px; max-height: 260px; overflow-y: auto; padding: 6px; }

.card {
  width: 118px; padding: 10px 8px; border: 2px solid var(--line); border-radius: 10px;
  background: var(--panel2); cursor: pointer; text-align: center; transition: 0.1s;
}
.card:hover { border-color: var(--accent); }
.card .cname { font-weight: bold; font-size: 15px; margin: 6px 0 4px; }
.card .cmeta { font-size: 12px; color: var(--dim); line-height: 1.5; }
.card .cprice { color: var(--gold); font-size: 13px; }
.card.owned { border-color: var(--accent); }
.card.locked { opacity: 0.5; cursor: not-allowed; }
.card.cleared { border-color: #2e6f52; }
.card.selected { border-color: var(--gold); background: #3a3a1e; box-shadow: 0 0 12px rgba(255,210,74,0.35); }
.card .icon { width: 64px; height: 64px; margin: 0 auto; image-rendering: pixelated; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.30), rgba(255,255,255,0.06)); border-radius: 10px; display:flex; align-items:center; justify-content:center; }
.card.weapon-card .icon { width: 64px; height: 64px; background: none; border-radius: 0; display:block; }

.level-num { font-size: 26px; color: var(--gold); }
.boss-tag { font-size: 11px; color: var(--boss); margin-top: 2px; }

.help-list { list-style: none; text-align: left; line-height: 2.1; font-size: 17px; color: var(--text); }
.help-list b { color: var(--gold); }

/* ---------- HUD ---------- */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
#hud-top { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; }
.hud-block { display: flex; flex-direction: column; gap: 4px; min-width: 240px; }
.hud-block.right { min-width: 0; align-items: flex-end; font-size: 20px; }
#hud-gold { color: var(--gold); font-weight: bold; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
#hud-kills { color: var(--dim); font-size: 15px; }
.bar-label { font-size: 13px; color: var(--text); text-shadow: 0 1px 2px #000; }
.bar { height: 14px; background: rgba(0,0,0,0.55); border: 1px solid #000; border-radius: 4px; overflow: hidden; }
.bar.hp { height: 18px; }
.bar.xp { height: 8px; }
.bar.boss { height: 16px; width: 520px; border-color: #50001a; }
.bar > div { height: 100%; transition: width 0.12s linear; }
.bar.hp > div { background: linear-gradient(#ff8a8a, #d42f2f); }
.bar.xp > div { background: linear-gradient(#7fd8ff, #2a8fd8); }
.bar.boss > div { background: linear-gradient(#ff7ba6, #c81e55); }

#boss-bar-wrap { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
#boss-bar-name { color: var(--boss); font-weight: bold; font-size: 17px; text-shadow: 0 2px 4px #000; }

#hud-bottom { position: absolute; bottom: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-end; }
#hud-weapons { display: flex; gap: 10px; }
.weapon-slot {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 2px solid var(--line);
  background: rgba(10,15,28,0.8); border-radius: 8px; font-size: 14px;
}
.weapon-slot img { width: 34px; height: 34px; image-rendering: pixelated; }
.weapon-slot .wkey { color: var(--gold); font-weight: bold; }
.weapon-slot.current { border-color: var(--gold); box-shadow: 0 0 10px rgba(255,210,74,0.4); }
.weapon-slot.cooling { opacity: 0.55; }
#hud-dash { font-size: 14px; color: var(--dim); background: rgba(10,15,28,0.8); border: 2px solid var(--line); border-radius: 8px; padding: 6px 12px; }
#hud-dash.ready { color: var(--accent); }

#toast-area { position: absolute; top: 150px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.toast {
  font-size: 20px; font-weight: bold; padding: 6px 18px; border-radius: 8px;
  background: rgba(10,15,28,0.85); border: 2px solid var(--accent); color: var(--accent);
  animation: toastIn 0.2s ease-out;
}
.toast.gold { color: var(--gold); border-color: var(--gold); }
.toast.danger { color: var(--danger); border-color: var(--danger); }
.toast.lv { color: var(--xp); border-color: var(--xp); font-size: 24px; }
@keyframes toastIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

#result-stats { font-size: 19px; line-height: 2; color: var(--text); }
#result-stats .accent { font-size: 22px; }

#hud-potion { font-size: 14px; color: var(--dim); background: rgba(10,15,28,0.8); border: 2px solid var(--line); border-radius: 8px; padding: 6px 12px; }
#hud-potion.ready { color: var(--accent); border-color: var(--accent); }
.hud-right-cluster { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
/* ---------- 主菜单背景（明亮帅哥们半身像） ---------- */
#screen-menu { background-color: #bfe3ff; background-size: cover; background-position: center; }
#screen-menu::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.5)); }
.menu-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; background: rgba(255,255,255,0.62); padding: 26px 46px; border-radius: 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
#screen-menu .subtitle { color: #3a5a8a; }
#screen-menu #menu-stats { color: #33506e; }

/* ---------- tab 分页 ---------- */
.tab-bar { display: flex; gap: 10px; }
.tab { font-size: 17px; padding: 8px 28px; border-radius: 20px; }
.tab.active { background: var(--accent); border-color: var(--accent); color: #0c1a12; }

/* ---------- 准备界面 3 页向导 ---------- */
.wizard-steps { display: flex; gap: 10px; align-items: center; }
.wstep { padding: 6px 18px; border: 2px solid var(--line); border-radius: 16px; color: var(--dim); font-size: 15px; }
.wstep.active { border-color: var(--gold); color: var(--gold); background: rgba(255,210,74,0.12); }
.loadout-page { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.loadout-page.hidden { display: none; }
#btn-potion-skip { font-size: 14px; color: var(--dim); }

/* ---------- 强化列表：表格化排版，名称/说明/价格/按钮各占一列，全部对齐、不超框 ---------- */
#upgrade-list { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 10px; width: 820px; max-height: 320px; overflow-y: auto; padding: 6px 10px 6px 6px; overscroll-behavior: contain; scrollbar-width: thin; }
#upgrade-list::-webkit-scrollbar { width: 8px; }
#upgrade-list::-webkit-scrollbar-thumb { background: #3b4d74; border-radius: 4px; }
#upgrade-list::-webkit-scrollbar-track { background: rgba(10,15,28,0.5); }
.upgrade-row {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px;
  border: 2px solid var(--line); border-radius: 10px; background: var(--panel2);
}
.upgrade-row.owned { border-color: var(--accent); }
.upgrade-row .u-name { flex: 0 0 160px; text-align: left; font-weight: bold; font-size: 16px; white-space: nowrap; }
.upgrade-row .u-desc { flex: 1 1 auto; text-align: left; font-size: 13px; color: var(--dim); line-height: 1.5; min-width: 0; }
.upgrade-row .u-price { flex: 0 0 96px; text-align: right; color: var(--gold); font-size: 15px; font-weight: bold; white-space: nowrap; }
.upgrade-row .u-btn { flex: 0 0 92px; text-align: right; }
.upgrade-row .u-btn .small { width: 92px; }
.upgrade-row .owned-tag { color: var(--accent); font-size: 14px; font-weight: bold; }

/* 第6关双Boss：第二条血条（小王） */
#boss-bar-wrap2 { position: absolute; top: 112px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
#boss-bar-name2 { color: #7fd8ff; font-weight: bold; font-size: 15px; text-shadow: 0 2px 4px #000; }
.bar.boss.boss2 > div { background: linear-gradient(#7fd8ff, #2a8fd8); }
/* 韧性条（深渊狱鬼真身，血条下方） */
#boss-tough-row { display: flex; align-items: center; gap: 8px; }
.tough-tag { font-size: 12px; font-weight: bold; color: #cfc0ff; text-shadow: 0 1px 2px #000; }
.bar.tough { height: 10px; width: 380px; border-color: #3a2f6a; }
.bar.tough > div { background: linear-gradient(#e2d4ff, #8f6fe0); }
.tough-cd { font-size: 13px; font-weight: bold; color: #ffd24a; text-shadow: 0 1px 2px #000; min-width: 96px; }
#boss-tough-row.recover > .bar.tough > div { background: linear-gradient(#ffd98a, #ff9d3d); }

/* 新手教程大字提示 */
#tutorial-banner {
  position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: 80%; text-align: center; pointer-events: none; z-index: 30;
  color: #fff; font-size: 36px; font-weight: 900; line-height: 1.6;
  text-shadow: 0 0 14px #000, 0 2px 8px #000, 0 0 40px rgba(120,190,255,0.8);
  white-space: normal;
}

/* 选关卡片（含 Boss 海报） */
.level-card { display: flex; align-items: center; gap: 12px; min-width: 400px; max-width: 480px; flex: 1 1 400px; padding: 10px 12px; text-align: left; }
.level-card .lv-poster { width: 104px; height: 104px; min-width: 104px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.16), rgba(0,0,0,.28)); overflow: hidden; position: relative; }
.level-card .lv-poster img { max-width: 104px; max-height: 104px; image-rendering: pixelated; object-fit: contain; }
.level-card .lv-poster img.sub { max-width: 46px; max-height: 46px; margin-left: -14px; align-self: flex-end; margin-bottom: 4px; }
.level-card .lv-meta { flex: 1; min-width: 0; }
.level-card .lv-title { font-weight: bold; color: var(--gold); font-size: 17px; letter-spacing: 1px; }
.level-card .lv-name { font-weight: bold; font-size: 15px; margin: 2px 0; }
.level-card .lv-theme { font-size: 12px; color: var(--dim); }
.level-card .boss-tag { font-size: 13px; color: var(--boss); margin-top: 2px; }
.level-card .cmeta { font-size: 12px; color: var(--dim); margin-top: 2px; }
.level-card.cleared .lv-poster { box-shadow: 0 0 0 2px rgba(90,180,120,.55); }
/* ---------- 亮色界面（商店 / 强化角色 / 操作说明 / 选关） ---------- */
.screen.light {
  --bg: #e9eff8;
  --panel: rgba(255, 255, 255, 0.92);
  --panel2: #ffffff;
  --line: #b7c3d8;
  --text: #26303e;
  --dim: #5b6a82;
  --gold: #b8860b;
  --accent: #2e8b57;
  --boss: #c2185b;
  --xp: #1f7fc4;
  background: linear-gradient(165deg, #dfeaf8, #fdf6ea);
}
.screen.light button { color: var(--text); }
.screen.light button:hover:not(:disabled) { background: #dbe6f2; }
.screen.light .card.selected { background: #fff4cf; }
.screen.light .card .icon { background: radial-gradient(circle at 50% 40%, rgba(120,160,220,.18), rgba(0,0,0,.05)); }
.screen.light .wstep.active { background: rgba(184,134,11,0.15); }
.screen.light .grid { background: rgba(255,255,255,0.25); border-radius: 12px; }

/* 药水购买卡：按钮对齐 */
#potion-shop .grid { max-height: 340px; }
#potion-shop .potion-card,
#potion-grid .potion-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  width: 168px; min-height: 190px;
}
#potion-shop .potion-card .cname { min-height: 20px; }
#potion-shop .potion-card .cmeta { flex: 1 1 auto; min-height: 46px; display: flex; align-items: center; justify-content: center; }
#potion-shop .potion-card .cprice { min-height: 18px; margin-top: 4px; }
#potion-shop .potion-card button { width: 100%; margin-top: 6px; }

/* 选关页 药水双槽提示 */
.potion-slots { display: flex; gap: 14px; justify-content: center; margin-bottom: 6px; }
.p-slot { background: var(--panel2); border: 2px solid var(--line); border-radius: 12px; padding: 6px 16px; color: var(--text); font-weight: bold; }
.p-slot:first-child { border-color: #c9a227; }
.p-slot:last-child { border-color: #7aa7d8; }
/* 亮色界面文字加固：避免继承的浅色文字看不见 */
.screen.light { color: #26303e; }
.screen.light .cname,
.screen.light .u-name,
.screen.light .lv-name,
.screen.light .lv-title,
.screen.light .level-num,
.screen.light .p-slot { color: #26303e; }
.screen.light .lv-title,
.screen.light .level-num { color: #8a6d00; }
.screen.light h2 { color: #8a6d00; }
.screen.light button { color: #26303e; }
/* 武器卡片：图标区与图像严格对齐，且加深色衬底避免白框/白底与武器颜色重叠 */
.card.weapon-card { width: 154px; padding: 10px 8px; }
.card.weapon-card .icon {
  width: 108px; height: 108px; margin: 0 auto; padding: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 14px; border: 2px solid rgba(25, 40, 75, 0.35);
  background: radial-gradient(circle at 50% 38%, rgba(150, 180, 235, 0.38), rgba(25, 40, 75, 0.68));
}
.card.weapon-card .icon img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; image-rendering: pixelated;
}
.screen.light .card.weapon-card .icon {
  background: radial-gradient(circle at 50% 38%, rgba(160, 190, 245, 0.4), rgba(25, 45, 90, 0.62));
}
/* 武器图标底色：纯灰黑（清晰衬托武器外形，深浅界面通用） */
.card.weapon-card .icon,
.screen.light .card.weapon-card .icon {
  background: #24272e;
  border: 2px solid #000;
}
/* 武器图标底色：中灰（不刺眼也不死黑，凸显武器外形） */
.card.weapon-card .icon,
.screen.light .card.weapon-card .icon {
  background: #3d424c;
  border: 2px solid #23262c;
}
/* 亮色界面背景：柔和淡亮渐变（比纯亮更收敛、不刺眼） */
.screen.light { background: linear-gradient(170deg, #d2e1f1, #ece5d2); }
/* 无尽模式 HUD 层数 */
#hud-endless {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  font-size: 17px; font-weight: bold; color: #ffd24a;
  text-shadow: 0 0 8px rgba(255,180,40,0.6), 0 2px 4px #000;
}
/* ===== 主菜单重新排版（分组卡片） ===== */
.menu-inner { width: min(820px, 94vw); max-height: 94vh; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.menu-inner .game-title { font-size: 60px; letter-spacing: 10px; margin-bottom: 2px; }
.menu-inner .subtitle { margin-bottom: 6px; }
.menu-group { width: 100%; padding: 10px 16px 14px; border-radius: 16px; text-align: left;
  background: linear-gradient(180deg, rgba(18,28,50,0.72), rgba(10,16,32,0.60));
  border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.group-label { font-size: 13px; letter-spacing: 5px; color: var(--dim); margin: 2px 2px 10px; }
.menu-group.fight { border-color: rgba(110,240,168,0.55); box-shadow: 0 0 22px rgba(46,160,110,0.25); }
.menu-group.fight .group-label { color: var(--accent); }
.group-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.group-row button { flex: 1 1 220px; }
.group-row button[data-action="start"] { flex: 1 1 260px; font-size: 24px; padding: 14px 30px; letter-spacing: 2px; }
.group-row button[data-action="endless"] { font-size: 18px; }
.group-row button[data-action="reset"] { color: #ff9b9b; }
#menu-stats { width: 100%; margin-top: 4px; }
/* ===== 主菜单 V2：规整对齐、主次分明的网格布局 ===== */
.menu-inner { width: min(620px, 94vw); max-height: 96vh; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.menu-head { text-align: center; }
.menu-head .game-title { font-size: 58px; letter-spacing: 8px; margin: 0; }
.menu-head .subtitle { margin-top: 2px; letter-spacing: 6px; }
.menu-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; width: 100%; }
.menu-hero button { min-height: 96px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px; letter-spacing: 2px; line-height: 1.35; }
.menu-hero button.primary { background: linear-gradient(#2f9f68, #1d6b46); border-color: #a5e8c4; color: #fff; font-size: 27px; font-weight: 800; box-shadow: 0 8px 26px rgba(40,190,120,0.35); }
.menu-hero button.primary:hover:not(:disabled) { background: linear-gradient(#3cbb7b, #268457); }
.menu-hero button[data-action="endless"] { background: rgba(255,255,255,0.07); font-size: 18px; color: #cfe9dd; }
.menu-section { width: 100%; }
.ms-title { text-align: left; font-size: 14px; letter-spacing: 3px; color: #9fb2d8; padding: 0 4px 8px; }
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ms-grid button { min-height: 58px; border-radius: 12px; font-size: 18px; letter-spacing: 1px; background: rgba(16,24,48,0.62); }
.ms-grid button[data-action="reset"] { color: #ff9b9b; }
.menu-inner #menu-stats { width: 100%; margin-top: 4px; }

/* ===== 药水商店：与武器购买卡对齐、降低刺眼感 ===== */
#potion-shop .potion-card,
#potion-grid .potion-card,
.screen.light #potion-shop .potion-card,
.screen.light #potion-grid .potion-card {
  width: 168px; min-height: 218px; display: flex; flex-direction: column; align-items: center;
  background: #f7f9fd; border: 2px solid #c5d0df; border-radius: 12px;
}
#potion-shop .potion-card .icon,
#potion-grid .potion-card .icon {
  width: 104px; height: 104px; margin: 6px auto 8px; padding: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #3d424c; border-radius: 14px; border: 2px solid #23262c;
}
#potion-shop .potion-card .icon img,
#potion-grid .potion-card .icon img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
#potion-shop .potion-card .cname { min-height: 20px; font-size: 15px; }
#potion-shop .potion-card .cmeta { flex: 1 1 auto; min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #55627a; }
#potion-shop .potion-card .cprice { min-height: 18px; margin: 2px 0 6px; }
#potion-shop .potion-card button { width: 100%; }
/* ===== 主菜单对齐修复：两个主按钮完全一致风格 ===== */
.menu-inner { width: min(680px, 94vw); align-items: stretch; }
.menu-head { text-align: center; width: 100%; }
.menu-hero { grid-template-columns: 1fr 1fr; width: 100%; gap: 14px; }
.menu-hero button,
.menu-hero button.primary,
.menu-hero button[data-action="endless"] {
  min-height: 112px; margin: 0; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px; font-weight: 800; letter-spacing: 2px; line-height: 1.3;
  color: #ffffff; text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.menu-hero button.primary { background: linear-gradient(180deg, #2f9f68, #1a6a44); border-color: #a5e8c4; box-shadow: 0 8px 24px rgba(40,190,120,0.32); }
.menu-hero button.primary:hover:not(:disabled) { background: linear-gradient(180deg, #3cbb7b, #218057); }
.menu-hero button[data-action="endless"] { background: linear-gradient(180deg, #3f6fd0, #27448f); border-color: #9fc2ff; box-shadow: 0 8px 24px rgba(80,130,255,0.25); }
.menu-hero button[data-action="endless"]:hover:not(:disabled) { background: linear-gradient(180deg, #5482e0, #2f55a6); }
.menu-hero button.primary.disabled,
.menu-hero button[data-action="endless"]:disabled { opacity: 0.5; box-shadow: none; }
.menu-section { width: 100%; margin: 0; }
.ms-grid { width: 100%; grid-template-columns: 1fr 1fr; }
.ms-grid button { width: 100%; }
.menu-inner #menu-stats { width: 100%; text-align: center; }
/* 主菜单主按钮：放大字体 + 无尽按钮两行 */
.menu-hero button,
.menu-hero button.primary {
  flex-direction: column; font-size: 30px; line-height: 1.2;
}
.menu-hero .mb-main { font-size: 30px; font-weight: 800; }
.menu-hero .mb-sub { font-size: 15px; font-weight: 500; margin-top: 7px; letter-spacing: 1px; color: rgba(255,255,255,0.85); }
/* ---- 网页版 v1.0.0 收尾 ---- */
.menu-inner #menu-version { font-size: 12px; letter-spacing: 2px; margin-top: 2px; opacity: 0.55; text-align: center; }
