/* Modernist start screen overlay. All selectors live under #modern-menu. */
#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;
  inset: 0;
  z-index: 2147483000;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--mm-paper);
  color: var(--mm-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
#modern-menu.mm-off { display: none; }
#modern-menu *, #modern-menu *::before, #modern-menu *::after { box-sizing: border-box; }
#modern-menu .mm-col {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
#modern-menu .mm-strip {
  display: flex;
  height: 12px;
  margin: 8px 0 40px;
}
#modern-menu .mm-strip span { flex: 1; display: block; }
#modern-menu .mm-strip span:nth-child(1) { background: var(--mm-red); }
#modern-menu .mm-strip span:nth-child(2) { background: var(--mm-green); }
#modern-menu .mm-strip span:nth-child(3) { background: var(--mm-yellow); }
#modern-menu .mm-strip span:nth-child(4) { background: var(--mm-blue); }
#modern-menu .mm-title {
  margin: 0;
  font-size: clamp(52px, 15vw, 80px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
#modern-menu .mm-tag {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.35;
  color: var(--mm-muted);
}
#modern-menu .mm-rule {
  height: 2px;
  background: var(--mm-ink);
  border: 0;
  margin: 28px 0 0;
}
#modern-menu .mm-sections {
  list-style: none;
  margin: 0;
  padding: 0;
}
#modern-menu .mm-sec {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 2px solid var(--mm-ink);
}
#modern-menu .mm-num {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-top: 3px;
  min-width: 28px;
}
#modern-menu .mm-sec h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
#modern-menu .mm-sec p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--mm-muted);
}
#modern-menu .mm-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: auto 0 0;
  padding: 0 20px;
  height: 72px;
  margin-top: 32px;
  background: var(--mm-ink);
  color: var(--mm-paper);
  border: 2px solid var(--mm-ink);
  border-radius: 0;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
#modern-menu .mm-play .mm-arrow { font-size: 26px; line-height: 1; }
#modern-menu .mm-play:hover,
#modern-menu .mm-play:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--mm-red);
  outline: none;
}
#modern-menu .mm-play:active { transform: translate(0, 0); box-shadow: none; }
#modern-menu .mm-play:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 380px) {
  #modern-menu .mm-col { padding: 16px; }
  #modern-menu .mm-sec h2 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #modern-menu .mm-play { transition: none; }
}
