/* Pulsar — X의 뼈대에 토스 · 애플식 정돈. 글꼴 Pretendard. */
@font-face { font-family: 'Pretendard Variable'; font-weight: 45 920; font-style: normal; font-display: swap; src: url('/fonts/PretendardVariable.woff2') format('woff2-variations'); }
:root {
  --bg: #ffffff; --bg2: #f5f6f8; --bg3: #eceef2; --line: #e6e8ec; --line2: #d5d9e0;
  --ink: #111318; --ink2: #4d5562; --ink3: #8a93a1;
  --accent: #4f6bff; --accent-ink: #fff; --accent-soft: #eef1ff;
  --like: #f0356b; --rep: #00a37a; --warn: #b45f06; --warn-bg: #fff6e5; --note-bg: #f1f6ff; --danger: #e5484d;
  --gold: #d9a400; --gray: #7a8494; --shadow: 0 8px 30px rgba(15, 23, 42, .12);
  --r: 16px; --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
}
:root[data-theme='dark'] {
  --bg: #0e1014; --bg2: #171a20; --bg3: #20242c; --line: #262b34; --line2: #343b47;
  --ink: #eef0f4; --ink2: #a9b1be; --ink3: #6f7887;
  --accent: #6f86ff; --accent-soft: #1b2140; --warn: #f0b354; --warn-bg: #2a2110; --note-bg: #141d2e; --shadow: 0 8px 30px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-y: scroll; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
.boot { height: 100vh; display: grid; place-items: center; font-weight: 800; font-size: 28px; color: var(--accent); }

/* 틀 */
.shell { display: flex; justify-content: center; min-height: 100vh; }
.nav { width: 264px; flex: none; position: sticky; top: 0; height: 100vh; padding: 10px 14px 14px; display: flex; flex-direction: column; }
.main { width: 600px; flex: none; min-height: 100vh; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.side { width: 356px; flex: none; padding: 12px 0 40px 26px; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }

/* 왼쪽 */
.logo { display: flex; align-items: center; gap: 10px; padding: 10px 12px 14px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; color: var(--accent); }
.nav .items { display: flex; flex-direction: column; gap: 2px; }
.nav .item { display: flex; align-items: center; gap: 16px; padding: 11px 14px; border-radius: 999px; font-size: 18px; font-weight: 500; width: fit-content; transition: background .12s; position: relative; }
.nav .item:hover { background: var(--bg2); }
.nav .item.on { font-weight: 800; }
.nav .item svg { width: 25px; height: 25px; flex: none; }
.nav .item .dot { position: absolute; left: 30px; top: 8px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.write { margin: 14px 4px 0; height: 50px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 90%; transition: filter .12s, transform .06s; }
.write:hover { filter: brightness(1.07); } .write:active { transform: scale(.98); }
.write svg { width: 20px; height: 20px; }
.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 999px; text-align: left; width: 100%; }
.me:hover { background: var(--bg2); }
.me-text { min-width: 0; flex: 1; line-height: 1.25; }
.me-text b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-text span { color: var(--ink3); font-size: 14px; }

/* 공통 */
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -0.04em; overflow: hidden; user-select: none; background-size: cover; background-position: center; }
.av.org { border-radius: 24%; }
.av.s { width: 32px; height: 32px; font-size: 12px; } .av.xs { width: 20px; height: 20px; font-size: 9px; } .av.l { width: 132px; height: 132px; font-size: 44px; border: 4px solid var(--bg); }
.av .g { white-space: nowrap; transform: scale(var(--gs, 1)); }
.badge { width: 18px; height: 18px; flex: none; vertical-align: -3px; margin-left: 2px; }
.badge.blue { color: var(--accent); } .badge.gold { color: var(--gold); } .badge.gray { color: var(--gray); }
.btn { height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line2); background: var(--bg); transition: background .12s; white-space: nowrap; }
.btn:hover { background: var(--bg2); }
.btn.pri { background: var(--ink); color: var(--bg); border-color: var(--ink); } .btn.pri:hover { opacity: .9; background: var(--ink); }
.btn.acc { background: var(--accent); color: #fff; border-color: var(--accent); } .btn.acc:hover { filter: brightness(1.07); background: var(--accent); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 13px; } .btn:disabled { opacity: .45; cursor: default; }
.btn.danger { color: var(--danger); }
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hd-row { display: flex; align-items: center; gap: 18px; height: 54px; padding: 0 16px; }
.hd-row h1 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.hd-row .sub { color: var(--ink3); font-size: 13px; font-weight: 400; }
.ib { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .12s; }
.ib:hover { background: var(--bg2); } .ib svg { width: 20px; height: 20px; }
.tabs { display: flex; }
.tab { flex: 1; height: 50px; position: relative; color: var(--ink3); font-weight: 600; transition: background .12s; white-space: nowrap; padding: 0 10px; }
.tab:hover { background: var(--bg2); }
.tab.on { color: var(--ink); font-weight: 800; }
.tab.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 54px; height: 4px; border-radius: 4px; background: var(--accent); }
.empty { padding: 56px 32px; text-align: center; color: var(--ink3); }
.empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.spin { padding: 26px; display: grid; place-items: center; }
.spin i { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--accent); animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.muted { color: var(--ink3); } .small { font-size: 13px; }

/* 펄스 */
.pulse { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; position: relative; }
.pulse:hover { background: color-mix(in srgb, var(--bg2) 55%, transparent); }
.pulse .col { min-width: 0; flex: 1; }
.pulse .ctx { display: flex; align-items: center; gap: 8px; color: var(--ink3); font-size: 13px; font-weight: 600; margin: -2px 0 4px 26px; }
.pulse .ctx svg { width: 15px; height: 15px; }
.who { display: flex; align-items: baseline; gap: 4px; min-width: 0; line-height: 1.3; }
.who .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.who .nm:hover { text-decoration: underline; }
.who .hn { color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 2 auto; min-width: 30px; }
.who .tm { color: var(--ink3); white-space: nowrap; flex: none; }
.who .more { margin-left: auto; flex: none; align-self: center; width: 30px; height: 30px; margin-top: -6px; margin-bottom: -6px; color: var(--ink3); }
.replyto { color: var(--ink3); font-size: 14px; } .replyto a { color: var(--accent); }
.body { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; margin-top: 2px; }
.body a, .tr a { color: var(--accent); } .body a:hover, .tr a:hover { text-decoration: underline; }
.tr { margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: var(--bg2); white-space: pre-wrap; word-break: break-word; }
.tr .lbl, .auto { display: flex; align-items: center; gap: 5px; color: var(--ink3); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.auto { margin: 5px 0 0; } .tr .lbl svg, .auto svg { width: 13px; height: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--bg2); color: var(--ink2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip.held { background: var(--warn-bg); color: var(--warn); } .chip.canon { background: var(--accent-soft); color: var(--accent); } .chip.ai { background: #f3eaff; color: #7a3fd0; }
:root[data-theme='dark'] .chip.ai { background: #26193a; color: #c29bff; }
.note { margin-top: 10px; border: 1px solid var(--line2); border-radius: 14px; background: var(--note-bg); padding: 10px 12px; font-size: 14px; }
.note b { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 3px; } .note b svg { width: 15px; height: 15px; color: var(--accent); }
.media { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.clip { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b2030, #3b4460 55%, #232a3d); position: relative; display: grid; place-items: center; color: #fff; }
.clip .play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: #111; box-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.clip .play svg { width: 26px; height: 26px; margin-left: 3px; }
.clip .ttl { position: absolute; left: 14px; right: 14px; bottom: 12px; font-weight: 700; font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); line-height: 1.35; }
.clip .dur { position: absolute; right: 10px; top: 10px; background: rgba(0, 0, 0, .65); border-radius: 6px; padding: 1px 6px; font-size: 12px; font-weight: 600; }
.clip.navy { background: linear-gradient(160deg, #06122b, #12305e 60%, #0a1a38); }
.link-card .bar { height: 6px; background: var(--ink); } .link-card .in { padding: 11px 14px; }
.link-card .src { color: var(--ink3); font-size: 13px; } .link-card .t { font-weight: 700; } .link-card .d { color: var(--ink2); font-size: 14px; }
.notice-card .in { padding: 12px 14px; background: var(--bg2); } .notice-card .t { font-weight: 800; display: flex; gap: 7px; align-items: center; } .notice-card .t svg { width: 17px; height: 17px; }
.notice-card .d { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.media img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.quote { margin-top: 10px; border: 1px solid var(--line2); border-radius: var(--r); padding: 10px 12px; transition: background .12s; }
.quote:hover { background: var(--bg2); }
.quote .who { font-size: 14px; align-items: center; } .quote .body { font-size: 14px; }
.acts { display: flex; justify-content: space-between; margin: 8px -8px -4px; max-width: 440px; color: var(--ink3); }
.act { display: flex; align-items: center; gap: 2px; font-size: 13px; min-width: 56px; transition: color .12s; font-variant-numeric: tabular-nums; }
.act i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background .12s; font-style: normal; }
.act svg { width: 18px; height: 18px; }
.act:hover { color: var(--accent); } .act:hover i { background: var(--accent-soft); }
.act.rp:hover, .act.rp.on { color: var(--rep); } .act.rp:hover i { background: color-mix(in srgb, var(--rep) 14%, transparent); }
.act.lk:hover, .act.lk.on { color: var(--like); } .act.lk:hover i { background: color-mix(in srgb, var(--like) 12%, transparent); }
.act.bm.on { color: var(--accent); }
.act.on svg.fillable { fill: currentColor; }
.thread-line { position: absolute; left: 35px; top: 60px; bottom: 0; width: 2px; background: var(--line2); }
.pulse.child { padding-top: 6px; border-top: 0; margin-top: -1px; }
.showmore { display: block; width: 100%; text-align: left; padding: 12px 16px 12px 68px; color: var(--accent); border-bottom: 1px solid var(--line); }
.showmore:hover { background: var(--bg2); }

/* 스레드 중심 글 */
.focus { padding: 12px 16px 0; border-bottom: 1px solid var(--line); }
.focus .top { display: flex; gap: 12px; align-items: center; }
.focus .top .names { min-width: 0; flex: 1; line-height: 1.3; } .focus .top .names b { display: block; } .focus .top .names span { color: var(--ink3); }
.focus .body { font-size: 18px; line-height: 1.55; margin-top: 12px; } .focus .tr { font-size: 16px; }
.focus .meta { color: var(--ink3); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .focus .meta b { color: var(--ink); }
.focus .stats { display: flex; gap: 18px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink3); } .focus .stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.focus .acts { max-width: none; margin: 4px 0; justify-content: space-around; } .focus .act svg { width: 21px; height: 21px; } .focus .act i { width: 40px; height: 40px; }

/* 쓰기 */
.composer { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.composer .col { flex: 1; min-width: 0; }
.composer textarea { width: 100%; border: 0; outline: 0; resize: none; background: none; font-size: 19px; line-height: 1.45; padding: 7px 0; min-height: 44px; display: block; }
.composer textarea::placeholder { color: var(--ink3); }
.composer .foot { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.composer .foot .sp { flex: 1; } .composer .cnt { color: var(--ink3); font-size: 13px; font-variant-numeric: tabular-nums; } .composer .cnt.over { color: var(--danger); }
.toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; }
.toggle i { width: 34px; height: 20px; border-radius: 12px; background: var(--line2); position: relative; transition: background .15s; flex: none; }
.toggle i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.toggle.on i { background: var(--accent); } .toggle.on i::after { transform: translateX(14px); }
.newpill { position: sticky; top: 112px; z-index: 15; display: flex; justify-content: center; height: 0; }
.newpill button { transform: translateY(10px); height: 36px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.banner { margin: 0; padding: 10px 16px; background: var(--warn-bg); color: var(--warn); font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: flex-start; }
.banner svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }

/* 프로필 */
.pf-banner { height: 190px; background: linear-gradient(135deg, var(--c1, #4f6bff), color-mix(in srgb, var(--c1, #4f6bff) 55%, #000)); background-size: cover; background-position: center; }
.pf { padding: 12px 16px 6px; position: relative; }
.pf .av.l { margin-top: -78px; } .pf .row { display: flex; justify-content: space-between; align-items: flex-start; }
.pf .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pf h2 { margin: 10px 0 0; font-size: 21px; font-weight: 800; line-height: 1.25; } .pf .hn { color: var(--ink3); }
.pf .bio { margin: 12px 0; white-space: pre-wrap; } .pf .facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink3); font-size: 14.5px; }
.pf .facts span { display: inline-flex; gap: 5px; align-items: center; } .pf .facts svg { width: 16px; height: 16px; }
.pf .ff { display: flex; gap: 18px; margin: 10px 0 6px; font-size: 14.5px; color: var(--ink3); } .pf .ff b { color: var(--ink); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--bg3); color: var(--ink2); vertical-align: 2px; margin-left: 6px; }

/* 오른쪽 */
.card { background: var(--bg2); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; }
.card h3 { margin: 0; padding: 13px 16px 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.card .more-link { display: block; padding: 13px 16px; color: var(--accent); font-size: 14.5px; } .card .more-link:hover { background: var(--bg3); }
.search { position: relative; margin-bottom: 14px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid transparent; background: var(--bg2); padding: 0 16px 0 44px; outline: 0; }
.search input:focus { background: var(--bg); border-color: var(--accent); } .search svg { position: absolute; left: 15px; top: 12px; width: 19px; height: 19px; color: var(--ink3); }
.trend { display: block; padding: 9px 16px; width: 100%; text-align: left; transition: background .12s; } .trend:hover { background: var(--bg3); }
.trend .c { color: var(--ink3); font-size: 12.5px; } .trend b { display: block; font-weight: 700; } .trend .v { color: var(--ink3); font-size: 12.5px; }
.sug { display: flex; gap: 10px; align-items: center; padding: 9px 16px; } .sug:hover { background: var(--bg3); } .sug .t { min-width: 0; flex: 1; line-height: 1.25; }
.sug .t b, .sug .t span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sug .t span { color: var(--ink3); font-size: 14px; }
.clock { padding: 14px 16px 14px; }
.clock .date { font-size: 13px; color: var(--ink3); font-weight: 600; } .clock .time { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.clock .time small { font-size: 13px; color: var(--ink3); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.clock .ctl { display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.clock .play { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; } .clock .play svg { width: 18px; height: 18px; }
.seg { display: flex; background: var(--bg3); border-radius: 10px; padding: 3px; flex: 1; }
.seg button { flex: 1; height: 30px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.seg button.on { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.clock .evnav { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.clock .evnav .ev { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; } .clock .evnav .ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .clock .evnav .ev span { color: var(--ink3); font-size: 12px; }
.clock select, .field select, .field input, .field textarea { width: 100%; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg); padding: 0 10px; outline: 0; }
.clock select { margin-top: 10px; font-size: 13.5px; } .field textarea { height: auto; padding: 8px 10px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field { display: block; margin-bottom: 12px; } .field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 5px; }
.foot-note { color: var(--ink3); font-size: 12.5px; padding: 4px 16px; line-height: 1.6; }

/* 알림 */
.ntf { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; } .ntf:hover { background: var(--bg2); }
.ntf .ic { width: 40px; display: flex; justify-content: flex-end; flex: none; } .ntf .ic svg { width: 28px; height: 28px; }
.ntf .faces { display: flex; gap: 4px; margin-bottom: 6px; } .ntf .txt { color: var(--ink2); } .ntf .txt b { color: var(--ink); } .ntf .q { color: var(--ink3); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 떠 있는 것 */
.scrim { position: fixed; inset: 0; background: rgba(15, 20, 30, .45); z-index: 50; display: flex; justify-content: center; align-items: flex-start; padding: 5vh 12px; overflow-y: auto; }
.modal { background: var(--bg); border-radius: 20px; width: 600px; max-width: 100%; box-shadow: var(--shadow); overflow: hidden; }
.modal .mh { display: flex; align-items: center; gap: 10px; padding: 8px 10px; } .modal .mh b { font-size: 17px; }
.modal .mb { padding: 4px 18px 18px; }
.menu { position: fixed; z-index: 60; background: var(--bg); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 230px; padding: 6px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; font-weight: 600; font-size: 14.5px; } .menu button:hover { background: var(--bg2); }
.menu button svg { width: 18px; height: 18px; flex: none; } .menu .danger { color: var(--danger); } .menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); max-width: 86vw; animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(8px); opacity: 0; } }
.acc-row { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; width: 100%; text-align: left; } .acc-row:hover { background: var(--bg2); }
.acc-row .t { min-width: 0; flex: 1; line-height: 1.25; } .acc-row .t b, .acc-row .t span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .acc-row .t span { color: var(--ink3); font-size: 13.5px; }
.acc-list { max-height: 46vh; overflow-y: auto; margin: 8px -6px 0; }

/* 스튜디오 */
.sec { padding: 16px; border-bottom: 1px solid var(--line); } .sec h2 { margin: 0 0 4px; font-size: 17px; font-weight: 800; } .sec p { margin: 0 0 12px; color: var(--ink2); font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; } .kv:last-child { border: 0; } .kv span { color: var(--ink2); } .kv b { font-variant-numeric: tabular-nums; text-align: right; }
.evrow { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; } .evrow:last-child { border: 0; }
.evrow .d { width: 92px; flex: none; color: var(--ink3); font-size: 13px; font-variant-numeric: tabular-nums; line-height: 1.4; padding-top: 1px; } .evrow .x { flex: 1; min-width: 0; } .evrow .x b { display: block; } .evrow .x span { color: var(--ink2); font-size: 13.5px; }
.evrow.now { background: var(--accent-soft); margin: 0 -16px; padding: 10px 16px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--bg3); } .status.ok { background: #e3f7ee; color: #0a7f56; } .status.no { background: var(--warn-bg); color: var(--warn); }
:root[data-theme='dark'] .status.ok { background: #0f2a20; color: #4fd3a2; }
.job { font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed var(--line); } .job b { margin-right: 6px; } .job .err { color: var(--danger); }
pre.wiki { white-space: pre-wrap; word-break: break-all; background: var(--bg2); border-radius: 12px; padding: 12px; font: 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; max-height: 300px; overflow: auto; }

/* 로그인 */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--bg2); }
.gate .box { width: 380px; max-width: 100%; background: var(--bg); border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow); }
.gate h1 { margin: 12px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; } .gate p { color: var(--ink2); margin: 0 0 18px; }
.gate .logo { padding: 0; } .gate .err { color: var(--danger); font-size: 14px; margin: -4px 0 10px; font-weight: 600; } .gate .btn { width: 100%; height: 46px; font-size: 15px; }

/* 사진 넣기 */
.dropzone { border: 2px dashed var(--line2); border-radius: 14px; padding: 18px; text-align: center; color: var(--ink3); font-size: 14px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; padding: 16px; }
.ptile { border: 2px solid var(--line); border-radius: 16px; padding: 12px 8px 10px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; min-width: 0; transition: border-color .12s, background .12s; }
.ptile:hover { background: var(--bg2); } .ptile.on { border-color: var(--accent); background: var(--accent-soft); }
.ptile > b { font-size: 13.5px; margin-top: 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ptile > span { font-size: 12px; color: var(--ink3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ptile .row { display: flex; gap: 8px; margin-top: 8px; font-size: 12.5px; font-weight: 700; flex-wrap: wrap; justify-content: center; } .ptile .row a, .ptile .row label, .ptile .row button { color: var(--accent); cursor: pointer; } .ptile .row button { color: var(--danger); font-size: 12.5px; font-weight: 700; }
.av.pl { width: 72px; height: 72px; font-size: 26px; }

/* 좁은 화면 */
.only-narrow { display: none; }
@media (max-width: 1240px) { .only-narrow { display: block; padding: 12px 16px 0; border-bottom: 1px solid var(--line); } .only-narrow .card { margin-bottom: 12px; } }
@media (max-width: 1240px) { .side { display: none; } }
@media (max-width: 900px) { .nav { width: 72px; padding: 10px 8px; } .nav .label, .nav .me-text, .nav .logo-text { display: none; } .nav .write { width: 52px; height: 52px; padding: 0; } .nav .write .t { display: none; } }
@media (max-width: 680px) { .main { width: 100%; border: 0; } .nav { position: fixed; bottom: 0; top: auto; left: 0; right: 0; width: auto; height: 56px; flex-direction: row; justify-content: space-around; padding: 4px; background: var(--bg); border-top: 1px solid var(--line); z-index: 30; } .nav .logo, .nav .write, .nav .me, .nav .hide-m { display: none; } .nav .items { flex-direction: row; width: 100%; justify-content: space-around; } .main { padding-bottom: 60px; } }
