/* Lobby typography and navigation. Match presentation remains independent. */
body:not(.playing) {
  background: #101112;
  background-image: none;
  color: #f1f0e9;
}
body:not(.playing) header {
  border-bottom: 1px solid #ffffff1c;
  max-width: 1200px;
  margin: auto;
}
body:not(.playing) .logo {
  letter-spacing: -0.04em;
  color: #f1f0e9;
}
body:not(.playing) #lobby {
  max-width: 1200px;
}
#lobby {
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}
#lobby .hero {
  height: 480px;
  padding: 0;
  min-height: 0;
}
#lobby .title-lockup {
  left: 0;
  top: 50px;
}
#lobby .hero-art {
  inset: 130px -40px 0 -50px;
  min-height: 0;
}
body:not(.playing) button {
  font-family: 'Noto Sans JP', sans-serif;
  border-radius: 2px;
}
body:not(.playing) button:focus-visible {
  outline: 2px solid #e6ff66;
  outline-offset: 5px;
}
body:not(.playing) .hero {
  min-height: 260px;
  padding: 36px 0 28px;
  border-bottom: 0;
  gap: 12px;
}
body:not(.playing) .title-lockup h1 {
  font:
    900 clamp(100px, 16vw, 210px) / 0.8 'Russo One',
    Impact,
    sans-serif;
  letter-spacing: -0.035em;
  color: #f1f0e9;
  text-shadow: none;
  font-style: normal;
  margin: 16px 0 0;
}
body:not(.playing) .title-lockup p {
  font:
    600 12px/1.4 'Noto Sans JP',
    sans-serif;
  letter-spacing: 0.22em;
  color: #a7a7a0;
}
body:not(.playing) .hero-art {
  min-height: 220px;
  background: none;
}
.mode-select {
  padding: 20px 0 40px;
}
.mode-select .section-title {
  margin-bottom: 16px;
}
.mode-select .section-title h2 {
  font-size: 13px;
  font-weight: 500;
  color: #b5b6af;
}
.mode-select .section-title > span {
  font:
    600 12px 'Russo One',
    sans-serif;
  letter-spacing: 0.16em;
  color: #737870;
}
.mode-cards {
  display: block;
  border-top: 1px solid #7e8278;
}
.mode-cards button {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 23px 6px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #ffffff29;
  background: transparent;
  color: #f1f0e9;
  box-shadow: none;
  transform: none;
  transition:
    background 0.16s,
    color 0.16s;
}
.mode-cards button:hover {
  background: #e3f0c208;
  transform: none;
}
.mode-cards button small {
  font:
    600 13px/1.4 'Russo One',
    sans-serif;
  letter-spacing: 0.12em;
  color: #a6aa9d;
}
.mode-cards button span {
  display: block;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mode-cards button em {
  display: block;
  margin-top: 8px;
  font:
    700 clamp(26px, 4vw, 44px) / 1 'Russo One',
    sans-serif;
  color: #62685c;
  font-style: normal;
  letter-spacing: 0.025em;
}
.mode-cards button b {
  font: 400 30px/1 sans-serif;
  text-align: right;
  color: #dbe9b1;
}
.mode-cards #arcade-mode {
  color: #e6ff66;
}
.mode-cards #arcade-mode em {
  color: #c4df54;
}
.menu-note {
  font-size: 11px;
  color: #81867b;
  margin: 18px 0 0;
  line-height: 1.8;
}
body:not(.playing) .section-title h2 {
  font-weight: 700;
  letter-spacing: 0.015em;
}
body:not(.playing) .mallet {
  background: #191c1c;
  border: 1px solid #ffffff16;
  box-shadow: none;
  transform: none;
  padding: 12px;
}
body:not(.playing) .mallet:hover {
  background: #242827;
  transform: none;
}
body:not(.playing) .mallet.selected {
  border-color: #d4ef77;
  background: #252c20;
  box-shadow: inset 0 -3px #d4ef77;
}
body:not(.playing) .mallet strong {
  letter-spacing: 0.035em;
  font-size: 24px;
}
body:not(.playing) .mallet small {
  font-size: 10px;
  line-height: 1.7;
  color: #b2b5aa;
}
body:not(.playing) .stage {
  background: #191c1c;
  border: 1px solid #ffffff1c;
  box-shadow: none;
}
body:not(.playing) .stage.selected {
  border-color: #d4ef77;
}
body:not(.playing) .stage small {
  font-size: 11px;
  line-height: 1.8;
  color: #b2b5aa;
}
body:not(.playing) .stage strong {
  font-size: 20px;
  letter-spacing: 0.03em;
}
body:not(.playing) .stage-art {
  box-shadow: none;
  border: 0;
}
body:not(.playing) .play-panel {
  background: transparent;
  border: 0;
  border-left: 1px solid #ffffff24;
  padding: 0 0 0 25px;
  align-self: start;
}
body:not(.playing) .primary {
  background: #e0edb3;
  color: #182015;
  font-size: 14px;
  min-height: 54px;
  box-shadow: none;
}
body:not(.playing) .primary:hover {
  background: #efffc9;
}
body:not(.playing) .secondary {
  border-color: #ffffff36;
  font-size: 12px;
  min-height: 44px;
  color: #c5c8bd;
}
body:not(.playing) .rule-options {
  gap: 0;
  border-bottom: 1px solid #ffffff28;
}
body:not(.playing) .rule-options button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  box-shadow: none;
  border-radius: 0;
  color: #92998a;
  padding: 18px;
}
body:not(.playing) .rule-options button[aria-pressed='true'] {
  background: transparent;
  border-bottom-color: #d4ef77;
  color: #e6eddf;
}
body:not(.playing) .rule-symbol {
  display: none;
}
body:not(.playing) .rule-options small {
  font-size: 11px;
  color: #a3aa99;
}
body:not(.playing) .rule-adjust {
  border-color: #ffffff24;
}
body:not(.playing) .rule-adjust label {
  font-size: 13px;
  color: #dbdfd3;
}
body:not(.playing) .rule-adjust input {
  background: transparent;
  font:
    700 42px 'Russo One',
    sans-serif;
  color: #e7efd8;
  border-bottom: 1px solid #a8b096;
  width: 110px;
  padding: 4px 0;
}
body:not(.playing) .rule-presets button {
  border: 0;
  background: #222720;
  color: #bbc6aa;
  min-height: 38px;
  font-size: 12px;
}
body:not(.playing) .rule-points {
  font-size: 11px;
  line-height: 1.9;
  color: #a4ac98;
}
#arcade-intro {
  grid-column: 1/-1;
  border-bottom: 1px solid #ffffff29;
  padding-bottom: 24px;
}
#arcade-intro > p {
  font:
    600 12px 'Russo One',
    sans-serif;
  letter-spacing: 0.2em;
  color: #d4ef77;
  margin: 0 0 10px;
}
#arcade-intro h2 {
  font-size: clamp(24px, 4vw, 38px);
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
#arcade-intro > span {
  font-size: 12px;
  line-height: 1.9;
  color: #aeb5a2;
}
#arcade-route {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  gap: 20px;
}
#arcade-route li {
  flex: 1;
  display: flex;
  gap: 10px;
  border-top: 1px solid #ffffff29;
  padding-top: 12px;
}
#arcade-route b {
  font:
    600 18px 'Russo One',
    sans-serif;
  color: #d4ef77;
}
#arcade-route span {
  font:
    700 18px 'Russo One',
    sans-serif;
  color: #e0e6d6;
}
#arcade-route small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #888f7d;
  margin-top: 5px;
}
.arcade-setup #stages,
.arcade-setup #rules-panel,
.arcade-setup #cpu-mallets,
.arcade-setup .cpu-difficulty,
.arcade-setup .stage-title {
  display: none;
}
#lobby footer a {
  color: #858d79;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.05em;
}
#lobby footer a:hover {
  color: #e0edb3;
  text-decoration: underline;
}
@media (max-width: 700px) {
  body:not(.playing) .hero {
    min-height: 160px;
    padding-top: 20px;
    grid-template-columns: 1fr 1fr;
  }
  body:not(.playing) .hero-art {
    min-height: 150px;
  }
  body:not(.playing) .title-lockup h1 {
    font-size: 100px;
  }
  .mode-cards button {
    grid-template-columns: 60px 1fr 24px;
    padding: 22px 0;
    gap: 12px;
  }
  .mode-cards button span {
    font-size: 17px;
    display: block;
  }
  .mode-cards button em {
    display: block;
    margin-top: 7px;
    font-size: 29px;
  }
  .mode-cards button small {
    font-size: 11px;
  }
  .mode-cards button b {
    font-size: 24px;
  }
  body:not(.playing) .play-panel {
    border-left: 0;
    border-top: 1px solid #ffffff24;
    padding: 20px 0 0;
  }
  #arcade-route {
    gap: 8px;
    flex-wrap: wrap;
  }
  #arcade-route li {
    min-width: 27%;
    gap: 6px;
  }
  #arcade-route span {
    font-size: 17px;
  }
  body:not(.playing) .mallets {
    grid-template-columns: repeat(3, 1fr);
  }
  body:not(.playing) .mallet {
    padding: 8px;
  }
  body:not(.playing) .mallet strong {
    font-size: 20px;
  }
  body:not(.playing) .mallet small {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mode-cards button {
    transition: none;
  }
}
@media (max-width: 700px) {
  #lobby {
    display: block;
  }
  #lobby .hero {
    height: 245px;
    padding: 0;
    min-height: 0;
  }
  #lobby .title-lockup {
    top: 22px;
    left: 0;
  }
  #lobby .hero-art {
    inset: 40px -50px -20px 80px;
    min-height: 0;
  }
  body:not(.playing) .title-lockup h1 {
    font-size: 105px;
  }
  body:not(.playing) .play-panel {
    background: #101112f5;
  }
  #mode-select {
    padding-top: 8px;
  }
}
