@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #131819;
  --panel: #202729;
  --line: #354043;
  --muted: #a4b4b6;
  --red: #e34e49;
  --mint: #76c3ab;
  --gold: #e8c16a;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f3f5f0;
  font:
    16px Barlow,
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  border-radius: 5px;
  padding: 11px 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    background 0.16s,
    border-color 0.16s;
}
button:hover {
  background: #303a3c;
  border-color: #758688;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
  font-weight: 700;
}
button.primary:hover {
  background: #ef625a;
}
button.mint {
  background: var(--mint);
  color: #11201d;
  font-weight: 700;
  border-color: var(--mint);
}
button.plain {
  border-color: transparent;
  background: transparent;
}
h1,
h2,
h3,
.wordmark,
.display {
  font-family: "Barlow Condensed", Impact, Arial, sans-serif;
  margin: 0;
  font-weight: 800;
}
h1 {
  font-size: 46px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
p {
  line-height: 1.5;
  color: var(--muted);
}
.icon {
  width: 42px;
  height: 42px;
  padding: 0;
  flex: 0 0 auto;
}
.wordmark {
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 25px;
  padding: 0;
}
.wordmark b {
  color: var(--red);
  font-size: 19px;
}
#header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 34px;
  position: relative;
  z-index: 5;
  background: var(--bg);
}
nav {
  display: flex;
  gap: 7px;
}
nav button {
  border: 0;
  background: none;
  padding: 9px 12px;
  color: var(--muted);
}
nav button.active {
  color: white;
  background: #2b3436;
}
.header-tools {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
}
#coins {
  border: 0;
  background: none;
  color: var(--gold);
  font-weight: 700;
  padding: 10px;
}
#app {
  min-height: calc(100dvh - 76px);
}
.loading {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
}
.loading span {
  font-size: 16px;
  color: var(--muted);
  margin-top: 15px;
}
.home {
  position: relative;
  min-height: calc(100dvh - 76px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  padding: 44px 6vw 64px;
}
.home:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--home-art, url("/assets/key-art.png")) right top / auto 100% no-repeat;
  z-index: -2;
}
.home:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 14, 15, 0.9),
      rgba(9, 14, 15, 0.35) 55%,
      transparent
    ),
    linear-gradient(0deg, #131819, transparent 55%);
  z-index: -1;
}
.home h1 {
  font-size: 88px;
  line-height: 0.95;
  max-width: 500px;
}
.home h1 span {
  color: var(--red);
}
.home .eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.home p {
  font-size: 18px;
  max-width: 410px;
}
.home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.home-meta {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  color: #c2cdcb;
  font-size: 14px;
}
.page {
  max-width: 1320px;
  margin: auto;
  padding: 32px 34px 60px;
}
.page-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-head p {
  margin: 5px 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.split {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.25fr);
  gap: 34px;
}
.phase-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phase {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  text-align: left;
  padding: 0;
  overflow: hidden;
  min-height: 82px;
  width: 100%;
  border-radius: 5px;
}
.phase img {
  width: 92px;
  height: 84px;
  object-fit: cover;
}
.phase strong {
  font-size: 18px;
}
.phase span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.phase .phase-number {
  font-size: 23px;
  margin-right: 16px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
}
.phase.selected {
  border-color: var(--mint);
  background: #263b36;
}
.stage-preview {
  width: 100%;
  aspect-ratio: 16/8.3;
  object-fit: cover;
}
.stage-detail {
  margin-top: 18px;
}
.stage-detail p {
  margin: 8px 0 18px;
}
.stage-detail h2 {
  font-size: 37px;
}
.detail-meta {
  display: flex;
  gap: 20px;
  color: var(--gold);
  margin-bottom: 22px;
  font-size: 14px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 9px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-width: 0;
  text-align: center;
  aspect-ratio: 3/4.1;
}
.hero-card img {
  width: 100%;
  height: calc(100% - 37px);
  object-fit: cover;
  object-position: 50% 30%;
  background: #2d353a;
}
.hero-card span {
  font-size: 14px;
  font-weight: 600;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card.selected {
  border-color: var(--mint);
  outline: 1px solid var(--mint);
}
.hero-card.locked img {
  filter: grayscale(1);
  opacity: 0.35;
}
.rarity {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  text-shadow: 0 1px 4px black;
}
.rarity.R {
  color: #b5c2c7;
}
.rarity.SR {
  color: var(--mint);
}
.selection {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.selected-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 16px 0 20px;
}
.selected-info img {
  width: 60px;
  height: 65px;
  object-fit: cover;
  background: #242e32;
}
.selected-info p {
  font-size: 14px;
  margin: 4px 0;
}
.selected-info h3 {
  font-size: 25px;
}
.lobby-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.member {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1d2627;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  min-height: 140px;
}
.member img {
  width: 95px;
  height: 108px;
  object-fit: cover;
}
.member p {
  margin: 4px 0;
}
.ready {
  color: var(--mint);
  font-size: 14px;
}
.wait {
  color: var(--gold);
  font-size: 14px;
}
.lobby-bottom {
  margin-top: 28px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.room-code {
  color: var(--gold);
  font-size: 32px;
  font-weight: 800;
  font-family: "Barlow Condensed", sans-serif;
}
.collection-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(300px, 1fr);
  gap: 40px;
}
.character-detail {
  position: sticky;
  top: 20px;
  align-self: start;
}
.character-detail > img {
  height: 330px;
  width: 100%;
  object-fit: contain;
  background: #20292b;
}
.character-detail h2 {
  margin-top: 18px;
  font-size: 42px;
}
.stats {
  margin: 20px 0;
  display: grid;
  gap: 13px;
}
.stat {
  display: grid;
  grid-template-columns: 90px 1fr 45px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.track {
  height: 5px;
  background: #354042;
}
.track > i {
  display: block;
  height: 100%;
  background: var(--mint);
}
.special-info {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.gacha {
  position: relative;
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 35px 7vw;
  background:
    linear-gradient(90deg, #131819ee, #13181970),
    var(--street-art, url("/assets/street.png")) center/cover;
}
.gacha-art {
  display: flex;
  align-items: flex-end;
  min-width: 0;
}
.gacha-art img {
  width: 50%;
  height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 14px 10px #0008);
}
.gacha-art img:first-child {
  transform: rotate(-5deg);
}
.gacha h1 {
  font-size: 70px;
  line-height: 1;
}
.gacha .rates {
  color: var(--mint);
  font-size: 14px;
  margin-top: 28px;
}
.pity {
  max-width: 430px;
  margin: 24px 0;
}
.pity .track {
  height: 7px;
  margin-top: 8px;
}
.summons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.summon {
  position: relative;
  animation: reveal 0.45s both;
  min-width: 0;
  background: #283235;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}
.summon img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.summon p {
  font-size: 14px;
  margin: 7px 4px;
}
.summon strong {
  display: block;
  margin-top: 9px;
}
.summon.SSR {
  border-color: var(--gold);
}
.summon.SR {
  border-color: var(--mint);
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
dialog {
  width: min(900px, calc(100% - 30px));
  max-height: 90dvh;
  overflow: auto;
  background: #1b2325;
  color: white;
  border: 1px solid #647477;
  border-radius: 6px;
  padding: 28px;
}
dialog::backdrop {
  background: #070c0edc;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.form {
  max-width: 460px;
  display: grid;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}
input,
select {
  min-width: 0;
  border: 1px solid var(--line);
  background: #101819;
  color: white;
  border-radius: 4px;
  padding: 12px;
}
.controls-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 25px 0;
}
.controls-table > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.controls-table kbd {
  color: var(--gold);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 100;
  background: #202c2e;
  border: 1px solid #66817c;
  border-radius: 5px;
  padding: 14px 22px;
  max-width: calc(100vw - 30px);
  transition: transform 0.2s;
  text-align: center;
}
#toast.visible {
  transform: translateX(-50%);
}
[hidden] {
  display: none !important;
}
body.playing {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body.playing #play, body.playing #play * { touch-action: none; }
button { touch-action: manipulation; }
body.playing #header,
body.playing #app {
  display: none;
}
#play {
  position: fixed;
  inset: 0;
  background: #080d0f;
  touch-action: none;
}
#canvas {
  width: 100%;
  height: 100%;
}
#canvas canvas {
  display: block;
  touch-action: none;
}
#hud {
  position: absolute;
  left: max(16px, env(safe-area-inset-left));
  top: max(14px, env(safe-area-inset-top));
  right: 180px;
  pointer-events: none;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.player-hud {
  width: 230px;
  display: flex;
  gap: 10px;
  min-width: 0;
  position: relative;
}
.player-hud img {
  width: 54px;
  height: 62px;
  object-fit: cover;
  border: 1px solid #d1d5cd;
  background: #203032;
}
.player-hud .bars {
  flex: 1;
  min-width: 0;
}
.player-hud strong {
  display: block;
  text-shadow: 1px 1px 3px black;
  font-size: 15px;
  margin-bottom: 7px;
}
.hp {
  height: 10px;
  background: #421b22;
  border: 1px solid #e5d9d488;
  overflow: hidden;
}
.hp i {
  display: block;
  height: 100%;
  background: #7aceab;
  transition: width 0.08s;
}
.energy {
  height: 6px;
  background: #223235;
  border: 1px solid #e5d9d488;
  margin-top: 5px;
}
.energy i {
  display: block;
  height: 100%;
  background: #e8c16a;
}
.player-hud small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: white;
  text-shadow: 0 1px 3px #000;
}
.wave-hud {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  text-shadow: 0 1px 4px black;
  max-width: 200px;
}
.arc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.arc-tabs button { padding: 8px 12px; font-size: 14px; }
.arc-tabs button.active { border-color: var(--gold); color: var(--gold); }
.lives { color: #f58380; white-space: nowrap; margin-left: 5px; }
.objective-hud { position: absolute; top: 82px; left: 0; width: 210px; font-size: 12px; text-shadow: 0 1px 3px #000; }
.objective-hud .hp i { background: #8bd8bd; }
.war-team-hud { position: absolute; top: 86px; left: 0; display: flex; gap: 10px; width: min(440px, 100%); }
.bot-hud { flex: 1; min-width: 0; font-size: 10px; text-shadow: 0 1px 3px #000; }
.bot-hud span { display: block; margin-bottom: 4px; }
.bot-hud .hp { height: 5px; }
.pity.compact { margin-top: -12px; }
.recruit-guarantee { color: var(--mint); }
.gacha-pool { margin-top: 22px; max-width: 560px; }
.gacha-pool p { font-size: 14px; }
@media (max-height: 450px) and (orientation: landscape) {
  .objective-hud { top: 58px; width: 158px; font-size: 10px; }
  .war-team-hud { top: 60px; width: min(330px, 100%); gap: 6px; }
  .bot-hud { font-size: 9px; }
}
.game-tools {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  gap: 5px;
}
.game-tools .icon {
  width: 33px;
  height: 33px;
  background: #131819bb;
}
.game-tools svg {
  width: 17px;
  height: 17px;
}
#game-modal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}
#game-modal:empty {
  display: none;
}
.game-overlay {
  padding: 28px;
  background: #131c20f5;
  border: 1px solid #8a9b9c;
  border-radius: 6px;
  width: min(460px, 90vw);
  pointer-events: auto;
  text-align: center;
  box-shadow: 0 10px 60px #0009;
}
.game-overlay h2 {
  font-size: 45px;
}
.game-overlay p {
  margin: 12px 0 20px;
}
.game-overlay .row {
  justify-content: center;
}
.stars {
  font-size: 26px;
  color: var(--gold);
  margin: 14px;
}
.game-overlay .metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  color: var(--muted);
}
#touch {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#stick {
  position: absolute;
  bottom: max(25px, env(safe-area-inset-bottom));
  left: max(30px, env(safe-area-inset-left));
  width: 130px;
  height: 130px;
  background: #11222555;
  border: 2px solid #c1dbcf66;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: none;
}
#stick-knob {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d4e5dc77;
  border: 1px solid #e2f2e599;
  left: 37px;
  top: 37px;
  pointer-events: none;
}
.touch-actions {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 54px);
  grid-template-rows: 54px 54px;
  gap: 7px;
  pointer-events: auto;
}
.touch-actions button {
  border-radius: 50%;
  padding: 0;
  background: #23383b99;
  border-color: #bbd0d188;
  touch-action: none;
}
.touch-actions button.attack {
  grid-column: 2;
  grid-row: 2;
  background: #448e76bb;
}
.touch-actions button.heavy {
  grid-column: 3;
  grid-row: 2;
  background: #a75543bb;
}
.touch-actions button.special {
  grid-column: 4;
  grid-row: 2;
  background: #bf9839bb;
}
.touch-actions button.held {
  background: white;
  color: black;
}
.touch-actions button svg {
  width: 23px;
  height: 23px;
}
.touch-actions button:disabled {
  opacity: 0.25;
}
#rotate {
  display: none;
  position: absolute;
  inset: 0;
  background: #101719f5;
  place-content: center;
  text-align: center;
  z-index: 10;
}
#rotate svg {
  width: 60px;
  height: 60px;
  margin: auto;
  color: var(--mint);
}
@media (pointer: coarse) {
  #touch {
    display: block;
  }
}
@media (max-width: 900px) {
  #header {
    padding: 0 15px;
    gap: 12px;
    height: 64px;
  }
  .wordmark {
    font-size: 20px;
  }
  .wordmark b {
    font-size: 14px;
  }
  nav {
    gap: 0;
  }
  nav button {
    font-size: 14px;
    padding: 8px;
  }
  .header-tools {
    gap: 2px;
  }
  .header-tools .icon {
    width: 32px;
    height: 32px;
  }
  .header-tools .icon svg {
    width: 17px;
  }
  .page {
    padding: 24px 20px;
  }
  .home {
    min-height: calc(100dvh - 64px);
    padding: 32px;
  }
  .home h1 {
    font-size: 66px;
  }
  .split {
    gap: 22px;
    grid-template-columns: 1fr 1.1fr;
  }
  .collection-grid {
    gap: 22px;
  }
  .gacha {
    gap: 20px;
    padding: 30px;
  }
  .gacha h1 {
    font-size: 52px;
  }
  .gacha-art img {
    height: 340px;
  }
  .player-hud {
    width: 175px;
    gap: 7px;
  }
  .player-hud img {
    height: 48px;
    width: 43px;
  }
  .player-hud strong {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .player-hud small {
    font-size: 10px;
  }
  #hud {
    gap: 14px;
    right: 155px;
  }
  .wave-hud {
    font-size: 11px;
  }
  #stick {
    width: 112px;
    height: 112px;
  }
  #stick-knob {
    left: 29px;
    top: 29px;
  }
  .touch-actions {
    grid-template-columns: repeat(4, 48px);
    grid-template-rows: 48px 48px;
    gap: 6px;
  }
  .game-overlay {
    padding: 20px;
    max-height: 90dvh;
    overflow: auto;
  }
  .game-overlay h2 {
    font-size: 35px;
  }
}
@media (max-width: 600px) {
  #header {
    height: auto;
    min-height: 94px;
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 10px 15px;
  }
  .header-tools {
    margin-left: auto;
  }
  .header-tools .icon[data-command="fullscreen"] {
    display: none;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  nav button {
    flex: 1;
  }
  .home {
    min-height: calc(100dvh - 94px);
    padding: 30px 20px;
  }
  .home:before {
    background-position: 64% top;
  }
  .home:after {
    background: linear-gradient(0deg, #131819 5%, #131819c7 50%, transparent);
  }
  .home h1 {
    font-size: 58px;
  }
  .home p {
    font-size: 16px;
  }
  .home-actions {
    gap: 8px;
  }
  .home-meta {
    gap: 12px;
    font-size: 12px;
  }
  .page {
    padding: 22px 16px;
  }
  .page-head {
    align-items: flex-start;
  }
  h1 {
    font-size: 36px;
  }
  .split,
  .collection-grid,
  .lobby-top {
    grid-template-columns: 1fr;
  }
  .stage-preview {
    aspect-ratio: 16/8;
  }
  .phase img {
    width: 74px;
    height: 74px;
  }
  .phase {
    grid-template-columns: 74px 1fr auto;
    min-height: 74px;
  }
  .phase strong {
    font-size: 16px;
  }
  .hero-card span {
    font-size: 13px;
  }
  .roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .character-detail {
    position: static;
  }
  .character-detail > img {
    height: 270px;
  }
  .lobby-bottom {
    justify-content: center;
  }
  .member {
    min-height: 115px;
    padding: 12px;
  }
  .member img {
    height: 85px;
    width: 80px;
  }
  .gacha {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  .gacha-art {
    grid-row: 1;
    max-height: 250px;
    justify-content: center;
  }
  .gacha-art img {
    height: 230px;
    width: 40%;
  }
  .gacha h1 {
    font-size: 52px;
  }
  .gacha .rates {
    margin-top: 18px;
  }
  .controls-table {
    grid-template-columns: 1fr;
  }
  dialog {
    padding: 20px;
  }
  .summons {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head .row button {
    padding: 8px 10px;
  }
}
@media (orientation: portrait) and (pointer: coarse) {
  body.playing #rotate {
    display: grid;
  }
}
@media (max-height: 450px) and (orientation: landscape) {
  #hud {
    top: 9px;
    left: 12px;
    gap: 14px;
  }
  .player-hud {
    width: 158px;
  }
  .player-hud img {
    width: 35px;
    height: 40px;
  }
  .player-hud strong {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .player-hud small {
    font-size: 9px;
  }
  .hp {
    height: 7px;
  }
  .energy {
    height: 4px;
  }
  .wave-hud {
    font-size: 10px;
  }
  .touch-actions {
    bottom: 13px;
    right: 15px;
    grid-template-columns: repeat(4, 44px);
    grid-template-rows: 44px 44px;
    gap: 5px;
  }
  #stick {
    bottom: 15px;
    left: 23px;
    width: 103px;
    height: 103px;
  }
  #stick-knob {
    width: 45px;
    height: 45px;
    left: 27px;
    top: 27px;
  }
  .game-tools {
    right: 9px;
    top: 8px;
  }
  .game-tools .icon {
    width: 28px;
    height: 28px;
  }
  #hud {
    right: 138px;
  }
  .game-overlay h2 {
    font-size: 30px;
  }
  .game-overlay {
    padding: 15px;
  }
  .game-overlay p {
    margin: 8px 0;
  }
  .game-overlay .metrics {
    margin: 10px 0;
  }
  .stars {
    margin: 7px;
  }
}
.xp-panel { margin: 12px 0; font-size: 13px; }
.xp-panel small { display: block; color: #aebebb; line-height: 1.5; }
.xp-panel progress { width: 100%; height: 7px; display: block; margin: 7px 0; accent-color: #74d2a6; }
.skin-select { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; font-size: 13px; }
.skin-select select { min-width: 0; max-width: 100%; }
