/* Modernist start screen overlay. All rules are scoped to #modern-menu. */
#modern-menu,
#modern-menu * {
  box-sizing: border-box;
}

#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  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;
}

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

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

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

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

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

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

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

#modern-menu .mm-num {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #e4002b;
  letter-spacing: 0.04em;
}

#modern-menu .mm-section-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

#modern-menu .mm-swatches {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

#modern-menu .mm-swatch {
  width: 16px;
  height: 16px;
  border: 2px solid #111;
}

#modern-menu .mm-swatch--red { background: #e4002b; }
#modern-menu .mm-swatch--green { background: #00a651; }
#modern-menu .mm-swatch--yellow { background: #ffc800; }
#modern-menu .mm-swatch--blue { background: #0057b8; }

#modern-menu .mm-play {
  appearance: none;
  -webkit-appearance: none;
  margin-top: auto;
  padding-top: 40px;
}

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

#modern-menu .mm-play-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #111;
}

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

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

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

@media (max-width: 360px) {
  #modern-menu .mm-column {
    padding: 36px 16px 24px;
  }
}
