:root {
  --meteor-safe-top: max(12px, env(safe-area-inset-top));
  --meteor-safe-right: max(12px, env(safe-area-inset-right));
  --meteor-safe-bottom: max(12px, env(safe-area-inset-bottom));
  --meteor-safe-left: max(12px, env(safe-area-inset-left));
  --meteor-panel: rgba(3, 10, 22, 0.9);
  --meteor-panel-strong: rgba(2, 8, 18, 0.96);
  --meteor-line: rgba(125, 249, 255, 0.24);
  --meteor-cyan: #7df9ff;
  --meteor-amber: #ffd166;
  --meteor-danger: #ff6247;
  --meteor-copy: #d9e8f2;
}

/* Keep the browser welcome screen styled even when a host blocks injected styles. */
#welcomeScreen.enhanced-welcome {
  position: fixed;
  inset: 0;
  z-index: 3000;
  overflow: auto;
  background: radial-gradient(circle at 20% 20%, rgba(40,215,255,.22), transparent 34%), radial-gradient(circle at 78% 35%, rgba(255,122,26,.18), transparent 32%), linear-gradient(135deg, #020711 0%, #071528 48%, #110816 100%);
  color: #eaf8ff;
}
#welcomeScreen.enhanced-welcome .welcome-panel {
  width: min(1180px, calc(100vw - 48px));
  min-height: min(720px, calc(100vh - 60px));
  margin: 30px auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr);
  gap: 0;
  border: 1px solid rgba(125,249,255,.3);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8,18,36,.9), rgba(10,12,28,.72));
  box-shadow: 0 28px 90px rgba(0,0,0,.58), inset 0 0 70px rgba(73,245,255,.07);
  backdrop-filter: blur(16px);
}
#welcomeScreen.enhanced-welcome .welcome-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
#welcomeScreen.enhanced-welcome .menu-kicker { color: #49f5ff; font-weight: 900; text-transform: uppercase; }
#welcomeScreen.enhanced-welcome h1 { margin: 0; font-size: 56px; line-height: .95; text-shadow: 0 0 35px rgba(73,245,255,.28); }
#welcomeScreen.enhanced-welcome .welcome-copy > p { max-width: 620px; color: rgba(234,248,255,.78); font-size: 16px; line-height: 1.5; }
#welcomeScreen.enhanced-welcome .welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
#welcomeScreen.enhanced-welcome .welcome-actions button,
#welcomeScreen.enhanced-welcome .meteor-account-ui button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(125,249,255,.36);
  border-radius: 8px;
  color: #eaf8ff;
  background: rgba(234,248,255,.08);
  font-weight: 800;
  cursor: pointer;
}
#welcomeScreen.enhanced-welcome #welcomeLaunchButton { color: #1b0902; border: 0; background: linear-gradient(135deg, #ffcf4a, #ff7a1a); }
#welcomeScreen.enhanced-welcome .welcome-actions button:disabled { opacity: .45; cursor: not-allowed; }
#welcomeScreen.enhanced-welcome .welcome-showcase { position: relative; min-height: 610px; padding: 30px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 50% 42%, rgba(73,245,255,.2), transparent 32%), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border-left: 1px solid rgba(125,249,255,.15); }
#welcomeScreen.enhanced-welcome .welcome-orbit { transform: scale(.95); filter: drop-shadow(0 0 34px rgba(73,245,255,.24)); }
#welcomeScreen.enhanced-welcome .welcome-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
#welcomeScreen.enhanced-welcome .welcome-stat-grid span { border: 1px solid rgba(125,249,255,.18); border-radius: 8px; padding: 12px; background: rgba(2,7,17,.42); color: rgba(234,248,255,.74); }
#welcomeScreen.enhanced-welcome .welcome-stat-grid strong { display: block; color: #49f5ff; font-size: 17px; }
#welcomeScreen.enhanced-welcome .welcome-profile-card { display: none !important; }
#welcomeScreen.enhanced-welcome .meteor-account-ui {
  margin: 4px 0;
  padding: 14px;
  border: 1px solid rgba(125,249,255,.24);
  border-radius: 8px;
  background: rgba(4,16,32,.86);
  color: #eaf8ff;
}
#welcomeScreen.enhanced-welcome .meteor-account-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#welcomeScreen.enhanced-welcome .meteor-account-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto; gap: 8px; margin-top: 10px; }
#welcomeScreen.enhanced-welcome .meteor-account-fields input { min-width: 0; width: 100%; padding: 10px; border: 1px solid rgba(125,249,255,.25); border-radius: 6px; color: #fff; background: rgba(2,7,17,.8); }
#welcomeScreen.enhanced-welcome .meteor-account-ui p { min-height: 18px; margin: 8px 0 0; color: rgba(234,248,255,.72); font-size: 12px; }
#welcomeScreen.enhanced-welcome .meteor-account-ui [data-tone="good"] { color: #62e6ae; }
#welcomeScreen.enhanced-welcome .meteor-account-ui [data-tone="error"] { color: #ff9c8d; }
.meteor-account-ui .hidden { display: none !important; }
@media (max-width: 880px) {
  #welcomeScreen.enhanced-welcome .welcome-panel { width: min(680px, calc(100vw - 24px)); min-height: 0; max-height: calc(100vh - 24px); margin: 12px auto; grid-template-columns: 1fr; overflow-y: auto; }
  #welcomeScreen.enhanced-welcome .welcome-copy { padding: 24px; }
  #welcomeScreen.enhanced-welcome .welcome-showcase { min-height: 360px; border-left: 0; border-top: 1px solid rgba(125,249,255,.15); }
  #welcomeScreen.enhanced-welcome .meteor-account-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  #welcomeScreen.enhanced-welcome .welcome-panel { width: calc(100vw - 16px); margin: 8px auto; border-radius: 12px; }
  #welcomeScreen.enhanced-welcome .welcome-copy { padding: 18px; }
  #welcomeScreen.enhanced-welcome h1 { font-size: 40px; }
  #welcomeScreen.enhanced-welcome .welcome-showcase { min-height: 300px; padding: 18px; }
  #welcomeScreen.enhanced-welcome .welcome-stat-grid { gap: 6px; }
  #welcomeScreen.enhanced-welcome .welcome-stat-grid span { padding: 8px; font-size: 12px; }
  #welcomeScreen.enhanced-welcome .meteor-account-heading { align-items: flex-start; flex-direction: column; }
  #welcomeScreen.enhanced-welcome .meteor-account-fields { grid-template-columns: 1fr; }
}

html.meteor-presentation-v106 {
  color-scheme: dark;
}

html.meteor-presentation-v106 body {
  width: var(--app-width, 100vw);
  height: var(--app-height, 100dvh);
  min-height: 100dvh;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: #020711;
}

html.meteor-presentation-v106 .game-shell {
  width: var(--app-width, 100vw);
  height: var(--app-height, 100dvh);
}

html.meteor-presentation-v106 h1,
html.meteor-presentation-v106 h2,
html.meteor-presentation-v106 h3,
html.meteor-presentation-v106 .menu-kicker,
html.meteor-presentation-v106 button {
  font-family: "Kenney Future", Poppins, "Segoe UI", sans-serif;
  font-weight: 400;
}

html.meteor-presentation-v106 button:focus-visible,
html.meteor-presentation-v106 input:focus-visible,
html.meteor-presentation-v106 select:focus-visible,
html.meteor-presentation-v106 [tabindex]:focus-visible {
  outline: 2px solid var(--meteor-amber);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255, 209, 102, 0.16);
}

/* Welcome and checkpoint overlays */
html.meteor-presentation-v106 .welcome-screen {
  min-height: var(--app-height, 100dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: calc(var(--meteor-safe-top) + 10px) calc(var(--meteor-safe-right) + 10px) calc(var(--meteor-safe-bottom) + 10px) calc(var(--meteor-safe-left) + 10px);
}

html.meteor-presentation-v106 .welcome-panel {
  min-height: 0;
  max-height: calc(var(--app-height, 100dvh) - var(--meteor-safe-top) - var(--meteor-safe-bottom) - 20px);
  overflow: auto;
  border-radius: 24px;
  border-color: rgba(125, 249, 255, 0.32);
}

html.meteor-presentation-v106 .welcome-copy p,
html.meteor-presentation-v106 .story,
html.meteor-presentation-v106 .option-card p,
html.meteor-presentation-v106 .reward-choice span {
  color: var(--meteor-copy);
}

html.meteor-presentation-v106 .reward-overlay {
  min-height: var(--app-height, 100dvh);
  padding: calc(var(--meteor-safe-top) + 10px) calc(var(--meteor-safe-right) + 10px) calc(var(--meteor-safe-bottom) + 10px) calc(var(--meteor-safe-left) + 10px);
  background: rgba(1, 5, 14, 0.76);
}

html.meteor-presentation-v106 .reward-modal {
  width: min(760px, calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 20px));
  max-height: calc(var(--app-height, 100dvh) - var(--meteor-safe-top) - var(--meteor-safe-bottom) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px;
  scrollbar-color: rgba(125, 249, 255, 0.45) rgba(255, 255, 255, 0.05);
}

html.meteor-presentation-v106 .reward-actions {
  position: sticky;
  bottom: -1px;
  z-index: 4;
  padding-top: 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 22, 0.98) 26%);
}

/* Command deck and menu structure */
html.meteor-presentation-v106 .menu {
  position: fixed;
  width: min(1180px, calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 20px));
  max-height: calc(var(--app-height, 100dvh) - var(--meteor-safe-top) - var(--meteor-safe-bottom) - 16px);
  padding: 18px;
  border-radius: 24px;
  border-color: rgba(125, 249, 255, 0.3);
  background:
    radial-gradient(circle at 14% 0%, rgba(73, 245, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(255, 209, 102, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(2, 8, 18, 0.97), rgba(8, 15, 31, 0.96));
  scrollbar-color: rgba(125, 249, 255, 0.45) rgba(255, 255, 255, 0.05);
}

html.meteor-presentation-v106 .menu-frame,
html.meteor-presentation-v106 .menu-panel {
  border-radius: 18px !important;
}

html.meteor-presentation-v106 .menu-actions {
  grid-template-columns: repeat(6, minmax(118px, 1fr));
}

html.meteor-presentation-v106 .menu-actions button {
  min-height: 48px;
}

html.meteor-presentation-v106 #characterList {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  max-height: none !important;
  overflow: visible !important;
}

html.meteor-presentation-v106 #questList {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  max-height: none !important;
  overflow: visible !important;
}

html.meteor-presentation-v106 #shopList {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}

html.meteor-presentation-v106 #scoreboardList {
  display: grid !important;
  grid-template-columns: 1fr !important;
  max-height: none !important;
  overflow: visible !important;
}

html.meteor-presentation-v106 #shopList > *,
html.meteor-presentation-v106 #scoreboardList > * {
  overflow: visible !important;
}

html.meteor-presentation-v106 .shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

html.meteor-presentation-v106 .option-card {
  min-height: 0;
  border-radius: 16px;
}

html.meteor-presentation-v106 .scoreboard-row,
html.meteor-presentation-v106 .scoreboard-header-row {
  grid-template-columns: 58px minmax(200px, 1fr) minmax(120px, 0.42fr) 96px 14px;
}

html.meteor-presentation-v106 .meteor-v106-shop-tools {
  position: sticky;
  top: -1px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.32fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--meteor-line);
  border-radius: 15px;
  background: rgba(2, 8, 18, 0.97);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

html.meteor-presentation-v106 .meteor-v106-shop-tools input,
html.meteor-presentation-v106 .meteor-v106-shop-tools select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(125, 249, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #effaff;
  font: 700 14px/1.2 Inter, "Segoe UI", sans-serif;
}

html.meteor-presentation-v106 .meteor-v106-shop-count {
  color: var(--meteor-cyan);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

html.meteor-presentation-v106 .meteor-v106-shop-hidden {
  display: none !important;
}

html.meteor-presentation-v106 .meteor-v106-audio {
  grid-template-columns: minmax(190px, 0.8fr) auto minmax(240px, 1fr) minmax(240px, 1fr);
}

html.meteor-presentation-v106 .meteor-v106-audio-group {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

html.meteor-presentation-v106 .meteor-v106-audio-group label {
  white-space: nowrap;
}

html.meteor-presentation-v106 .meteor-v106-utility-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

html.meteor-presentation-v106 .menu #meteorPerformanceHud,
html.meteor-presentation-v106 .menu #meteorMegaTools {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: flex;
  max-width: 100%;
  margin: 0;
  transform: none !important;
}

html.meteor-presentation-v106 .menu #meteorMegaPanel,
html.meteor-presentation-v106 .menu #meteorMegaRoutePanel,
html.meteor-presentation-v106 .menu #meteorMegaSettingsPanel {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100% !important;
  max-height: none !important;
  margin-top: 12px;
}

html.meteor-presentation-v106 .meteor-v106-carrier-details {
  margin: 12px 0 16px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 15px;
  background: rgba(255, 209, 102, 0.045);
}

html.meteor-presentation-v106 .meteor-v106-carrier-details > summary {
  padding: 12px 14px;
  color: var(--meteor-amber);
  cursor: pointer;
  font-family: "Kenney Future", Poppins, sans-serif;
}

html.meteor-presentation-v106 .meteor-v106-carrier-details #carrierWarPanel {
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 209, 102, 0.16) !important;
  border-radius: 0 0 15px 15px !important;
}

/* Final HUD authority */
html.meteor-presentation-v106 .hud,
html.meteor-presentation-v106 #meteorCombatHudUx,
html.meteor-presentation-v106 #questTracker {
  display: none !important;
}

html.meteor-presentation-v106 #meteorV40Hud {
  z-index: 2500;
  font-family: "Poppins", "Segoe UI", sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

html.meteor-presentation-v106 .meteor-v106-top-rail {
  position: fixed;
  top: var(--meteor-safe-top);
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 0.86fr) minmax(320px, 1.2fr) minmax(270px, 0.96fr);
  grid-template-areas: "vitals wave boss";
  gap: 10px;
  width: min(1180px, calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 20px));
  transform: translateX(-50%);
  transform-origin: top center;
  pointer-events: none;
}

html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss) {
  grid-template-columns: minmax(230px, 0.8fr) minmax(420px, 1.45fr);
  grid-template-areas: "vitals wave";
}

html.meteor-presentation-v106 #meteorV40Hud .v40-hud-card {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0 !important;
  transform: none !important;
  padding: 10px 12px;
  border-radius: 14px;
  border-color: rgba(125, 249, 255, 0.27);
  background: linear-gradient(145deg, rgba(2, 9, 20, 0.92), rgba(8, 20, 38, 0.82));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 0 24px rgba(73, 245, 255, 0.055);
}

html.meteor-presentation-v106 #meteorV40Vitals {
  grid-area: vitals;
}

html.meteor-presentation-v106 #meteorV40Wave {
  grid-area: wave;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#meteorV40Wave {
  display: none !important;
}

#meteorV106StatusRail {
  display: none !important;
}

html.meteor-presentation-v106 #meteorV40Boss {
  grid-area: boss;
}

html.meteor-presentation-v106 #meteorV40Boss:not(.active) {
  display: none !important;
}

html.meteor-presentation-v106 #meteorV40Wave strong {
  color: #f7fbff;
  font-family: "Kenney Future", Poppins, sans-serif;
}

html.meteor-presentation-v106 #meteorV40Wave span,
html.meteor-presentation-v106 #meteorV40BossStatus {
  color: rgba(225, 239, 248, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

html.meteor-presentation-v106 .meteor-v106-status-rail {
  position: fixed;
  top: calc(var(--meteor-safe-top) + 104px);
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(920px, calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}

html.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay,
html.meteor-presentation-v106 .meteor-v106-objective {
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(125, 249, 255, 0.18);
  border-radius: 12px;
  background: rgba(2, 8, 18, 0.82);
  color: #e5f3fb;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(9px);
}

html.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.meteor-presentation-v106 .meteor-v106-objective {
  color: var(--meteor-amber);
  white-space: nowrap;
}

html.meteor-presentation-v106 .meteor-v106-bottom-dock {
  position: fixed;
  left: 50%;
  bottom: var(--meteor-safe-bottom);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: end;
  gap: 12px;
  width: min(1040px, calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 20px));
  transform: translateX(-50%);
  pointer-events: none;
}

html.meteor-presentation-v106 .meteor-v106-run-stats,
html.meteor-presentation-v106 .meteor-v106-command-slot {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

html.meteor-presentation-v106 .meteor-v106-run-stats {
  justify-self: start;
}

html.meteor-presentation-v106 .meteor-v106-command-slot {
  justify-self: end;
}

html.meteor-presentation-v106 .meteor-v106-run-stats #scoreDisplay,
html.meteor-presentation-v106 .meteor-v106-run-stats #coinDisplay {
  padding: 8px 10px;
  border: 1px solid rgba(125, 249, 255, 0.18);
  border-radius: 11px;
  background: rgba(2, 8, 18, 0.86);
  color: #eaf8ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.meteor-presentation-v106 .meteor-v106-ability-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

html.meteor-presentation-v106 .meteor-v106-ability-slot #universalAbilityHud {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
  margin: 0;
  border-radius: 15px;
  background: rgba(7, 12, 24, 0.92);
}

html.meteor-presentation-v106 #universalAbilityButton {
  width: 52px;
  height: 52px;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html.meteor-presentation-v106 #universalAbilityInfo {
  min-width: 180px;
}

html.meteor-presentation-v106 .meteor-v106-dash-button,
html.meteor-presentation-v106 #menuButton {
  min-height: 44px;
  pointer-events: auto;
  border-color: rgba(125, 249, 255, 0.28);
  background: linear-gradient(145deg, rgba(8, 31, 49, 0.96), rgba(11, 83, 92, 0.92));
}

html.meteor-presentation-v106 .meteor-v106-dash-button.ready {
  border-color: rgba(87, 255, 122, 0.56);
  color: #e4ffea;
}

html.meteor-presentation-v106 #meteorV40Carrier {
  position: relative !important;
  inset: auto !important;
  width: 82px !important;
  height: 82px !important;
  transform: none !important;
  flex: 0 0 auto;
}

html.meteor-presentation-v106 #meteorV40CarrierInner {
  width: 62px;
  height: 62px;
}

html.meteor-presentation-v106 #meteorV40Heat.meteor-v106-heat {
  position: fixed;
  left: 50%;
  top: calc(50% + 52px);
  width: min(230px, 46vw);
  height: auto;
  padding: 7px 9px 9px;
  overflow: visible;
  border-radius: 12px;
  background: rgba(2, 8, 18, 0.68);
  transform: translateX(-50%);
}

html.meteor-presentation-v106 .meteor-v106-heat-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  color: rgba(234, 248, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.meteor-presentation-v106 .meteor-v106-heat-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

html.meteor-presentation-v106 #meteorV40HeatFill {
  height: 100%;
}

html.meteor-presentation-v106 #meteorV40Heat.meteor-v106-warning {
  border-color: rgba(255, 98, 71, 0.58);
  box-shadow: 0 0 20px rgba(255, 98, 71, 0.16);
}

html.meteor-presentation-v106 .controls {
  display: none;
}

html.meteor-presentation-v106 #meteorPerformanceHud,
html.meteor-presentation-v106 #meteorMegaTools {
  display: none;
}

html.meteor-presentation-v106 .meteor-v106-screen-flash {
  mix-blend-mode: normal !important;
}

html.meteor-presentation-v106.meteor-colorblind-warnings .meteor-v106-warning,
html.meteor-presentation-v106.meteor-colorblind-warnings #meteorV40Boss.active {
  border-style: dashed !important;
}

html.meteor-performance-mode.meteor-presentation-v106 .v40-hud-card,
html.meteor-performance-mode.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay,
html.meteor-performance-mode.meteor-presentation-v106 .meteor-v106-objective,
html.meteor-performance-mode.meteor-presentation-v106 .meteor-v106-run-stats > *,
html.meteor-performance-mode.meteor-presentation-v106 #universalAbilityHud {
  background-color: rgba(2, 8, 18, 0.96) !important;
}

@media (max-width: 920px) {
  html.meteor-presentation-v106 .menu-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html.meteor-presentation-v106 .menu-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.meteor-presentation-v106 .meteor-v106-audio {
    grid-template-columns: 1fr auto;
  }

  html.meteor-presentation-v106 .meteor-v106-audio .profile-title-wrap {
    grid-column: 1 / -1;
  }

  html.meteor-presentation-v106 .meteor-v106-audio-group {
    grid-column: 1 / -1;
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail,
  html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss) {
    grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1.2fr);
    grid-template-areas: "vitals wave";
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss {
    grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 1.2fr);
    grid-template-areas: "vitals boss" "wave wave";
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss + .meteor-v106-status-rail {
    top: calc(var(--meteor-safe-top) + 174px);
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail {
    top: calc(var(--meteor-safe-top) + 104px);
  }

  html.meteor-presentation-v106 .meteor-v106-bottom-dock {
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  }

  html.meteor-presentation-v106 .meteor-v106-run-stats {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  html.meteor-presentation-v106 .welcome-panel {
    border-radius: 18px;
  }

  html.meteor-presentation-v106 .welcome-showcase {
    display: none;
  }

  html.meteor-presentation-v106 .menu {
    width: calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 8px);
    padding: 8px;
    border-radius: 16px;
  }

  html.meteor-presentation-v106 .menu-frame,
  html.meteor-presentation-v106 .menu-panel {
    padding: 12px;
  }

  html.meteor-presentation-v106 .menu-actions,
  html.meteor-presentation-v106 .menu-dashboard,
  html.meteor-presentation-v106 .profile-strip,
  html.meteor-presentation-v106 .meteor-v106-audio {
    grid-template-columns: 1fr;
  }

  html.meteor-presentation-v106 .meteor-v106-shop-tools {
    grid-template-columns: 1fr;
  }

  html.meteor-presentation-v106 .meteor-v106-shop-count {
    white-space: normal;
  }

  html.meteor-presentation-v106 .scoreboard-row {
    grid-template-columns: 48px 1fr;
  }

  html.meteor-presentation-v106 .scoreboard-row > :nth-child(n + 3) {
    grid-column: 2;
  }

  html.meteor-presentation-v106 .reward-choice-grid {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 8px;
  }

  html.meteor-presentation-v106 .reward-choice {
    flex: 0 0 min(76vw, 250px);
    scroll-snap-align: center;
  }

  html.meteor-presentation-v106 .reward-model-window {
    height: 62px;
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail,
  html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss),
  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "wave wave" "vitals boss";
    gap: 6px;
    width: calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 8px);
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss) {
    grid-template-areas: "wave wave" "vitals vitals";
  }

  html.meteor-presentation-v106 #meteorV40Hud .v40-hud-card {
    padding: 7px 8px;
    border-radius: 11px;
  }

  html.meteor-presentation-v106 #meteorV40Wave strong,
  html.meteor-presentation-v106 #meteorV40BossName {
    font-size: 12px;
  }

  html.meteor-presentation-v106 #meteorV40Wave span,
  html.meteor-presentation-v106 #meteorV40BossStatus,
  html.meteor-presentation-v106 .v40-title-row {
    font-size: 9px;
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail,
  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss + .meteor-v106-status-rail {
    top: calc(var(--meteor-safe-top) + 142px);
    display: block;
    width: calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 16px);
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay {
    padding: 6px 8px;
    font-size: 10px;
  }

  html.meteor-presentation-v106 .meteor-v106-objective {
    display: none;
  }

  html.meteor-presentation-v106 .meteor-v106-bottom-dock {
    grid-template-columns: auto 1fr auto;
    gap: 6px;
    align-items: end;
    width: calc(100vw - var(--meteor-safe-left) - var(--meteor-safe-right) - 8px);
  }

  html.meteor-presentation-v106 .meteor-v106-run-stats {
    display: none;
  }

  html.meteor-presentation-v106 .meteor-v106-ability-slot {
    grid-column: 2;
    justify-self: center;
  }

  html.meteor-presentation-v106 .meteor-v106-command-slot {
    grid-column: 3;
  }

  html.meteor-presentation-v106 .meteor-v106-ability-slot #universalAbilityHud {
    gap: 6px;
    padding: 6px;
  }

  html.meteor-presentation-v106 #universalAbilityButton {
    width: 46px;
    height: 46px;
  }

  html.meteor-presentation-v106 #universalAbilityInfo {
    min-width: 0;
    max-width: 105px;
  }

  html.meteor-presentation-v106 #universalAbilityName {
    font-size: 10px;
  }

  html.meteor-presentation-v106 #universalAbilityCooldown {
    max-width: 105px;
    overflow: hidden;
    color: #ffd6a8;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.meteor-presentation-v106 #universalAbilityKey {
    display: none;
  }

  html.meteor-presentation-v106 #meteorV40Carrier {
    width: 64px !important;
    height: 64px !important;
  }

  html.meteor-presentation-v106 #meteorV40CarrierInner {
    width: 48px;
    height: 48px;
  }

  html.meteor-presentation-v106 #meteorV40CarrierInner strong {
    font-size: 11px;
  }

  html.meteor-presentation-v106 #meteorV40CarrierInner span {
    font-size: 7px;
  }

  html.meteor-presentation-v106 .meteor-v106-dash-button,
  html.meteor-presentation-v106 #menuButton {
    min-height: 40px;
    padding: 7px 9px;
    font-size: 11px;
  }

  html.meteor-presentation-v106 #meteorV40Heat.meteor-v106-heat {
    top: calc(50% + 42px);
    width: min(190px, 62vw);
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  html.meteor-presentation-v106 .welcome-panel {
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.8fr);
  }

  html.meteor-presentation-v106 .welcome-orbit {
    min-height: 230px;
  }

  html.meteor-presentation-v106 .welcome-stat-grid {
    display: none;
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail,
  html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss),
  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss {
    grid-template-columns: minmax(190px, 0.8fr) minmax(270px, 1.2fr) minmax(220px, 0.9fr);
    grid-template-areas: "vitals wave boss";
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail:not(.has-boss) {
    grid-template-columns: minmax(190px, 0.75fr) minmax(360px, 1.4fr);
    grid-template-areas: "vitals wave";
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail,
  html.meteor-presentation-v106 .meteor-v106-top-rail.has-boss + .meteor-v106-status-rail {
    top: calc(var(--meteor-safe-top) + 92px);
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay {
    padding: 5px 8px;
    font-size: 10px;
  }

  html.meteor-presentation-v106 .meteor-v106-objective {
    display: none;
  }

  html.meteor-presentation-v106 #meteorV40Hud .v40-hud-card {
    padding: 6px 8px;
  }

  html.meteor-presentation-v106 .meteor-v106-bottom-dock {
    bottom: max(6px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html.meteor-presentation-v106 *,
  html.meteor-presentation-v106 *::before,
  html.meteor-presentation-v106 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 1800px) and (min-height: 1000px) {
  html.meteor-presentation-v106 .welcome-panel {
    width: min(1480px, calc(100vw - 96px));
    min-height: min(900px, calc(var(--app-height, 100dvh) - 80px));
  }

  html.meteor-presentation-v106 .welcome-copy {
    padding: 48px;
    gap: 22px;
  }

  html.meteor-presentation-v106 .welcome-copy h1 {
    font-size: 88px;
  }

  html.meteor-presentation-v106 .welcome-showcase {
    min-height: 720px;
    padding: 44px;
  }

  html.meteor-presentation-v106 .menu {
    width: min(1480px, calc(100vw - 96px));
    padding: 28px;
    font-size: 18px;
  }

  html.meteor-presentation-v106 .menu h1 {
    font-size: 38px;
  }

  html.meteor-presentation-v106 .menu h2 {
    font-size: 28px;
  }

  html.meteor-presentation-v106 .menu-actions button,
  html.meteor-presentation-v106 .menu button {
    min-height: 58px;
    font-size: 16px;
  }

  html.meteor-presentation-v106 .meteor-v106-top-rail {
    width: min(1500px, calc(100vw - 72px));
    gap: 16px;
  }

  html.meteor-presentation-v106 #meteorV40Hud .v40-hud-card {
    padding: 16px 18px;
    font-size: 16px;
  }

  html.meteor-presentation-v106 #meteorV40Vitals,
  html.meteor-presentation-v106 #meteorV40Wave,
  html.meteor-presentation-v106 #meteorV40Boss {
    zoom: var(--meteor-display-ui-scale, 1.2);
  }

  html.meteor-presentation-v106 #meteorV40Wave strong {
    font-size: 22px;
  }

  html.meteor-presentation-v106 #meteorV40Wave span,
  html.meteor-presentation-v106 #meteorV40BossStatus {
    font-size: 15px;
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail {
    top: calc(var(--meteor-safe-top) + 126px);
    width: min(1180px, calc(100vw - 96px));
  }

  html.meteor-presentation-v106 .meteor-v106-status-rail #statusDisplay,
  html.meteor-presentation-v106 .meteor-v106-objective {
    padding: 12px 16px;
    font-size: 16px;
  }

  html.meteor-presentation-v106 .meteor-v106-bottom-dock {
    bottom: 22px;
    width: min(1320px, calc(100vw - 96px));
    zoom: var(--meteor-display-ui-scale, 1.2);
  }

  html.meteor-presentation-v106 #meteorGlobalChatOverlay {
    width: min(390px, calc(100vw - 48px));
    padding: 14px;
    font-size: 15px;
  }

  html.meteor-presentation-v106 #meteorGlobalChatMessages {
    max-height: 220px;
  }

  html.meteor-presentation-v106 #meteorGlobalChatOverlay input,
  html.meteor-presentation-v106 #meteorGlobalChatOverlay button {
    min-height: 42px;
    font-size: 14px;
  }

  html.meteor-presentation-v106 #meteorPerformanceHud {
    zoom: var(--meteor-display-ui-scale, 1.2);
  }
}

/* === 1.2 HUD clean-up ===
   One panel style for every HUD block, nothing over the middle of the arena,
   and no overlap between the chat and the score/coins dock. Desktop only;
   touch layouts keep their own rules in controls.css. */
html.meteor-presentation-v106:not(.meteor-touch-game) {
  --meteor-hud-panel: rgba(4, 10, 20, 0.78);
  --meteor-hud-border: rgba(125, 249, 255, 0.2);
}

html.meteor-presentation-v106:not(.meteor-touch-game) #meteorV40Heat.meteor-v106-heat {
  top: auto;
  bottom: calc(var(--meteor-safe-bottom) + 96px);
  width: min(300px, 60vw);
  border: 1px solid var(--meteor-hud-border);
  border-radius: 8px;
  background: var(--meteor-hud-panel);
}

html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatOverlay {
  bottom: var(--meteor-safe-bottom, 14px);
  width: min(270px, calc(100vw - 28px));
  border-color: var(--meteor-hud-border);
  background: var(--meteor-hud-panel);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatOverlay:hover,
html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatOverlay:focus-within {
  opacity: 1;
}

html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatMessages {
  max-height: 84px;
}

html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-heat-label {
  white-space: nowrap;
}

html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalSupportButton {
  padding: 4px 8px !important;
  font-size: 12px;
}

html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-run-stats #scoreDisplay,
html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-run-stats #coinDisplay,
html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-ability-slot #universalAbilityHud {
  border: 1px solid var(--meteor-hud-border);
  border-radius: 8px;
  background: var(--meteor-hud-panel);
}

@media (max-height: 560px) {
  html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatOverlay {
    width: min(220px, calc(100vw - 28px));
    padding: 6px;
  }
  html.meteor-presentation-v106:not(.meteor-touch-game) #meteorGlobalChatOverlay:not(:focus-within) #meteorGlobalChatMessages {
    display: none;
  }
}


/* === 1.2.1 typography + HUD icons ===
   Body text in Poppins, headings / HUD numbers / buttons in the Tektur sci-fi face
   (declared as "Kenney Future" in style.css), and line icons in front of the HUD labels.
   Injected widgets set their own font with ID selectors, hence !important. */
html.meteor-presentation-v106 {
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-display: "Kenney Future", "Poppins", "Segoe UI", sans-serif;
}
html.meteor-presentation-v106 body,
html.meteor-presentation-v106 #meteorV40Hud { font-family: var(--font-body); }
html.meteor-presentation-v106 body *:not(svg):not(svg *) { font-family: var(--font-body) !important; }
html.meteor-presentation-v106 :is(h1, h2, h3, h4, button, select, .menu-kicker, [class*="kicker"], [class*="eyebrow"],
  .v40-title-row, #meteorV40WaveTitle, #meteorV40BossName, #meteorV40CarrierInner, .meteor-v106-heat-label,
  #scoreDisplay, #coinDisplay, #meteorCombatBanner strong, .meteor-v106-carrier-details > summary,
  #meteorFpsReadout, #universalAbilityInfo strong, #meteorGlobalChatOverlay header strong) {
  font-family: var(--font-display) !important;
  letter-spacing: 0.04em;
}
html.meteor-presentation-v106 .v40-title-row strong,
html.meteor-presentation-v106 #meteorV40CarrierText,
html.meteor-presentation-v106 #scoreDisplay,
html.meteor-presentation-v106 #coinDisplay { font-variant-numeric: tabular-nums; }

html.meteor-presentation-v106 :is(#meteorV40Vitals > .v40-title-row > span, #meteorV40Boss .v40-title-row > span, #meteorV40WaveTitle, #scoreDisplay, #coinDisplay, #meteorV106DashButton, #menuButton)::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.45em;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--hud-icon) center / contain no-repeat;
  mask: var(--hud-icon) center / contain no-repeat;
  opacity: 0.9;
}
html.meteor-presentation-v106 #meteorV40Vitals > .v40-title-row:first-child > span { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M12 2.5 20 5.5v6c0 5-3.4 8.6-8 10-4.6-1.4-8-5-8-10v-6z%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #meteorV40Vitals > .v40-title-row:nth-child(3) > span { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M12 2.5 20.5 7.3v9.4L12 21.5l-8.5-4.8V7.3z%22/%3E%3Cpath d=%22M12 7v10M7.7 9.5l8.6 5M16.3 9.5l-8.6 5%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #meteorV40Boss .v40-title-row > span { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%222.5%22/%3E%3Cpath d=%22M12 1.5v5M12 17.5v5M1.5 12h5M17.5 12h5%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #meteorV40WaveTitle { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%225.5%22/%3E%3Cpath d=%22M2.5 15.5c3.5 1.6 15.5-3.4 19-7%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #scoreDisplay { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Cpath d=%22m12 2.8 2.7 6 6.5.6-4.9 4.3 1.5 6.4L12 16.8 6.2 20.1l1.5-6.4-4.9-4.3 6.5-.6z%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #coinDisplay { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 6.5v11M9 9.2c0-1.3 1.3-2 3-2s3 .8 3 2-1.2 1.8-3 2.3-3 1.1-3 2.4 1.3 2 3 2 3-.7 3-2%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #meteorV106DashButton { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M13 2.5 5 13.5h6l-1 8 8-11h-6z%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #menuButton { --hud-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.2%22 stroke-linejoin=%22round%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M8.5 5v14M15.5 5v14%22/%3E%3C/svg%3E"); }
html.meteor-presentation-v106 #meteorV40Vitals > .v40-title-row:first-child > span { color: #8dffb0; }
html.meteor-presentation-v106 #meteorV40Vitals > .v40-title-row:nth-child(3) > span { color: #7df9ff; }
html.meteor-presentation-v106 #coinDisplay::before { color: #ffd166; }
html.meteor-presentation-v106 #scoreDisplay::before { color: #7df9ff; }
html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-run-stats :is(#scoreDisplay, #coinDisplay) { font-size: 11px; letter-spacing: 0.02em; }
html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-run-stats { flex-direction: column; align-items: flex-start; gap: 4px; }
/* During a run the chat sits above the score/coins dock (sector-mood.js sets meteor-run-active). */
html.meteor-presentation-v106.meteor-run-active:not(.meteor-touch-game) #meteorGlobalChatOverlay { bottom: calc(var(--meteor-safe-bottom, 14px) + 96px); }
/* In the menus the chat folds to its header (it covered the Launch button); hover or focus opens it. */
html.meteor-presentation-v106:not(.meteor-run-active):not(.meteor-touch-game) #meteorGlobalChatOverlay:not(:hover):not(:focus-within) :is(#meteorGlobalChatMessages, .meteor-online-chat-compose) { display: none; }
@media (max-width: 900px), (max-height: 560px) {
  html.meteor-presentation-v106:not(.meteor-touch-game) :is(.meteor-v106-dash-button, #menuButton) { font-size: 12px; white-space: nowrap; }
  html.meteor-presentation-v106:not(.meteor-touch-game) .meteor-v106-run-stats :is(#scoreDisplay, #coinDisplay) { font-size: 10px; max-width: 150px; }
}

/* Ship abilities v2 (1.2.1): icon button tinted with the ship's ability colour */
#universalAbilityButton[data-v2-ability] {
  display: grid !important;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ability-color, #7df9ff) 70%, transparent) !important;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ability-color, #7df9ff) 30%, #0a1222) 0%, #070b16 72%) !important;
  box-shadow: 0 0 14px color-mix(in srgb, var(--ability-color, #7df9ff) 35%, transparent), inset 0 0 12px rgba(255,255,255,0.06) !important;
}
#universalAbilityButton[data-v2-ability] svg { position: relative; z-index: 2; }
#universalAbilityButton[data-v2-ability] .v2-key {
  position: absolute; right: 3px; bottom: 2px; z-index: 3;
  font: 700 10px/1 "Kenney Future", "Tektur", sans-serif !important;
  color: #dfe9ff; opacity: 0.85; letter-spacing: 0;
}
#universalAbilityButton[data-v2-ability].ready { animation: v2AbilityReady 1.4s ease-in-out infinite alternate !important; }
#universalAbilityButton[data-v2-ability].active { box-shadow: 0 0 26px var(--ability-color, #7df9ff), inset 0 0 16px color-mix(in srgb, var(--ability-color, #7df9ff) 45%, transparent) !important; }
@keyframes v2AbilityReady { from { box-shadow: 0 0 8px color-mix(in srgb, var(--ability-color, #7df9ff) 30%, transparent); } to { box-shadow: 0 0 20px color-mix(in srgb, var(--ability-color, #7df9ff) 70%, transparent); } }
