/* Modernist 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: flex;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    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 !important;
}

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

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

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

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

#modern-menu .mm-rule {
    margin: 24px 0 0;
    height: 0;
    border: 0;
    border-top: 2px solid #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-num {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0057b8;
    padding-top: 3px;
}

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

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

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 28px 0 0;
    padding: 18px 20px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

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