.room-info-img-area {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.room-info-img-area .room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-info-img-link-area {
    position: absolute;
    left: 2%;
    bottom: 2%;
    width: 20%;
    max-width: 140px;
    aspect-ratio: 1 / 1;
}

.room-info-img-link-area .icon-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.room-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.room-header-actions a {
    white-space: nowrap;
    font-size: 0.9rem;
}

.room-header-meta {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.room-info-main {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 30px;
}

.room-info-main-body {
    width: 100%;
    min-width: 0;
}

.room-info-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.room-info-user-link {
    flex: 0 0 auto;
    display: inline-flex;
    text-decoration: none;
}

.room-info-user-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* PC */
@media (min-width: 768px) {
    .room-info-user-icon {
        width: 44px;
        height: 44px;
    }
}

.room-info-display-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* PC */
@media (min-width: 768px) {
    .room-info-display-name {
        font-size: 1.2rem;
        line-height: 1.2;
    }
}

/* ルーム情報 */

.room-info-label {
    width: 200px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
}

.room-info-label-sub {
    white-space: nowrap;
    width: auto;
    padding-left: 0;
}

/* PC */
@media (min-width: 768px) {
    .room-info-label-sub {
        width: 200px;
        padding-left: 20px;
    }
}

.room-info-label3 {
    margin-top: 40px;
    width: 100%;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ルーム情報 テキスト */
.room-info-desc {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: normal;
    word-wrap: break-word;
}

.room-info-text {
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: normal;
    word-wrap: break-word;
}

.room-stat-count {
    font-size: 0.9rem;
}

.room-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.room-info-box {
    padding: 10px 0;
}

.room-info-datetime-reset {
    position: absolute;
    right: 0;
    top: 0;
}

/* PC */
@media (min-width: 768px) {
    .room-info-datetime-reset {
        position: relative;
        padding: 0;
        margin-left: 5px;
    }
}

.room-edit-img-area {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.nft-delete-btn {
    z-index: 2;
}

.room-edit-deleteIconImg {
    position: absolute;
    top: 2%;
    right: 2%;
    object-fit: cover;
}

.room-card-title-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
}

.room-card-actions {
    flex: 0 0 auto;
}

.room-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.room-card-title-clamp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 0 1 auto;
}

.room-visibility-lock {
    display: inline-block;
    margin-left: 3px;
    color: #777;
}

.room-status-bar {
    width: 100%;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 400;
    color: #444;
    text-align: center;
    line-height: 1.2;
}

.room-status-bar--inactive {
    background-color: #e3eef2;
}

.room-status-bar--upcoming {
    background-color: #fff1d6;
}

.room-status-bar--active {
    background-color: #dff3ea;
}

.room-status-bar--closed {
    background-color: #ececec;
}

.room-card-user-block {
    margin-bottom: 5px;
    max-width: 100%;
}

.room-card-desc-area {
    margin-bottom: 10px;
}

.room-card-dropdown-menu {
    font-size: 0.9rem;
}

.room-card-nft-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-bottom: 8px;
}

.room-card-nft-preview-list {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.room-card-nft-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
}

.room-card-nft-more-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #354052;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    flex: 0 0 auto;
}

.nft-add-ticket-card {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #ffffff;
    color: #6f757b;
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.nft-add-ticket-card-top {
    background: #f5f6f7;
    transition: background-color 0.18s ease;
}

.nft-add-ticket-card-center {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-align: center;
}

.nft-add-ticket-card-plus {
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
    color: #8a8f96;
    transition: color 0.18s ease;
}

.nft-add-ticket-card-label {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    color: #6f757b;
    transition: color 0.18s ease;
}

.add-ticket-card-bottom-spacer {
    min-height: 64px;
}

.nft-add-ticket-card:hover {
    color: #2f2f2f;
    background: #fafafb;
    border-color: #d8d8d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nft-add-ticket-card:hover .nft-add-ticket-card-top {
    background: #eff1f3;
}

.nft-add-ticket-card:hover .nft-add-ticket-card-plus,
.nft-add-ticket-card:hover .nft-add-ticket-card-label {
    color: #2f2f2f;
}

.room-card-save-action[data-saved="true"],
.room-card-follow-action[data-followed="true"] {
    border-color: #cfcfcf;
    color: #5a5a5a;
}

.room-card-save-action[data-saved="true"]:hover,
.room-card-follow-action[data-followed="true"]:hover {
    border-color: #000;
    background: #f5f5f6;
    color: #000;
}

/* ルーム公開ステータス ツールチップ */
.room-visibility-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #777;
}

.room-visibility-tooltip {
    display: none;
    position: absolute;
    left: 0;
    top: auto;
    bottom: calc(100% + 8px);
    z-index: 100;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 400;
    white-space: nowrap;
    color: #333;
    line-height: 1.8;
}

/* PC: hover で表示 */
@media (hover: hover) {
    .room-visibility-info:hover .room-visibility-tooltip {
        display: block;
    }
}

/* タッチ: JS で .is-visible を付与して表示 */
.room-visibility-tooltip.is-visible {
    display: block;
}