/* Modernist start screen overlay. Everything is scoped to #modern-menu (mm- prefix). */

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

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

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

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

.mm-title {
    margin: 40px 0 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(52px, 14vw, 80px);
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: #111;
    word-break: normal;
    overflow-wrap: break-word;
}

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

.mm-rule {
    margin: 28px 0 0;
    height: 0;
    border: 0;
    border-top: 2px solid #111;
}

.mm-sections {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.mm-num {
    flex: 0 0 auto;
    min-width: 52px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.mm-num--red { color: #e4002b; }
.mm-num--green { color: #00a651; }
.mm-num--yellow { color: #ffc800; }
.mm-num--blue { color: #0057b8; }

.mm-section-body {
    min-width: 0;
}

.mm-section-head {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
}

.mm-section-text {
    margin: 6px 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: #77746c;
}

.mm-play-wrap {
    margin-top: auto;
    padding-top: 32px;
    padding-bottom: 8px;
}

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

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

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

.mm-play-arrow {
    width: 28px;
    height: 20px;
    flex: 0 0 auto;
}

@media (max-width: 360px) {
    .mm-col {
        padding: 20px 16px;
    }
    .mm-title {
        font-size: 52px;
    }
}
