@media (max-width: 700px) {

    .site-frame {
        width: min(100% - 28px, 1100px);
        padding-top: 14px;
        padding-bottom: 36px;
    }

    .site-header {
        margin-bottom: 28px;
    }

    .card {
        border-radius: 20px;
        padding: 18px;
        margin-bottom: 16px;
    }

    .room-hero {
        gap: 12px;
        padding: 20px;
    }

    .room-hero h1 {
        margin-bottom: 10px;
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .metadata-row {
        gap: 8px;
    }

    .status-pill,
    .tag,
    .preview-chip {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 0.82rem;
    }

    .participant-note {
        font-size: 0.88rem;
    }

    /* Compact horizontal stepper */

    .progress-stepper,
    .progress-stepper.three-step-stepper {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        margin-bottom: 16px;
        padding-bottom: 3px;
        scroll-snap-type: x proximity;
    }

    .phase-card {
        flex: 0 0 auto;
        min-width: min(74vw, 260px);
        min-height: 46px;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 16px;
        scroll-snap-align: start;
        font-size: 0.9rem;
    }

    .phase-number {
        width: 30px;
        height: 30px;
        border-radius: 11px;
        font-size: 0.9rem;
    }

    /* Invite section */

    .share-card {
        padding: 16px 18px;
    }

    .share-card h2 {
        margin-bottom: 6px;
        font-size: 1.45rem;
    }

    .share-card .small:not(#copy-share-message) {
        margin-bottom: 12px;
    }

    .share-link-row input[type="text"] {
        display: none;
    }

    .share-link-row button {
        width: 100%;
        margin: 0;
    }

    .room-help-link {
        margin-top: 12px;
        text-align: center;
    }

    .room-hero .room-help-link {
        width: 100%;
        text-align: center;
    }

    .room-hero .room-help-link .link-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Main headings */

    .phase-panel h2,
    .add-list-card h2,
    .tour-current-list h2,
    .participants-card h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    /* Current phase text */

    .phase-panel > p:not(.eyebrow) {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    /* Smaller notices */

    .notice,
    .success,
    .error {
        border-radius: 16px;
        padding: 12px 14px;
        margin-bottom: 16px;
    }

    /* Add form */

    .add-list-card {
        padding: 20px;
    }

    .stacked-form {
        max-width: none;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        min-height: 44px;
        margin-bottom: 14px;
    }

    /* TMDb search button */

    #tmdb-search-toggle {
        width: 100%;
        min-height: 54px;
        margin: 8px 0 0;
        padding: 14px 16px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.86);
        color: var(--ink);
        box-shadow: none;
        font-size: 1rem;
        font-weight: 950;
        text-decoration: none;
    }

    #tmdb-search-toggle:hover,
    #tmdb-search-toggle:focus {
        background: rgba(255, 255, 255, 0.96);
        box-shadow: none;
        transform: none;
    }

    /* Collapsible sections */

    .mobile-room-disclosure {
        margin-bottom: 16px;
    }

    .mobile-room-disclosure > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 54px;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.86);
        color: var(--ink);
        cursor: pointer;
        font-size: 1rem;
        font-weight: 950;
        list-style: none;
    }

    .mobile-room-disclosure > summary::-webkit-details-marker {
        display: none;
    }

    .mobile-room-disclosure > summary::after {
        content: "+";
        color: var(--primary-dark);
        font-size: 1.4rem;
    }

    .mobile-room-disclosure[open] > summary::after {
        content: "−";
    }

    .mobile-room-disclosure > .card,
    .mobile-room-disclosure > .host-settings-card {
        margin-top: 10px;
        margin-bottom: 0;
    }

    /* Host settings */

    .host-settings-card {
        padding: 14px;
    }

    .host-settings-header .small {
        display: none;
    }

    .host-setting-row {
        padding: 10px 12px;
        margin: 8px 0;
    }

    .host-settings-footer {
        padding-top: 12px;
    }

    /* Footer */

    .site-footer {
        margin-top: 2rem;
        padding: 1rem 0 1.5rem;
        font-size: 0.8rem;
    }
}

.content-grid {
    grid-template-columns: minmax(0, 1fr);
}

.content-grid > div {
    width: 100%;
}

.mobile-room-disclosure .share-card {
    margin-top: 10px;
    margin-bottom: 10px;
}