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

#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;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

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

#modern-menu .mm-col {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 24px;
}

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

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

#modern-menu .mm-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin: 24px 0 0;
  border: 0;
  background: #111;
}

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

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

#modern-menu .mm-sec:first-child {
  border-top: 2px solid #111;
}

#modern-menu .mm-num {
  flex: 0 0 36px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

#modern-menu .mm-sec:nth-child(4n+1) .mm-num { color: #e4002b; }
#modern-menu .mm-sec:nth-child(4n+2) .mm-num { color: #00a651; }
#modern-menu .mm-sec:nth-child(4n+3) .mm-num { color: #ffc800; }
#modern-menu .mm-sec:nth-child(4n+4) .mm-num { color: #0057b8; }

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

#modern-menu .mm-body p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: #111;
}

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

#modern-menu .mm-play .mm-arrow {
  font-size: 22px;
  line-height: 1;
}

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

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

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

#modern-menu .mm-play:disabled {
  opacity: 0.6;
  cursor: progress;
}

@media (max-width: 360px) {
  #modern-menu .mm-col {
    padding: 24px 16px;
  }
  #modern-menu .mm-tag {
    font-size: 16px;
  }
}
