/* Modernist start screen overlay. Everything is scoped under #modern-menu. */

#modern-menu {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #f2f0ea;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

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

#modern-menu,
#modern-menu * {
  box-sizing: border-box;
}

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

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

#modern-menu .mm-tagline {
  margin: 16px 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: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 2px solid #111;
}

#modern-menu .mm-num {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

#modern-menu .mm-num--red { color: #e4002b; }
#modern-menu .mm-num--green { color: #00a651; }

#modern-menu .mm-head {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

#modern-menu .mm-text {
  margin: 6px 0 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: 72px;
  margin-top: 32px;
  padding: 0 20px;
  background: #111;
  color: #f2f0ea;
  border: 2px solid #111;
  border-radius: 0;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  -webkit-appearance: none;
  appearance: none;
}

#modern-menu .mm-play:hover {
  transform: translate(-4px, -4px);
  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: 4px;
}

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

@media (max-width: 360px) {
  #modern-menu .mm-play {
    font-size: 19px;
  }
}

@media (min-width: 600px) {
  #modern-menu .mm-col {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
