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

#modern-menu {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    box-sizing: border-box;
    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;
}

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

#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-title {
    margin: 0 0 16px;
    font-size: clamp(52px, 14vw, 80px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

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

#modern-menu .mm-rule {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 2px solid #111;
}

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

#modern-menu .mm-num {
    flex: 0 0 auto;
    min-width: 40px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    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: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

#modern-menu .mm-play {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    margin: 32px 0 0;
    padding: 16px 20px;
    border: 2px solid #111;
    border-radius: 0;
    background: #111;
    color: #f2f0ea;
    font-family: inherit;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: transform 80ms linear, box-shadow 80ms linear;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

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