/* =========================================================
   TOSSSPACE ROOM MVP
========================================================= */

.room-shell {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 52px 0 80px;
}

.room-create-hero {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.room-create-hero h1 {
    margin: 12px 0 12px;
    color: #223152;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.room-create-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #6f7788;
    font-size: 16px;
    line-height: 1.65;
}

.room-create-card,
.room-live-card {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(34, 49, 82, 0.12);
}

.room-live-card {
    width: min(940px, 100%);
}

.room-mvp-badge {
    padding: 7px 10px;
    border-radius: 999px;
    color: #223152;
    background: #f8d176;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.room-field-wide {
    margin-top: 22px;
}

.room-field-wide input,
.room-uploader-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #e7dfc8;
    border-radius: 12px;
    color: #223152;
    background: #fff;
    font: inherit;
}

.room-field-wide input:focus,
.room-uploader-field input:focus {
    outline: none;
    border-color: #223152;
    box-shadow: 0 0 0 4px rgba(34, 49, 82, 0.08);
}

.room-create-options {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: end;
    margin-top: 17px;
}

.room-policy-note {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 11px 13px;
    border-radius: 12px;
    color: #697386;
    background: #fbf7ec;
    font-size: 12px;
    line-height: 1.45;
}

.room-created-panel {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 18px;
    background: #fffdf6;
}

.room-created-panel h3 {
    margin: 0 0 3px;
    color: #223152;
}

.room-created-panel p {
    margin: 0;
    color: #6f7788;
    font-size: 13px;
}

.room-live-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.room-live-heading h1 {
    margin: 6px 0 5px;
    color: #223152;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -0.045em;
}

.room-live-heading p {
    margin: 0;
    color: #6f7788;
}

.room-meta-grid {
    margin-top: 22px;
}

.room-share-strip {
    margin-top: 18px;
    padding: 15px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 15px;
    background: #fff9e9;
}

.room-share-strip div {
    display: grid;
    gap: 3px;
}

.room-share-strip strong {
    color: #223152;
    font-size: 13px;
}

.room-share-strip span {
    color: #747b89;
    font-size: 11px;
}

.room-upload-box {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 20px;
    background: #fbf7ec;
}

.room-upload-top,
.room-files-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.room-upload-top h2,
.room-files-heading h2 {
    margin: 4px 0 0;
    color: #223152;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.room-uploader-field {
    margin-top: 16px;
}

.compact-room-drop {
    min-height: 145px;
    margin-top: 14px;
    background: #fff;
}

.compact-room-drop .drop-icon {
    font-size: 28px;
    font-weight: 400;
}

.room-files-section {
    margin-top: 28px;
}

.room-file-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
}

.room-download-button {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .room-shell {
        width: min(100% - 22px, 1120px);
        padding-top: 30px;
    }

    .room-create-card,
    .room-live-card {
        padding: 21px;
        border-radius: 22px;
    }

    .room-create-options {
        grid-template-columns: 1fr;
    }

    .room-live-heading,
    .room-upload-top,
    .room-files-heading,
    .room-share-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .room-share-strip .secondary-button {
        width: 100%;
    }

    .room-file-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .room-download-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* =========================================================
   ROOM OWNER MANAGEMENT
========================================================= */

.room-share-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.room-share-actions .danger-button {
    margin: 0;
}

@media (max-width: 720px) {
    .room-share-actions {
        width: 100%;
        justify-content: stretch;
    }

    .room-share-actions .secondary-button,
    .room-share-actions .danger-button {
        flex: 1 1 150px;
    }
}


.room-share-actions .secondary-button,
.room-share-actions .danger-button {
    min-width: 118px;
}
