:root {
  --brand: #145A32;
  --brand-light: #1F7A45;
  --brand-pale: #E8F3EC;
  --accent: #A9D18E;
  --ink: #1B2B22;
  --muted: #5B6B61;
  --bg: #FAFBF9;
  --danger: #B3261E;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 90, 50, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.draft-watermark {
  background: #FDECEC;
  color: var(--danger);
  text-align: center;
  font-weight: 700;
  padding: 8px;
  position: sticky;
  top: 0;
  z-index: 50;
  letter-spacing: 0.05em;
}

.site-header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand { font-weight: 800; font-size: 1.2rem; color: var(--brand); flex-shrink: 0; }

/* ── 햄버거 버튼 (모바일 전용) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 데스크톱 헤더: brand | nav-main(중앙) | nav-auth(우측 고정) ── */
.nav-drawer {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-left: 24px;
  gap: 0;
}
.nav-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.nav-main a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 6px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-main a.active, .nav-main a:hover { color: var(--brand); }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 16px;
}
.nav-auth a.donate-cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-auth a.donate-cta:hover { background: var(--brand-light); color: #fff; }

.nav-user { color: var(--ink); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.nav-nickname { color: var(--brand); }
.nav-logout { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.btn-kakao { background: #FEE500; color: #191600; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.btn-kakao:hover { filter: brightness(0.96); }
.btn-channel { background: #FEE500; color: #191600; border: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-channel:disabled { background: var(--accent); color: #fff; cursor: default; }

/* ── 모바일 (≤768px): 햄버거 + 드롭다운 ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,90,50,0.12);
    margin-left: 0;
    padding-bottom: 12px;
    z-index: 39;
  }
  .nav-drawer.nav-open { display: flex; }

  .nav-main {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 0;
  }
  .nav-main a {
    padding: 13px 24px;
    font-size: 1rem;
    border-bottom: 1px solid var(--brand-pale);
    color: var(--ink);
    white-space: normal;
  }
  .nav-main a.active, .nav-main a:hover { color: var(--brand); background: var(--brand-pale); }

  .nav-auth {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 0;
    padding: 8px 20px 0;
  }
  .nav-auth a.donate-cta {
    text-align: center;
    padding: 13px 20px;
    border-radius: 999px;
    margin-bottom: 8px;
  }
  .btn-kakao { display: block; text-align: center; padding: 13px 20px; margin-top: 0; }
  .btn-channel { width: 100%; text-align: center; padding: 13px 20px; margin-top: 8px; }
  .nav-user { padding: 10px 0 0; font-size: 0.95rem; }
  .nav-logout { display: block; padding: 6px 0 0; font-size: 0.95rem; }
}

.hero {
  background: linear-gradient(180deg, var(--brand-pale), var(--bg));
  padding: 56px 0 40px;
  text-align: center;
}
.hero-slogan { font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--brand); margin: 0 0 8px; word-break: keep-all; }
.hero-sub { font-size: 1.1rem; color: var(--muted); margin: 0 0 28px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); }
.btn-lg { font-size: 1.05rem; }
.btn:disabled { background: #ccc; cursor: not-allowed; }

.mission-excerpt { padding: 40px 0; text-align: center; background: #fff; }
.stat-text { font-size: 1.15rem; max-width: 640px; margin: 0 auto 16px; color: var(--ink); }
.pledge-text { font-size: 1.4rem; color: var(--brand); font-weight: 700; }

.donation-stats { padding: 40px 0; text-align: center; }
.stat-grid { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 16px; flex-wrap: wrap; }
.stat-item { flex: 0 0 auto; padding: 0 40px; }
.stat-divider { width: 1px; height: 64px; background: var(--accent); flex-shrink: 0; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--brand); margin: 0 0 4px; line-height: 1; }
.stat-unit { font-size: 1.4rem; font-weight: 700; margin-left: 2px; }
.stat-item .stat-label { font-size: 0.95rem; color: var(--muted); margin: 0; font-weight: 600; }
@media (max-width: 480px) {
  .stat-item { padding: 0 28px; }
  .stat-number { font-size: 2.2rem; }
  .stat-unit { font-size: 1.1rem; }
}

.latest-posts { padding: 40px 0 56px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.post-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.post-category { color: var(--brand); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.post-date { color: var(--muted); font-size: 0.85rem; }

.empty-state { color: var(--muted); text-align: center; padding: 20px 0; }

.page-hero { background: var(--brand-pale); padding: 40px 0; text-align: center; }
.page-hero h1 { color: var(--brand); margin: 0; }

.prose p { margin: 0 0 16px; }
.note { color: var(--muted); font-size: 0.9rem; }

.mission-statement { max-width: 640px; }
.mission-statement p { margin: 0 0 24px; }
.mission-statement .pledge-line { font-size: 1.4rem; color: var(--brand); font-weight: 700; }

.placeholder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin: 24px 0; }
.placeholder-card { text-align: center; }
.avatar-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--brand-pale); margin: 0 auto 12px; }
.placeholder-card .name { font-weight: 700; margin: 0; }
.placeholder-card .role { color: var(--muted); margin: 2px 0 0; font-size: 0.9rem; }

.program-cards { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.program-card { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); align-items: flex-start; }
.program-num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.program-card h3 { margin: 0 0 6px; color: var(--brand); }
.program-card p { margin: 0; color: var(--ink); }

.finance-chart, .fundraising-gauge { padding: 32px 0; }
.gauge { background: var(--brand-pale); border-radius: 999px; height: 24px; overflow: hidden; }
.gauge-fill { background: var(--brand); height: 100%; transition: width 0.3s; }
.gauge-label { margin-top: 10px; font-weight: 700; color: var(--brand); }
.gauge-target { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.account-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.account-info dt { color: var(--muted); }
.account-info dd { margin: 0; }

.donate-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.donate-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.donate-form input, .donate-form select, .donate-form textarea {
  padding: 10px 12px;
  border: 1px solid #D8E2DB;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.legal-doc { padding: 32px 0 56px; }

.mypage { padding: 32px 0 56px; display: grid; gap: 20px; }
.mypage-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.mypage-card h2 { margin-top: 0; color: var(--brand); }
.info-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-pale); color: var(--brand); font-size: 0.85rem; font-weight: 700; }
.badge-donor { background: var(--brand); color: #fff; }
.verified-msg { color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.otp-step { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0; }
.otp-step label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; flex: 1 1 200px; }
.otp-step input { padding: 10px 12px; border: 1px solid #D8E2DB; border-radius: 8px; font-size: 1rem; font-family: inherit; }
.otp-msg { margin: 8px 0 0; font-size: 0.92rem; }
.otp-msg-ok { color: var(--brand); }
.otp-msg-err { color: var(--danger); }
.otp-admin { font-size: 0.9rem; color: var(--muted); }

.pinned-media { padding: 40px 0; background: #fff; }
.pinned-media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 16px; }
.pinned-media-item { display: flex; flex-direction: column; gap: 8px; }
.pinned-media-title { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin: 0; }
.pinned-media-more { text-align: right; margin: 0; font-size: 0.9rem; }
.pinned-media-more a { color: var(--brand); font-weight: 600; }

.media-section { padding: 40px 0 56px; }
.media-empty { text-align: center; padding: 56px 0; }
.media-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.media-empty-title { font-size: 1.2rem; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.media-empty-sub { color: var(--muted); margin: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.media-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.media-card-pinned { border: 2px solid var(--brand); }
.media-pin-badge { display: inline-block; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; }
.media-title { padding: 10px 14px; font-weight: 600; font-size: 0.92rem; margin: 0; color: var(--ink); }
.insta-wrapper { padding: 12px; }
.media-link-wrap { padding: 24px; text-align: center; }
.media-ext-link { color: var(--brand); font-weight: 700; }

.stories-section { padding: 40px 0 56px; }
.stories-empty { text-align: center; padding: 56px 0; }
.stories-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.stories-empty-title { font-size: 1.2rem; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.stories-empty-sub { color: var(--muted); margin: 0; }

.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.story-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; color: inherit; transition: box-shadow 0.15s; }
.story-card:hover { box-shadow: 0 4px 20px rgba(20,90,50,0.15); }
.anon-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.story-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.story-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--brand-pale); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.story-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.story-title { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ink); }
.story-summary { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.story-date { color: var(--muted); font-size: 0.8rem; margin: auto 0 0; }

.anon-notice { background: #FFF8E1; border-left: 4px solid #F9A825; padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 0.92rem; color: #5B4F00; margin-bottom: 20px; line-height: 1.6; }
.story-detail { padding: 40px 0 64px; }
.story-detail-inner { max-width: 720px; }
.story-detail-title { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 6px; color: var(--ink); }
.story-detail-date { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }
.yt-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-bottom: 28px; }
.yt-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--radius); }
.story-content { line-height: 1.8; }
.story-content p { margin: 0 0 16px; }
.story-back { margin-top: 40px; }

.help-crisis-bar { background: var(--danger); color: #fff; padding: 12px 0; font-size: 0.95rem; text-align: center; }
.help-crisis-bar a { color: #fff; text-decoration: underline; font-weight: 700; }
.help-section { padding: 32px 0 56px; }
.help-intro { max-width: 680px; margin: 0 0 24px; line-height: 1.7; }
.help-form { max-width: 680px; }
.help-fieldset { border: 1px solid #D8E2DB; border-radius: var(--radius); padding: 18px 20px 20px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.help-fieldset > legend { font-weight: 700; color: var(--brand); padding: 0 6px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; background: var(--brand-pale); padding: 14px 16px; border-radius: 8px; cursor: pointer; }
.consent-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; margin-top: 1px; }
.crisis-inline { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 8px 0 24px; }
.crisis-inline a { color: var(--danger); font-weight: 700; text-decoration: underline; }

.review-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; }
.review-table th, .review-table td { border: 1px solid #E2EAE5; padding: 8px 10px; text-align: left; vertical-align: middle; }
.review-table thead th { background: var(--brand-pale); color: var(--brand); white-space: nowrap; }
.review-table tr.row-dup { background: #FFF6F5; }
.approve-cell { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; font-size: 0.85rem; }
.tag-none { background: #EEE; color: #666; padding: 2px 7px; border-radius: 999px; font-size: 0.78rem; }
.tag-match { background: var(--brand); color: #fff; padding: 2px 7px; border-radius: 999px; font-size: 0.75rem; margin-left: 4px; }
.tag-multi { background: #F9A825; color: #fff; padding: 2px 7px; border-radius: 999px; font-size: 0.75rem; margin-left: 4px; }
.amount-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.amount-btn { padding: 10px 18px; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.95rem; }
.amount-btn:hover { background: var(--brand-pale); }
.donate-amount-label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; max-width: 260px; margin: 8px 0 14px; }
.donate-amount-label input { padding: 10px 12px; border: 1px solid #D8E2DB; border-radius: 8px; font-size: 1rem; font-family: inherit; }

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.report-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.report-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--brand-pale); border-radius: 8px; flex-wrap: wrap; }
.report-title { font-weight: 600; color: var(--ink); }
.commit-summary { list-style: none; padding: 0; margin: 0 0 24px; display: inline-block; text-align: left; }
.commit-summary li { padding: 3px 0; color: var(--ink); }

.section-title { color: var(--brand); font-size: 1.3rem; margin: 0 0 20px; }
.page-hero-sub { color: var(--brand); margin: 8px 0 0; font-size: 1rem; }

.class-section { padding: 40px 0; }
.class-section-alt { background: var(--brand-pale); }

.slots-empty { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.slots-empty p { margin: 0 0 6px; }

.slot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.slot-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); flex-wrap: wrap; }
.slot-date { font-weight: 700; color: var(--brand); }
.slot-program { font-size: 0.85rem; color: var(--muted); background: var(--brand-pale); padding: 2px 8px; border-radius: 999px; }
.slot-location { font-size: 0.85rem; color: var(--muted); }

.login-prompt-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); text-align: center; }
.login-prompt-msg { font-size: 1.05rem; color: var(--ink); margin: 0 0 16px; }

.class-form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 12px; border: 1px solid #D8E2DB; border-radius: 8px;
  font-size: 1rem; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.required { color: var(--danger); }
.form-note { color: var(--muted); font-size: 0.9rem; margin: 0; }

.checkbox-group { border: 1px solid #D8E2DB; border-radius: 8px; padding: 14px 16px; margin: 0; }
.checkbox-group legend { font-weight: 600; font-size: 0.92rem; padding: 0 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.95rem; padding: 4px 0; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); flex: 0 0 auto; }
.slot-prog-tag { font-size: 0.78rem; color: var(--muted); background: var(--brand-pale); padding: 1px 7px; border-radius: 999px; margin-left: 4px; }

.success-section { padding: 64px 0; min-height: 60vh; display: flex; align-items: center; }
.success-card { background: #fff; border-radius: var(--radius); padding: 48px 32px; box-shadow: var(--shadow); text-align: center; max-width: 480px; margin: 0 auto; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-title { color: var(--brand); margin: 0 0 12px; }
.success-msg { color: var(--ink); line-height: 1.7; margin: 0 0 8px; }
.success-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-pale); }

.expert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 32px 0; }
.expert-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.expert-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; display: block; }
.expert-photo-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--brand-pale); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.expert-name { font-weight: 700; margin: 0 0 4px; font-size: 1.05rem; }
.expert-title { color: var(--muted); font-size: 0.9rem; margin: 0 0 6px; }
.expert-specialty { color: var(--brand); font-size: 0.85rem; font-weight: 600; margin: 0 0 10px; }
.expert-bio { color: var(--ink); font-size: 0.9rem; line-height: 1.5; margin: 0; text-align: left; }
.experts-section { padding: 40px 0 56px; }
.experts-empty { text-align: center; padding: 56px 0; }
.experts-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.experts-empty-title { font-size: 1.2rem; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.experts-empty-sub { color: var(--muted); margin: 0; }

.activity-stats { background: var(--brand); color: #fff; padding: 36px 0; }
.activity-stats-title { margin: 0 0 24px; font-size: 1.15rem; font-weight: 700; color: #D9EBDD; text-align: center; }
.activity-stats .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; text-align: center; }
.activity-stats .stat-item .stat-num { font-size: 2.8rem; font-weight: 800; margin: 0 0 4px; line-height: 1; }
.activity-stats .stat-item .stat-label { font-size: 0.9rem; opacity: 0.85; margin: 0; }
.activity-trust { text-align: center; margin: 28px 0 0; font-size: 0.95rem; color: #D9EBDD; font-weight: 600; }

.site-footer { background: var(--brand); color: #fff; margin-top: 48px; }
.crisis-banner { background: #0E4526; text-align: center; padding: 14px 20px; }
.crisis-banner p { margin: 0; }
.crisis-banner a { color: #fff; text-decoration: underline; font-weight: 700; }
.footer-grid { display: flex; flex-direction: column; gap: 16px; padding: 28px 0 8px; font-size: 0.9rem; color: #D9EBDD; }
.footer-org { font-weight: 700; color: #fff; margin: 0 0 4px; }
.footer-grid p { margin: 2px 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #D9EBDD; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { padding: 12px 0 24px; font-size: 0.8rem; color: #9FC3AC; }

@media (min-width: 640px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-slogan { font-size: 1.7rem; word-break: keep-all; }
  .hero-sub { font-size: 1rem; }
}

/* ── S13: 후원자의 숲 ── */
.forest-hero { text-align: center; }
.forest-logo { font-size: 3.5rem; margin-bottom: 8px; }
.forest-section { padding: 48px 0 64px; }
.forest-count { color: var(--muted); margin: 0 0 28px; font-size: 0.95rem; }
.forest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 48px; }
.forest-card { background: #fff; border-radius: var(--radius); padding: 20px 16px; box-shadow: var(--shadow); text-align: center; }
.forest-card-icon { font-size: 2rem; margin-bottom: 8px; }
.forest-card-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.forest-card-date { font-size: 0.78rem; color: var(--muted); }
.forest-quote-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); grid-column: 1 / -1; }
.forest-quote-text { font-style: italic; font-size: 0.97rem; line-height: 1.6; margin: 0 0 6px; }
.forest-quote-author { font-size: 0.85rem; opacity: 0.8; margin: 0; text-align: right; }
.forest-empty { text-align: center; padding: 56px 0; }
.forest-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.forest-empty-title { font-size: 1.2rem; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.forest-empty-sub { color: var(--muted); margin: 0; }
.forest-cta { text-align: center; background: var(--brand-pale); border-radius: var(--radius); padding: 40px 24px; }
.forest-cta-title { color: var(--brand); margin: 0 0 8px; }
.forest-cta-sub { color: var(--muted); margin: 0 0 20px; }
.forest-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; font-size: 0.95rem; }
.alert-ok { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-err { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ── S14: 문의게시판 ── */
.inquiry-section { padding: 40px 0 64px; }
.inquiry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.inquiry-list { display: flex; flex-direction: column; gap: 10px; }
.inquiry-item { background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.inquiry-item-lock { font-size: 1rem; flex: 0 0 auto; margin-top: 2px; }
.inquiry-item-body { flex: 1; min-width: 0; }
.inquiry-item-title { font-weight: 700; color: var(--ink); font-size: 0.97rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inquiry-item-title a { color: inherit; }
.inquiry-item-meta { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.inquiry-badge { font-size: 0.72rem; padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.inquiry-badge-private { background: #E8EAF6; color: #3949AB; }
.inquiry-badge-answered { background: #E8F5E9; color: #2E7D32; }
.inquiry-form { display: flex; flex-direction: column; gap: 18px; max-width: 660px; }
.inquiry-form input[type="text"], .inquiry-form textarea { padding: 10px 12px; border: 1px solid #D8E2DB; border-radius: 8px; font-size: 1rem; font-family: inherit; }
.inquiry-detail { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); max-width: 780px; }
.inquiry-detail-title { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.inquiry-detail-meta { font-size: 0.82rem; color: var(--muted); margin: 0 0 20px; border-bottom: 1px solid #E0EBE3; padding-bottom: 14px; }
.inquiry-detail-content { line-height: 1.75; color: var(--ink); white-space: pre-wrap; }
.inquiry-reply { margin-top: 24px; background: var(--brand-pale); border-radius: 8px; padding: 16px 18px; }
.inquiry-reply-label { font-weight: 700; color: var(--brand); margin: 0 0 8px; font-size: 0.9rem; }
.inquiry-reply-body { color: var(--ink); line-height: 1.7; white-space: pre-wrap; }
.inquiry-locked { padding: 32px 0; text-align: center; color: var(--muted); }
.inquiry-rate-msg { color: var(--danger); font-size: 0.9rem; margin: 4px 0 0; }

/* ── S16: 마이페이지 대시보드 ── */
.dash-section { padding: 32px 0 64px; }
.dash-profile { background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.dash-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-pale); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.dash-profile-info { flex: 1; min-width: 0; }
.dash-profile-name { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.dash-profile-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dash-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: box-shadow 0.15s; }
.dash-card:hover { box-shadow: 0 4px 20px rgba(20,90,50,0.13); }
.dash-card-header { display: flex; align-items: center; gap: 10px; }
.dash-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.dash-card-title { font-size: 1rem; font-weight: 700; color: var(--brand); margin: 0; }
.dash-card-body { flex: 1; }
.dash-stat { font-size: 1.6rem; font-weight: 800; color: var(--brand); line-height: 1.2; }
.dash-stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.dash-preview-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dash-preview-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--ink); border-bottom: 1px solid var(--brand-pale); padding-bottom: 5px; }
.dash-preview-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-preview-amount { font-weight: 700; color: var(--brand); flex-shrink: 0; margin-left: 8px; }
.dash-empty { font-size: 0.88rem; color: var(--muted); margin: 4px 0 0; }
.dash-card-footer { margin-top: auto; }
.dash-cta-card { background: linear-gradient(135deg, var(--brand-pale) 0%, #D4EDD9 100%); border: 1.5px dashed var(--accent); }
.dash-interest-section { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }

/* 기부 이력 테이블 */
.donation-section { padding: 32px 0 64px; }
.donation-table-wrap { overflow-x: auto; }
.donation-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.donation-table th { background: var(--brand-pale); color: var(--brand); font-weight: 700; padding: 10px 12px; text-align: left; white-space: nowrap; }
.donation-table td { padding: 10px 12px; border-bottom: 1px solid #EEF3EE; vertical-align: middle; }
.donation-table tr:last-child td { border-bottom: none; }
.donation-table tr:hover td { background: #F7FBF8; }
.status-paid { color: var(--brand); font-weight: 700; }
.status-pending { color: #B07800; font-weight: 700; }
.status-failed { color: var(--danger); font-weight: 700; }
.status-canceled { color: var(--muted); }
.pledge-card { background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pledge-info { flex: 1; }
.pledge-title { font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 4px; }
.pledge-meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.pledge-status-active { color: var(--brand); font-weight: 700; }
.pledge-status-paused { color: #B07800; font-weight: 700; }
.pledge-status-canceled { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--brand); background: #fff; border: 1.5px solid #D8E2DB; cursor: pointer; transition: background 0.1s; }
.page-btn:hover { background: var(--brand-pale); }
.page-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.cancel-modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 200; display: flex; align-items: center; justify-content: center; }
.cancel-modal { background: #fff; border-radius: var(--radius); padding: 28px 28px 24px; max-width: 380px; width: 92%; box-shadow: 0 8px 40px rgba(0,0,0,0.18); }
.cancel-modal-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.cancel-modal-body { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0 0 20px; }
.cancel-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-profile { flex-direction: column; text-align: center; }
  .donation-table { font-size: 0.82rem; }
  .donation-table th, .donation-table td { padding: 8px 8px; }
}
