:root {
  color-scheme: dark;
  --ink: #f2f5ff;
  --muted: #aab4cb;
  --faint: #77839e;
  --panel: rgba(8, 15, 30, 0.88);
  --panel-solid: #0b1428;
  --line: rgba(168, 188, 230, 0.18);
  --cyan: #63e7f0;
  --cyan-bright: #b9fbff;
  --violet: #9f83ff;
  --gold: #ffc96b;
  --red: #ff718b;
  --green: #72e6aa;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #050a14; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #050a14;
  overflow-x: hidden;
}

button, a { font: inherit; }

button { color: inherit; }

button:focus-visible, a:focus-visible, canvas:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.world-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgba(2, 6, 16, 0.15), rgba(3, 7, 16, 0.88)), url("/assets/image/miora-valley.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.world-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 45% 35%, transparent 10%, rgba(2, 6, 15, 0.42) 74%), linear-gradient(90deg, rgba(3, 8, 18, 0.45), transparent 26%, transparent 74%, rgba(3, 8, 18, 0.45));
  backdrop-filter: blur(2px);
}

.site-header {
  width: min(1540px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 16px rgba(99, 231, 240, 0.55));
}

.brand-mark::before, .brand-mark span {
  content: "";
  position: absolute;
  width: 25px;
  height: 35px;
  background: linear-gradient(135deg, #d8ffff 0 18%, #62e7ef 19% 56%, #3759c9 57%);
  clip-path: polygon(50% 0, 100% 36%, 82% 100%, 18% 100%, 0 36%);
}

.brand-mark span {
  width: 11px;
  height: 24px;
  opacity: 0.8;
  transform: translateY(3px);
  background: linear-gradient(#fff, #9bf4ff 48%, #534bd8);
}

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; letter-spacing: 0.04em; }
.brand-copy small { margin-top: 6px; color: var(--cyan); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }

.header-actions { display: flex; gap: 8px; }

.icon-button, .secondary-button, .close-button {
  border: 1px solid var(--line);
  background: rgba(9, 18, 36, 0.78);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.icon-button:hover, .secondary-button:hover { border-color: rgba(99, 231, 240, 0.55); background: rgba(18, 35, 61, 0.92); color: var(--ink); }
.icon-button:active, .secondary-button:active, .primary-button:active { transform: translateY(1px); }
.sound-icon { color: var(--cyan); font-size: 1.3rem; }

.game-layout {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.game-panel, .control-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.game-panel { min-width: 0; border-radius: 18px; overflow: hidden; }

.resource-bar {
  min-height: 74px;
  padding: 11px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(14, 27, 51, 0.92), rgba(8, 16, 33, 0.8));
}

.resource { display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); }
.resource:last-child { border: 0; }
.resource > span:last-child { display: grid; }
.resource small { color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.resource strong { margin-top: 2px; font-size: 1.17rem; font-variant-numeric: tabular-nums; }
.resource-icon { font-size: 1.45rem; filter: drop-shadow(0 0 9px currentColor); }
.resource-gold .resource-icon { color: var(--gold); }
.resource-lives .resource-icon { color: var(--red); }
.resource-wave .resource-icon { color: var(--cyan); }
.resource-score .resource-icon { color: var(--violet); }

.canvas-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(29, 72, 70, 0.35), transparent 55%), linear-gradient(#172a34, #101b25);
}

#game-canvas { display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: manipulation; }

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at center, rgba(17, 34, 55, 0.7), rgba(4, 8, 18, 0.94));
  overflow-y: auto;
}

.overlay-card { width: min(560px, 100%); text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.19em; text-transform: uppercase; }
.overlay-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 6vw, 4.9rem); line-height: 0.95; text-shadow: 0 0 30px rgba(99, 231, 240, 0.24); }
.overlay-card > p:not(.eyebrow) { max-width: 520px; margin: 22px auto; color: #c9d1e2; line-height: 1.7; }
.overlay-features { margin: 0 0 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.overlay-features span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 23, 44, 0.68); color: var(--muted); font-size: 0.76rem; }
.player-name-field { width: min(300px, 100%); margin: -8px auto 16px; display: grid; gap: 6px; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.player-name-field input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: rgba(5, 13, 27, 0.88); font: 600 0.9rem system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.player-name-field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(99, 231, 240, 0.12); }

.primary-button {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(173, 251, 255, 0.62);
  border-radius: 11px;
  color: #05121e;
  background: linear-gradient(135deg, #b7fbff, #62dce9 55%, #5aa5ff);
  box-shadow: 0 9px 25px rgba(66, 202, 225, 0.2), inset 0 1px rgba(255, 255, 255, 0.75);
  font-weight: 900;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.primary-button:hover:not(:disabled) { filter: brightness(1.08); }
.primary-button:disabled { cursor: not-allowed; filter: grayscale(0.55); opacity: 0.42; }
.large-button { width: auto; min-width: 220px; padding-inline: 28px; }

.result-score { display: grid; width: 180px; margin: 0 auto 24px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 23, 44, 0.7); }
.result-score small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.result-score strong { margin-top: 3px; color: var(--gold); font-size: 1.7rem; }
.score-breakdown {
  width: min(400px, 100%);
  margin: -12px auto 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(7, 14, 28, 0.72);
}
.score-breakdown span { padding: 9px 12px; display: grid; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.score-breakdown span:nth-child(2n) { border-right: 0; }
.score-breakdown span:nth-last-child(-n + 2) { border-bottom: 0; }
.score-breakdown small { color: var(--faint); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; }
.score-breakdown strong { margin-top: 2px; font-size: 0.88rem; }
.score-breakdown .positive { color: var(--green); }
.score-breakdown .negative { color: var(--red); }
.result-name-prompt { width: min(400px, 100%); margin: -8px auto 16px; padding: 11px; border: 1px solid rgba(99, 231, 240, 0.25); border-radius: 12px; background: rgba(8, 22, 36, 0.84); }
.result-name-prompt .player-name-field { width: 100%; margin: 0 0 8px; }
.result-name-actions { display: grid; grid-template-columns: 1fr 0.72fr; gap: 8px; }
.result-name-prompt .secondary-button { width: 100%; padding-inline: 10px; }
.result-name-prompt .skip-button { color: var(--faint); }
.result-name-prompt p { margin: 7px 0 0; color: var(--faint); font-size: 0.64rem; }

.toast {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 20px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(7, 13, 26, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.tower-dock {
  min-height: 92px;
  padding: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 27, 0.95);
}

.tower-choice {
  position: relative;
  min-width: 0;
  padding: 8px 34px 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(19, 35, 63, 0.78), rgba(9, 17, 33, 0.82));
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.tower-choice:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(99, 231, 240, 0.5); }
.tower-choice[aria-pressed="true"] { border-color: var(--cyan); background: linear-gradient(145deg, rgba(31, 88, 106, 0.76), rgba(17, 33, 61, 0.95)); box-shadow: inset 0 0 20px rgba(99, 231, 240, 0.1); }
.tower-choice:disabled { opacity: 0.44; cursor: not-allowed; }
.tower-choice-copy { min-width: 0; display: grid; }
.tower-choice-copy strong { overflow: hidden; font-size: 0.88rem; text-overflow: ellipsis; white-space: nowrap; }
.tower-choice-copy small { margin-top: 4px; color: var(--muted); font-size: 0.71rem; }
.tower-choice-copy b { color: var(--gold); }
kbd { padding: 2px 6px; border: 1px solid rgba(180, 199, 236, 0.25); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); background: rgba(4, 9, 19, 0.6); font: 700 0.68rem ui-monospace, monospace; }
.tower-choice > kbd { position: absolute; top: 8px; right: 8px; }

.tower-orb { position: relative; flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; background: radial-gradient(circle, rgba(114, 222, 255, 0.22), rgba(8, 16, 32, 0.7) 65%); }
.tower-orb::before { content: ""; width: 23px; height: 31px; clip-path: polygon(50% 0, 92% 27%, 78% 100%, 22% 100%, 8% 27%); background: linear-gradient(135deg, #edffff, #67dfef 45%, #324ca9); filter: drop-shadow(0 0 8px #63e7f0); }
.tower-orb i { position: absolute; width: 34px; height: 8px; bottom: 7px; border-radius: 50%; background: #263c61; box-shadow: inset 0 2px rgba(255, 255, 255, 0.16); }
.orb-frost::before { background: linear-gradient(135deg, white, #8beaff 45%, #4383dc); filter: drop-shadow(0 0 8px #8beaff); }
.orb-ember::before { background: linear-gradient(135deg, #fff2c1, #ff9d54 42%, #b63c52); filter: drop-shadow(0 0 8px #ff8a58); }
.orb-runePower::before, .orb-runeHaste::before, .orb-runeSight::before { width: 28px; height: 28px; clip-path: polygon(50% 0, 63% 33%, 100% 50%, 63% 67%, 50% 100%, 37% 67%, 0 50%, 37% 33%); }
.orb-runePower::before { background: radial-gradient(circle, #fff0cf, #ff896b 45%, #8c294a); filter: drop-shadow(0 0 9px #ff896b); }
.orb-runeHaste::before { background: radial-gradient(circle, #f5e9ff, #c78cff 45%, #6338b6); filter: drop-shadow(0 0 9px #c78cff); }
.orb-runeSight::before { background: radial-gradient(circle, #e7fff7, #75f0c1 45%, #278b83); filter: drop-shadow(0 0 9px #75f0c1); }
.support-choice { border-color: rgba(255, 201, 107, 0.23); }
.support-choice[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(145deg, rgba(94, 67, 33, 0.72), rgba(31, 25, 46, 0.95)); box-shadow: inset 0 0 20px rgba(255, 201, 107, 0.09); }

.control-panel { display: grid; gap: 12px; }
.control-card { padding: 18px; border-radius: 16px; }
.card-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card-heading h2, .selection-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.threat-badge, .level-badge { padding: 5px 8px; border-radius: 999px; color: var(--green); background: rgba(77, 210, 145, 0.12); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.threat-badge.medium { color: var(--gold); background: rgba(255, 201, 107, 0.12); }
.threat-badge.high { color: var(--red); background: rgba(255, 113, 139, 0.12); }
.wave-description, #empty-selection p, .upgrade-copy { color: var(--muted); font-size: 0.83rem; line-height: 1.55; }
.interest-note {
  margin: 13px 0 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 201, 107, 0.2);
  border-radius: 10px;
  background: rgba(255, 201, 107, 0.055);
}
.interest-icon { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #21170a; background: var(--gold); font-size: 0.76rem; font-weight: 950; box-shadow: 0 0 14px rgba(255, 201, 107, 0.24); }
.interest-note > span:nth-child(2) { min-width: 0; display: grid; }
.interest-note small { color: var(--faint); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.interest-note strong { margin-top: 2px; color: var(--gold); font-size: 0.76rem; }
.interest-rate { margin-left: auto; color: var(--faint); font-size: 0.6rem; white-space: nowrap; }
.enemy-preview { min-height: 54px; margin: 14px 0; display: flex; align-items: center; gap: 6px; }
.enemy-token { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(196, 168, 255, 0.25); border-radius: 50%; color: #d8c6ff; background: radial-gradient(circle, #614e8f, #201a37 68%); box-shadow: 0 0 12px rgba(133, 99, 212, 0.22); font-size: 0.65rem; font-weight: 900; }
.enemy-token.runner { color: #b7f5ff; background: radial-gradient(circle, #37758a, #172835 68%); }
.enemy-token.brute { width: 40px; height: 40px; color: #ffd2b3; background: radial-gradient(circle, #874f43, #301d25 68%); }
.enemy-token.boss { width: 46px; height: 46px; color: #ffd0df; background: radial-gradient(circle, #a53661, #351025 68%); }
.enemy-more { color: var(--faint); font-size: 0.75rem; }
.battle-controls { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.secondary-button { min-height: 39px; border-radius: 9px; color: var(--muted); }
.secondary-button:disabled { opacity: 0.4; cursor: not-allowed; }

.selected-title { display: flex; align-items: center; gap: 10px; }
.selected-title .tower-orb { width: 42px; height: 42px; }
.selected-title .tower-orb::before { transform: scale(0.78); }
.selected-title .tower-orb i { transform: scale(0.8); }
.selected-title .level-badge { margin-left: auto; color: var(--cyan); background: rgba(99, 231, 240, 0.1); white-space: nowrap; }
.tower-stats { margin: 15px 0; padding: 11px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.tower-stats > div { display: grid; text-align: center; border-right: 1px solid var(--line); }
.tower-stats > div:last-child { border: 0; }
.tower-stats small { color: var(--faint); font-size: 0.61rem; text-transform: uppercase; }
.tower-stats strong { margin-top: 3px; font-size: 0.86rem; }
.text-button { width: 100%; margin-top: 9px; padding: 7px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.danger-button:hover { color: var(--red); }

.record-card { display: flex; align-items: center; gap: 12px; }
.record-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(255, 201, 107, 0.1); font-size: 1.3rem; }
.record-card div { display: grid; }
.record-card small { color: var(--muted); font-size: 0.68rem; }
.record-card strong { margin-top: 3px; }

.leaderboard-card { padding: 14px 16px; }
.leaderboard-heading { align-items: center; }
.leaderboard-heading .eyebrow { margin-bottom: 4px; }
.leaderboard-list { margin: 11px 0 8px; padding: 0; list-style: none; }
.leaderboard-list li { min-height: 35px; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.leaderboard-rank { color: var(--gold); font: 700 0.78rem Georgia, serif; text-align: center; }
.leaderboard-player { min-width: 0; display: grid; }
.leaderboard-player strong { overflow: hidden; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-player small { color: var(--faint); font-size: 0.58rem; }
.leaderboard-score { color: var(--cyan-bright); font-size: 0.76rem; font-variant-numeric: tabular-nums; }
.leaderboard-status { margin: 0; color: var(--faint); font-size: 0.62rem; }
.local-record { margin-top: 9px; padding-top: 8px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.local-record small { color: var(--muted); font-size: 0.64rem; }
.local-record strong { color: var(--gold); font-size: 0.7rem; }

.help-card { border-color: rgba(99, 231, 240, 0.38); }
.help-card ol { padding-left: 19px; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.help-card li + li { margin-top: 8px; }
.help-card > p { color: var(--faint); font-size: 0.75rem; line-height: 1.55; }
.close-button { width: 30px; height: 30px; border-radius: 8px; color: var(--muted); font-size: 1.2rem; }

.site-footer { width: min(1540px, calc(100% - 40px)); margin: 14px auto 24px; display: flex; justify-content: space-between; color: rgba(193, 205, 229, 0.52); font-size: 0.7rem; }
.site-footer p { margin: 0; }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.not-found-card { width: min(560px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(18px); }
.not-found h1 { margin: 0; font: 3rem/1 Georgia, serif; }
.not-found p:not(.eyebrow) { margin: 20px 0 28px; color: var(--muted); }
.link-button { display: inline-flex; width: auto; align-items: center; text-decoration: none; }

@media (max-width: 1120px) {
  .game-layout { grid-template-columns: 1fr; }
  .control-panel { grid-template-columns: repeat(3, 1fr); }
  .selection-card { grid-column: span 2; }
  .help-card { grid-column: 1 / -1; }
}

@media (min-width: 1121px) and (max-height: 1100px) {
  .site-header { min-height: 60px; }
  .game-layout {
    width: min(1260px, calc(100% - 40px), calc(100vh + 84px));
    width: min(1260px, calc(100% - 40px), calc(100dvh + 84px));
  }
  .resource-bar { min-height: 56px; padding-block: 7px; }
  .tower-dock { min-height: 0; padding: 8px; grid-auto-rows: 56px; gap: 8px; }
  .tower-choice { padding-block: 5px; }
  .tower-choice .tower-orb { width: 42px; height: 42px; }
  .tower-choice .tower-orb::before { transform: scale(0.82); }
  .tower-choice .tower-orb i { transform: scale(0.82); }
  .site-footer { display: none; }
}

@media (max-width: 760px) {
  .site-header, .game-layout, .site-footer { width: min(100% - 20px, 1540px); }
  .site-header { min-height: 68px; }
  .brand-mark { transform: scale(0.82); }
  .brand-copy strong { font-size: 1.35rem; }
  .button-label { display: none; }
  .resource-bar { grid-template-columns: 1fr 1fr; gap: 9px 0; padding-block: 10px; }
  .resource:nth-child(2) { border-right: 0; }
  .resource { justify-content: flex-start; padding-left: 16%; }
  .resource small { font-size: 0.58rem; }
  .resource strong { font-size: 1rem; }
  .canvas-shell { aspect-ratio: 1; }
  .tower-dock { grid-template-columns: 1fr; }
  .tower-choice { min-height: 62px; }
  .control-panel { grid-template-columns: 1fr; }
  .selection-card, .help-card { grid-column: auto; }
  .site-footer { display: grid; gap: 5px; }
  .game-overlay { padding: 12px; }
  .overlay-card h2 { font-size: 2.35rem; }
  .overlay-card > p:not(.eyebrow) { margin-block: 9px; font-size: 0.8rem; line-height: 1.5; }
  .overlay-features { margin-bottom: 9px; }
  .overlay-features span { padding: 5px 8px; font-size: 0.69rem; }
  .player-name-field { margin-block: 0 9px; }
  .large-button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
