:root {
  --bg: #FFFBF7;
  --surface: #FFFFFF;
  --ink: #221B1D;
  --ink-2: #4A4044;
  --sub: #8C8084;
  --line: #F1E7E3;
  --soft: #FFF1EE;
  --coral: #FF7B72;
  --rose: #EC5578;
  --grad: linear-gradient(135deg, #FF8A72 0%, #EC5578 100%);
  --mint: #3BB39A;
  --warn: #E0832F;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(120, 60, 60, .08);
  --tab-h: 64px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: var(--ink); background: #F6EEEA;
  font-size: 15px; line-height: 1.5; letter-spacing: -0.01em;
}
button, input, textarea, select { font: inherit; color: inherit; }
/* 아이폰: 입력칸 글자가 16px보다 작으면 누를 때 화면이 자동 확대돼 전송 버튼·말풍선이 잘림 → 입력칸은 16px (2026-11-29) */
input, textarea, select { font-size: 16px; }
.send-btn, .composer > button { flex-shrink: 0; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* 앱 셸: 모바일 우선, PC에서는 가운데 정렬된 앱 화면 (PC 폭 2026-11-29: 460 → 600px) */
:root { --app-w: 480px; }
@media (min-width: 900px) { :root { --app-w: 600px; } }
#app {
  position: relative; max-width: 480px; min-height: 100%; margin: 0 auto; background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0,0,0,.02), 0 20px 60px rgba(120,60,60,.08);
}
@media (min-width: 900px) {
  body { background: radial-gradient(circle at 20% 20%, #FFE4DC 0, transparent 40%), radial-gradient(circle at 80% 70%, #FDE0EA 0, transparent 40%), #F8F0EC; }
  #app { max-width: var(--app-w); min-height: calc(100% - 48px); margin: 24px auto; border-radius: 28px; overflow: hidden; }
}
.screen { min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 900px) { .screen { min-height: calc(100vh - 48px); } }
.with-tabs { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 16px; background: rgba(255, 251, 247, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.topbar.lined { border-bottom-color: var(--line); }
.topbar h1 { font-size: 17px; font-weight: 700; margin: 0; flex: 1; }
.topbar .spacer { flex: 1; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; position: relative; color: var(--ink-2); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); border: 2px solid var(--bg); }

.logo { display: flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: 0.02em; font-size: 17px; }
.logo svg { width: 28px; height: 28px; }
.logo .word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.ticket-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px;
  background: var(--soft); color: var(--rose); font-weight: 700; font-size: 13px;
}
.ticket-chip svg { width: 15px; height: 15px; }

/* 하단 탭 */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 30;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .tabbar { max-width: var(--app-w); bottom: 24px; border-radius: 0 0 28px 28px; } }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--sub); position: relative; }
.tab svg { width: 24px; height: 24px; }
.tab.on { color: var(--rose); font-weight: 700; }
.tab .badge-dot { top: 8px; right: calc(50% - 18px); }
.tab.special .pill { display: grid; place-items: center; width: 40px; height: 28px; border-radius: 14px; background: var(--soft); }
.tab.special.on .pill { background: var(--grad); color: #fff; }

/* 공통 */
.content { padding: 8px 16px 24px; flex: 1; }
.h-title { font-size: 22px; font-weight: 800; margin: 10px 0 14px; letter-spacing: -0.03em; line-height: 1.35; }
.muted { color: var(--sub); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; }
.hidden { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 18px;
  border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .08s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(236, 85, 120, .25); }
.btn.secondary { background: var(--soft); color: var(--rose); }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.btn.danger { background: #FDECEC; color: #D2463C; }
.btn.block { width: 100%; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card + .card { margin-top: 12px; }
.section-title { font-size: 15px; font-weight: 700; margin: 22px 2px 10px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input {
  height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); outline: none; width: 100%;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--coral); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.seg button { height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; color: var(--ink-2); }
.seg button.on { border-color: var(--rose); color: var(--rose); background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 34px; padding: 0 13px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip.on { border-color: var(--rose); background: var(--soft); color: var(--rose); }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips.scroll::-webkit-scrollbar { display: none; }

.check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--rose); margin: 1px 0 0; flex-shrink: 0; }
.check .req { color: var(--rose); font-weight: 700; margin-right: 2px; }
.check a { color: var(--sub); text-decoration: underline; margin-left: auto; font-size: 12px; white-space: nowrap; }

.toggle { position: relative; width: 46px; height: 28px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 14px; background: #E6DCD9; transition: .2s; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.toggle input:checked + span { background: var(--rose); }
.toggle input:checked + span::after { transform: translateX(18px); }

.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { min-width: 0; }
.list-item .chev { color: #C9BDBA; }

.ai-tag { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 6px; background: #F3EEF9; color: #7656B8; font-size: 11px; font-weight: 700; white-space: nowrap; }
.notice-bar { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #FFF6E8; color: #8A5A12; font-size: 13px; margin-bottom: 12px; }

/* 아바타 */
.avatar { position: relative; flex-shrink: 0; border-radius: 40%; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.avatar .init { font-size: .42em; text-shadow: 0 1px 6px rgba(0,0,0,.12); }

/* 랜딩 */
.landing { justify-content: space-between; padding: 0 24px 32px; background: radial-gradient(circle at 80% 10%, #FFE3DC 0, transparent 45%), radial-gradient(circle at 0% 60%, #FDE3EC 0, transparent 40%), var(--bg); }
.landing .hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; }
.landing .hero svg.mark { width: 120px; height: 120px; }
/* 로고 워드마크: 주황 → 분홍 그라디언트 (design/logo-v2-*.webp 참고) */
.landing .brand { font-size: 34px; font-weight: 900; letter-spacing: .02em; background: linear-gradient(90deg, #FF6B45 0%, #F43F5E 55%, #E91E6E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing .slogan { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.floating { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; width: 100%; max-width: 300px; }
.floating .b { align-self: flex-start; background: #fff; padding: 9px 14px; border-radius: 18px 18px 18px 6px; box-shadow: var(--shadow); font-size: 14px; animation: pop .5s both; }
.floating .b.me { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 18px 18px 6px 18px; }
.floating .b:nth-child(2) { animation-delay: .5s; } .floating .b:nth-child(3) { animation-delay: 1s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* 메인: 프로필 카드 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pcard { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard .photo { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; color: #fff; font-size: 64px; font-weight: 800; }
.pcard .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pcard .photo .ai-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); }
.pcard .photo .met { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.35); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.pcard .photo .shade { position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(transparent, rgba(0,0,0,.42)); }
.pcard .photo .nm { position: absolute; left: 12px; bottom: 10px; right: 12px; color: #fff; text-align: left; }
.pcard .photo .nm b { font-size: 17px; } .pcard .photo .nm span { font-size: 14px; opacity: .9; margin-left: 4px; font-weight: 500; }
.pcard .body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .tagline { font-size: 13px; font-weight: 700; line-height: 1.35; }
.pcard .kw { font-size: 12px; color: var(--sub); line-height: 1.4; }
.pcard .btn { margin-top: auto; height: 38px; font-size: 13px; border-radius: 11px; }
.silhouette { width: 62%; opacity: .9; }

.banner { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 14px; }
.banner .t { font-size: 13px; line-height: 1.45; }
.banner.active { background: var(--grad); color: #fff; }
.banner > svg { width: 20px; height: 20px; flex-shrink: 0; }
.trend { position: relative; }
.trend-item + .trend-item { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.trend-item .l { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.trend-item svg { display: block; overflow: visible; }
.trend .tp { cursor: pointer; }
.trend-tip { position: absolute; z-index: 5; width: 210px; padding: 8px 10px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; line-height: 1.45; pointer-events: none; }
.trend details { margin-top: 12px; }
.trend summary { cursor: pointer; }
.trend-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.trend-table th, .trend-table td { padding: 4px 2px; text-align: right; border-bottom: 1px solid var(--line); }
.trend-table th:first-child, .trend-table td:first-child { text-align: left; }
.banner .t { min-width: 0; }
.list-item .chev svg { width: 18px; height: 18px; display: block; }

/* 채팅 */
.chat-screen { height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 900px) { .chat-screen { height: calc(100vh - 48px); } }
.chat-screen.with-tabs { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255, 251, 247, .96); border-bottom: 1px solid var(--line); z-index: 5; }
.chat-head .who { flex: 1; min-width: 0; }
.chat-head .who b { font-size: 16px; }
.chat-head .who .sub { display: flex; gap: 6px; align-items: center; margin-top: 1px; }
.coach-banner { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 10px 12px; border-radius: 14px; background: #F1FAF7; color: #23735F; font-size: 13px; animation: pop .3s both; }
.coach-banner .btn { height: 32px; font-size: 12px; background: #fff; color: #23735F; }
.msgs { flex: 1; overflow-y: auto; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 3px; overscroll-behavior: contain; }
.day-sep { align-self: center; margin: 14px 0 8px; padding: 3px 12px; border-radius: 999px; background: rgba(0,0,0,.05); color: var(--sub); font-size: 12px; }
.sys-note { align-self: center; max-width: 85%; text-align: center; margin: 8px 0; padding: 8px 12px; border-radius: 12px; background: #F6F1EF; color: var(--sub); font-size: 12px; }
.mrow { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.mrow.me { flex-direction: row-reverse; }
.mrow.first { margin-top: 10px; }
.mrow .av-slot { width: 38px; flex-shrink: 0; align-self: flex-start; }
.mcol { display: flex; flex-direction: column; gap: 4px; max-width: 74%; }
.mrow.me .mcol { align-items: flex-end; }
.mcol .nm { font-size: 12px; color: var(--ink-2); margin-left: 2px; }
.bline { display: flex; align-items: flex-end; gap: 5px; }
.mrow.me .bline { flex-direction: row-reverse; }
.bubble { padding: 9px 13px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.45; }
.mrow.them .bubble { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; }
.mrow.them:not(.first) .bubble { border-top-left-radius: 18px; }
.mrow.me .bubble { background: var(--grad); color: #fff; border-top-right-radius: 6px; }
.mrow.me:not(.first) .bubble { border-top-right-radius: 18px; }
.meta { display: flex; flex-direction: column; font-size: 10.5px; color: var(--sub); white-space: nowrap; line-height: 1.25; }
.mrow.me .meta { align-items: flex-end; }
.meta .rd { color: var(--rose); font-weight: 600; }
.bubble.anim { animation: pop .25s both; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #CDBFBB; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.composer-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 0; }
.ask-mm { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #F1FAF7; color: #23735F; font-size: 12px; font-weight: 700; }
.ask-mm svg { width: 15px; height: 15px; }
.composer { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 10px; background: var(--bg); }
.composer textarea {
  flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 22px; border: 1.5px solid var(--line);
  background: var(--surface); resize: none; outline: none; line-height: 1.4;
}
.composer textarea:focus { border-color: var(--coral); }
.send-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.send-btn:disabled { background: #E9DFDC; }
.send-btn svg { width: 20px; height: 20px; }

/* 주선자 */
.mm-color { background: linear-gradient(135deg, #7CD3BE, #3BA58E); }
.mrow.mm .bubble { background: #F1FAF7; border: 1px solid #D8EFE8; border-top-left-radius: 6px; }
.mrow.mm:not(.first) .bubble { border-top-left-radius: 18px; }
.mrow.mm .kind { font-size: 11px; color: #23735F; font-weight: 700; }
/* 카카오 로그인 버튼 (카카오 디자인 가이드: 배경 #FEE500, 글자 검정 85%, 말풍선 심볼) */
.btn.kakao { background: #FEE500; color: rgba(0, 0, 0, .85); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; }
.btn.kakao:active { filter: brightness(.96); }
.kakao-sym { width: 20px; height: 20px; flex: none; }
.kakao-done { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 16px; background: #FEE500; color: rgba(0, 0, 0, .85); font-weight: 600; margin-bottom: 12px; }
.kakao-done .kakao-sym { width: 16px; height: 16px; }
.dev-links { margin-top: 14px; }
.dev-links a { color: var(--sub); text-decoration: underline; }
.mm-pop { text-align: left; }
.mm-pop-head { display: flex; align-items: center; gap: 10px; }
.mm-pop-head b { font-size: 15px; }
.mm-pop-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mm-pop-bubble { margin: 14px 0 2px 54px; padding: 10px 14px; background: var(--soft); border-radius: 4px 16px 16px 16px; font-size: 15px; line-height: 1.45; width: fit-content; max-width: calc(100% - 54px); }
.mm-row-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.mm-link { margin: 4px 0 6px 46px; }
.mm-link a { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line, #e8e2de); color: var(--ink, #222); font-size: 13px; font-weight: 600; text-decoration: none; }
.mm-link a:active { background: #f6f1ee; }
.suggest { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px 46px; max-width: calc(100% - 46px); }
.suggest .s { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.suggest .s .st { font-size: 12px; font-weight: 700; color: #23735F; margin-bottom: 3px; }
.suggest .s .tx { font-size: 14px; }
.suggest .s .acts { display: flex; gap: 6px; margin-top: 8px; }
.cost-line { text-align: center; font-size: 12px; color: var(--sub); padding: 4px 0 0; }
.quick { padding: 6px 12px 0; }
.rating { display: flex; gap: 4px; align-items: center; margin: 6px 0 0 46px; font-size: 12px; color: var(--sub); }
.rating button { font-size: 20px; color: #E6DCD9; line-height: 1; }
.rating button.on { color: #FFB547; }

/* 시트/모달 */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(30, 18, 20, .42); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s both; }
.overlay.center { align-items: center; padding: 24px; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: var(--app-w); max-height: 88vh; overflow-y: auto; background: var(--bg); border-radius: 24px 24px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .25s both; }
.overlay.center .sheet { border-radius: 22px; max-width: 360px; padding: 22px 20px 18px; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: #E6DCD9; margin: 0 auto 14px; }
.sheet h3 { margin: 4px 0 12px; font-size: 19px; }
.sheet .acts { display: flex; gap: 8px; margin-top: 16px; }
.sheet .acts .btn { flex: 1; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-list label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; }
.radio-list input { accent-color: var(--rose); width: 18px; height: 18px; margin: 0; }
.radio-list label:has(input:checked) { border-color: var(--rose); background: var(--soft); }
.product { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); width: 100%; text-align: left; }
.product + .product { margin-top: 8px; }
.product .n { font-weight: 800; font-size: 16px; }
.product .p { margin-left: auto; font-weight: 800; color: var(--rose); }
.product.best { border-color: var(--rose); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px); transform: translateX(-50%); z-index: 200; background: rgba(34, 27, 29, .92); color: #fff; padding: 11px 18px; border-radius: 14px; font-size: 14px; max-width: 88%; text-align: center; animation: pop .2s both; }

/* 소개 화면 */
.intro { flex: 1; display: flex; flex-direction: column; padding: 16px; gap: 6px; }
.intro .msgs { padding: 0; overflow: visible; }
.intro-card { margin-top: auto; text-align: center; padding: 22px 16px; animation: pop .4s both; }
.intro-card .avatar { margin: 0 auto 10px; }

/* 리포트 */
.metric { margin: 10px 0; }
.metric .l { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.bar { height: 8px; border-radius: 4px; background: #F3E9E6; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.report-label { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--soft); color: var(--rose); font-weight: 800; font-size: 16px; }
.blist { margin: 6px 0 0; padding-left: 18px; }
.blist li { margin: 4px 0; font-size: 14px; }
.mm-say { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #F1FAF7; font-size: 14px; white-space: pre-wrap; }
.progress-ring { font-size: 28px; font-weight: 800; color: var(--rose); }
.empty { text-align: center; padding: 48px 16px; color: var(--sub); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 12px; opacity: .8; }
.doc { font-size: 14px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.7; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #F3E2DE; border-top-color: var(--rose); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { padding: 60px 0; }

/* ═════════ 채팅 앱 스타일 ═════════ */
:root { --bg: #FFFFFF; --wall: #F3EAE6; --mine: #FFD3D8; --mine-ink: #3A1820; }
.topbar { background: rgba(255,255,255,.94); }
.topbar.big { height: 60px; }
.topbar.big h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.app-tab .content.flush { padding: 4px 0 24px; }
.app-tab .content.flush > .notice-bar, .app-tab .content.flush [data-banners] > * { margin-left: 16px; margin-right: 16px; }
.app-tab .ticket-chip { height: 28px; }

/* 하단 탭 4개 */
.tabbar { grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.98); border-top-color: #F1ECEA; }
.tab.on { color: var(--ink); }
.tab.on svg { color: var(--rose); }
.tab-cnt { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }

/* 채팅방 목록 */
.rooms { display: flex; flex-direction: column; }
.room .pin { display: inline-flex; color: #C7B9B5; }
.room .pin svg { width: 13px; height: 13px; }
.room.faded .who b { color: var(--ink-2); font-weight: 600; }
.style-tag.mm { color: #23735F; background: #E4F5EF; }
.style-tag.on { color: #fff; background: var(--rose); }
.list-foot { font-size: 12px; color: var(--sub); text-align: center; padding: 14px 24px 0; margin: 0; }

/* 친구 목록 */
.friend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.friend:hover { background: rgba(236, 85, 120, .04); }
.friend .avatar { border-radius: 38%; }
.friend.me { padding: 12px 16px 14px; border-bottom: 1px solid #F3EEEC; margin-bottom: 4px; }
.friend.me b { font-size: 17px; }
.friend .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.friend .mid b { font-size: 15px; font-weight: 700; }
.friend .age { font-size: 12.5px; color: var(--sub); font-weight: 500; }
.friend .sub, .friend .status { font-size: 12.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend .say { flex-shrink: 0; max-width: 42%; font-size: 11.5px; color: var(--ink-2); padding: 5px 10px; border-radius: 12px; border: 1px solid #EEE6E3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.friend .say.on { border-color: var(--rose); color: var(--rose); font-weight: 700; }
.f-sec { font-size: 12.5px; color: var(--sub); padding: 14px 16px 6px; }
.f-sec span { margin-left: 3px; }
.f-sec { display: flex; align-items: baseline; }
.rule-fold { margin-top: 14px; font-size: 13px; color: var(--sub); }
.rule-fold summary { cursor: pointer; padding: 6px 2px; }
.rule-fold .blist { margin: 6px 0 0; }
.f-note { margin-left: 6px; font-size: 11px; color: #B8ABA8; }
.f-link { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--rose); text-decoration: none; }
.app-tab .story-row { margin: 0 0 4px; padding: 4px 16px 6px; }
.app-tab .filters { margin: 2px 0 6px; padding: 0 16px; }
.app-tab .filters .chip { height: 30px; font-size: 12.5px; }
.me-color { background: linear-gradient(135deg, #FFD3C7, #F7A6B9); }
.app-tab .card, .app-tab .list { box-shadow: none; border: 1px solid #F1ECEA; }
.app-tab .card.row .avatar { border-radius: 38%; }
/* 기본 프로필(사진 없을 때) */
.avatar.dflt { background: #E2D9D6; }
.avatar.dflt.mm-color { background: #9ED8C8; }
.avatar.dflt.me-color { background: #F2C6CC; }
.avatar .sil { display: block; width: 100%; height: 100%; }
/* 시트·목록 아이콘 크기 고정 */
.list-item > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-2); }
.room-view .composer { padding-left: 12px; }
/* 대화방 상단: 주선자 코칭 버튼 */
.mm-pill { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px 0 5px; border-radius: 15px; background: #fff; color: #23735F; font-size: 12px; font-weight: 700; white-space: nowrap; flex-shrink: 0; box-shadow: 0 1px 3px rgba(80, 40, 40, .08); }
.mm-pill .avatar { border-radius: 50% !important; }
.mm-pill .dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); border: 2px solid var(--wall); }
.center-link { display: block; margin: 14px auto 0; color: var(--sub); font-weight: 600; }

/* 내 프로필 편집 */
.me-edit .topbar h1 { flex: 1; }
.link-btn.top-done { margin: 0; font-size: 15px; color: var(--rose); }
.me-hero { display: flex; flex-direction: column; align-items: center; padding: 22px 24px 18px; border-bottom: 8px solid #F7F3F2; }
.me-photo { position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.me-photo .avatar { border-radius: 38%; }
.me-photo .cam { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink-2); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.me-photo .cam svg { width: 17px; height: 17px; }
.nick-field { position: relative; display: flex; align-items: center; width: 100%; max-width: 260px; margin-top: 16px; border-bottom: 1.5px solid var(--line); }
.nick-field:focus-within { border-bottom-color: var(--rose); }
.nick-input { flex: 1; min-width: 0; border: 0; outline: none; background: none; text-align: center; font-size: 19px; font-weight: 800; padding: 6px 34px 8px; }
.nick-count { position: absolute; right: 0; font-size: 11px; color: var(--sub); }
.pref-card { padding: 4px 0 0; }
.me-gender { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 300px; margin-top: 18px; }
.seg.sm { grid-auto-columns: minmax(72px, 1fr); }
.seg.sm button { height: 38px; border-radius: 11px; font-size: 13.5px; }
.me-gender .seg.sm { flex: 1; max-width: 190px; }
.pref-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.pref-head b { font-size: 16px; }
.pref-label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 16px 0 8px; }
.me-photo-av { overflow: hidden; }

/* 채팅: 동시 대화 자리 표시, 종료된 대화 접기 */
.slot-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 2px 16px 6px; padding: 8px 12px; border-radius: 12px; background: #F7F3F2; font-size: 12px; color: var(--sub); }
.slot-line b { color: var(--ink); }
.slot-line.full { background: var(--soft); color: #B23C5C; }
.slot-line.full b { color: var(--rose); }
.ended-fold { margin-top: 8px; border-top: 1px solid #F3EEEC; }
.ended-fold summary { padding: 12px 16px; font-size: 13px; color: var(--sub); cursor: pointer; list-style: none; }
.ended-fold summary::-webkit-details-marker { display: none; }
.ended-fold summary::after { content: ' ▾'; }
.ended-fold[open] summary::after { content: ' ▴'; }

/* 상한에 걸렸을 때: 종료할 대화 고르기 */
.limit-list { display: flex; flex-direction: column; gap: 6px; }
.limit-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); }
.limit-row.picked { border-color: var(--rose); background: var(--soft); }
.limit-row .avatar { border-radius: 38%; }
.limit-row .ln1 { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.limit-row .ln2 { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.limit-row .ln3 { font-size: 11.5px; color: var(--sub); }
.limit-row .btn { flex-shrink: 0; }
.limit-confirm { margin-top: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--rose); font-size: 14px; line-height: 1.5; }
.limit-confirm .acts { margin-top: 10px; }

/* 대화 상태 표시 */
.state-tag { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; color: #8C8084; background: #F2EEED; white-space: nowrap; }
.state-tag.on { color: #fff; background: var(--rose); }
.room { cursor: pointer; }
.room .av { background: none; border: 0; padding: 0; cursor: pointer; }
.room:focus-visible { outline: 2px solid var(--rose); outline-offset: -2px; }

/* 대화방 상단: 이름 누르면 프로필 */
.head-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.head-who .who { display: block; min-width: 0; }
.head-who .who .sub { display: block; }

/* 프로필 (메신저 프로필처럼 전체 화면) */
.pf-view { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; color: #fff; background: linear-gradient(180deg, #6F6264 0%, #3F3537 70%, #2E2627 100%); animation: fade .2s both; max-width: 480px; margin: 0 auto; }
@media (min-width: 900px) { .pf-view, .ph-view { max-width: var(--app-w); top: 24px; bottom: 24px; border-radius: 28px; overflow: hidden; } }
.pf-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0; }
.pf-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 12px; }
.pf-icon:hover { background: rgba(255,255,255,.1); }
.pf-icon svg { width: 24px; height: 24px; }
.pf-ai { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 10px; background: rgba(255,255,255,.16); }
.pf-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 24px 24px; text-align: center; gap: 6px; }
.pf-photo { position: relative; margin-bottom: 8px; }
.pf-photo .avatar { border-radius: 38%; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.pf-count { position: absolute; right: -4px; bottom: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.pf-name { font-size: 20px; font-weight: 800; }
.pf-name span { font-size: 15px; font-weight: 500; opacity: .75; margin-left: 2px; }
.pf-status { font-size: 14px; opacity: .85; }
.pf-kw { font-size: 12px; opacity: .65; }
.pf-state { margin-top: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 10px; background: rgba(255,255,255,.14); }
.pf-state.active { background: var(--rose); }
.pf-actions { display: flex; justify-content: center; gap: 28px; padding: 16px 0 10px; border-top: 1px solid rgba(255,255,255,.14); }
.pf-act { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 12.5px; min-width: 72px; }
.pf-act svg { width: 26px; height: 26px; }
.pf-note { margin: 0; padding: 0 28px calc(18px + env(safe-area-inset-bottom)); font-size: 11px; opacity: .55; text-align: center; line-height: 1.5; }

/* 사진 넘겨 보기 */
.ph-view { position: fixed; inset: 0; z-index: 160; background: #111; color: #fff; display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; animation: fade .15s both; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 12px; }
.ph-n { font-size: 14px; opacity: .85; }
.ph-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.ph-track::-webkit-scrollbar { display: none; }
.ph-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 12px; }
.ph-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.ph-slide .avatar { border-radius: 38%; }
.ph-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.ph-nav svg { width: 22px; height: 22px; }
.ph-nav.prev { left: 10px; } .ph-nav.next { right: 10px; }
.ph-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 calc(18px + env(safe-area-inset-bottom)); }
.ph-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.ph-dots i.on { background: #fff; }

/* 리포트: 상대별 대화 궁합 */
.compare { padding: 6px 14px 14px; }
.cmp-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F3EEEC; text-decoration: none; color: inherit; }
.cmp-row:last-of-type { border-bottom: 0; }
.cmp-row .avatar { border-radius: 38%; }
.rank { width: 18px; text-align: center; font-size: 13px; font-weight: 800; color: var(--sub); flex-shrink: 0; }
.rank.top { color: var(--rose); }
.cmp-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cmp-name { display: flex; align-items: center; gap: 6px; }
.cmp-name b { font-size: 14.5px; }
.cmp-bar { display: block; height: 8px; border-radius: 4px; background: #F3E9E6; overflow: hidden; }
.cmp-bar i { display: block; height: 100%; border-radius: 4px; background: var(--rose); }
.cmp-stats { font-size: 11.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-score { flex-shrink: 0; font-size: 20px; font-weight: 800; color: var(--ink); min-width: 46px; text-align: right; }
.cmp-score small { font-size: 11px; font-weight: 600; color: var(--sub); margin-left: 1px; }
.compare details { margin-top: 10px; }
.cmp-row.short { opacity: .7; }
.best-match { display: flex; align-items: center; gap: 12px; margin: 8px 0 4px; padding: 12px; border-radius: 14px; background: var(--soft); }
.best-match .avatar { border-radius: 38%; }
.best-match b { font-size: 16px; }

/* 소개팅 종료 후 평가 카드 */
.eval-card { margin: 14px 0 4px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 2px 12px rgba(80, 40, 40, .07); animation: pop .35s both; }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ev-head b { font-size: 15px; }
.ev-score { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 8px; }
.ev-score .num { font-size: 34px; font-weight: 800; color: var(--rose); line-height: 1; }
.ev-score .unit { font-size: 14px; font-weight: 700; color: var(--sub); }
.ev-score .grade { margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.ev-label { margin: 10px 0 6px; display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--soft); color: var(--rose); font-size: 13px; font-weight: 800; }
.ev-line { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.5; margin-top: 6px; }
.ev-line b { flex-shrink: 0; width: 44px; color: var(--sub); font-size: 12px; padding-top: 1px; }
.ev-line.good b { color: #23735F; }
.ev-stats { margin-top: 10px; font-size: 11.5px; color: var(--sub); }
.chev { display: inline-flex; color: #C9BDBA; }
.chev svg { width: 18px; height: 18px; }

/* 채팅방 */
.room-view { background: var(--wall); }
.room-view .chat-head { background: var(--wall); border-bottom: 0; padding: 6px 8px; gap: 8px; }
.room-view .chat-head .who b { font-size: 16px; }
.room-view .chat-head .who .age { font-size: 13px; color: var(--sub); }
.room-view .chat-head .who .sub { display: block; font-size: 11.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0; }
.room-view .avatar { border-radius: 38%; }
.room-view .msgs { padding: 6px 12px 10px; }
.room-view .day-sep { background: rgba(80, 50, 50, .1); color: #6E5E60; }
.room-view .mcol .nm { color: #5E5052; }
.room-view .bubble { font-size: 15.5px; line-height: 1.45; padding: 9px 13px; border-radius: 17px; box-shadow: 0 1px 1px rgba(80, 40, 40, .05); } /* 2026-11-29 카카오톡 기본 크기에 맞춤 (14.5 → 15.5) */
@media (min-width: 900px) { .room-view .bubble { font-size: 16px; } }
.room-view .mrow.them .bubble, .room-view .mrow.mm .bubble { background: #fff; border: 0; border-top-left-radius: 4px; }
.room-view .mrow.them:not(.first) .bubble, .room-view .mrow.mm:not(.first) .bubble { border-top-left-radius: 16px; }
.room-view .mrow.me .bubble { background: var(--mine); color: var(--mine-ink); border-top-right-radius: 4px; }
.room-view .mrow.me:not(.first) .bubble { border-top-right-radius: 16px; }
.room-view .meta { color: #8F7F81; }
/* 주선자 채팅: 추천 친구 카드, 무료 버튼 */
.pick-cards { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 6px -12px 4px; padding: 2px 12px 6px 58px; }
.pick-cards::-webkit-scrollbar { display: none; }
.pick-card { flex: 0 0 128px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 10px; border-radius: 16px; background: #fff; border: 0; font: inherit; color: inherit; text-align: center; cursor: pointer; text-decoration: none; box-shadow: 0 1px 4px rgba(80, 40, 40, .07); animation: pop .3s both; }
.pick-card:active { transform: scale(.97); }
.pick-card .avatar { border-radius: 38%; margin-bottom: 4px; }
.pick-card b { font-size: 14px; }
.pick-card b span { font-size: 12px; color: var(--sub); font-weight: 500; }
.pick-card small { font-size: 11px; color: var(--rose); font-weight: 700; }
.pick-card .pc-line { font-size: 11.5px; color: var(--sub); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-card .pc-tag { margin-top: 2px; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--rose); padding: 1px 6px; border-radius: 6px; }
.pick-card .pc-tag.off { background: #F2EEED; color: var(--sub); }
.pick-card.more { justify-content: center; flex-basis: 96px; color: var(--ink-2); }
.pc-more-ic { width: 44px; height: 44px; border-radius: 50%; background: #F5F1F0; display: grid; place-items: center; margin-bottom: 4px; }
.pc-more-ic svg { width: 22px; height: 22px; }
.pick-card.more small { color: var(--sub); font-weight: 500; }
.chip.free { border-color: var(--rose); color: var(--rose); background: #fff; }
.chip.free small { margin-left: 3px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--rose); padding: 1px 5px; border-radius: 6px; }

/* 대화방 가운데 알림 (초대·퇴장) */
.room-notice { align-self: center; max-width: 88%; margin: 8px 0; padding: 4px 12px; border-radius: 999px; background: rgba(80, 50, 50, .1); color: #6E5E60; font-size: 12px; text-align: center; }
.room-notice.anim { animation: pop .25s both; }
.unread-1 { color: var(--rose); font-weight: 800; font-size: 11px; }
.room-view .typing { background: #fff; }
.room-view .sys-note { background: rgba(255,255,255,.7); }
.room-view .coach-banner { background: #fff; box-shadow: 0 2px 10px rgba(80, 40, 40, .06); }
.room-view .composer { background: #fff; align-items: flex-end; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.room-view .composer.ended { align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.composer .plus { width: 40px; height: 40px; color: var(--sub); flex-shrink: 0; }
.field-wrap { flex: 1; display: flex; align-items: flex-end; background: #F5F1F0; border-radius: 20px; min-height: 40px; }
.room-view .composer textarea { border: 0; background: transparent; min-height: 40px; padding: 10px 4px 10px 14px; border-radius: 20px; }
.field-wrap .left { display: inline-flex; align-items: center; gap: 3px; height: 40px; padding: 0 12px 0 6px; font-size: 11px; color: var(--sub); flex-shrink: 0; }
.field-wrap .left svg { width: 13px; height: 13px; }
.room-view .send-btn { width: 40px; height: 40px; background: var(--rose); }
.room-view .send-btn:disabled { background: #EFE7E5; color: #fff; }
.room-view .quick { padding: 6px 12px 2px; }
.room-view .quick .chip { background: #fff; border-color: transparent; height: 32px; font-size: 12.5px; }
.room-view .cost-line { padding: 4px 0; }
.room-view .intro { background: var(--wall); }
.room-view .suggest .s { border: 0; }

/* ───────── 홈: 톡이 먼저 오는 화면 ───────── */
.home .avatar { border-radius: 50%; }
.home .sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.home .sec-head b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }

/* 링: 새 소개 / 대화 중 표시 */
.ring { padding: 2.5px; border-radius: 50%; background: var(--grad); display: inline-grid; }
.ring > .avatar { border: 2.5px solid var(--bg); }
/* 새로 온 친구: 기본 프로필 모양(둥근 사각형) 그대로, 바깥 라인만 색 */
.story small { font-size: 10.5px; color: var(--sub); margin-top: -3px; }
.pick-say { display: flex; align-items: center; gap: 6px; margin: -2px 16px 8px; font-size: 12.5px; color: #23735F; }
.pick-say .avatar { border-radius: 50%; }
/* '전체 연령' 선택 칩과 같은 라인: 1.5px 로즈, 회색 배경이 라인 밑으로 비치지 않게 바깥 틀에 그림 */
.story .ring { background: #fff; padding: 0; border: 1.5px solid var(--rose); border-radius: 38%; overflow: hidden; }
.story .ring > .avatar { border-radius: 0 !important; border: 0; }
.ring.on { background: conic-gradient(from 0deg, #FF8A72, #EC5578, #FF8A72); }

/* 스토리 줄 */
.story-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px 4px; }
.story-row::-webkit-scrollbar { display: none; }
.story { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; flex-shrink: 0; }
.story:active { transform: scale(.96); }

/* 대화 중 카드 */
.now-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: inherit; border: 1.5px solid color-mix(in srgb, var(--tint, var(--rose)) 35%, transparent); }
.now-card .who { display: flex; align-items: baseline; gap: 8px; }
.now-card .who b { font-size: 15px; }
.now-card .time { font-size: 11px; color: var(--sub); }
.now-card .preview { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.now-card .preview .me { font-size: 11px; font-weight: 700; color: var(--sub); margin-right: 5px; }
.now-card > svg { width: 18px; height: 18px; color: var(--sub); flex-shrink: 0; }
.new-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex-shrink: 0; box-shadow: 0 0 0 4px var(--soft); }

/* 주선자 말풍선 */
.mm-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; }
.mm-line .from { font-size: 12px; color: var(--sub); margin: 0 0 4px 2px; }
.mm-line .bub { display: inline-block; max-width: 100%; background: #F3EEF9; color: #3E2D63; font-size: 13.5px; line-height: 1.5; padding: 10px 13px; border-radius: 4px 16px 16px 16px; }
.link-btn { display: table; margin: 6px 0 0 4px; background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: #7656B8; text-decoration: none; cursor: pointer; }

/* 필터 */
.home .filters { margin-bottom: 6px; }
.home .filters .chip { height: 32px; font-size: 12.5px; }
.chip-sep { width: 1px; align-self: stretch; margin: 6px 2px; background: var(--line); flex-shrink: 0; }

/* 받은 톡 목록: 채팅방 리스트 느낌 */
.inbox { display: flex; flex-direction: column; margin: 4px -16px 0; }
.room { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; animation: rowIn .35s ease both; }
.room:hover { background: rgba(236, 85, 120, .04); }
.room:active { background: rgba(236, 85, 120, .08); }
.room .av { position: relative; flex-shrink: 0; }
.room .avatar { border-radius: 38%; }
.room .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.room .who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.room .who b { font-size: 15px; font-weight: 700; }
.room .age { font-size: 12.5px; color: var(--sub); }
.room .last { font-size: 13.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room.unread .last { color: var(--ink-2); }
.room .side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; align-self: stretch; padding-top: 3px; }
.room .when { font-size: 11px; color: var(--sub); white-space: nowrap; }
.room .when.on { color: var(--rose); font-weight: 700; }
.room .cnt { min-width: 19px; height: 19px; padding: 0 6px; border-radius: 10px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.room .ai-mini { position: absolute; right: -2px; bottom: -2px; height: 17px; padding: 0 5px; border-radius: 9px; background: #fff; color: #7656B8; font-size: 9.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.style-tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; color: color-mix(in srgb, var(--tint) 55%, #3a1d24); background: color-mix(in srgb, var(--tint) 16%, #fff); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .room { animation: none; } }

/* 신고 · 차단 · 안전 안내 */
.menu-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.menu-list .list-item { font-size: 15px; }
.list-item.danger .grow { color: #D2463C; font-weight: 600; }
.report-quote { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--rose); background: var(--soft); border-radius: 8px; font-size: 13px; color: var(--ink-2); white-space: pre-wrap; }
.room-notice.safety { max-width: 92%; border-radius: 12px; padding: 8px 14px; background: #FFF4E5; color: #7A4B12; line-height: 1.5; }
.room-notice.safety a { color: inherit; font-weight: 700; text-decoration: underline; }
.mrow.them .bubble { -webkit-touch-callout: none; }

/* 네이버 로그인 버튼 (네이버 가이드: #03C75A, 흰 글자) */
.btn.naver { background: #03C75A; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; margin-top: 8px; }
.btn.naver:active { filter: brightness(.96); }
.btn.naver .kakao-sym { width: 16px; height: 16px; }
.kakao-done.naver { background: #03C75A; color: #fff; }

/* 사진 앨범 (임시 사진·잠긴 사진·사진 메시지) */
.alb-ph { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 6px; }
.alb-ph.real { padding: 0; background: #eee; }
.alb-ph.real img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.alb-ph .alb-ic { font-size: 30px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }
.alb-ph .alb-cap { margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.2); word-break: keep-all; }
.alb-ph .alb-tmp { position: absolute; right: 6px; bottom: 5px; font-size: 9px; opacity: .8; }
.alb-ph.locked { filter: saturate(.6); }
.alb-ph.locked::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(6px); background: rgba(255,255,255,.18); }
.alb-ph.locked > * { position: relative; }
.alb-ph .alb-lock { font-size: 22px; }
.alb-ph .alb-hint { margin-top: 4px; font-size: 10px; font-weight: 600; line-height: 1.3; word-break: keep-all; }
.alb-ph.big { width: min(86vw, 420px); border-radius: 18px; }
.alb-ph.big .alb-ic { font-size: 64px; }
.alb-ph.big .alb-cap { font-size: 18px; }
.alb-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.alb-stage-cap { color: #fff; font-size: 14px; }
.photo-msg { display: block; width: 168px; padding: 0; border: 0; background: none; cursor: zoom-in; margin-bottom: 4px; }
.photo-msg .alb-ph { border-radius: 14px; }
.pf-album { width: 100%; max-width: 360px; margin: 14px auto 0; padding: 0 16px; }
.pf-album-head { display: flex; justify-content: space-between; align-items: baseline; color: #fff; font-size: 14px; margin-bottom: 8px; }
.pf-album-head span { font-size: 12px; opacity: .85; }
.pf-album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pf-album-item { padding: 0; border: 0; background: none; cursor: pointer; }
.pf-album-item[aria-disabled="true"] { cursor: default; }
.pf-album-item .alb-ph .alb-ic { font-size: 20px; }
.pf-album-item .alb-ph .alb-cap { font-size: 9px; margin-top: 3px; }
.pf-album-item .alb-ph .alb-tmp { display: none; }
.pf-album-item .alb-ph .alb-lock { font-size: 20px; }
.pf-album-item .alb-ph .alb-hint { display: none; }
.pf-album-note { color: rgba(255,255,255,.85); font-size: 11px; text-align: center; margin: 8px 0 0; }

/* 선물하기 */
.gift-btn { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 20px; cursor: pointer; }
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gift-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.gift-item:active { border-color: var(--rose); background: var(--soft); }
.gift-item .gift-emoji { font-size: 30px; }
.gift-item b { font-size: 13px; }
.gift-item small { font-size: 11px; color: var(--rose); font-weight: 700; }
.gift-card { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 150px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, #FFF4F1, #FFE1E4); border: 1px solid #FFD0D5; color: var(--ink); }
.gift-card.anim { animation: pop .25s both; }
.gift-card .gift-emoji { font-size: 40px; line-height: 1.1; }
.gift-card .gift-name { font-weight: 800; font-size: 14px; }
.gift-card .gift-sub { font-size: 11px; color: var(--sub); }
.pf-gifts { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 360px; margin: 12px auto 0; padding: 8px 16px; color: #fff; font-size: 13px; }
.pf-gifts span { font-size: 18px; }
.pf-gifts small { font-size: 11px; opacity: .85; margin-left: 1px; }

/* 관계 단계 · 고백 · 엔딩 */
.hearts { color: var(--rose); letter-spacing: -1px; font-size: 11px; }
.hearts i { font-style: normal; color: #E7DADA; }
.room-notice.stage-up { background: linear-gradient(90deg, #FFE7EA, #FFF1E6); color: #C2456A; font-weight: 700; padding: 6px 14px; }
.confess-banner { display: flex; align-items: center; gap: 10px; margin: 6px 12px 0; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, #FFE7EA, #FFF4F1); font-size: 13px; color: var(--ink); font-size: 13px; }
.confess-banner > :first-child { font-size: 20px; }
.bubble.confess { background: linear-gradient(135deg, #FF8FA3, #FF6F91); color: #fff; font-weight: 600; }
.ending-card { text-align: center; padding: 8px 4px 4px; }
.ending-card .ending-ic { font-size: 54px; line-height: 1.1; margin-bottom: 6px; animation: pop .35s both; }
.ending-card h3 { margin: 4px 0 6px; }
.pf-rel { width: 100%; max-width: 360px; margin: 14px auto 0; padding: 0 16px; color: #fff; text-align: center; }
.pf-rel .hearts { font-size: 16px; }
.pf-rel .hearts i { color: rgba(255,255,255,.3); }
.pf-rel-head { font-size: 14px; }
.pf-rel-bar { height: 6px; margin: 8px auto 4px; max-width: 240px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.pf-rel-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF9BB0, #FF6F91); }
.pf-rel-next { font-size: 11px; opacity: .85; }
/* 좁은 휴대폰: 대화방 상단에서 '주선자 코칭' 글자는 숨기고 아이콘만 (관계 단계 이름이 잘리지 않게) */
@media (max-width: 400px) {
  .chat-head .mm-pill span { display: none; }
  .chat-head .mm-pill { padding: 4px; }
}
.ending-card { display: block; }
.ending-card h3 { font-size: 18px; word-break: keep-all; }
.ending-card p { margin: 0; word-break: keep-all; }
.state-tag.bond { background: #FFEFF2; color: #C2456A; }
.card.tappable { cursor: pointer; }
.card.tappable:active { background: var(--soft); }
.chev-inline svg { width: 12px; height: 12px; vertical-align: -1px; opacity: .6; }

/* 새로 온 친구 NEW 표시 */
.story .ring { position: relative; }
.story .new-dot { position:absolute; right:3px; top:3px; min-width:18px; height:18px; padding:0 4px; border-radius:99px; background:var(--rose,#EC5578); color:#fff; font-size:10px; font-weight:800; font-style:normal; display:grid; place-items:center; border:2px solid #fff; }

/* 잠긴 앨범 사진: 실제 사진 모자이크 + 자물쇠 */
.alb-ph.locked-mosaic { position: relative; }
.alb-ph.locked-mosaic img { filter: saturate(.85); }
.alb-ph .alb-lockbox { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(0,0,0,.18); color: #fff; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.45); padding: 6px; }
.alb-ph .alb-lockbox .alb-hint { font-size: 11px; font-weight: 700; line-height: 1.3; word-break: keep-all; }
.pf-album-item .alb-lockbox .alb-hint { display: none; }
/* 사진 크게 보기: 자르지 않고 사진 전체 */
.alb-ph.real.big { aspect-ratio: auto; width: auto; max-width: min(92vw, 480px); max-height: 78vh; background: transparent; }
.alb-ph.real.big img { width: auto; height: auto; max-width: min(92vw, 480px); max-height: 78vh; object-fit: contain; border-radius: 18px; }

/* 글자만 있는 작은 버튼 (리포트·분석 삭제) */
.btn.link { background: none; border: 0; box-shadow: none; height: auto; padding: 8px 0; color: var(--sub, #8C8084); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* 충전 상품: 정가 취소선 + 할인율 */
.product .pp { margin-left: auto; text-align: right; }
.product .pp .p { margin-left: 0; }
.product .was { font-size: 12px; color: var(--sub, #8C8084); line-height: 1.2; }
.product .was .off { color: var(--rose); font-weight: 800; margin-left: 2px; }
.sale-bar { margin: 0 0 10px; padding: 9px 12px; border-radius: 12px; background: var(--soft, #FFF1EE); color: var(--rose); font-size: 13px; font-weight: 700; }

/* 공유용 리포트 상단: 대화 유형 · 상위 % · 성적표 · 속마음 · 명대사 */
.rp-type { padding: 22px 18px; background: linear-gradient(160deg, #FFF1F3, #fff 60%); }
.rp-emoji { font-size: 58px; line-height: 1.1; margin-top: 6px; }
.rp-name { font-size: 24px; font-weight: 900; margin-top: 4px; }
.rp-top { margin: 10px 0 4px; padding: 12px 14px; border-radius: 999px; background: var(--rose); color: #fff; font-weight: 800; text-align: center; }
.rp-grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rp-g { background: var(--surface, #fff); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 4px; text-align: center; }
.rp-g b { display: block; font-size: 24px; font-weight: 900; }
.rp-g span { font-size: 11px; color: var(--sub, #8C8084); }
.rp-g.hi b { color: var(--rose); }
.rp-take { background: var(--surface, #fff); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 8px; }
.rp-take b { font-size: 12px; color: var(--rose); }
.rp-take div { margin-top: 4px; font-weight: 600; line-height: 1.45; }
.rp-line { background: var(--soft, #FFF1EE); border-radius: 16px; padding: 12px 14px; font-weight: 700; color: var(--rose); line-height: 1.45; }

.pf-act-emoji { font-size: 24px; line-height: 26px; }

/* 메인 이용후기 흐름 (로그인 버튼 위) */
.review-flow { overflow: hidden; margin: 0 -20px 6px; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-track { display: flex; width: max-content; animation: rv-flow 35s linear infinite; }
.rv-dup { display: flex; }
.review-flow:hover .rv-track, .review-flow:active .rv-track { animation-play-state: paused; }
.rv { flex: 0 0 auto; width: 220px; margin-right: 10px; padding: 10px 12px; background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(236, 85, 120, .08); text-align: left; }
.rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.rv-star { color: #FFB23F; font-size: 12px; letter-spacing: 1px; }
.rv p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink, #221B1D); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes rv-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rv-track { animation: none; } .review-flow { overflow-x: auto; } }
/* 문의 · 후기 */
.inq { display: block; }
.inq summary { list-style: none; cursor: pointer; }
.inq summary::-webkit-details-marker { display: none; }
.inq-q { margin-top: 6px; white-space: pre-wrap; }
.inq-a { margin-top: 10px; padding: 10px 12px; background: #FFF4F6; border-radius: 12px; white-space: pre-wrap; }
.inq-st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #F1ECEE; color: #8C8084; }
.inq-st.on { background: #FFE3E8; color: var(--rose, #EC5578); }
.stars { display: flex; gap: 4px; }
.stars button { border: 0; background: none; font-size: 30px; line-height: 1; color: #E5DDE0; cursor: pointer; padding: 2px; }
.stars button.on { color: #FFB23F; }

/* 둘러보기 */
.browse .browse-lead { margin: 12px 20px 10px; }
.browse .browse-tabs { margin: 0 20px 6px; }
.browse .content { padding-bottom: 96px; }
.browse-cta { position: sticky; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg, #fff) 30%); }

/* 둘러보기: 가입 유도 · 소개 화면 */
.guest-cta { display: flex; align-items: center; gap: 12px; margin: 8px 16px 4px; padding: 14px 16px; background: linear-gradient(135deg, #FFF1F3, #FFF8F4); }
.browse .content:not(.flush) .guest-cta { margin: 14px 0 0; }
.guest-cta .grow { flex: 1; }
.guest-feat { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.guest-feat li { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.gf-ic { flex: 0 0 40px; height: 40px; border-radius: 14px; background: #FFF1F3; display: grid; place-items: center; font-size: 20px; }
.guest-hero { padding: 16px; }
.gdemo { display: flex; flex-direction: column; gap: 6px; }
.gdemo .b { align-self: flex-start; max-width: 78%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #F4EEF0; font-size: 14px; }
.gdemo .b.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--rose, #EC5578); color: #fff; }
/* 대화 유형 그림 (그림 파일이 없으면 이모지를 동그란 배지 안에) */
.type-art { position: relative; display: inline-grid; place-items: center; width: 140px; height: 140px; margin: 10px auto 2px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #FFF4F6 50%, #FFDCE4 100%); box-shadow: 0 8px 24px rgba(236, 85, 120, .22), inset 0 -6px 14px rgba(236, 85, 120, .12); }
.type-art i { font-style: normal; font-size: 56px; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .12)); }
.type-art img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(236, 85, 120, .25)); }
.type-art.sm img { inset: -10%; width: 120%; height: 120%; filter: none; }
.type-art img + i { visibility: hidden; }
.type-art.sm { width: 26px; height: 26px; margin: 0 2px; vertical-align: middle; box-shadow: none; }
.type-art.sm i { font-size: 15px; }
.rp-type .type-art { display: grid; }

/* 메인 '가입 전에 먼저 둘러보기' (브랜드 그라데이션으로 눈에 띄게) */
.browse-btn { background: linear-gradient(90deg, #FF9F86 0%, #FB7A93 55%, #F46A9B 100%); color: #fff; font-weight: 800; border: 0; box-shadow: 0 5px 14px rgba(244, 63, 94, .18); }
.browse-btn:hover { filter: brightness(1.04); }
.browse-btn span { margin-left: 4px; font-size: 1.15em; }

/* 카카오톡 인앱 브라우저 안내 띠 (index.html) */
.ext-bar { position: sticky; top: 0; z-index: 300; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px; background: #FEE500; color: #191919; font-size: 13px; font-weight: 600; }
.ext-bar button { flex-shrink: 0; height: 30px; padding: 0 12px; border-radius: 15px; background: #191919; color: #fff; font-size: 12.5px; font-weight: 700; }

/* 관심사 (2026-11-29) */
.ichips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 16px 8px; scrollbar-width: none; }
.ichips::-webkit-scrollbar { display: none; }
.ichips .chip { flex-shrink: 0; height: 32px; font-size: 13px; }
.ichips .chip small { margin-left: 2px; color: var(--sub); font-size: 11px; }
.ichips .chip.on small { color: inherit; opacity: .8; }
.itags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.itag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; background: #F4EEF0; color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.itag.on { background: #FFE3E8; color: var(--rose, #EC5578); font-weight: 700; }
.ishared { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--rose, #EC5578); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-int { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.pf-int .itag { height: 24px; padding: 0 10px; font-size: 12px; background: rgba(255,255,255,.16); color: #fff; }
.pf-int .itag.on { background: #fff; color: var(--rose, #EC5578); }
.pf-int-note { margin-top: 6px; font-size: 12px; font-weight: 700; color: #FFD0DA; }
