/* Metro Moth rank 20 — night station clarity pass; retains its station/moth identity. */
:root {
  --mm-paper:#f1ead2;
  --mm-cyan:#a0eeff;
  --mm-gold:#ffe4a0;
}
#game-root {
  background:
    radial-gradient(ellipse at 50% 18%,rgba(47,101,132,.24),transparent 58%),
    linear-gradient(180deg,#071526,#030811 72%);
}
#game-canvas {
  border:1px solid rgba(123,229,249,.45);
  border-radius:14px;
  box-shadow:0 0 0 5px rgba(61,210,246,.045),0 16px 60px rgba(0,0,0,.6),0 0 35px rgba(53,209,251,.15);
}
#screen-title {
  background:linear-gradient(180deg,#081526 0 18%,#111d30 18% 72%,#050b16 72%);
}
#screen-title::after {border-radius:5px;font-size:clamp(9px,1.8vw,12px)}
#screen-title .game-title {
  color:#fff0bc!important;
  font-size:clamp(31px,7.5vw,75px)!important;
  text-shadow:0 0 30px rgba(255,224,111,.26)!important;
}
#screen-title .title-moth {
  filter:drop-shadow(0 0 20px rgba(255,216,88,.8));
}
#screen-title .btn-pixel {
  border-radius:11px!important;
  border:1px solid rgba(151,222,251,.35)!important;
  box-shadow:inset 4px 0 0 rgba(155,237,255,.8),0 5px 16px rgba(0,0,0,.28)!important;
}
#screen-title .btn-primary {
  color:#1c2739!important;
  border:1px solid #ffe5a8!important;
  box-shadow:inset 5px 0 0 #b6f5ff,0 8px 24px rgba(255,206,71,.18)!important;
  background:linear-gradient(130deg,#fff2c4,#f4ce83)!important;
}
#screen-title .subtitle {color:#c6e1f1!important}
#screen-howto .panel-card, #screen-pause .panel-card, #screen-result .panel-card {
  border-radius:20px!important; box-shadow:0 22px 60px rgba(0,0,0,.55)!important;
}
#screen-howto .panel-card,#screen-result .panel-card {
  background:linear-gradient(160deg,#f8f0dc,#ded9c7)!important;
  border:1px solid #a9b7bd!important;
}
#screen-pause .panel-card {
  background:linear-gradient(155deg,#172839,#091621)!important;
  border:1px solid rgba(166,228,247,.58)!important;
}
#screen-result .results-score-val {color:#916111!important;font-size:clamp(20px,5vw,30px)}
.hud-chip,.glow-wrap,.pu-chip,.icon-btn {
  border-radius:10px!important;
}
.hud-chip {
  background:rgba(4,18,35,.92)!important;
  border:1px solid rgba(135,220,248,.36)!important;
  font-size:clamp(11px,2.4vw,15px);
}
.icon-btn {
  min-width:44px;min-height:44px;
  background:rgba(5,19,35,.92)!important;
  border:1px solid rgba(166,231,251,.47)!important;
}
.glow-wrap {
  padding:8px 12px;
  background:rgba(5,17,32,.9)!important;
}
.glow-track {height:12px; border-radius:12px}
.pu-chip {
  background:rgba(5,22,40,.94)!important;
  color:#d1f3ff; font:800 11px Nunito,sans-serif!important;
}
.lane-btn {
  color:rgba(166,244,255,.5)!important;
  font-size:clamp(22px,6vw,34px)!important;
  text-shadow:0 0 14px rgba(100,222,255,.4);
}
button:focus-visible,a:focus-visible {outline:3px solid #ffe39d!important;outline-offset:3px!important}
@media(max-width:680px) {
 #screen-title{padding-top:max(58px,calc(env(safe-area-inset-top) + 52px));}
 #screen-title .title-card {gap:12px!important;min-height:0;}
 #screen-title .game-title {font-size:clamp(29px,9.2vw,48px)!important;line-height:1.1!important;}
 #screen-title .menu-buttons {margin-top:14px;}
 #screen-title .btn-pixel {padding:11px!important;min-height:49px!important;}
 #screen-title .title-footer {margin-top:8px;}
}
@media(max-height:520px) and (orientation:landscape) {
 #screen-title .title-card {min-height:0;}
 #screen-title .game-title {font-size:clamp(23px,5vw,41px)!important;}
 #screen-title .btn-pixel {min-height:44px!important;}
}
@media(prefers-reduced-motion: reduce) {
 .title-moth,.lane-btn,.screen {animation:none!important;transition:none!important;}
}
