/* 상단 탭 네비게이션 */
nav.room_nav {
    display: inline-flex;
    background-color: #dcdcdc;
    padding: 4px;
    border-radius: 12px;
    margin: 32px 0;
  }

  nav.room_nav .tab-btn {
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
  }

  nav.room_nav .tab-btn.active {
    background-color: #eaf2ff;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  /* 헤더 영역 */
  header.myXR_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  header.myXR_header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222222;
  }

  header.myXR_header aside {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  #my-room .badge-info {
    background: linear-gradient(to bottom, #FFBB9F18, #EB5D2338);
    color: #4B4B4B;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    height: 45px;
    display: inline-flex;    
    justify-content: center;
    align-items: center;
  }

  #my-room .badge-info span {
    color: #ef4444;
    margin: 0 4px;
    font-size: 1.5rem;
  }

  #my-room .btn-outline {
    background-color: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    height: 45px;
    transition: all 0.3s ease;
  }
  #my-room .btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
  }

  #my-room .btn-more {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 4px;
  }

  /* 탭 콘텐츠 영역 */
  .roomList-xr .tab-content {
    display: none;
  }

  .roomList-xr .tab-content.active {
    display: block;
  }

  /* XR 미팅룸 만들기 카드 */
  .roomList-xr .room-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    background-image: url('/img/xr_city/web/empty.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .roomList-xr .room-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .roomList-xr .room-card span.btn-label {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  .roomList-xr .room-card:hover::before {
    opacity: 0;
  }
  .roomList-xr .room-card span.btn-label::before{
    content: '+';
    font-size: 48px;
    font-weight: 600;
  }
  .roomList-xr .room-card:hover span.btn-label {
    background-color: #0075ff;
    padding: 4px 28px 14px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 117, 255, 0.4);
    display: flex;
    align-items: baseline;
  }

  /* 내 XR미팅 룸 만들기 모달 */
  /* .roomList-xr .create-room-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
  }

  .roomList-xr .create-room-modal.is-open {
    display: block;
  }

  .roomList-xr .create-room-modal__dim {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
  }

  .roomList-xr .create-room-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100% - 32px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    padding: 24px;
  }

  .roomList-xr .create-room-modal__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
  }

  .roomList-xr .create-room-modal__desc {
    margin: 0 0 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
  }

  .roomList-xr .create-room-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .roomList-xr .create-room-modal__btn {
    min-width: 88px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .roomList-xr .create-room-modal__btn--cancel {
    background: #fff;
    color: #444;
    border: 1px solid #d1d5db;
  }

  .roomList-xr .create-room-modal__btn--confirm {
    background: #1c6dfd;
    color: #fff;
    border: 1px solid #1c6dfd;
  } */

  :root {
    --primary: #ff6a3d;
    --primary-dark: #f2551f;
    --primary-soft: #ffe4d9;
    --gray-100: #f5f6f8;
    --gray-200: #eceef1;
    --gray-300: #e1e4e8;
    --gray-400: #c9ced6;
    --gray-500: #9aa2ad;
    --gray-600: #6b7280;
    --gray-700: #4b5159;
    --text-main: #1f2328;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
  }

  /* ---------- Overlay & Modal shell ---------- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 26, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  .modal-overlay[hidden] { display: none; }
 
  .modal {
    width: 100%;
    max-width: fit-content;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
  }
 
  /* ---------- Header row: progress bar + close/check, always one line ---------- */
  .modal-header-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 62px 0 62px;
  }
 
  .progress-track {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .progress-seg {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--gray-300);
    overflow: hidden;
  }
  .progress-seg span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 999px;
    transition: width .35s ease;
  }
  .progress-seg.done span { width: 100%; }
  .progress-seg.current span { width: 100%; }
 
  .modal-close {
    background: var(--gray-100);
    padding: 0 0 3px 0;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--gray-500);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-close:hover { background: var(--gray-100); color: var(--text-main); }
 
  .modal-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }
 
  .modal-body {
    position: relative;
    padding: 28px 62px 8px 62px;
    overflow-y: auto;
    flex: 1;
  }
 
  h2.modal-title {
    font-size: clamp(18px, 4.2vw, 26px);
    font-weight: 700;
    margin: 4px 0 20px 0;
  }
 
  .license-badge {
    display: inline-block;
    background: linear-gradient(to bottom, #398CEC, #9AC2EF);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 22px;
  }
 
  .step-label {
    font-size: clamp(14px, 3.4vw, 18px);
    font-weight: 700;
    margin-bottom: 18px;
  }
  .step-label .req {
    color: var(--primary);
    margin-left: 2px;
  }
 
  .step-panel { display: none; }
  .step-panel.active { display: block; }
 
  /* ---------- Step 1 ---------- */
  .name-input-wrap {
    display: flex;
    justify-content: center;
    padding: 30px 0 10px 0;
  }
  .step-panel .name-input {
    width: 100%;
    max-width: 380px;
    height: 48px;
    padding: 12px 14px;
    font-size: 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    outline: none;
    text-align: center;
    color: var(--text-main);
    background: #fff;
  }
  .name-input::placeholder { color: var(--gray-400); }
  .name-input:focus { border-color: var(--primary); }
 
  .hint-text {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 10px;
  }
 
  /* ---------- Step 2 ---------- */
  .tab-row {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 6px;
    padding: 0 4px;
    margin-bottom: 8px;
  }
  .tab-nav-btn {
    border: none;
    background: transparent;
    color: var(--gray-500);
    font-size: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .tabs {
    display: flex;
    flex: 1;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: space-between;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
  }
  .tab-row .tabs .tab-btn.active {
    background: none;
    box-shadow: none;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary);
    border-radius: 0;
  }
  .tab-btn.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }
  .thumb-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
  }
  /* 설정 모달: 썸네일 캐러셀 (원본 skin_room 슬라이더와 동일 비율/화살표) */
  .setting_modal .tab-row {
    margin-bottom: 10px;
  }
  .setting_modal .thumb-slider-wrap {
    position: relative;
    margin-bottom: 12px;
    line-height: 0;
  }
  .setting_modal .thumb-row {
    display: block;
    grid-template-columns: none;
    gap: 0;
    margin-bottom: 0 !important;
  }
  .setting_modal .thumb-row:not(.slick-initialized) {
    display: flex;
    gap: 10px;
    overflow: hidden;
  }
  .setting_modal .thumb-row .slick-list {
    margin: 0 -5px;
    line-height: normal;
  }
  .setting_modal .thumb-row .slick-track {
    display: flex !important;
    align-items: stretch;
  }
  .setting_modal .thumb-row.slick-initialized .slick-slide {
    height: auto !important;
    padding: 0 5px;
    box-sizing: border-box;
    float: none;
  }
  .setting_modal .thumb-row.slick-initialized .slick-slide > div {
    height: 100%;
  }
  .setting_modal .thumb-slider-wrap .thumb,
  .setting_modal .thumb-row.slick-initialized .thumb {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
    height: auto;
    border-radius: 4px;
    background-color: transparent;
  }
  .setting_modal .thumb-slider-wrap .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .setting_modal .thumb-slider-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    pointer-events: none;
    z-index: 3;
  }
  .setting_modal .thumb-slider-wrap .prev,
  .setting_modal .thumb-slider-wrap .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    display: block;
    line-height: 1;
    pointer-events: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  }
  .setting_modal .thumb-slider-wrap .prev { left: 10px; }
  .setting_modal .thumb-slider-wrap .next { right: 10px; }
  .setting_modal .thumb-slider-wrap .prev .material-icons,
  .setting_modal .thumb-slider-wrap .next .material-icons {
    font-size: 36px;
    line-height: 1;
    font-weight: 400;
  }

  /* 개설 모달(xr-noRoom): 3열 스와이퍼 + 미리보기 */
  .modal-overlay .modal {
    width: min(720px, 100%);
    max-width: 720px;
  }
  .modal-overlay .modal .create-thumb-slider {
    position: relative;
    margin-bottom: 8px;
    line-height: 0;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row {
    display: block;
    grid-template-columns: none;
    gap: 0;
    margin-bottom: 0;
    max-height: none;
    overflow: visible;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row:not(.slick-initialized) {
    display: flex;
    gap: 12px;
    overflow: hidden;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row .slick-list {
    margin: 0 -6px;
    line-height: normal;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row .slick-track {
    display: flex !important;
    align-items: stretch;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row.slick-initialized .slick-slide {
    height: auto !important;
    padding: 0 6px;
    box-sizing: border-box;
    float: none;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-row.slick-initialized .slick-slide > div {
    height: 100%;
  }
  .modal-overlay .modal .create-thumb-slider .thumb {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 100px;
    height: auto;
  }
  .modal-overlay .modal .create-thumb-slider .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .modal-overlay .modal .create-thumb-slider .thumb-slider-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    pointer-events: none;
    z-index: 3;
  }
  .modal-overlay .modal .create-thumb-slider .prev,
  .modal-overlay .modal .create-thumb-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    display: block;
    line-height: 1;
    pointer-events: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  }
  .modal-overlay .modal .create-thumb-slider .prev { left: 4px; }
  .modal-overlay .modal .create-thumb-slider .next { right: 4px; }
  .modal-overlay .modal .create-thumb-slider .prev .material-icons,
  .modal-overlay .modal .create-thumb-slider .next .material-icons {
    font-size: 32px;
    line-height: 1;
  }
  .thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    max-height: 100px;
  }
  .card_page_wrapper .col-md-4_con  .thumb{
    max-height: 206px;
  }
  .thumb.selected { border: 3px solid var(--primary); }
  .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .thumb.skin-locked {
    opacity: 0.55;
    cursor: not-allowed;
  }
  .thumb.skin-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    pointer-events: none;
  }
  /* 유료 XR공간 테마(스페셜) — 프리미엄 왕관 표시 */
  .thumb.skin-premium .skin-premium-badge,
  .skin_room li.skin-premium .skin-premium-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .thumb.skin-premium .skin-premium-badge img,
  .skin_room li.skin-premium .skin-premium-badge img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
  }
  .setting_modal .preview-frame.mb30 {
    margin-bottom: 30px;
  }
  .tab-content .card_page_wrapper .row .col-md-4_con .thumb{
    aspect-ratio: 16/9; 
    width: 100%; 
    background-color: #ebebeb;
    position: relative;  
    border-radius: 4px; 
    max-height: 300px;
  }
 
  .preview-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/8;
    width: 100%;
    max-height: 230px;
  }
  .preview-frame img { width: 100%; height: 100%; object-fit: cover; display: block;max-height: 230px;}
  .applied-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
  }
 
  /* ---------- Step 3 ---------- */
  .settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .setting-card {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 16px;
  }
  .setting-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.4;
  }
  .radio-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 10px;
    cursor: pointer;
  }
  .radio-line input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gray-400);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
  }
  .radio-line input[type="radio"]:checked {
    border-color: var(--primary);
  }
  .radio-line input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: var(--primary);
    border-radius: 50%;
  }
  .radio-line .pw-input {
    display: none;
    width: 140px;
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
  }
  .radio-line input[type="radio"]:checked ~ .pw-input {
    display: inline-block;
  }
 
  .select-wrap { position: relative; }
  .select-wrap select {
    position: relative;
    z-index: 2;
    width: 100%;
    text-indent: 28px;
    padding-right: 32px;
    font-size: 13px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-main);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    height: 32px;
  }
  .select-wrap select option {
    text-indent: 10px;
  }
  .select-wrap__icon,
  .select-wrap__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    color: var(--text-main);
    line-height: 1;
  }
  .select-wrap__icon {
    left: 8px;
    font-size: 18px;
    opacity: 0.75;
  }
  .select-wrap__arrow {
    right: 8px;
    font-size: 20px;
    color: var(--gray-500);
  }
  /* 레거시 의사요소 아이콘 비활성 (Material Icons 사용) */
  .select-wrap::before,
  .select-wrap::after {
    content: none;
    display: none;
  }
 
  /* ---------- Step 4 ---------- */
  .done-wrap { text-align: left; }
  .done-text {
    font-size: 14px;
    line-height: 1.7;
    color: #888;
    margin-bottom: 22px;
  }
  .done-preview {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    max-width: 460px;
    margin: 0 auto 20px auto;
  }
  .done-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .done-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 460px;
    margin: 0 auto;
  }
  .btn-outline {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--gray-300);
    background: #fff;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }
  .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

  .xr_list_search_wraper .btn_wrap a{
    width: auto;
    box-shadow: none;
    border: none;
  }
  .search_box_in .search_field .input_search{
    font-size: 14px;
  }
 
  /* ---------- Footer ---------- */
  .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 62px 24px 62px;
    gap: 10px;
  }
  .footnote {
    font-size: 12px;
    color: var(--gray-500);
  }
  .footer-buttons { display: flex; gap: 8px; margin-left: auto; }
 
  .btn {
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
  }
  .btn-primary { background: var(--primary); color: #fff; }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-primary:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
  }
  .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-500);
  }
  .btn-secondary:disabled {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
  }
  .btn-secondary:not(:disabled):hover { background: var(--gray-200); color: var(--text-main); }

  @media (max-width: 720px) {
    .page { padding: 12px; }
    .modal-overlay { padding: 12px; }
    .modal { max-height: 94vh; border-radius: 14px; }
    .modal-body { padding: 24px 22px 8px 22px; }
    .modal-footer { padding: 14px 22px 20px 22px; }
    .modal-header-wrap { padding: 16px 18px 0 22px; gap: 10px; }
    .license-badge { font-size: 12px; padding: 7px 12px; }
    .settings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  }
 
  @media (max-width: 480px) {
    header.myXR_header{
      flex-direction: column;
      align-items: start;
    }
    header.myXR_header aside{
      width: 100%;
      justify-content: end;
      margin-top: 16px;
    }

    .modal-overlay { padding: 12px; align-items: center; justify-content: center; }
    .modal {
      max-width: 100%;
      max-height: 92vh;
      border-radius: 16px;
    }
    .modal-body { padding: 20px 16px 8px 16px; }
    .modal-footer { padding: 12px 16px 18px 16px; }
    .modal-header-wrap { padding: 14px 14px 0 16px; gap: 8px; }
    .progress-track { gap: 6px; }
 
    .license-badge { display: block; width: fit-content; margin-bottom: 18px; }
 
    .name-input-wrap { padding: 22px 0 8px 0; }
    .name-input { max-width: 100%; }
 
    .tab-btn { padding: 7px 11px; font-size: 12px; }
    .thumb-row { gap: 8px; }
 
    .settings-grid { grid-template-columns: 1fr; gap: 10px; }
    .setting-card { min-height: 0; padding: 14px; }
 
    .done-actions { flex-direction: column; max-width: 100%; }
    .done-preview { max-width: 100%; }
 
    .modal-footer {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }
    .footnote { text-align: center; order: 2; }
    .footer-buttons { order: 1; margin-left: 0; }
    .footer-buttons .btn { flex: 1; }
  }
 
  /* Very small phones */
  @media (max-width: 340px) {
    .thumb-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    h2.modal-title { margin-bottom: 14px; }
  }

/* xr회의실 리스트 */
.sub-page.xr_city * {
    font-family: var(--font-pretendard);
}

.top_img_ver2{background-image: url("/img/xr_city/web/xr_meeting_room_top_v2.png");
    position: relative;
    width: 100%;
    height: 272px;
    background-size: cover;
    background-position: bottom right;
}

.top_img_ver2 .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000073;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.top_img_ver2 img {
    width: 100%;
}

.top_img_ver2 .top_title {
    position: absolute;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    text-align: left;
}

.title-sub {
    font-size: 32px;
    margin: 35px 15px 25px ;
}

.xrmeeting_list .title-sub {
    font-size: 32px;
}
.list-page .title_wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ai-advisor-section .list-page .flex.justify_s_b .title_wrap,
.ai-advisor-section .list-page > .flex .title_wrap {
  margin: 0;
}
.ai-advisor-section .list-page h4.title-sub{
  margin: 0;
}
/* /my 전용: xr_list.css 의 .list-page .title_wrap{space-between} 이
   회의명 셀까지 먹지 않도록, Minutes/lists(sub.css center) 와 동일하게 맞춤 */
.ai-advisor-section #table_minutes .agenda_wrap.meeting_title,
.ai-advisor-section #table_minutes .agenda_wrap {
  text-align: center;
  justify-content: center;
}
.ai-advisor-section #table_minutes .agenda_wrap .title_wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  margin: 0;
}
.list-page .btn_wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.use-btn-wrap{
  display: flex;
  gap: 8px;
}
.how_btn {
border: 1px solid #ccc;
color: #444;
border-radius: 5px;
padding: 6px 16px;
font-size: 14px;
font-weight: 500;
transition: 0.2s;
height: 42px;
}

.list-page .more_btn_wrap,
.myXR_header aside .more_btn_wrap {
    position: static;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.myXR_header aside .more_btn_wrap {
    position: relative;
}

.list-page .more_btn,
.myXR_header aside .more_btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    transition: background-color 0.1s ease, transform 0.2s ease;
}

.list-page .more_btn::before,
.myXR_header aside .more_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0; /* 처음엔 투명 */
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.list-page .more_btn_wrap:active,
.list-page .more_btn_wrap:hover,
.myXR_header aside .more_btn_wrap:active,
.myXR_header aside .more_btn_wrap:hover {
    background-color: #f1f1f1;
    border-radius: 50px;
}

.list-page .more_btn_wrap:active .more_btn,
.myXR_header aside .more_btn_wrap:active .more_btn {
    transform: scale(0.9);
}

.list-page .more_btn:active::before,
.myXR_header aside .more_btn:active::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1; /* 클릭 시 원이 확장되며 나타남 */
}

@media (hover:hover) {
    .how_btn:hover {
        background-color: #f6f6f6;
    }
    
    .list-page .more_btn:hover span,
    .myXR_header aside .more_btn:hover span {
        background-color: #666;
    }
}

.xr-rm-card-container {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-bottom: 95px;
}
.xr-rm-preview-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.xr-rm-preview-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f0f0f0;
}

.xr-rm-preview-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xr-rm-preview-card__media .hover_bg {
  z-index: 2;
  border-radius: 8px;
}

.xr-rm-preview-card__media:hover .hover_bg {
  display: block;
}

.xr-rm-preview-card__media .primary_gradation_btn_icon {
  z-index: 3;
  white-space: nowrap;
}

.xr-rm-preview-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 16px;
  padding: 0 4px;
}

.xr-rm-preview-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
}

.xr-rm-preview-card__count {
  font-size: 14px;
  color: #888888;
}

.xr-rm-preview-card__count-num {
  color: #555555;
}

.xr-rm-detail-card {
  flex: 1.1;
  background-color: #fff0e9;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.xr-rm-detail-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.xr-rm-detail-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #222222;
}

.xr-rm-detail-card__btn-setting {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.xr-rm-detail-card__btn-setting:hover {
  opacity: 0.9;
}

.xr-rm-detail-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.xr-rm-detail-card__grid-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100px;
}

.xr-rm-detail-card__label {
  font-size: 12px;
  font-weight: 600;
  color: #222222;
  line-height: 1.4;
  word-break: keep-all;
}

.xr-rm-detail-card__badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 10px;
}

.xr-rm-detail-card__badge--gray {
  background-color: #e0e0e0;
  color: #666666;
}

.xr-rm-detail-card__badge--orange {
  background-color: #ffe8df;
  color: #ff5019;
}

.xr-rm-invite__title {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
}
.xr-rm-invite .row{
  display: flex;
  width: 100%;
  gap: 12px;
}
.xr-rm-invite__input-box {
  display: flex;
  flex: 6;
  gap: 6px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #ffded2;
}

.xr-rm-invite__input {
  flex: 4;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 12px;
  color: #555555;
  background: transparent;
  min-width: 0;
}

.xr-rm-invite__btn-copy {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.xr-rm-invite__meta {
  font-size: 11px;
  color: #555555;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.xr-rm-invite__meta-dot {
  color: #ff5019;
  font-size: 8px;
}

@media (max-width: 992px) {
  .xr-rm-card-container {
    flex-direction: column;
    gap: 38px;
    margin-bottom: 48px;
  }
}

@media (max-width: 600px) {
  .xr-rm-detail-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .roomList-xr .room-card span.btn-label{
    font-size: 24px;
  }
  .roomList-xr .room-card:hover span.btn-label{
    padding: 4px 18px 8px 18px;
  }
  .roomList-xr .room-card span.btn-label::before{
    font-size: 36px;
  }
}

@media (max-width: 400px) {
  .xr-rm-detail-card__grid {
    grid-template-columns: 1fr;
  }
  
  .xr-rm-invite__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  .xr-rm-invite__meta-dot {
    display: none;
  }
}

.list-page .more_btn span,
.myXR_header aside .more_btn span {
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 50px;
}
.title-sub .more_btn span{
  margin: 0;
}
.list-page .more_btn_wrap .more_menu,
.myXR_header aside .more_btn_wrap .more_menu {
    display: none;
    position: absolute;
    width: 152px;
    right: 0;
    top: 40px;
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    box-shadow: rgb(115 108 108 / 10%) 0px 2px 5px;
}

.list-page .more_btn_wrap .more_menu.open,
.myXR_header aside .more_btn_wrap .more_menu.open {
    display: block;
    z-index: 2;
}

/* .list-page .more_btn_wrap  .more_menu li:not(.last_line) {
    border-bottom: 1px solid #bbb;
} */

.list-page .more_btn_wrap .more_menu li,
.myXR_header aside .more_btn_wrap .more_menu li {
    text-align: left;
}

.list-page .more_btn_wrap .more_menu li:hover,
.myXR_header aside .more_btn_wrap .more_menu li:hover {
    background-color: #fb7c4a0e;
}

.list-page .more_btn_wrap .more_menu li a,
.myXR_header aside .more_btn_wrap .more_menu li a {
    font-size: 14px;
    font-weight: 600;
    color: #777;
    width: 100%;
    display: block;
    padding: 6px 6px 6px 10px;
    line-height: 150%;
}

.list-page .more_btn_wrap .more_menu li a:hover,
.myXR_header aside .more_btn_wrap .more_menu li a:hover {
    color: #ed5c23;
}


/* 검색창 */
.sub-page.xr_city .search_wraper {
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

 .sub-page.xr_city .search_content {
    padding-right: 0;
    margin-right: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end; */
    float: none;
}

.sub-page.xr_city .search_box_in {
    padding: 0;
    border-radius: 25px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    background: #fff;
    height: 42px;
}

.sub-page.xr_city .search_content .search_box.inputbox {
    border-radius: 25px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 230px;
}

.sub-page.xr_city .search_box_in .search_field .btn_search {
    top: 7px;
    right: 20px;
    background: url(https://www.goodmoim.com/img/v2/sub/icon_search.png) center right no-repeat;
    background-size: 22px;
}

.sub-page.xr_city .search_box_in .search_field form {
    width: 100%;
    height: 100%;
}

.sub-page.xr_city .service-xr .search_box_in .search_field .btn_search {
    top: 0px;
}

.sub-page.xr_city .search_box .btn_search {
    width: 26px;
    height: 26px;
    text-indent: -9999px;
    background: url(https://www.goodmoim.com/img/v2/sub/icon_search.png) center center no-repeat;
    position: absolute;
    top: 8px;
    right: 14px;
}

.sub-page.xr_city .search_box_in .search_field .input_search {
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid #dbdbdb;
}

.sub-page.xr_city .search_box_in .search_field .input_search::placeholder {
    color: #888;
}

.main-tit-content .search_container .search_content .search_box.inputbox {
    width: 100%;
    border: 1px solid #dcdcdc !important;
    border-radius: 7px;
    float: left;
    position: relative;
    background-color: #fff;
}

.wrench_content {
    display: flex;
    gap: 15px;
}

.wrench_content button {
    color: #777;
    gap: 3px;
}

.sub-page.xr_city .room_title {
    color: #333;
    font-weight: 600;
}

.sub-page.xr_city .participant {
    color: #555;
    font-weight: 400;
}

/* 리스트로 보기 */
.list-page .area-table .title_set {
    display: flex;
    align-items: flex-start;
}

.list-page .area-table .owner_set_btn {
    color: #555;
    box-shadow: none;
}

.sub-page.xr_city .note_list .type.free span {
    background-color: #ed5c23;
    color: #fff;
    padding: 2px 10px;
    font-size: 14px;
    border-radius: 3px;
}

.sub-page.xr_city .note_list .type.free span.meeting {
    background-color: rgb(46 59 97);
}

.sub-page.xr_city .note_list .entrance_btn_wrap a {
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #dbdbdb;
    border-radius: 30px;
    color: #555;
    padding: 7px 15px;
    transition: 0.4s;
}

.sub-page.xr_city .note_list .entrance_btn_wrap a:hover {
    border: 1px solid #ed5c23;
    color: #ed5c23;
}

/* 공유하기 버튼 */
.share { position: relative; display: inline-block; vertical-align: middle; cursor: pointer; line-height: 0; }
.share > a { line-height: 0; }
/* 설문광장 카드리스트(.btn-share)와 동일: 원형 회색 배경 공유 버튼 */
.share .btn-share {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-shadow: none;
  line-height: 0;
}
.share .btn-share img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(3);
}

/* PC 드롭다운 — 원형 공유 버튼(44px) 바로 위에 뜨도록 */
.share .sns { visibility: hidden; opacity: 0; position: absolute; right: 0; bottom: 52px; cursor: default; z-index: 10000; transition: opacity .15s ease; }
.share:hover .sns { visibility: visible; opacity: 1; }
.share .sns .sns-area { width: -moz-fit-content; width: fit-content; border: 1px solid #a1a1a1; box-shadow: 5px 5px 10px #E5E5E5; border-radius: 8px; background: #fff; padding: 16px; display: grid; gap: 12px; }
.share .sns .sns-area h1 { display: none; }
.share .sns .sns-area ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);gap: 16px; width: fit-content; margin: 0 auto;}
.share .sns .sns-area ul::after { content: ''; display: block; clear: both; }
.share .sns .sns-area ul li { width: auto; float: left; padding: 0; margin: 0 4px 0 0 !important; }
 .share .sns .sns-area ul li img { display: block; max-width: 50px; height: auto; }
.share .sns .sns-area > div { display: flex; align-items: center; gap: 8px;}
.share .sns .sns-area input[type='text'].url-copy-input { width: 100%; height: 35px; border: 1px solid #c7c7c7; box-sizing: border-box; text-indent: 10px; color: #999; }
.share .sns .sns-area .btn { margin: 0; padding: 0; }
.share .sns .sns-area .btn a { display: block; padding: 0 10px; height: 35px; background: #222; font-size: 13px; border-radius: 4px; color: #fff; line-height: 35px; min-width: 45px; text-align: center; }

/* 모바일 전용 오버레이(.sns-area)는 카드에 직접 띄우지 않음 — openShare() 모달 원본만 사용 */
.share .sns-area { display: none; }
.share #mask { display: none; }

/* PC: 호버 팝오버 / Mobile: 클릭 모달 — 패널·핫이슈는 한 카드에 둘 다 포함 */
.share-pc { display: inline-block; }
.share-mo { display: none; }
@media (max-width: 1023px) {
.share-pc { display: none !important; }
.share-mo { display: inline-block !important; }
}

/* 리스트/카드 아이콘 */
.wrench_content.list_card {
    gap: 10px;
}

.wrench_content.list_card button {
    width: 47px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    gap: 7px;
    background-color: #ececec;
}

.wrench_content.list_card button img {
    width: 17px;
    filter: invert(50%) sepia(17%) saturate(0%) hue-rotate(130deg) brightness(62%) contrast(76%);
}

.wrench_content.list_card button.active {
    background-color: #777;
}

.wrench_content.list_card button.active img {
    filter: none;
}

@media all and (max-width: 1200px) {
    .top_img_ver2 .top_title {
        text-align: center;
        width: 100%;
        font-size: 18px;
        width: 100%;
    }
}

@media all and (max-width: 1030px) {
    .m_view {
        display: none !important;
    }
    
    .max-width {
        padding: 0 16px;
    }
}

@media all and (max-width: 1023px) {

    .list-page .area-table .table {
        width: 100%;
        table-layout: fixed;
    }

    .list-page .area-table .table ul {
        display: table-row;
        padding: 14px 0;
        border-bottom: 1px solid #dbdbdb;
        position: relative;
    }

    .list-page .area-table .table ul li {
        display: table-cell;
        text-align: center;
        height: 56px;
        white-space: normal;
        border-bottom: 1px solid #dbdbdb ;
        line-height: 1.4;
   }
}
@media all and (max-width: 875px) {
  header.noRoom-header{
    flex-direction: column;
    align-items: flex-start;
  }
  .use-btn-wrap{
    align-self: flex-end; 
  }
  header.noRoom-header aside {
    align-self: flex-end; 
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

}
@media all and (max-width: 768px) {
    .pc_view {
        display: none !important;
    }

    .m_view {
        display: block !important;
    }

    .xrmeeting_list .title-sub {
        font-size: 28px;
    }

    .top_img_ver2 {
        background-image: none;
        height: auto;
    }

    .wrench_content.list_card button {
        width: 47px;
        height: 30px;
    }
    .wrench_content.list_card button img {
        width: 15px;
    }

    .sub-page.xr_city .xr_list_search_wraper .search_content .search_box.inputbox {
        max-width: 100%;
    }

    .sub-page.xr_city .list-page .area-table .table ul.note_list {
        position: relative;
        padding: 12px 0;
    }

    .sub-page.xr_city .list-page .area-table .table ul.note_list .line_2 {
        display: flex;
        gap: 7px;
        align-items: baseline;
        padding-right: 84px;
    }

    .list-page .area-table .table ul li {
        display: block;
        text-align: left;
        height: auto;
        white-space: normal;
        border: 0;
        line-height: normal;
        padding: 0;
    }
    .sub-page.xr_city .list-page .area-table .table ul.note_list {
        display: flex;
        flex-wrap: wrap;
        gap: 3px 20px;
        align-items: center;
        justify-content: center;
    }

    .sub-page.xr_city .note_list .entrance_btn_wrap {
        flex-basis: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .sub-page.xr_city .note_list .agenda_wrap {
        text-align: center;
    }

    .sub-page.xr_city .note_list .agenda_wrap a {
        font-weight: 500;
        color: #222;
        font-size: 16px;
    }    

    .sub-page.xr_city .list-page .area-table .table ul.note_list .lock img {
        height: 16px;
    }

    .sub-page.xr_city .list-page .area-table .table ul.note_list li.mini_circle {
        width: 4px;
        height: 4px;
        background-color: #bbb;
        border-radius: 10px;
    }

    .sub-page.xr_city .note_list .type.free span {
        font-size: 12px;
        padding: 3px 10px;
        width: 42px;
        display: inline-block;
        text-align: center;
    }

    .sub-page.xr_city .list-page .area-table .table ul.note_list li.meeting_title a {
        font-weight: 600;
        font-size: 15px;
        text-align: left;
    }

    .sub-page.xr_city .list-page .area-table .table ul.note_list li.meeting_manager a ,
    .sub-page.xr_city .list-page .area-table .table ul.note_list li.meeting_personnel a {
        color: #777;
    }


    .sub-page.xr_city .note_list .entrance_btn_wrap {
        position: absolute;
        text-align: right;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }

    .sub-page.xr_city .note_list .entrance_btn_wrap a {
        border: 1px solid #dcdcdc;
        border-radius: 30px;
        font-size: 12px;
        color: #555;
        padding: 7px 15px;
    }

    .list-page .btn_wrap {
        justify-content: end;
        flex: 1 0 100%;
    }

    .search_content{
      margin-bottom: 0;
    }
    
}

@media all and (max-width: 480px) {
  #my-room .badge-info{
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  #my-room .badge-info span{
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}