/* DearEcho — 시안: 따뜻한 크림 바탕 · 노을빛 그림 · 짙은 청록 단추 · 세리프 제목. 하단 탭 없음 (플로팅 + · 우측 상단 프로필) */
:root {
  --bg: #f4ece4;
  --paper: #fbf7f2;
  --card: #fffdfa;
  --ink: #2a2420;
  --muted: #7d7069;
  --line: #e6dbd0;
  --teal: #2f4b4b;
  --teal-ink: #f6efe6;
  --rose: #e2566a;
  --rose-soft: #fbe3e2;
  --peach: #f1d9c8;
  --dark: #1e1916;
  --dark-2: #2b2420;
  --on-dark: #f7efe7;
  --on-dark-muted: #c9b9ad;
  --shadow: 0 10px 30px rgba(60, 40, 25, .10);
  /* 평범한 SNS 글꼴 — 기기 기본 글꼴 (사용자 결정 2026-10-17: 세리프를 쓰지 않는다) */
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --serif: var(--sans);
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171311; --paper: #1f1a17; --card: #231d1a; --ink: #f1e8df; --muted: #a8998e; --line: #3a312b;
    --teal: #8fbfb6; --teal-ink: #102321; --rose-soft: #3d2326; --peach: #4a3428; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171311; --paper: #1f1a17; --card: #231d1a; --ink: #f1e8df; --muted: #a8998e; --line: #3a312b;
  --teal: #8fbfb6; --teal-ink: #102321; --rose-soft: #3d2326; --peach: #4a3428; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; flex: none; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; color: var(--muted); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* ── 머리 ── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; gap: 8px; height: 58px; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-right: auto; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.me-av { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--peach) center/cover; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); }
.pill-btn { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--teal); color: var(--teal-ink); font-weight: 600; font-size: 14px; }
.back { width: 40px; height: 40px; display: grid; place-items: center; margin-left: -8px; }
.page-title { font-weight: 600; font-size: 17px; margin-right: auto; }

/* ── For You · Following ── */
.tabs { display: flex; gap: 8px; padding: 4px 0 10px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); }
.tab.on { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.chip.on { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.chip.plain { padding: 0 14px; }

/* ── 첫 화면 (시안 1번) ── */
.hero { position: relative; border-radius: var(--r); overflow: hidden; background: var(--dark) center/cover; color: var(--on-dark); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px 18px; margin-bottom: 18px; box-shadow: var(--shadow); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,.15) 0%, rgba(20,14,12,.25) 40%, rgba(20,14,12,.85) 100%); }
.hero > * { position: relative; }
.hero .brand { position: absolute; top: 20px; left: 20px; font-family: var(--serif); font-size: 26px; }
.hero h1 { font-weight: 700; font-size: clamp(28px, 7.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 18px; }
.hero .cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--peach); color: #2a2420; font-weight: 600; font-size: 16px; }
.hero .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.3); color: #fff; font-size: 20px; display: grid; place-items: center; }
.hero .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.hero .thumbs button { text-align: left; }
.hero .thumbs img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 10px; }
.hero .thumbs b { display: block; font-size: 13px; margin-top: 4px; }
.hero .thumbs small { color: var(--on-dark-muted); font-size: 11px; }

/* ── 노래 카드 (시안 3번) ── */
.post { margin-bottom: 26px; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 0 2px 10px; }
.av { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--peach) center/cover; flex: none; }
.av.sm { width: 32px; height: 32px; }
.av.lg { width: 76px; height: 76px; }
.who { line-height: 1.25; margin-right: auto; min-width: 0; }
.who b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { color: var(--muted); font-size: 12px; }
.follow { height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 500; }
.follow.on { color: var(--muted); }
.media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--dark); color: var(--on-dark); box-shadow: var(--shadow); }
.media .pic { display: block; cursor: pointer; position: relative; aspect-ratio: 4/5; background: var(--dark-2) center/cover; }
.media .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,12,0) 35%, rgba(20,14,12,.55) 70%, rgba(20,14,12,.92) 100%); }
.media .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 18px 4px; z-index: 1; }
.media h2 { font-weight: 700; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; text-wrap: balance; }
.media .place { color: var(--on-dark-muted); font-size: 14px; }
.media .now { min-height: 44px; margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.3; transition: opacity .3s; }
.media .now small { display: block; font-family: var(--sans); font-size: 13px; color: var(--on-dark-muted); }
.bar { display: flex; align-items: center; gap: 10px; padding: 8px 18px 0; font-size: 11px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.track { position: relative; flex: 1; height: 3px; background: rgba(255,255,255,.22); border-radius: 3px; cursor: pointer; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; border-radius: 3px; width: 0; }
.track i::after { content: ''; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.play { display: grid; place-items: center; margin: 10px auto 16px; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff; }
.play svg { width: 26px; height: 26px; }
.play[disabled] { opacity: .45; cursor: default; }
.acts { display: flex; align-items: center; gap: 18px; padding: 12px 4px 4px; font-size: 14px; color: var(--ink); }
.acts > * { display: inline-flex; align-items: center; gap: 6px; }
.acts .sp { margin-left: auto; }
.acts .on svg { fill: var(--rose); stroke: var(--rose); }
.acts .saved svg { fill: currentColor; }
.story { font-size: 16px; line-height: 1.55; margin: 0 2px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.more { display: inline-flex; align-items: center; gap: 4px; margin: 4px 4px 0; color: var(--ink); font-weight: 500; font-size: 14px; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more.open svg { transform: rotate(180deg); }
.lyrics { margin: 12px 4px 0; padding: 4px 0; }
.lyrics .ln { padding: 8px 0; border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; transition: border-color .3s, opacity .3s; cursor: pointer; }
.lyrics .ln p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.lyrics .ln small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.lyrics.live .ln { opacity: .45; }
.lyrics.live .ln.cur { opacity: 1; border-color: var(--rose); }
.about-style { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.about-style img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.about-style b { display: block; }
.about-style p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.reply-of { display: flex; margin-top: -2px; gap: 10px; align-items: center; padding: 10px; margin-bottom: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.reply-of img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.reply-of .k { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.reply-of q { display: block; font-size: 13px; quotes: '“' '”'; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.reply-of .arrow { text-align: center; color: var(--muted); }
.menu { position: relative; }
.pop { position: absolute; right: 0; top: 40px; z-index: 5; min-width: 190px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; }
.pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.pop button:hover { background: var(--paper); }
.pop .danger { color: #c0392b; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); vertical-align: middle; }

/* ── 만드는 중 · 결과 ── */
.making { text-align: center; padding: 40px 10px; }
.making .disc { width: 140px; height: 140px; margin: 0 auto 24px; border-radius: 50%; background: var(--dark) center/cover; box-shadow: var(--shadow); animation: spin 6s linear infinite; position: relative; }
.making .disc::after { content: ''; position: absolute; inset: 44%; border-radius: 50%; background: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; margin: 18px auto 0; max-width: 300px; text-align: left; }
.steps li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--muted); }
.steps li.on { color: var(--ink); font-weight: 500; }
.steps li.done { color: var(--ink); }
.steps i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.steps li.on i { border-color: var(--teal); border-top-color: transparent; animation: spin 1s linear infinite; }
.steps li.done i { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.decide { display: grid; gap: 10px; margin: 18px 0 8px; }
.notice { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin: 12px 0; }
.notice.care { background: var(--rose-soft); border-color: transparent; font-size: 16px; line-height: 1.45; }

/* ── 단추 ── */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--teal); color: var(--teal-ink); font-weight: 600; font-size: 16px; width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.sm { height: 40px; font-size: 14px; width: auto; padding: 0 18px; }
.btn[disabled] { opacity: .5; cursor: default; }
.link { color: var(--teal); font-weight: 500; }

/* ── 만들기 (시안 2번) ── */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(25, 18, 14, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 560px; max-height: 94vh; overflow-y: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
@media (min-width: 640px) { .overlay { align-items: center; } .sheet { border-radius: 26px; } }
.sheet-head { position: sticky; top: 0; z-index: 2; background: var(--bg); display: flex; align-items: center; height: 58px; margin: 0 -4px; }
.sheet-head h2 { flex: 1; text-align: center; font-size: 17px; font-weight: 600; margin: 0; }
.sheet-head .side { width: 56px; font-size: 15px; color: var(--muted); }
.sheet-head .side:last-child { text-align: right; }
.sheet h3 { font-size: 17px; margin: 22px 0 2px; font-weight: 600; }
.sheet .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.write { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 30px; }
.write textarea { width: 100%; min-height: 130px; border: 0; background: transparent; resize: none; outline: none; font-size: 16px; line-height: 1.45; }
.write .count { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
.style { text-align: center; font-size: 13px; line-height: 1.25; }
.style .ring { width: min(84px, 22vw); aspect-ratio: 1; margin: 0 auto 6px; border-radius: 50%; padding: 3px; border: 2px solid transparent; }
.style .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.style.on .ring { border-color: var(--teal); }
.style.on { font-weight: 600; }
.style-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.surprise { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px dashed var(--muted); font-size: 14px; font-weight: 500; }
.surprise svg { width: 18px; height: 18px; }
.surprise.on { border: 1px solid var(--teal); background: var(--teal); color: var(--teal-ink); }
.see-all { display: flex; align-items: center; gap: 4px; font-weight: 500; }
.see-all svg { width: 16px; height: 16px; }
.make-btn { margin-top: 24px; }

/* ── 댓글 (시안 6번) ── */
/* 카드 아래에서 펼치는 댓글 */
.cmts-link { display: block; margin: 4px 4px 0; color: var(--muted); font-size: 14px; }
.cbox { margin: 6px 2px 0; padding-top: 4px; }
.cbox .cmt { padding: 9px 0; }
.cform { display: flex; gap: 10px; align-items: center; margin: 8px 0 4px; }
.cform input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); outline: none; font-size: 15px; }
.cform .send { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--teal); color: var(--teal-ink); display: grid; place-items: center; }
.cform .send svg { width: 20px; height: 20px; }
.comments { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 8px; padding-bottom: 90px; }
.comments h3 { font-size: 16px; margin: 10px 0; }
.cmt { display: flex; gap: 10px; padding: 12px 0; }
.cmt .body { flex: 1; min-width: 0; }
.cmt .body b { font-weight: 600; font-size: 14px; }
.cmt .body small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.cmt .body p { margin: 2px 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmt .row { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.cmt .row button { display: inline-flex; align-items: center; gap: 4px; }
.cmt .row svg { width: 16px; height: 16px; }
.cmt .row .on svg { fill: var(--rose); stroke: var(--rose); }
.cmt .row .ask { padding: 2px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.mk-song { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: var(--rose-soft); color: var(--ink); font-size: 13px; font-weight: 500; }
.mk-song svg { width: 16px; height: 16px; color: var(--rose); }
.ai-ans { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.ai-ans b { font-size: 12px; color: var(--muted); font-weight: 600; display: block; }
.composer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.composer form { display: flex; gap: 10px; align-items: center; }
.composer input { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); outline: none; }
.composer .send { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--teal-ink); display: grid; place-items: center; }

/* ── 프로필 (시안 8번) ── */
.profile { padding-top: 6px; }
.profile .row1 { display: flex; align-items: center; gap: 14px; }
.profile h1 { font-size: 20px; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.profile .bio { margin: 12px 0 0; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 18px 0 8px; }
.counts b { display: block; font-size: 18px; }
.counts span { color: var(--muted); font-size: 13px; }
.ptabs { display: flex; border-bottom: 1px solid var(--line); margin: 10px -16px 14px; padding: 0 16px; overflow-x: auto; }
.ptabs button { flex: 1; min-width: 72px; height: 44px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; }
.ptabs .on { color: var(--ink); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 100px; }
.tile { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--dark) center/cover; color: var(--on-dark); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,14,12,.85)); }
.tile div { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1; }
.tile b { display: block; font-size: 14px; line-height: 1.2; }
.tile small { color: var(--on-dark-muted); font-size: 11px; }
.tile .badge { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(0,0,0,.45); border: 0; color: #fff; }

/* ── 검색 ── */
.search-box { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin: 6px 0 16px; }
.search-box input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; }
.world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
.rows .r { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows .r img { width: 56px; height: 70px; border-radius: 10px; object-fit: cover; }
.rows .r b { display: block; }
.rows .r small { color: var(--muted); }
.people { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.people a { text-align: center; font-size: 12px; width: 72px; flex: none; }
.people .av { margin: 0 auto 4px; width: 56px; height: 56px; }
h4.sec { font-size: 15px; margin: 18px 0 10px; }

/* ── 닉네임 · 그림 정하기 ── */
.join .me-preview { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.join .me-preview .av { width: 64px; height: 64px; }
.join .nick { font-size: 20px; font-weight: 600; }
.avatars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.avatars button { aspect-ratio: 1; border-radius: 50%; background: var(--peach) center/cover; border: 2px solid transparent; }
.avatars .on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--bg) inset; }
.field { display: flex; gap: 8px; margin: 8px 0; }
.field input { flex: 1; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); outline: none; }
.warn { font-size: 13px; color: var(--ink); background: var(--rose-soft); padding: 10px 12px; border-radius: 12px; margin: 16px 0 10px; }
details.own summary { cursor: pointer; font-weight: 500; margin: 18px 0 6px; }

/* ── 입장 암호 ── */
.gate { min-height: 100vh; display: grid; place-content: center; gap: 14px; padding: 24px; max-width: 380px; margin: 0 auto; text-align: center; }
.gate .logo { font-size: 40px; margin: 0; }
.gate input[type=password] { height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-align: center; font-size: 16px; }
.gate label { font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.gate .err { color: #c0392b; min-height: 20px; font-size: 14px; }

/* ── 기타 ── */
.fab { position: fixed; right: max(18px, calc(50vw - 262px)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: var(--teal-ink); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(47, 75, 75, .38); }
.fab svg { width: 28px; height: 28px; }
.fab:active { transform: scale(.96); }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; background: var(--dark); color: var(--on-dark); padding: 10px 18px; border-radius: 999px; font-size: 14px; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--shadow); animation: fade .2s; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--teal); animation: spin .8s linear infinite; display: inline-block; }
.center { display: grid; place-items: center; padding: 40px; }
.loadmore { display: block; margin: 0 auto 120px; }
.about { padding-bottom: 80px; }
.about h1 { font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; margin: 12px 0; }
.about p { font-size: 16px; }
.sheet .x { position: absolute; }
.keep { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 14px; margin: 12px 0; }
.signin .sheet { text-align: center; padding-top: 10px; }
.signin h2 { font-weight: 700; font-size: 24px; margin: 14px 0 6px; }
.signin p { color: var(--muted); }
.close-x { position: absolute; right: 16px; top: 12px; width: 36px; height: 36px; font-size: 24px; color: var(--muted); }
.signin .sheet { position: relative; }
