/* GF dating — 리퀴드 글라스(시안 A, 2026-11-05 오너 결정)
   배치: 폰(~767) 1칸 + 아래 탭 / 태블릿(768~1199) 2칸 / PC(1200~) 3칸
   html.glass = 흐림 유리, html.lite = 흐림 끈 가벼운 판(오래된 폰·동작 줄이기·느린 기기) */
:root {
  --ink: #fff; --mut: rgba(255, 255, 255, .72); --mut2: rgba(255, 255, 255, .55);
  --acc: #ff5d8f; --acc2: #ffb36b; --ok: #5ef0a0; --warn: #ffd166; --danger: #ff6b81; --ai: #7b3cff;
  --line: rgba(255, 255, 255, .28); --line2: rgba(255, 255, 255, .16);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .13));
  --glass-strong: linear-gradient(140deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .12));
  --fill: rgba(255, 255, 255, .12); --fill2: rgba(0, 0, 0, .2);
  --blur: blur(26px) saturate(180%);
  --gshadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 1px rgba(255, 255, 255, .1), inset 1px 0 0 rgba(255, 255, 255, .16), 0 12px 34px rgba(0, 0, 0, .26);
  --grad: linear-gradient(140deg, var(--acc), var(--acc2));
  --r: 24px; --ease: cubic-bezier(.22, 1, .36, 1);
  /* 관리자 화면 등 옛 이름 호환 */
  --bg: #1d1420; --bg2: rgba(0, 0, 0, .22); --card: rgba(255, 255, 255, .1); --card2: rgba(255, 255, 255, .14); --text: #fff; --muted: var(--mut); --pink: var(--acc); --pink2: #ff8fb0;
  color-scheme: dark;
}
html.lite {
  --glass: #2a1d33; --glass-strong: #352540; --blur: none;
  --gshadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .3);
  --line: rgba(255, 255, 255, .16); --fill: rgba(255, 255, 255, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #1d1420; color: var(--ink); font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", system-ui, sans-serif; font-size: 15px; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
.ico { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- 배경: 은은한 빛 + (유리판만) 지금 보는 사진을 흐리게 깐 빛 ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(60% 50% at 12% 8%, rgba(255, 110, 165, .42), transparent 70%), radial-gradient(50% 60% at 92% 92%, rgba(110, 140, 255, .36), transparent 70%), radial-gradient(40% 40% at 70% 20%, rgba(255, 179, 107, .22), transparent 70%), #1d1420; }
.amb { position: absolute; inset: -80px; background-size: cover; background-position: center; filter: blur(64px) saturate(1.5) brightness(.6); transform: scale(1.15); opacity: 0; transition: opacity .8s; }
.amb.on { opacity: .85; }
html.lite .amb { display: none; }

/* ---------- 유리 결 ---------- */
.glass-c, .side, .detail, .tabbar, .top, .card, .pinfo, .act-b, .row-item, .sheet, .ai-card, .ai-note, .bx, .composer .cbox, .tr-banner, .chip span, span.chip, .seg, .lang-switch, .notice, .msg.them .bub, .sugg, .auth-card, .feat, .strip, .sys, .ai-strip, .stats div, .rep {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--line); box-shadow: var(--gshadow);
}
html.lite .card, html.lite .sheet { box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.muted { color: var(--mut); }
.small { font-size: 13px; }
.center { text-align: center; }
.err { color: var(--danger); min-height: 1em; margin: 0; font-size: 14px; }
.link { color: #ffc2d6; font-weight: 700; }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo { display: inline-flex; align-items: center; gap: .3em; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; line-height: 1; }
.logo img { width: 1.6em; height: 1.6em; flex: none; border-radius: 22.5%; box-shadow: 0 4px 14px rgba(255, 79, 139, .35); }
.logo span { background: linear-gradient(120deg, #fff, #ffc2d6); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.logo.big { font-size: 44px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid var(--line); color: #ffe1ec; font-weight: 600; }
.pill.tiny { font-size: 11px; padding: 3px 9px; }

/* ---------- 큰 틀 ---------- */
.app { height: 100dvh; }
.frame { position: relative; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.side, .detail { display: none; min-height: 0; }
.main { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.scroll { flex: 1; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pad { padding: 14px; }
.pad-x { padding: 8px 16px 0; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }

.top { display: flex; align-items: center; gap: 10px; margin: 12px 12px 0; padding: 8px 10px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); border-radius: 26px; min-height: 56px; }
.top .logo { font-size: 18px; }
.top h1 { font-size: 18px; margin: 0; flex: 1; font-weight: 700; min-width: 0; }
.top-r { display: flex; gap: 8px; align-items: center; }
.ibtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); border: 1px solid var(--line2); flex: none; }
.ibtn .ico { width: 20px; height: 20px; }

/* 아래 탭(폰) */
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 12px calc(10px + env(safe-area-inset-bottom)); border-radius: 99px; padding: 4px; position: relative; z-index: 30; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; font-size: 10.5px; color: var(--mut); font-weight: 600; border-radius: 99px; transition: background .2s, color .2s; }
.tabbar a .ico { width: 21px; height: 21px; }
.tabbar a.on { color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.frame[data-view="chat"] .tabbar, .frame[data-view="aichat"] .tabbar { display: none; }

/* 왼쪽 칸(태블릿·PC) */
.side { margin: 14px 0 14px 14px; border-radius: 30px; padding: 20px 14px 16px; flex-direction: column; gap: 16px; }
.side .logo { font-size: 24px; padding: 0 8px; }
.snav { display: flex; flex-direction: column; gap: 4px; }
.snav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 18px; font-weight: 600; color: var(--mut); }
.snav a.on { color: #fff; background: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.snav a:hover { color: #fff; }
.side-sec h4 { font-size: 12px; font-weight: 600; color: var(--mut); margin: 0 8px 8px; }
.side-sec.grow { flex: 1; min-height: 0; overflow-y: auto; }
.newm { display: flex; gap: 10px; overflow-x: auto; padding: 2px 6px 6px; }
.nm-i { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--mut); flex: none; width: 60px; }
.nm-i .ph { width: 52px; height: 52px; border: 2px solid transparent; background: conic-gradient(var(--acc), var(--acc2), var(--acc)) border-box; }
.crow { display: flex; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 18px; border: 1px solid transparent; }
.crow.on { background: rgba(255, 255, 255, .16); border-color: var(--line2); }
.crow:hover { background: rgba(255, 255, 255, .08); }
.crow .ri-main b { font-size: 14px; }
.crow .ri-main p { font-size: 12px; margin: 2px 0 0; }
.side-foot { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: var(--mut); padding: 0 8px; }
.side-foot span { display: flex; gap: 6px; align-items: center; }
.side-foot .ico { width: 15px; height: 15px; }

/* 오른쪽 칸(PC) · 태블릿·폰에선 서랍 */
.detail { margin: 14px 14px 14px 0; border-radius: 30px; overflow: hidden; flex-direction: column; position: relative; }
.detail .dclose { position: absolute; right: 12px; top: 12px; z-index: 5; display: none; }
.drawer-bg { display: none; }
.d-empty { padding: 28px 20px; color: var(--mut); text-align: center; line-height: 1.6; }

@media (min-width: 768px) {
  .frame { grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .side { display: flex; }
  .tabbar { display: none !important; }
  .top { margin: 14px 14px 0; }
  .top .logo { display: none; }
  .back-m { display: none !important; }
  .detail.open { display: flex; position: fixed; right: 0; top: 0; bottom: 0; width: 400px; max-width: 92vw; z-index: 60; }
  .detail.open .dclose { display: grid; }
  .drawer-bg.open { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .35); }
}
@media (min-width: 1200px) {
  .frame { grid-template-columns: 300px minmax(0, 1fr) 380px; }
  .detail, .detail.open { display: flex; position: relative; width: auto; max-width: none; z-index: 1; }
  .detail .dclose, .detail.open .dclose { display: none; }
  .drawer-bg.open { display: none; }
  .info-btn { display: none !important; }
}
@media (max-width: 767px) {
  .detail.open { display: flex; position: fixed; inset: 0; margin: 0; border-radius: 0; z-index: 60; padding-top: env(safe-area-inset-top); }
  html.glass .detail.open { background: linear-gradient(140deg, rgba(60, 30, 60, .55), rgba(30, 20, 50, .6)); }
  .detail.open .dclose { display: grid; }
  .hide-m { display: none !important; }
}

/* ---------- 단추·입력 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 99px; padding: 13px 18px; font-weight: 700; width: 100%; min-height: 48px; transition: transform .15s var(--ease), filter .2s; }
.btn:active { transform: scale(.98); }
.btn .ico { width: 18px; height: 18px; }
.btn.sm { width: auto; padding: 9px 15px; min-height: 40px; font-size: 14px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 30px rgba(255, 80, 140, .4); }
.btn.ghost { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--line); box-shadow: var(--gshadow); }
.btn.danger { background: linear-gradient(140deg, #ff5d7a, #e0315a); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 26px rgba(224, 49, 90, .35); }
.btn.soon { background: rgba(255, 255, 255, .1); border-color: var(--line2); color: var(--mut); cursor: not-allowed; }
.danger-t { color: #ffb3c1; }
.btn:disabled { opacity: .6; }
.icon-btn { background: none; border: 0; padding: 4px; display: grid; place-items: center; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mut); font-weight: 600; }
input, select, textarea { background: rgba(0, 0, 0, .22); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; font-size: 16px; color: #fff; width: 100%; }
html.lite input, html.lite select, html.lite textarea { background: #1f1526; }
select option { background: #2a1d33; color: #fff; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .45); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255, 140, 180, .7); border-color: transparent; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: #fff; font-weight: 500; line-height: 1.45; }
.form label.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--acc); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; color: var(--mut); font-weight: 600; margin-bottom: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg, .lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; }
.seg button, .lang-switch button { background: none; border: 0; border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.seg button.on, .lang-switch button.on { background: rgba(255, 255, 255, .24); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span, span.chip { padding: 8px 13px; border-radius: 99px; font-size: 13px; color: #fff; font-weight: 500; cursor: pointer; box-shadow: none; }
.chip input:checked + span, span.chip.on { background: linear-gradient(140deg, rgba(255, 110, 160, .55), rgba(255, 160, 110, .4)); border-color: rgba(255, 255, 255, .55); }
.chip input:focus-visible + span { outline: 2px solid #fff; }
.chips.small span.chip { padding: 5px 10px; font-size: 12px; cursor: default; }

/* ---------- 사진·배지 ---------- */
.ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ph.xs { width: 40px; height: 40px; }
.ph.sm { width: 50px; height: 50px; }
.ph.md { width: 84px; height: 84px; }
.ph.lg { width: 92px; height: 92px; border-radius: 28px; }
.ph.xl { width: 190px; height: 190px; }
.ph-empty { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; background: var(--grad); }
.ai-face svg { width: 100%; height: 100%; display: block; }
.phw { position: relative; flex: none; }
.ai-ex { position: absolute; z-index: 4; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .02em; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25); pointer-events: none; white-space: nowrap; font-weight: 600; }
html.lite .ai-ex { background: rgba(0, 0, 0, .7); }
.badge-ai { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 8px; background: #fff; color: var(--ai); vertical-align: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); line-height: 1.3; }
.badge-test { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(255, 224, 138, .92); color: #4a3500; vertical-align: middle; }
.badge-face { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(12, 60, 38, .62); color: #c9ffe1; border: 1px solid rgba(94, 240, 160, .6); vertical-align: middle; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge-face .ico { width: 12px; height: 12px; }

/* ---------- 로그인·프로필·얼굴 인증 ---------- */
.auth { min-height: 100dvh; height: 100dvh; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 28px; gap: 16px; }
.auth-brand { display: none; }
@media (min-width: 600px) { .auth { align-content: safe center; } }
.auth-card { width: 100%; max-width: 460px; border-radius: 32px; padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.auth-card.wide { max-width: 560px; }
.auth-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-head h1 { font-size: 20px; margin: 0; }
.hero { text-align: center; padding: 18px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero .tag { color: var(--mut); margin: 0; font-size: 15px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.feat { border-radius: 22px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.feat .ico { width: 20px; height: 20px; color: #ffe08a; }
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 420px) minmax(0, 460px); justify-content: center; align-content: center; gap: 48px; }
  .auth-brand { display: flex; flex-direction: column; gap: 14px; }
  .auth-brand p { color: var(--mut); line-height: 1.7; margin: 0 0 6px; }
  .auth .hero .logo, .auth .hero .tag { display: none; }
  .auth .hero { padding: 0; }
  .auth.solo { grid-template-columns: minmax(0, 560px); }
}
.photo-pick { display: flex; gap: 16px; align-items: center; }
.photo-pick p { margin: 4px 0 8px; }
.face-frame { position: relative; margin: 14px 0 4px; border-radius: 50%; padding: 5px; background: conic-gradient(from 200deg, var(--acc), var(--acc2), #8fb4ff, var(--acc)); box-shadow: 0 20px 50px rgba(255, 80, 140, .35); }
.face-frame .ph { border: 4px solid rgba(29, 20, 32, .85); }
.face-frame .scan { position: absolute; inset: 5px; border-radius: 50%; overflow: hidden; pointer-events: none; }
.face-frame.scanning .scan::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(transparent, rgba(94, 240, 160, .6), transparent); animation: scan 1s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.notice { border-radius: 18px; padding: 11px 14px; margin: 0; }

/* ---------- 오늘의 소개: 카드 더미 ---------- */
.today { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 12px 10px; gap: 10px; }
.sub { color: var(--mut); margin: 0 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.count { color: #fff; font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
.stack { position: relative; flex: 1; min-height: 340px; }
.pcard.card { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transition: transform .4s var(--ease), opacity .3s, filter .3s; will-change: transform; }
.pcard.card.under { transform: scale(.94) translateY(16px); filter: brightness(.65); pointer-events: none; }
.pcard.card.dragging { transition: none; }
.pcard .ph.card-ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.pcard .ph.card-ph.ph-empty { font-size: 80px; }
html.glass .pcard.top .card-ph { animation: kb 12s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1.5%); } }
.pcard::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); z-index: 2; pointer-events: none; }
.pcard::after { content: ''; position: absolute; inset: 0; border-radius: 34px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .55); pointer-events: none; z-index: 6; }
.pc-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 4; }
.pcard .ai-ex { top: 14px; right: 14px; bottom: auto; }
.pcard .pc-badges { right: 150px; }
.pinfo { position: absolute; left: 12px; right: 12px; bottom: 92px; border-radius: 26px; padding: 15px 17px; z-index: 3; }
html.glass .pinfo { background: linear-gradient(140deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
html.lite .pinfo { background: rgba(30, 20, 38, .88); }
.pinfo h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.pinfo h2 small { font-weight: 400; font-size: 22px; opacity: .9; }
.pinfo p { margin: 5px 0 0; font-size: 13px; color: rgba(255, 255, 255, .9); }
.reason { display: flex; gap: 7px; align-items: flex-start; margin: 10px 0 0 !important; font-size: 12.5px !important; line-height: 1.45; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .22); }
.reason .ico { width: 16px; height: 16px; color: #ffe08a; margin-top: 1px; }
.pc-act { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 16px; z-index: 5; }
.act-b { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s var(--ease); padding: 0; }
.act-b:hover { transform: scale(1.07); }
.act-b.info-btn { width: 46px; height: 46px; }
.act-b.info-btn .ico { width: 20px; height: 20px; }
.act-b.like { width: 70px; height: 70px; color: #fff; background: linear-gradient(140deg, rgba(255, 110, 160, .9), rgba(255, 150, 100, .78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 14px 30px rgba(255, 80, 140, .45); }
.act-b.like .ico { width: 30px; height: 30px; }
.act-b.pop { animation: bpop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bpop { 40% { transform: scale(1.22); } }
.stamp { position: absolute; top: 64px; z-index: 5; opacity: 0; pointer-events: none; font-weight: 800; font-size: 22px; padding: 8px 18px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .7); }
.stamp.like { left: 22px; background: rgba(255, 93, 143, .55); transform: rotate(-10deg); }
.stamp.nope { right: 22px; background: rgba(40, 40, 60, .55); transform: rotate(10deg); }
.pcard.done-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 28px; }
.pcard.done-card::before { display: none; }
.pcard.done-card .ico { width: 44px; height: 44px; color: #ffe08a; }
.strip { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 99px; align-self: center; }
.strip .s-i { position: relative; width: 34px; height: 34px; border-radius: 50%; padding: 0; border: 2px solid rgba(255, 255, 255, .35); background: none; overflow: hidden; }
.strip .s-i .ph { width: 100%; height: 100%; }
.strip .s-i.on { border-color: #fff; box-shadow: 0 0 0 2px var(--acc); }
.strip .s-i.acted .ph { filter: grayscale(1) brightness(.6); }
.strip .s-i.liked::after { content: '♥'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: #fff; background: rgba(255, 93, 143, .45); }
.strip small { font-size: 11px; color: var(--mut); padding: 0 4px 0 2px; white-space: nowrap; }
.swipe-hint { text-align: center; font-size: 11.5px; color: var(--mut2); margin: 0; }
.empty { text-align: center; color: var(--mut); padding: 28px 16px; line-height: 1.6; }
.skeleton { flex: 1; min-height: 340px; border-radius: 34px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (min-width: 768px) {
  .today { width: min(460px, 100%); margin: 0 auto; padding-top: 14px; }
  .stack { max-height: 860px; }
}

/* ---------- 벤토 프로필(시안 B 의 칸 나눔을 유리 결로) ---------- */
.dscroll { flex: 1; overflow-y: auto; min-height: 0; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; }
.bx { border-radius: 22px; padding: 14px; position: relative; overflow: hidden; min-width: 0; }
html.glass .bx { background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.bx.w { grid-column: span 2; }
.bx.pho { padding: 0; aspect-ratio: 4 / 5; grid-column: span 2; max-height: 440px; }
.bx.pho .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 0; }
.bx h5 { font-size: 11.5px; font-weight: 600; color: var(--mut); margin: 0 0 6px; letter-spacing: .02em; display: flex; gap: 5px; align-items: center; }
.bx h5 .ico { width: 14px; height: 14px; }
.bx.name { background: var(--glass-strong) !important; }
.bx.name .n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.bx.name .n i { font-style: normal; font-weight: 400; font-size: 22px; opacity: .85; margin-left: 6px; }
.bx.name small { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--mut); }
.bx.lang { background: linear-gradient(140deg, rgba(255, 140, 180, .3), rgba(255, 180, 120, .16)) !important; }
.bx .ar { font-weight: 800; font-size: 17px; line-height: 1.35; }
.bx .big { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.bx small { font-size: 11.5px; color: var(--mut); display: block; margin-top: 4px; line-height: 1.4; }
.bx.time { background: linear-gradient(140deg, rgba(140, 170, 255, .28), rgba(160, 120, 255, .14)) !important; }
.bx.time .big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bx.why { display: flex; gap: 8px; font-size: 13px; line-height: 1.5; background: linear-gradient(140deg, rgba(255, 224, 138, .26), rgba(255, 140, 170, .14)) !important; }
.bx.why .ico { width: 16px; height: 16px; color: #ffe08a; margin-top: 2px; }
.bx.bio .o { font-size: 14.5px; font-weight: 600; line-height: 1.55; margin: 0; }
.bx.bio .t { font-size: 13px; color: rgba(255, 255, 255, .8); margin: 8px 0 0; padding: 9px 11px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px dashed rgba(255, 255, 255, .28); display: flex; gap: 6px; line-height: 1.5; }
.bx.bio .t .ico { width: 14px; height: 14px; margin-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid var(--line2); }
.d-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.d-sec { margin: 0 16px 12px; }
.d-sec h4 { font-size: 12px; color: var(--mut); font-weight: 600; margin: 4px 4px 8px; display: flex; gap: 6px; align-items: center; }
.d-sec h4 .ico { width: 15px; height: 15px; }
.d-o { padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .2); margin-bottom: 8px; }
.d-o .o { font-size: 13.5px; margin: 0; }
.d-o .t { font-size: 12px; color: var(--mut); margin: 4px 0 0; }
.d-o.warn { border: 1px solid rgba(255, 209, 102, .6); }
.d-card { border-radius: 22px; padding: 14px; font-size: 13px; line-height: 1.55; }
html.glass .d-card { background: rgba(255, 255, 255, .1); border: 1px solid var(--line2); }
html.lite .d-card { background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); }
.d-card ul { margin: 6px 0 0; padding-left: 18px; }
.d-ai { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px 8px; text-align: center; }
.d-ai .ph { width: 150px; height: 150px; border-radius: 36px; position: relative; }
.d-ai h3 { margin: 0; font-size: 22px; }

/* ---------- 매칭 순간 ---------- */
.modal { position: fixed; inset: 0; background: rgba(10, 4, 14, .45); display: flex; align-items: flex-end; justify-content: center; z-index: 80; }
html.glass .modal { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet { border-radius: 30px 30px 0 0; padding: 20px 16px calc(18px + env(safe-area-inset-bottom)); width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 10px; max-height: 90dvh; overflow-y: auto; animation: up .3s var(--ease); }
html.glass .sheet { background: linear-gradient(140deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .1)); }
html.lite .sheet { background: #2a1d33; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet h2 { margin: 4px 0; font-size: 19px; }
@media (min-width: 768px) { .modal { align-items: center; } .sheet { border-radius: 30px; } }
.match { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; text-align: center; }
.match .m-bg { position: absolute; inset: 0; background: rgba(20, 8, 24, .45); animation: fade .4s; }
html.glass .match .m-bg { -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); }
html.lite .match .m-bg { background: rgba(20, 8, 24, .94); }
@keyframes fade { from { opacity: 0; } }
.m-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; max-width: 440px; width: 100%; }
.m-ph { position: relative; width: 260px; height: 190px; }
.m-ph .mp { position: absolute; top: 0; width: 140px; height: 186px; border-radius: 30px; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.m-ph .mp .ph { width: 100%; height: 100%; border-radius: 0; }
.m-ph .mp.l { left: 0; transform: rotate(-8deg); animation: inl .7s cubic-bezier(.2, 1.4, .4, 1); }
.m-ph .mp.r { right: 0; transform: rotate(8deg); animation: inr .7s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes inl { from { transform: translateX(-120px) rotate(-30deg); opacity: 0; } }
@keyframes inr { from { transform: translateX(120px) rotate(30deg); opacity: 0; } }
.m-heart { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, rgba(255, 110, 160, .9), rgba(255, 160, 100, .8)); border: 1.5px solid rgba(255, 255, 255, .7); z-index: 3; animation: hb .9s .3s cubic-bezier(.3, 1.8, .5, 1) both; }
.m-heart .ico { width: 28px; height: 28px; }
@keyframes hb { from { transform: translate(-50%, -50%) scale(0); } }
.m-in h2 { font-size: 38px; font-weight: 800; letter-spacing: -.04em; margin: 4px 0 0; background: linear-gradient(120deg, #fff 30%, #ffc6da); -webkit-background-clip: text; background-clip: text; color: transparent; animation: tin .7s .2s both; }
@keyframes tin { from { opacity: 0; filter: blur(6px); } }
.m-in p { color: rgba(255, 255, 255, .88); line-height: 1.55; margin: 0; }
.m-act { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
.m-ex { font-size: 10.5px; color: var(--mut); }
.burst { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; z-index: 1; }
.burst i { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .35) 45%, rgba(255, 150, 190, .25)); border: 1px solid rgba(255, 255, 255, .7); animation: fly 1.25s cubic-bezier(.15, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
.burst i:nth-child(3n) { width: 26px; height: 26px; }
.burst i:nth-child(4n) { width: 10px; height: 10px; background: #fff; }
@keyframes fly { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(var(--s, 1)); } }
html.lite .burst { display: none; }

/* ---------- 대화 목록 ---------- */
.rows { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 14px; }
.row-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 22px; }
.ri-main { flex: 1; min-width: 0; }
.ri-main b { font-size: 15px; }
.ri-main p { margin: 3px 0 0; font-size: 13px; }
.chev { color: var(--mut); width: 18px; height: 18px; }
.only-people { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--mut); padding: 12px 18px 2px; margin: 0; }
.only-people .ico { width: 16px; height: 16px; }

/* ---------- 1:1 번역 채팅 ---------- */
.chat-top { padding-left: 6px; }
.chat-top .back { width: 38px; height: 38px; display: grid; place-items: center; }
.who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.who > div { min-width: 0; }
.who b { font-size: 15.5px; }
.who small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-banner { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px auto 0; padding: 6px 6px 6px 14px; border-radius: 99px; font-size: 12px; color: rgba(255, 255, 255, .9); width: max-content; max-width: calc(100% - 24px); }
.tr-banner > span { display: flex; gap: 6px; align-items: center; }
.tr-banner .ico { width: 15px; height: 15px; }
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; padding: 4px 6px 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-weight: 600; }
.switch input { width: 32px; height: 19px; appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .28); border-radius: 99px; position: relative; padding: 0; border: 0; cursor: pointer; margin: 0; flex: none; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked { background: var(--acc); }
.switch input:checked::after { left: 15px; }
.chat { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; display: flex; flex-direction: column; gap: 4px; position: relative; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.them { align-self: flex-start; }
.bub { padding: 11px 15px; border-radius: 22px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; font-size: 14.5px; }
.msg.me .bub { background: linear-gradient(140deg, rgba(255, 105, 155, .92), rgba(255, 140, 110, .85)); border-bottom-right-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 22px rgba(255, 80, 140, .28); }
html.lite .msg.me .bub { background: #e2507f; box-shadow: none; }
.msg.them .bub { border-bottom-left-radius: 8px; }
.msg.guard .bub { border-color: rgba(255, 107, 129, .6); background: rgba(255, 107, 129, .18); }
.tr-note { font-size: 11px; color: var(--mut); padding: 0 6px; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.tr-note .ico { width: 12px; height: 12px; }
.tr-note.warn { color: var(--warn); }
.orig-t { align-self: flex-start; background: rgba(255, 255, 255, .1); border: 1px solid var(--line2); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; margin-left: 4px; }
.orig-src { font-size: 12px; margin: 0 4px; padding: 7px 10px; border-radius: 14px; background: rgba(0, 0, 0, .22); color: rgba(255, 255, 255, .85); border: 1px dashed rgba(255, 255, 255, .3); }
.scam { margin-top: 2px; background: rgba(255, 209, 102, .18); color: #fff3c4; border: 1px solid rgba(255, 209, 102, .75); border-radius: 16px; padding: 9px 12px 9px 36px; font-size: 12.5px; line-height: 1.5; position: relative; box-shadow: 0 0 0 3px rgba(255, 209, 102, .12); }
html.glass .scam { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html.lite .scam { background: #4a3a0c; }
.scam .ico { position: absolute; left: 11px; top: 10px; width: 17px; height: 17px; color: var(--warn); }
.scam small { display: block; color: var(--warn); margin-top: 3px; font-weight: 700; }
.sys { align-self: center; font-size: 11.5px; color: #fff; padding: 6px 12px; border-radius: 99px; text-align: center; display: inline-flex; gap: 6px; align-items: center; max-width: 92%; }
.composer { display: flex; gap: 8px; padding: 6px 12px calc(12px + env(safe-area-inset-bottom)); }
.composer .cbox { flex: 1; display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 18px; border-radius: 99px; }
.composer input { flex: 1; background: none; border: 0; outline: 0; padding: 8px 0; font-size: 15px; min-width: 0; border-radius: 0; }
html.lite .composer input { background: none; }
.composer input:focus { outline: 0; }
.sendb { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); border: 0; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.sendb .ico { width: 18px; height: 18px; }
.coach-row { display: none; padding: 4px 12px 0; }
.coach-row.show { display: block; }
.coach-row .btn { width: 100%; }
.sugg { display: block; width: 100%; text-align: left; margin-top: 6px; color: #fff; border-radius: 16px; padding: 10px 13px; font-size: 13.5px; border-style: dashed; }
.msg.fresh .o-live { background: linear-gradient(90deg, currentColor 0%, currentColor 35%, rgba(255, 255, 255, .95) 50%, currentColor 65%, currentColor 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shim .9s linear infinite; opacity: .8; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.msg.arrive .bub { animation: tin .55s var(--ease); }
@media (min-width: 768px) { .chat { padding: 18px 26px; } .msg { max-width: 66%; } }

/* ---------- AI 친구 ---------- */
.ai-note { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; padding: 12px 14px; border-radius: 20px; font-size: 13px; line-height: 1.5; }
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ai-card { position: relative; border-radius: 26px; padding: 12px; display: flex; flex-direction: column; gap: 4px; transition: transform .2s var(--ease); }
.ai-card:hover { transform: translateY(-2px); }
.ai-card .ai-ph { width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; margin-bottom: 6px; }
.ai-card > .badge-ai { position: absolute; top: 20px; left: 20px; font-size: 11px; }
.ai-card b { font-size: 15px; }
.ai-card b small { font-weight: 500; color: var(--mut); }
.ai-card .muted { font-size: 12px; line-height: 1.4; }
.ai-top .who small { white-space: normal; }
.ai-strip { display: flex; gap: 8px; align-items: center; margin: 10px 12px 0; padding: 8px 14px; border-radius: 99px; font-size: 12px; }
@media (min-width: 768px) { .ai-strip { margin: 10px 14px 0; } }

/* ---------- 나·설정 ---------- */
.me-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.me-head h2 { margin: 0 0 4px; font-size: 22px; }
.me-head p { margin: 0 0 8px; font-size: 13px; }
.list { display: flex; flex-direction: column; padding: 4px 16px; margin: 14px 0; border-radius: 24px; }
.li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line2); gap: 10px; }
.li:last-child { border-bottom: 0; }
.li.col { flex-direction: column; align-items: flex-start; }
.li.col p { margin: 0; }
.li .fx-now { font-size: 11.5px; color: var(--mut); }
.safety { margin-bottom: 14px; border-radius: 24px; padding: 14px 16px; }
.safety b { display: flex; gap: 6px; align-items: center; }
.safety ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; font-size: 14px; color: rgba(255, 255, 255, .88); }
.me-wrap { max-width: 640px; margin: 0 auto; }
.radios { display: flex; flex-direction: column; gap: 6px; }
.radio { flex-direction: row !important; align-items: center; gap: 10px !important; padding: 11px 13px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line2); border-radius: 16px; color: #fff !important; font-weight: 500 !important; }
.radio input { width: 18px; height: 18px; accent-color: var(--acc); }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); opacity: 0; background: rgba(255, 255, 255, .92); color: #2a1d33; padding: 11px 18px; border-radius: 99px; font-weight: 700; transition: .25s; z-index: 99; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 가벼운 판·움직임 줄이기: 움직임도 멈춤 ---------- */
html.lite .pcard.top .card-ph, html.lite .msg.fresh .o-live { animation: none; }
html.lite .ai-card:hover, html.lite .act-b:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- AI 친구 2판: 실사 사진 · 이야기 · 오늘의 일상 (재료: lk-glassmorphism · bl-drag-carousel · st-story · tp-html-ppt-xhs-post · emilkowalski-motion) ---------- */
.aiimg { position: relative; display: block; overflow: hidden; background: rgba(255, 255, 255, .08); }
.aiimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aiimg .aic { position: absolute; top: 10px; right: 10px; font-size: 11px; }
img.ph.ai-face { object-fit: cover; object-position: 50% 22%; }
.ai-tabs { display: flex; margin: 0 0 14px; padding: 4px; border-radius: 99px; }
.ai-tabs a { flex: 1; text-align: center; padding: 8px 10px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--mut); transition: background .18s var(--ease), color .18s var(--ease); }
.ai-tabs a.on { background: var(--grad); color: #fff; }
.ai-card.ph-card { padding: 0; overflow: hidden; gap: 0; }
.ai-card .aiimg.ai-ph { width: 100%; aspect-ratio: 3 / 4; border-radius: 0; margin: 0; }
.ai-card .ai-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(to top, rgba(10, 6, 16, .82), transparent); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.ai-card .ai-cap span { font-size: 12px; opacity: .9; line-height: 1.35; }
.ai-card .ai-cap b small { color: rgba(255, 255, 255, .8); }
.ai-gate { max-width: 460px; margin: 30px auto; padding: 26px; border-radius: 28px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.ai-gate h2 { margin: 0; }
.gate-btns { display: flex; gap: 10px; justify-content: center; }
.gate-btns .btn { flex: 1; }
.linkb { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.ai-prof { display: flex; flex-direction: column; gap: 14px; }
.ai-prof > * { flex: none; }
.car { display: flex; flex: none; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; gap: 0; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.car .car-i { flex: 0 0 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; max-height: 70vh; }
@media (min-width: 900px) { .car .car-i { flex-basis: 60%; } .car { gap: 10px; } }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: -6px; }
.car-dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .3); transition: width .2s var(--ease); }
.car-dots i.on { width: 20px; background: #fff; }
.prof-head { padding: 16px 18px; border-radius: 24px; }
.prof-head h2 { margin: 0 0 4px; font-size: 22px; }
.prof-head p { margin: 4px 0; }
.phr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.phr .chip { padding: 6px 10px; border-radius: 14px; font-size: 13px; }
.sec-h { margin: 6px 2px 0; font-size: 16px; }
.st-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .st-list { grid-template-columns: 1fr 1fr; } }
.st-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 210px; display: block; color: #fff; transition: transform .2s var(--ease); }
.st-card:hover { transform: translateY(-2px); }
.st-card .st-bg { position: absolute; inset: 0; }
.st-card .st-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 16px 14px; background: linear-gradient(to top, rgba(10, 6, 16, .9), transparent); }
.st-card .st-cap b { font-size: 17px; }
.st-card .st-cap p { margin: 4px 0 8px; font-size: 13px; line-height: 1.45; opacity: .9; }
.st-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.hearts { display: inline-flex; gap: 2px; vertical-align: -2px; }
.hearts i { width: 14px; height: 14px; color: rgba(255, 255, 255, .3); display: inline-flex; }
.hearts i .ico { width: 14px; height: 14px; }
.hearts i.on { color: #ff5c9a; }
.mini-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-feed .mf-i { aspect-ratio: 3 / 4; border-radius: 14px; }
.mini-feed .mf-i .aic { top: 6px; right: 6px; font-size: 9px; padding: 1px 5px; }
.st-backdrop { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .22; filter: blur(2px); pointer-events: none; z-index: 0; }
.main { position: relative; }
.main > .top, .main > .ai-strip, .main > .scroll, .main > .composer { position: relative; z-index: 1; }
.chat.story .sys.scene { font-size: 13px; line-height: 1.55; padding: 12px 16px; border-radius: 18px; max-width: 520px; margin: 6px auto 12px; text-align: center; }
.lv-mark { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mut); margin: 14px 0 6px; }
.choices { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin: 10px 0 6px; }
.choice { border: 1px solid var(--line); background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: inherit; padding: 10px 16px; border-radius: 18px 18px 6px 18px; font: inherit; font-weight: 600; cursor: pointer; transition: transform .14s var(--ease), background .18s var(--ease); }
.choice:hover { transform: translateY(-1px); }
.choice:active { transform: scale(.97); }
.st-end { text-align: center; padding: 18px; border-radius: 24px; margin: 16px auto; max-width: 420px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.d-st { width: 100%; aspect-ratio: 3 / 4; border-radius: 24px; }
.feed { display: flex; flex-direction: column; gap: 16px; max-width: 520px; margin: 0 auto; }
.post { border-radius: 26px; overflow: hidden; padding: 0; }
.post-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.post-h .muted { margin-left: auto; }
.post-img { aspect-ratio: 3 / 4; }
.post-cap { margin: 10px 14px 4px; font-size: 14px; line-height: 1.5; }
.post-go { display: inline-flex; align-items: center; gap: 2px; margin: 0 14px 14px; font-size: 13px; font-weight: 700; color: var(--acc); }
.post-go .ico { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .st-card, .choice, .car-dots i, .ai-tabs a { transition: none; } }
html.lite .st-card:hover, html.lite .choice:hover { transform: none; }
/* AI 친구 사진 2단계: 종류 거르기 · 크게 보기 */
.pcat { display: flex; gap: 4px; padding: 4px; border-radius: 99px; overflow-x: auto; scrollbar-width: none; }
.pcat::-webkit-scrollbar { display: none; }
.pcat button { flex: none; border: 0; background: transparent; color: var(--mut); font: inherit; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 99px; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease); }
.pcat button small { font-weight: 500; opacity: .75; margin-left: 2px; }
.pcat button.on { background: var(--grad); color: #fff; }
.mf-b { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; display: block; }
.mf-b[hidden] { display: none; }
.mf-b .mf-i { width: 100%; display: block; }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(8, 5, 14, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-in { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 12px; border-radius: 26px; display: flex; flex-direction: column; gap: 8px; }
.lb-img { display: block; width: 100%; aspect-ratio: 640 / 754; border-radius: 18px; overflow: hidden; }
.lb-img img { width: 100%; height: 100%; object-fit: cover; }
.lb-x { position: absolute; top: 18px; left: 18px; z-index: 5; }
.lb-cap { margin: 0; font-size: 14px; line-height: 1.5; }
.lb-nav { display: flex; justify-content: space-between; }
.post-cap .chip, .lb-cap .chip { font-size: 11px; padding: 2px 8px; margin-right: 4px; }
html.lite .lb { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 5, 14, .9); }
@media (prefers-reduced-motion: reduce) { .pcat button { transition: none; } }

/* ---------- 첫 화면(스플래시) — 11/5 로고 ① 하트 모노그램 ----------
   처음: 톡(0~.42s) → 두근+빛 번짐+반짝임(.46~.9s) → dating 올라옴(.56~.92s) → 헤더 로고로 날아감(1.15~1.8s)
   다시: .25s 등장 → .35s 날아감(합 .6s) · 동작 줄이기: 움직임 없음. scale 은 .9 아래로 안 내림(open-design 규칙) */
#splash { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
#splash .sp-bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 12% 8%, rgba(255, 110, 165, .42), transparent 70%), radial-gradient(50% 60% at 92% 92%, rgba(110, 140, 255, .36), transparent 70%), radial-gradient(40% 40% at 50% 45%, rgba(255, 120, 150, .25), transparent 70%), #1d1420; }
#splash .sp-stage { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
#splash .sp-icon { width: 132px; height: 132px; border-radius: 22.5%; box-shadow: 0 18px 50px rgba(255, 79, 139, .45); position: relative; z-index: 2; }
#splash .sp-glow { position: absolute; left: 50%; top: 66px; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 190, .85), rgba(255, 93, 143, .35) 40%, transparent 70%); opacity: 0; z-index: 1; }
#splash .sp-word { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; padding-bottom: .08em; background: linear-gradient(120deg, #fff, #ffc2d6); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; z-index: 2; }
#splash .sp-spark { position: absolute; z-index: 3; width: 18px; height: 18px; opacity: 0; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
#splash .k1 { left: calc(50% + 56px); top: -14px; }
#splash .k2 { left: calc(50% - 86px); top: 22px; width: 12px; height: 12px; }
#splash .k3 { left: calc(50% + 78px); top: 96px; width: 10px; height: 10px; }
#splash .k4 { left: calc(50% - 64px); top: 118px; width: 14px; height: 14px; }
.sp-first .sp-icon { animation: sp-pop .42s cubic-bezier(.23, 1, .32, 1) both, sp-beat .44s .46s cubic-bezier(.3, 0, .2, 1) both; }
.sp-first .sp-glow { animation: sp-glow .75s .44s cubic-bezier(.23, 1, .32, 1) both; }
.sp-first .sp-spark { animation: sp-twinkle .55s cubic-bezier(.23, 1, .32, 1) both; }
.sp-first .k1 { animation-delay: .5s; } .sp-first .k2 { animation-delay: .58s; } .sp-first .k3 { animation-delay: .66s; } .sp-first .k4 { animation-delay: .62s; }
.sp-first .sp-word { animation: sp-rise .36s .56s cubic-bezier(.23, 1, .32, 1) both; }
.sp-again .sp-icon, .sp-again .sp-word { animation: sp-quick .22s cubic-bezier(.23, 1, .32, 1) both; }
.sp-again .sp-glow, .sp-again .sp-spark, .sp-still .sp-glow, .sp-still .sp-spark { display: none; }
.sp-fly .sp-bg { transition: opacity var(--fly, .65s) cubic-bezier(.4, 0, .2, 1); opacity: 0; }
.sp-fly .sp-glow, .sp-fly .sp-spark { transition: opacity .2s; opacity: 0 !important; animation: none; }
.sp-fly .sp-icon { box-shadow: 0 4px 14px rgba(255, 79, 139, .35); transition: box-shadow var(--fly, .65s); }
.sp-out { transition: opacity .2s cubic-bezier(.23, 1, .32, 1); opacity: 0; }
.sp-still.sp-out { transition: none; }
@keyframes sp-pop { 0% { opacity: 0; transform: scale(.9) translateY(10px); } 60% { opacity: 1; transform: scale(1.08) translateY(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sp-beat { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 55% { transform: scale(.97); } 75% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes sp-glow { 0% { opacity: 0; transform: scale(.9); } 35% { opacity: .9; } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes sp-twinkle { 0% { opacity: 0; transform: scale(.9) rotate(0); } 45% { opacity: 1; transform: scale(1.25) rotate(20deg); } 100% { opacity: 0; transform: scale(.9) rotate(45deg); } }
@keyframes sp-rise { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes sp-quick { 0% { opacity: 0; transform: scale(.94); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { #splash * { animation: none !important; transition: none !important; } }

/* ---------- AI 친구 「나 지금 ~하는 중」 소식 ---------- */
.msg.moment { max-width: min(78%, 300px); }
.mo-h { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--pink2); padding: 0 6px; }
.mo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(94, 240, 160, .2); }
.mo-ph { padding: 0; border: 0; background: none; border-radius: 20px; overflow: hidden; border-top-left-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.mo-img { aspect-ratio: 4 / 5; width: 100%; }
.mo-link { color: var(--acc); font-weight: 700; display: inline-flex; align-items: center; }
.mo-link .ico { width: 11px; height: 11px; }
.msg.moment.arrive .mo-ph { animation: tin .55s var(--ease); }
.msg.typing .bub { display: inline-flex; align-items: center; gap: 4px; }
.msg.typing .bub i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: mo-dots 1s infinite; }
.msg.typing .bub i:nth-child(2) { animation-delay: .15s; } .msg.typing .bub i:nth-child(3) { animation-delay: .3s; }
@keyframes mo-dots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-3px); } }
html.lite .msg.typing .bub i, html.lite .msg.moment.arrive .mo-ph { animation: none; }
.post-acts { display: flex; justify-content: space-between; }
.post.from-chat { box-shadow: 0 0 0 2px rgba(255, 93, 143, .55), var(--gshadow); }
.mo-chip { background: rgba(255, 93, 143, .25) !important; color: #fff; }

/* ---------- 매칭·추천·인증 규칙(11/5 밤) ----------
   참고: 재료실 bl-tabs(탭: role=tab·aria-selected) · bl-steps-active(지금 단계가 켜지는 과정) · bl-progress-bar(남은 양 막대)
        · bl-bottom-sheet(아래에서 올라오는 설정 창) · lk-glassmorphism(유리 결 그대로) + open-design emilkowalski-motion(140~220ms) */
.testv { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: rgba(255, 209, 102, .2); color: #ffe08a; border: 1px dashed rgba(255, 224, 138, .6); vertical-align: middle; letter-spacing: 0; }
/* 추천 설정 탭 */
.pbar { display: flex; flex-direction: column; gap: 6px; margin: 10px 12px 0; }
.ptabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--gshadow); }
html.glass .ptabs { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.ptabs button { border: 0; background: none; border-radius: 99px; padding: 8px 4px; font-size: 13px; font-weight: 700; color: var(--mut); display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; transition: background .18s var(--ease), color .18s; min-height: 38px; }
.ptabs button.on { background: var(--grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 16px rgba(255, 80, 140, .35); }
.ptabs.big button { padding: 11px 6px; font-size: 14px; }
.psum { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: none; color: var(--mut); font-size: 12.5px; padding: 2px 8px; min-height: 28px; text-align: left; }
.psum b { color: #fff; font-weight: 700; flex: none; text-decoration: underline; text-underline-offset: 3px; }
.ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sheet.prefs { gap: 14px; }
.sh-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sh-h h2 { display: flex; align-items: center; gap: 8px; }
.psec h4 { margin: 0 0 8px; font-size: 14px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.psec .rv { margin-left: auto; color: #ffe08a; }
.cchips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.cchip { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--fill); text-align: left; min-height: 64px; transition: background .16s var(--ease), border-color .16s; }
.cchip .fl { font-size: 20px; line-height: 1; }
.cchip b { font-size: 13px; }
.cchip small { font-size: 11.5px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.cchip.on { background: linear-gradient(140deg, rgba(255, 110, 160, .5), rgba(255, 160, 110, .35)); border-color: rgba(255, 255, 255, .6); }
.cchip.on small { color: #fff; }
.eu-sub { margin-top: 10px; padding: 10px; border-radius: 16px; background: rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 8px; }
.eu-sub .chip span { padding: 6px 10px; font-size: 12.5px; }
input[type=range] { width: 100%; accent-color: var(--acc); height: 28px; margin: 0; }
.rng { display: flex; align-items: center; gap: 8px; }
.rlabels { display: flex; justify-content: space-between; font-size: 11px; color: var(--mut); margin: -2px 2px 6px; }
.locl { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .18); font-size: 13px; line-height: 1.4; }
.locl span { flex: 1; min-width: 0; }
.locl.hl { box-shadow: 0 0 0 2px var(--warn); }
.locl .btn { flex: none; }
/* 카드: 해외/주변 줄 · 바로 대화 걸기 */
.pool-l { display: flex; align-items: center; gap: 6px; font-size: 12.5px !important; }
.pool-l i { font-style: normal; opacity: .9; }
.pool { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.pool.near { background: rgba(94, 240, 160, .25); }
.req-b { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: #fff; min-height: 34px; }
.req-b .ico { width: 16px; height: 16px; }
.req-b.off { opacity: .7; cursor: default; }
.rq-who { display: flex; gap: 12px; align-items: flex-start; }
.rq-who p { margin: 4px 0 0; line-height: 1.45; }
.rq-price { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; flex-wrap: wrap; }
.rq-price .ico { width: 16px; height: 16px; }
.sheet textarea { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); padding: 12px; resize: vertical; }
/* 잠김 카드 */
.lock-card { border-radius: 30px; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: stretch; margin: auto 0; }
.lock-card h2 { margin: 0; font-size: 21px; }
.lock-card > p { margin: 0; line-height: 1.55; font-size: 14px; }
.lk-ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 26px rgba(255, 80, 140, .4); }
.lk-ic .ico { width: 28px; height: 28px; }
.lk-steps { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.lk-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .16); font-size: 14px; }
.lk-steps li i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; border: 1.5px solid var(--line); }
.lk-steps li i .ico { width: 14px; height: 14px; }
.lk-steps li.done i { background: var(--ok); color: #10301f; border-color: transparent; }
.lk-steps li.done span { color: var(--mut); }
.lk-steps li.wait i { border-color: var(--warn); color: var(--warn); }
/* 인증하기 */
.vcard { gap: 12px; }
.vsteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; padding: 0; }
.vsteps li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mut); position: relative; text-align: center; }
.vsteps li::before { content: ''; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line2); z-index: 0; }
.vsteps li:first-child::before { display: none; }
.vsteps li.done::before, .vsteps li.on::before { background: linear-gradient(90deg, var(--acc), var(--acc2)); }
.vsteps i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: #2a1d33; border: 1.5px solid var(--line); }
.vsteps i .ico { width: 14px; height: 14px; }
.vsteps li.done i { background: var(--ok); color: #10301f; border-color: transparent; }
.vsteps li.on { color: #fff; font-weight: 700; }
.vsteps li.on i { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 4px rgba(255, 93, 143, .25); }
.vh { margin: 4px 0 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.vh .cnt { margin-left: auto; font-size: 13px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.vh .cnt.ok { background: var(--ok); color: #10301f; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vslot { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; border: 1.5px dashed var(--line); background: rgba(0, 0, 0, .14); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--mut); }
.vslot.has { border-style: solid; }
.vslot img { width: 100%; height: 100%; object-fit: cover; }
.vslot.add { cursor: pointer; border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .1); }
.vslot.add .ico { width: 26px; height: 26px; }
.vmain { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: var(--grad); color: #fff; }
.vdel { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.vdel .ico { width: 14px; height: 14px; }
.consent { display: flex; flex-direction: column; gap: 8px; }
.consent p { margin: 0; line-height: 1.55; font-size: 14px; }
.consent ul { margin: 0; padding: 12px 14px 12px 30px; border-radius: 18px; background: rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.5; }
.consent .check { margin-top: 6px; padding: 12px; border-radius: 16px; border: 1px solid rgba(255, 224, 138, .55); background: rgba(255, 209, 102, .1); font-weight: 600; }
.cam { position: relative; width: 100%; max-width: 360px; aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 28px; overflow: hidden; background: radial-gradient(60% 50% at 50% 40%, rgba(255, 255, 255, .12), rgba(0, 0, 0, .35)); border: 1px solid var(--line); }
.cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.cam .oval { position: absolute; left: 18%; right: 18%; top: 12%; bottom: 20%; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .7); box-shadow: 0 0 0 999px rgba(16, 8, 20, .38); transition: border-color .2s; }
.cam .oval.found { border-style: solid; border-color: var(--ok); }
.cam-msg { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center; font-weight: 700; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .5); font-size: 15px; }
.cacts { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cacts span { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--mut); transition: background .18s var(--ease); }
.cacts span.ok { background: var(--ok); color: #10301f; border-color: transparent; }
.cacts span.ok::before { content: '✓ '; }
.vres { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 0; }
.vres h2 { margin: 4px 0 0; font-size: 22px; }
.vres p { margin: 0; line-height: 1.6; font-size: 14px; }
.vr-ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #10301f; box-shadow: 0 12px 30px rgba(94, 240, 160, .35); }
.vr-ic .ico { width: 34px; height: 34px; }
.vres.pending .vr-ic { background: var(--warn); color: #3a2a00; box-shadow: 0 12px 30px rgba(255, 209, 102, .35); }
.vres.failed .vr-ic { background: var(--danger); color: #fff; box-shadow: 0 12px 30px rgba(255, 107, 129, .35); }
.vr-facts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 6px; }
.vr-facts .chip { font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); }
.vr-facts .chip .ico { width: 13px; height: 13px; }
/* 대화방 상태 */
.roomb { margin: 6px 12px 0; padding: 9px 12px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
html.glass .roomb { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.rb-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rb-n { color: var(--mut); display: inline-flex; align-items: center; gap: 4px; }
.rb-n .ico { width: 13px; height: 13px; }
.rb-n em { font-style: normal; color: #fff; font-weight: 800; }
.rb-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rb-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.rb-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .3s var(--ease); }
.rb-bar.time i { background: linear-gradient(90deg, #8fb4ff, #b18cff); }
.roomb.warn { border-color: rgba(255, 224, 138, .7); background: linear-gradient(140deg, rgba(255, 209, 102, .22), rgba(255, 209, 102, .08)); }
.rb-w { color: #ffe08a; display: flex; gap: 5px; align-items: center; font-weight: 600; }
.rb-w .ico { width: 14px; height: 14px; }
.roomb.unl { flex-direction: row; align-items: center; color: var(--ok); font-weight: 700; padding: 7px 12px; }
.roomb.unl .ico { width: 15px; height: 15px; }
.over.glass-c { margin: 8px 12px calc(12px + env(safe-area-inset-bottom)); padding: 14px; border-radius: 24px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.over p { margin: 0; line-height: 1.5; }
.readm { align-self: flex-end; font-size: 11px; color: var(--mut); margin: -4px 6px 4px 0; }
.live-dot { color: var(--ok); font-weight: 700; }
.rchip { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(255, 255, 255, .14); vertical-align: middle; }
.rchip.warn { background: rgba(255, 209, 102, .3); color: #ffe08a; }
.rchip.rc-over { background: rgba(255, 107, 129, .25); color: #ffc2cc; }
.rchip.unl { background: rgba(94, 240, 160, .2); color: var(--ok); }
.row-item.unread b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-left: 6px; vertical-align: middle; }
.m-trial { font-size: 13px !important; opacity: .92; display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; }
.m-trial .ico { width: 15px; height: 15px; }
.m-rew { font-weight: 800; color: #ffe08a; margin: 0; }
/* 받은 대화 신청 */
.req-in { margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.req-card { display: flex; gap: 12px; padding: 12px; border-radius: 22px; align-items: flex-start; }
.rq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rq-t { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; }
.rq-o { margin: 0; }
.rq-o .ico { width: 13px; height: 13px; }
.rq-act { display: flex; gap: 8px; margin-top: 6px; }
.rq-act .btn { flex: 1; }
/* 지갑 */
.wallet { border-radius: 24px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.wal-h { display: flex; justify-content: space-between; align-items: baseline; }
.wal-n { font-size: 24px; font-weight: 800; }
.wal-n small { font-size: 13px; font-weight: 600; color: var(--mut); }
.wal-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ptable h5 { margin: 6px 0 0; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.ptable .li, .wal-log .li { padding: 8px 0; font-size: 13px; }
.wal-log summary { cursor: pointer; font-size: 13px; color: var(--mut); padding: 4px 0; }
.wal-log b.plus { color: var(--ok); }
.tierl { display: flex; align-items: center; gap: 6px; text-align: right; flex-wrap: wrap; justify-content: flex-end; }
.tierl.verified b { color: var(--ok); }
.more-ph .mph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.more-ph .mph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
/* AI 쪽 잠김 */
.short-note { margin: 6px 12px 0; padding: 9px 12px; border-radius: 18px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.45; background: rgba(123, 60, 255, .22); border: 1px solid rgba(180, 150, 255, .5); }
.short-note .ico { width: 18px; height: 18px; flex: none; }
.short-note .btn { flex: none; }
.mf-lock { aspect-ratio: 3 / 4; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 8px; background: linear-gradient(140deg, rgba(123, 60, 255, .4), rgba(255, 93, 143, .3)); border: 1px solid var(--line); font-size: 11.5px; line-height: 1.35; }
.mf-lock b { font-size: 22px; }
@media (prefers-reduced-motion: reduce) { .ptabs button, .cchip, .rb-bar i, .cacts span { transition: none; } }
@media (max-width: 380px) { .ptabs button { font-size: 12px; gap: 3px; } .cchips { grid-template-columns: repeat(2, 1fr); } }
.composer[hidden], #cf[hidden] { display: none !important; }
.rchip { display: inline-block; width: auto; align-self: flex-start; flex: none; }
.ri-main > b + .badge-test + .rchip, .ri-main .rchip { margin-left: 2px; }
.req-in .sec-h { margin: 4px 4px 2px; display: flex; align-items: center; gap: 6px; }
.req-in .sec-h .ico { width: 18px; height: 18px; }
.rq-l { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---------- AI 친구 빠른 답 · 스토리 모드 (2026-11-05 밤) ---------- */
.main > .quick { position: relative; z-index: 1; }
.quick { display: flex; gap: 6px; padding: 6px 12px 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.quick::-webkit-scrollbar { display: none; }
.quick[hidden] { display: none; }
.qr { flex: none; max-width: 78vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 8px 14px; border-radius: 99px; font: inherit; font-size: 13.5px; font-weight: 600; color: #fff; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); cursor: pointer; transition: transform .14s var(--ease); }
.qr:active { transform: scale(.96); }
.qr:last-child { margin-right: 24px; }
.st-btn { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); flex: none; }
.st-btn .ico { width: 16px; height: 16px; }
.ai-top .st-btn + .info-btn { margin-left: 6px; }
.sm-wallet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 20px; margin-bottom: 12px; font-weight: 700; }
.sm-wallet small { flex-basis: 100%; font-weight: 400; }
.chip.cash { background: linear-gradient(140deg, rgba(255, 210, 110, .45), rgba(255, 150, 90, .3)); cursor: default; }
.sm-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .sm-list { grid-template-columns: 1fr 1fr; } }
.sm-card { position: relative; display: block; width: 100%; min-height: 200px; padding: 0; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; color: #fff; text-align: left; font: inherit; cursor: pointer; background: #000; transition: transform .2s var(--ease); }
.sm-card:active { transform: scale(.985); }
.sm-card .sm-bg { position: absolute; inset: 0; }
.sm-card.locked .sm-bg img { filter: saturate(.55) brightness(.62) blur(1.5px); }
.sm-cap { position: relative; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; min-height: 200px; padding: 60px 16px 14px; background: linear-gradient(to top, rgba(10, 6, 16, .92) 30%, transparent); }
.sm-no { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffd0e0; }
.sm-cap b { font-size: 18px; }
.sm-cap p { margin: 0 0 6px; font-size: 13px; line-height: 1.45; opacity: .9; }
.sm-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.sm-meta .chip { padding: 4px 10px; font-size: 12px; cursor: inherit; }
.sm-end.warm { background: linear-gradient(140deg, rgba(255, 92, 154, .6), rgba(255, 170, 110, .45)); }
.sm-lock { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .35); }
.sm-lock .ico { width: 14px; height: 14px; }
.sm-lockbig { position: absolute; top: 14px; left: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .4); }
.sm-lockbig .ico { width: 20px; height: 20px; }
.sm-lockbig.in { position: static; margin: 0 auto; }
.sm-sheet { text-align: center; }
.sm-sheet h3 { margin: 4px 0 0; }
.sm-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.warn-t { color: var(--warn); }
.sm-play .sm-line { max-width: 82%; }
.sm-ph { display: block; padding: 0; margin: 0 0 6px; border: 0; background: none; border-radius: 20px; overflow: hidden; width: min(260px, 68vw); cursor: zoom-in; }
.sm-ph .sm-img { aspect-ratio: 3 / 4; }
.sm-choices .choice { max-width: 86%; text-align: right; }
.choice.picked { background: var(--grad); border-color: transparent; }
.choice:disabled { cursor: default; }
.choice:disabled:not(.picked) { opacity: .45; }
.sm-endcard b { font-size: 18px; }
.sm-endico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-strong); }
.sm-endcard.warm .sm-endico { background: var(--grad); }
.sm-endico .ico { width: 26px; height: 26px; }
@media (prefers-reduced-motion: reduce) { .sm-card, .qr { transition: none; } }

/* ---------- 나라·화면 언어 고르기(11/6) — 처음 한 번 · 위 지구본 · 「나」 ---------- */
.lp-wrap { min-height: 100dvh; height: 100dvh; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; padding: max(16px, env(safe-area-inset-top)) 16px 28px; }
@media (min-width: 600px) { .lp-wrap { align-content: safe center; } }
.lp { width: 100%; max-width: 580px; border-radius: 32px; padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp-top { display: flex; justify-content: space-between; align-items: center; }
.lp h1 { font-size: 22px; margin: 4px 0 0; line-height: 1.25; }
.lp h2 { font-size: 13px; margin: 10px 0 0; color: var(--mut); font-weight: 700; }
.lp p { margin: 0; }
.lp-sug { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 16px; background: var(--fill); border: 1px solid var(--line2); font-size: 13px; }
.lp-sug .ico { width: 18px; height: 18px; color: var(--acc2); }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.lp-grid.eu { padding: 10px; border-radius: 20px; background: var(--fill2); }
.lp-c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 70px; min-width: 0; padding: 8px 6px; border-radius: 18px; background: var(--fill); border: 1px solid var(--line2); text-align: center; transition: background .2s, box-shadow .2s; }
.lp-c .fl { font-size: 24px; line-height: 1; }
.lp-c .nm { font-size: 12px; font-weight: 600; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.lp-c.on, .lp-l.on { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 2px rgba(255, 93, 143, .6); }
.lp-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.lp-l { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border-radius: 16px; background: var(--fill); border: 1px solid var(--line2); text-align: start; min-width: 0; transition: background .2s, box-shadow .2s; }
.lp-l b { font-size: 14.5px; }
.lp-l small { font-size: 11.5px; color: var(--mut); overflow-wrap: anywhere; }
.lp .btn.primary { margin-top: 12px; }
.lp-btn { width: auto; min-width: 40px; padding: 0 10px 0 9px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.lp-btn .ico { width: 18px; height: 18px; }
.lp-cur { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--fill); border: 1px solid var(--line2); font-size: 13px; font-weight: 600; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-cur .ico { width: 16px; height: 16px; }
.lp-me { text-decoration: none; font-weight: 600; text-align: end; }
/* 스토리 한국어 안내 + 자동 번역 */
.ko-note { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; margin: 8px 12px 0; padding: 8px 14px; border-radius: 16px; font-size: 12px; background: rgba(255, 209, 102, .14); border: 1px solid rgba(255, 209, 102, .38); }
@media (min-width: 768px) { .ko-note { margin: 8px 14px 0; } }
.ko-note .linkb { display: inline-flex; gap: 4px; align-items: center; text-decoration: none; font-weight: 700; }
.ko-note .ico { width: 15px; height: 15px; }
/* 긴 낱말(독일어·러시아어·우크라이나어·베트남어)·한자 — 넘치지 않게 */
body { overflow-wrap: break-word; }
:is(:lang(de), :lang(ru), :lang(uk), :lang(fr), :lang(es), :lang(vi)) :is(p, h1, h2, h3, small, .btn, .chip span, label) { hyphens: auto; }
.tabbar a span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .top .lp-btn { width: 40px; padding: 0; } .top .lp-btn span { display: none; } }
.lp #lpgo { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
/* 추천 설정 탭(해외·주변·섞기): 긴 말(vi·ru·de)은 줄을 바꿔 칸 안에 */
.ptabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ptabs button { min-width: 0; white-space: normal; line-height: 1.15; text-align: center; overflow-wrap: anywhere; padding-inline: 6px; }
.top .lp-btn { justify-content: center; }

/* ---------- 회원가입(11/6) ---------- */
.su-sso { display: flex; flex-direction: column; gap: 8px; }
.btn.sso { gap: 10px; }
.btn.sso.apple { background: #000; border-color: rgba(255, 255, 255, .3); }
.gbtn { display: flex; justify-content: center; min-height: 44px; }
.su-sent { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.su-dev { margin: 0; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(255, 224, 138, .7); background: rgba(255, 209, 102, .12); font-size: 13px; line-height: 1.45; }
.su-dev b { font-size: 18px; letter-spacing: .18em; margin-left: 4px; }
.form input.otp { font-size: 22px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.su-codebox { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.su-card { gap: 14px; }
.su-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.su-top .su-n { font-size: 13px; font-weight: 700; color: #ffe1ec; text-align: center; overflow-wrap: anywhere; }
.su-top .linkb { color: var(--mut); white-space: nowrap; }
.su-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.su-bar i { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.su-bar i.done { background: var(--ok); }
.su-bar i.on { background: var(--grad); box-shadow: 0 0 10px rgba(255, 93, 143, .55); }
.su-draft { margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(255, 209, 102, .12); border: 1px solid rgba(255, 224, 138, .45); color: #ffe7a8; font-size: 12.5px; line-height: 1.45; display: flex; gap: 6px; align-items: flex-start; }
.su-draft .ico { width: 16px; height: 16px; margin-top: 1px; }
.su-all { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.su-all input, .su-trow input { width: 20px; height: 20px; flex: none; accent-color: var(--acc); }
.su-terms { display: flex; flex-direction: column; border-radius: 16px; background: rgba(0, 0, 0, .16); padding: 4px 12px; }
.su-trow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.su-trow:last-child { border-bottom: 0; }
.su-trow label { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: 14px; }
.su-trow .linkb { flex: none; color: var(--mut); }
.su-trow em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; margin-right: 4px; white-space: nowrap; }
.su-trow em.req { background: rgba(255, 93, 143, .3); color: #ffd0de; }
.su-trow em.opt { background: rgba(255, 255, 255, .14); color: var(--mut); }
.su-legal { white-space: pre-wrap; font-size: 13px; line-height: 1.6; max-height: 50dvh; overflow-y: auto; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line2); overflow-wrap: anywhere; }
.su-list { margin: 0; padding: 12px 14px 12px 30px; border-radius: 16px; background: rgba(0, 0, 0, .18); display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.su-fs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.su-fs legend { font-size: 13px; color: var(--mut); font-weight: 600; padding: 0; margin-bottom: 6px; }
.su-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; }
.su-seg button { padding: 11px 12px; font-size: 14.5px; }
.form input.ro { opacity: .8; }
.form label small { font-weight: 400; font-size: 11.5px; line-height: 1.35; }
.su-facts { justify-content: center; }
.su-minor .vr-ic { background: var(--grad); color: #fff; }
.lp-other { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mut); font-weight: 600; margin-top: 10px; }
.lp-other select { width: 100%; }
.lp.su-card .su-top { margin-bottom: 6px; }
.acc .li:last-child { justify-content: flex-start; }
.acc .li .linkb + .linkb { margin-left: 14px; }
