#viewChatList.is-first-visit #homeCreditFooter{display:none!important}
#viewChatList.is-first-visit .returning-home,#viewChatList.is-first-visit #listAuthNoticeBox,#viewChatList.is-first-visit #chatRoomsListContainer,#viewChatList.is-first-visit #roomListPagination,#viewChatList.is-first-visit #listMatchAvailability,#viewChatList.is-first-visit #roomListControls,#viewChatList.is-first-visit #roomListHeading,#viewChatList.is-first-visit #notificationPromptBannerList{display:none!important}
.welcome-home[hidden]{display:none!important}.welcome-home{container-type:inline-size;color:#fbf7f2}.welcome-home h2{font-size:26px;line-height:1.35;letter-spacing:-.04em;margin:10px 0}.welcome-home p{color:#d5c8b7;font-size:15px;line-height:1.65;margin:8px 0}.welcome-eyebrow{font-size:12px;letter-spacing:.12em;color:#e5a93c}.welcome-tabs{display:flex;gap:8px;margin:24px 0 16px}.welcome-tabs button,.welcome-more{min-height:44px;padding:10px 18px;border:1px solid #78624c;border-radius:24px;background:transparent;color:#e7d9c7;font:inherit;cursor:pointer}.welcome-tabs button[aria-pressed=true]{background:#f5e3c8;color:#30241b;border-color:#f5e3c8}.welcome-cards{display:grid;gap:12px}.welcome-card{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center;padding:16px;border:1px solid #57493a;border-radius:20px;background:#362f29}.welcome-card img{width:76px;height:92px;object-fit:cover;border-radius:14px}.welcome-card h3{font-size:18px;margin:0 0 4px}.welcome-card p{font-size:13px;margin:2px 0}.welcome-card button{grid-column:1/-1;min-height:46px;border:0;border-radius:12px;background:#d39a37;color:#20180f;font-size:16px;font-weight:700;cursor:pointer}.welcome-card button:disabled{opacity:.65}.welcome-more{display:block;margin:18px auto}.welcome-home .welcome-note{font-size:12px;color:#c7b6a0}.welcome-home [role=status]{min-height:22px;color:#f0be64}.welcome-home button:focus-visible{outline:3px solid #fff0cc;outline-offset:3px}@container(min-width:700px){.welcome-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome-card{display:flex;flex-direction:column;text-align:left;align-items:stretch}.welcome-card img{width:100%;height:180px}.welcome-card button{margin-top:auto}}

/* Larger first-visit controls and copy for comfortable reading. */
.welcome-home p { font-size: 17px; line-height: 1.65; }
.welcome-card h3 { font-size: 20px; }
.welcome-card p { font-size: 16px; line-height: 1.6; }
.welcome-card button, .welcome-tabs button, .welcome-more { min-height: 50px; font-size: 17px; }
.welcome-home .welcome-note { font-size: 15px; line-height: 1.6; }

/* Persistent startup recovery for network or account-loading errors. */
.startup-error[hidden]{display:none!important}
.startup-error{padding:22px 20px;border:1px solid #78624c;border-radius:18px;background:#362f29;color:#fbf7f2}
.startup-error h2{font-size:21px;font-weight:700;line-height:1.4;margin:0 0 10px}
.startup-error p{font-size:17px;line-height:1.6;color:#e7d9c7;margin:0 0 18px}
.startup-error button{min-height:50px;width:100%;border:0;border-radius:12px;background:#d39a37;color:#20180f;font-size:17px;font-weight:700;cursor:pointer}
.startup-error button:focus-visible{outline:3px solid #fff0cc;outline-offset:3px}

.recover-match{padding:18px;border:1px solid #78624c;border-radius:18px;background:#362f29;color:#fbf7f2}.recover-match p{font-size:16px;line-height:1.6;margin:0 0 12px}.recover-match button{width:100%;min-height:50px;border:0;border-radius:12px;background:#d39a37;color:#20180f;font-size:17px;font-weight:700;cursor:pointer}.recover-match button:focus-visible{outline:3px solid #fff0cc;outline-offset:3px}.recover-match [role=status]{color:#f0be64;margin:8px 0 0}.recover-match [role=status]:empty{display:none}

.room-card-open{display:flex;flex:1;min-width:0;align-items:center;gap:14px;text-align:left;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}.room-card-open:focus-visible,.room-card-delete:focus-visible{outline:3px solid #fff0cc;outline-offset:3px}.room-card-delete{min-width:44px;min-height:44px}
.welcome-start{display:block;width:100%;min-height:56px;margin:20px 0;border:0;border-radius:14px;background:#d39a37;color:#20180f;font-size:19px;font-weight:700;cursor:pointer}.welcome-start:disabled{opacity:.6}
.welcome-home h2,.welcome-home p{word-break:keep-all;overflow-wrap:break-word}

@media(max-height:700px){.legal-dialog .legal-decorative-icon{display:none}}

/* At large text zoom, stack the choices before their labels wrap by syllable. */
@container (max-width: 220px) {
 .welcome-tabs { display:grid; grid-template-columns:minmax(0,1fr); }
 .welcome-tabs button { width:100%; }
}

/* 첫 화면은 시작 버튼과 브랜드 마크에 집중합니다. */
#viewChatList.is-first-visit > .chat-scroll{display:flex;flex-direction:column;min-height:0}
#viewChatList.is-first-visit .welcome-home:not([hidden]){flex:1;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:28px 4px 18px}
.welcome-mark{display:block;width:88px;height:88px;object-fit:contain;border-radius:22px;margin-bottom:14px}
.welcome-home .welcome-start{max-width:380px;margin:12px 0}
.welcome-home .welcome-match-status:empty{display:none}
.welcome-home .welcome-note{margin:8px 0;color:#c7b6a0}
#viewChatList.is-first-visit #serviceFooter{margin-top:auto;padding-top:16px}
@media(max-height:600px){#viewChatList.is-first-visit .welcome-home:not([hidden]){min-height:200px;padding:14px 4px}.welcome-mark{width:64px;height:64px;margin-bottom:8px}}
.welcome-guide{width:100%;max-width:420px;margin:28px auto 0;padding:18px 18px 14px;border:1px solid #57493a;border-radius:20px;background:#332b24;text-align:left}
.welcome-guide summary{font-size:1.0625rem;font-weight:700;min-height:44px;align-content:center;cursor:pointer}
.welcome-guide a{display:inline-block;min-height:44px;padding-block:10px;color:inherit;text-decoration:underline}
/* The guide makes the welcome taller than the viewport: grow, never shrink. */
#viewChatList.is-first-visit .welcome-home:not([hidden]){flex:1 0 auto}
.welcome-portraits{display:flex;align-items:center;justify-content:center;padding:6px 14px}
.welcome-portraits img{border-radius:50%;width:76px;height:76px;object-fit:cover;object-position:center 26%;border:3px solid #362f29}
.welcome-portraits img+img{margin-left:-12px}
.welcome-caption{font-size:15px;color:#d5c8b7}
.welcome-condition{max-width:100%;min-height:48px;padding:8px 16px;line-height:1.5;background:#362f29;color:#f4e7d4;border:1px solid #806e55;border-radius:14px;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.resume-room{display:flex;gap:12px;align-items:center;width:100%;min-height:80px;padding:12px;text-align:left;border:1px solid #8d713d;border-radius:16px;background:#392f22;color:#fbf7f2}
.resume-room img{width:58px;height:58px;object-fit:cover;border-radius:14px}
.resume-room-copy{min-width:0;flex:1}.resume-room-copy>*{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.resume-room-copy strong{font-size:1.3rem}.resume-room-copy span{font-size:1rem;color:#dfd2c0}
.resume-room-action{font-weight:bold;color:#f7d594;font-size:1rem}
@media(max-width:400px){
  .resume-room{display:grid;grid-template-columns:52px minmax(0,1fr);gap:2px 12px}
  .resume-room img{grid-row:1/3;width:52px;height:52px}
  .resume-room-action{grid-column:2;font-size:1rem}
}
.home-filter-row{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .875rem;border:1px solid #806e55;border-radius:12px;color:#f4e7d4;background:#362f29;text-align:left;font-size:1rem}
.home-filter-row span:last-child{flex-shrink:0;text-decoration:underline;text-underline-offset:3px}
.returning-price{font-size:1rem;color:#e5d7c7;line-height:1.55}
.early-price-link{min-height:44px;color:#ead5ad;font-size:1rem;background:transparent;text-decoration:underline;text-underline-offset:3px}
.early-price-dialog{position:fixed;inset:0;max-width:min(28rem,calc(100% - 2rem));max-height:85dvh;margin:auto;overflow:auto;border:1px solid #7c694f;border-radius:18px;background:#332b24;color:#fbf7f2;padding:22px}
.early-price-dialog::backdrop{background:rgb(0 0 0 / .7)}
.early-price-dialog h2{font-size:1.4rem;line-height:1.4;font-weight:700}
.early-price-dialog p{margin:.75rem 0;line-height:1.65}
.early-price-dialog button{width:100%;min-height:48px;margin-top:8px;padding:.5rem;border-radius:12px;background:#4a3e32;font-size:1rem;font-weight:700}
#keepCurrentPrice{background:#e2b366;color:#241b12}
.early-price-dialog button:focus-visible,.home-filter-row:focus-visible,.early-price-link:focus-visible,.resume-room:focus-visible{outline:3px solid #fff0cc;outline-offset:3px}

#homeConsentSlot:empty,#homeConsentSlot:has(> [hidden]){display:none}
.welcome-wallet{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}
.welcome-wallet a,.more-match-filters summary{display:inline-flex;align-items:center;min-height:44px}
.welcome-wallet a{color:#f7d594;text-decoration:underline;text-underline-offset:3px}
.more-match-filters{border-top:1px solid #57493a}
.more-match-filters summary{display:list-item;align-content:center;font-size:1.0625rem;color:#fbf7f2;font-weight:bold;cursor:pointer}
.more-match-filters[open]>div{margin-top:12px}
