/* Modern start screen overlay. Every selector is scoped to #modern-menu or uses the mm- prefix. */

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

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

#modern-menu.mm-hidden {
    display: none;
}

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

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

.mm-tag {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.35;
    color: #77746c;
}

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

.mm-sec {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 2px solid #111;
}

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

.mm-sec-h {
    margin: 2px 0 6px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

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

.mm-play svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

.mm-play:hover,
.mm-play:focus-visible {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 #e4002b;
}

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

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

.mm-play:disabled {
    cursor: progress;
    background: #77746c;
    border-color: #77746c;
    transform: none;
    box-shadow: none;
}

@media (max-width: 360px) {
    .mm-col {
        padding-top: 32px;
    }
    .mm-sec {
        grid-template-columns: 44px 1fr;
    }
}
