:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --bg-3: #1d1d23;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #f4f4f6;
  --fg-2: #b4b4bd;
  --fg-3: #7c7c87;
  --red: #ff2d3d;
  --red-2: #ff5a3c;
  --amber: #ffb020;
  --green: #35d07f;
  --blue: #5aa9ff;
  --violet: #a78bfa;
  --paper: #ffffff;
  --paper-fg: #111114;
  --paper-2: #f3f3f6;
  --paper-3: #6b6b76;
  --radius: 16px;
  --app-w: 520px;
  --vv-h: 100dvh;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #050506;
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea { font: inherit; color: inherit; }

.app {
  position: relative;
  max-width: var(--app-w);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
}
@media (min-width: 560px) {
  .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.6); }
}

/* ── 공통 ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.badge.live { background: var(--red); color: #fff; }
.badge.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.badge.trending { background: var(--amber); color: #1a1200; }
.badge.archived { background: #3a3a44; color: #d6d6de; }
@keyframes blink { 50% { opacity: .25; } }

.muted { color: var(--fg-3); }
.dot-sep::before { content: '·'; margin: 0 6px; opacity: .6; }
.stats { display: flex; gap: 14px; color: var(--fg-2); font-size: 13px; align-items: center; }
.stats span { display: inline-flex; gap: 5px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; transition: transform .12s, opacity .12s;
}
.btn:active { transform: scale(.97); }
.btn.white { background: #fff; color: #111; }
.btn.dark { background: #15151a; color: #fff; }
.btn.ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn.block { width: 100%; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 18px;
}
.icon-btn.glass { background: rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.icon-btn svg { width: 22px; height: 22px; }

.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-3) center 22%/cover no-repeat;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--fg-2);
  border: 1.5px solid var(--line-2);
}
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }
.avatar.xl { width: 84px; height: 84px; font-size: 28px; }

.ai-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 1px 5px; border-radius: 3px; background: rgba(167, 139, 250, .18); color: var(--violet);
}

.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 20px);
  background: #fff; color: #111; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 100; max-width: calc(100% - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--line-2); border-top-color: var(--fg); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.center-fill { min-height: 60dvh; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--fg-2); }

/* ── 홈 ──────────────────────────────────────────── */
.home-head {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(var(--bg) 70%, rgba(11,11,13,.0));
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 6px;
}
.brand-row { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 900; font-size: 22px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 2px; }
.brand b { color: var(--red); }
.tagline { font-size: 12px; color: var(--fg-3); margin-top: 1px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px 6px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fg-2);
}
.tab.on { background: #fff; color: #111; }

.hero {
  position: relative; margin: 6px 16px 18px; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 560px; width: calc(100% - 32px);
  background: var(--bg-3) center/cover no-repeat; display: block;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.92)); }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 1; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.hero h2 { margin: 10px 0 6px; font-size: 24px; line-height: 1.28; letter-spacing: -.02em; font-weight: 800; }
.hero .watching { font-size: 13px; color: #ffd2d6; font-weight: 600; margin-bottom: 12px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.step-in {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.hero-cast { display: flex; margin-top: 2px; }
.hero-cast .avatar { width: 30px; height: 30px; margin-right: -8px; border: 2px solid #000; font-size: 11px; }

.section-title { padding: 4px 16px 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; }
.room-list { padding: 0 16px 40px; }
.room-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.room-item:last-child { border-bottom: 0; }
.room-thumb { flex: none; width: 108px; height: 76px; border-radius: 10px; background: var(--bg-3) center/cover no-repeat; position: relative; }
.room-thumb .badge { position: absolute; left: 6px; top: 6px; font-size: 9px; padding: 2px 5px; }
.room-info { min-width: 0; flex: 1; }
.room-info h3 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-info .meta { font-size: 12px; color: var(--fg-3); }
.room-info .stats { font-size: 12px; margin-top: 4px; gap: 10px; }
.empty { padding: 60px 24px; text-align: center; color: var(--fg-3); }

/* ── 기사 상세 (밝은 시트) ───────────────────────── */
.article { background: var(--paper); color: var(--paper-fg); min-height: 100dvh; }
.article-hero { position: relative; aspect-ratio: 16 / 11; background: #222 center/cover no-repeat; }
.article-hero .bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px; }
.article-hero .bar .icon-btn { color: #fff; }
.article-sheet { position: relative; margin-top: -22px; background: var(--paper); border-radius: 22px 22px 0 0; padding: 20px 18px calc(110px + var(--safe-b)); }
.article-sheet .meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--paper-3); }
.article-sheet h1 { margin: 10px 0 6px; font-size: 25px; line-height: 1.3; letter-spacing: -.02em; font-weight: 800; }
.article-sheet .orig { font-size: 13px; color: var(--paper-3); margin-bottom: 18px; }
.ai-summary { background: var(--paper-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 22px; }
.ai-summary h4 { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.ai-summary p { margin: 0; font-size: 15px; line-height: 1.65; color: #2a2a31; }
.sub-h { font-size: 15px; font-weight: 800; margin: 0 0 10px; display: flex; align-items: center; gap: 4px; }
.sources { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 22px; padding: 0 18px 4px; }
.sources::-webkit-scrollbar { display: none; }
.source-card { flex: none; width: 168px; border: 1px solid #e6e6ec; border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.source-card .site { font-weight: 800; font-size: 11px; color: var(--paper-3); margin-bottom: 4px; }
.source-card .t { font-weight: 600; color: var(--paper-fg); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.source-card .ago { color: #a0a0aa; margin-top: 6px; font-size: 11px; }
.cast-preview { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.cast-preview .who { flex: none; width: 72px; text-align: center; font-size: 12px; }
.cast-preview .who .avatar { margin: 0 auto 6px; border-color: #e3e3ea; color: #666; background-color: #eee; }
.cast-preview .who b { display: block; font-size: 12.5px; line-height: 1.3; }
.cast-preview .who span { color: var(--paper-3); font-size: 11px; }
.dock {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--app-w);
  padding: 14px 18px calc(16px + var(--safe-b)); background: linear-gradient(rgba(255,255,255,0), #fff 30%); z-index: 20;
}
.disclaimer { font-size: 11.5px; color: var(--paper-3); line-height: 1.5; margin-top: 18px; }

/* ── 무대 입장 ───────────────────────────────────── */
.stage {
  position: relative; min-height: 100dvh; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 70% at 50% 0%, #2a2440 0%, #0b0b10 55%, #050507 100%);
}
.stage-bg { position: absolute; inset: 0; background: center 40%/cover no-repeat; animation: stagein 1.2s ease-out both; }
.stage-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.85) 85%); }
@keyframes stagein { from { opacity: 0; transform: scale(1.06); } }
.stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(30% 40% at 25% 0%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(30% 40% at 75% 0%, rgba(255,255,255,.14), transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,.8));
}
.stage-top { position: relative; z-index: 1; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0; text-align: center; }
.stage-top .icon-btn { position: absolute; left: 12px; top: calc(10px + env(safe-area-inset-top, 0px)); }
.sim-note { font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.75); font-weight: 700; padding-top: 6px; }
.sim-note small { display: block; letter-spacing: 0; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; padding: 0 48px; }
.stage-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: 20px 20px 10px; }
.stage-title { font-family: var(--serif); font-size: 30px; line-height: 1.15; letter-spacing: .03em; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.stage-venue { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 8px; }
.podium { margin-top: auto; padding-bottom: 6px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.podium .who { width: 92px; }
.podium .avatar { margin: 0 auto 8px; box-shadow: 0 0 0 3px rgba(255,255,255,.08), 0 10px 40px rgba(0,0,0,.6); }
.podium .who.lead .avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 60px rgba(255,255,255,.25); }
.podium b { display: block; font-size: 14px; line-height: 1.3; }
.podium span { font-size: 11.5px; color: rgba(255,255,255,.6); display: block; margin-top: 2px; }
.mic { display: none; width: 3px; height: 54px; margin: 18px auto 0; background: linear-gradient(#666, #222); border-radius: 2px; position: relative; }
.mic::before { content: ''; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 16px; height: 22px; border-radius: 8px; background: #222; border: 2px solid #555; }
.stage-enter { position: relative; z-index: 1; padding: 0 24px 18px; }
.stage-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 10px calc(20px + var(--safe-b)); border-top: 1px solid var(--line); background: rgba(0,0,0,.45); }
.stage-facts div { text-align: center; font-size: 12px; color: rgba(255,255,255,.85); }
.stage-facts div i { display: block; font-style: normal; font-size: 20px; margin-bottom: 2px; }

/* ── 라이브 룸 ───────────────────────────────────── */
.room {
  position: fixed; left: 50%; transform: translateX(-50%); top: var(--vv-top, 0px);
  width: 100%; max-width: var(--app-w); height: var(--vv-h);
  display: flex; flex-direction: column; background: #09090b; overflow: hidden;
}
.room-head {
  flex: none; position: relative; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px;
  background: linear-gradient(rgba(9,9,11,.35), rgba(9,9,11,.92)), var(--stage, none) center 35%/cover no-repeat, #141019;
  border-bottom: 1px solid var(--line);
}
.room-head > * { position: relative; }
.cast-chip b { text-shadow: 0 1px 6px rgba(0,0,0,.9); }
.room-head .row { display: flex; align-items: center; justify-content: space-between; }
.room-head .live-title { text-align: center; line-height: 1.1; }
.room-head .live-title .l { color: var(--red); font-weight: 900; letter-spacing: .1em; font-size: 17px; }
.room-head .live-title .l.trending { color: var(--amber); }
.room-head .live-title .l.archived { color: var(--fg-3); }
.room-head .live-title small { display: block; font-size: 10px; letter-spacing: .14em; color: var(--fg-3); font-weight: 700; margin-top: 2px; }
.room-head .count { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--fg-2); padding-right: 6px; }
.cast-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 4px 2px; }
.cast-strip::-webkit-scrollbar { display: none; }
.cast-chip { flex: none; display: flex; flex-direction: column; align-items: center; width: 74px; text-align: center; font-size: 11.5px; line-height: 1.25; opacity: .9; }
.cast-chip .avatar { width: 46px; height: 46px; margin-bottom: 4px; }
.cast-chip.speaking .avatar { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,45,61,.25); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,45,61,.08); } }
.cast-chip b { font-weight: 700; display: block; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cast-chip .ai-tag { margin-top: 2px; }
.room-tools { display: flex; gap: 6px; justify-content: center; padding-top: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--fg-2); white-space: nowrap;
}
.pill.on { background: #fff; color: #111; border-color: #fff; }

.feed { flex: 1; overflow-y: auto; padding: 12px 12px 18px; overscroll-behavior: contain; }
.sim-banner { text-align: center; font-size: 11.5px; color: var(--fg-3); padding: 2px 16px 14px; line-height: 1.5; }
.thread { margin-bottom: 16px; }
.msg { border-radius: 14px; padding: 11px 13px; margin-bottom: 6px; }
.msg-q { background: var(--bg-2); border: 1px solid var(--line); }
.msg-q.mine { border-color: rgba(90,169,255,.4); background: #111722; }
.msg-q .who { font-size: 12.5px; color: var(--fg-2); font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.msg-q .who .to { color: var(--fg-3); font-weight: 500; }
.msg-q .txt { margin-top: 4px; font-size: 15px; }
.msg-q.blocked .txt { color: var(--fg-3); font-style: italic; font-size: 13px; }
.score { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; }
.score.PRESS { background: rgba(90,169,255,.15); color: var(--blue); }
.score.CROWD { background: rgba(255,45,61,.15); color: #ff7a85; }
.score.INSIGHT { background: rgba(53,208,127,.15); color: var(--green); }

.msg-a { display: flex; gap: 10px; padding: 8px 2px 4px 10px; }
.msg-a .avatar { width: 38px; height: 38px; }
.msg-a .body { min-width: 0; flex: 1; background: linear-gradient(180deg, #1b1622, #15121b); border: 1px solid rgba(167,139,250,.18); border-radius: 4px 14px 14px 14px; padding: 10px 13px; }
.msg-a .name { font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.msg-a .name .opening { font-size: 10px; letter-spacing: .1em; color: var(--fg-3); font-weight: 700; }
.msg-a .txt { margin-top: 4px; font-size: 15px; line-height: 1.6; color: #ece9f3; white-space: pre-wrap; }
.kv { margin-top: 8px; display: grid; gap: 3px; font-size: 12.5px; }
.kv .k { color: var(--green); }
.kv .u { color: var(--amber); }
.dodge { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 900; letter-spacing: .06em; color: #fff; background: #b4141f; padding: 3px 9px; border-radius: 4px; }

.msg-fc { margin-left: 58px; background: #1a1610; border: 1px solid rgba(255,176,32,.3); }
.msg-fc.CONTRADICTION { background: #1f1012; border-color: rgba(255,45,61,.4); }
.msg-fc.FACT { background: #0f1a14; border-color: rgba(53,208,127,.3); }
.msg-fc h5 { margin: 0 0 4px; font-size: 11.5px; letter-spacing: .08em; font-weight: 900; }
.msg-fc.UNVERIFIED h5 { color: var(--amber); }
.msg-fc.CONTRADICTION h5 { color: #ff6b76; }
.msg-fc.FACT h5 { color: var(--green); }
.msg-fc p { margin: 0; font-size: 13.5px; color: #e4e1d8; }
.msg-fc .src { font-size: 11.5px; color: var(--fg-3); margin-top: 4px; }
.msg-fc .src a { text-decoration: underline; }

.msg-press { margin-left: 58px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; background: rgba(255,90,60,.08); border: 1px dashed rgba(255,90,60,.4); cursor: pointer; }
.msg-press b { color: var(--red-2); font-size: 11px; letter-spacing: .08em; white-space: nowrap; padding-top: 1px; }

.msg-unlock { background: linear-gradient(135deg, #10202e, #12121a); border: 1px solid rgba(90,169,255,.35); margin: 4px 0 16px; }
.msg-unlock h5 { margin: 0 0 4px; font-size: 11.5px; letter-spacing: .1em; color: var(--blue); font-weight: 900; }
.msg-unlock .t { font-weight: 800; font-size: 14.5px; margin-bottom: 4px; }
.msg-unlock p { margin: 0; font-size: 13.5px; color: #d6dde6; }
.msg-unlock .src { font-size: 11.5px; color: var(--fg-3); margin-top: 6px; }
.msg-unlock .src a { text-decoration: underline; }

.rx { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.rx button { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--fg-2); border: 1px solid transparent; }
.rx button.on { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; }
.rx button .n:empty { display: none; }
.want { font-size: 11.5px; color: var(--fg-3); margin-top: 4px; }

.typing { display: flex; gap: 10px; align-items: center; padding: 6px 2px 4px 10px; color: var(--fg-3); font-size: 13px; }
.typing .avatar { width: 30px; height: 30px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
.failed { font-size: 12px; color: var(--fg-3); padding: 2px 10px 0; }

.composer { flex: none; border-top: 1px solid var(--line); background: #0e0e12; padding: 8px 12px calc(10px + var(--safe-b)); }
.heat { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #ff7a52; }
.heat .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.heat .bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff9a3c, #ff2d3d); border-radius: 3px; transition: width .6s; }
.heat .deg { font-size: 20px; letter-spacing: 0; color: #fff; font-weight: 700; min-width: 48px; text-align: right; }
.sugg-head { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--fg-2); }
.sugg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 0 2px; }
.sugg::-webkit-scrollbar { display: none; }
.sugg button { flex: none; max-width: 260px; text-align: left; font-size: 13px; padding: 7px 11px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); color: #e3e3ea; line-height: 1.35; }
.ask-as { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 2px; }
.ask-as::-webkit-scrollbar { display: none; }
.ask-as .lbl { flex: none; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; color: var(--fg-3); }
.input-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.input-row textarea {
  flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 22px;
  background: var(--bg-3); border: 1px solid var(--line-2); outline: none; font-size: 16px; line-height: 1.4; min-width: 0;
}
.input-row textarea:focus { border-color: rgba(255,255,255,.35); }
.send { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.send[disabled] { background: #3a3a44; }
.send svg { width: 20px; height: 20px; }
.archived-note { text-align: center; color: var(--fg-3); font-size: 13px; padding: 12px; }

/* ── 시트 · 모달 ─────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6);
  display: flex; align-items: flex-end; justify-content: center; animation: fade .15s;
}
.overlay.center { align-items: center; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  width: 100%; max-width: var(--app-w); max-height: 86dvh; overflow-y: auto; background: #131317;
  border-radius: 20px 20px 0 0; padding: 18px 18px calc(22px + var(--safe-b)); animation: up .2s;
}
@keyframes up { from { transform: translateY(30px); } }
.sheet h3 { margin: 0 0 12px; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.sheet h4 { margin: 18px 0 8px; font-size: 12px; letter-spacing: .1em; color: var(--fg-3); }
.sheet ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.sheet li { font-size: 14px; display: flex; gap: 8px; }
.sheet li .i { flex: none; font-weight: 900; }
.sheet li.k .i { color: var(--green); }
.sheet li.u .i { color: var(--amber); }
.progress { height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.progress i { display: block; height: 100%; background: var(--blue); }
.sheet .note { font-size: 12.5px; color: var(--fg-3); margin-top: 6px; }
.legend { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 13px; color: var(--fg-2); align-items: center; }

.name-modal { width: calc(100% - 32px); max-width: 400px; background: #16161b; border-radius: 20px; padding: 22px; animation: up .2s; }
.name-modal h3 { margin: 0 0 4px; font-size: 19px; }
.name-modal p { margin: 0 0 14px; color: var(--fg-2); font-size: 13.5px; }
.name-modal .field { display: flex; gap: 8px; }
.name-modal input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); outline: none; font-size: 16px; }
.name-modal .actions { display: flex; gap: 8px; margin-top: 14px; }
.name-modal .actions .btn { flex: 1; }

/* 결과 카드 */
.result {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: radial-gradient(90% 50% at 50% 0%, #3a1830, #0b0b0f 70%); display: flex; justify-content: center;
}
.result-in { width: 100%; max-width: var(--app-w); padding: calc(28px + env(safe-area-inset-top, 0px)) 20px calc(28px + var(--safe-b)); text-align: center; position: relative; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -10px; width: 6px; height: 12px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }
.result .kicker { font-size: 13px; letter-spacing: .16em; color: rgba(255,255,255,.75); font-weight: 700; }
.result h2 { margin: 2px 0 20px; font-size: 30px; letter-spacing: .06em; font-weight: 900; }
.result-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; text-align: left; }
.quote-box { position: relative; min-height: 210px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; background: #241a2c center/cover no-repeat; }
.quote-box::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.85)); }
.quote-box > * { position: relative; }
.quote-box q { font-size: 18px; font-weight: 700; line-height: 1.45; quotes: '“' '”'; }
.quote-box .by { text-align: right; font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 8px; }
.result-rows { padding: 8px 20px 16px; }
.result-rows .r { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.result-rows .r:last-child { border-bottom: 0; }
.result-rows .r span { font-size: 11.5px; letter-spacing: .1em; color: rgba(255,255,255,.6); font-weight: 700; }
.result-rows .r b { font-size: 20px; font-weight: 800; }
.result-rows .rx-sum { display: flex; gap: 10px; font-size: 14px; font-weight: 700; }
.result .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.result .back { margin-top: 14px; font-size: 13px; color: var(--fg-3); text-decoration: underline; }
.leaders { margin-top: 18px; text-align: left; font-size: 13px; }
.leaders h4 { font-size: 11.5px; letter-spacing: .1em; color: var(--fg-3); margin: 0 0 6px; }
.leaders .l { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }


.stage-card {
  position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 14px; color: #fff; text-align: center;
  background: #111 center 40%/cover no-repeat; padding: 18px 14px 0;
}
.stage-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.15) 35%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.88) 88%); }
.stage-card > * { position: relative; }
.stage-card .sim { font-size: 10.5px; letter-spacing: .14em; font-weight: 800; color: rgba(255,255,255,.75); }
.stage-card .stage-title { font-size: 22px; margin: 6px 0 2px; }
.stage-card .venue { font-size: 12px; color: rgba(255,255,255,.7); }
.stage-card .podium { margin-top: 90px; gap: 10px; }
.stage-card .podium .who { width: 86px; }
.stage-card .podium b { font-size: 13px; }
.stage-card .podium span { font-size: 10.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage-card .facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px -14px 0; padding: 10px 6px 12px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.4); font-size: 11.5px; color: rgba(255,255,255,.85); }
.stage-card .facts i { display: block; font-style: normal; font-size: 16px; }

.avatar .emo { font-size: 1.15em; line-height: 1; }
.avatar.lg .emo { font-size: 30px; }
.avatar.xl .emo { font-size: 38px; }
.msg-a .mood { font-size: 15px; }
.msg-a .action { margin-top: 2px; font-size: 12.5px; font-style: italic; color: #a99fc0; }

/* ── 라이브 룸: 위아래를 줄이고 가운데 카드를 좌우로 ── */
.room-head { padding: calc(4px + env(safe-area-inset-top, 0px)) 4px 0; }
.room-head .row { gap: 2px; }
.room-head .live-title { text-align: left; padding: 0 4px; }
.room-head .live-title .l { font-size: 14px; }
.room-head .live-title small { font-size: 8.5px; }
.icon-btn.sm { width: 34px; height: 34px; font-size: 16px; }
.cast-mini { flex: 1; display: flex; justify-content: center; gap: 4px; min-width: 0; overflow: hidden; }
.cast-face .avatar { width: 32px; height: 32px; font-size: 12px; border-width: 1.5px; }
.cast-face.on .avatar { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.cast-face.speaking .avatar { border-color: var(--red); animation: pulse 1.2s infinite; }
.room-head .count { font-size: 12px; gap: 2px; padding: 0 2px; }
.room-head .count svg { width: 14px; height: 14px; }
.heat-line { position: relative; height: 16px; margin: 4px 6px 4px; }
.heat-line i { position: absolute; left: 0; top: 7px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ff9a3c, #ff2d3d); transition: width .6s; }
.heat-line::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); }
.heat-line span { position: absolute; right: 0; top: 0; font-size: 11px; font-weight: 800; color: #ffb08a; background: rgba(9,9,11,.85); padding: 0 0 0 6px; }

.stage-wrap { position: relative; flex: 1; min-height: 0; }
.feed {
  position: absolute; inset: 0; padding: 0;
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.feed::-webkit-scrollbar { display: none; }
.thread { flex: 0 0 100%; height: 100%; overflow-y: auto; scroll-snap-align: start; scroll-snap-stop: always; padding: 14px 12px 64px; margin: 0; }
.pager {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(20,20,26,.88); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; color: var(--fg-2);
}
.pager:empty { display: none; }
.pager button { width: 30px; height: 28px; border-radius: 999px; font-size: 18px; line-height: 1; color: #fff; }
.pager button[disabled] { opacity: .25; }
.pager span { padding: 0 4px; min-width: 44px; text-align: center; }
.pager .latest { width: auto; padding: 0 10px; font-size: 12px; background: var(--red); }

.composer { padding: 6px 10px calc(8px + var(--safe-b)); }
.composer .more { display: none; }
.composer.open .more { display: block; }
.composer .sugg { padding-top: 2px; }
.role-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 20px; }
.input-row { margin-top: 0; }
.composer.open .input-row { margin-top: 8px; }

.room-head .grow { flex: 1; }
.cast-strip { justify-content: center; padding: 6px 4px 0; }
.cast-chip.on .avatar { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }

.role-btn { width: auto; min-width: 44px; padding: 0 10px 0 8px; border-radius: 22px; display: inline-flex; align-items: center; gap: 4px; font-size: 18px; }
.role-btn small { font-size: 11.5px; font-weight: 700; color: var(--fg-2); white-space: nowrap; }

/* 카드 안에서는 옆으로 밀리지 않는다 — 좌우 스와이프는 카드 넘기기 전용 */
.thread { overflow-x: hidden; }   /* overscroll-behavior-x 를 막으면 스와이프가 바깥(카드 넘기기)으로 전달되지 않는다 */
.thread > *, .msg, .msg-a, .msg-a .body { max-width: 100%; min-width: 0; }
.thread .txt, .thread p, .kv div, .msg-unlock .t { overflow-wrap: anywhere; word-break: keep-all; }
.msg-fc, .msg-press { max-width: calc(100% - 58px); }
.rx { flex-wrap: wrap; }
.msg-unlock { margin: 10px 0 6px; }
.msg-unlock .why { font-size: 11px; color: var(--fg-3); margin-bottom: 4px; }

/* 캐스트 기분 */
.cast-chip .face { position: relative; display: block; }
.mood-badge {
  position: absolute; right: 6px; bottom: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; background: #16161b; border: 1.5px solid rgba(255,255,255,.25);
}
.mood-badge.pop { animation: moodpop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes moodpop { 0% { transform: scale(.3) rotate(-20deg); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
.mood-label { font-size: 10.5px; font-weight: 700; color: #e5dcff; line-height: 1.2; margin-top: 1px; }
.calm { display: block; width: 44px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); margin-top: 3px; overflow: hidden; }
.calm i { display: block; height: 100%; border-radius: 2px; transition: width .6s; }
.calm.cool i { background: #35d07f; }
.calm.warm i { background: #ffb020; }
.calm.boil i { background: #ff2d3d; animation: blink 1s infinite; }
.archived-note .link { text-decoration: underline; color: #fff; font-weight: 700; }

/* 호감도 */
.approval { font-size: 10px; font-weight: 800; color: #cfe3ff; margin-top: 2px; display: inline-flex; gap: 2px; align-items: center; }
.approval i { font-style: normal; font-size: 8px; }
.approval i.up { color: var(--green); }
.approval i.down { color: var(--red); }
.cast-sheet .who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cast-sheet .who b { font-size: 17px; }
.cast-sheet .muted { font-size: 12.5px; }
.mood-now { font-size: 12.5px; color: #e5dcff; margin-top: 2px; }
.appr-bar { height: 8px; border-radius: 4px; background: rgba(255,45,61,.55); overflow: hidden; }
.appr-bar i { display: block; height: 100%; background: var(--green); transition: width .4s; }
.appr-txt { font-size: 12.5px; color: var(--fg-2); margin: 6px 0 12px; }
.vote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ask-this { margin-top: 2px; }

/* 혼잣말 */
.msg-aside { margin: 6px 0 0 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.12); font-size: 13px; color: #c9c9d2; }
.msg-aside.mine { border-color: rgba(90,169,255,.35); }
.msg-aside .who { font-size: 11.5px; font-weight: 700; color: var(--fg-3); margin-right: 6px; }
.msg-aside .rx { margin-top: 3px; }
.msg-aside .rx button { height: 20px; font-size: 11px; padding: 0 6px; }
.modes { display: flex; gap: 6px; margin-bottom: 6px; }
.modes .pill small { font-size: 10px; opacity: .7; margin-left: 2px; }
.aside-note { font-size: 12px; color: var(--fg-3); margin: 2px 0 4px; }
.composer.aside-mode .send { background: #3a6df0; }

/* 사회자 */
.msg-mc { margin: 14px 4px 6px; padding: 12px 14px; border-radius: 14px; text-align: center; background: linear-gradient(135deg, rgba(255,45,61,.12), rgba(255,176,32,.08)); border: 1px solid rgba(255,90,60,.3); }
.msg-mc .mc-tag { font-size: 10.5px; letter-spacing: .14em; font-weight: 900; color: #ff8a6b; margin-bottom: 4px; }
.msg-mc .txt { font-size: 14.5px; font-weight: 600; color: #fff; }

/* 침착함 = 프로필 테두리 색 */
.cast-chip .face .avatar { border-width: 2.5px; }
.cast-chip .face.cool .avatar { border-color: #35d07f; }
.cast-chip .face.warm .avatar { border-color: #ffb020; }
.cast-chip .face.boil .avatar { border-color: #ff2d3d; }
.cast-chip.speaking .avatar { animation: speak 1.2s infinite; }
@keyframes speak { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.25); } }
.calm { display: none; }

/* 헤더 아래: 범례 + 열기 */
.heat-line { display: flex; align-items: center; gap: 8px; height: 18px; margin: 4px 6px; }
.heat-line::before { display: none; }
.heat-line .hbar { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); }
.heat-line .hbar i { position: absolute; left: 0; top: 0; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ff9a3c, #ff2d3d); transition: width .6s; }
.heat-line .deg { position: static; font-size: 11px; font-weight: 800; color: #ffb08a; background: none; padding: 0; white-space: nowrap; }
.legend-mini { display: flex; gap: 7px; font-size: 9.5px; font-weight: 700; color: var(--fg-3); white-space: nowrap; }
.legend-mini span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; vertical-align: 0; border: 2px solid; box-sizing: border-box; }
.legend-mini .cool::before { border-color: #35d07f; }
.legend-mini .warm::before { border-color: #ffb020; }
.legend-mini .boil::before { border-color: #ff2d3d; }
.heat-line .legend-mini span { position: static; top: auto; right: auto; background: none; padding: 0; font-size: 9.5px; font-weight: 700; color: var(--fg-3); }

/* 후속 질문 */
.follow-btn { display: block; margin: 10px auto 0; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--fg-2); border: 1px dashed var(--line-2); }
.follow-btn.on { color: #fff; border-color: #fff; border-style: solid; }
.following { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg-2); padding: 0 4px 6px; }
.following span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.following button { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-3); font-size: 11px; }
.msg-q + .msg-a ~ .msg-q { margin-top: 12px; }
.badge.hot { background: linear-gradient(90deg, #ff7a18, #ff2d3d); color: #fff; }
.hero-meta .badge.hot { margin-left: -2px; }

/* 로고 · 베타 · 피드백 · 자매품 */
.brand { color: var(--fg); }
.brand .beta { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: super; margin-left: 5px; padding: 2px 6px; border-radius: 999px; background: var(--red); color: #fff; line-height: 1; }
.fb-btn { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--fg-2); }
.home-foot { padding: 10px 16px calc(36px + var(--safe-b)); text-align: center; border-top: 1px solid var(--line); }
.hero-feedback { display: inline-flex; align-items: center; gap: 7px; margin: 18px 0 8px; padding: 10px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; }
.hero-feedback small { font-weight: 500; opacity: .85; font-size: 12.5px; }
.sister { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 20px; margin: 14px -16px 0; padding: 16px 16px 14px; background: #faf8f4; }
.sister-title { width: 100%; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a857c; margin-bottom: 6px; }
.sister-logo { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; letter-spacing: .2px; color: #111111; }
.sister-logo i { font-style: italic; margin-right: 1px; }
.sister-logo.writer { font: 800 13px/1 "Noto Sans KR", var(--font); letter-spacing: .18em; color: #16140f; }
.sister-logo.writer span { font: inherit; letter-spacing: inherit; color: #c8431f; }
.sister-logo.mintchoco { font: 900 18px/1 "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; letter-spacing: -.045em; }
.sister-logo.mintchoco span { font: inherit; letter-spacing: inherit; color: #674F3F; font-weight: 800; }
.sister-logo.mintchoco b { font: inherit; letter-spacing: inherit; color: #22BBBB; font-weight: 900; }
.sister-logo:hover { opacity: .7; }
.home-foot { padding-bottom: 0; }
.sister { padding-bottom: calc(22px + var(--safe-b)); }
.fb-modal textarea { width: 100%; resize: vertical; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); outline: none; font-size: 16px; }
.stars { display: flex; gap: 6px; margin: 4px 0 12px; }
.stars button { font-size: 28px; color: #3a3a44; line-height: 1; }
.stars button.on { color: #ffb020; }

/* 검색 (DearMintchoco 와 같은 줄) */
.brand-row { gap: 10px; }
.brand-col { flex: none; }
.search-field {
  flex: 1 1 auto; max-width: 220px; margin-left: auto; min-width: 0; display: flex; align-items: center; gap: 6px; height: 36px;
  padding: 0 12px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: text;
}
.search-field:focus-within { box-shadow: inset 0 0 0 1.5px #fff; }
.sf-icon { font-size: 13px; opacity: .7; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 0; color: var(--fg); -webkit-appearance: none; appearance: none; }
.search-field input::placeholder { color: var(--fg-3); font-size: 13px; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-cancel { flex: none; font-size: 14px; font-weight: 700; color: #fff; padding: 6px 2px; }
.search-cancel[hidden] { display: none; }
#results { padding-top: 8px; }
.tagline { margin-top: 6px; font-size: 12.5px; color: var(--fg-2); }

.load-more { display: block; width: calc(100% - 32px); margin: 0 16px 24px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 700; font-size: 14px; color: var(--fg); }
.load-more small { font-weight: 500; color: var(--fg-3); margin-left: 4px; }
.room-list { padding-bottom: 12px; }

.result-rows .r.sub { padding-top: 0; justify-content: flex-end; }
.result-rows .r.sub small { font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: 0; }
.result .back-room { margin-top: 18px; }
.result .actions { margin-top: 10px; }
.score-help { font-size: 11.5px; color: var(--fg-3); margin-top: 14px; line-height: 1.5; }
.result h2 { font-size: 26px; }
.leave-btn { height: 28px; padding: 0 11px; margin-left: 2px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); font-size: 12.5px; font-weight: 700; color: #fff; }

/* 나가기: 공유용 프레스 카드 */
.press-card-wrap { background: rgba(0,0,0,.75); padding: 16px; }
.press-card { width: 100%; max-width: 360px; border-radius: 22px; overflow: hidden; background: #141418; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: up .25s; }
.pc-top { position: relative; padding: 18px 18px 16px; background: #222 center 40%/cover no-repeat; text-align: center; }
.pc-top::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.85)); }
.pc-top > * { position: relative; }
.pc-kicker { font-size: 9.5px; letter-spacing: .18em; font-weight: 800; color: #ff8a6b; }
.pc-stage { font-family: var(--serif); font-size: 19px; margin-top: 8px; line-height: 1.2; }
.pc-title { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 6px; }
.pc-body { padding: 16px 18px 6px; text-align: center; }
.pc-name { font-size: 13px; color: var(--fg-2); font-weight: 700; }
.pc-rank { font-size: 30px; font-weight: 900; margin: 2px 0 12px; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.pc-stats b { display: block; font-size: 20px; }
.pc-stats span { font-size: 10.5px; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }
.pc-split { font-size: 12px; color: var(--fg-2); margin: 10px 0 4px; }
.pc-quote { margin: 12px 0 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 13px; line-height: 1.5; text-align: left; }
.pc-quote cite { display: block; font-style: normal; text-align: right; font-size: 11.5px; color: var(--fg-3); margin-top: 4px; }
.pc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 18px; }
.pc-actions .wide { grid-column: 1 / -1; }
.kv .rec { color: #8ec5ff; }

/* 신원 (DearMintchoco 방식): 나이 확인 · 닉네임+그림 고르기 */
.overlay.onboard { z-index: 90; background: radial-gradient(90% 60% at 50% 0%, #2a1530, #09090b 70%); align-items: center; padding: 20px; }
.onboard .reveal { position: relative; text-align: center; max-width: 380px; width: 100%; }
.onboard .ob-logo { font-weight: 900; font-size: 24px; letter-spacing: -.02em; margin-bottom: 14px; }
.onboard .ob-logo b { color: var(--red); }
.onboard h2 { margin: 6px 0 6px; font-size: 24px; letter-spacing: -.02em; line-height: 1.25; }
.onboard .who { color: var(--fg-2); font-size: 14px; margin: 0; }
.onboard .stack { display: grid; gap: 8px; margin-top: 18px; }
.onboard .tiny { font-size: 12px; color: var(--fg-3); margin-top: 12px; }
.ob-x { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 15px; }
.ob-opts { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.ob-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg-2); border: 2px solid var(--line); color: var(--fg); }
.ob-opt.on { border-color: #fff; background: #1d1d25; }
.ob-opt b { font-size: 15px; }
.uav { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; background: #f3ece6; }
.mini { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #f3ece6; vertical-align: -4px; margin-right: 4px; display: inline-block; }
.uav-none { display: inline-grid; place-items: center; font-size: 11px; background: var(--bg-3); }
.ring { box-shadow: 0 0 0 2.5px var(--ring); }
.mini.ring { box-shadow: 0 0 0 1.5px var(--ring); }
.msg-q .who .mini { margin-right: 2px; }
.pc-name { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pc-name .uav { width: 28px; height: 28px; }
