/* Modern start screen overlay. Everything is scoped to #modern-menu (mm- classes). */

#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f2f0ea;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

#modern-menu.mm-hidden {
  display: none;
}

#modern-menu *,
#modern-menu *::before,
#modern-menu *::after {
  box-sizing: border-box;
}

#modern-menu .mm-col {
  width: 100%;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#modern-menu .mm-title {
  margin: 0;
  font-size: clamp(52px, 13vw, 80px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #111;
}

#modern-menu .mm-tagline {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: #77746c;
}

#modern-menu .mm-rule {
  height: 2px;
  margin: 28px 0 0;
  border: 0;
  background: #111;
}

#modern-menu .mm-sections {
  list-style: none;
  margin: 0;
  padding: 0;
}

#modern-menu .mm-section {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 2px solid #111;
}

#modern-menu .mm-section:last-child {
  border-bottom: 0;
}

#modern-menu .mm-num {
  flex: 0 0 auto;
  min-width: 2.2ch;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

#modern-menu .mm-num.mm-red { color: #e4002b; }
#modern-menu .mm-num.mm-blue { color: #0057b8; }

#modern-menu .mm-h {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#modern-menu .mm-text {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #77746c;
}

#modern-menu .mm-error {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: #e4002b;
}

#modern-menu .mm-error[hidden] {
  display: none;
}

#modern-menu .mm-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  margin: 32px 0 0;
  padding: 0 24px;
  border: 2px solid #111;
  border-radius: 0;
  background: #111;
  color: #f2f0ea;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.12s ease;
}

#modern-menu .mm-play svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

#modern-menu .mm-play:hover {
  box-shadow: 6px 6px 0 #e4002b;
}

#modern-menu .mm-play:focus-visible {
  outline: 3px solid #0057b8;
  outline-offset: 4px;
}

#modern-menu .mm-play:disabled {
  cursor: default;
  opacity: 0.6;
  box-shadow: none;
}
