:root {
  --bg: #05060b;
  /* Solid reference; chrome uses --panelChrome (~50% see-through) so gameplay stays visible */
  --panel: rgba(8, 11, 24, 0.7);
  --panelChrome: color-mix(in srgb, var(--panel) 50%, transparent);
  --dockSize: 52px;
  --dockIconSize: 26px;
  --line: rgba(120, 229, 255, 0.28);
  --text: #eef7ff;
  --primary: #58f5ff;
  --secondary: #ff4fd8;
  --lime: #7dff65;
  --orange: #ff9b3f;
  --red: #ff4a64;
  --yellow: #fff16f;
}

@media (pointer: coarse) {
  :root {
    --dockSize: 58px;
    --dockIconSize: 30px;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  overscroll-behavior: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--text); }

/* Nur in Dialogen/Formularen Text markieren (Highscore-Name etc.) */
.overlay input,
.overlay textarea,
.highscoreForm input,
.highscoreForm textarea,
.settingsPanel select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

#gameRoot {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 18%),
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--secondary) 20%, transparent), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(125, 255, 101, 0.08), transparent 25%),
    linear-gradient(180deg, #0a1024 0%, #04060d 70%, #020307 100%);
}
#gameRoot.theme-neon {
  filter: none;
}
#gameRoot.theme-noir {
  filter: saturate(0.05) contrast(1.1);
}
#gameRoot.theme-stark {
  filter: none;
}
#gameRoot.theme-stark .hudItem,
#gameRoot.theme-stark .meterWrap,
#gameRoot.theme-stark #hudBottom .meterWrap,
#gameRoot.theme-stark #comboWrap,
#gameRoot.theme-stark .comboLabel {
  background: color-mix(in srgb, rgba(255, 255, 255, 0.86) 50%, transparent);
  border-color: rgba(20, 20, 20, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}
#gameRoot.theme-stark .hudItem span,
#gameRoot.theme-stark .meterWrap label,
#gameRoot.theme-stark #comboWrap label,
#gameRoot.theme-stark .comboLabel span {
  color: rgba(18, 18, 18, 0.82);
}
#gameRoot.theme-stark .comboLabel strong {
  color: #0d0d0d;
}
#gameRoot.theme-stark .hudItem strong {
  color: #0d0d0d;
}
#gameRoot.theme-stark .dockBtnShield {
  color: #006064;
}
#gameRoot.theme-stark #activePowers .powerPill {
  background: color-mix(in srgb, rgba(248, 248, 248, 0.94) 50%, transparent);
  color: #111;
  border-color: rgba(20, 20, 20, 0.32);
}
#gameRoot.theme-stark .dockStat {
  background: color-mix(in srgb, rgba(255, 255, 255, 0.86) 50%, transparent);
  border-color: rgba(20, 20, 20, 0.35);
  color: rgba(18, 18, 18, 0.88);
}
#gameRoot.theme-stark .dockBadge {
  background: #b00028;
  color: #fff;
}
#gameRoot.theme-stark #waveBanner {
  color: #b00028;
  text-shadow: 0 0 10px rgba(255, 56, 94, 0.28);
}
#gameRoot.theme-stark #message {
  color: rgba(25, 25, 25, 0.92);
}
#gameCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
}

#hudTop {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  left: max(8px, env(safe-area-inset-left));
  right: calc(max(8px, env(safe-area-inset-right)) + var(--dockSize) + 10px);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
  z-index: 4;
}
#hudTop .hudItem--click {
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid var(--line);
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}
#hudTop .hudItem--click:hover {
  box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 35%, transparent);
}
#hudTop .hudItem--click:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 70%, transparent);
  outline-offset: 2px;
}
.hudItem {
  flex: 1 1 auto;
  min-width: 4.5rem;
  max-width: 8rem;
  background: var(--panelChrome);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 7px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 0 16px color-mix(in srgb, var(--primary) 25%, transparent);
}
.hudItem span {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(238, 247, 255, .75);
}
.hudItem strong {
  display: block;
  margin-top: 1px;
  font-size: clamp(13px, 1.5vw, 18px);
  color: white;
}

#hudRight {
  position: absolute;
  top: 50%;
  right: max(6px, env(safe-area-inset-right));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 7;
  pointer-events: auto;
}
@media (pointer: coarse) {
  #hudRight {
    top: max(8px, env(safe-area-inset-top));
    bottom: max(8px, env(safe-area-inset-bottom));
    transform: none;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (hover: hover) and (pointer: fine) {
  #hudRight {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    justify-content: center;
    overflow: visible;
  }
}
.dockBtn {
  position: relative;
  width: var(--dockSize);
  height: var(--dockSize);
  padding: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: rgba(5, 8, 18, 0.35);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease;
}
.dockBtnBoost {
  color: color-mix(in srgb, var(--primary) 92%, white);
}
.dockBtnShield {
  color: color-mix(in srgb, #2bd7ff 90%, white);
}
.dockBadge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lime) 85%, #1a3018);
  color: #0a1208;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.dockBadge--stat {
  background: color-mix(in srgb, var(--secondary) 75%, #301028);
  color: #fff;
  font-size: 9px;
  min-width: 18px;
}
.dockStat {
  position: relative;
  flex-shrink: 0;
  width: var(--dockSize);
  height: var(--dockSize);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: rgba(5, 8, 18, 0.35);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.dockBtn:hover {
  background: rgba(12, 18, 36, 0.5);
}
.dockBtn:active {
  transform: scale(0.94);
}
.dockBtn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 70%, transparent);
  outline-offset: 2px;
}
.dockBtn:disabled,
.dockBtn.dockBtn--disabled {
  opacity: 0.35;
  pointer-events: none;
}
.dockIcon {
  width: var(--dockIconSize);
  height: var(--dockIconSize);
  display: block;
}
.dockBtnExtra {
  color: color-mix(in srgb, var(--lime) 95%, white);
}

#hudBottom {
  position: absolute;
  left: max(8px, env(safe-area-inset-left));
  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}
.activePowersRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  min-height: 0;
}
.metersRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.comboRow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: end;
}
.comboLabel {
  background: var(--panelChrome);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 10px 8px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.comboLabel span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 247, 255, 0.75);
}
.comboLabel strong {
  display: block;
  margin-top: 2px;
  font-size: clamp(14px, 3.5vw, 18px);
  color: #fff;
}
#comboWrap {
  background: var(--panelChrome);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px 8px 7px;
  backdrop-filter: blur(8px);
}
.comboDecayWrap label { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; color: rgba(238,247,255,.75); }
.meterWrap {
  background: var(--panelChrome);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px 8px 7px;
  backdrop-filter: blur(8px);
}
.meterWrap label { display: block; margin-bottom: 3px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 247, 255, .75); }
.meter { position: relative; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow)); }
.meter.shield i { background: linear-gradient(90deg, #2bd7ff, #73fff0); }
.meter.boost i { background: linear-gradient(90deg, #a9ff38, #fff16f); }
.meter.comboDecay i { background: linear-gradient(90deg, var(--secondary), var(--primary)); }

#activePowers { justify-content: center; display: flex; gap: 6px; flex-wrap: wrap; max-width: 100%; min-height: 0; }
#activePowers:empty { display: none !important; }
.powerPill {
  background: color-mix(in srgb, rgba(8, 11, 24, .78) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 45%, transparent);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#waveBanner, #message {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
}
#waveBanner {
  top: 48%;
  font-weight: 800;
  font-size: clamp(18px, 3vw, 32px);
  color: #fff;
  text-shadow: 0 0 20px color-mix(in srgb, var(--primary) 60%, transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
#message {
  top: 54%;
  font-weight: 700;
  font-size: clamp(13px, 2vw, 18px);
  color: rgba(238, 247, 255, .92);
  opacity: 0;
  transition: opacity .2s ease;
}
#waveBanner.show, #message.show { opacity: 1; }

.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 4, 8, .56);
  backdrop-filter: blur(5px);
  z-index: 10;
}
#infoOverlay {
  z-index: 12;
}
.hidden { display: none !important; }
.panel {
  width: min(92vw, 560px);
  padding: 22px;
  border-radius: 20px;
  text-align: center;
  background: rgba(6, 10, 20, .86);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--primary) 25%, transparent), 0 0 20px color-mix(in srgb, var(--secondary) 20%, transparent);
}
.panel.compact { width: min(90vw, 460px); }
.logoRing {
  width: 86px; height: 86px; margin: 0 auto 10px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--primary) 80%, transparent);
  box-shadow: inset 0 0 14px color-mix(in srgb, var(--secondary) 35%, transparent);
}
.panel h1, .panel h2 { margin: 6px 0; font-size: clamp(30px, 5.5vw, 48px); letter-spacing: .06em; }
.panel h2 { font-size: clamp(25px, 4.5vw, 38px); }
.tagline { margin: 0 0 12px; color: rgba(238, 247, 255, .8); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.miniInfo { display: grid; gap: 5px; margin: 12px 0 14px; color: rgba(238, 247, 255, .86); font-size: 13px; }
.buttonRow { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.buttonRow--start { align-items: center; }
.btnIcon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.infoPanel {
  position: relative;
  max-width: min(92vw, 520px);
  text-align: left;
  padding-top: 48px;
}
.infoPanel h2 {
  text-align: center;
  margin-top: 0;
}
.infoClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef7ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.infoClose:hover {
  background: rgba(255, 255, 255, 0.14);
}
.infoSection h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 16px 0 8px;
  color: rgba(238, 247, 255, 0.85);
}
.infoBody {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(238, 247, 255, 0.92);
}
.partnerLogoSlot {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.partnerLogoSlot img {
  max-width: min(220px, 70vw);
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}
.partnerLogoSlot a {
  display: inline-block;
  line-height: 0;
}
.partnerLogoSlot--overlay {
  margin-bottom: 12px;
}
.hofPartnerSlot {
  margin-bottom: 4px;
}

/* Hall of Fame — angelehnt an Artemis, Theme Meteor */
.hof-panel.meteor-hof {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.38s;
}
.hof-panel.meteor-hof.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s, 0s;
}
.hof-panel.meteor-hof .hof-panel__sheet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding: clamp(18px, 4.5vw, 44px) clamp(16px, 3.5vw, 36px) clamp(20px, 4vh, 36px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 18%, transparent) 0%, transparent 42%),
    linear-gradient(165deg, rgba(7, 12, 28, 0.97) 0%, rgba(4, 6, 16, 0.99) 100%);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.45), inset 0 0 80px color-mix(in srgb, var(--primary) 8%, transparent);
  transform: translate3d(108%, 0, 0);
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.hof-panel.meteor-hof.is-open .hof-panel__sheet {
  transform: translate3d(0, 0, 0);
}
.hof-panel.meteor-hof .hof-panel__close {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  right: clamp(12px, 3vw, 22px);
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hof-panel.meteor-hof .hof-panel__close:hover {
  background: rgba(255, 255, 255, 0.14);
}
.hof-panel.meteor-hof .hof-panel__title {
  margin: 0 48px 0 0;
  font-size: clamp(22px, 4.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef4ff;
}
.hof-panel.meteor-hof .hof-panel__intro {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(200, 220, 255, 0.75);
}
.hof-panel.meteor-hof .hof-panel__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hof-panel.meteor-hof .hof-panel__loading {
  list-style: none;
  margin: 0;
  padding: 12px;
  color: rgba(200, 220, 255, 0.75);
}
.hof-panel.meteor-hof #hallOfFameList .hof-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translate3d(16px, 0, 0);
}
.hof-panel.meteor-hof #hallOfFameList.hof-ready .hof-row {
  animation: meteorHofRowIn 0.42s cubic-bezier(0.32, 0.72, 0.25, 1) forwards;
}
.hof-panel.meteor-hof #hallOfFameList .hof-row--empty {
  display: block;
  text-align: center;
  opacity: 1;
  transform: none;
  color: rgba(200, 220, 255, 0.75);
}
@keyframes meteorHofRowIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hof-panel.meteor-hof #hallOfFameList .hof-rank {
  font-weight: 800;
  font-size: 15px;
  color: color-mix(in srgb, var(--primary) 90%, white);
  min-width: 1.5em;
}
.hof-panel.meteor-hof #hallOfFameList .hof-name {
  font-size: 15px;
  color: #eef4ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hof-panel.meteor-hof #hallOfFameList .hof-score {
  font-weight: 800;
  font-size: 16px;
  color: color-mix(in srgb, var(--lime) 85%, white);
  font-variant-numeric: tabular-nums;
}
#gameRoot.theme-stark .hof-panel.meteor-hof .hof-panel__sheet {
  background: linear-gradient(165deg, rgba(252, 252, 252, 0.98) 0%, rgba(230, 232, 236, 0.99) 100%);
  border-color: rgba(20, 20, 20, 0.2);
}
#gameRoot.theme-stark .hof-panel.meteor-hof .hof-panel__title,
#gameRoot.theme-stark .hof-panel.meteor-hof #hallOfFameList .hof-name {
  color: #111;
}
#gameRoot.theme-stark .hof-panel.meteor-hof #hallOfFameList .hof-row {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}
.btn {
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: white;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
}
.btn.primary {
  border-color: color-mix(in srgb, var(--secondary) 60%, transparent);
  background: color-mix(in srgb, var(--secondary) 20%, transparent);
}

.highscoreList {
  margin: 8px auto 0;
  padding: 0;
  list-style: none;
  width: min(100%, 360px);
  text-align: left;
  font-size: 13px;
}
.highscoreList li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.settingsPanel { text-align: left; }
.settingsHint {
  margin: -4px 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(238, 247, 255, 0.72);
}
.toggleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.toggleRow select {
  border: 1px solid var(--line);
  background: rgba(5, 8, 18, .66);
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  font: inherit;
  min-width: 140px;
}

.highscorePanel {
  text-align: left;
  width: min(92vw, 460px);
}
.highscorePanel h2 {
  margin-bottom: 8px;
}
#highscorePromptText {
  margin: 0 0 14px;
  color: rgba(238, 247, 255, 0.84);
}
.highscoreForm label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.highscoreForm input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.66);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.highscoreForm input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 50%, transparent);
  outline-offset: 1px;
}
.highscoreFeedback {
  min-height: 20px;
  margin: 10px 0 0;
  color: rgba(238, 247, 255, 0.9);
}

@media (max-width: 980px) {
  :root {
    --dockSize: 50px;
    --dockIconSize: 25px;
  }
  @media (pointer: coarse) {
    :root {
      --dockSize: 54px;
      --dockIconSize: 28px;
    }
  }
  #hudTop { gap: 5px; }
  .hudItem span { font-size: 8px; letter-spacing: .1em; }
  .hudItem strong { font-size: 12px; }
  .comboRow { grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: end; }
  #comboWrap label, .meterWrap label { font-size: 8px; }
  .meter { height: 6px; }
}
@media (max-width: 620px) {
  @media (pointer: coarse) {
    :root {
      --dockSize: 56px;
      --dockIconSize: 28px;
    }
  }
  #hudTop { gap: 4px; }
  .hudItem { padding: 3px 6px; border-radius: 9px; min-width: 3.8rem; }
  .hudItem span { font-size: 7px; letter-spacing: .08em; }
  .hudItem strong { font-size: 11px; }
  .meterWrap, #comboWrap, .comboLabel { padding: 4px 6px 5px; border-radius: 9px; }
  #comboWrap label, .meterWrap label { font-size: 7px; margin-bottom: 2px; }
  .meter { height: 5px; }
}
