:root {
  --bg: #0b0b14;
  --ink: #e8e8f0;
  --muted: #8b8ba3;
  --panel: rgba(16, 16, 28, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #7df9ff;
  --danger: #ff5c5c;
  --gold: #ffd166;
  --pink: #ff6b9d;
  --violet: #c084fc;
  --warrior: #ff8c42;
  --mage: #7aa2ff;
  --daoist: #7dffa3;
  --hp: #ff5c7a;
  --xp: #7df9ff;
  --common: #9aa0b5;
  --rare: #5ab0ff;
  --epic: #c084fc;
  --legendary: #ffb020;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

#app { position: relative; width: 100%; height: 100%; overflow: hidden; }
#game { display: block; width: 100%; height: 100%; background: var(--bg); }
.hidden { display: none !important; }

/* ---------- HUD ---------- */
#hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: max(12px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hud-cluster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}

.hud-cluster.right {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.stat {
  display: grid;
  grid-template-columns: 36px 1fr 68px;
  gap: 8px;
  align-items: center;
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}

.stat .label { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.stat .value { font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }

.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar .fill {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  transition: width 0.15s ease-out;
}
.stat.hp .fill { background: linear-gradient(90deg, #ff5c7a, #ff8fab); }
.stat.xp .fill { background: linear-gradient(90deg, #3d8bfd, var(--accent)); width: 0%; }
.bar.boss { height: 12px; background: rgba(255, 255, 255, 0.1); }
.bar.boss .fill { background: linear-gradient(90deg, #ff3c3c, #ff8c42, #ffd166); }

.class-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.class-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}
.class-tag.warrior { color: var(--warrior); border-color: rgba(255, 140, 66, 0.35); }
.class-tag.mage { color: var(--mage); border-color: rgba(122, 162, 255, 0.35); }
.class-tag.daoist { color: var(--daoist); border-color: rgba(125, 255, 163, 0.35); }
.muted { color: var(--muted); }

.chip {
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.chip b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.chip.score b { color: var(--gold); }
.chip.best b { color: var(--accent); }

.boss-bar {
  position: absolute;
  left: 50%;
  top: 86px;
  transform: translateX(-50%);
  width: min(520px, 86vw);
  pointer-events: none;
}
.boss-name {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
  text-shadow: 0 0 16px rgba(255, 176, 32, 0.35);
}

.hud-mid-right {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  top: 110px;
  width: min(220px, 42vw);
  pointer-events: none;
}
.quest-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}
.quest-item {
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.35;
}
.quest-item .q-name { font-weight: 700; color: var(--ink); }
.quest-item .q-prog { color: var(--accent); margin-top: 2px; }
.quest-item.done { opacity: 0.55; }
.quest-item.done .q-name { color: var(--gold); }

.announce {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(125, 249, 255, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  text-align: center;
  max-width: 90vw;
}
.announce.show { opacity: 1; }
.announce.boss { color: var(--gold); text-shadow: 0 0 28px rgba(255, 176, 32, 0.45); }

.hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.hud-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
  padding-right: 0;
  /* 给右侧触屏技能留出空位，避免重叠 */
  margin-bottom: 0;
  max-width: 42vw;
}
.hud-bottom-right .equip-mini,
.hud-bottom-right .buff,
.hud-bottom-right .hint {
  pointer-events: none;
}

.hint { font-size: 11px; color: var(--muted); opacity: 0.85; text-align: right; }
.buff { font-size: 12px; color: var(--violet); max-width: 42vw; line-height: 1.4; text-align: right; }

.touch-skills {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(100px, calc(env(safe-area-inset-bottom) + 100px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 8;
  pointer-events: none;
  /* 与底部装备栏/技能栏错开，不重叠 */
  margin-bottom: 4px;
}
.touch-skill {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(125, 249, 255, 0.45);
  background: rgba(10, 10, 18, 0.82);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.touch-skill:active { background: rgba(125, 249, 255, 0.22); transform: scale(0.95); }

/* 属性按钮在顶栏，与技能区分离 */
.btn-stats {
  pointer-events: auto;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(125, 249, 255, 0.35);
  background: rgba(10, 10, 18, 0.55);
}
.btn-stats:hover { border-color: var(--accent); background: rgba(125, 249, 255, 0.1); }

/* 属性面板打开时压住技能，避免误触 */
#statsPanel {
  z-index: 20;
}
.skill-bar {
  display: flex;
  gap: 8px;
  pointer-events: auto;
  z-index: 7;
}
.skill-slot {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 18, 0.65);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  flex: 0 0 auto;
}
.skill-slot:active { transform: scale(0.96); }
.skill-slot.locked { opacity: 0.55; cursor: not-allowed; }
.skill-slot .key {
  position: absolute;
  left: 5px;
  top: 3px;
  font-size: 10px;
  color: var(--muted);
}
.skill-slot .lv {
  position: absolute;
  right: 5px;
  top: 3px;
  font-size: 10px;
  color: var(--gold);
}
.skill-slot .nm {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  text-align: center;
  font-size: 10px;
  color: var(--ink);
  padding: 0 2px;
}
.skill-slot .cd {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transform-origin: bottom;
  pointer-events: none;
}
.skill-slot.ready { border-color: rgba(125, 249, 255, 0.35); }

.equip-mini {
  display: flex;
  gap: 6px;
}
.equip-slot {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 18, 0.55);
  font-size: 10px;
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.1;
}
.equip-slot.has { color: var(--ink); }
.equip-slot.r-common { border-color: rgba(154, 160, 181, 0.45); }
.equip-slot.r-rare { border-color: rgba(90, 176, 255, 0.55); color: var(--rare); }
.equip-slot.r-epic { border-color: rgba(192, 132, 252, 0.55); color: var(--epic); }
.equip-slot.r-legendary { border-color: rgba(255, 176, 32, 0.65); color: var(--legendary); }

/* ---------- Overlays ---------- */
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, rgba(8, 8, 16, 0.55), rgba(5, 5, 10, 0.9));
  padding: 20px;
  z-index: 10;
  overflow: auto;
}

.panel {
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.panel.wide { width: min(820px, 100%); }
.title-panel { width: min(520px, 100%); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff, #9ad7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { margin: 0 0 18px; font-size: 28px; font-weight: 700; }

.subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.subtitle.tight { margin-bottom: 12px; }

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .class-grid { grid-template-columns: 1fr; }
}

.class-card {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-radius: 16px;
  padding: 18px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.class-card:hover, .class-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
}
.class-card.warrior:hover { border-color: rgba(255, 140, 66, 0.55); background: rgba(255, 140, 66, 0.08); }
.class-card.mage:hover { border-color: rgba(122, 162, 255, 0.55); background: rgba(122, 162, 255, 0.08); }
.class-card.daoist:hover { border-color: rgba(125, 255, 163, 0.55); background: rgba(125, 255, 163, 0.08); }
.class-card .cname { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.class-card.warrior .cname { color: var(--warrior); }
.class-card.mage .cname { color: var(--mage); }
.class-card.daoist .cname { color: var(--daoist); }
.class-card .role { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.class-card .desc { font-size: 12px; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.class-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 14px 28px;
  min-width: 160px;
  min-height: 48px;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  color: #061018;
  background: linear-gradient(135deg, #7df9ff, #5ad1ff);
  box-shadow: 0 8px 28px rgba(125, 249, 255, 0.25);
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost {
  margin-top: 10px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn.ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.18); }
.btn.small { min-width: 0; min-height: 40px; padding: 10px 16px; font-size: 13px; }

.foot { margin: 16px 0 0; font-size: 11px; color: var(--muted); }

.choices { display: grid; gap: 12px; }
.choice {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  min-height: 72px;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.choice:hover, .choice:focus-visible {
  border-color: rgba(125, 249, 255, 0.45);
  background: rgba(125, 249, 255, 0.08);
  outline: none;
}
.choice:active { transform: scale(0.98); }
.choice .name { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.choice .desc { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }

.row-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.results.sub { margin-bottom: 16px; }
.results div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
}
.results span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.results b { font-size: 20px; font-variant-numeric: tabular-nums; color: var(--gold); }
.go-msg { min-height: 1.4em; margin: 0 0 16px; color: var(--muted); font-size: 13px; }

.equip-compare {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}
.equip-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}
.equip-card .en { font-weight: 800; margin-bottom: 4px; }
.equip-card .er { font-size: 11px; margin-bottom: 6px; }
.equip-card .es { font-size: 12px; color: var(--muted); line-height: 1.5; }
.equip-card.old .en { color: var(--muted); }
.equip-card.r-common .en { color: var(--common); }
.equip-card.r-rare .en { color: var(--rare); }
.equip-card.r-epic .en { color: var(--epic); }
.equip-card.r-legendary .en { color: var(--legendary); }

/* ---------- Touch ---------- */
#stick {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42vw;
  height: 42vw;
  max-width: 180px;
  max-height: 180px;
  margin: 0 0 max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  z-index: 5;
  pointer-events: none;
}
.stick-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  pointer-events: auto;
}
.stick-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: rgba(125, 249, 255, 0.22);
  border: 1px solid rgba(125, 249, 255, 0.45);
  transform: translate(-50%, -50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  text-align: left;
}
.stats-grid .row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}
.stats-grid .row.wide { grid-column: 1 / -1; }
.stats-grid .k { color: var(--muted); display: block; margin-bottom: 2px; }
.stats-grid .v { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.stats-grid .v.gold { color: var(--gold); }
.stats-grid .v.cyan { color: var(--accent); }

.stats-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
  text-align: left;
}
@media (max-width: 720px) {
  .stats-body { grid-template-columns: 1fr; }
}
.doll-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 8px;
  align-items: center;
  background: linear-gradient(180deg, rgba(24, 18, 10, 0.95), rgba(10, 10, 16, 0.95));
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 14px;
  padding: 12px 10px;
  min-height: 280px;
}
.doll-left, .doll-right { display: flex; flex-direction: column; gap: 8px; }
.doll-figure { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.doll-silhouette {
  width: 88px; height: 110px; display: grid; place-items: center; font-size: 52px;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.08), transparent 70%);
  border: 1px dashed rgba(255,255,255,0.12); border-radius: 12px;
}
.doll-name-hero { font-size: 13px; font-weight: 800; }
.atk-banner {
  min-width: 110px; padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(180deg, #5a3a10, #2a1a08);
  border: 1px solid rgba(255, 176, 32, 0.45);
  color: var(--gold); font-weight: 800; font-size: 16px;
}
.atk-banner small { display: block; font-size: 11px; color: var(--accent); margin-top: 2px; }
.doll-slot {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  background: rgba(0,0,0,0.35); padding: 6px 8px; min-height: 64px; position: relative;
}
.doll-slot.dim { opacity: 0.45; }
.doll-slot.r-common { border-color: rgba(154,160,181,0.55); }
.doll-slot.r-rare { border-color: rgba(90,176,255,0.65); }
.doll-slot.r-epic { border-color: rgba(192,132,252,0.65); }
.doll-slot.r-legendary { border-color: rgba(255,176,32,0.75); }
.doll-tag { position: absolute; top: 4px; left: 6px; font-size: 10px; color: var(--muted); }
.doll-icon { display: block; font-size: 20px; margin-top: 14px; }
.doll-icon.empty { opacity: 0.35; }
.doll-name { display: block; font-size: 11px; font-weight: 700; margin-top: 2px; line-height: 1.2; }
.doll-stat { display: block; font-size: 10px; color: var(--muted); line-height: 1.3; }
.stat-list {
  background: rgba(12,12,20,0.7); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 10px; max-height: 360px; overflow: auto;
}
.stat-list .srow {
  display: flex; justify-content: space-between; gap: 10px; padding: 6px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12px;
}
.stat-list .srow:last-child { border-bottom: none; }
.stat-list .srow span { color: var(--muted); }
.stat-list .srow b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.stat-list .srow b.gold { color: var(--gold); }
.stat-list .srow b.cyan { color: var(--accent); }
.stat-list .srow.sk { display: block; }
.stat-list .srow.sk span { display: block; margin-bottom: 4px; }
.stat-list .srow.sk b { display: block; text-align: left; font-weight: 600; line-height: 1.5; white-space: normal; }

@media (max-width: 640px) {
  .stat { grid-template-columns: 28px 1fr 52px; padding: 5px 8px; min-width: 150px; }
  .hint { display: none; }
  .hud-cluster { min-width: 150px; }
  .chip { padding: 6px 10px; font-size: 11px; }
  .panel { padding: 22px 18px; }
  .skill-slot { width: 50px; height: 50px; }
  .hud-mid-right { top: 96px; width: min(180px, 46vw); }
  .touch-skill { width: 58px; height: 58px; }
  .hud-bottom-right { max-width: 36vw; }
  .skill-bar { display: none; }
}

/* —— 手机优化 —— */
@media (max-width: 768px), (pointer: coarse) {
  html, body { height: 100%; height: 100dvh; }
  #hud {
    padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }
  .hud-top { gap: 6px; }
  .hud-cluster { min-width: 132px; gap: 6px; }
  .hud-cluster.right { max-width: 48vw; }
  .chip { padding: 5px 8px; font-size: 10px; }
  .stat { min-width: 132px; font-size: 11px; padding: 4px 8px; }
  .class-line { font-size: 11px; }
  .hud-mid-right {
    top: auto;
    bottom: 150px;
    right: max(10px, env(safe-area-inset-right));
    width: min(150px, 42vw);
  }
  .quest-title { font-size: 10px; }
  .quest-item { font-size: 10px; padding: 6px 8px; }
  .overlay { padding: 12px; }
  .panel, .panel.wide {
    width: min(100%, 520px);
    max-height: min(86dvh, 720px);
    overflow: auto;
    border-radius: 14px;
    padding: 18px 14px;
    -webkit-overflow-scrolling: touch;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 22px; margin-bottom: 12px; }
  .subtitle { font-size: 12px; }
  .choice {
    min-height: 64px;
    padding: 14px;
    font-size: 13px;
  }
  .choice .name { font-size: 14px; }
  .btn {
    min-height: 48px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .btn.ghost { margin-top: 8px; }
  .class-grid { gap: 10px; }
  .class-card { padding: 14px 12px; min-height: 88px; }
  .class-card .cname { font-size: 18px; }
  .results { gap: 8px; }
  .results b { font-size: 18px; }
  .skill-bar { display: none; }
  .touch-skills {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(120px, calc(env(safe-area-inset-bottom) + 120px));
  }
  .touch-skill {
    width: 62px;
    height: 62px;
    font-size: 16px;
  }
  .boss-bar { top: 72px; width: 92vw; }
  .announce { top: 14%; font-size: 22px; }
  .equip-mini { gap: 4px; }
  .equip-slot { width: 34px; height: 34px; font-size: 9px; }
  .stats-body { grid-template-columns: 1fr; }
  .doll-wrap { min-height: 220px; }
}

/* 竖屏手机再收紧 */
@media (max-width: 480px) and (orientation: portrait) {
  .hud-cluster.right .chip.best { display: none; }
  .hud-mid-right { bottom: 145px; width: 40vw; }
  .panel { padding: 16px 12px; }
  h1 { font-size: 30px; }
}
