/* Modernist start screen overlay (mm-). Flat, no gradients. */
#modern-menu {
  --mm-paper: #f2f0ea;
  --mm-ink: #111;
  --mm-muted: #77746c;
  --mm-red: #e4002b;
  --mm-green: #00a651;
  --mm-yellow: #ffc800;
  --mm-blue: #0057b8;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--mm-paper);
  color: var(--mm-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  touch-action: pan-y;
}

#modern-menu[hidden] {
  display: none !important;
}

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

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

#modern-menu .mm-title {
  margin: 0;
  font-size: clamp(52px, 16vw, 80px);
  line-height: 0.92;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  word-break: break-word;
}

#modern-menu .mm-tagline {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--mm-muted);
}

#modern-menu .mm-rule {
  display: block;
  width: 100%;
  height: 0;
  margin: 28px 0 8px;
  border: 0;
  border-top: 2px solid var(--mm-ink);
}

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

#modern-menu .mm-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 2px solid var(--mm-ink);
}

#modern-menu .mm-num {
  flex: 0 0 auto;
  min-width: 44px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding-top: 3px;
  letter-spacing: 0.04em;
}

#modern-menu .mm-section:nth-child(1) .mm-num { color: var(--mm-red); }
#modern-menu .mm-section:nth-child(2) .mm-num { color: var(--mm-green); }

#modern-menu .mm-section h2 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#modern-menu .mm-section p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--mm-muted);
}

#modern-menu .mm-play {
  appearance: none;
  -webkit-appearance: none;
  margin-top: auto;
  width: 100%;
  margin-top: 32px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border: 2px solid var(--mm-ink);
  border-radius: 0;
  background: var(--mm-ink);
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

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

#modern-menu .mm-play:hover,
#modern-menu .mm-play:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--mm-ink);
  outline: none;
}

#modern-menu .mm-play:active {
  transform: translate(0, 0);
  box-shadow: none;
}

#modern-menu .mm-play:focus-visible {
  outline: 3px solid var(--mm-yellow);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  #modern-menu .mm-col { padding: 36px 16px 32px; }
  #modern-menu .mm-section p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #modern-menu .mm-play { transition: none; }
}
