/* 짠 — 시안 2 '밤' (2026-11-23). 검정 바탕 · 사진 빛이 위에서 번짐 · 포인트는 맥주색 하나 · 떠 있는 둥근 메뉴.
   글자 크기는 rem(브라우저 글자 크기 설정을 따라감), 사진·덱 크기는 화면 폭을 따라감. 다크 하나만. */
:root {
  color-scheme: dark;
  --bg: #0c0b0a;
  --ink: #f6f2ea;
  --sub: rgba(246, 242, 234, .7);
  --faint: rgba(246, 242, 234, .58);
  --line: rgba(255, 255, 255, .1);
  --fill: rgba(255, 255, 255, .07);
  --fill2: rgba(255, 255, 255, .12);
  --glass: rgba(38, 36, 33, .84);
  --sheet: #191714;
  --beer: #ffbf52;
  --on-beer: #1a1305;
  --beer-soft: rgba(255, 191, 82, .14);
  --warn: #ff9d8f;
  --f: Pretendard, 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --num: Unbounded, var(--f);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; -webkit-tap-highlight-color: transparent; }
body.lock { overflow: hidden; }
::selection { background: var(--beer); color: var(--on-beer); }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; opacity: .45; }
input, textarea { font: inherit; color: inherit; caret-color: var(--beer); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--beer); outline-offset: 2px; border-radius: 10px; }
[tabindex="-1"]:focus-visible { outline: none; }
#app { position: relative; max-width: 480px; margin: 0 auto; min-height: 100dvh; }

/* ---------- 사진 빛 번짐 ---------- */
.amb { position: absolute; left: 0; right: 0; top: 0; height: 560px; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }
.amb img { position: absolute; left: -60px; top: -80px; width: calc(100% + 120px); height: calc(100% + 80px); object-fit: cover; filter: blur(46px) saturate(1.25); opacity: .62; }
.amb:empty { background: radial-gradient(120% 70% at 50% 0, rgba(255, 191, 82, .16), transparent 70%); }

/* ---------- 화면 틀 ---------- */
.scr { position: relative; padding: calc(var(--safe-t) + 10px) 0 calc(var(--safe-b) + 128px); }
.scr > :not(.amb) { position: relative; z-index: 1; }
.scr.has-rsvp { padding-bottom: calc(var(--safe-b) + 196px); }
.hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 4px 24px 0; font-size: .875rem; font-weight: 600; color: rgba(246, 242, 234, .84); }
.icbtn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.icbtn:active { background: var(--fill2); }
.ttl { padding: 6px 24px 0; font-size: 2.1875rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.16; text-wrap: balance; }
.sub { display: flex; gap: 7px; align-items: center; padding: 8px 24px 0; font-size: .9375rem; font-weight: 600; color: var(--beer); }
.sub .ic { flex: none; }
.sub.cheer { font-weight: 800; }
.hint { padding: 4px 24px 0; font-size: .8125rem; color: var(--faint); }
.chip, .dd { flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 14px; font-size: .8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dd { background: var(--beer); color: var(--on-beer); }
.chip { background: var(--fill2); color: var(--ink); font-weight: 700; }
.fine { font-size: .75rem; color: var(--faint); }
.center { text-align: center; padding: 18px 20px 0; }
.acc { color: var(--beer); font-weight: 700; }

/* ---------- 단추 ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 40px); min-height: 52px; margin: 12px 20px 0; padding: 8px 20px; border-radius: 26px;
  background: var(--beer); color: var(--on-beer); font-size: 1rem; font-weight: 700; text-align: center; transition: transform .15s var(--ease), background-color .15s; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.ghost { background: var(--fill2); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.btn.ghost:active:not(:disabled) { background: rgba(255, 255, 255, .18); }
.btn.quiet { background: none; color: var(--sub); min-height: 44px; font-weight: 600; font-size: .9375rem; }
.btn.danger { background: var(--fill2); color: var(--warn); }
.btn.sm { width: auto; margin: 0; padding: 0 18px; flex: none; }
.btn.more { margin-top: 24px; }
.pair { display: flex; gap: 10px; margin: 12px 20px 0; }
.pair .btn { flex: 1; width: auto; margin: 0; padding: 8px 12px; }
.card .btn, .sheet .btn, .form-in .btn, .gate-in .btn { width: 100%; margin: 12px 0 0; }
.card .pair, .sheet .pair, .form-in .pair { margin: 12px 0 0; }
.sh-ft .pair, .sh-ft > .btn { margin-top: 0; }

/* ---------- 이번 주: 사진 덱 ---------- */
.deck { --fw: min(296px, calc(100vw - 80px)); --fh: calc(var(--fw) * 1.243); position: relative; height: calc(var(--fh) + 4px); margin-top: 22px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bk { position: absolute; left: 50%; top: 10px; width: calc(var(--fw) * .912); height: calc(var(--fh) * .924); margin-left: calc(var(--fw) * -.456); border-radius: 26px; overflow: hidden; filter: brightness(.5); transition: filter .2s; }
.bk img, .fr > img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.bk.l { transform: rotate(-7deg) translateX(-34px); }
.bk.r { transform: rotate(6deg) translateX(34px); }
.bk:active { filter: brightness(.7); }
.fr { position: absolute; left: 50%; top: 0; width: var(--fw); height: var(--fh); margin-left: calc(var(--fw) / -2); border-radius: 28px; overflow: hidden; background: #1c1916; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .9); transition: transform .3s var(--ease); }
.fr::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); pointer-events: none; z-index: 1; }
.fr-open { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.fr-open:focus-visible { outline-offset: -4px; }
.fr .n, .fr .by, .fr .cm { position: absolute; z-index: 3; pointer-events: none; }
.fr .n { right: 14px; top: 14px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.fr .by { left: 16px; right: 84px; bottom: 16px; display: flex; align-items: center; gap: 10px; }
.fr .by > span:last-child { min-width: 0; }
.fr .by b { display: block; font-size: 1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr .by small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .84); }
.fr .cm { right: 14px; bottom: 18px; min-height: 32px; max-width: 40%; padding: 0 12px; border-radius: 16px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700; }
.fr .cm .re { letter-spacing: -2px; margin-right: 3px; white-space: nowrap; overflow: hidden; }
.fr .chg { position: absolute; z-index: 4; left: 12px; top: 12px; min-height: 36px; padding: 0 12px 0 10px; border-radius: 18px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700; }
.fr .chg::before { content: ""; position: absolute; inset: -5px; }
.fr.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: rgba(255, 255, 255, .04); border: 1.5px dashed rgba(246, 242, 234, .32); box-shadow: none; }
.fr.empty::after { display: none; }
.fr.empty .em-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--beer); color: var(--on-beer); margin-bottom: 6px; }
.fr.empty b { font-size: 1.125rem; font-weight: 800; }
.fr.empty small { font-size: .875rem; color: var(--sub); }
.fr.in-r { animation: inR .34s var(--ease); }
.fr.in-l { animation: inL .34s var(--ease); }
@keyframes inR { from { transform: translateX(46px) rotate(3deg); opacity: .5; } }
@keyframes inL { from { transform: translateX(-46px) rotate(-3deg); opacity: .5; } }

/* 친구 줄: 올린 친구는 자기 사진에 맥주색 고리, 아직은 점선 고리 + 이름 첫 글자 */
.ring { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 4px; padding: 20px 14px 0; }
.ring li { width: 62px; text-align: center; font-size: .72rem; font-weight: 600; color: rgba(246, 242, 234, .88); }
.ring li.w { color: var(--faint); }
.ring button { display: block; width: 100%; min-height: 44px; border-radius: 12px; }
.ring i { display: block; width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 50%; font-style: normal; }
.ring i.on { padding: 2.5px; border: 2px solid var(--beer); }
.ring i.on img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ring [aria-current] i.on { outline: 1.5px solid rgba(255, 191, 82, .45); outline-offset: 3px; }
.ring [aria-current] span { color: var(--ink); font-weight: 800; }
.ring i:not(.on) { display: grid; place-items: center; border: 1.5px dashed rgba(246, 242, 234, .42); font-size: .875rem; font-weight: 700; color: var(--sub); }
.ring i.me { border-color: var(--beer); color: var(--beer); }
.ring span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 카드(할 일) · 목록 줄 ---------- */
.card { margin: 20px 20px 0; padding: 16px 18px 18px; border-radius: 22px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.card-hd { display: flex; align-items: center; gap: 10px; }
.card-hd .ic { flex: none; color: var(--beer); }
.card-hd b { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.card p { margin-top: 6px; font-size: .875rem; color: var(--sub); }
.list { margin: 18px 20px 0; border-radius: 20px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); overflow: hidden; }
.form-in .list, .sheet .list { margin: 16px 0 0; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; text-align: left; }
.row + .row { box-shadow: inset 0 1px 0 var(--line); }
button.row:active, a.row:active { background: var(--fill); }
a.row { color: inherit; text-decoration: none; }
.row > .ic:last-child { flex: none; color: var(--faint); }
.ri { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--fill2); color: var(--ink); overflow: hidden; }
.ri.thumb img { width: 100%; height: 100%; object-fit: cover; }
.rt { flex: 1; min-width: 0; }
.rt b { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.rt small { display: block; margin-top: 1px; font-size: .8125rem; color: var(--sub); line-height: 1.4; }
.rv { flex: none; max-width: 45%; font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickrow.on b { color: var(--beer); font-weight: 700; }
.pickrow .ic { color: var(--beer); }

/* ---------- 떠 있는 메뉴 · 참석 단추 ---------- */
.dock { position: fixed; z-index: 20; left: 50%; bottom: calc(var(--safe-b) + 18px); transform: translateX(-50%); height: 68px; padding: 0 6px; border-radius: 34px; display: flex; align-items: center; gap: 2px;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 30px -14px #000; }
/* 떠 있는 메뉴 아래로 지나가는 내용은 어둡게 잦아들게 (메뉴 뒤에 글자가 반쯤 걸려 보이지 않도록) */
body:has(.dock)::after { content: ""; position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; height: calc(var(--safe-b) + 132px); pointer-events: none; background: linear-gradient(rgba(12, 11, 10, 0), rgba(12, 11, 10, .94) 58%); }
.dock button { position: relative; width: 50px; height: 52px; display: grid; place-items: center; border-radius: 26px; color: rgba(246, 242, 234, .62); transition: color .15s; }
.dock button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dock button.on { color: var(--ink); }
.dock button.on::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
.dock button:active { background: var(--fill2); }
.dock .sh { width: 56px; height: 56px; margin: 0 4px; border-radius: 50%; background: var(--beer); color: var(--on-beer); transition: transform .15s var(--ease), box-shadow .3s; }
.dock .sh:active { transform: scale(.94); background: var(--beer); }
.dock .sh.nudge { outline: 1.5px solid rgba(255, 191, 82, .5); outline-offset: 4px; }
.rsvp { position: fixed; z-index: 19; left: 50%; bottom: calc(var(--safe-b) + 100px); transform: translateX(-50%); width: min(440px, calc(100% - 40px)); min-height: 56px; padding: 5px; border-radius: 28px; display: flex;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 30px -14px #000; }
.rsvp button { flex: 1; min-height: 46px; border-radius: 23px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .9375rem; font-weight: 700; color: rgba(246, 242, 234, .8); transition: background-color .2s, color .2s; }
.rsvp button.on { background: var(--beer); color: var(--on-beer); }
.rsvp .ic { stroke-width: 2.4; }

/* ---------- 모임: 초대장 ---------- */
.post { position: relative; display: block; margin: 16px 20px 0; height: min(286px, calc((100vw - 40px) * .85)); border-radius: 28px; overflow: hidden; background: #1c1712; box-shadow: 0 30px 50px -24px #000; }
.post img { width: 100%; height: 100%; object-fit: cover; }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .78)); }
.post.bare { background: radial-gradient(90% 80% at 75% 10%, rgba(255, 191, 82, .32), transparent 60%), #1c1712; }
.post .t, .post .d, .post .w { position: absolute; z-index: 1; left: 20px; right: 20px; }
.post .t { top: 18px; font-size: .8125rem; font-weight: 700; }
.post .d { left: 18px; bottom: 46px; font-family: var(--num); font-weight: 800; font-size: 3.75rem; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.post .w { bottom: 18px; font-size: 1rem; font-weight: 700; }
.loc { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 16px 24px 0; text-align: left; }
.loc i { flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--fill2); display: grid; place-items: center; }
.loc > span { flex: 1; min-width: 0; }
.loc b { display: block; font-size: 1rem; font-weight: 700; }
.loc.none b { color: var(--sub); font-weight: 600; }
.loc small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--sub); }
.loc > .ic:last-child { flex: none; color: var(--faint); }
.go { display: flex; align-items: center; gap: 12px; padding: 16px 24px 0; font-size: .875rem; color: var(--sub); font-weight: 500; }
.go b { color: var(--ink); font-weight: 700; }
.stk { display: flex; flex: none; }
.stk:empty { display: none; }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; }
.stk .av { width: 32px; height: 32px; font-size: .75rem; margin-left: -9px; box-shadow: 0 0 0 2px var(--bg); }
.stk .av:first-child { margin-left: 0; }
.av.more { background: var(--fill2); color: var(--ink); }
.c1 { background: #5a4526; color: #ffd99a; } .c2 { background: #2f4a3f; color: #bfe6d2; } .c3 { background: #3a3f63; color: #cdd3ff; } .c4 { background: #5a3038; color: #ffc9d1; } .c5 { background: #4a4640; color: #e9e2d2; }
.ans { margin: 12px 24px 0; padding: 4px 0 0; box-shadow: inset 0 1px 0 var(--line); }
.ans li { display: flex; gap: 12px; padding: 7px 0 0; font-size: .8125rem; line-height: 1.45; }
.ans b { flex: none; width: 3.4em; color: var(--faint); font-weight: 600; }
.ans li.yes b { color: var(--beer); }
.ans span { flex: 1; min-width: 0; }
.btn .ic { flex: none; }
.tiles { display: flex; gap: 10px; padding: 16px 20px 0; }
.tile-i { flex: 1; min-width: 0; min-height: 84px; padding: 13px 16px; border-radius: 20px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-align: left; display: flex; flex-direction: column; justify-content: center; }
button.tile-i:active { background: var(--fill2); }
.tile-i.warn { box-shadow: inset 0 0 0 1.5px rgba(255, 191, 82, .55); }
.tile-i small { display: block; font-size: .78rem; color: var(--sub); font-weight: 500; line-height: 1.35; }
.tile-i.warn small:last-child { color: var(--beer); }
.tile-i b { display: block; margin: 3px 0 2px; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
/* 금액은 한 줄로: 칸 폭과 글자 수에 맞춰 줄임(큰 글씨·큰 금액에서도 안 쪼개짐) */
.tile-i { container-type: inline-size; }
.tile-i b.fit { white-space: nowrap; overflow-wrap: normal; font-size: min(1.1875rem, calc(160cqi / var(--len))); }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 모임: 달력 ---------- */
.calbox { margin: 16px 20px 0; padding: 12px 10px 14px; border-radius: 22px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.mchips { display: flex; gap: 8px; padding: 0 4px 8px; }
.mchips button { min-height: 44px; padding: 0 16px; border-radius: 22px; background: var(--fill); font-size: .875rem; font-weight: 700; color: var(--sub); }
.mchips button.on { background: var(--ink); color: var(--bg); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal .w { text-align: center; font-size: .72rem; font-weight: 600; color: var(--faint); padding: 4px 0; }
.cal .d { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 3px 0; border-radius: 12px; }
.cal .num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal .dots { display: flex; gap: 2px; height: 8px; align-items: center; }
.cal .dots i { width: 4px; height: 4px; border-radius: 2px; background: var(--beer); }
.cal .dots em { font-style: normal; font-size: .62rem; font-weight: 800; color: var(--beer); line-height: 1; }
.cal .past { opacity: .32; }
.cal .today .num { color: var(--beer); font-weight: 800; }
.cal .mine .num { box-shadow: inset 0 0 0 1.5px var(--beer); }
.cal .best .num { background: var(--beer-soft); }
.cal .pick .num { background: rgba(255, 255, 255, .16); }
.cal .fixed .num { background: var(--beer); color: var(--on-beer); font-weight: 800; }
.cal.edit .mine .num { background: var(--beer); color: var(--on-beer); font-weight: 800; box-shadow: none; }
.cal button.d:active .num { transform: scale(.9); }
.legend { padding: 12px 6px 0; font-size: .875rem; color: var(--sub); line-height: 1.55; }
.legend b { color: var(--ink); }
.calbox .fine { padding: 6px 6px 0; }

/* ---------- 사진첩 ---------- */
.arc-sec { margin: 28px 20px 0; scroll-margin-top: 16px; }
.arc-hd h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.arc-hd h2 .emo { margin-right: 6px; font-weight: 400; }
.arc-hd p { margin-top: 2px; font-size: .8125rem; color: var(--sub); }
.arc-sec.focus .arc-hd h2 { color: var(--beer); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px; border-radius: 16px; overflow: hidden; }
.sheet .grid { margin-top: 12px; }
.tile { position: relative; aspect-ratio: 1; background: #1c1916; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s var(--ease); }
button.tile:active img { transform: scale(.96); }
.tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; }
.tile > span { position: absolute; z-index: 1; left: 7px; right: 7px; bottom: 5px; font-size: .7rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.tile.more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--fill2); }
.tile.more::after { display: none; }
.tile.more b { font-size: 1.25rem; font-weight: 800; }
.tile.more span { position: static; font-size: .75rem; color: var(--sub); text-align: center; }
.tile .del { position: absolute; z-index: 2; right: 4px; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.tile .del::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .6); z-index: -1; }
.grid.ghost { margin: 24px 20px 0; }
.grid.ghost span { aspect-ratio: 1; background: var(--fill); }
.blank { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 28px 8px; text-align: center; color: var(--sub); }
.blank b { color: var(--ink); font-size: 1.0625rem; font-weight: 700; margin-top: 6px; }
.blank p { font-size: .875rem; }
.blank .btn { width: auto; margin-top: 14px; }

/* ---------- 창(시트) ---------- */
.dim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .62); animation: fade .2s ease-out; }
.sheet { position: fixed; z-index: 41; left: 50%; bottom: 0; transform: translateX(-50%); width: min(480px, 100%); max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--sheet); border-radius: 28px 28px 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 -20px 40px -20px #000; animation: up .32s var(--ease); }
.sheet.tall { max-height: 94dvh; }
.sh-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 10px 4px 22px; }
.sh-hd h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; min-width: 0; }
.x { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); }
.x:active { background: var(--fill2); }
.sh-bd { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 4px 22px calc(var(--safe-b) + 22px); }
.sh-ft { padding: 12px 22px calc(var(--safe-b) + 16px); box-shadow: inset 0 1px 0 var(--line); }
.sheet:has(.sh-ft) .sh-bd { padding-bottom: 16px; }
.sheet p + p { margin-top: 8px; }
.note { margin-top: 6px; font-size: .875rem; color: var(--sub); }
.state { font-size: 1rem; }
.state b { color: var(--beer); }
.bigph { margin-top: 6px; border-radius: 20px; overflow: hidden; background: #000; }
.bigph img { width: 100%; max-height: 60dvh; object-fit: contain; }
.meta { display: flex; flex-direction: column; margin-top: 12px; }
.meta b { font-size: 1rem; font-weight: 700; }
.meta span { font-size: .8125rem; color: var(--sub); }
.reacts { display: flex; gap: 8px; margin-top: 14px; }
.reacts button { flex: 1; min-height: 52px; border-radius: 16px; background: var(--fill); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 1.375rem; transition: transform .15s var(--ease); }
.reacts button small { font-size: .78rem; font-weight: 700; color: var(--sub); }
.reacts button.on { background: var(--beer-soft); box-shadow: inset 0 0 0 1.5px var(--beer); }
.reacts button.on small { color: var(--beer); }
.reacts button:active { transform: scale(.94); }
.msgs { margin-top: 12px; }
.msgs li { padding: 10px 0; font-size: .9375rem; box-shadow: inset 0 -1px 0 var(--line); }
.msgs li b { margin-right: 8px; font-weight: 700; }
.msgs li.none { color: var(--sub); font-size: .875rem; box-shadow: none; }
.inrow { display: flex; gap: 8px; margin-top: 14px; }
.inrow .field { flex: 1; min-width: 0; }
.inrow .btn { width: auto; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips button { min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--fill); font-size: .875rem; font-weight: 600; }
.chips button:active { background: var(--fill2); }
.srcs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.srcs button { min-height: 128px; border-radius: 20px; background: var(--fill); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; }
.srcs button:active { background: var(--fill2); }
.srcs b { font-size: .9375rem; font-weight: 700; }
.srcs small { font-size: .78rem; color: var(--sub); }
.sheet.small p { font-size: .9375rem; color: var(--sub); }

/* 생일 고르기: 연·월·일 세 줄 */
.bprev { text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 2px 0 12px; }
.wheels { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.wheel { position: relative; height: 236px; overflow-y: auto; overscroll-behavior: contain; padding: 96px 4px; border-radius: 18px; background: rgba(255, 255, 255, .05); scroll-snap-type: y proximity; scrollbar-width: none; }
.wheel::-webkit-scrollbar { display: none; }
.wheel button { display: block; width: 100%; min-height: 44px; border-radius: 12px; text-align: center; font-size: 1rem; font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; scroll-snap-align: center; }
.wheel button.on { background: var(--beer); color: var(--on-beer); font-weight: 800; }

/* 운세 */
.fdate { font-size: .8125rem; color: var(--sub); }
.elrow { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.elrow > .ic { color: var(--faint); }
.el { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px; border-radius: 14px; background: var(--fill); font-size: .875rem; font-weight: 600; }
.el em { font-style: normal; font-size: 1.25rem; }
.rel { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 1.125rem; font-weight: 700; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 14px; height: 14px; fill: rgba(246, 242, 234, .22); }
.stars svg.on { fill: var(--beer); }
.fline { margin-top: 8px; font-size: 1rem; line-height: 1.6; }
.h3 { margin: 22px 0 8px; font-size: .9375rem; font-weight: 700; }
.frs li { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .875rem; box-shadow: inset 0 -1px 0 var(--line); }
.frs .emo { font-size: 1.125rem; }
.frs b { font-weight: 700; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frs .ex { flex: 1; color: var(--sub); }
.sheet.fort .fine { margin-top: 14px; }
.fsec p { font-size: .9375rem; line-height: 1.65; color: rgba(246, 242, 234, .86); }
.fareas li { padding: 10px 0; box-shadow: inset 0 -1px 0 var(--line); }
.fareas div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fareas b { font-size: .9375rem; }
.fareas p { margin-top: 3px; font-size: .875rem; color: var(--sub); }
.lucky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lucky div { padding: 10px 12px; border-radius: 14px; background: var(--fill); }
.lucky dt { font-size: .75rem; color: var(--sub); }
.lucky dd { font-weight: 700; font-size: .9375rem; }
.quote { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--fill); font-size: .9375rem; line-height: 1.6; }

/* ---------- 입력 ---------- */
.fld { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.fld > span { font-size: .875rem; font-weight: 600; color: var(--sub); }
.field { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: var(--fill); font-size: 1rem; transition: border-color .15s; }
.field::placeholder { color: rgba(246, 242, 234, .6); }
.field:focus { border-color: var(--beer); }
.field.big { font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--fill); }
.seg button { flex: 1; min-height: 44px; text-align: center; border-radius: 12px; font-size: .9375rem; font-weight: 600; color: var(--sub); }
.seg button.on { background: rgba(255, 255, 255, .16); color: var(--ink); font-weight: 700; }
.pickbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 12px 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: var(--fill); text-align: left; }
.pickbtn span { flex: 1; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pickbtn.unset span { color: var(--sub); font-weight: 500; }
.pickbtn .ic { flex: none; color: var(--faint); }
.cups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cups button { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 96px; padding: 12px 2px 10px; border-radius: 18px; background: var(--fill); color: var(--ink); transition: background-color .15s, box-shadow .15s; }
.cups button span { font-size: .8125rem; font-weight: 600; }
.cups button.on { background: var(--beer-soft); box-shadow: inset 0 0 0 1.5px var(--beer); }
.cups button.on span { color: var(--beer); font-weight: 800; }
.err { margin-top: 10px; font-size: .875rem; color: var(--warn); }
.err:empty { display: none; }
.err.box { padding: 10px 12px; border-radius: 12px; background: rgba(255, 157, 143, .1); }

/* ---------- 처음 화면들 ---------- */
.gate { position: relative; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: calc(var(--safe-t) + 40px) 28px calc(var(--safe-b) + 40px); text-align: center; }
.gate-in { position: relative; z-index: 1; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gate h1 { margin-top: 10px; font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.25; text-wrap: balance; }
.gate p { font-size: .9375rem; color: var(--sub); text-wrap: pretty; }
.gate .spin { margin-top: 8px; }
.logo { width: var(--s); height: var(--s); border-radius: 23%; background: var(--beer); color: var(--on-beer); display: grid; place-items: center; font-size: calc(var(--s) * .44); font-weight: 900; letter-spacing: -.04em; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8); }
.steps, .tip ol { width: 100%; text-align: left; counter-reset: s; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.steps li, .tip li { counter-increment: s; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 48px; padding: 8px 14px; border-radius: 16px; background: var(--fill); font-size: .9375rem; }
.steps li::before, .tip li::before { content: counter(s); flex: none; width: 24px; height: 24px; margin-right: 4px; border-radius: 50%; background: var(--beer); color: var(--on-beer); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.tip { width: 100%; margin-top: 8px; text-align: left; }
.tip > b { font-size: .875rem; color: var(--sub); font-weight: 600; }
.kb { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--fill2); vertical-align: middle; }
.form { position: relative; min-height: 100dvh; }
.form-in { position: relative; z-index: 1; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 36px) 24px calc(var(--safe-b) + 40px); }
.form-in .ttl { padding: 0; }
.lead { margin-top: 10px; font-size: .9375rem; color: var(--sub); }
.form-in .note { margin-top: 10px; font-size: .8125rem; }
.form-in .err + .btn, .form-in .note + .btn, .form-in .cups + .btn { margin-top: 24px; }
.bigic { width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; display: grid; place-items: center; background: var(--beer); color: var(--on-beer); }
.hero-cup { color: var(--ink); margin-bottom: 14px; }
.form-in .spin { margin: 24px auto; }

/* ---------- 알림 띠 · 바쁨 ---------- */
.toast { position: fixed; z-index: 60; left: 50%; top: calc(var(--safe-t) + 12px); transform: translateX(-50%); width: min(440px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; text-align: left;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 30px -12px #000; animation: drop .36s var(--ease); }
.toast .dot { flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--beer); }
.toast b { display: block; font-size: .9375rem; font-weight: 700; }
.toast small { display: block; font-size: .8125rem; color: var(--sub); }
.busy { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(12, 11, 10, .72); font-size: .9375rem; font-weight: 600; animation: fade .2s ease-out; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .14); border-top-color: var(--beer); animation: spin .8s linear infinite; }
.sheet .spin { margin: 28px auto; }

/* ---------- 짠 순간: 여기 한 군데만 크게 ---------- */
.cheers { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: calc(var(--safe-t) + 24px) 28px calc(var(--safe-b) + 32px); text-align: center; background: var(--bg); overflow: hidden; }
.cheers > :not(.amb) { position: relative; z-index: 1; }
.clink { display: flex; align-items: flex-end; justify-content: center; width: 100%; min-height: 150px; margin-bottom: 18px; }
.side { display: flex; align-items: flex-end; }
.clink { --cw: min(48px, calc((min(100vw, 480px) - 40px) / var(--n))); }
.cup { display: flex; flex-direction: column; align-items: center; gap: 6px; width: var(--cw); color: var(--ink); }
.cup .glass { width: calc(var(--cw) - 6px); height: auto; }
.cup small { max-width: 100%; font-size: .68rem; font-weight: 600; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cup.late .glass { opacity: .45; }
.cup.l { animation: clinkL 1.1s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.cup.r { animation: clinkR 1.1s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.cup.l .glass { transform: rotate(8deg); }
.cup.r .glass { transform: rotate(-8deg); }
@keyframes clinkL { 0% { transform: translateX(-90px); opacity: 0; } 55% { transform: translateX(10px); opacity: 1; } 70% { transform: translateX(0); } }
@keyframes clinkR { 0% { transform: translateX(90px); opacity: 0; } 55% { transform: translateX(-10px); opacity: 1; } 70% { transform: translateX(0); } }
.spark { align-self: center; flex: none; width: 0; height: 0; position: relative; }
.spark::before { content: ""; position: absolute; left: -60px; top: -110px; width: 120px; height: 120px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--beer) 0 3deg, transparent 3deg 30deg); -webkit-mask-image: radial-gradient(transparent 32%, #000 34%, #000 60%, transparent 62%); mask-image: radial-gradient(transparent 32%, #000 34%, #000 60%, transparent 62%);
  opacity: 0; animation: burst .9s ease-out .6s both; }
@keyframes burst { 0% { transform: scale(.3); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.cheers h2 { font-size: 4.5rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; animation: pop .6s var(--ease) .55s both; }
.cheers p { font-size: 1rem; color: var(--sub); animation: fade .5s ease-out .8s both; }
.cheers .btn { width: min(320px, 100%); margin-top: 22px; animation: fade .5s ease-out .9s both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

@keyframes up { from { transform: translate(-50%, 100%); } }
@keyframes drop { from { transform: translate(-50%, -16px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .spin { animation: spin 1.6s linear infinite !important; }
  .spark::before { display: none; }
}
@media (hover: hover) {
  button.row:hover, .chips button:hover, .srcs button:hover, button.tile-i:hover { background: var(--fill2); }
  .btn:hover:not(:disabled) { filter: brightness(1.06); }
  .bk:hover { filter: brightness(.66); }
}

/* ---------- 공지 한 줄 · 추억 · 내 정보 (2026-11-23 둘째 판) ---------- */
/* 이번 주: 공지가 있을 때만 조용히 한 줄 (맥주색 아님) */
.nline { display: flex; align-items: center; gap: 7px; width: calc(100% - 48px); min-height: 44px; margin: 4px 24px 0; font-size: .8125rem; font-weight: 600; color: rgba(246, 242, 234, .82); text-align: left; }
.nline .ic { flex: none; color: var(--faint); }
.nline span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 모임: 제목 바로 아래 공지 */
.notice { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); min-height: 56px; margin: 12px 20px 0; padding: 10px 14px; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-align: left; }
.notice > .ic:first-child { flex: none; color: var(--ink); }
.notice > span { flex: 1; min-width: 0; }
.notice b { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.notice small { display: block; margin-top: 1px; font-size: .75rem; color: var(--sub); }
.notice > .ic:last-child { flex: none; color: var(--faint); }
.notice.add { background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.notice.add b { font-weight: 600; color: var(--sub); }
button.notice:active { background: var(--fill2); }
/* 사진첩: 추억 묶음 */
.arc-sec .btn { width: 100%; margin: 12px 0 0; }
.mem-y { margin-top: 18px; }
.mem-y h3 { display: flex; align-items: baseline; gap: 8px; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mem-y h3 small { font-size: .78rem; font-weight: 500; color: var(--sub); }
.mthumbs { display: flex; gap: 6px; margin-top: 4px; overflow: hidden; }
.mthumbs img, .mthumbs span { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.mthumbs span { display: grid; place-items: center; background: var(--fill2); font-size: .8125rem; font-weight: 700; }
.fld > span small { margin-left: 4px; font-size: .75rem; font-weight: 500; color: var(--faint); }
.wheel.year { height: 176px; padding: 66px 4px; }
.sheet .btn.danger { margin-top: 16px; }
.sheet .btn.quiet { margin-top: 6px; }

/* ---------- 수다 (실명 자유 게시판, 2026-11-23 셋째 판) ---------- */
.dock .tdot { position: absolute; top: 9px; right: 11px; width: 8px; height: 8px; border-radius: 4px; background: var(--beer); box-shadow: 0 0 0 2px #262421; }
.compose { display: flex; align-items: center; gap: 12px; width: calc(100% - 40px); min-height: 60px; margin: 18px 20px 0; padding: 8px 16px 8px 10px; border-radius: 30px; background: var(--fill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); text-align: left; }
.compose > span:not(.av) { flex: 1; min-width: 0; font-size: 1rem; color: var(--sub); }
.compose > .ic { flex: none; color: var(--faint); }
button.compose:active { background: var(--fill2); }
.drafts { display: flex; align-items: center; gap: 10px; margin: 12px 20px 0; padding: 6px 6px 6px 14px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: .8125rem; color: var(--sub); }
.drafts > span { flex: 1; min-width: 0; }
.drafts .ic { flex: none; }
.drafts .btn.sm { min-height: 44px; }
/* 글 하나: 카드 없이 여백과 얇은 선으로 나눔 */
.tp { margin-top: 22px; padding: 18px 20px 0; box-shadow: inset 0 1px 0 var(--line); }
.tp-hd { display: flex; align-items: center; gap: 10px; }
.tp-who { flex: 1; min-width: 0; }
.tp-who b { display: flex; align-items: center; gap: 6px; font-size: .9375rem; font-weight: 700; }
.tp-who b .glass { flex: none; color: var(--ink); }
.tp-who small { display: block; font-size: .78rem; color: var(--sub); }
.tp-hd .icbtn { flex: none; margin-right: -10px; color: var(--sub); }
.tm { position: relative; margin-top: 12px; aspect-ratio: 1 / var(--ar, 1); border-radius: 22px; overflow: hidden; background: #1c1916; }
.tm-strip { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tm-strip::-webkit-scrollbar { display: none; }
.tm-strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.tm-strip:focus-visible { outline-offset: -4px; }
.tm-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 10px; background: rgba(0, 0, 0, .35); pointer-events: none; }
.tm-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .45); transition: background-color .2s, width .2s; }
.tm-dots i.on { width: 14px; background: #fff; }
.tm-n { position: absolute; right: 12px; top: 12px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
.tv video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.tv-play { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; }
.tv-play .pb { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.tv-play .pb .ic { margin-left: 4px; fill: currentColor; }
.tv-play .vd, .pv .vd { position: absolute; left: 12px; bottom: 12px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(0, 0, 0, .55); display: flex; align-items: center; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tv-play:focus-visible { outline-offset: -4px; }
.tv-snd { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.tv-snd::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .55); z-index: -1; }
.tv { isolation: isolate; }
.tp-body { margin-top: 12px; font-size: .9375rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.tp-body.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tp-link { display: block; min-height: 44px; font-size: .875rem; font-weight: 600; color: var(--sub); text-align: left; }
.tp-re { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tp-re button { min-width: 48px; min-height: 44px; padding: 0 10px; border-radius: 22px; background: var(--fill); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 1.125rem; transition: transform .15s var(--ease); }
.tp-re button small { font-size: .75rem; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.tp-re button.on { background: var(--beer-soft); box-shadow: inset 0 0 0 1.5px var(--beer); }
.tp-re button.on small { color: var(--beer); }
.tp-re button:active { transform: scale(.94); }
.tp-re .tp-cbtn { margin-left: auto; color: var(--ink); }
.tp-cm { margin-top: 8px; }
.tp-cm li { padding: 3px 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.tp-cm b { margin-right: 6px; font-weight: 700; }
.talk .blank .btn { margin-top: 14px; }
/* 글쓰기 창: 화면 전체 높이 */
.sheet.full { max-height: none; height: 100dvh; border-radius: 0; padding-top: var(--safe-t); }
.field.area { min-height: 168px; padding: 14px 16px; line-height: 1.6; resize: none; display: block; }
.count { margin-top: 6px; text-align: right; font-size: .75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.pick-ph { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pick-ph > div { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #1c1916; }
.pick-ph img { width: 100%; height: 100%; object-fit: cover; }
.pick-ph .del, .pv .del { position: absolute; right: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.pick-ph .del::before, .pv .del::before { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .65); z-index: -1; }
.pick-ph > div, .pv { isolation: isolate; }
.pv { position: relative; margin-top: 12px; border-radius: 16px; overflow: hidden; background: #000; }
.pv video { display: block; width: 100%; max-height: 38dvh; object-fit: contain; }
.warnbox { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--beer-soft); box-shadow: inset 0 0 0 1.5px var(--beer); font-size: .9375rem; color: var(--ink); }
.warnbox b { color: var(--beer); }
.tadd { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tadd > div { display: flex; flex-direction: column; min-width: 0; }
.sheet .tadd .btn { margin: 0; }
.tadd small { margin-top: 6px; font-size: .75rem; color: var(--faint); text-align: center; line-height: 1.35; }
.msgs.tc li { display: flex; align-items: flex-start; gap: 8px; }
.msgs.tc li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.msgs.tc small { display: block; margin-top: 2px; font-size: .75rem; color: var(--faint); }
.msgs.tc .x { margin: -8px -10px -8px 0; }
