:root {
  --brand: #1fa463;
  --brand-ink: #0f6b3e;
  --brand-soft: #e6f6ed;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #69736d;
  --line: #e3e7e4;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #35c47f;
    --brand-ink: #8ce3b6;
    --brand-soft: #16301f;
    --bg: #0f1311;
    --surface: #181d1a;
    --ink: #e9efeb;
    --muted: #97a29b;
    --line: #2a322d;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.5px; color: var(--brand-ink); }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 6px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--brand-soft); }
.top .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { padding: 6px 12px; font-size: 13px; }
@media (max-width: 640px) {
  .nav { display: none; }
  .top .btn.upload { display: none; }
}

/* 공통 섹션 */
section { margin: 36px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: 20px; letter-spacing: -.3px; }
.sec-head .more { color: var(--muted); font-size: 14px; }

/* 메인 배너 */
.hero { display: block; position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 20px; aspect-ratio: 16 / 7; background: #222; box-shadow: var(--shadow); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%); }
.hero .txt { position: absolute; left: 32px; bottom: 28px; right: 32px; color: #fff; max-width: 520px; }
.hero .badge { display: inline-block; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.hero .badge.daily { background: #fff; color: var(--brand-ink); }
.hero h1 { margin: 10px 0 4px; font-size: clamp(22px, 4vw, 38px); letter-spacing: -1px; line-height: 1.2; }
.hero p { margin: 0 0 16px; opacity: .9; font-size: clamp(13px, 1.6vw, 16px); }
@media (max-width: 640px) {
  .hero { aspect-ratio: 4 / 5; }
  .hero .shade { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,0) 100%); }
  .hero .txt { left: 18px; right: 18px; bottom: 20px; }
}

/* 요일 탭 */
.days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.days button { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; }
.days button.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* 작품 카드 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; } }
.card .thumb { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .tag { position: absolute; left: 6px; top: 6px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.card .t { margin-top: 8px; font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .a { color: var(--muted); font-size: 13px; }
.card .daily-txt { color: var(--brand-ink); font-size: 12px; font-weight: 800; margin-top: 2px; }
.card.empty .thumb { display: grid; place-items: center; border: 2px dashed var(--line); background: transparent; color: var(--muted); font-size: 13px; text-align: center; padding: 10px; }

/* 작가 모집 띠 */
.invite { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--brand-soft); }
.invite .ic { font-size: 34px; }
.invite h3 { margin: 0 0 2px; font-size: 18px; }
.invite p { margin: 0; color: var(--muted); font-size: 14px; }
.invite .btn { margin-left: auto; flex: none; }
@media (max-width: 640px) { .invite { flex-wrap: wrap; } .invite .btn { margin-left: 0; } }

/* 최근 회차 리스트 */
.list { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:hover { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }
.row img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex: none; background: var(--line); }
.row .t { font-weight: 700; }
.row .s { color: var(--muted); font-size: 13px; }
.row .cc { color: var(--brand-ink); font-weight: 700; margin-left: 4px; }
.row .new { margin-left: 6px; color: #e2462f; font-size: 11px; font-weight: 800; }

/* 작품 상세 */
.work-head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; margin-top: 28px; }
.work-head .cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.work-head .cover img { width: 100%; height: 100%; object-fit: cover; }
.work-head h1 { margin: 4px 0 2px; font-size: 30px; letter-spacing: -.8px; line-height: 1.25; }
.work-head .sub { color: var(--muted); margin: 0 0 10px; }
.work-head .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.chip { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.chip.gray { background: var(--line); color: var(--muted); }
.work-head .author { font-weight: 700; color: var(--brand-ink); }
.work-head .summary { color: var(--ink); opacity: .85; max-width: 640px; }
.work-head .actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .work-head { grid-template-columns: 1fr; gap: 16px; }
  .work-head .cover { max-width: 200px; }
  .work-head h1 { font-size: 24px; }
}
.ep-tools { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 10px; }
.ep-tools h2 { margin: 0; font-size: 18px; }
.ep-tools button { background: none; border: 0; color: var(--muted); font-weight: 600; }
.row .read { margin-left: auto; color: var(--brand-ink); font-size: 12px; font-weight: 700; flex: none; }

/* 작가 프로필 */
.profile { display: flex; gap: 22px; align-items: center; margin-top: 28px; padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.avatar { width: 96px; height: 96px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 38px; font-weight: 800; }
.profile h1 { margin: 0; font-size: 24px; }
.profile p { margin: 6px 0 0; color: var(--muted); }
.profile .stats { display: flex; gap: 18px; margin-top: 10px; font-size: 14px; }
.profile .stats b { color: var(--ink); }
@media (max-width: 640px) { .profile { flex-direction: column; text-align: center; } .profile .stats { justify-content: center; } }

/* 푸터 */
footer { margin-top: 60px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }

/* 뷰어 */
body.viewer { background: #111; color: #eee; }
.vbar { position: fixed; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 0 14px; height: 54px; background: rgba(17,17,17,.92); backdrop-filter: blur(8px); transition: transform .25s; color: #eee; }
.vbar.top-bar { top: 0; border-bottom: 1px solid #222; }
.vbar.bottom-bar { bottom: 0; border-top: 1px solid #222; justify-content: space-between; }
.vbar.hide.top-bar { transform: translateY(-100%); }
.vbar.hide.bottom-bar { transform: translateY(100%); }
.vbar .vt { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbar .vt small { color: #aaa; font-weight: 500; margin-left: 6px; }
.vbar a, .vbar button { color: #eee; background: none; border: 0; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.vbar a:hover, .vbar button:hover { background: #222; }
.vbar .dis { opacity: .35; pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--brand); z-index: 40; width: 0; }
.strip { max-width: 800px; margin: 0 auto; padding: 54px 0 0; }
.strip img { width: 100%; height: auto; background: #1a1a1a; min-height: 200px; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.strip img.loaded { min-height: 0; }
.ep-end { max-width: 800px; margin: 0 auto; padding: 36px 16px 110px; background: var(--surface); color: var(--ink); }
.ep-end .next { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--brand-soft); margin-bottom: 26px; }
.ep-end .next img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.ep-end .next .k { font-size: 12px; color: var(--brand-ink); font-weight: 800; }
.ep-end .next .t { font-weight: 800; font-size: 17px; }
.ep-end .done { text-align: center; color: var(--muted); padding: 10px 0 26px; }
.comments h3 { margin: 0 0 12px; font-size: 17px; }
.c-count { color: var(--brand-ink); margin-left: 4px; }
.card-box { margin-top: 28px; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.comment-form .c-text { grid-column: 1 / -1; position: relative; }
.comment-form textarea { width: 100%; min-height: 84px; resize: vertical; display: block; }
.c-len { position: absolute; right: 10px; bottom: 8px; font-size: 12px; color: var(--muted); }
.comment-form input, .comment-form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-width: 0; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.comment-form .btn { grid-column: 1 / -1; justify-self: end; }
.comment-form .btn:disabled { opacity: .5; }
.c-list { list-style: none; margin: 16px 0 0; padding: 0; }
.c-item { padding: 14px 0; border-top: 1px solid var(--line); }
.c-meta { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.c-ip, .c-time { color: var(--muted); font-size: 12px; }
.c-time { margin-left: auto; }
.c-body { margin: 6px 0 4px; white-space: pre-wrap; word-break: break-word; }
.c-act { display: flex; gap: 10px; }
.c-act button { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; }
.c-act button:hover { color: var(--ink); text-decoration: underline; }
.c-empty { padding: 22px 0; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 480px) { .comment-form { grid-template-columns: 1fr; } .comment-form .btn { justify-self: stretch; } }
.comment-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* 모바일 다듬기 */
@media (max-width: 640px) {
  .top .wrap { height: 54px; gap: 10px; }
  .logo { font-size: 18px; }
  section { margin: 26px 0; }
  .sec-head h2 { font-size: 18px; }
  .row { padding: 10px 12px; gap: 12px; }
  .row img { width: 84px; }
  .row .t { font-size: 15px; }
  .card-box { padding: 16px; }
  .ep-end { padding: 24px 16px 100px; }
  .ep-end .next img { width: 88px; }
  .vbar { height: 50px; padding: 0 8px; }
  .strip { padding-top: 50px; }
  .vbar .vt { font-size: 14px; }
  .vbar .vt small { display: block; margin: 0; font-size: 12px; }
}
.top .upload-m { display: none; }
@media (max-width: 640px) { .top .upload-m { display: inline-flex; } }

/* 회차 좋아요 */
.ep-react { text-align: center; padding: 6px 0 26px; }
.ep-react p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.like-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; border: 2px solid #ff5a6e; background: var(--surface); color: #ff5a6e; font-weight: 800; font-size: 16px; }
.like-btn .heart { font-size: 20px; line-height: 1; }
.like-btn.on { background: #ff5a6e; color: #fff; }
.like-btn.pop .heart { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.5); } }
/* 댓글 좋아요·싫어요, 베스트 */
.c-tabs { display: flex; gap: 6px; margin-top: 18px; }
.c-tabs button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; font-size: 14px; }
.c-tabs button.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.c-act { align-items: center; margin-top: 4px; }
.c-act .vote { display: inline-flex; gap: 4px; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.c-act .vote:hover { text-decoration: none; border-color: var(--muted); }
.c-act .vote.on { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.c-act .vote.down.on { border-color: #e2462f; color: #e2462f; background: transparent; }
.c-gap { flex: 1; }
.c-item.best { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); margin: 0 -10px; padding: 14px 10px; border-radius: 10px; border-top-color: transparent; }
.c-best { background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px; }
.c-more { text-align: center; padding: 12px 0 0; }
.c-more button { background: none; border: 0; color: var(--brand-ink); font-weight: 700; }

/* 작가 소개 카드 */
.author-card { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.avatar.sm { width: 64px; height: 64px; font-size: 26px; }
.ac-body { min-width: 0; }
.ac-k { font-size: 12px; font-weight: 800; color: var(--muted); }
.ac-name { display: inline-block; font-size: 18px; font-weight: 800; color: var(--brand-ink); margin: 2px 0 4px; }
.ac-body p { margin: 0; color: var(--muted); font-size: 14px; }
.sns-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile .sns-list { justify-content: flex-start; }
.sns { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); max-width: 100%; }
.sns span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sns svg { width: 16px; height: 16px; flex: none; }
.sns:hover { border-color: var(--brand); color: var(--brand-ink); }
@media (max-width: 640px) { .profile .sns-list { justify-content: center; } }

/* SNS는 로고만 */
.sns.icon { width: 36px; height: 36px; padding: 0; justify-content: center; }
.sns.icon svg { width: 18px; height: 18px; }
.sns.icon.x svg { width: 16px; height: 16px; }

/* 약관·방침 글 페이지 */
.doc { max-width: 760px; margin: 28px auto; padding: 28px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.doc h1 { margin: 0 0 4px; font-size: 24px; }
.doc .date { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.doc h2 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); opacity: .88; font-size: 15px; }
.doc ul { padding-left: 20px; }
@media (max-width: 640px) { .doc { margin: 16px; padding: 20px 16px; } }

/* 뷰어 보호 */
.strip { position: relative; -webkit-user-select: none; user-select: none; }
.strip img { transition: filter .15s; }
.strip.guard img { filter: blur(28px) brightness(.7); }
.strip .wm { position: absolute; inset: 0; pointer-events: none; opacity: .035; background-repeat: repeat; z-index: 2; }
.protect-note { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px); background: rgba(0,0,0,.85); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .2s; z-index: 50; pointer-events: none; }
.protect-note.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media print { body.viewer .strip, body.viewer .ep-end { display: none !important; } body.viewer::after { content: '작품 보호를 위해 인쇄할 수 없어요.'; display: block; padding: 40px; color: #000; } }

/* 작가 스튜디오·검수 */
.doc.narrow { max-width: 560px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.stack label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500; }
.stack input:not([type=checkbox]):not([type=file]), .stack textarea, .stack select { font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.hint { color: var(--muted); font-size: 13px; font-weight: 400; margin: 0; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.studio-wrap { max-width: 900px; margin: 24px auto; padding: 0 16px; }
.studio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.studio-head h1 { margin: 2px 0; font-size: 26px; }
.my-series { display: flex; gap: 16px; padding: 16px; margin-bottom: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.ms-cover { width: 96px; flex: none; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--line); }
.ms-cover img { width: 100%; height: 100%; object-fit: cover; }
.ms-body { flex: 1; min-width: 0; }
.ms-title { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.ms-eps { list-style: none; padding: 0; margin: 6px 0 12px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.st { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.st.wait { background: #fff3cd; color: #8a6100; }
.st.ok { background: var(--brand-soft); color: var(--brand-ink); }
.st.no { background: #fde2df; color: #b42318; }
.reason { color: #b42318; font-size: 13px; margin: 4px 0; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 2px 4px; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }
.empty-box { padding: 40px 20px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 2px dashed var(--line); }
.drop { padding: 26px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg); }
.drop.on { border-color: var(--brand); background: var(--brand-soft); }
.drop .btn { margin: 8px 0; }
.file-list { margin: 0; padding-left: 22px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; }
.cover-preview img { width: 150px; border-radius: 10px; box-shadow: var(--shadow); }
.pv-strip { max-height: 520px; overflow: auto; max-width: 400px; border: 1px solid var(--line); border-radius: 10px; background: #111; }
.pv-strip img { display: block; width: 100%; cursor: pointer; }
.pv-strip img.thumb-pick { outline: 4px solid var(--brand); outline-offset: -4px; }
.admin-pv { margin-top: 12px; max-width: 480px; }
@media (max-width: 640px) { .my-series { flex-direction: column; } .ms-cover { width: 120px; } }

/* 대댓글 */
.c-rbtn { border: 1px solid var(--line) !important; border-radius: 999px; padding: 4px 10px !important; }
.c-rbtn.on { border-color: var(--ink) !important; color: var(--ink) !important; }
.c-replies { margin: 10px 0 0 14px; padding-left: 12px; border-left: 2px solid var(--line); }
.c-replies ul { list-style: none; margin: 0; padding: 0; }
.c-item.reply { padding: 10px 0; border-top: 1px dashed var(--line); }
.c-item.reply:first-child { border-top: 0; }
.c-re { color: var(--muted); }
.reply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; padding: 12px; background: var(--surface); border: 1.5px solid var(--brand); border-radius: 12px; box-shadow: var(--shadow); }
.rf-head { grid-column: 1 / -1; font-size: 13px; font-weight: 800; color: var(--brand-ink); }
.reply-form textarea { grid-column: 1 / -1; min-height: 64px; resize: vertical; }
.reply-form input, .reply-form textarea { font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-width: 0; }
.rf-btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 6px; }
.reply-open { display: block; width: 100%; margin: 12px 0 4px; padding: 10px; border: 1.5px dashed var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; text-align: left; }
.reply-open:hover { border-color: var(--brand); color: var(--brand-ink); }
@media (max-width: 480px) { .reply-form { grid-template-columns: 1fr; } }
.comment-form input[name=nick], .reply-form input[name=nick] { grid-column: 1 / -1; max-width: 240px; }

/* 기본 댓글 입력칸도 답글 입력칸과 같은 상자 모양 */
.comment-form { padding: 14px; background: var(--surface); border: 1.5px solid var(--brand); border-radius: 12px; box-shadow: var(--shadow); }

/* 구글 로그인 버튼 */
.google-btn { width: 100%; gap: 10px; padding: 13px 18px; font-size: 16px; border: 1px solid #dadce0; background: #fff; color: #3c4043; margin-top: 8px; }
.google-btn:hover { background: #f8f9fa; }
.login-note { margin-top: 14px; line-height: 1.6; }
