/* Modern start screen overlay. Everything is scoped to #modern-menu. */

#modern-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f2f0ea;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#modern-menu.mm-open {
  display: block;
}

#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: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

#modern-menu .mm-accents {
  display: flex;
  gap: 6px;
  margin: 0 0 28px;
}

#modern-menu .mm-accents span {
  display: block;
  width: 14px;
  height: 14px;
}

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

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

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

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

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

#modern-menu .mm-num {
  flex: 0 0 auto;
  min-width: 30px;
  padding-top: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e4002b;
}

#modern-menu .mm-section:nth-of-type(2n) .mm-num {
  color: #0057b8;
}

#modern-menu .mm-section-body {
  min-width: 0;
}

#modern-menu .mm-section h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
}

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

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

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

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

#modern-menu .mm-play:focus {
  outline: none;
}

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

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

@media (max-width: 359px) {
  #modern-menu .mm-col {
    padding-left: 16px;
    padding-right: 16px;
  }
}
