/* Modernist start screen overlay. Everything is scoped under #modern-menu. */
#modern-menu {
  --mm-bg: #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-x: hidden;
  overflow-y: auto;
  background: var(--mm-bg);
  color: var(--mm-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
#modern-menu[hidden] { display: none !important; }
#modern-menu *, #modern-menu *::before, #modern-menu *::after { box-sizing: border-box; }

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

#modern-menu .mm-stripe {
  display: flex;
  height: 8px;
  margin-top: 8px;
}
#modern-menu .mm-stripe span { flex: 1; }
#modern-menu .mm-stripe span:nth-child(1) { background: var(--mm-red); }
#modern-menu .mm-stripe span:nth-child(2) { background: var(--mm-green); }
#modern-menu .mm-stripe span:nth-child(3) { background: var(--mm-yellow); }
#modern-menu .mm-stripe span:nth-child(4) { background: var(--mm-blue); }

#modern-menu .mm-title {
  margin: 40px 0 0;
  font-size: clamp(52px, 14vw, 72px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
#modern-menu .mm-tag {
  margin: 18px 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-sec {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 2px solid var(--mm-ink);
}
#modern-menu .mm-num {
  flex: 0 0 auto;
  width: 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-top: 4px;
  color: var(--mm-muted);
}
#modern-menu .mm-sec h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
#modern-menu .mm-sec p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

#modern-menu .mm-play {
  width: 100%;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  background: var(--mm-ink);
  color: #fff;
  border: 2px solid var(--mm-ink);
  border-radius: 0;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  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:not(:disabled) {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--mm-ink);
}
#modern-menu .mm-play:focus-visible {
  outline: 2px solid var(--mm-blue);
  outline-offset: 3px;
}
#modern-menu .mm-play:disabled {
  background: var(--mm-muted);
  border-color: var(--mm-muted);
  cursor: default;
}
