/* DearHumans — 지구 궤도의 관측선: 깊은 남색 우주 · 푸른 지구빛 · 바이올렛 성운 · 앰버 골드 포인트 · 반투명 홀로그램 패널. 모바일이 기준. */
:root {
  --bg: #050818; --panel: rgba(18, 26, 58, .72); --panel2: #131b3c; --panel3: rgba(30, 42, 88, .55);
  --line: rgba(150, 175, 255, .14); --line2: rgba(150, 175, 255, .28);
  --ink: #eaeeff; --ink2: #b6c0e8; --muted: #7c88b6;
  --gold: #f0b860; --gold2: #ffd794; --goldSoft: rgba(240, 184, 96, .14); --goldInk: #1b1204;
  --blue: #6fb1ff; --violet: #b39bff; --teal: #5fd6c4; --red: #ff7b8a;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
  --tabs: 60px; --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; }
body { font: 15px/1.55 var(--sans); color: var(--ink); min-height: 100dvh; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(72, 108, 255, .22), transparent 62%),
    radial-gradient(820px 560px at -12% 22%, rgba(150, 96, 255, .15), transparent 60%),
    radial-gradient(900px 700px at 60% 112%, rgba(60, 130, 255, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: var(--ink); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* 별: 두 겹의 점 무늬가 아주 천천히 깜빡인다 */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 28% 62%, #cfe0ff, transparent 60%),
    radial-gradient(1.4px 1.4px at 44% 9%, #fff, transparent 60%), radial-gradient(1px 1px at 58% 44%, #d9ceff, transparent 60%),
    radial-gradient(1.2px 1.2px at 71% 77%, #fff, transparent 60%), radial-gradient(1px 1px at 86% 31%, #cfe0ff, transparent 60%),
    radial-gradient(1px 1px at 93% 84%, #fff, transparent 60%), radial-gradient(1.3px 1.3px at 6% 88%, #ffe7bd, transparent 60%),
    radial-gradient(1px 1px at 37% 36%, #fff, transparent 60%), radial-gradient(1px 1px at 64% 94%, #cfe0ff, transparent 60%),
    radial-gradient(1px 1px at 79% 6%, #fff, transparent 60%), radial-gradient(1px 1px at 19% 47%, #d9ceff, transparent 60%);
  background-size: 560px 560px; animation: twinkle 9s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .stars, .pulse, .live i, .signal i { animation: none !important; } }

.shell { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; min-height: 100dvh; padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); }
.main { padding: calc(12px + env(safe-area-inset-top)) 16px 28px; display: flex; flex-direction: column; gap: 16px; }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tabs) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: flex; justify-content: center; background: rgba(6, 10, 30, .9); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabs a { position: relative; flex: 1; max-width: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; letter-spacing: .02em; color: var(--muted); }
.tabs a.on { color: #fff; }
/* 다섯째 탭: 가입했으면 프로필 그림 + 닉네임 */
.tabs a .uav { box-shadow: 0 0 0 1.5px var(--ring, #6fb1ff); }
.tabs a.on .uav { box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(111, 177, 255, .7); }
.tab-nick { max-width: 100%; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tabs a.on svg { color: var(--blue); filter: drop-shadow(0 0 6px rgba(111, 177, 255, .7)); }
.tab-plus b { width: 40px; height: 30px; border-radius: 12px; background: linear-gradient(135deg, #7c8dff, #5fb6ff); color: #060a1c; display: grid; place-items: center; box-shadow: 0 0 16px rgba(111, 150, 255, .5); }
.tab-plus b svg { width: 17px; height: 17px; stroke-width: 2.2; color: #060a1c !important; filter: none !important; }

/* ── 글 ── */
.logo { font: 600 29px/1 var(--serif); letter-spacing: .01em; background: linear-gradient(180deg, #fff 20%, #a9c6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo sup { font: 600 9px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-left: 6px; vertical-align: 12px; }
.kicker { font: 600 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.h { font: 600 24px/1.15 var(--serif); }
.h2 { font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); margin-top: 6px; }
.muted { color: var(--ink2); }
.tiny { font-size: 12px; color: var(--muted); line-height: 1.5; }
.err, .warn { color: var(--red); font-size: 13.5px; }
.link { color: var(--blue); font-weight: 600; font-size: 13.5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 650; font-size: 15px; transition: transform .1s, background .15s, opacity .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-cta { background: linear-gradient(135deg, #5d74f5, #58a9ff); color: #fff; box-shadow: 0 6px 22px rgba(80, 120, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-danger { background: var(--red); color: #2a0408; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.pillbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .03); }
.pillbtn.on { background: var(--blue); border-color: var(--blue); color: #06122c; }

.top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.top .back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); font-size: 14px; margin-left: -6px; }
.top-title { font: 600 27px/1 var(--serif); }
/* 로고 줄의 검색 버튼 · 로고 아래 세계관 한 줄 (피드) */
.top-search { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border-radius: 50%; color: var(--ink2); }
.top-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.top-search:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.top-search:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.lore { margin-top: -8px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.mebtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--ink2); background: rgba(255, 255, 255, .04); }
.mebtn .uav { box-shadow: none; }

.loading { display: grid; place-items: center; padding: 70px 0; }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--blue); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--ink2); padding: 46px 16px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 사람 그림 (시리즈 공통 동물 그림 + 테두리 8색) · 연구원 초상 */
.uav { display: inline-block; border-radius: 50%; overflow: hidden; flex: none; background: #1a2350; box-shadow: 0 0 0 2px var(--ring, #6fb1ff); }
.uav img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 탈퇴한 사람이 남긴 글: 회색 실루엣 */
.uav.gone { background: #3a4058; box-shadow: 0 0 0 2px #5a6178; display: inline-grid; place-items: end center; }
.uav.gone svg { width: 86%; height: 86%; fill: #9aa0b4; stroke: none; }
.ring0 { --ring: #6fb1ff; } .ring1 { --ring: #b39bff; } .ring2 { --ring: #f0b860; } .ring3 { --ring: #5fd6c4; }
.ring4 { --ring: #ff8fb1; } .ring5 { --ring: #9be37a; } .ring6 { --ring: #ff9d6b; } .ring7 { --ring: #d6dcf5; }
.aav { display: inline-block; border-radius: 50%; overflow: hidden; flex: none; background: #0c1330 center/cover; box-shadow: 0 0 0 1.5px var(--ac, var(--blue)), 0 0 14px -2px var(--ac, var(--blue)); }
.a-xel7 { --ac: #6fb1ff; } .a-momo3 { --ac: #b39bff; } .a-krax { --ac: #f0b860; }
.a-oola { --ac: #5fd6c4; } .a-vex0 { --ac: #ff8a70; } .a-nib { --ac: #b7e36a; } .a-glim { --ac: #e2c79a; } .a-zett { --ac: #c3cbdd; } .a-thrum { --ac: #8f9bff; }

/* ── 첫 화면 ── */
.hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 168px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: #0a1030 center/cover; border: 1px solid var(--line2); box-shadow: inset 0 -90px 70px -30px rgba(5, 8, 24, .92); }
.hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(160, 190, 255, .05) 0 1px, transparent 1px 4px); pointer-events: none; mix-blend-mode: screen; }
.hero > * { position: relative; z-index: 1; }
.hero h2 { font: 600 25px/1.12 var(--serif); text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.hero p { font-size: 13px; color: var(--ink2); }
.live { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(8, 14, 40, .7); border: 1px solid var(--line2); align-self: flex-start; backdrop-filter: blur(6px); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5d73; box-shadow: 0 0 0 0 rgba(255, 93, 115, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 93, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 93, 115, 0); } }
.guide-link { font-size: 13px; color: var(--ink2); }
.guide-link b { color: var(--blue); font-weight: 600; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink2); background: rgba(255, 255, 255, .03); }
.chip.on { color: #fff; border-color: var(--line2); background: rgba(111, 150, 255, .22); }

/* ── 글 카드 ── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(10px); }
.post { padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: fadeUp .35s ease both; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.post-head .who b { font-size: 14px; font-weight: 650; }
.post-head .who span { font-size: 12px; color: var(--muted); }
.post-head time { font-size: 12px; color: var(--muted); flex: none; }
.post-head .more { color: var(--muted); padding: 4px; margin-right: -6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font: 700 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.badge.mission { color: var(--goldInk); background: var(--gold); }
.badge.report { color: #06122c; background: var(--teal); }
.badge.topic { color: #fff; background: rgba(179, 155, 255, .3); border: 1px solid rgba(179, 155, 255, .5); }
.badge.open { color: #06122c; background: #7ee2a8; }
.post h3 { font: 600 21px/1.18 var(--serif); }
.post p.body { color: var(--ink); white-space: pre-wrap; }
.post .pic { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 260px; object-fit: cover; border-radius: 12px; background: #0a1030; border: 1px solid var(--line); }
.inreply { display: flex; gap: 9px; align-items: flex-start; padding: 10px 11px; border-radius: 12px; background: var(--panel3); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.inreply b { color: var(--ink); font-weight: 650; font-size: 12.5px; display: block; margin-bottom: 1px; }
.acts { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.acts button, .acts a { display: inline-flex; align-items: center; gap: 6px; }
.acts svg { width: 19px; height: 19px; }
.acts .on { color: #ff7b9c; } .acts .on svg { fill: currentColor; }
.acts .sp { flex: 1; }
.flag { font-size: 14px; }

/* ── 오늘의 과제 ── */
.mission-hero { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #0a1030 center/cover; border: 1px solid var(--line2); }
.mission-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 24, .0) 40%, rgba(5, 8, 24, .78)); }
.mission-hero .bar { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.clock { font: 600 12px var(--sans); letter-spacing: .04em; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(8, 14, 40, .72); border: 1px solid var(--line2); font-variant-numeric: tabular-nums; }
.mission-no { position: absolute; left: 14px; bottom: 12px; z-index: 1; font: 600 12px var(--sans); letter-spacing: .12em; color: var(--ink2); }
.mission-q { font: 600 29px/1.1 var(--serif); }
.obs { display: flex; gap: 11px; align-items: flex-start; padding: 13px; }
.obs p { color: var(--ink2); font-size: 14.5px; }
.obs b { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 2px; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); text-align: left; overflow: hidden; width: 100%; }
.opt i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(111, 150, 255, .34), rgba(111, 177, 255, .14)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.opt span, .opt em { position: relative; z-index: 1; }
.opt span { font-weight: 550; font-size: 14.5px; }
.opt em { font-style: normal; font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; flex: none; }
.opt.mine { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 18px -6px var(--blue); }
.opt.mine span::after { content: ' ✓'; color: var(--blue); }
.hyp { display: flex; gap: 11px; align-items: flex-start; padding: 12px 13px; }
.hyp div { min-width: 0; }
.hyp b { font-size: 13px; } .hyp b small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 5px; }
.hyp p { font: 500 italic 17px/1.3 var(--serif); color: var(--ink); margin-top: 2px; }

/* ── 쓰기 ── */
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.seg button { min-height: 38px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.seg button.on { background: rgba(111, 150, 255, .28); color: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.hints { padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.hints b { color: var(--gold2); font-size: 14px; }
.hints li { list-style: none; font-size: 13.5px; color: var(--ink2); padding-left: 18px; position: relative; }
.hints li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--gold); }
.field { position: relative; }
textarea, .inp { width: 100%; background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); border-radius: 14px; padding: 13px 14px; outline: 0; font-size: 16px; line-height: 1.5; resize: none; }
textarea:focus, .inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(111, 177, 255, .14); }
textarea::placeholder, .inp::placeholder { color: var(--muted); }
.count { position: absolute; right: 12px; bottom: 9px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.signal { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.signal i { width: 3px; border-radius: 2px; background: currentColor; animation: sig 1s ease-in-out infinite; }
.signal i:nth-child(1) { height: 5px; } .signal i:nth-child(2) { height: 9px; animation-delay: .15s; } .signal i:nth-child(3) { height: 13px; animation-delay: .3s; }
@keyframes sig { 50% { opacity: .25; } }

/* ── 글타래 · 대화 ── */
.cmts { display: flex; flex-direction: column; gap: 4px; }
.cmt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 2px; border-bottom: 1px solid var(--line); animation: fadeUp .3s ease both; }
.cmt:last-child { border-bottom: 0; }
.cmt .txt { flex: 1; min-width: 0; }
.cmt .txt b { font-size: 13px; font-weight: 650; } .cmt .txt small { color: var(--muted); font-size: 11.5px; margin-left: 6px; font-weight: 400; }
.cmt .txt p { font-size: 14.5px; white-space: pre-wrap; }
.cmt.alien .txt p { font: 500 italic 17px/1.32 var(--serif); }
.cmt .more { color: var(--muted); padding: 2px 4px; }
.composer { position: sticky; bottom: calc(var(--tabs) + env(safe-area-inset-bottom) + 8px); z-index: 20; display: flex; gap: 8px; align-items: flex-end; padding: 8px; border-radius: 18px; background: rgba(10, 15, 42, .95); border: 1px solid var(--line2); backdrop-filter: blur(12px); margin-top: 6px; }
.composer textarea { border: 0; background: none; padding: 8px 8px; max-height: 120px; box-shadow: none !important; }
.composer .send { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, #5d74f5, #58a9ff); color: #fff; display: grid; place-items: center; flex: none; }
.composer .send:disabled { opacity: .4; }
.composer .send svg { width: 18px; height: 18px; }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; white-space: pre-wrap; animation: fadeUp .3s ease both; }
.bub.me { align-self: flex-end; background: rgba(93, 116, 245, .42); border: 1px solid rgba(140, 160, 255, .4); border-bottom-right-radius: 5px; }
.bub.alien { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 5px; font: 500 17px/1.34 var(--serif); }
.bub.wait { color: var(--muted); }

/* ── 연구원 ── */
.alien-card { display: flex; gap: 14px; align-items: center; padding: 14px; }
.alien-card .txt { flex: 1; min-width: 0; }
.alien-card b { font: 600 24px/1.05 var(--serif); letter-spacing: .02em; color: var(--ac); }
.alien-card small { display: block; font-size: 12px; color: var(--muted); }
.alien-card em { display: block; font: 500 italic 16px/1.3 var(--serif); color: var(--ink2); margin-top: 4px; }
.alien-top { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 380px; width: 100%; background: #0a1030 center 22%/cover; border: 1px solid var(--line2); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 16px; }
.alien-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 24, .92)); }
.alien-top > * { position: relative; z-index: 1; }
.alien-top h1 { font: 600 38px/1 var(--serif); letter-spacing: .04em; color: var(--ac); text-shadow: 0 0 24px rgba(0, 0, 0, .8); }
.alien-top span { font-size: 12.5px; color: var(--ink2); margin-top: 3px; }
.alien-top q { font: 500 italic 19px/1.25 var(--serif); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 12px 6px; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.stats b { font: 600 22px/1 var(--serif); font-variant-numeric: tabular-nums; }
.traits { display: flex; flex-wrap: wrap; gap: 6px; }
.traits span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink2); }
.logrow { display: block; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink2); }
.logrow:last-child { border-bottom: 0; }
.logrow small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ── 아카이브 · 보고서 ── */
.arc { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px; align-items: center; }
.arc .th { width: 92px; aspect-ratio: 1; border-radius: 12px; background: #0a1030 center/cover; border: 1px solid var(--line); }
.arc small { font: 600 11px var(--sans); letter-spacing: .1em; color: var(--muted); }
.arc b { display: block; font: 600 19px/1.16 var(--serif); margin: 2px 0 5px; }
.arc span { font-size: 12px; color: var(--muted); }
.arc .done { color: var(--teal); }
.search { display: flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 14px; background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: 0; min-height: 46px; font-size: 16px; }
.rep { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.rep h4 { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.rep li { list-style: none; position: relative; padding-left: 16px; color: var(--ink2); font-size: 14.5px; margin-top: 4px; }
.rep li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.quote { padding: 11px 13px; border-left: 2px solid var(--violet); background: var(--panel3); border-radius: 0 12px 12px 0; margin-top: 6px; }
.quote p { font-size: 14.5px; white-space: pre-wrap; } .quote small { color: var(--muted); font-size: 12px; }
.stamp { align-self: flex-start; font: 700 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 6px; padding: 3px 8px; }

/* ── Me · 안내 ── */
.me-card { display: flex; gap: 14px; align-items: center; padding: 16px; }
.me-card b { font: 600 24px/1.1 var(--serif); display: block; }
.me-card span.tiny, .me-card span.muted { display: block; }
.menu { display: flex; flex-direction: column; }
.menu > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; font-size: 15px; }
.menu > *:last-child { border-bottom: 0; }
.menu svg { width: 18px; height: 18px; color: var(--muted); }
.menu .danger { color: var(--red); }
.menu select { background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); border-radius: 10px; padding: 7px 10px; max-width: 190px; font-size: 14px; }
/* 자매품 — 가로로 미는 한 줄 (시리즈 공통 형태, ~/Dearworld/_handoff/sister/phase1.md 3절 · 기준 DearCameo). 세로로 쌓지 않는다 */
.sisters { margin-top: 8px; min-width: 0; max-width: 100%; }
.sisters-title { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
/* 제목의 DearWorld 만 홈페이지 링크 (시리즈 공통, sister/phase1.md 5절) — 글꼴 · 색은 제목 그대로, 얇은 밑줄로만 표시 */
.sisters-title a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sisters-title a:hover { color: var(--ink); }
.sisters-title a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
/* 화면 양 끝까지 흐르게: 부모(.main)의 옆 여백만큼 음수 여백 + 같은 안쪽 여백 */
.sister-row { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px var(--sis-pad, 16px) 8px; margin: 0 calc(-1 * var(--sis-pad, 16px)); }
.sister-row::-webkit-scrollbar { display: none; }
.sister { flex: 0 0 198px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 1px 10px; align-items: center; padding: 9px 11px 10px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.sister:hover { background: rgba(255, 255, 255, .06); }
.sister:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.sister img { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 22%; object-fit: contain; }
.sister b { align-self: end; font: 600 13.5px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sister span { align-self: start; font: 400 11px/1.3 var(--sans); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide { display: flex; flex-direction: column; gap: 18px; }
.guide h1 { font: 600 34px/1.08 var(--serif); }
.guide h2 { font: 600 22px/1.15 var(--serif); margin-bottom: 8px; }
.guide p { color: var(--ink2); }
.guide ol { padding-left: 20px; color: var(--ink2); display: flex; flex-direction: column; gap: 7px; }
.guide ol b { color: var(--ink); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; text-align: center; padding: 16px 10px; }
.flow div { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink2); }
.flow div b { color: var(--ink); font-size: 13.5px; }
.flow svg.ar { color: var(--muted); width: 18px; }
.flow .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--panel3); color: var(--blue); }
.steps3 { display: flex; flex-direction: column; gap: 10px; }
.steps3 > div { position: relative; padding: 13px 14px 13px 52px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.steps3 i { position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--goldSoft); border: 1px solid var(--gold); color: var(--gold2); font: 700 13px/24px var(--sans); text-align: center; font-style: normal; }
.steps3 b { display: block; } .steps3 p { font-size: 13.5px; }
.shots { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scroll-snap-type: x mandatory; }
.shots figure { flex: none; width: 190px; scroll-snap-align: center; }
.shots img { width: 100%; border-radius: 16px; border: 1px solid var(--line2); display: block; }
.shots figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 5px; }

/* ── 입장 암호 · 연령 · 시트 ── */
.dw-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(900px 560px at 80% 0%, rgba(72, 108, 255, .28), transparent 62%), radial-gradient(700px 500px at 0% 100%, rgba(150, 96, 255, .2), transparent 60%), var(--bg); overflow-y: auto; }
.gate-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line2); backdrop-filter: blur(14px); text-align: center; }
.gate-card .logo { font-size: 36px; }
@media (max-width: 399px) { .gate-card .logo { font-size: 30px; white-space: nowrap; } }   /* 좁은 화면에서 SOFT OPEN 배지가 다음 줄로 떨어지지 않게 (이름이 DearEarthlings 로 길어졌다) */
@media (max-width: 359px) { .gate-card .logo { font-size: 27px; } }
.gate-card p { color: var(--ink2); font-size: 14.5px; }
.gate-card input { background: rgba(8, 13, 36, .8); border: 1px solid var(--line2); border-radius: 14px; padding: 13px 14px; outline: 0; font-size: 16px; text-align: center; }
.gate-card input:focus { border-color: var(--blue); }
.overlay, .modal { position: fixed; inset: 0; z-index: 120; background: rgba(2, 4, 14, .66); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; }
.sheet { position: relative; width: min(520px, 100%); max-height: 92dvh; overflow-y: auto; background: #0e1535; border: 1px solid var(--line2); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 24px 20px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 13px; animation: fadeUp .28s ease both; }
@media (min-width: 620px) { .overlay, .modal { align-items: center; } .sheet { border-radius: 24px; border-bottom: 1px solid var(--line2); } }
.sheet h2 { font: 600 26px/1.12 var(--serif); padding-right: 30px; }
.sheet-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; color: var(--muted); }
.gbtn { min-height: 46px; display: grid; place-items: center; }
.keep { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.pf-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; border-radius: 18px; background: var(--panel3); border: 1px solid var(--line); min-height: 160px; justify-content: center; }
.pf-card b { font: 600 25px/1 var(--serif); }
.pf-own { display: flex; justify-content: center; gap: 18px; font-size: 13.5px; }
.pf-name { display: flex; gap: 8px; }
.pf-name input { flex: 1; min-width: 0; background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.pf-name .btn { flex: none; width: auto; padding: 0 16px; }
.pf-final { text-align: center; font-size: 13.5px; color: var(--ink); }
.uav.up { box-shadow: 0 0 0 2px var(--line2); }
.pf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink2); }
.pf-row select { background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; max-width: 210px; font-size: 14px; }
.fb-stars { display: flex; gap: 6px; }
.fb-stars button { font-size: 30px; color: var(--line2); line-height: 1; }
.fb-stars button.on { color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs) + 22px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); z-index: 300; max-width: min(92vw, 420px); padding: 11px 16px; border-radius: 14px; background: #1a2452; border: 1px solid var(--line2); color: var(--ink); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 설치 팝업 (install.js, 시리즈 공통) ── */
.dwi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; display: flex; justify-content: center; padding: 0 12px calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); pointer-events: none; animation: fadeUp .4s ease both; }
.dwi-card { pointer-events: auto; width: min(440px, 100%); background: var(--panel2); color: var(--ink); border: 1px solid var(--line2); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); display: flex; flex-direction: column; gap: 12px; }
.dwi-head { display: flex; gap: 12px; align-items: flex-start; }
.dwi-head img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.dwi-head b { display: block; font-weight: 700; font-size: 16px; }
.dwi-head p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.dwi-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dwi-btn { padding: 9px 14px; border-radius: 999px; font-size: 13px; }
.dwi-main { background: var(--blue); color: #06122c; font-weight: 650; }
.dwi-ghost { border: 1px solid var(--line2); color: var(--ink2); }
.dwi-more { font-size: 13.5px; color: var(--ink); }
.dwi-steps { margin: 0; padding-left: 20px; line-height: 1.9; list-style: decimal; }
.dwi-ico { display: inline-flex; vertical-align: -4px; padding: 2px 4px; border-radius: 6px; background: var(--bg); color: #6fa8ff; }
.dwi-guide { margin: 0 0 8px; line-height: 1.6; }

/* ── 증거 · 표 · 기록 (연구원의 글에 붙는 blocks) — 관측선의 단말에 찍힌 기록처럼 ── */
.ex { position: relative; padding: 12px 13px 12px 15px; border-radius: 12px; background: rgba(6, 10, 30, .72); border: 1px solid var(--line); border-left: 2px solid var(--ac, var(--blue)); font-size: 13.5px; color: var(--ink2); display: flex; flex-direction: column; gap: 6px; }
.ex-tag { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ac, var(--blue)); }
.ex-meta { color: var(--muted); font-size: 11.5px; margin-top: -3px; }
.ex p { margin: 0; }
.ex-note { color: var(--gold2); font: 500 italic 15.5px/1.3 var(--serif); padding-top: 6px; border-top: 1px dashed var(--line2); margin-top: 2px !important; }
.ex-int p b { color: var(--ink); font-weight: 650; margin-right: 7px; font-size: 12.5px; }
.ex-int p { color: var(--ink); font-size: 14.5px; }
.ex-log p, .ex-fields p { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: baseline; }
.ex-fields p { grid-template-columns: 112px 1fr; }
.ex-log p b, .ex-fields p b { font: 600 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); letter-spacing: .02em; }
.ex-fields p b { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ex-log p span, .ex-fields p span { color: var(--ink); font-size: 14px; }
.ex-fields p:last-child span { color: var(--gold2); }
.ex-msg p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ex-msg p.b { align-items: flex-start; }
.ex-msg p span { max-width: 84%; padding: 8px 11px; border-radius: 15px 15px 4px 15px; background: #2a55d8; color: #fff; font-size: 14px; }
.ex-msg p.b span { background: #262f55; border-radius: 15px 15px 15px 4px; }
.ex-msg p small { font-size: 10.5px; color: var(--muted); }
.ex-list ul { margin: 0; padding-left: 17px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 14px; }
.ex-rating { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; border-left-color: var(--red); }
.ex-rating small { width: 100%; font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ex-rating b { color: var(--ink); font: 600 19px/1.15 var(--serif); flex: 1; min-width: 50%; }
.ex-rating .bars { display: inline-flex; gap: 3px; }
.ex-rating .bars i { width: 16px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.ex-rating .bars i.on { background: var(--red); box-shadow: 0 0 8px rgba(255, 123, 138, .6); }
.ex-rating.lv1 .bars i.on, .ex-rating.lv2 .bars i.on { background: var(--gold); box-shadow: none; }
.ex-rating em { width: 100%; font-style: normal; font-size: 12px; color: var(--muted); }
.ex-photo { margin: 0; padding: 0; overflow: hidden; }
.ex-photo img { width: 100%; display: block; }
.ex-photo .ex-tag { padding: 10px 13px 0; }
.ex-photo figcaption { padding: 0 13px 11px; }
.still { font-size: 13.5px; color: var(--ink2); margin-top: -4px; padding: 0 2px; }
.still b { display: block; font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.badge.fmt { color: var(--ac, var(--blue)); background: color-mix(in srgb, var(--ac, var(--blue)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ac, var(--blue)) 45%, transparent); }
.ask { display: block; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line2); color: var(--ink); font: 500 italic 17px/1.3 var(--serif); }
.ask::before { content: 'Over to Earth — '; font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; display: block; margin-bottom: 2px; }
.inreply.top { border-color: rgba(240, 184, 96, .35); background: var(--goldSoft); color: var(--ink); }
.inreply.top b em { font: 700 9.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-left: 7px; font-style: normal; }
/* 사건의 투표: 가설 카드가 곧 보기 */
.opt.hypo { align-items: flex-start; padding: 12px 13px; gap: 11px; }
.opt.hypo .aav { position: relative; z-index: 1; flex: none; }
.opt.hypo .hx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt.hypo .hx b { font-size: 13px; font-weight: 650; } .opt.hypo .hx b small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 5px; }
.opt.hypo .hx q { font: 500 italic 16.5px/1.3 var(--serif); color: var(--ink); quotes: '“' '”'; }
.opt.hypo .hx.none q { color: var(--ink2); }
.opt.hypo.mine .hx b::after { content: ' ✓'; color: var(--blue); }
.opt.hypo.mine span::after { content: none; }
/* 사진 증거 */
.evi { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); max-width: 340px; }
.evi img { display: block; width: 100%; max-height: 300px; object-fit: cover; background: #0a1030; }
.evi span { position: absolute; left: 8px; top: 8px; font: 700 9.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(5, 8, 24, .78); color: var(--gold2); }
.cmt .evi { margin-top: 6px; max-width: 240px; }
.attach { display: flex; align-items: center; gap: 10px; }
.attach .btn { width: auto; padding: 9px 13px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; }
.attach .btn svg { width: 17px; height: 17px; }
.thumb { position: relative; display: inline-block; }
.thumb[hidden] { display: none; }
.thumb img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line2); display: block; }
.thumb button { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #0b1030; border: 1px solid var(--line2); color: var(--ink); font-size: 13px; line-height: 1; }
.composer .cam { width: 40px; height: 40px; border-radius: 13px; color: var(--ink2); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.composer .cam svg { width: 19px; height: 19px; }
.composer .cbox { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.composer .cbox .thumb { margin: 4px 0 0 8px; align-self: flex-start; }
.cmt.re { margin-left: 30px; padding-top: 4px; border-bottom: 1px solid var(--line); }
.cmt:has(+ .cmt.re) { border-bottom: 0; padding-bottom: 2px; }
.cacts { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.clike { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; color: var(--muted); font-size: 11.5px; padding: 2px 4px; }
.clike svg { width: 18px; height: 18px; } .clike.on { color: #ff7b9c; } .clike.on svg { fill: currentColor; }

/* ── The Record: 사전의 항목 ── */
.entry { display: block; }
.entry h3 { font: 600 25px/1.1 var(--serif); letter-spacing: .03em; color: var(--ac, var(--ink)); }
.entry h3 i, .rec b i { font: 500 italic 15px var(--serif); color: var(--muted); margin-left: 7px; letter-spacing: 0; }
.entry p { font: 500 19px/1.34 var(--serif); color: var(--ink); margin-top: 5px; }
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dept { display: flex; flex-direction: column; gap: 3px; padding: 11px 10px; border-top: 2px solid var(--ac, var(--line2)); min-width: 0; }
.dept b { font: 600 16px/1.15 var(--serif); color: var(--ink); }
.dept small { font-size: 11px; color: var(--muted); } .dept span { font-size: 13px; color: var(--ink2); }
.dept.wide { border-top-color: var(--teal); }
.rec-head { display: flex; gap: 13px; align-items: center; }
.rec-head small { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.rec-head h2 { font: 600 30px/1.05 var(--serif); } .rec-head p { color: var(--ink2); font-size: 14px; }
.recs { display: flex; flex-direction: column; }
.rec { display: block; padding: 13px 2px 13px 12px; border-bottom: 1px solid var(--line); border-left: 2px solid var(--ac, var(--line2)); }
.rec[hidden] { display: none; }
.rec b { font: 600 19px/1.15 var(--serif); letter-spacing: .03em; color: var(--ink); }
.rec p { font: 500 16.5px/1.34 var(--serif); color: var(--ink2); margin-top: 2px; }
.rec q { display: block; margin-top: 6px; padding-left: 9px; border-left: 2px solid var(--gold); font-size: 13.5px; color: var(--gold2); quotes: '“' '”'; }
.rec q small { color: var(--muted); margin-left: 7px; }
.rec > small { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 11.5px; color: var(--muted); }
.alien-card .txt small b { color: var(--ac, var(--ink)); font-weight: 650; }

.evid { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); }
.evid img { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 300px; object-fit: cover; background: #0a1030; }
.evid span { position: absolute; left: 9px; top: 9px; font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(5, 8, 24, .82); color: var(--gold2); border: 1px solid rgba(240, 184, 96, .4); }
.obsv { font-size: 14.5px; color: var(--ink2); }
.obsv b, .entry small { display: block; font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.entry { padding-top: 9px; border-top: 1px dashed var(--line2); }

/* 가설 → (지구인의 답) → 최종 결론 */
.entry.was { opacity: .62; } .entry.was h3 { font-size: 19px; } .entry.was p { font-size: 15.5px; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .28); }
.final { padding: 13px 14px; border-radius: 13px; border: 1px solid rgba(240, 184, 96, .45); background: var(--goldSoft); display: flex; flex-direction: column; gap: 6px; }
.final small { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.final h3 { font: 600 25px/1.1 var(--serif); letter-spacing: .03em; color: var(--gold2); } .final h3 i { font: 500 italic 15px var(--serif); color: var(--muted); margin-left: 7px; letter-spacing: 0; }
.final p { font: 500 19px/1.34 var(--serif); color: var(--ink); }
.final q { display: block; padding-left: 10px; border-left: 2px solid var(--gold); font-size: 14px; color: var(--ink2); quotes: none; }
.final q span { display: block; font-size: 11.5px; color: var(--muted); }
.final em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.openline { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.openline i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 8px #7ee2a8; }

/* 탭 다섯 · 연구원 카드의 채널 버튼 · 채널 목록 */
.alien-card { padding: 0; gap: 0; align-items: stretch; }
.alien-card .go { flex: 1; min-width: 0; display: flex; gap: 13px; align-items: center; padding: 13px 4px 13px 13px; }
.alien-card .hail { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-left: 1px solid var(--line); color: var(--ac, var(--blue)); font: 650 11px var(--sans); letter-spacing: .04em; }
.alien-card .hail svg { width: 22px; height: 22px; }
.btn svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }
.chans { padding: 2px 12px; }
.chan { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chan:last-child { border-bottom: 0; }
.chan .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chan .txt b { font-size: 14.5px; font-weight: 650; color: var(--ac, var(--ink)); } .chan .txt b small { font-weight: 500; font-size: 11.5px; color: var(--muted); margin-left: 7px; }
.chan .txt > span { font-size: 13.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan .txt > span.new { font: 500 italic 15px var(--serif); color: var(--muted); }
.chan time { flex: none; font-size: 11.5px; color: var(--muted); }
.tabs a { font-size: 10px; }

.chan-head { display: flex; gap: 13px; align-items: center; padding: 11px 13px; }
.chan-head .txt { flex: 1; min-width: 0; } .chan-head b { font: 600 22px/1.05 var(--serif); color: var(--ac); display: block; } .chan-head small { font-size: 12px; color: var(--muted); }
.chan-head svg { width: 18px; height: 18px; color: var(--muted); }

.alien-card .txt small b { font: 650 12px var(--sans); letter-spacing: 0; }
[data-type] i { font-style: inherit; }
[data-type].typing i { visibility: hidden; }
[data-type].typing span::after { content: '▍'; font-style: normal; color: var(--ac); margin-left: 1px; animation: blink .7s steps(1) infinite; }
[data-type]:not(.typing) span { display: none; }
@keyframes blink { 50% { opacity: 0; } }

/* 답글의 답글 */
.creply { display: block; margin-top: 4px; font: 650 11.5px var(--sans); color: var(--muted); letter-spacing: .02em; padding: 2px 0; }
.replying { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: 12px 12px 0 0; background: rgba(111, 177, 255, .14); border: 1px solid var(--line2); border-bottom: 0; font-size: 12.5px; color: var(--ink2); position: sticky; bottom: calc(var(--tabs) + env(safe-area-inset-bottom) + 66px); z-index: 20; margin-top: 6px; }
.replying[hidden] { display: none; }
.replying button { color: var(--ink2); font-size: 16px; line-height: 1; padding: 0 4px; }
.ex-tag.evno { color: var(--gold2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.openline.unv i { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.rec b em { font: 700 9.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(240, 184, 96, .45); border-radius: 999px; padding: 2px 7px; margin-left: 8px; font-style: normal; vertical-align: 3px; }

/* ── 증거 블록 · 기록 목록: 왼쪽 색 세로줄을 없앴다 (2026-10-12 의견: 흔한 AI 생성 화면 티가 난다) ──
   대신 서류처럼: 머리띠(양식 이름)를 점선으로 가르고, 모서리는 덜 둥글게, 바탕은 한 톤 밝게 */
.ex { padding: 0; border: 1px solid var(--line2); border-left: 1px solid var(--line2); border-radius: 6px; background: rgba(13, 19, 46, .78); gap: 0; overflow: hidden; }
.ex > * { padding-left: 13px; padding-right: 13px; }
.ex > .ex-tag { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 7px; border-bottom: 1px dashed var(--line2); background: rgba(255, 255, 255, .025); color: var(--ink2); font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.ex > .ex-tag::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ac, var(--blue)); box-shadow: 0 0 7px var(--ac, var(--blue)); flex: none; }
.ex > .ex-meta { margin-top: 0; padding-top: 8px; }
.ex > p { padding-top: 7px; padding-bottom: 7px; }
.ex-log > p + p, .ex-fields > p + p { border-top: 1px solid var(--line); }
.ex > p:last-child, .ex > ul:last-child { padding-bottom: 11px; }
.ex > .ex-note { margin: 4px 13px 11px !important; padding: 8px 0 0; }
.ex-list ul { padding: 10px 13px 11px 30px; }
.ex-rating { border-left-color: var(--line2); padding: 11px 13px; gap: 4px 12px; }
.ex-rating > * { padding-left: 0; padding-right: 0; }
.ex-msg > p { padding-top: 5px; padding-bottom: 5px; }
.ex-photo > * { padding-left: 0; padding-right: 0; }
.rec { border-left: 0; padding-left: 2px; }
.rec b { color: var(--ac, var(--ink)); }
.rec q, .final q { border-left: 0; padding-left: 0; }
.final q::before { content: '“'; } .final q span::before { content: '” — '; } .final q span { display: inline; }
.quote { border-left: 0; border-radius: 12px; }

/* 한 번 누르기: 틀렸다 / 맞다 */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.verdict button { padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); font: 650 14px var(--sans); color: var(--ink); }
.verdict button[data-v="wrong"].on { border-color: var(--red); background: rgba(255, 123, 138, .16); color: #ffd0d5; }
.verdict button[data-v="right"].on { border-color: #7ee2a8; background: rgba(126, 226, 168, .14); color: #d2f7e1; }
.vtally { position: relative; margin-top: 8px; height: 22px; border-radius: 999px; overflow: hidden; background: rgba(126, 226, 168, .18); font-size: 11.5px; color: var(--ink); }
.vtally i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 123, 138, .32); }
.vtally span { position: relative; display: block; text-align: center; line-height: 22px; }

/* 위기 신호 안내 — 글은 올라가지 않고 쓴 사람에게만 보인다 */
.care { margin: 10px 0; padding: 14px 16px; border: 1px solid var(--line, rgba(255,255,255,.18)); border-radius: 12px; background: rgba(255,255,255,.06); }
.care p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }

/* 피드의 짧은 카드 · 답하러 가는 칸 · Reported by · 조사 맡기기 (2026-10-21) */
.post.slim .evid img { max-height: 200px; width: 100%; object-fit: cover; }
/* 답하러 가는 칸: 본문(증거)보다 눈에 띄지 않게 — 옅은 테두리 · 흐린 글자 (2026-10-21 사용자 "더 톤다운, 너무 진해서 헷갈린다") */
.answer-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; background: transparent; }
.answer-cta em { font-style: normal; font-size: 11.5px; color: var(--muted); opacity: .8; white-space: nowrap; }
.answer-cta:hover { border-color: var(--line2); color: var(--ink2); }
a.final { display: block; color: inherit; }
.reported { display: flex; align-items: center; gap: 6px; margin: -2px 0 8px; font-size: 12.5px; color: var(--muted); }
.reported b { color: var(--ink2); font-weight: 600; }
.tipbox { display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.tipbox > b { font: 600 18px/1.2 var(--serif); }
/* 조사 맡기기: 세 줄 넉넉한 입력 칸 + 오른쪽 아래 보내기 */
#tipIn { width: 100%; min-height: 84px; resize: vertical; margin-top: 4px; background: rgba(8, 13, 36, .72); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 15px; line-height: 1.45; color: var(--ink); }
.tiprow { display: flex; justify-content: flex-end; margin-top: 2px; }
.tiprow .btn { flex: none; width: auto; padding: 10px 22px; }
.post .headword { display: block; margin: 2px 0 10px; }
.post .headword h3 { font: 600 32px/1.05 var(--serif); letter-spacing: .02em; color: var(--ac, var(--ink)); }
.post .headword i { font: italic 400 14px var(--serif); color: var(--muted); margin-left: 6px; }

/* 드립 선택지 A · B · C + D 직접 쓰기 (2026-10-21) — 어두운 화면에 묻히지 않게: 밝은 바탕 · 또렷한 테두리 · 색 있는 글자 원 */
.opts { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(150, 175, 255, .38); background: rgba(120, 150, 255, .10); color: var(--ink); font-size: 14.5px; line-height: 1.38; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.opt > i { position: absolute; inset: 0 auto 0 0; background: rgba(111, 177, 255, .22); pointer-events: none; transition: width .3s; }
.opt b { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--sans); color: #060a1c; background: linear-gradient(135deg, #8fa2ff, #6fc4ff); box-shadow: 0 0 10px rgba(111, 177, 255, .45); }
.opt span { position: relative; flex: 1; font-weight: 500; }
.opt em { position: relative; flex: none; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.opt.on { border-color: #8fc8ff; background: rgba(111, 177, 255, .18); color: #fff; box-shadow: 0 0 0 1px #8fc8ff, 0 0 16px rgba(111, 177, 255, .25); }
.opt.on b { background: #fff; }
.opt:not([disabled]):hover { border-color: rgba(170, 195, 255, .6); background: rgba(120, 150, 255, .15); }
.opt[disabled] { cursor: default; }
.opt.write { background: transparent; border-style: dashed; border-color: rgba(150, 175, 255, .38); color: var(--ink2); box-shadow: none; }
.opt.write b { background: transparent; color: #8fc8ff; border: 1.5px solid #8fc8ff; box-shadow: none; }
.opt.write em { font-weight: 400; color: var(--muted); }
.final .pick { margin: 4px 0 8px; font-size: 14px; color: var(--ink2); }
.final .pick small { display: block; font: 600 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/*
 * The Record 의 부문 목록 — 카드 격자 대신 서류철 색인처럼 (2026-10-21 피드백: "클로드 티 안 나게, 그림과 주제가 너무 붙어 답답하다").
 * 상자 · 색 띠 없이 가는 줄로만 나누고, 그림과 이름 사이를 넉넉히, 오른쪽에 항목 수.
 */
.dept-index { display: flex; flex-direction: column; margin-top: 4px; }
.dept-head { font: 600 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line2); }
.dept-row { display: flex; align-items: center; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: inherit; }
.dept-row:hover b { color: var(--ac, #fff); }
.dept-row .aav { flex: none; box-shadow: 0 0 0 1px var(--line2); }
.dept-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dept-txt b { font: 600 20px/1.1 var(--serif); color: var(--ink); letter-spacing: .01em; }
.dept-txt small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.dept-row em { flex: none; font: 500 22px/1 var(--serif); font-style: normal; color: var(--ac, var(--ink2)); font-variant-numeric: tabular-nums; opacity: .9; }

/* 소프트 오픈 배지 — 누르면 안내 (soft-open.md 2절 A) */
.logo sup.soft { cursor: pointer; white-space: nowrap; }
.soft-note { margin-top: -4px; padding: 0 2px; }
.soft-note b { color: var(--ink2); font-weight: 600; }
