/* ==========================================================================
   styles.css — 「두 손 모아」 / '새벽빛' 시안
   · 위 짙은 남색 → 아래 살구빛으로 내려오는 고정 배경
   · 흰 카드 · 20px 모서리 · 은은한 금빛 한 가지
   · 모바일 우선, 데스크톱은 720px 가운데 정렬
   ========================================================================== */

:root {
  --navy: #14213D;
  --navy-soft: #1E2A4A;
  --apricot: #F3D9C6;
  --gold: #C8A96A;
  --gold-deep: #7C6432;
  --paper: #FFFFFF;
  --paper-warm: #FBF8F3;
  --ink: #232630;
  --ink-soft: #5E6472;
  --ink-faint: #8B8F9C;
  --line: #E9E3D9;
  --field: #FAF8F5;
  --danger: #A4483C;
  --radius: 20px;
  --shadow: 0 12px 34px rgba(9, 16, 36, 0.14);
  --maxw: 720px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 새벽빛 배경 (화면에 고정) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #14213D 0%,
    #1B2745 26%,
    #2E3355 46%,
    #6B6072 68%,
    #B99A93 84%,
    #F3D9C6 100%
  );
}

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── 게시 안내 한 줄 ──────────────────────────────────────── */
.board-note {
  margin: 14px auto 0;
  max-width: 30em;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

/* ── 레이아웃 ──────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 72px;
}

/* ── 머리 ─────────────────────────────────────────────────── */
.site-header {
  padding: 40px 0 26px;
  text-align: center;
}

.greeting {
  margin: 0 0 12px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.74);
}

.site-title {
  margin: 0;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #FAF3E8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.site-sub {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
}

/* 넓은 화면에서는 머리에 글쓰기 버튼 (모바일은 화면 아래 고정 버튼) */
.desktop-compose-wrap { display: none; }

/* ── 분류 탭 ──────────────────────────────────────────────── */
.tabs { margin: 0 0 20px; }

.tabs-inner {
  display: flex;
  gap: 8px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tabs-inner::-webkit-scrollbar { display: none; }

.tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* 작은 휴대폰에서는 분류가 한 줄에 다 들어가도록 조금 조인다 */
@media (max-width: 430px) {
  .tabs-inner { gap: 6px; }
  .tab { padding: 7px 12px; font-size: 13px; }
}

.tab:hover { background: rgba(255, 255, 255, 0.12); }

.tab.is-active {
  color: #22304F;
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  font-weight: 500;
}

/* ── 카드 목록 ─────────────────────────────────────────────── */
.post-list {
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-main { display: block; }

.card:hover { box-shadow: 0 16px 40px rgba(9, 16, 36, 0.18); }
.card-main:hover .card-title { color: var(--gold-deep); }

.card.is-answered {
  background: var(--paper-warm);
  box-shadow: 0 8px 22px rgba(9, 16, 36, 0.1);
}

.card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.chip {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #6E6350;
  background: #F4EFE6;
  border-radius: 999px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  background: rgba(200, 169, 106, 0.16);
  border: 1px solid rgba(200, 169, 106, 0.42);
  border-radius: 999px;
}

.badge-muted {
  color: #6C6C6C;
  background: #F0EFEC;
  border-color: #E2E0DA;
}

.card-title {
  margin: 0 0 8px;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: #1D2230;
  transition: color 0.18s ease;
}

.card-body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}

.card.is-answered .card-foot { border-top-color: #EFE7D8; }

.who { color: var(--ink-soft); font-weight: 400; }
.sep { color: #C9C4BA; }
.comment-count { color: var(--ink-faint); }

.pray-mini {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 13.5px;
  color: #8C8577;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pray-mini:hover {
  color: var(--gold-deep);
  background: rgba(200, 169, 106, 0.1);
  border-color: rgba(200, 169, 106, 0.3);
}

.pray-mini.is-on,
.pray-btn.is-on {
  color: #9A7630;
  background: rgba(200, 169, 106, 0.16);
  border-color: rgba(200, 169, 106, 0.45);
}

.heart { font-size: 15px; line-height: 1; }

/* ── 빈 목록 · 지난 기도제목 ───────────────────────────────── */
.list-empty {
  margin: 0;
  padding: 44px 12px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.archive-bar {
  margin-top: 26px;
  text-align: center;
}

.text-btn {
  padding: 8px 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.text-btn:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }

/* ── 돌아가기 ─────────────────────────────────────────────── */
.back-link {
  display: inline-block;
  margin: 26px 0 14px;
  padding: 4px 2px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.back-link:hover { color: #fff; }

/* ── 흰 시트(카드형 컨테이너) ─────────────────────────────── */
.sheet {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  margin-bottom: 16px;
}

.sheet-title {
  margin: 0 0 6px;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1D2230;
}

.sheet-desc {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
}

.sheet-narrow { max-width: 420px; }

/* ── 글 하나 ─────────────────────────────────────────────── */
.detail { padding: 28px 22px 24px; }

.detail-title {
  margin: 0 0 12px;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.46;
  color: #1B202E;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--ink-faint);
}

.detail-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: #33363E;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pray-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14.5px;
  color: #7A6234;
  background: #FBF6EE;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 14px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.pray-btn:hover { background: #F7EFE1; }

.pray-btn .pray-count { font-weight: 500; }

/* ── 신고 ────────────────────────────────────────────────── */
.report-panel {
  margin-top: 16px;
  padding: 16px;
  background: #FBF9F5;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.report-title {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.report-reasons { display: flex; flex-wrap: wrap; gap: 8px; }

.report-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ── 나눔(댓글) ───────────────────────────────────────────── */
.comments { padding: 24px 22px; }

.comments-title {
  margin: 0 0 16px;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 17px;
  font-weight: 600;
  color: #1D2230;
}

.comments-title .count { color: var(--gold-deep); font-size: 14px; }

.comment-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.comment {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.comment:first-child { border-top: 0; padding-top: 0; }

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.comment-body {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: #3A3D45;
}

.comments-empty {
  margin: 0 0 20px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-faint);
}

.comment-form textarea {
  width: 100%;
  min-height: 84px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
}

.comment-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.comment-form-foot input[type="text"] {
  flex: 1 1 130px;
  min-width: 110px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.comment-form-foot .primary-btn.small { margin-left: auto; }

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.inline-check input { width: 16px; height: 16px; accent-color: var(--gold); }

/* ── 입력 필드 ────────────────────────────────────────────── */
.field {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="password"],
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea { resize: vertical; min-height: 150px; }

.field input:focus,
.field textarea:focus,
.comment-form textarea:focus,
.comment-form-foot input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
}

.field input::placeholder,
.field textarea::placeholder,
.comment-form textarea::placeholder,
.comment-form-foot input::placeholder {
  color: #AFAAA1;
  font-weight: 300;
}

/* 음성 입력 */
.mic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.mic-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  font-size: 13.5px;
  color: #6B6355;
  background: #FBF8F2;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mic-btn:hover { border-color: rgba(200, 169, 106, 0.55); color: var(--gold-deep); }

.mic-btn.is-live {
  color: #8C3B31;
  background: #FBEFEC;
  border-color: rgba(164, 72, 60, 0.4);
}

.mic-icon { font-size: 14px; }

.mic-status {
  flex: 1 1 180px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-faint);
}

/* 위기 안내 */
.crisis-note {
  margin: 0 0 20px;
  padding: 16px 18px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: #4A4032;
  background: #FBF5E9;
  border: 1px solid rgba(200, 169, 106, 0.45);
  border-radius: 14px;
}

.crisis-note p { margin: 0; }
.crisis-title { font-weight: 500; margin-bottom: 4px !important; }

/* 분류 고르기 */
.cat-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-opt { position: relative; }

.cat-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cat-opt span {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.18s ease;
}

.cat-opt input:checked + span {
  color: #6B5322;
  background: rgba(200, 169, 106, 0.16);
  border-color: rgba(200, 169, 106, 0.55);
  font-weight: 500;
}

.cat-opt input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.28);
}

/* 이름 공개 토글 */
.switch-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch {
  flex: 0 0 auto;
  position: relative;
  width: 46px;
  height: 27px;
  margin-top: 1px;
  background: #DED7CC;
  border-radius: 999px;
  transition: background 0.18s ease;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.switch-row input:checked + .switch { background: var(--gold); }
.switch-row input:checked + .switch::after { transform: translateX(19px); }
.switch-row input:focus-visible + .switch { box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.3); }

.switch-text { display: block; }
.switch-text strong { display: block; font-size: 14.5px; font-weight: 500; color: #2B2F3A; }
.switch-text small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 300; color: var(--ink-faint); }

.switch-help {
  margin: 10px 0 0 58px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--gold-deep);
}

.name-wrap { margin: 12px 0 0 58px; }

.name-wrap input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ── 버튼 ────────────────────────────────────────────────── */
.primary-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #F8F1E4;
  background: var(--navy-soft);
  border: 1px solid var(--navy-soft);
  border-radius: 14px;
  transition: background 0.18s ease, transform 0.12s ease;
}

.primary-btn:hover { background: #26355A; }
.primary-btn:active { transform: translateY(1px); }

.primary-btn.small {
  width: auto;
  padding: 10px 18px;
  font-size: 13.5px;
  border-radius: 12px;
}

.ghost-btn {
  padding: 10px 15px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ghost-btn:hover { border-color: #D6CFC3; background: #FCFAF6; }

.ghost-btn.small { padding: 8px 13px; font-size: 12.5px; border-radius: 10px; }

.ghost-btn.danger { color: var(--danger); border-color: #E8D3CE; }

.ghost-btn.is-armed {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.form-error {
  min-height: 1.2em;
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--danger);
}

.form-hint {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-faint);
  text-align: center;
}

/* ── 관리자 ──────────────────────────────────────────────── */
.admin-head { display: block; }

.admin-note {
  margin: 6px 0 16px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

.admin-section-title {
  margin: 0 0 4px;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  font-size: 16px;
  font-weight: 600;
  color: #1D2230;
}

.admin-section-title .count { color: var(--gold-deep); font-size: 13px; }

.admin-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.admin-item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-item-main { flex: 1 1 220px; min-width: 0; }

.admin-item-title {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: #22262F;
}

.admin-item-title:hover { color: var(--gold-deep); }

.admin-item-meta {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-faint);
}

.admin-item-actions { display: flex; gap: 6px; flex: 0 0 auto; }

.admin-empty {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-faint);
}

/* ── 고정 버튼 · 바닥 ─────────────────────────────────────── */
.fab {
  position: fixed;
  right: max(18px, calc((100vw - var(--maxw)) / 2 + 18px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #1D2740;
  background: #F6E3D3;
  border: 1px solid rgba(200, 169, 106, 0.7);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(10, 18, 38, 0.3);
  transition: background 0.18s ease, transform 0.12s ease;
}

.fab:hover { background: #F9EADC; }
.fab:active { transform: translateY(1px); }

/* 휴대폰: 떠 있는 작성 버튼은 왼쪽 아래에 둔다 (오른쪽 아래 배지·여백과 겹치지 않게) */
@media (max-width: 759px) {
  .fab {
    left: max(18px, env(safe-area-inset-left, 0px));
    right: auto;
  }
}

/* 좁은 휴대폰: 오른쪽 아래 배지와 가로가 겹치는 폭에서는 버튼을 배지 위로 올린다 */
@media (max-width: 386px) {
  .fab {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 34px;
  text-align: center;
}

.admin-link {
  padding: 6px 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #6B6255;
  background: transparent;
  border: 0;
  opacity: 0.85;
}

.admin-link:hover { opacity: 1; text-decoration: underline; }

/* ── 알림 ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  transform: translate(-50%, 8px);
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  font-size: 13.5px;
  color: #F7F0E4;
  text-align: center;
  background: rgba(20, 33, 61, 0.94);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── 데스크톱 ────────────────────────────────────────────── */
@media (min-width: 760px) {
  .wrap { padding: 0 28px 88px; }

  .site-header { padding: 60px 0 34px; }
  .site-title { font-size: 44px; }
  .site-sub { font-size: 13.5px; }

  .desktop-compose-wrap { display: block; margin: 26px 0 0; }

  .desktop-compose {
    display: inline-block;
    padding: 11px 22px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    color: #F6E7D6;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(200, 169, 106, 0.6);
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .desktop-compose:hover { background: rgba(255, 255, 255, 0.12); color: #FFF8EC; }

  /* 넓은 화면에서는 떠 있는 버튼 대신 머리의 버튼을 쓴다 */
  .fab { display: none; }

  .tabs-inner { justify-content: center; }

  .card { padding: 24px 26px 16px; }
  .card-title { font-size: 20px; }

  .sheet { padding: 32px 30px; }
  .detail { padding: 34px 30px 28px; }
  .detail-title { font-size: 26px; }
  .comments { padding: 28px 30px; }

  .site-footer { padding-bottom: 40px; }
}

/* ── 움직임 줄이기 ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
