/* Modernist start screen overlay. All rules scoped to #modern-menu. */
#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;
    touch-action: pan-y;
}

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

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

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

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

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

#modern-menu .mm-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

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

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

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

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

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

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

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

#modern-menu .mm-play:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

#modern-menu .mm-foot {
    margin: auto 0 0;
    padding-top: 8px;
    font-size: 13px;
    color: #77746c;
}

@media (max-width: 360px) {
    #modern-menu .mm-section {
        grid-template-columns: 44px 1fr;
    }
    #modern-menu .mm-num {
        font-size: 24px;
    }
}
