/* Modern start screen overlay. All selectors are scoped under #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;
}

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

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

#modern-menu .mm-kicker {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #77746c;
}

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

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

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

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

#modern-menu .mm-num {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #e4002b;
    font-variant-numeric: tabular-nums;
}

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

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

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

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

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

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

#modern-menu .mm-play:disabled {
    background: #77746c;
    border-color: #77746c;
    cursor: default;
}

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

#modern-menu .mm-status {
    min-height: 1.4em;
    margin: 12px 0 0;
    font-size: 13px;
    color: #77746c;
    text-align: center;
}

@media (max-width: 360px) {
    #modern-menu .mm-section {
        flex-direction: column;
        gap: 8px;
    }
}
