/* Route-owned layout corrections for the post-PR37 release blockers.
 * Semantic button material remains in the canonical button context files. */

html body.v00100-ui:is(.page-start, .page-phone-verification):not(.is-admin-area):not(.is-staff-area) .v103-public-header .native-cta[data-registration-cta][data-button-geometry="preserve"] {
    border-radius: 999px;
}

@media (max-width: 860px) {
    html body:is(.page-start, .page-phone-verification) .v103-public-menu:not([open]) > nav {
        display: none;
    }
}

html body.page-phone-verification .r7-phone-page {
    width: min(700px, calc(100% - 32px));
    margin: 20px auto 48px;
}

html body.page-phone-verification .r7-phone-page > .koirea-page-header {
    margin-bottom: 12px;
}

html body.page-phone-verification .koirea-page-header--phone .koirea-page-header__title {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

html body.page-phone-verification .koirea-page-header--phone .koirea-page-header__description {
    margin-top: 4px;
    line-height: 1.55;
}

html body.page-phone-verification .r7-phone-card {
    border-color: #efd9df;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 42px rgba(67, 34, 45, .08);
}

html body.page-phone-verification .r7-phone-card > h2 {
    margin: 0 0 5px;
    color: #172338;
    font-size: 1.25rem;
}

html body.page-phone-verification .r7-phone-card__lead {
    margin: 0;
    color: #5d687a;
    line-height: 1.6;
}

html body.page-phone-verification .r7-phone-form {
    gap: 12px;
    margin-top: 14px;
}

html body.page-phone-verification .r7-phone-form label {
    margin: 0;
}

html body.page-phone-verification .r7-phone-form input {
    border-color: #dfcdd2;
    border-radius: 12px;
    background: #fffdfd;
}

html body.page-phone-verification .r7-phone-privacy--compact {
    margin: 14px 0 0;
    border: 1px solid #f1dfe4;
    border-radius: 16px;
    padding: 13px 15px;
    background: linear-gradient(135deg, #fff9fb 0%, #fffdfd 100%);
}

html body.page-phone-verification .r7-phone-privacy--compact h2 {
    margin: 0 0 7px;
    color: #27364d;
    font-size: .92rem;
}

html body.page-phone-verification .r7-phone-privacy--compact ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.page-phone-verification .r7-phone-privacy--compact li {
    position: relative;
    padding-left: 15px;
    color: #4f5d70;
    font-size: .78rem;
    line-height: 1.45;
}

html body.page-phone-verification .r7-phone-privacy--compact li::before {
    position: absolute;
    top: .18em;
    left: 0;
    color: #f43f72;
    content: "✓";
    font-weight: 900;
}

html body.page-phone-verification .r7-phone-privacy--compact p {
    margin: 8px 0 0;
    color: #687386;
    font-size: .75rem;
    line-height: 1.45;
}

html body.page-phone-verification .r7-phone-card .r7-phone-privacy--compact {
    margin-top: 18px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid #eadfe2;
    border-radius: 0;
    background: transparent;
}

html body.page-phone-verification [data-r7-phone-identity-status]:empty {
    display: none;
}

@media (max-width: 600px) {
    html body.page-phone-verification .r7-phone-page {
        width: calc(100% - 24px);
        margin: 10px auto 76px;
    }

    html body.page-phone-verification .r7-phone-page > .koirea-page-header {
        margin-bottom: 8px;
        padding: 0 4px;
    }

    html body.page-phone-verification .koirea-page-header--phone .koirea-page-header__eyebrow {
        margin-bottom: 2px;
        font-size: .7rem;
    }

    html body.page-phone-verification .koirea-page-header--phone .koirea-page-header__title {
        margin: 0;
        font-size: 1.35rem;
    }

    html body.page-phone-verification .koirea-page-header--phone .koirea-page-header__description {
        display: block;
        margin: 4px 0 0;
        font-size: .78rem;
        line-height: 1.5;
    }

    html body.page-phone-verification .r7-phone-card {
        border-radius: 18px;
        padding: 16px;
    }

    html body.page-phone-verification .r7-phone-card > h2 {
        font-size: 1.08rem;
    }

    html body.page-phone-verification .r7-phone-card__lead {
        font-size: .8rem;
        line-height: 1.45;
    }

    html body.page-phone-verification .r7-phone-form {
        gap: 9px;
        margin-top: 11px;
    }

    html body.page-phone-verification .r7-phone-form label {
        gap: 4px;
        font-size: .82rem;
    }

    html body.page-phone-verification .r7-phone-form input {
        min-height: 44px;
    }

    html body.page-phone-verification .r7-phone-form > [data-registration-cta] {
        min-height: 50px;
    }

    html body.page-phone-verification .r7-phone-privacy--compact {
        margin-top: 11px;
        padding: 11px 12px;
    }

    html body.page-phone-verification .r7-phone-card .r7-phone-privacy--compact {
        margin-top: 15px;
        padding: 13px 0 0;
    }

    html body.page-phone-verification .r7-phone-privacy--compact ul {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    html body.page-phone-verification .r7-phone-privacy--compact li,
    html body.page-phone-verification .r7-phone-privacy--compact p {
        font-size: .7rem;
    }

}

@media (max-width: 370px) and (max-height: 680px) {
    html body.page-phone-verification .r7-phone-page {
        margin-top: 7px;
    }

    html body.page-phone-verification .r7-phone-privacy--compact h2 {
        font-size: .8rem;
    }

    html body.page-phone-verification .r7-phone-privacy--compact li,
    html body.page-phone-verification .r7-phone-privacy--compact p {
        line-height: 1.3;
    }
}
