/* ============================================================
   하늘누림교회 홈페이지 디자인 기준 — 시크·모던
   흑백을 바탕에 두고, 로고의 네 색은 작은 점과 한 글자 강조에만 씁니다.
   하늘=천국을, 연두=누리며, 코랄=확장하는, 살구=사람들
   바탕은 <html data-theme="dark|light"> 로 바뀝니다 (js/theme.js).
   ============================================================ */
:root {
  /* 로고 네 색 (바뀌지 않음) */
  --sky: #BDE4F8;   --sky-deep: #2B6F99;
  --green: #D5E5AD; --green-deep: #4F7419;
  --coral: #F5AE8E; --coral-deep: #A94A26;
  --peach: #F9CF9D; --peach-deep: #9A5B12;

  /* 밝은 바탕 */
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #EEEEEA;
  --ink: #424242;  /* 회색 (예전 #111111 → #2E2E2E) */
  --ink-2: #4C4C49;  /* 11/22 어르신 가독성: #5A5A56 → #4C4C49 */
  --head: #333333;  /* 큰 제목만 본문보다 살짝 진하게 */
  --muted: #5E5E59;  /* 11/22: #6B6B66 → #5E5E59 */
  --line: #DCDCD6;
  --line-soft: #E8E8E3;
  --primary: #3B4A5A;  /* 남회색 버튼 (예전 #111111) */
  --on-primary: #FFFFFF;
  --header-bg: rgba(247,247,245,0.86);
  --giant: rgba(17,17,17,0.06);
  --sky-t: var(--sky-deep); --green-t: var(--green-deep); --coral-t: var(--coral-deep); --peach-t: var(--peach-deep);

  /* 예전 이름을 쓰는 곳(관리 화면)을 위한 별칭 */
  --bg-soft: var(--surface-2);
  --dark: #0D0D0E;
  --sky-tint: var(--surface-2); --green-tint: var(--surface-2); --coral-tint: var(--surface-2); --peach-tint: var(--surface-2);

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --wrap: 1280px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  --serif: 'MaruBuri', 'Noto Serif KR', 'Nanum Myeongjo', serif;
  color-scheme: light;

  /* 글씨 크기 (11/22): 24px 이하 글자는 모두 calc(Npx * var(--fs)) 로 커짐.
     --fs-base 는 화면 크기에 따른 기본값, --fs-user 는 성도가 고른 단계(보통·크게·아주 크게). */
  --fs-base: 1;
  --fs-user: 1;
  --fs: calc(var(--fs-base) * var(--fs-user));
}
/* 11/22 16:36 목사님: 작게(기본) = 원래 크기, 보통 = 1.12배, 크게 = 1.28배.
   휴대폰만 따로 키우던 --fs-base 1.12는 뺌. */
html[data-fs="l"] { --fs-user: 1.12; }
html[data-fs="xl"] { --fs-user: 1.28; }
html[data-fs="xxl"] { --fs-user: 1.45; }   /* 12/4 어르신들 "하나 더 큰 크기" */
[data-theme="dark"] {
  --bg: #0D0D0E;
  --surface: #161618;
  --surface-2: #1D1D20;
  --ink: #F2F2EE;
  --ink-2: #CACAC4;
  --head: var(--ink);
  --muted: #8E8E88;
  --line: #2C2C30;
  --line-soft: #222225;
  --primary: #F2F2EE;
  --on-primary: #0D0D0E;
  --header-bg: rgba(13,13,14,0.82);
  --giant: rgba(242,242,238,0.05);
  --sky-t: var(--sky); --green-t: var(--green); --coral-t: var(--coral); --peach-t: var(--peach);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
/* 12/4 목사님 "핸드폰에서 화면이 자꾸 좌우로 미세하게 밀려": 화면 밖으로 살짝 나간 장식(사진 띠 · 빛 번짐 · 메뉴 서랍)에 끌려 페이지가 옆으로 움직이지 않게.
   clip은 스크롤 상자를 만들지 않아 머리줄(sticky)이 그대로 붙어 있음. 옛 기기는 hidden으로. 옆으로 미는 사진 띠 같은 칸 안의 가로 스크롤은 그대로 됨. */
html { overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink); opacity: 0.72; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: var(--bg); }
.en { font-family: var(--font-en); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 960px) { .wrap { padding: 0 24px; } }
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

/* 네 색 작은 네모 */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 1px; flex: none; background: var(--c, var(--ink)); }

/* ---------- 머리말 ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; }
.brand img { height: 44px; width: auto; display: block; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.nav-link .dot { width: 7px; height: 7px; }
.nav-link small { font-size: 12px; font-weight: 400; color: var(--muted); }
.nav-link[aria-current="true"] { background: var(--surface-2); }
.sub { position: absolute; left: 0; top: 100%; min-width: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,0.18); display: none; }
.nav-item:hover .sub, .nav-item:focus-within .sub { display: block; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.sub a:hover { background: var(--surface-2); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1040px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { height: 62px; }
  .brand img { height: 36px; }
}

/* 휴대폰 메뉴 */
.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.5); display: none; }
.drawer.open { display: block; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg); color: var(--ink); padding: 16px 24px 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-group { padding: 14px 0; border-top: 1px solid var(--line); }
.drawer-group h2 { margin: 0 0 6px; font-size: calc(22px * var(--fs)); font-weight: 700; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.drawer-group a { display: block; padding: 9px 0 9px 18px; font-size: calc(15px * var(--fs)); color: var(--ink-2); }

/* ---------- 버튼 · 표시 ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary); font-size: calc(15px * var(--fs)); font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-align: center; transition: opacity .15s; }
.btn:hover { color: var(--on-primary); opacity: 0.85; }
.btn.small { height: 42px; padding: 0 18px; font-size: calc(14px * var(--fs)); }
.btn.line, .btn.white { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.line:hover, .btn.white:hover { color: var(--ink); border-color: var(--ink); opacity: 1; }
.btn:disabled { background: var(--surface-2); border-color: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.btn .arrow { font-family: var(--font-en); }

/* 작은 꼬리표: 색 네모 + 글자 */
.chip, .label { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: calc(12px * var(--fs)); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip::before, .label i { content: ''; width: 7px; height: 7px; border-radius: 1px; background: var(--c, var(--ink)); flex: none; }
.label { font-family: var(--font-en); font-size: calc(13px * var(--fs)); letter-spacing: 0.14em; color: var(--ink-2); }
.chip { letter-spacing: 0.02em; }
.chip.sky, .label.sky { --c: var(--sky); }
.chip.green, .label.green { --c: var(--green); }
.chip.coral, .label.coral { --c: var(--coral); }
.chip.peach, .label.peach { --c: var(--peach); }

/* ---------- 구역 ---------- */
.section { padding: 128px 0 0; }
.section:last-of-type { padding-bottom: 128px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; }
h1, h2, h3 { letter-spacing: -0.035em; }
h1, h2 { color: var(--head); }
.section-title { margin: 0; font-size: 56px; line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; }
.section-title .pt, .display .pt { color: var(--coral); }
[data-theme="light"] .section-title .pt, [data-theme="light"] .display .pt { color: var(--coral-deep); }
.more { font-size: calc(14px * var(--fs)); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.more:hover { opacity: 0.6; }
@media (max-width: 600px) {
  .section { padding-top: 80px; } .section:last-of-type { padding-bottom: 80px; }
  .section-title { font-size: 36px; } .section-head { margin-bottom: 28px; }
}

/* ---------- 첫 화면 ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-family: var(--font-en); font-size: calc(12px * var(--fs)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* 12/4 친절한 안내(접힌 설명): 「○○ 보기 ＋」를 누르면 펼쳐짐 */
.hn-help { margin: 12px 0 0; text-align: left; }
.hn-help > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: calc(13.5px * var(--fs)); font-weight: 600; list-style: none; }
.hn-help > summary::-webkit-details-marker { display: none; }
.hn-help > summary::after { content: '＋'; color: var(--muted); }
.hn-help[open] > summary::after { content: '－'; }
.hn-help ul { margin: 10px 0 0; padding-left: 1.2em; max-width: 680px; font-size: calc(14.5px * var(--fs)); line-height: 1.75; color: var(--ink-2); }
.hn-help li { margin: 4px 0; }
.hn-help b { color: var(--ink); }
.hn-help-vid { list-style: none; margin-top: 10px !important; margin-left: -1.2em; }
p.hn-help-vid { margin: 12px 0 0; }
.hn-help-vid a { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--navy, #1B2A4A); color: #fff; text-decoration: none; font-weight: 600; font-size: calc(13.5px * var(--fs)); }
/* 12/4 하늘뜰에서 나눈 이야기(첫 화면, 로그인한 분께만) */
.pick-home { padding-top: 18px !important; padding-bottom: 6px !important; }
.pick-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; max-width: 760px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.pick-card:hover { border-color: var(--ink); }
.pick-card .pk-ic { grid-row: span 3; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--c, var(--peach)); }
.pick-card .pk-k { font-size: calc(12.5px * var(--fs)); color: var(--muted); letter-spacing: .02em; }
.pick-card .pk-t { font-family: var(--serif); font-size: calc(16.5px * var(--fs)); line-height: 1.65; }
.pick-card .pk-w { font-size: calc(13px * var(--fs)); color: var(--muted); }
.pick-card .pk-w b { color: var(--ink-2, var(--ink)); font-weight: 600; }
.shx-who button.shx-pick.on { background: color-mix(in srgb, var(--peach) 55%, transparent); border-color: transparent; }
/* 12/4 때를 아는 한 줄: 예배 중 · 예배 뒤 · 새벽 인사 · 아침 인사 (js/home.js heroNote) */
.hero-note-w { position: relative; z-index: 2; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin-top: 14px; padding: 8px 15px 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--ink); font-size: calc(14px * var(--fs)); line-height: 1.45; text-decoration: none; }
.hero-note:hover { border-color: var(--ink); }
.hero-note i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--sky)); }
.hero-note.live i { background: #E5483A; animation: hn-note-pulse 1.6s ease-in-out infinite; }
.hero-note b { font-weight: 700; }
.hero-note em { font-style: normal; color: var(--muted); }
@keyframes hn-note-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,58,.45); } 50% { box-shadow: 0 0 0 6px rgba(229,72,58,0); } }
@media (prefers-reduced-motion: reduce) { .hero-note.live i { animation: none; } }
.hero-top .keys { display: inline-flex; gap: 5px; align-items: center; margin-right: 12px; vertical-align: 1px; }
.hero-main { padding-top: 72px; padding-bottom: 56px; position: relative; z-index: 1; }
.display { margin: 0; font-size: clamp(52px, 11.2vw, 168px); line-height: 1.02; font-weight: 800; letter-spacing: -0.06em; }
.display .line { display: block; }
.display .br { display: inline; }
.hero-row { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; justify-content: space-between; }
.hero-copy { flex: 1 1 380px; max-width: 520px; display: flex; flex-direction: column; gap: 24px; }
.hero-lead { margin: 0; font-size: calc(18px * var(--fs)); line-height: 1.75; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.next { flex: 0 1 380px; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.next:hover { opacity: 1; border-color: var(--ink); }
.next .k { font-family: var(--font-en); font-size: calc(12px * var(--fs)); letter-spacing: 0.14em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.next .k .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(213,229,173,0.18); }
[data-theme="light"] .next .k .live { background: var(--green-deep); box-shadow: 0 0 0 4px rgba(79,116,25,0.14); }
.next b { font-size: calc(20px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; }
.next .when { font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.next .count { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-family: var(--font-en); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.next .count small { font-family: var(--font); font-size: calc(15px * var(--fs)); font-weight: 500; color: var(--muted); margin: 0 6px 0 2px; letter-spacing: 0; }
.giant { position: absolute; left: -0.04em; right: 0; bottom: -0.2em; font-family: var(--font-en); font-weight: 700; font-size: 21vw; line-height: 1; letter-spacing: -0.06em; color: var(--giant); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-photo { position: relative; z-index: 1; margin-top: 8px; padding-bottom: 72px; }
.hero-photo .frame { aspect-ratio: 21 / 9; border-radius: var(--radius-l); overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: calc(14px * var(--fs)); text-align: center; padding: 16px; }
.hero-photo .frame.empty { border: 1px dashed var(--line); background: transparent; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-theme="dark"] .hero-photo img { filter: grayscale(0.15) brightness(0.88); }
@media (max-width: 600px) {
  .hero-top { padding-top: 20px; font-size: calc(11px * var(--fs)); }
  .hero-top .clock { display: none; }
  .hero-main { padding-top: 40px; padding-bottom: 32px; }
  .display { font-size: 15vw; }
  .giant { display: none; }
  .display .br { display: block; height: 0; overflow: hidden; }
  .hero-row { margin-top: 32px; gap: 24px; }
  .hero-lead { font-size: calc(16px * var(--fs)); }
  .hero-actions .btn { flex: 1 1 0; padding: 0 14px; }
  .next { flex-basis: 100%; }
  .next .count { font-size: 26px; }
  .hero-photo { padding-bottom: 40px; }
  .hero-photo .frame { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: 12% 50%; } /* 휴대폰: 찬양하는 네 사람이 잘리지 않게 왼쪽으로 */
}

/* 빠른 메뉴 (휴대폰) */
.quick { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.quick a { min-height: 76px; padding: 14px 4px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; font-size: calc(15px * var(--fs)); font-weight: 600; border-bottom: 1px solid var(--line); }
.quick a:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 14px; }
.quick a:nth-child(even) { padding-left: 14px; }
.quick a span { font-family: var(--font-en); font-size: calc(11px * var(--fs)); font-weight: 500; letter-spacing: 0.14em; color: var(--muted); display: flex; justify-content: space-between; }
@media (max-width: 600px) { .quick { display: grid; } .quick-wrap { padding-bottom: 8px; } }
/* 12/4 목사님 "그냥 텍스트는 휙 지나가 버렸어": 하늘앙리 색종이 아이콘 + 이름 */
.quick a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 72px; }
.quick a .qi { flex: none; width: 34px; height: 34px; }
.quick a b { font-weight: 600; line-height: 1.35; }
.quick a:active .qi { transform: scale(.92); }
.quick-edit { display: none; margin: 8px 0 0 auto; padding: 6px 2px; border: 0; background: none; color: var(--muted); font: inherit; font-size: calc(13px * var(--fs)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 600px) { .quick-edit { display: block; } }
.qk-dlg { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: rgba(20,22,26,.4); }
.qk-box { width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--bg); color: var(--ink); }
.qk-box h2 { margin: 0 0 4px; font-size: calc(19px * var(--fs)); }
.qk-box > p { margin: 0 0 14px; color: var(--muted); font-size: calc(14px * var(--fs)); }
.qk-box > p b { color: var(--ink); }
.qk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qk-grid button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; font-size: calc(14.5px * var(--fs)); font-weight: 600; text-align: left; cursor: pointer; }
.qk-grid button .qi { flex: none; width: 28px; height: 28px; }
.qk-grid button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qk-grid button i { position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--bg); font-style: normal; font-size: 12px; display: grid; place-items: center; }
.qk-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.qk-row span { flex: 1; }

/* 예배 시간 띠 */
.band { padding: 0; }
.band .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-soft); }
.band-card { padding: 30px 28px 30px 0; display: flex; flex-direction: column; gap: 6px; }
.band-card + .band-card { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.band-card .label { font-size: calc(12px * var(--fs)); }
.band-card .value { font-size: calc(19px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.band-card .note { font-size: calc(14px * var(--fs)); font-weight: 400; color: var(--muted); }
.band-card .go { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: calc(16px * var(--fs)); font-weight: 500; line-height: 1.5; }
@media (max-width: 760px) {
  .band .grid { grid-template-columns: 1fr; }
  .band-card { padding: 20px 0; }
  .band-card + .band-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .band-card .value { font-size: calc(17px * var(--fs)); }
}

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.card.soft { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 0; gap: 6px; }
a.card:hover { border-color: var(--ink); opacity: 1; }
a.card.soft:hover { border-color: var(--line); opacity: 0.7; }
.card .meta { font-size: calc(13px * var(--fs)); color: var(--muted); }
.card .title { font-size: calc(22px * var(--fs)); font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; }
.card.soft .title { font-size: calc(19px * var(--fs)); font-weight: 600; }
.card .excerpt { font-size: calc(15px * var(--fs)); line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .date { margin-top: auto; padding-top: 10px; font-family: var(--font-en); font-size: calc(13px * var(--fs)); letter-spacing: 0.04em; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 600px) { .card { padding: 22px; } .card .title { font-size: calc(19px * var(--fs)); } }

/* 설교 */
.sermon-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.sermon-main { flex: 1.5 1 520px; display: flex; flex-direction: column; }
.sermon-main .video { border-radius: var(--radius); overflow: hidden; }
.sermon-side { flex: 1 1 320px; display: flex; flex-direction: column; border-top: 1px solid var(--line); counter-reset: s; }
.sermon-side .card.soft { position: relative; padding-left: 44px; }
.sermon-side .card.soft::before { counter-increment: s; content: '0' counter(s); position: absolute; left: 0; top: 22px; font-family: var(--font-en); font-size: calc(13px * var(--fs)); color: var(--muted); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.video .play img { width: 100%; height: 100%; object-fit: cover; }
.video .play span { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.sermon-body { padding: 22px 0 0; display: flex; flex-direction: column; gap: 8px; }
.sermon-body h3 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.3; }
@media (max-width: 600px) { .sermon-grid { gap: 28px; } .sermon-body h3 { font-size: calc(22px * var(--fs)); } .sermon-main { flex-basis: 100%; } }

/* 비전 */
.vision { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 48px 64px; }
.vision > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.vision h2 { margin: 0; font-size: 56px; line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; }
.vision h2 em { display: block; font-style: normal; font-family: var(--font-en); font-weight: 500; font-size: 0.42em; letter-spacing: -0.01em; color: var(--muted); margin-top: 10px; }
.vision p { margin: 0; font-size: calc(17px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.count-big { font-family: var(--font-en); font-size: 120px; font-weight: 500; line-height: 0.9; letter-spacing: -0.06em; }
.count-big small { font-size: 0.36em; color: var(--muted); letter-spacing: -0.02em; }
.squares { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.squares span { aspect-ratio: 1; border-radius: 2px; border: 1px solid var(--line); }
.squares span.on { border: none; }
.plants { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); }
.plants div { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line-soft); }
.plants b { font-family: var(--font-en); font-size: calc(12px * var(--fs)); font-weight: 500; letter-spacing: 0.08em; }
.plants span { font-size: calc(16px * var(--fs)); font-weight: 600; line-height: 1.45; }
@media (max-width: 600px) { .vision h2 { font-size: 36px; } .vision p { font-size: calc(15px * var(--fs)); } .count-big { font-size: 84px; } .squares { gap: 4px; } }

/* 공동체 목록 */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tiles a { padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line-soft); }
.tiles a:hover { opacity: 0.6; }
.tiles b { font-size: calc(19px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.tiles span { font-size: calc(14px * var(--fs)); color: var(--muted); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles a { padding: 18px 12px 18px 0; } .tiles b { font-size: calc(16px * var(--fs)); } }

/* 초대 */
.invite { border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-soft); padding: 64px 56px; display: flex; flex-direction: column; gap: 40px; }
.invite blockquote { margin: 0; display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.invite p { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.5; letter-spacing: -0.035em; }
.invite cite { font-style: normal; font-family: var(--font-en); font-size: calc(14px * var(--fs)); letter-spacing: 0.08em; color: var(--muted); }
@media (max-width: 600px) { .invite { padding: 32px 22px; gap: 28px; } .invite p { font-size: calc(22px * var(--fs)); } }

/* ---------- 하위 페이지 ---------- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line-soft); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { margin: 0; font-size: 72px; line-height: 1.05; font-weight: 800; letter-spacing: -0.055em; }
.page-head p { margin: 0; color: var(--ink-2); font-size: calc(17px * var(--fs)); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tabs a, .tabs button { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; font-size: calc(14px * var(--fs)); font-weight: 500; border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.tabs a:hover, .tabs button:hover { border-color: var(--ink); opacity: 1; }
.tabs [aria-current="page"], .tabs [aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); font-weight: 600; }
.page-body { padding: 64px 0 120px; }
.page-body .wrap > section + section { margin-top: 96px; }
.page-body h2 { margin: 0 0 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
@media (max-width: 600px) { .page-head { padding: 40px 0 28px; } .page-head h1 { font-size: 44px; } .page-body { padding: 36px 0 72px; } .page-body h2 { font-size: calc(24px * var(--fs)); } .page-body .wrap > section + section { margin-top: 64px; } }

.time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.time-card { padding: 22px 0; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.time-card .label { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: calc(14px * var(--fs)); color: var(--muted); }
.time-card .label::before { display: none; }
.time-card .value { font-size: calc(21px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.time-card .note { font-size: calc(14px * var(--fs)); color: var(--muted); }

.table-box { overflow-x: auto; border-top: 1px solid var(--ink); }
table.list { width: 100%; min-width: 520px; border-collapse: collapse; font-size: calc(16px * var(--fs)); }
table.list th { text-align: left; padding: 14px 16px 14px 0; font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--muted); }
table.list td { padding: 16px 16px 16px 0; border-top: 1px solid var(--line-soft); }
table.list td small { color: var(--muted); }

.accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.account { text-align: left; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; font-size: calc(15px * var(--fs)); color: var(--ink); }
.account b { font-size: calc(15px * var(--fs)); }
.account span { font-family: var(--font-en); font-size: calc(17px * var(--fs)); color: var(--ink-2); }
.account:hover { border-color: var(--ink); }

.map-row { display: flex; flex-wrap: wrap; gap: 32px; }
.map-row > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.map-box { flex: 1.4 1 420px !important; min-height: 320px; border-radius: var(--radius); background: var(--surface-2); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.map-box img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="dark"] .map-box img { filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }
.info { display: flex; flex-direction: column; gap: 4px; }
.info b { font-family: var(--font-en); font-size: calc(12px * var(--fs)); font-weight: 500; letter-spacing: 0.12em; color: var(--muted); }
.info span { font-size: calc(18px * var(--fs)); }

/* 목록 */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.search { flex: 1 1 240px; display: flex; gap: 8px; }
input[type="search"], input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: calc(16px * var(--fs)); color: var(--ink); background: var(--surface);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { line-height: 1.7; resize: vertical; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--line-soft); }
.post-list a { display: flex; gap: 18px; align-items: center; padding: 20px 4px; }
.post-list .thumb { width: 112px; height: 63px; border-radius: 6px; object-fit: cover; flex: none; background: var(--surface-2); }
.post-list .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.post-list .t b { font-size: calc(18px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.post-list .t span { font-size: calc(14px * var(--fs)); color: var(--muted); }
.post-list .d { font-family: var(--font-en); font-size: calc(13px * var(--fs)); color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .post-list a { padding: 16px 0; gap: 12px; } .post-list .thumb { width: 80px; height: 45px; } .post-list .d { display: none; } .post-list .t b { font-size: calc(16px * var(--fs)); } }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-en); font-size: calc(14px * var(--fs)); }
.pager button[aria-current="page"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.empty { color: var(--muted); padding: 32px 8px; text-align: center; }

/* 글 보기 */
.article { max-width: 760px; margin: 0 auto; }
.article-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article-head h1 { margin: 0; font-size: 44px; font-weight: 700; line-height: 1.25; letter-spacing: -0.045em; }
.article-head .meta { color: var(--muted); font-size: calc(15px * var(--fs)); }
.article-body { font-size: calc(18px * var(--fs)); line-height: 1.95; color: var(--ink-2); }
.article-body p { margin: 0 0 1.2em; }
.article-body img { border-radius: 12px; display: block; margin: 24px auto; }
.article .video { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.files { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.files a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: calc(15px * var(--fs)); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; flex-wrap: wrap; }
@media (max-width: 600px) { .article-head h1 { font-size: 28px; } .article-body { font-size: calc(17px * var(--fs)); } }

/* ---------- 푸터 ---------- */
/* 주보 표지의 그라데이션(하늘빛 → 청록 → 살구빛)을 그대로 옮김 */
.site-footer { background: linear-gradient(180deg, #DBECED 0%, #CCE4E7 15%, #B1D7DB 30%, #9CCDD2 44%, #9BCBD0 50%, #B2CECE 60%, #C5CFCB 70%, #D6CEC7 80%, #E4CBC3 90%, #ECC8C0 100%); color: #3C4A4D; }
.site-footer a { color: #23302F; }
.colors { display: none; }
.footer-word { font-family: var(--font-en); font-weight: 700; font-size: clamp(44px, 9vw, 128px); line-height: 1; letter-spacing: -0.06em; color: #FFFFFF; padding-top: 64px; }
.footer-word span { color: #FFFFFF; }
.footer-main { padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-main img { height: 34px; width: auto; display: block; margin-bottom: 16px; }
.footer-main p { margin: 0; font-size: calc(14px * var(--fs)); line-height: 1.8; }
.footer-main .footer-name { margin-bottom: 14px; font-size: calc(24px * var(--fs)); line-height: 1.3; color: #FFFFFF; letter-spacing: -0.02em; }
.footer-name span { font-weight: 300; }
.footer-name b { font-weight: 700; }
@media (max-width: 600px) { .footer-main .footer-name { font-size: calc(20px * var(--fs)); } }
.social { display: flex; gap: 10px; align-items: flex-start; }
.social a { width: 48px; height: 48px; border-radius: 999px; border: 0; background: #FFFFFF; box-shadow: 0 2px 10px rgba(35,48,47,0.10); display: flex; align-items: center; justify-content: center; }
.social a:hover { transform: translateY(-1px); opacity: 1; }
.copyright { padding-top: 18px; padding-bottom: 22px; font-family: var(--font-en); font-size: calc(12px * var(--fs)); letter-spacing: 0.06em; color: #4E5A5C; border-top: 1px solid rgba(35,48,47,0.14); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 999px; font-size: calc(14px * var(--fs)); z-index: 80; max-width: 90vw; }
.demo-banner { background: var(--surface-2); color: var(--ink-2); font-size: 12px; text-align: center; padding: 8px 12px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.demo-banner a { text-decoration: underline; text-underline-offset: 3px; }
.demo-banner a[aria-current="true"] { font-weight: 700; text-decoration: none; }

/* ---------- 교회 소개 · 사역 페이지 ---------- */
.page-body .label + h2 { border-top: 0; padding-top: 0; margin-top: 16px; }
.page-body section > .label { padding-top: 20px; border-top: 1px solid var(--line); display: flex; width: 100%; }
.page-body h2 .pt { color: var(--coral-t); }
.h2-sub { font-size: calc(18px * var(--fs)); font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.sub-h { margin: 64px 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.sub-h small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.prose p { margin: 0 0 1em; font-size: calc(17px * var(--fs)); line-height: 1.85; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--ink); font-weight: 600; }
.statement { margin: 0 0 40px; max-width: 900px; font-size: 26px; font-weight: 600; line-height: 1.55; letter-spacing: -0.03em; }
.lead-en { margin: -8px 0 40px; font-family: var(--font-en); font-size: calc(15px * var(--fs)); letter-spacing: 0.02em; color: var(--muted); }
.note, .ministry > p.note { font-size: calc(13px * var(--fs)); color: var(--muted); margin: 16px 0 0; }
.motto { margin: 48px 0 0; font-size: 44px; font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; }
.motto .pt { color: var(--coral-t); }

.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.values li { display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px 24px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.values .n, .steps .n { font-family: var(--font-en); font-size: calc(14px * var(--fs)); color: var(--muted); }
.values h3 { margin: 0; font-size: calc(24px * var(--fs)); font-weight: 700; letter-spacing: -0.035em; }
.values p { margin: 0; font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
@media (max-width: 760px) { .values li { grid-template-columns: 40px minmax(0, 1fr); } .values p { grid-column: 2; } .values h3 { font-size: calc(20px * var(--fs)); } .motto { font-size: 32px; } .statement { font-size: calc(20px * var(--fs)); } }

.words { border-top: 1px solid var(--ink); }
.words > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.words h3 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; display: flex; align-items: center; gap: 12px; }
.words h3 i { width: 12px; height: 12px; border-radius: 2px; background: var(--c); }
.words p { margin: 0; font-size: calc(16px * var(--fs)); line-height: 1.85; color: var(--ink-2); }
.words small { grid-column: 2; font-size: calc(13px * var(--fs)); color: var(--muted); line-height: 1.7; }
@media (max-width: 760px) { .words > div { grid-template-columns: 1fr; } .words small { grid-column: 1; } .words h3 { font-size: calc(24px * var(--fs)); } }

.verse-line { margin: 40px 0 0; padding-left: 20px; border-left: 2px solid var(--ink); max-width: 820px; }
.verse-line p { margin: 0 0 6px; font-size: calc(17px * var(--fs)); line-height: 1.75; color: var(--ink); }
.verse-line cite { font-style: normal; font-size: calc(13px * var(--fs)); color: var(--muted); }
.ministry .verse-line { margin-top: 20px; }
.confession { margin: 0; max-width: 820px; font-size: calc(22px * var(--fs)); font-weight: 500; line-height: 1.85; letter-spacing: -0.025em; }
@media (max-width: 600px) { .confession { font-size: calc(18px * var(--fs)); } }

.logo-row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.logo-row img { width: 260px; height: auto; }
.logo-keys { list-style: none; margin: 0; padding: 0; flex: 1 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.logo-keys li { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.logo-keys b { display: flex; align-items: center; gap: 8px; font-size: calc(17px * var(--fs)); }
.logo-keys i { display: none; }
.logo-keys b::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.logo-keys span { font-size: calc(14px * var(--fs)); color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.split .prose { flex: 1 1 420px; max-width: 760px; }
.split .photo { flex: 0 0 auto; width: 240px; height: auto; border-radius: var(--radius); }
@media (max-width: 600px) { .split .photo { width: 200px; } }

.timeline, .plants-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline > li, .plants-list > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 32px; padding: 32px 0; border-bottom: 1px solid var(--line-soft); }
.era { display: flex; flex-direction: column; gap: 4px; }
.era b { font-size: calc(22px * var(--fs)); font-weight: 700; letter-spacing: -0.03em; font-family: var(--font-en); }
.era span { font-family: var(--font-en); font-size: calc(14px * var(--fs)); color: var(--muted); }
.plants-list h3 { margin: 0 0 12px; font-size: calc(24px * var(--fs)); font-weight: 700; letter-spacing: -0.035em; }
.plants-list h3 small, .ministry h3 small { font-size: calc(14px * var(--fs)); font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
@media (max-width: 760px) { .timeline > li, .plants-list > li { grid-template-columns: 1fr; padding: 24px 0; } .era { flex-direction: row; align-items: baseline; gap: 12px; } }

.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 40px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.person.lead { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.person img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: auto; background: var(--surface-2); }
.person .role { display: block; font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.person h3 { margin: 0 0 16px; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; }
.person h3 small { font-size: calc(16px * var(--fs)); font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.person .more { display: inline-block; margin-top: 20px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.people .person { grid-template-columns: 140px minmax(0, 1fr); gap: 20px 24px; }
.people .person h3 { font-size: calc(24px * var(--fs)); }
.cv { margin: 20px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.cv dt { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.cv dd { margin: 0; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } .person.lead { grid-template-columns: 1fr; } .person.lead img { max-width: 420px; } }
@media (max-width: 600px) { .person, .people .person { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } .person.lead { grid-template-columns: 1fr; } .person h3 { font-size: calc(22px * var(--fs)); } .people .person .prose, .person:not(.lead) .prose { grid-column: 1 / -1; } }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 900px; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.steps p { margin: 0; font-size: calc(17px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.steps b { color: var(--ink); font-weight: 600; }

.defs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 900px; }
.defs li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.defs li i { display: none; }
.defs b { display: flex; align-items: center; gap: 10px; font-size: calc(18px * var(--fs)); font-weight: 700; }
.defs b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--ink)); flex: none; }
.defs.compact b::before { display: none; }
.defs span { font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.defs.compact { margin-top: 12px; }
.defs.compact b { font-size: calc(16px * var(--fs)); }
@media (max-width: 600px) { .defs li { grid-template-columns: 1fr; } }

.ministry { padding: 36px 0; border-top: 1px solid var(--line); max-width: 900px; }
section > .ministry:first-of-type, section > h2 + .ministry { border-top: 1px solid var(--ink); }
.ministry h3 { margin: 0 0 16px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; }
.ministry h4 { margin: 28px 0 10px; font-size: calc(18px * var(--fs)); font-weight: 700; }
.ministry > p { margin: 0 0 1em; font-size: calc(17px * var(--fs)); line-height: 1.85; color: var(--ink-2); }
.ministry .en-p { font-family: var(--font-en); font-size: calc(16px * var(--fs)); color: var(--ink-2); }
.ministry .en-p small { display: block; margin-top: 8px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 18px; }
.meta-row div { display: flex; flex-direction: column; gap: 2px; }
.meta-row dt { font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.meta-row dd { margin: 0; font-size: calc(15px * var(--fs)); font-weight: 500; }
.ministry .meta-row + p, .ministry p + .meta-row { margin-top: 0; }
.flow { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: f; }
.flow li { counter-increment: f; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: calc(14px * var(--fs)); }
.flow li::before { content: counter(f); font-family: var(--font-en); font-size: calc(12px * var(--fs)); color: var(--muted); }
@media (max-width: 600px) { .ministry h3 { font-size: calc(22px * var(--fs)); } .ministry > p { font-size: calc(16px * var(--fs)); } }

.teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.teams > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line-soft); }
.teams h3 { margin: 0 0 12px; font-size: calc(18px * var(--fs)); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.teams h3 i { width: 9px; height: 9px; border-radius: 2px; }
.teams ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: calc(15px * var(--fs)); color: var(--ink-2); }
@media (max-width: 900px) { .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .teams { grid-template-columns: 1fr; } }
.people > .person:only-child { grid-column: 1 / -1; grid-template-columns: 160px minmax(0, 760px); }
@media (max-width: 600px) { .people > .person:only-child { grid-template-columns: 96px minmax(0, 1fr); } }

.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; max-width: 900px; border-top: 1px solid var(--ink); padding-top: 28px; }
.visit > div:last-child { grid-column: 1 / -1; }
@media (max-width: 600px) { .visit { grid-template-columns: 1fr; gap: 22px; } .visit .btn { width: 100%; } }

/* 약도 (worship.html 안에 그린 SVG) — 예전 홈페이지 약도를 그대로 옮겨 그림 */
.map-figure { max-width: 900px; margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: #DDDDDD; }
.church-map { display: block; width: 100%; height: auto; aspect-ratio: 1522 / 723; font-family: var(--font); }
.m-bg { fill: #DDDDDD; }
.m-roads polygon, .m-roads path { fill: #FFFFFF; }
.m-roads polyline { stroke: #FFFFFF; }
.m-dots circle { fill: #9FA0A0; }
.m-label text { fill: #595757; font-size: 33px; }
.m-road-label text { fill: #3E3A39; font-size: 40px; }
.m-road-label path { fill: #595757; }
.m-pin { fill: #E5675A; }
.m-church { fill: #3E3A39; font-size: 40px; font-weight: 600; }
@media (max-width: 600px) { .church-map { aspect-ratio: auto; height: 300px; } .church-map .m-far { display: none; } .visit { border-top: 0; padding-top: 0; } .map-figure { margin-left: -18px; margin-right: -18px; border-radius: 0; } }

/* "예수를 만나, 하늘을 누리다" — 주보 표지처럼 그라데이션 위 흰 손글씨 */
.motto-hand { margin: 0; font-family: var(--serif); font-weight: 600; color: #FFFFFF; letter-spacing: -0.02em; line-height: 1.25; text-shadow: 0 1px 14px rgba(60,90,95,0.16); }
.motto-band { background: linear-gradient(180deg, #DBECED 0%, #B1D7DB 30%, #9CCDD2 48%, #B2CECE 62%, #D6CEC7 82%, #ECC8C0 100%); padding: 96px 0; text-align: center; }
.motto-band .motto-hand { font-size: clamp(34px, 5.6vw, 72px); }
.footer-word .motto-hand { font-size: clamp(30px, 4.4vw, 56px); }
.motto-hand .mch { display: inline-block; font-style: normal; }
.motto-wait .mch { opacity: 0; transform: translateY(18px); }
.motto-go .mch { opacity: 0; transform: translateY(18px); animation: motto-up .8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes motto-up { to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .motto-band { padding: 64px 0; } .motto-band .motto-hand { font-size: 9.6vw; } }
.motto-hand span { display: inline-block; }
@media (max-width: 600px) { .motto-band .motto-hand span { display: block; } }

/* 교회 소개 · 처음 오셨나요 (간결판) */
.plain-list li b::before { display: none; }
.crew { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.crew li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.crew b { font-size: calc(19px * var(--fs)); }
.crew span { font-size: calc(15px * var(--fs)); color: var(--muted); }
.years { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 900px; }
.years li { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.years b { font-family: var(--font-en); font-size: calc(20px * var(--fs)); font-weight: 500; }
.years span { font-size: calc(17px * var(--fs)); color: var(--ink-2); line-height: 1.7; }
.more-box { border-top: 1px solid var(--line); max-width: 900px; }
.more-box:last-of-type { border-bottom: 1px solid var(--line); }
.more-box summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: calc(18px * var(--fs)); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.more-box summary::-webkit-details-marker { display: none; }
.more-box summary::after { content: '+'; font-family: var(--font-en); font-size: calc(24px * var(--fs)); font-weight: 400; color: var(--muted); }
.more-box[open] summary::after { content: '−'; }
.more-body { padding: 0 0 32px; }
.more-body .sub-h:first-child, .more-body > .values:first-child { margin-top: 0; }
.sunday-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); max-width: 900px; }
.sunday-times > div { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 4px; }
.sunday-times > div + div { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.sunday-times span { font-size: calc(14px * var(--fs)); color: var(--muted); font-weight: 600; }
.sunday-times b { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; }
.sunday-times small { font-size: calc(14px * var(--fs)); color: var(--muted); }
.faq { margin: 0; border-top: 1px solid var(--ink); max-width: 900px; }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px 32px; }
.faq dt { font-size: calc(18px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; }
.faq dd { margin: 0; font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
@media (max-width: 760px) { .faq > div { grid-template-columns: 1fr; } .sunday-times b { font-size: 26px; } }
.page-head .invite-line { font-size: calc(22px * var(--fs)); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
@media (max-width: 600px) { .page-head .invite-line { font-size: calc(18px * var(--fs)); } }
.footer-word + .footer-main { padding-top: 40px; }
.site-footer > .footer-main:first-child { padding-top: 64px; }

/* '우리는' 네 줄: 로고의 네 사각형 중 해당 칸만 색을 입힘 */
.vision-words li { grid-template-columns: 84px minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: center; padding: 30px 0; }
.vmark { width: 52px; height: 52px; overflow: visible; }
.vmark rect { fill: none; stroke-width: 22; }
.vmark .off { stroke: #E2E2DD; }
.vmark .on { stroke-width: 26; }
.vision-words li:hover .vmark .on { filter: saturate(1.2); }
@media (max-width: 760px) { .vision-words li { grid-template-columns: 60px minmax(0, 1fr); align-items: start; } .vmark { width: 40px; height: 40px; } }
.vsq { width: 22px; height: 22px; border-radius: 7px; border: 5px solid var(--c); box-sizing: border-box; display: block; }
@media (max-width: 760px) { .vsq { width: 18px; height: 18px; border-width: 4px; border-radius: 6px; margin-top: 6px; } }
.vision-words li { grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.4fr); }
@media (max-width: 760px) { .vision-words li { grid-template-columns: 40px minmax(0, 1fr); } }
.person .spouse { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.person .spouse-note { margin: 8px 0 0; font-size: calc(15px * var(--fs)); line-height: 1.75; color: var(--ink-2); }
.person .spouse b { color: var(--ink); margin-right: 8px; }
.person.lead { grid-template-columns: 380px minmax(0, 1fr); }
@media (max-width: 900px) { .person.lead { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 600px) { .person.lead { grid-template-columns: 1fr; } .person.lead img { max-width: 320px; } }
.confess { margin-top: 56px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.confess .sub-h { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.years + .more-box { margin-top: 8px; border-top: 0; }
.history-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1100px; }
.history-row .years { max-width: none; }
.church-photo { margin: 0; }
.church-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.church-photo figcaption { margin-top: 10px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.history-row + .more-box { max-width: 1100px; margin-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .history-row { grid-template-columns: 1fr; gap: 24px; } .church-photo img { width: 100%; max-width: 400px; max-height: none; } }

/* 명조(마루부리): 모토·말씀·고백 */
.invite p, .verse-line p, .confession, .page-head .invite-line, h2.serif-h { font-family: var(--serif); }
.invite p { font-weight: 600; letter-spacing: -0.03em; }
.verse-line p, .confession { font-weight: 400; letter-spacing: -0.02em; }
.page-head .invite-line { font-weight: 600; letter-spacing: -0.03em; }
h2.serif-h { font-weight: 600; letter-spacing: -0.04em; }
.next .count, .count-big, .account span, .post-list .d, .card .date { font-variant-numeric: tabular-nums; }

.btn.kakao { gap: 8px; }
.btn.kakao svg { width: 20px; height: 20px; flex: none; }
.btn.kakao svg path:first-child { stroke: #3C1E1E; stroke-width: .6; }
.where-note { margin: 14px 0 0; font-size: calc(14px * var(--fs)); color: var(--muted); }
.service-link { margin: -12px 0 28px; }
.service-link a { font-size: calc(15px * var(--fs)); font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.service-link a:hover { text-decoration-color: var(--ink); }

/* 연도별 보기 */
.year-bar { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 14px; margin-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.year-bar::-webkit-scrollbar { display: none; }
.year-bar button { flex: none; font: inherit; font-size: calc(14px * var(--fs)); font-variant-numeric: tabular-nums; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.year-bar button:hover { border-color: var(--ink); }
.year-bar button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.result-note { margin: 0 0 10px; font-size: calc(14px * var(--fs)); color: var(--muted); }
.result-note b { color: var(--ink); }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- 말씀새김 ---------- */
.ms { max-width: 760px; }
.ms-user { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: calc(15px * var(--fs)); color: var(--ink-2); margin-bottom: 14px; }
.ms-user .link-btn { font-size: calc(14px * var(--fs)); color: var(--muted); }
.ms-verse { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px; }
.ms-verse-meta { display: flex; justify-content: space-between; gap: 12px; font-size: calc(13px * var(--fs)); color: var(--muted); margin-bottom: 14px; }
.ms-verse-meta span:first-child { font-weight: 600; color: var(--green-deep); }
.ms-verse-text { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 5vw, 27px); line-height: 1.75; letter-spacing: -0.03em; margin: 0 0 14px; word-break: keep-all; color: var(--ink); }
.ms-verse-text .done { color: var(--green-deep); background: linear-gradient(transparent 62%, rgba(213,229,173,.75) 62%); }
.ms-ref { font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.ms-box { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 12px; }
.ms-box p { margin: 0; }
.ms-box-title { font-size: calc(16px * var(--fs)); font-weight: 700; color: var(--ink); }
.ms-box textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: calc(17px * var(--fs)); line-height: 1.7; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); resize: vertical; min-height: 120px; }
.ms-box textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.ms-progress { display: flex; align-items: center; gap: 12px; }
.ms-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ms-bar i { display: block; height: 100%; width: 0; background: var(--green-deep); border-radius: inherit; transition: width .2s ease; }
.ms-bar.error i { background: var(--coral-deep); }
#ms-pct { font-size: calc(14px * var(--fs)); font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 3em; text-align: right; }
.ms-error { color: var(--coral-deep); font-size: calc(14px * var(--fs)); margin: 0; }
.ms-box .btn { justify-self: start; }
.ms-box .btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-kakao { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: #FEE500; color: rgba(0,0,0,.85); font: inherit; font-size: calc(16px * var(--fs)); font-weight: 600; cursor: pointer; }
.btn-kakao:hover { filter: brightness(.97); }
.ms-finished { justify-items: center; text-align: center; padding: 28px 24px; }
.ms-finished strong { font-size: calc(18px * var(--fs)); }
.ms-tip { margin: 14px 4px 0; font-size: calc(14px * var(--fs)); color: var(--muted); }
.ms-prayer { margin-top: 48px; }
.ms-prayer p { font-family: var(--serif); font-size: calc(19px * var(--fs)); line-height: 1.8; margin: 0; color: var(--ink); word-break: keep-all; }
.ms-cols { display: grid; gap: 40px; margin-top: 52px; }
@media (min-width: 900px) { .ms { max-width: 1040px; } .ms-verse, .ms-box, .ms-tip, .ms-user, .ms-prayer { max-width: 760px; } .ms-cols { grid-template-columns: 1fr 1.4fr; } }
.ms-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.ms-head h2 { font-size: calc(20px * var(--fs)); margin: 0; letter-spacing: -0.03em; }
.ms-head select { font: inherit; font-size: calc(14px * var(--fs)); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.ms-rank, .ms-recent { list-style: none; margin: 0; padding: 0; }
.ms-rank li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: calc(16px * var(--fs)); }
.ms-rank .no { font-variant-numeric: tabular-nums; color: var(--muted); font-size: calc(15px * var(--fs)); }
.ms-rank .no.top { color: var(--ink); font-weight: 700; }
.ms-rank b { font-variant-numeric: tabular-nums; font-weight: 600; }
.ms-rank li.me { background: linear-gradient(90deg, rgba(213,229,173,.45), transparent); }
.ms-recent li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.ms-recent p { margin: 0 0 4px; font-family: var(--serif); font-size: calc(16px * var(--fs)); line-height: 1.7; color: var(--ink); word-break: keep-all; }
.ms-recent .who { font-size: calc(13px * var(--fs)); color: var(--muted); }
.ms-rank .empty, .ms-recent .empty { color: var(--muted); font-size: calc(15px * var(--fs)); display: block; padding: 18px 0; }
.ms-dialog { border: 0; border-radius: 18px; padding: 24px; width: min(420px, calc(100vw - 32px)); box-sizing: border-box; background: var(--surface); color: var(--ink); }
.ms-dialog::backdrop { background: rgba(0,0,0,.35); }
.ms-dialog h3 { margin: 0 0 6px; font-size: calc(19px * var(--fs)); }
.ms-dialog p { margin: 0; }
.ms-field { display: grid; gap: 6px; margin-top: 16px; font-size: calc(14px * var(--fs)); color: var(--ink-2); }
.ms-field input { font: inherit; font-size: calc(17px * var(--fs)); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.ms-dialog .ms-error { margin-top: 10px; }
.ms-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.ms .muted, .ms-dialog .muted { color: var(--muted); }
.ms .small, .ms-dialog .small { font-size: calc(13px * var(--fs)); }
.ms-head h2 { white-space: nowrap; }
.ms-head select { flex: none; width: auto; max-width: 150px; }

/* ---------- 하늘QT ---------- */
.qt { display: grid; gap: 18px; }
@media (min-width: 900px) { .qt { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } .qt-note { grid-column: 1 / -1; } }
.qt-today { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; justify-items: start; }
.qt-kicker { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--sky-deep); }
.qt-ref { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 6vw, 36px); letter-spacing: -0.03em; margin: 2px 0 6px; color: var(--ink); }
.qt-ref b { font-weight: 600; font-variant-numeric: tabular-nums; }
.qt-week { display: grid; gap: 10px; }
.qt-week ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.qt-week li a { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font-size: calc(16px * var(--fs)); }
.qt-week li a::after { content: '↗'; color: var(--muted); font-size: calc(13px * var(--fs)); }
.qt-week li a:hover { background: var(--surface-2); }
.qt-day { color: var(--ink-2); font-size: calc(15px * var(--fs)); }
.qt-day small { color: var(--muted); font-size: calc(13px * var(--fs)); font-variant-numeric: tabular-nums; margin-left: 4px; }
.qt-week li.on a { background: rgba(189,228,248,.45); font-weight: 700; }
.qt-week li.on .qt-day { color: var(--ink); }
.qt-note { margin: 0; font-size: calc(13px * var(--fs)); color: var(--muted); }
.qt-short { display: none; }
/* 홈: 하늘QT와 말씀새김을 좌우로 */
.duo { display: grid; gap: 56px; }
.duo-col { display: flex; flex-direction: column; min-width: 0; }
.duo-col .section-head { margin-bottom: 28px; flex-wrap: nowrap; }
.duo-col .section-title { white-space: nowrap; }
.duo-col .more { white-space: nowrap; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } .duo > .duo-col:only-child, .duo > .duo-col:has(+ [hidden]) { grid-column: 1 / -1; } }
@media (min-width: 900px) and (max-width: 1100px) { .duo-col .section-title { font-size: 44px; } }
.qt-section .qt { display: grid; grid-template-columns: 1fr; gap: 10px; flex: 1; align-content: start; }
.qt-section .qt-today { padding: 14px 18px; border-radius: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.qt-section .qt-sub { display: none; }
.qt-section .qt-ref { font-size: calc(24px * var(--fs)); margin: 0; margin-right: auto; white-space: nowrap; }
.qt-section .btn.small { white-space: nowrap; flex: none; }
.qt-section .qt-week > .qt-kicker, .qt-section .qt-note { display: none; }
.qt-section .qt-week ol { border-top: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.qt-section .qt-week li a { grid-template-columns: 1fr; gap: 2px; padding: 10px 2px; align-content: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; font-size: calc(14px * var(--fs)); background: var(--surface); }
.qt-section .qt-week li a::after { content: none; }
.qt-section .qt-day { font-size: calc(12px * var(--fs)); color: var(--muted); }
.qt-section .qt-day small { display: none; }
.qt-section .qt-ch { display: none; }
.qt-section .qt-short { display: block; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qt-section .qt-week li.on a { background: rgba(189,228,248,.55); border-color: var(--sky-deep); }
.ms-home-card { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.ms-home-card:hover { border-color: var(--ink-2); }
.ms-home-card .qt-kicker { color: var(--green-deep); }
.ms-home-text { font-family: var(--serif); font-weight: 600; font-size: calc(19px * var(--fs)); line-height: 1.65; letter-spacing: -0.02em; word-break: keep-all; }
.ms-home-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ms-home-ref { font-size: calc(14px * var(--fs)); color: var(--ink-2); }
@media (max-width: 760px) { .duo { gap: 48px; } .ms-home-text { font-size: calc(17px * var(--fs)); } }
.ms-qt { margin-top: 48px; }
.ms-qt h2 { margin-bottom: 16px; }
.qt-sub { font-size: calc(13px * var(--fs)); color: var(--muted); margin-top: -6px; }

/* 네이버 지도 버튼: 네이버 초록 + N 로고 */
.btn.naver { background: #03C75A; border-color: #03C75A; color: #fff; }
.btn.naver:hover { color: #fff; opacity: 1; background: #02B350; border-color: #02B350; }
.naver-n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: #fff; flex: none; }
.map-head { display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px 16px; flex-wrap: wrap; }
.map-head h2 { margin-bottom: 0; }
.map-head + .map-figure { margin-top: 20px; }
.map-head .btn { margin-bottom: 5px; }
@media (max-width: 600px) { .map-head .btn { margin-bottom: -1px; } }
.map-head { border-top: 1px solid var(--line); padding-top: 18px; }
.map-head h2 { border-top: 0; padding-top: 0; }
/* TEE */
.tee-steps { list-style: none; counter-reset: tee; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.tee-steps li { counter-increment: tee; display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 10px; font-size: calc(16px * var(--fs)); line-height: 1.7; color: var(--ink-2); }
.tee-steps li::before { content: counter(tee); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--ink); font-size: calc(13px * var(--fs)); font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.tee-steps b { display: block; color: var(--ink); font-weight: 700; }
.tee-courses { display: grid; gap: 0; border-top: 1px solid var(--ink); margin-bottom: 12px; }
.tee-courses > div { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.tee-courses dt { font-size: calc(15px * var(--fs)); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.tee-courses dd { font-size: calc(16px * var(--fs)); font-weight: 400; line-height: 1.7; color: var(--ink-2); }
.tee-goal { display: block; font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--sky-deep); margin-bottom: 2px; }
@media (max-width: 600px) { .tee-courses > div { grid-template-columns: 1fr; gap: 4px; } }

/* 커피브레이크 제천센터 */
.center-badge { display: grid; gap: 4px; margin: 4px 0 18px; padding: 16px 18px; border-radius: 14px; background: #F3EEE6; border: 1px solid #E5DACB; }
.center-badge > b { font-size: calc(15px * var(--fs)); color: #6B4A2B; }
.center-badge span { font-size: calc(15px * var(--fs)); color: var(--ink-2); line-height: 1.6; }
.center-badge span b { color: var(--ink); }
[data-theme="dark"] .center-badge { background: #2A241D; border-color: #3B3228; }
[data-theme="dark"] .center-badge > b { color: #E3C9A6; }
.cb-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cb-list li { position: relative; padding-left: 18px; font-size: calc(16px * var(--fs)); line-height: 1.7; color: var(--ink-2); }
.cb-list li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--peach-deep); }
.cb-list b { display: block; color: var(--ink); }
.spouse a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

.cb-steps { list-style: none; margin: 0 0 16px 7px; padding: 0; display: grid; gap: 12px; border-left: 2px solid #E5DACB; }
.cb-steps li { position: relative; padding-left: 20px; font-size: calc(16px * var(--fs)); line-height: 1.7; color: var(--ink-2); }
.cb-steps li::before { content: ''; position: absolute; left: -10px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg, #fff); border: 2px solid var(--peach-deep); box-sizing: border-box; }
.cb-steps b { display: block; color: var(--ink); }
.ministry .note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.give-box { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.give-box > p { margin: 0 0 14px; color: var(--ink-2); }
.ministry .accounts { margin: 4px 0 16px; }

.plant-group { margin: 36px 0 14px; }
.plant-group h3 { margin: 0 0 4px; font-size: calc(18px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; }
.plant-group p { margin: 0; color: var(--muted); font-size: calc(15px * var(--fs)); }
.partner-churches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.partner-churches li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.partner-churches b { font-size: calc(16px * var(--fs)); color: var(--ink); }
.partner-churches span { font-size: calc(14px * var(--fs)); color: var(--muted); }

.vision-logo { display: block; width: 100%; max-width: 360px; height: auto; margin: 4px 0 20px; }
[data-theme="dark"] .vision-logo { filter: brightness(1.35); }

.plant-photo { display: block; width: 100%; height: auto; border-radius: 12px; margin: 0 0 16px; background: var(--surface-2); }
.vision-map { margin: 24px 0 8px; }
.vision-map img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-soft); }
.missionary-note { margin: 14px 0 0; font-size: calc(15px * var(--fs)); color: var(--ink-2); line-height: 1.6; }
.missionary-note b { color: var(--ink); margin-right: 6px; }
.vision-map figcaption { margin-top: 6px; font-size: calc(13px * var(--fs)); color: var(--muted); }

/* ===== 비전십일만 페이지 ===== */
.vision-logo.big { max-width: 520px; margin: 0 0 24px; }
.v-statement { font-family: var(--serif); font-size: 26px; line-height: 1.6; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink); }
.v-sub { font-size: calc(17px * var(--fs)); color: var(--ink-2); margin: 0 0 28px; }
.v-progress { display: grid; grid-template-columns: auto 1fr; gap: 16px 28px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-soft); }
.v-count { font-family: var(--font-en); font-size: 72px; line-height: 0.9; letter-spacing: -0.06em; font-weight: 500; }
.v-count small { font-size: 0.36em; color: var(--muted); letter-spacing: -0.02em; }
.v-squares { max-width: 420px; }
.v-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.v-stats div { display: flex; flex-direction: column; gap: 2px; }
.v-stats dt { font-size: calc(13px * var(--fs)); color: var(--muted); }
.v-stats dd { margin: 0; font-family: var(--font-en); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.v-why { margin: 32px 0 8px; }
.v-why h2 { margin: 0 0 12px; }
.v-why p { margin: 0 0 12px; color: var(--ink-2); font-size: calc(17px * var(--fs)); line-height: 1.8; }
.v-lead { margin: -4px 0 24px; color: var(--ink-2); }
.v-church { padding: 32px 0; border-top: 1px solid var(--line-soft); }
.v-church:first-of-type { border-top: 1px solid var(--ink); }
.v-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.v-ord { font-family: var(--font-en); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--tone); }
.v-meta { font-size: calc(14px * var(--fs)); color: var(--muted); }
.v-church h3 { margin: 0 0 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; }
.v-church h3 small { font-size: calc(14px * var(--fs)); font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.v-church p { font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.v-minister { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.v-minister img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--tone); }
.v-minister div { display: flex; flex-direction: column; gap: 2px; }
.v-minister b { font-size: calc(16px * var(--fs)); color: var(--ink); }
.v-minister span { font-size: calc(14px * var(--fs)); color: var(--muted); }
.v-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.v-gallery a { flex: 0 0 auto; scroll-snap-align: start; }
.v-gallery img { display: block; height: 120px; width: auto; border-radius: 8px; }
@media (min-width: 761px) { .v-gallery img { height: 150px; } .v-church { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; } .v-church > .v-head, .v-church > h3 { grid-column: 1 / -1; } .v-church > .plant-photo { grid-column: 1; grid-row: 3 / span 3; } .v-church > .v-minister, .v-church > p { grid-column: 2; } .v-church > .v-gallery { grid-column: 1 / -1; margin-top: 12px; } }
.v-missionary { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0 0 20px; padding: 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.v-missionary img { width: 220px; max-width: 100%; height: auto; border-radius: 10px; }
.v-missionary div { display: flex; flex-direction: column; gap: 6px; }
.v-missionary b { font-size: calc(18px * var(--fs)); }
.v-missionary span { font-size: calc(15px * var(--fs)); color: var(--ink-2); line-height: 1.6; }
.v-partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.v-partners li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; }
.v-partners .scene { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; margin-bottom: 10px; }
.v-partners .scene { order: 0; }
.v-partners .face { order: 1; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: -42px 0 6px 14px; box-shadow: 0 0 0 3px var(--surface); position: relative; }
.v-partners b { order: 2; } .v-partners span { order: 3; }
.v-partners b, .v-partners span { padding: 0 14px; }
.v-partners b { font-size: calc(16px * var(--fs)); }
.v-partners b small { font-family: var(--font-en); font-weight: 500; color: var(--muted); margin-left: 4px; }
.v-partners span { font-size: calc(14px * var(--fs)); color: var(--muted); }
.v-north { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.v-north p { margin: 0; color: var(--ink-2); line-height: 1.8; }
#join .accounts { margin-top: 16px; }
.lightbox { border: none; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 80vh; border-radius: 6px; }
.lightbox .lb-cap { color: #ddd; font-size: calc(14px * var(--fs)); margin: 12px 16px 0; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; }
.lightbox .lb-next { right: 12px; top: 50%; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 600px) { .v-statement { font-size: calc(20px * var(--fs)); } .v-count { font-size: 56px; } .v-progress { grid-template-columns: 1fr; } }
.v-church h3 small { display: inline-block; }
.vision-home .vision-logo { max-width: 420px; margin: 4px 0 0; }
.plant-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.plant-cards a { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.plant-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 6px; transition: transform .2s; }
.plant-cards a:hover img { transform: translateY(-2px); }
.plant-cards b { font-family: var(--font-en); font-size: calc(12px * var(--fs)); font-weight: 600; letter-spacing: 0.06em; }
.plant-cards span { font-size: calc(15px * var(--fs)); font-weight: 600; line-height: 1.4; }
@media (max-width: 760px) { .plant-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.squares .nk { border: none; background: #0069B7; color: #fff; display: flex; align-items: center; justify-content: center; font-size: clamp(9px, 1.1vw, 13px); font-weight: 700; letter-spacing: -0.02em; }
.nk-note { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 8px; font-size: calc(14px * var(--fs)); color: var(--ink-2); }
.nk-note i, .nk-note .nk-chip { font-style: normal; text-decoration: none; font-size: calc(11px * var(--fs)); font-weight: 700; color: #fff; background: #0069B7; border-radius: 3px; padding: 3px 6px; }
.slogan-img { display: block; width: 100%; max-width: 360px; height: auto; margin: 4px 0 18px; }
[data-theme="dark"] .slogan-img { filter: invert(1); }
.steps-img { overflow-x: auto; margin: 18px 0 8px; -webkit-overflow-scrolling: touch; }
.steps-img img { display: block; width: 100%; min-width: 560px; height: auto; }
.partner-logo { display: inline-block; margin-top: 18px; }
.partner-logo img { display: block; width: 180px; height: auto; }
[data-theme="dark"] .partner-logo img { filter: brightness(1.6); }
.partner-logo.donor { background: #fff; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line-soft); }
.partner-logo.donor img { width: 234px; max-width: 100%; }
[data-theme="dark"] .partner-logo.donor img { filter: none; }
.dept-photo { display: block; margin: 4px 0 16px; }
.dept-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.v-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.v-video { margin: 0; }
.v-video figcaption { margin-top: 8px; font-size: calc(14px * var(--fs)); color: var(--muted); }

/* ===== 첫 화면 머리: 오늘의 하늘 · 오늘의 낱말 ===== */
.hero .sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 7s ease-in-out; background-size: 160% 160%; animation: sky-drift 28s ease-in-out infinite alternate; }
.hero .sky.on { opacity: 1; }
.hero .sky.first { transition-duration: 1.2s; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .sky[data-sky="dawn"]  { background-image: radial-gradient(120% 90% at 85% 0%, #FFE3D3 0%, transparent 55%), radial-gradient(110% 80% at 10% 10%, #E3EEFF 0%, transparent 60%), linear-gradient(180deg, #FDF3EC 0%, transparent 85%); }
.hero .sky[data-sky="day"]   { background-image: radial-gradient(120% 90% at 85% 0%, #CFE9FF 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #E4F6E6 0%, transparent 60%), linear-gradient(180deg, #EAF5FF 0%, transparent 85%); }
.hero .sky[data-sky="dusk"]  { background-image: radial-gradient(120% 90% at 85% 0%, #FFD2B8 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #F3D9F2 0%, transparent 60%), linear-gradient(180deg, #FFEBDD 0%, transparent 85%); }
.hero .sky[data-sky="night"] { background-image: radial-gradient(120% 90% at 85% 0%, #D5D8F7 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #DCE9F7 0%, transparent 60%), linear-gradient(180deg, #E6E8F8 0%, transparent 85%); }
[data-theme="dark"] .hero .sky[data-sky="dawn"]  { background-image: radial-gradient(120% 90% at 85% 0%, #4A2B22 0%, transparent 55%), radial-gradient(110% 80% at 10% 10%, #1D2A44 0%, transparent 60%); }
[data-theme="dark"] .hero .sky[data-sky="day"]   { background-image: radial-gradient(120% 90% at 85% 0%, #173A5C 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #1B3A2A 0%, transparent 60%); }
[data-theme="dark"] .hero .sky[data-sky="dusk"]  { background-image: radial-gradient(120% 90% at 85% 0%, #5A2E1E 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #3A2148 0%, transparent 60%); }
[data-theme="dark"] .hero .sky[data-sky="night"] { background-image: radial-gradient(120% 90% at 85% 0%, #1C1F4A 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #10263F 0%, transparent 60%); }
@keyframes sky-drift { from { background-position: 0% 0%; } to { background-position: 100% 40%; } }

.display .w { display: inline-block; transition: color .6s ease; opacity: 0; transform: translateY(0.35em); }
.hero.ready .display .w { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), color .6s ease; }
.hero.ready .display .w[data-w="1"] { transition-delay: .12s, .12s, 0s; }
.hero.ready .display .w[data-w="2"] { transition-delay: .24s, .24s, 0s; }
.hero.ready .display .w[data-w="3"] { transition-delay: .36s, .36s, 0s; }
.display .w.today[data-w="0"] { color: var(--sky-t); }
.display .w.today[data-w="1"] { color: var(--peach-t); }
.display .w.today[data-w="2"] { color: var(--coral-t); }
.display .w.today[data-w="3"] { color: var(--green-t); }
.hero-en { margin: 18px 0 0; font-family: var(--font-en); font-size: calc(15px * var(--fs)); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero .giant { z-index: 0; font-size: calc(126vw / var(--n, 7)); bottom: -0.16em; }
.hero[data-word="0"] .giant { color: color-mix(in srgb, var(--sky-t) 13%, transparent); }
.hero[data-word="1"] .giant { color: color-mix(in srgb, var(--peach-t) 14%, transparent); }
.hero[data-word="2"] .giant { color: color-mix(in srgb, var(--coral-t) 13%, transparent); }
.hero[data-word="3"] .giant { color: color-mix(in srgb, var(--green-t) 13%, transparent); }
.hero-test { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 auto; padding: 10px 16px 14px; max-width: var(--wrap, 1200px); font-size: calc(13px * var(--fs)); }
.hero-test b { margin-right: 4px; color: var(--muted); font-weight: 600; }
.hero-test i { width: 1px; height: 16px; background: var(--line); margin: 0 4px; }
.hero-test button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: calc(13px * var(--fs)); cursor: pointer; }
.hero-test button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
@media (max-width: 760px) { .hero .giant { display: block; bottom: auto; top: 50px; left: 16px; font-size: calc(132vw / var(--n, 7)); } .hero .hero-main { padding-top: 96px; } .hero-en { font-size: calc(11px * var(--fs)); letter-spacing: 0.1em; margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .hero .sky { animation: none; } .display .w, .hero.ready .display .w { opacity: 1; transform: none; transition: color .3s; } }
.hero .t-en { display: none; }
.hero[data-lang="en"] .t-ko { display: none; }
.hero[data-lang="en"] .t-en { display: inline; }
.hero[data-lang="en"] .display { font-size: clamp(40px, 8.6vw, 132px); letter-spacing: -0.05em; line-height: 1.04; font-family: var(--font-en); }
.hero[data-lang="en"] .hero-en { text-transform: none; letter-spacing: -0.01em; font-size: calc(20px * var(--fs)); font-weight: 700; color: var(--ink-2); font-family: inherit; }
.hero[data-lang="en"] .giant { font-family: inherit; font-weight: 800; }
@media (max-width: 760px) { .hero[data-lang="en"] .display { font-size: 11.6vw; } .hero[data-lang="en"] .hero-en { font-size: calc(16px * var(--fs)); } }
.reread { display: flex; flex-direction: column; gap: 8px; margin: 0 0 28px; padding: 24px; border-radius: var(--radius-l, 16px); background: var(--surface); border: 1px solid var(--line-soft); color: inherit; text-decoration: none; transition: border-color .2s; }
.reread:hover { border-color: var(--ink); }
.reread[hidden] { display: none; }
.reread b { font-family: var(--serif); font-size: calc(24px * var(--fs)); line-height: 1.35; letter-spacing: -0.03em; }
.reread .meta { font-size: calc(14px * var(--fs)); color: var(--muted); }
.reread .excerpt { font-size: calc(16px * var(--fs)); line-height: 1.75; color: var(--ink-2); }
.reread .go { font-size: calc(14px * var(--fs)); font-weight: 600; margin-top: 4px; }
@media (max-width: 600px) { .reread { padding: 20px; } .reread b { font-size: calc(20px * var(--fs)); } }

/* ---------- 교회 둘러보기 ---------- */
.tour-nav { position: sticky; top: var(--header-h, 64px); z-index: 5; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.tour-nav .wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; }
.tour-nav a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: calc(14px * var(--fs)); white-space: nowrap; background: var(--surface); }
.tour-nav a b { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.tour-nav a:hover { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.tour-nav a:hover b { color: var(--on-primary); }
.tour-nav .off { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: calc(14px * var(--fs)); white-space: nowrap; }
.tour-nav .off b { font-weight: 800; letter-spacing: -0.02em; }
.tour-dir { padding: 40px 0 0; }
.tour-dir-panel { background: #2A2F3A; color: #F3F3EF; border-radius: 20px; padding: 28px 24px 30px; }
.tour-dir-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.tour-dir-head h2 { margin: 0; font-size: calc(20px * var(--fs)); letter-spacing: -0.03em; color: #fff; }
.tour-dir-head p { margin: 0; font-size: calc(13px * var(--fs)); color: rgba(255,255,255,.55); }
.tour-dir-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 22px; }
.tour-dir-col h3 { margin: 0 0 12px; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #6FB2E0; }
.tour-dir-col h3 a { color: inherit; text-decoration: none; border-bottom: 2px solid currentColor; }
.tour-dir-col.annex h3 { color: #6FC79A; font-size: 28px; letter-spacing: -0.03em; }
.tour-dir-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tour-dir-col li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: calc(16px * var(--fs)); }
.tour-dir-col li b { font-weight: 600; }
.tour-dir-col li b a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }
.tour-dir-col li span { font-size: calc(13px * var(--fs)); color: rgba(255,255,255,.6); }
@media (min-width: 760px) { .tour-dir-panel { padding: 36px 40px 40px; } .tour-dir-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; } .tour-dir-col h3 { font-size: 44px; } .tour-dir-col.annex h3 { font-size: 34px; padding-top: 6px; } }
.tour-floor { display: grid; gap: 28px; scroll-margin-top: 54px; }
.tour-side { display: grid; gap: 8px; align-content: start; }
.tour-no { font-size: clamp(96px, 26vw, 200px); font-weight: 800; line-height: .82; letter-spacing: -0.07em; color: var(--ink); }
.tour-no i { font-style: normal; color: var(--sky-deep); }
.tour-side h2 { margin: 10px 0 0; font-size: calc(22px * var(--fs)); letter-spacing: -0.03em; }
.tour-side p { margin: 0; color: var(--ink-2); font-size: calc(16px * var(--fs)); }
.tour-side ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: r; }
.tour-side li { counter-increment: r; border-bottom: 1px solid var(--line-soft); }
.tour-side li a { display: flex; gap: 14px; padding: 12px 2px; color: var(--ink); text-decoration: none; font-size: calc(16px * var(--fs)); font-weight: 600; }
.tour-side li a::before { content: counter(r, decimal-leading-zero); color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.tour-side li a:hover { background: var(--surface-2); }
.tour-rooms { display: grid; gap: 72px; min-width: 0; }
.tour-room { display: grid; gap: 20px; scroll-margin-top: 54px; }
.tour-shots { display: grid; gap: 8px; grid-template-columns: 1fr; }
.tour-ph { display: block; overflow: hidden; border-radius: 16px; background: var(--surface-2); }
.tour-ph img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.tour-ph:hover img { transform: scale(1.03); }
@media (min-width: 600px) { .tour-shots.two { grid-template-columns: 1fr 1fr; } }
.tour-shots.two .tour-ph img { aspect-ratio: 4 / 3; }
.tour-shots.trio .tour-ph:not(.wide) img { aspect-ratio: 4 / 3; }
@media (min-width: 600px) { .tour-shots.trio { grid-template-columns: 1fr 1fr; } .tour-shots.trio .wide { grid-column: 1 / -1; } }
.tour-text { display: grid; gap: 10px; max-width: 620px; }
.tour-idx { font-size: calc(13px * var(--fs)); font-weight: 700; letter-spacing: .12em; color: var(--sky-deep); }
.tour-text h3 { margin: 0; font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.tour-text p { margin: 0; font-size: calc(16.5px * var(--fs)); line-height: 1.8; color: var(--ink-2); word-break: keep-all; }
.tour-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.tour-tags li { font-size: calc(13px * var(--fs)); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.tour-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tour-links a { color: var(--ink); font-weight: 600; font-size: calc(15px * var(--fs)); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.tour-end { margin: 88px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: calc(15px * var(--fs)); }
.tour-end a { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .tour-floor { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
  .tour-side { position: sticky; top: 140px; align-self: start; }
  .tour-no { font-size: 190px; }
  .tour-rooms { gap: 104px; }
  .tour-shots:not(.two):not(.trio) { grid-template-columns: 2fr 1fr; }
  .tour-shots:not(.two) .tour-ph.wide:only-child { grid-column: 1 / -1; }
  .tour-shots:not(.two) .tour-ph.wide:only-child img, .tour-shots.trio .wide img { aspect-ratio: 16 / 9; }
  .tour-shots:not(.two):not(.trio) .tour-ph:not(.wide) img { aspect-ratio: auto; }
  .tour-text { grid-template-columns: 64px minmax(0, 1fr); column-gap: 0; max-width: 720px; }
  .tour-idx { grid-row: 1 / span 9; padding-top: 12px; }
  .tour-text > :not(.tour-idx) { grid-column: 2; }
}
.tour-floor + .tour-floor { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
#f3 .tour-no i, #f3 .tour-idx { color: var(--green-deep); }
@media (min-width: 900px) { .tour-shots:not(.two) .tour-ph.wide.keep:only-child img { aspect-ratio: 3 / 2; } .tour-floor + .tour-floor { margin-top: 128px; padding-top: 88px; } }
.tour-text h3 small { font-size: .45em; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); margin-left: 6px; }
#f2 .tour-no i, #f2 .tour-idx { color: var(--coral-deep); }
#annex .tour-no i, #annex .tour-idx { color: var(--peach-deep); }
.tour-no.word { font-size: clamp(72px, 20vw, 120px); letter-spacing: -0.06em; line-height: .95; }
.tour-top { display: grid; gap: 14px; }
.tour-ext { display: block; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.tour-ext img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 899px) { .tour-ext img { aspect-ratio: 1 / 1; object-position: 50% 70%; } }
@media (min-width: 900px) { .tour-top { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: 20px; align-items: stretch; } .tour-top .tour-dir-grid { grid-template-columns: 1.2fr 1fr; } .tour-no.word { font-size: 120px; } }
@media (min-width: 1180px) { .tour-top .tour-dir-grid { grid-template-columns: 1.25fr 1fr 1fr 1.2fr; gap: 24px; } .tour-top .tour-dir-col h3 { font-size: 38px; } .tour-top .tour-dir-col.annex h3 { font-size: 30px; } .tour-top .tour-dir-col li { font-size: calc(15px * var(--fs)); } }
.confession > span { display: block; text-wrap: balance; word-break: keep-all; }
/* 홈 환영 카드의 사진 */
.invite-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 72%; border-radius: 16px; margin: -12px 0; }
@media (min-width: 900px) {
  .invite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 56px; row-gap: 40px; align-items: center; padding-right: 40px; }
  .invite > * { grid-column: 1; }
  .invite > .invite-photo { grid-column: 2; grid-row: 1 / span 3; margin: -24px 0; height: calc(100% + 48px); max-height: 460px; aspect-ratio: auto; object-position: 50% 62%; border-radius: 20px; }
  .invite p { font-size: 30px; }
}
/* 홈: 다시 읽는 목회편지 */
.letter-grid { display: grid; gap: 28px; }
.letter-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.letter-head p { margin: 0; color: var(--ink-2); font-size: calc(16px * var(--fs)); line-height: 1.7; max-width: 300px; word-break: keep-all; }
.letter-head .more { margin-top: 4px; }
.letter-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 40px 34px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l, 20px); color: var(--ink); text-decoration: none; }
.letter-card::before { content: '“'; position: absolute; top: 6px; right: 28px; font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--peach); }
.letter-card:hover { border-color: var(--ink); }
.letter-kicker { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--peach-deep); letter-spacing: -0.01em; }
.letter-card b { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 5.4vw, 38px); line-height: 1.3; letter-spacing: -0.035em; word-break: keep-all; padding-right: 56px; }
.letter-excerpt { font-family: var(--serif); font-size: calc(17.5px * var(--fs)); line-height: 1.95; color: var(--ink-2); word-break: keep-all; }
.letter-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: calc(15px * var(--fs)); color: var(--muted); }
.letter-foot .go { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .letter-grid { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
@media (max-width: 600px) { .letter-card { padding: 28px 22px 24px; } .letter-card::before { font-size: 84px; right: 16px; } .letter-excerpt { font-size: calc(16px * var(--fs)); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; } }
.article-body .sign-img { display: inline-block; width: 5.51em; height: 2.1em; margin: 0 .25em; vertical-align: -1.05em; background: var(--ink); -webkit-mask: url(../img/sign-leetaekyu.png) center / contain no-repeat; mask: url(../img/sign-leetaekyu.png) center / contain no-repeat; }
.article-body .sign-img > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.people.stack { grid-template-columns: 1fr; }
.people.stack > .person { grid-template-columns: 160px minmax(0, 760px); }
.person-link { color: inherit; text-decoration: none; }
.person-link:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.person-link .more { font-weight: 600; font-size: calc(15px * var(--fs)); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
@media (max-width: 600px) { .people.stack > .person { grid-template-columns: 96px minmax(0, 1fr); } }
/* 개인정보 처리방침 */
.copyright { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.copyright .privacy-link { font-weight: 700; color: #23302F; text-decoration: underline; text-underline-offset: 3px; }
.ms-privacy { margin: 4px 0 0; font-size: calc(13px * var(--fs)); line-height: 1.7; color: var(--muted); word-break: keep-all; }
.ms-privacy a { color: var(--ink-2); font-weight: 600; }
.policy { max-width: 860px; }
.policy-lead { font-size: calc(17px * var(--fs)); line-height: 1.85; color: var(--ink-2); margin: 0 0 32px; word-break: keep-all; }
.policy-glance { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px 28px; margin-bottom: 32px; }
.policy-glance h2 { margin: 0 0 14px; font-size: calc(18px * var(--fs)); }
.policy-glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.policy-glance li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; font-size: calc(15.5px * var(--fs)); line-height: 1.7; }
.policy-glance li b { color: var(--sky-deep); }
.policy-toc { margin-bottom: 48px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-soft); }
.policy-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: calc(15px * var(--fs)); line-height: 2; }
.policy-toc a { color: var(--ink-2); text-decoration: none; }
.policy-toc a:hover { color: var(--ink); text-decoration: underline; }
.policy section { margin-bottom: 44px;  }
.policy h2 { margin: 0 0 14px; font-size: calc(22px * var(--fs)); letter-spacing: -0.03em; }
.policy h3 { margin: 22px 0 10px; font-size: calc(17px * var(--fs)); }
.policy p, .policy li { font-size: calc(16px * var(--fs)); line-height: 1.85; color: var(--ink-2); word-break: keep-all; }
.policy p { margin: 0 0 12px; }
.policy ul { margin: 0 0 12px; padding-left: 1.2em; }
.policy b { color: var(--ink); }
.policy-note { font-size: calc(14px * var(--fs)) !important; color: var(--muted) !important; }
.policy-table { overflow-x: auto; margin: 14px 0 16px; -webkit-overflow-scrolling: touch; }
.policy-table table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: calc(14.5px * var(--fs)); line-height: 1.65; }
.policy-table th, .policy-table td { border-top: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; word-break: keep-all; }
.policy-table thead th { border-top: 1px solid var(--ink); font-size: calc(13px * var(--fs)); color: var(--muted); font-weight: 600; }
.policy-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.policy-table tbody th small { font-weight: 400; color: var(--muted); }
.policy-contact { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.policy-contact > div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 18px 20px; }
.policy-contact span { display: block; font-size: calc(13px * var(--fs)); color: var(--muted); margin-bottom: 4px; }
.policy-contact b { font-size: calc(18px * var(--fs)); }
.policy-contact p { margin: 8px 0 0; font-size: calc(15px * var(--fs)); }
.policy-agencies { list-style: none; padding: 0 !important; }
.policy-agencies li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.policy-date { margin-top: 20px !important; font-weight: 600; color: var(--ink) !important; }
@media (max-width: 600px) { .policy-toc ol { columns: 1; } .policy-glance { padding: 22px 20px; } .policy-glance li { grid-template-columns: 1fr; gap: 2px; } }
.page-body .policy > section + section { margin-top: 0; }
.page-body .policy h2 { font-size: calc(22px * var(--fs)); padding-top: 22px; margin-bottom: 14px; }
.page-body .policy .policy-glance h2 { border-top: 0; padding-top: 0; font-size: calc(18px * var(--fs)); }
@media (max-width: 600px) {
  .policy-table table, .policy-table tbody, .policy-table tr, .policy-table th, .policy-table td { display: block; min-width: 0; width: auto; }
  .policy-table thead { display: none; }
  .policy-table tr { border-top: 1px solid var(--ink); padding: 10px 0 6px; }
  .policy-table tbody th { border-top: 0; padding: 4px 0 6px; font-size: calc(16px * var(--fs)); white-space: normal; }
  .policy-table td { border-top: 0; padding: 4px 0; }
  .policy-table td::before { content: attr(data-label); display: block; font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--muted); }
}

/* 포커싱리더스 */
.fl-lead { display: block; margin: 4px 0 18px; }
.fl-lead img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 565; object-fit: cover; border-radius: 12px; }
.fl-quote { margin: 0 0 18px; padding-left: 14px; border-left: 3px solid var(--peach-deep); font-size: calc(19px * var(--fs)); font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); }
.cb-steps em { font-style: normal; font-weight: 600; color: var(--ink); }
.fl-gallery { margin: 4px 0 8px; }

/* 메뉴로 '페이지#부분'에 들어올 때 제목이 머리말에 가리지 않게 */
html { scroll-padding-top: 92px; }
@media (max-width: 1040px) { html { scroll-padding-top: 78px; } }
.mw-logo img { width: 140px; }
[data-theme="dark"] .mw-logo img { filter: none; background: #fff; padding: 10px; border-radius: 8px; }
.cb-logo img { width: 220px; }
[data-theme="dark"] .cb-logo img { filter: none; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* 목회편지에게 묻기 */
.ask-form { display: flex; gap: 10px; align-items: stretch; max-width: 760px; }
.ask-form textarea { flex: 1; min-height: 56px; font-size: calc(17px * var(--fs)); border-radius: 14px; padding: 14px 16px; }
.ask-form .btn { height: auto; min-height: 56px; border-radius: 14px; }
.ask-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; max-width: 760px; }
.ask-chip { border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: calc(14px * var(--fs)); cursor: pointer; }
.ask-chip:hover { border-color: var(--ink); color: var(--ink); }
.ask-note { max-width: 760px; margin: 16px 0 0; font-size: calc(14px * var(--fs)); line-height: 1.7; color: var(--muted); }
.ask-results { max-width: 760px; margin-top: 32px; display: grid; gap: 12px; }
.ask-head { font-size: calc(20px * var(--fs)); margin: 0 0 4px; }
.ask-card { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.ask-card:hover { border-color: var(--ink); opacity: 1; }
.ask-card b { font-size: calc(18px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.ask-date { font-size: calc(13px * var(--fs)); color: var(--muted); }
.ask-ex { font-family: 'MaruBuri', serif; font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.ask-more { font-size: calc(13px * var(--fs)); color: var(--peach-t); font-weight: 600; }
@media (max-width: 600px) { .ask-form { flex-direction: column; } .ask-form .btn { min-height: 52px; } }

/* 함께 읽으면 좋은 편지 */
.related { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: calc(18px * var(--fs)); margin: 0 0 12px; }
.related-list { display: grid; gap: 10px; }
.related-list a { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--surface); }
.related-list a:hover { border-color: var(--ink); opacity: 1; }
.related-list b { font-weight: 600; }
.related-list span { font-size: calc(13px * var(--fs)); color: var(--muted); white-space: nowrap; }
.related-ask { margin: 14px 0 0; font-size: calc(14px * var(--fs)); }

.ask-answer { padding: 22px 22px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ask-answer p { margin: 0 0 14px; font-family: 'MaruBuri', serif; font-size: calc(17px * var(--fs)); line-height: 1.9; color: var(--ink); }
.ask-badge { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--ink-2); }
.ask-answer .ask-caution { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-family: inherit; font-size: calc(13px * var(--fs)); line-height: 1.7; color: var(--muted); }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; margin: 0 1px; border-radius: 9px; background: var(--peach-deep); color: #fff; font-family: 'Pretendard', sans-serif; font-size: calc(11px * var(--fs)); font-weight: 700; vertical-align: 3px; text-decoration: none; }
.src-no { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 9px; background: var(--peach-deep); color: #fff; font-style: normal; font-size: calc(11px * var(--fs)); font-weight: 700; }
.ask-card:target { border-color: var(--peach-deep); box-shadow: 0 0 0 2px var(--peach-deep) inset; }
.ask-card { scroll-margin-top: 90px; }
/* 설교로 답하다: 설교·편지 구분 */
.ask-kind { font-style: normal; font-weight: 600; color: var(--ink-2); margin-right: 8px; }
.ask-kind::after { content: ''; display: inline-block; width: 1px; height: 10px; margin-left: 8px; background: var(--line-soft); vertical-align: middle; }
.ask-meta { font-size: calc(13px * var(--fs)); color: var(--muted); margin-top: -2px; }
.ask-card.is-sermon:hover { border-color: var(--line-soft); }
.ask-card.is-sermon:target { border-color: var(--peach-deep); }

/* ============================================================
   세련됨 다듬기 (2026-11-18)
   ============================================================ */
/* 첫 화면: 이번 주 설교 한 줄 */
.hero-copy { min-width: 0; }
.latest { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); max-width: 100%; transition: border-color .2s, transform .2s; }
.latest:hover { opacity: 1; border-color: var(--primary); transform: translateY(-1px); }
.latest-play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); position: relative; }
.latest-play::after { content: ''; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--on-primary); }
.latest-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.latest-k { font-family: var(--font-en); font-size: calc(11px * var(--fs)); letter-spacing: 0.14em; color: var(--muted); }
.latest-txt b { font-size: calc(16px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--head); }
.latest-sub { font-size: calc(13px * var(--fs)); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 명조 인용 띠 */
.quote { margin: 0; padding: 72px 0 8px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px 48px; }
.quote .label { padding-top: 14px; }
.quote blockquote { margin: 0; grid-column: 2; }
.quote p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.42; letter-spacing: -0.035em; color: var(--head); text-wrap: balance; }
.quote p::before { content: '“'; color: var(--coral); margin-right: .06em; }
.quote p::after { content: '”'; color: var(--coral); margin-left: .04em; }
.quote figcaption { grid-column: 2; font-size: calc(14px * var(--fs)); color: var(--muted); }
.quote figcaption a { color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.quote figcaption a:hover { border-color: var(--ink); opacity: 1; }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; padding-top: 48px; gap: 20px; } .quote blockquote, .quote figcaption { grid-column: 1; } .quote .label { padding-top: 0; } }

/* 스크롤할 때 살짝 떠오르기 (js/motion.js) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease var(--rd, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* 사진 위에 손을 올리면 천천히 확대 */
.plant-cards .ph { display: block; overflow: hidden; border-radius: 10px; margin-bottom: 6px; }
.plant-cards .ph img { display: block; margin: 0; border-radius: 0; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.plant-cards a:hover .ph img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .plant-cards a:hover .ph img, .latest:hover { transform: none; }
}

/* 찬양 (2026-11-18) */
.praise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: center; border-top: 1px solid var(--ink); padding-top: 56px; }
.praise-copy { display: flex; flex-direction: column; gap: 28px; }
.praise-count { display: flex; align-items: flex-end; gap: 14px; }
.praise-count > span { font-family: var(--font-en); font-size: 96px; font-weight: 500; line-height: 0.85; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; color: var(--head); }
.praise-count small { font-size: calc(14px * var(--fs)); line-height: 1.5; color: var(--muted); padding-bottom: 4px; }
.praise-team { display: flex; flex-direction: column; gap: 10px; }
.praise-team > b { font-size: calc(17px * var(--fs)); letter-spacing: -0.02em; color: var(--head); }
.praise-team p { margin: 0; font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.praise-inst { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.praise-inst li { font-size: calc(13px * var(--fs)); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.praise-video { border-radius: var(--radius); overflow: hidden; }
.praise-video .play img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); filter: saturate(.9); }
.praise-video .play:hover img { transform: scale(1.035); }
.praise-cap { position: absolute; left: 18px; bottom: 16px; font-style: normal; font-size: calc(13px * var(--fs)); color: #fff; background: rgba(20,24,30,.55); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.praise-page .praise-hint { font-size: calc(14px * var(--fs)); color: var(--muted); margin: 14px 0 0; }
.praise-page .praise-hint a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.praise-about { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px 48px; max-width: 1000px; }
@media (max-width: 860px) {
  .praise-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .praise-count > span { font-size: 72px; }
  .praise-about { grid-template-columns: 1fr; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .praise-video .play:hover img { transform: none; } }

/* 사역 페이지: 대표 사역 카드 (2026-11-18) */
.featured-min { margin: 0 0 112px; }
.featured-min .featured-title { border-top: 0; padding-top: 0; margin: 14px 0 32px; font-size: 44px; line-height: 1.15; font-weight: 700; letter-spacing: -0.045em; }
.featured-title .pt { color: var(--coral); }
.fm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fm-grid a { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 56px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, transform .25s; }
.fm-grid a:hover { opacity: 1; border-color: var(--primary); transform: translateY(-3px); }
.fm-grid i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.fm-grid em { font-style: normal; font-family: var(--font-en); font-size: calc(11px * var(--fs)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.fm-grid b { font-size: calc(20px * var(--fs)); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; color: var(--head); }
.fm-grid span { font-size: calc(14.5px * var(--fs)); line-height: 1.7; color: var(--ink-2); }
.fm-grid u { position: absolute; left: 22px; bottom: 20px; text-decoration: none; font-size: calc(15px * var(--fs)); color: var(--muted); transition: transform .25s, color .2s; }
.fm-grid a:hover u { transform: translateX(4px); color: var(--primary); }
@media (max-width: 1100px) { .fm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .featured-min { margin-bottom: 72px; }
  .featured-min .featured-title { font-size: 32px; }
  .fm-grid { grid-template-columns: 1fr; gap: 8px; }
  .fm-grid a { padding: 20px 48px 20px 20px; }
  .fm-grid u { left: auto; right: 20px; bottom: auto; top: 50%; margin-top: -11px; }
}
@media (prefers-reduced-motion: reduce) { .fm-grid a:hover, .fm-grid a:hover u { transform: none; } }

/* 페이지 안 구역 제목: 구역과 사역의 위계를 분명히 (2026-11-18)
   구역 시작 = 진한 선 + 영어 꼬리표 + 큰 제목, 구역 안의 사역 = 옅은 선 + 작은 제목 */
.page-body .wrap > section + section { margin-top: 160px; }
.page-body section > .label { padding-top: 22px; border-top: 2px solid var(--head); }
.page-body section > .label + h2 { margin: 20px 0 48px; font-size: 56px; line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; color: var(--head); }
.page-body section > .label + h2 .h2-sub { display: block; margin-top: 10px; font-size: calc(18px * var(--fs)); font-weight: 500; letter-spacing: -0.01em; }
section > .label + h2 + .ministry, section > h2 + .ministry { border-top: 0; padding-top: 8px; }
.ministry { border-top-color: var(--line-soft); }
.ministry h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }
.ministry h3::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); margin-right: 12px; align-self: center; flex: none; }
@media (max-width: 600px) {
  .page-body .wrap > section + section { margin-top: 104px; }
  .page-body section > .label + h2 { font-size: 38px; margin-bottom: 32px; }
}
.page-body section > .ministry:first-of-type { border-top-color: var(--line-soft); }
.page-body section > h2 + .ministry, .page-body section > h2 + .ministry:first-of-type { border-top: 0; padding-top: 8px; }

/* 사역 사이 간격과 협력 기관 로고 자리 (2026-11-18)
   로고가 다음 사역 제목 위에 붙어 보이지 않도록, 각 사역 제목 오른쪽에 둡니다. */
.ministry { padding: 72px 0 64px; }
.page-body section > h2 + .ministry, .page-body section > h2 + .ministry:first-of-type { padding-top: 16px; }
.min-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 0 24px; }
.min-head h3 { margin: 0; }
.min-head .partner-logo { margin: 0; flex: none; }
.min-head .partner-logo img { width: auto; height: 52px; max-width: none; }
.min-head .cb-logo img { height: 48px; }
.min-head .mw-logo img { height: 64px; }
.min-head .partner-logo.donor { padding: 8px 12px; }
.min-head .partner-logo.donor img { height: 30px; width: auto; max-width: none; }
@media (max-width: 700px) {
  .ministry { padding: 56px 0 48px; }
  .min-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .min-head .partner-logo img { height: 40px; }
  .min-head .mw-logo img { height: 52px; }
}

/* 첫 화면 공동체 사진 줄 (2026-11-18) */
.life-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; margin: 0 0 40px; aspect-ratio: 4.2 / 1; }
.life-row img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); display: block; }
.life-row img:first-child { object-position: 50% 35%; }
.life-row img:nth-child(2) { object-position: 50% 50%; }
@media (max-width: 700px) {
  .life-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; aspect-ratio: auto; }
  .life-row img { height: auto; aspect-ratio: 4 / 3; }
  .life-row img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
.dept-duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin: 4px 0 16px; }
.dept-duo .dept-photo { margin: 0; }
.dept-duo .dept-photo img { height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 600px) { .dept-duo { grid-template-columns: 1fr; } .dept-duo .dept-photo img { height: auto; } }
.dept-duo.trio { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.dept-duo.trio .dept-photo:first-child { grid-row: 1 / 3; }
.dept-duo.trio .dept-photo img { width: 100%; height: 100%; }
@media (max-width: 600px) { .dept-duo.trio { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .dept-duo.trio .dept-photo:first-child { grid-row: auto; grid-column: 1 / -1; } .dept-duo.trio .dept-photo img { aspect-ratio: 4 / 3; } }
.dept-duo.trio .dept-photo:first-child img { object-position: 42% 50%; }

/* 목회편지: 담임목사 흑백 사진 (2026-11-18) */
.letter-by { display: inline-flex; align-items: center; gap: 10px; }
.letter-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.letter-author { display: flex; align-items: center; gap: 16px; margin: 40px 0 0; padding: 24px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.letter-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.letter-author b { display: block; font-size: calc(17px * var(--fs)); color: var(--head); letter-spacing: -0.02em; }
.letter-author span { font-size: calc(14px * var(--fs)); color: var(--muted); }

/* 비전십일만 첫머리 사진 (2026-11-18) */
.v-hero { margin: 28px 0 32px; }
.v-hero img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: 40% 50%; border-radius: var(--radius-l); }
@media (max-width: 700px) { .v-hero img { aspect-ratio: 4 / 3; object-position: 35% 50%; } }
.v-hero figcaption { margin-top: 10px; font-size: calc(13px * var(--fs)); color: var(--muted); }


/* 구역을 여는 띠 사진 (2026-11-18) */
.sec-band { margin: -24px 0 40px; }
.sec-band img { display: block; width: 100%; height: auto; aspect-ratio: 3.6 / 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 600px) { .sec-band { margin: -12px 0 28px; } .sec-band img { aspect-ratio: 2.2 / 1; object-position: 60% 50%; } }
.page-body section > h2 + .sec-band + .ministry { border-top: 0; padding-top: 8px; }
.praise-photo { margin: 0 0 18px; }
.praise-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.praise-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .praise-photo { gap: 6px; } }
.praise-photo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .praise-photo { grid-template-columns: 1fr 1fr; } .praise-photo img:first-child { grid-column: 1 / -1; } }
.era-photo { margin: 0 0 20px; max-width: 560px; }
.era-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); filter: saturate(.85); }
.era-photo figcaption { margin-top: 8px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.pair-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 16px; }
.pair-photo .dept-photo { margin: 0; }
.pair-photo .dept-photo img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 600px) { .pair-photo { grid-template-columns: 1fr; gap: 8px; } }
.sec-band.tall img { aspect-ratio: 2.4 / 1; object-position: 50% 30%; }
@media (max-width: 600px) { .sec-band.tall img { aspect-ratio: 4 / 3; object-position: 45% 40%; } }
.era-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; max-width: 760px; }
.era-strip a { display: block; overflow: hidden; border-radius: 8px; }
.era-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.era-strip a:first-child:nth-last-child(4) img { object-position: 50% 20%; }
.era-strip a:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .era-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-band.hist { margin: 40px 0 8px; }
.sec-band.hist img { aspect-ratio: 3.6 / 1; filter: saturate(.9); }
@media (max-width: 600px) { .sec-band.hist img { aspect-ratio: 16 / 9; object-position: 75% 50%; } }
.mission-map { margin: 0 0 28px; }
.mission-map img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.donor-plaque { max-width: 460px; }
.defs b::before { width: 12px; height: 12px; }
.book-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; max-width: 640px; }
.book-row figure { margin: 0; }
.book-row img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 18px rgba(30,40,50,.12); }
.book-row figcaption { margin-top: 8px; font-size: calc(14px * var(--fs)); font-weight: 600; text-align: center; color: var(--ink-2); }
@media (max-width: 600px) { .book-row { gap: 10px; } .book-row figcaption { font-size: calc(13px * var(--fs)); } }
.min-head .tee-logo img { height: 64px; }

/* 처음 오셨나요: 밝고 따뜻하게 (2026-11-18) */
.wl-hero { position: relative; margin: 0; min-height: min(72vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.wl-hero picture, .wl-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(247,247,245,.82) 72%, var(--bg) 100%); }
.wl-hero-text { position: relative; z-index: 1; padding-bottom: 44px; width: 100%; }
.wl-hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.12; letter-spacing: -0.04em; color: var(--head); margin: 14px 0 14px; }
.wl-hero .invite-line { font-family: var(--serif); font-size: calc(21px * var(--fs)); color: var(--ink); margin: 0; }
.wl-body { padding-top: 8px; }
.wl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.wl-body .wrap > section + section { margin-top: 120px; }
.wl-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; border-radius: 18px; color: var(--head); text-decoration: none; transition: transform .2s; }
.wl-card:hover { transform: translateY(-2px); opacity: 1; }
.wl-card svg { margin-bottom: 8px; }
.wl-card span { font-size: calc(14px * var(--fs)); font-weight: 600; opacity: .8; }
.wl-card b { font-size: calc(19px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; }
.wl-card.sky { background: #E5F3FB; } .wl-card.sky svg { color: var(--sky-deep); }
.wl-card.coral { background: #FCE9E0; } .wl-card.coral svg { color: var(--coral-deep); }
.wl-card.green { background: #EEF4DE; } .wl-card.green svg { color: var(--green-deep); }
.wl-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 860px; }
.wl-steps li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--surface); border-radius: 16px; padding: 12px; border: 1px solid var(--line-soft); scroll-margin-top: 90px; }
.wl-steps img { width: 132px; height: 100px; object-fit: cover; display: block; border-radius: 10px; }
.wl-steps li > div { padding: 4px 8px 4px 0; }
.wl-steps i { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff; font-style: normal; font-size: calc(12px * var(--fs)); font-weight: 700; margin-right: 8px; vertical-align: 2px; }
.wl-steps b { font-size: calc(18px * var(--fs)); letter-spacing: -0.02em; color: var(--head); }
.wl-steps p { margin: 6px 0 0; font-size: calc(15px * var(--fs)); line-height: 1.7; color: var(--ink-2); }
.wl-steps-wrap .note { margin-top: 18px; }
.wl-faq { max-width: 860px; display: grid; gap: 10px; }
.wl-faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 0 20px; }
.wl-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-size: calc(17px * var(--fs)); font-weight: 600; color: var(--head); position: relative; }
.wl-faq summary::-webkit-details-marker { display: none; }
.wl-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: calc(22px * var(--fs)); font-weight: 400; color: var(--muted); }
.wl-faq details[open] summary::after { content: '−'; }
.wl-faq details p { margin: 0 0 18px; font-size: calc(16px * var(--fs)); line-height: 1.8; color: var(--ink-2); }
.wl-faq details p a { color: var(--head); text-decoration: underline; text-underline-offset: 3px; }
.wl-faq details p a.faq-go { display: block; width: fit-content; margin-top: 12px; font-size: calc(15px * var(--fs)); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; line-height: 1.5; }
.wl-faq details p a.faq-go + a.faq-go { margin-top: 8px; }
.wl-where { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: center; max-width: 900px; }
.wl-where > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; border-radius: 16px; }
.wl-addr { font-size: calc(22px * var(--fs)); font-weight: 600; color: var(--head); margin: 0 0 22px; letter-spacing: -0.02em; }
[data-theme="dark"] .wl-hero::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(13,13,14,.82) 72%, var(--bg) 100%); }
[data-theme="dark"] .wl-card.sky, [data-theme="dark"] .wl-card.coral, [data-theme="dark"] .wl-card.green { background: var(--surface); }
@media (max-width: 760px) {
  .wl-hero { min-height: 460px; }
  .wl-hero .invite-line { font-size: calc(17px * var(--fs)); }
  .wl-cards { grid-template-columns: 1fr; gap: 10px; }
  .wl-body .wrap > section + section { margin-top: 88px; }
  .wl-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px 18px; }
  .wl-card svg { margin: 0; }
  .wl-card b { flex-basis: 100%; padding-left: 40px; font-size: calc(17px * var(--fs)); margin-top: -4px; }
  .wl-steps li { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; }
  .wl-steps img { width: 76px; height: 76px; }
  .wl-steps b { font-size: calc(16.5px * var(--fs)); }
  .wl-steps p { font-size: calc(14.5px * var(--fs)); }
  .wl-where { grid-template-columns: 1fr; gap: 18px; }
  .wl-where > img { aspect-ratio: auto; height: 150px; }
}
/* 처음 오셨나요: 제목은 가는 명조로 부드럽게 */
.welcome-page h1, .welcome-page .page-body section > .label + h2, .welcome-page .wl-where h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; }
.welcome-page .page-body section > .label + h2, .welcome-page .wl-where h2 { font-size: 46px; }
.welcome-page h2 .pt { font-family: var(--font); }
@media (max-width: 760px) { .welcome-page .page-body section > .label + h2, .welcome-page .wl-where h2 { font-size: 32px; } }
.welcome-page .wl-hero h1 { font-family: var(--font); font-weight: 700; letter-spacing: -0.045em; }

/* 교회 소개: 예수를 만나, 하늘을 누리다 — 움직이는 하늘 (2026-11-18) */
@property --sky-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.sky-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 84px); margin: 8px 0 72px;
  background: conic-gradient(from var(--sky-a) at 70% 30%, #EAF5FC, #F9EFE4, #EEF5E1, #E3F0FA, #EAF5FC);
  animation: sky-turn 24s linear infinite; }
@keyframes sky-turn { to { --sky-a: 360deg; } }
.sky-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 120%, rgba(255,255,255,.9), transparent 60%); }
.sky-orbs { position: absolute; inset: 0; z-index: -2; filter: blur(48px); }
.sky-orbs i { position: absolute; border-radius: 50%; opacity: .75; animation: orb 18s ease-in-out infinite alternate; }
.sky-orbs i:nth-child(1) { width: 46%; aspect-ratio: 1; left: -8%; top: -20%; background: #BDE4F8; }
.sky-orbs i:nth-child(2) { width: 38%; aspect-ratio: 1; right: -6%; top: 10%; background: #F9CF9D; animation-duration: 22s; animation-delay: -6s; }
.sky-orbs i:nth-child(3) { width: 34%; aspect-ratio: 1; left: 34%; bottom: -30%; background: #D5E5AD; animation-duration: 26s; animation-delay: -12s; }
@keyframes orb { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%, 6%) scale(1.12); } 100% { transform: translate(-6%, 10%) scale(.94); } }
.page-body .sky-stage .sky-title { margin: 0; padding: 0; border: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 8.4vw, 104px); line-height: 1.14; letter-spacing: -0.045em; color: var(--head); text-wrap: balance; }
.sky-title .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.35em); animation: word-in 1.1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.25s + var(--i) * .22s); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.sky-grad { background: linear-gradient(100deg, #2B6F99 0%, #5BA7D6 35%, #9A5B12 70%, #2B6F99 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-in 1.1s cubic-bezier(.2,.7,.2,1) forwards, sky-shine 9s ease-in-out 1.8s infinite; }
.sky-grad .pt { -webkit-text-fill-color: initial; color: var(--coral-deep); }
@keyframes sky-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.sky-lead { margin: 28px 0 0; max-width: 34em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.85; color: var(--ink-2); opacity: 0; animation: word-in 1.2s ease 1.4s forwards; }
@supports (animation-timeline: view()) {
  .sky-stage { animation: sky-turn 24s linear infinite, stage-in linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% cover 40%; }
  @keyframes stage-in { from { transform: scale(.94); border-radius: 48px; } to { transform: none; border-radius: 28px; } }
}
[data-theme="dark"] .sky-stage { background: conic-gradient(from var(--sky-a) at 70% 30%, #13202A, #241B14, #18201A, #142130, #13202A); }
[data-theme="dark"] .sky-stage::after { background: radial-gradient(120% 80% at 50% 120%, rgba(0,0,0,.5), transparent 60%); }
[data-theme="dark"] .sky-orbs i { opacity: .35; }
@media (prefers-reduced-motion: reduce) {
  .sky-stage, .sky-orbs i, .sky-grad { animation: none !important; }
  .sky-title .w, .sky-lead { animation: none !important; opacity: 1; filter: none; transform: none; }
}
@media (max-width: 600px) { .sky-stage { border-radius: 22px; margin-bottom: 56px; } .sky-lead br { display: none; } .page-body .sky-stage .sky-title { font-size: 44px; } }

/* 공동체 고백: 스크롤하면 한 줄씩 밝아지는 고백 (2026-11-18) */
.cf-stage { margin-top: 72px; padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); border: 0; border-radius: 28px; background: linear-gradient(160deg, #F4F9FC 0%, #FBF6EF 55%, #F5F8EE 100%); position: relative; overflow: clip; }
.cf-stage::before { content: '“'; position: absolute; right: 5%; top: 18px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(120px, 16vw, 220px); line-height: .8; color: rgba(43,111,153,.08); pointer-events: none; }
.cf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.cf-stage .sub-h { margin: 0; font-size: 15px; letter-spacing: .02em; color: var(--sky-deep); }
.cf-hint { font-size: calc(13px * var(--fs)); color: var(--muted); }
.cf-body { display: grid; grid-template-columns: 3px minmax(0, 1fr); gap: 28px; }
.cf-rail { position: relative; border-radius: 3px; background: rgba(0,0,0,.06); overflow: hidden; }
.cf-rail i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(1); background: linear-gradient(180deg, #5BA7D6, #E39A63, #8FB54A); border-radius: 3px; }
.cf-lines { max-width: 900px; font-size: clamp(20px, 2.4vw, 30px) !important; line-height: 1.6 !important; }
.cf-l { display: block; text-wrap: pretty; padding: 10px 0; color: var(--head); transition: opacity .6s, filter .6s, transform .6s; }
.cf-who { font-weight: 600; }
.cf-k { display: inline-block; vertical-align: .35em; margin-right: 12px; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font); font-size: calc(12px * var(--fs)); font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.cf-end { margin-top: 14px; padding-top: 22px; border-top: 1px dashed rgba(0,0,0,.12); font-weight: 600; background: linear-gradient(100deg, #2B6F99, #9A5B12); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports (animation-timeline: view()) {
  .cf-l { animation: cf-light linear both; animation-timeline: view(block 0% 18%); animation-range: entry 0% entry 100%; }
  @keyframes cf-light { from { opacity: .14; filter: blur(3px); transform: translateY(14px); } to { opacity: 1; filter: none; transform: none; } }
  .cf-rail i { animation: cf-fill linear both; animation-timeline: view(block 0% 18%); animation-range: entry 0% contain 100%; }
  @keyframes cf-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@supports not (animation-timeline: view()) {
  .cf-l { opacity: .18; filter: blur(2px); transform: translateY(12px); }
  .cf-l.lit { opacity: 1; filter: none; transform: none; }
}
[data-theme="dark"] .cf-stage { background: linear-gradient(160deg, #141D24, #1E1913 55%, #161C14); }
[data-theme="dark"] .cf-k { background: transparent; }
@media (prefers-reduced-motion: reduce) { .cf-l, .cf-rail i { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; } }
@media (max-width: 600px) { .cf-hint { display: none; } .cf-body { gap: 16px; } .cf-k { display: block; width: max-content; margin: 0 0 6px; vertical-align: 0; } .cf-stage { border-radius: 22px; } }
.nw { white-space: nowrap; }

/* 한글 / 영어 보기 단추 */
.i18n-wait body { opacity: 0; }
.lang-switch { position: relative; margin-right: 8px; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); cursor: pointer; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--surface); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 148px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.14); display: grid; }
.lang-menu[hidden] { display: none; }
.lang-menu button { border: 0; background: transparent; font: inherit; font-size: calc(15px * var(--fs)); text-align: left; padding: 10px 12px; border-radius: 9px; color: var(--ink); cursor: pointer; }
.lang-menu button:hover { background: var(--bg); }
.lang-menu button[aria-checked="true"] { font-weight: 700; color: var(--primary); }
html[lang="en"] .sky-title, html[lang="en"] .welcome-page .page-body section > .label + h2 { letter-spacing: -0.02em; }
html[lang="en"] .wl-hero h1 { letter-spacing: -0.03em; }

/* 공동체 고백: 문장에 마우스를 올리면 뜻이 떠오름 (2026-11-18) */
.cf-tip { margin-left: 10px; font-size: calc(12.5px * var(--fs)); font-weight: 400; color: var(--muted); }
.cf-hover .confession > span { padding: 5px 0; }
.cf-p { position: relative; cursor: default; border-radius: 6px; outline: 0; transition: color .3s, opacity .3s;
  background: linear-gradient(var(--c), var(--c)) 0 100% / 0% 2px no-repeat; transition: background-size .45s cubic-bezier(.2,.7,.2,1), color .3s, opacity .3s; }
.cf-p::after { content: attr(data-m); position: absolute; left: 0; bottom: calc(100% + 2px); z-index: 2; white-space: nowrap; pointer-events: none;
  padding: 6px 12px; border-radius: 999px; background: var(--c); color: #fff; font-family: var(--font); font-size: calc(13px * var(--fs)); font-weight: 700; letter-spacing: 0; line-height: 1.3;
  box-shadow: 0 8px 22px rgba(0,0,0,.14); opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 0 100%; filter: blur(4px);
  transition: opacity .35s, transform .45s cubic-bezier(.2,1.3,.3,1), filter .35s; }
.cf-p[data-s]:not([data-s=""])::after { content: attr(data-m) "  ·  " attr(data-s); }
.cf-p:hover, .cf-p:focus { color: var(--c); background-size: 100% 2px; }
.cf-p:hover::after, .cf-p:focus::after { opacity: 1; transform: none; filter: none; }
.cf-hover .confession:has(.cf-p:hover) .cf-p:not(:hover), .cf-hover .confession:has(.cf-p:focus) .cf-p:not(:focus):not(:hover) { opacity: .35; }

@media (prefers-reduced-motion: reduce) { .cf-p, .cf-p::after { transition: none; } }
@media (max-width: 700px) {
  .cf-hover .confession > span { position: relative; }
  .cf-p { position: static; }
  .cf-p::after { max-width: 100%; white-space: normal; bottom: 100%; }
  .cf-tip { display: block; margin: 4px 0 0; }
}

/* 공동체 고백: 뜻풀이와 맞물리는 마지막 문장 강조 */
.cf-e { position: relative; top: 0; border-radius: 6px; background: linear-gradient(var(--c), var(--c)) 0 100% / 0% 2px no-repeat; transition: color .35s, top .45s cubic-bezier(.2,.7,.2,1), background-size .5s cubic-bezier(.2,.7,.2,1), opacity .3s, text-shadow .35s; }
.cf-hover .confession:has(.cf-p[data-g="n"]:is(:hover, :focus)) .cf-e[data-e="n"],
.cf-hover .confession:has(.cf-p[data-g="x"]:is(:hover, :focus)) .cf-e[data-e="x"] { color: var(--c); top: -5px; background-size: 100% 2px; text-shadow: 0 6px 18px color-mix(in srgb, var(--c) 28%, transparent); }
.cf-hover .confession:has(.cf-p[data-g="n"]:is(:hover, :focus)) .cf-e[data-e="x"],
.cf-hover .confession:has(.cf-p[data-g="x"]:is(:hover, :focus)) .cf-e[data-e="n"] { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .cf-e { transition: none; } }

/* 영어 보기: 메뉴 글자가 길어 한 줄에 들어가도록 */
html:not([lang="ko"]) .nav-link, html:not([lang="ko"]) .header-actions .btn { white-space: nowrap; }
html:not([lang="ko"]) .nav-link { padding: 10px 10px; gap: 6px; font-size: 14.5px; }
@media (max-width: 1320px) { html:not([lang="ko"]) .nav-link small { display: none; } }
html[lang="ru"] .nav-link small, html[lang="mn"] .nav-link small, html[lang="vi"] .nav-link small { display: none; }
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3, html[lang="mn"] h1, html[lang="mn"] h2, html[lang="mn"] h3 { overflow-wrap: break-word; hyphens: auto; }
html[lang="zh-Hans"] body { font-family: "Pretendard Variable", Pretendard, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
html[lang="ja"] body { font-family: "Pretendard Variable", Pretendard, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
html[lang="zh-Hans"] body, html[lang="ja"] body { word-break: normal; line-break: strict; }

/* 설교로 답하다: 머리말 옆 흑백 사진 */
.page-head .wrap.ask-head { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px 56px; align-items: end; }
.ask-head > * { grid-column: 1; }
.ask-head > .chip { justify-self: start; }
.ask-head .ask-figs { grid-column: 2; grid-row: 1 / span 3; align-self: center; position: relative; padding: 34px 0 6px 28px; border-left: 1px solid var(--line); }
.ask-q { position: absolute; left: 20px; top: -44px; font-family: var(--serif); font-size: 150px; line-height: 1; color: var(--peach); pointer-events: none; }
.ask-figs dl { position: relative; margin: 0; display: grid; gap: 22px; }
.ask-figs dt { font-size: clamp(40px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--head); font-variant-numeric: tabular-nums; }
.ask-figs dt small { font-size: calc(16px * var(--fs)); font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.ask-figs dd { margin: 6px 0 0; font-size: calc(15px * var(--fs)); color: var(--ink-2); }
@media (max-width: 760px) {
  .page-head .wrap.ask-head { grid-template-columns: minmax(0, 1fr); }
  .ask-head .ask-figs { grid-column: 1; grid-row: auto; order: 9; border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; margin-top: 6px; }
  .ask-q { display: none; }
  .ask-figs dl { grid-template-columns: 1fr 1fr; gap: 14px; } .ask-figs dt { font-size: 34px; } .ask-figs dd { font-size: calc(13.5px * var(--fs)); }
}
@media (min-width: 761px) and (max-width: 1000px) { .page-head .wrap.ask-head { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 32px; } }
.page-head .ask-trial { display: block; margin-top: 6px; font-size: calc(14px * var(--fs)); color: var(--muted); }

/* 예배 안내: 외국인 성도를 위한 설교문 안내 */
.lang-note { margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2, inherit); font-size: calc(15.5px * var(--fs)); line-height: 1.7; }
.lang-note b { display: block; margin-bottom: 2px; font-size: calc(15px * var(--fs)); }
/* 번역 화면: 긴 단추와 QT 주간 칸이 화면 밖으로 넘치지 않게 */
html:not([lang="ko"]) .btn { white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; text-align: center; max-width: 100%; }
html:not([lang="ko"]) .btn.small { min-height: 0; }
html:not([lang="ko"]) .header-actions .btn { white-space: nowrap; min-height: 0; }
html:not([lang="ko"]) .more { white-space: normal; }
html:not([lang="ko"]) .qt-section .qt-short { white-space: normal; overflow-wrap: anywhere; font-size: calc(11.5px * var(--fs)); line-height: 1.25; }
html:not([lang="ko"]) .qt-section .qt-week li a { min-width: 0; }
/* 크메르어: 글자가 위아래로 쌓이므로 줄 간격을 넉넉히, 자간은 0 */
@font-face { font-family: "Noto Sans Khmer"; src: url("../fonts/noto-khmer/NotoSansKhmer-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
html[lang="km"] body { font-family: "Pretendard Variable", Pretendard, "Noto Sans Khmer", "Khmer OS Battambang", "Khmer OS", "Leelawadee UI", "Khmer Sangam MN", sans-serif; line-height: 1.9; }
html[lang="km"] :is(h1, h2, h3, h4, .btn, .nav-link, b, strong, dt) { letter-spacing: 0 !important; }
html[lang="km"] :is(h1, h2, h3):not(.hero *) { line-height: 1.5 !important; overflow-wrap: anywhere; }
html[lang="km"] :is(h1, h2, h3, h4, p, button, input, .chip, .btn, summary, small, b):not(.hero h1, .hero-en) { font-family: "Pretendard Variable", Pretendard, "Noto Sans Khmer", "Khmer OS Battambang", "Leelawadee UI", "Khmer Sangam MN", sans-serif !important; }
html[lang="km"] .page-head h1, html[lang="km"] .wl-hero h1 { font-size: clamp(30px, 7.2vw, 56px); }
html[lang="km"] .nav-link small { display: none; }

/* ───── 예배 안내: 예배 시계 ───── */
@property --wc-a { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.wc { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 24px 64px; align-items: start; margin-top: 8px; }
.wc-side { display: grid; justify-items: stretch; padding-top: 14px; }
.wl { grid-column: 1 / -1; position: relative; height: 62px; margin: 6px 8px 10px; }
.wl-bar { position: absolute; left: 0; right: 0; top: 24px; height: 16px; overflow: hidden; border-radius: 9px;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.2,.7,.2,1); }
.wl-bar svg { display: block; }
.wl.ready .wl-bar { clip-path: inset(0 0 0 0); }
.wl-marks { position: absolute; inset: 0; }
.wc-m { position: absolute; left: var(--x); top: 32px; width: 11px; height: 11px; margin: -5.5px; border-radius: 52% 46% 55% 44%; background: var(--c); border: 2.5px solid #FDFBF4; box-shadow: 0 1px 2px rgba(40,40,60,.25); transform: scale(0); transition: transform .4s cubic-bezier(.3,1.5,.5,1) .7s, opacity .25s; }
.wl.ready .wc-m { transform: scale(1); }
.wl.ready .wc-m.hot { transform: scale(1.5); transition-delay: 0s; }
.wc-t { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.wc-t.hot { opacity: 1; }
.wc[data-hot] .wc-m:not(.hot) { opacity: .25; transition-delay: 0s; }
.wl-now { position: absolute; left: var(--x, 0%); top: 18px; width: 28px; height: 28px; margin-left: -14px; opacity: 0; transition: left 1.2s cubic-bezier(.2,.7,.2,1), opacity .4s .8s; }
.wl.ready .wl-now { opacity: 1; }
.wl-sun { display: block; width: 28px; height: 28px; filter: drop-shadow(0 1px 1.5px rgba(80,60,0,.3)); }
.wl-now b { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .2s; }
.wc[data-hot] .wl-now b { opacity: 0; }
.wl-hours { position: absolute; left: 0; right: 0; top: 48px; display: flex; justify-content: space-between; font-size: calc(11px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; }
.wc-k { display: inline-flex; align-items: center; gap: 7px; font-size: calc(11px * var(--fs)); font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.wc-now { font-size: clamp(44px, 17cqw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--head); font-variant-numeric: tabular-nums; }
.wc-next { display: grid; justify-items: center; gap: 3px; text-align: center; padding: 16px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: min(100%, 300px); }
.wc-next b { font-size: calc(18px * var(--fs)); }
.wc-next > span { font-size: calc(14px * var(--fs)); color: var(--muted); }
.wc-next .wc-count { font-size: 26px; font-weight: 700; color: var(--head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.wc-next .wc-count small { font-size: calc(13px * var(--fs)); font-weight: 500; color: var(--muted); margin: 0 7px 0 2px; }
.wc-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-deep) 60%, transparent); animation: wc-pulse 2s infinite; }
.wc-next.live .wc-pulse { background: var(--coral-deep); animation-duration: 1s; }
@keyframes wc-pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.wc .time-grid { grid-template-columns: 1fr; gap: 0; }
.wc .time-card { position: relative; padding: 20px 18px 20px 26px; border-bottom: 1px solid var(--line-soft); border-radius: 14px; cursor: default; outline: 0; transition: background .25s, transform .25s, opacity .25s; }
.wc .time-card::before { content: ''; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--c); transform-origin: top; transition: transform .3s; }
.wc .time-card .value { font-size: clamp(21px, 2.3vw, 28px); font-weight: 700; color: var(--head); }
.wc .time-card.hot { background: color-mix(in srgb, var(--c) 9%, var(--surface)); transform: translateX(6px); border-bottom-color: transparent; }
.wc .time-card.hot::before { transform: scaleY(1.25); }
.wc[data-hot] .time-card:not(.hot) { opacity: .45; }

.wk { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wk li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 4px 14px; border-radius: 14px; border: 1px solid var(--line-soft); min-height: 92px; }
.wk li b { font-size: calc(13px * var(--fs)); color: var(--muted); font-weight: 600; }
.wk li span { font-size: calc(13.5px * var(--fs)); font-weight: 700; font-variant-numeric: tabular-nums; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.wk li em { color: var(--line); font-style: normal; }
.wk li.has { background: var(--surface); border-color: var(--line); }
.wk li.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wk li.on b { color: var(--head); }

/* 하늘빛 머리말: 제천의 지금 시각에 따라 달라집니다 */
body[data-sky] .page-head.green { background: linear-gradient(115deg, color-mix(in srgb, var(--s1) 30%, var(--bg)), color-mix(in srgb, var(--s2) 30%, var(--bg)) 60%, var(--bg)); transition: background 1s; }
body[data-sky="dawn"] { --s1: #c9c4ee; --s2: #f9cf9d; }
body[data-sky="day"] { --s1: #bde4f8; --s2: #d5e5ad; }
body[data-sky="sunset"] { --s1: #f9cf9d; --s2: #f5ae8e; }
body[data-sky="night"] { --s1: #9aa6d6; --s2: #6d7fb5; }

/* 다음공동체 카드 */
.ng-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ng-card { position: relative; padding: 20px 20px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ng-card::before { content: ''; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, transparent); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ng-card:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 14px 30px rgba(0,0,0,.07); }
.ng-card:hover::before { transform: scale(2.3); }
.ng-card h3 { position: relative; margin: 0 0 12px; display: flex; align-items: baseline; gap: 8px; font-size: calc(21px * var(--fs)); }
.ng-card h3 small { font-size: calc(13px * var(--fs)); font-weight: 500; color: var(--c); }
.ng-card dl { position: relative; margin: 0; display: grid; gap: 4px; font-size: calc(14.5px * var(--fs)); color: var(--ink-2); }
.ng-card dd { margin: 0; }
.ng-card .place dd { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 11%, var(--surface)); color: var(--c); font-weight: 600; font-size: calc(13px * var(--fs)); }

/* 계좌번호 복사 표시 */
.account { position: relative; }
.account.copied { border-color: var(--green-deep); }
.account.copied::after { content: '✓'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green-deep); color: #fff; font-size: calc(14px * var(--fs)); animation: wc-pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes wc-pop { from { transform: translateY(-50%) scale(0); } }

/* 스크롤에 맞춰 떠오르기 */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wc .time-card, .ng-card, .wk li, #accounts .account { animation: wc-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes wc-rise { from { opacity: 0; translate: 0 26px; } }
  }
}
@media (max-width: 860px) {
  .wc { grid-template-columns: 1fr; gap: 12px; }
  .wk { gap: 4px; } .wk li { padding: 10px 0 12px; min-height: 80px; border-radius: 11px; } .wk li b { font-size: calc(12px * var(--fs)); } .wk li span { padding: 0; font-size: calc(11.5px * var(--fs)); background: none; white-space: nowrap; letter-spacing: -0.02em; }
  .wc .time-card.hot { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .wl-bar, .wl-now, .wc-m, .wc-t { transition: none !important; } .wc-pulse { animation: none; } }

/* ───── 설교: 이번 주 말씀 · 성경 책장 · 시리즈 ───── */
.sv-latest { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 28px 48px; align-items: center; margin-bottom: 8px; }
.sv-latest[hidden] { display: none; }
.sv-video .video { border-radius: 16px; overflow: hidden; }
.sv-k { font-size: calc(11px * var(--fs)); font-weight: 700; letter-spacing: .16em; color: var(--green-deep); }
.sv-text h2 { margin: 10px 0 12px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -0.03em; border: 0; padding: 0; text-wrap: balance; }
.sv-sub { margin: 0; font-family: var(--serif); font-size: calc(17px * var(--fs)); color: var(--ink-2); }
.sv-date { margin: 6px 0 0; font-size: calc(14px * var(--fs)); color: var(--muted); }
.sv-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.bk-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: end; margin-top: 22px; }
.bk-label { font-size: calc(12px * var(--fs)); font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-bottom: 14px; }
.bk-shelf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 3px; row-gap: 14px; padding: 0 6px 0; border-bottom: 3px solid var(--line); }
.bk { --h: var(--sky-deep); --bgc: color-mix(in srgb, var(--h) calc(var(--k) * 78% + 8%), var(--surface));
  position: relative; flex: none; width: 27px; height: calc(74px + var(--k) * 46px); padding: 8px 0 6px; border: 0; border-radius: 4px 4px 1px 1px; cursor: pointer;
  background: var(--bgc); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: space-between; font: inherit;
  transform-origin: bottom; transition: transform .25s cubic-bezier(.3,1.4,.5,1), box-shadow .25s; }
#bk-ot .bk { --h: var(--peach-deep); }
.bk b { writing-mode: vertical-rl; text-orientation: upright; font-size: calc(13px * var(--fs)); font-weight: 700; letter-spacing: .04em; line-height: 1; }
.bk i { font-style: normal; font-size: calc(9.5px * var(--fs)); font-variant-numeric: tabular-nums; opacity: .75; }
.bk[style*="--k:0.6"], .bk[style*="--k:0.7"], .bk[style*="--k:0.8"], .bk[style*="--k:0.9"], .bk[style*="--k:1"] { color: #fff; }
.bk:hover, .bk:focus-visible { transform: translateY(-9px); box-shadow: 0 10px 18px rgba(0,0,0,.12); outline: 0; }
.bk.on { transform: translateY(-14px); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.bk.none { background: transparent; box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--muted); cursor: default; height: 66px; }
.bk.none:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line-soft); }

.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* 11/30 시리즈 안내: 마우스를 올리면 칩 아래 작은 상자, 누르면 목록 위 같은 안내 */
#series { position: relative; }
.sr-lead { margin: 0 0 14px; font-size: calc(14.5px * var(--fs)); color: var(--ink-2); }
.sr-tip { position: absolute; z-index: 5; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.12); pointer-events: none; font-size: calc(14.5px * var(--fs)); line-height: 1.7; color: var(--ink); }
.sr-tip[hidden] { display: none; }
.sr-tip p, .bk-desc p { margin: 0 0 6px; }
.sr-tip p.g, .bk-desc p.g { color: var(--ink-2); }
.sr-tip small, .bk-desc small { display: block; color: var(--muted); font-size: calc(13px * var(--fs)); font-variant-numeric: tabular-nums; }
.sr-tip em { display: block; margin-top: 6px; font-style: normal; font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--head); }
.bk-desc { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: calc(15px * var(--fs)); line-height: 1.75; color: var(--ink); }
.bk-desc[hidden] { display: none; }
.sr-chip { display: grid; gap: 2px; text-align: left; padding: 12px 18px 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; border-left: 4px solid var(--c); transition: transform .2s, border-color .2s, background .2s; }
.sr-chip[style*="--n:0"] { --c: var(--coral-deep); } .sr-chip[style*="--n:1"] { --c: var(--sky-deep); } .sr-chip[style*="--n:2"] { --c: var(--peach-deep); } .sr-chip[style*="--n:3"] { --c: var(--green-deep); }
.sr-chip b { font-size: calc(15.5px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
.sr-chip span { font-size: calc(12.5px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; }
.sr-chip:hover { transform: translateY(-2px); border-color: var(--c); }
.sr-chip.on { background: color-mix(in srgb, var(--c) 10%, var(--surface)); border-color: var(--c); }

.bk-panel { margin: 26px 0 0; padding: 22px 24px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); animation: bk-open .35s cubic-bezier(.2,.7,.2,1); scroll-margin: 110px 0 40px; }
@keyframes bk-open { from { opacity: 0; transform: translateY(-10px); } }
.bk-panel-head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.bk-panel h3 { margin: 0; font-size: calc(22px * var(--fs)); }
.bk-panel h3 small { font-size: calc(14px * var(--fs)); font-weight: 500; color: var(--muted); margin-left: 6px; }
.bk-only { font-size: calc(14px * var(--fs)); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.bk-list { list-style: none; margin: 0 0 16px; padding: 0; }
.bk-list li { border-top: 1px solid var(--line-soft); }
.bk-list li > * { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto 22px; gap: 14px; align-items: baseline; width: 100%; padding: 13px 4px; background: none; border: 0; font: inherit; color: inherit; text-align: left; }
.bk-list button { cursor: pointer; border-radius: 8px; transition: background .2s; }
.bk-list button:hover { background: var(--surface-2); }
.bk-list .p { font-family: var(--serif); font-size: calc(14px * var(--fs)); color: var(--muted); }
.bk-list .t b { font-weight: 600; font-size: calc(16px * var(--fs)); letter-spacing: -0.02em; }
.bk-list .t small { display: block; font-size: calc(12.5px * var(--fs)); color: var(--muted); margin-top: 2px; }
.bk-list .d { font-size: calc(13px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-list .v { font-size: calc(11px * var(--fs)); color: var(--coral-deep); }
.bk-list div .t b { font-weight: 500; color: var(--ink-2); }
.bk-list .empty { padding: 18px 4px; color: var(--muted); }

.sv-ask { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; margin-top: 56px; padding: 20px 24px; border-radius: 16px; background: var(--surface-2); color: var(--ink); }
.sv-ask span { color: var(--ink-2); } .sv-ask b { font-weight: 700; }
.sv-ask:hover b { text-decoration: underline; text-underline-offset: 4px; }

.yt-dialog { width: min(960px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 16px; background: #111; color: #fff; overflow: visible; }
.yt-dialog::backdrop { background: rgba(10, 14, 20, .72); backdrop-filter: blur(4px); }
.yt-frame { aspect-ratio: 16 / 9; border-radius: 16px 16px 0 0; overflow: hidden; background: #000; }
.yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-cap { margin: 0; padding: 12px 18px 14px; font-size: calc(15px * var(--fs)); }
.yt-close { position: absolute; right: 0; top: -44px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: calc(22px * var(--fs)); line-height: 1; cursor: pointer; }

@media (max-width: 860px) {
  .sv-latest { grid-template-columns: 1fr; gap: 18px; }
  .bk-row { grid-template-columns: 1fr; gap: 6px; } .bk-label { padding: 0; }
  .bk { width: 25px; } .bk-shelf { padding: 0 2px; gap: 2.5px; row-gap: 12px; }
  .bk-panel { padding: 18px 14px 18px; margin-inline: -4px; }
  .bk-list li > * { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 10px; }
  .bk-list .p { grid-column: 1; grid-row: 1; font-size: calc(13px * var(--fs)); } .bk-list .t { grid-column: 1; grid-row: 2; } .bk-list .d { grid-column: 1; grid-row: 3; } .bk-list .v { grid-column: 2; grid-row: 1 / 4; align-self: center; }
}
@media (min-width: 861px) { .bk-shelf { flex-wrap: nowrap; } .bk { flex: 1 1 0; min-width: 0; max-width: 30px; } }

/* ───── 하늘누림 앨범 ───── */
.al-pick { position: relative; display: inline-block; margin-top: 6px; }
.al-pick-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 20px; border-radius: 16px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.al-pick-btn small { font-size: calc(13px * var(--fs)); color: var(--muted); }
.al-pick-btn b { font-size: calc(21px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; color: var(--head); }
.al-pick-btn i { font-style: normal; font-size: calc(14px * var(--fs)); color: var(--muted); transition: transform .2s; }
.al-pick-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.al-opts { position: absolute; z-index: 5; left: 0; top: calc(100% + 8px); min-width: 260px; margin: 0; padding: 8px; list-style: none; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.14); animation: bk-open .2s; }
.al-opts[hidden] { display: none; }
.al-opts button { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; width: 100%; min-height: 50px; padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.al-opts button b { font-size: calc(18px * var(--fs)); font-weight: 600; }
.al-opts button span { font-size: calc(13px * var(--fs)); color: var(--muted); white-space: nowrap; }
.al-opts button:hover, .al-opts button.on { background: var(--surface-2); }
.al-desc { margin: 16px 0 0; font-size: calc(16px * var(--fs)); color: var(--ink-2); }
.al-scroll { overflow-x: auto; margin: 8px -4px 0; padding: 22px 4px 10px; }
.al-line { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; min-width: 860px; }
.al-line::before { content: ''; position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line); }
.al-line li { position: relative; display: grid; justify-items: center; gap: 6px; flex: none; width: 64px; }
.al-dot { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--peach-deep); color: #fff; font: inherit; cursor: pointer; display: grid; place-items: center; transition: transform .25s cubic-bezier(.3,1.5,.5,1), box-shadow .2s; }
.al-dot b { font-size: calc(16px * var(--fs)); font-weight: 700; font-variant-numeric: tabular-nums; }
.al-dot:hover, .al-dot:focus-visible { transform: scale(1.1); outline: 0; }
.al-dot.on { background: var(--ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--ink); }
.al-line small { font-size: calc(12.5px * var(--fs)); color: var(--muted); }
.al-none { width: 64px; height: 64px; display: grid; place-items: center; }
.al-none b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1.5px dashed var(--line); font-size: calc(12px * var(--fs)); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.al-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px 14px; }
.al-list button { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.al-list img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface-2); transition: transform .25s; }
.al-list button:hover img { transform: scale(1.03); }
.al-list span { font-size: calc(14px * var(--fs)); line-height: 1.45; }
.st-year { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.st-year h3 { margin: 8px 0 0; font-size: calc(22px * var(--fs)); font-variant-numeric: tabular-nums; color: var(--peach-deep); }
.st-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 28px; }
.st-rows button { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; width: 100%; padding: 10px 6px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 8px; }
.st-rows button:hover { background: var(--surface-2); }
.st-rows b { font-weight: 500; font-size: calc(15.5px * var(--fs)); }
.st-rows .v { font-size: calc(10px * var(--fs)); color: var(--coral-deep); }
.st-rows .d { font-size: calc(12.5px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 860px) {
  .al-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-year { grid-template-columns: 1fr; } .st-year h3 { margin: 0 0 4px; font-size: calc(19px * var(--fs)); }
}
.bk-only[hidden] { display: none; }
@media (min-width: 861px) { .bk-panel.no-p .bk-list li > * { grid-template-columns: minmax(0, 1fr) auto 22px; } .bk-panel.no-p .bk-list .p { display: none; } }

/* ───── 목회편지: 편지지와 소인 ───── */
.post-list.letters { border-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.post-list.letters li { border: 0; }
.post-list.letters li.empty { grid-column: 1 / -1; }
.post-list.letters a { position: relative; height: 100%; align-items: flex-start; gap: 18px; padding: 24px 24px 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 6px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--sky) 38%, transparent) 31px 32px); background-position: 0 26px; background-repeat: no-repeat; background-size: 100% 96px;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-list.letters a:hover { transform: translateY(-3px) rotate(-.25deg); box-shadow: 0 14px 28px rgba(0,0,0,.07); border-color: var(--line); }
.lt-mark { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1px; color: var(--sky-deep); border: 1.5px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px; transform: rotate(-9deg); opacity: .85; margin: 4px 4px 0 2px; background: var(--surface); }
.lt-mark b { font-size: calc(15px * var(--fs)); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.lt-mark i { font-style: normal; font-size: calc(10px * var(--fs)); letter-spacing: .08em; line-height: 1; }
.lt-t { flex: 1; min-width: 0; display: grid; gap: 0; }
.lt-t b { font-family: var(--serif); font-size: calc(20px * var(--fs)); font-weight: 700; line-height: calc(32px * var(--fs)); letter-spacing: -0.03em; color: var(--head); }
.lt-t span { font-size: calc(15px * var(--fs)); line-height: calc(32px * var(--fs)); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reread.airmail { position: relative; padding: 34px 28px 26px; border-radius: 6px; overflow: hidden; }
.reread.airmail::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(135deg, var(--coral) 0 14px, transparent 14px 24px, var(--sky) 24px 38px, transparent 38px 48px); }
.reread.airmail::after { content: ''; position: absolute; right: 24px; top: 28px; width: 56px; height: 56px; background: url(../img/seal.jpg) center / cover; border-radius: 3px; transform: rotate(3deg); opacity: .92; }
.reread.airmail b, .reread.airmail .label, .reread.airmail .meta { padding-right: 84px; }
@media (max-width: 860px) {
  .post-list.letters { grid-template-columns: 1fr; gap: 10px; }
  .post-list.letters a { padding: 20px 16px 18px; gap: 14px; }
  .lt-mark { width: 54px; height: 54px; } .lt-mark b { font-size: calc(13.5px * var(--fs)); }
  .lt-t b { font-size: calc(18px * var(--fs)); }
}

/* ───── 주보: 날짜만 조용히 ───── */
.post-list.bulletins { border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 28px 20px; }
.post-list.bulletins li { border: 0; }
.post-list.bulletins li.empty { grid-column: 1 / -1; }
.post-list.bulletins a { display: grid; gap: 0; padding: 12px 0 0; border-top: 1px solid var(--line); align-items: start; transition: border-color .2s; }
.post-list.bulletins a:hover { border-top-color: var(--ink); }
.bl-top { font-size: calc(12.5px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-top i { font-style: normal; margin: 0 4px; opacity: .6; }
.bl-day { font-size: 40px; font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; color: var(--head); margin: 4px 0 2px; font-variant-numeric: tabular-nums; transition: transform .2s; transform-origin: left; }
.post-list.bulletins a:hover .bl-day { transform: translateX(3px); }
.bl-t { font-size: calc(13px * var(--fs)); color: var(--muted); line-height: 1.4; }
.post-list.bulletins li.bl-now a { border-top: 2px solid var(--ink); padding-top: 11px; }
.post-list.bulletins li.bl-now .bl-day { font-weight: 700; }
.post-list.bulletins li.bl-now .bl-t { color: var(--head); font-weight: 600; }
@media (max-width: 860px) {
  .post-list.bulletins { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; }
  .bl-day { font-size: 34px; }
}

/* ───── 누림인이야기: 따옴표로 꺼낸 첫마디 ───── */
.post-list.stories { border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-list.stories li { border: 0; --c: var(--coral); --d: var(--coral-deep); }
.post-list.stories li[style*="--n:1"] { --c: var(--sky); --d: var(--sky-deep); }
.post-list.stories li[style*="--n:2"] { --c: var(--green); --d: var(--green-deep); }
.post-list.stories li[style*="--n:3"] { --c: var(--peach); --d: var(--peach-deep); }
.post-list.stories li.empty { grid-column: 1 / -1; }
.post-list.stories a { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: 100%; padding: 54px 24px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); transition: transform .25s, border-color .25s, box-shadow .25s; }
.post-list.stories a::before { content: '“'; position: absolute; left: 20px; top: 8px; font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--d); opacity: .7; }
.post-list.stories a:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 12px 26px rgba(0,0,0,.06); }
.ny-q { font-family: var(--serif); font-size: calc(18px * var(--fs)); line-height: 1.7; letter-spacing: -0.02em; color: var(--head); margin-bottom: 22px; flex: 1; }
.post-list.stories b { font-size: calc(15px * var(--fs)); font-weight: 700; letter-spacing: -0.01em; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.ny-meta { font-size: calc(13px * var(--fs)); color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .post-list.stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-list.stories { grid-template-columns: 1fr; gap: 12px; } .post-list.stories a { padding: 48px 20px 20px; } .ny-q { font-size: calc(17px * var(--fs)); margin-bottom: 18px; } }

.cf-seal { display: block; width: 60px; height: 60px; margin: 26px 0 0; border-radius: 3px; transform: rotate(-3deg); opacity: .92; }
@media (max-width: 760px) { .cf-seal { width: 52px; height: 52px; margin-top: 20px; } }
.confess .sub-h { font-size: 26px; font-weight: 800; color: var(--head); letter-spacing: -0.03em; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.confess .sub-h .cf-tip { font-size: 13.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin: 0; }
.cf-seal { margin: 6px 0 0 calc(min(820px, 100%) - 60px); }
@media (max-width: 760px) { .confess .sub-h { font-size: 22px; } .cf-seal { margin: 10px 0 0 calc(100% - 52px); } }
.cf-seal { transform: none; }
.cf-seal-at { position: relative; }
.cf-seal-at .cf-seal { position: absolute; left: 50%; top: calc(100% + 16px); margin: 0; transform: translateX(-50%); max-width: none; }
.confession:has(.cf-seal) { padding-bottom: 84px; }
@media (max-width: 760px) { .cf-seal-at .cf-seal { margin: 0; top: calc(100% + 12px); } .confession:has(.cf-seal) { padding-bottom: 70px; } }

/* 공동체 고백: 맺음말에 올리면 위의 해당 문장들에 한꺼번에 밑줄 */
.cf-e { cursor: default; outline: 0; }
.confession:has(.cf-e[data-e="n"]:is(:hover, :focus)) .cf-p[data-g="n"],
.confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-p[data-g="x"] { color: var(--c); background-size: 100% 2px; }
.confession:has(.cf-e[data-e="n"]:is(:hover, :focus)) .cf-p[data-g="x"],
.confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-p[data-g="n"] { opacity: .4; }
.cf-e:is(:hover, :focus) { color: var(--c); background-size: 100% 2px; }
.confession:has(.cf-e[data-e="n"]:is(:hover, :focus)) .cf-e[data-e="x"],
.confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-e[data-e="n"] { opacity: .4; }
/* 제목 · 여백 · 내용 · 여백 · 도장 */
.confess .sub-h { margin-bottom: 40px; }
.cf-seal-at .cf-seal { top: calc(100% + 44px); }
.confession:has(.cf-seal) { padding-bottom: 116px; }
@media (max-width: 760px) { .confess .sub-h { margin-bottom: 28px; } .cf-seal-at .cf-seal { top: calc(100% + 32px); } .confession:has(.cf-seal) { padding-bottom: 92px; } }

/* 공동체 고백: '누림'은 빛이 차오르며 머무는 느낌, '확장'은 글자가 바깥으로 넓어지는 느낌 */
.cf-p, .cf-e { background: linear-gradient(var(--c), var(--c)) 0 100% / 0% 2px no-repeat, linear-gradient(color-mix(in srgb, var(--c) 15%, transparent), color-mix(in srgb, var(--c) 15%, transparent)) 0 100% / 100% 0% no-repeat;
  transition: background-size .7s cubic-bezier(.2,.7,.2,1), color .3s, opacity .3s, letter-spacing .7s cubic-bezier(.2,.7,.2,1), text-shadow .6s, top .45s cubic-bezier(.2,.7,.2,1); }
.cf-p:hover, .cf-p:focus { background-size: 100% 2px, 100% 0%; }
/* 누림 */
.confession:has(.cf-e[data-e="n"]:is(:hover, :focus)) .cf-p[data-g="n"], .cf-e[data-e="n"]:is(:hover, :focus),
.cf-hover .confession:has(.cf-p[data-g="n"]:is(:hover, :focus)) .cf-e[data-e="n"] { color: var(--c); background-size: 100% 2px, 100% 100%; animation: cf-nurim 2.6s ease-in-out .5s infinite alternate; }
@keyframes cf-nurim { from { text-shadow: 0 0 0 transparent; } to { text-shadow: 0 0 16px color-mix(in srgb, var(--c) 55%, transparent); } }
/* 확장 */
.confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-p[data-g="x"], .cf-e[data-e="x"]:is(:hover, :focus),
.cf-hover .confession:has(.cf-p[data-g="x"]:is(:hover, :focus)) .cf-e[data-e="x"] { color: var(--c); background-size: 100% 2px, 100% 0%; letter-spacing: .09em; }
/* 흐려지는 쪽은 글자색만 옅게(도장은 그대로) */
.confession:has(.cf-e[data-e="n"]:is(:hover, :focus)) .cf-e[data-e="x"], .confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-e[data-e="n"],
.cf-hover .confession:has(.cf-p[data-g="n"]:is(:hover, :focus)) .cf-e[data-e="x"], .cf-hover .confession:has(.cf-p[data-g="x"]:is(:hover, :focus)) .cf-e[data-e="n"] { opacity: 1; color: color-mix(in srgb, var(--ink) 36%, transparent); }
@media (max-width: 760px) { .confession:has(.cf-e[data-e="x"]:is(:hover, :focus)) .cf-p[data-g="x"], .cf-e[data-e="x"]:is(:hover, :focus), .cf-hover .confession:has(.cf-p[data-g="x"]:is(:hover, :focus)) .cf-e[data-e="x"] { letter-spacing: .03em; } }
@media (prefers-reduced-motion: reduce) { .cf-p, .cf-e { animation: none !important; transition: none; } }
.tour-side li > span { display: flex; gap: 14px; padding: 12px 2px; color: var(--ink); font-size: calc(16px * var(--fs)); font-weight: 600; }
.tour-side li > span::before { content: counter(r, decimal-leading-zero); color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- 교회 일정 (첫 화면 '다가오는 일정', events.html) ----------
   포스터 없이 글자만: 큰 날짜 숫자 + 행사 이름 + 시각·장소 + 한 줄 설명 */
.ev-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); column-gap: 56px; border-bottom: 1px solid var(--line); }
.ev-list.one { grid-template-columns: 1fr; max-width: 860px; }
.ev { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.ev-date { display: flex; flex-direction: column; line-height: 1; }
.ev-date small { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 6px; }
.ev-date b { font-family: var(--font-en); font-size: 46px; font-weight: 600; letter-spacing: -0.05em; color: var(--head); font-variant-numeric: tabular-nums; }
.ev-date i { font-style: normal; font-size: calc(12px * var(--fs)); color: var(--muted); margin-top: 6px; }
.ev-body { display: flex; flex-direction: column; gap: 5px; padding-top: 3px; min-width: 0; }
.ev-title { font-size: calc(20px * var(--fs)); font-weight: 700; color: var(--head); letter-spacing: -0.025em; line-height: 1.35; }
.ev-meta { font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.ev-note { font-size: calc(15px * var(--fs)); color: var(--muted); line-height: 1.55; }
.ev-badge { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: calc(12px * var(--fs)); font-weight: 700; letter-spacing: 0; }
.ev.now .ev-date b { position: relative; }
.ev.now .ev-date b::after { content: ''; position: absolute; right: -10px; top: 2px; width: 7px; height: 7px; border-radius: 1px; background: var(--coral); }
.ev-ph { width: 112px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.ev-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-go { align-self: center; font-family: var(--font-en); font-size: calc(18px * var(--fs)); color: var(--muted); transition: transform .2s; }
a.ev:hover .ev-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a.ev:hover .ev-go { transform: translateX(4px); color: var(--ink); }
a.ev:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.ev-ph + .ev-go { display: none; }
.ev-month { margin-bottom: 56px; }
.ev-month h2 { margin: 0 0 4px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.ev-month h2 small { font-size: 0.6em; font-weight: 500; color: var(--muted); }
.ev-past { max-width: 860px; }
.ev-past .ev { opacity: 0.72; }
.page-head p a.u { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .ev { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; padding: 20px 0; }
  .ev-date b { font-size: 36px; }
  .ev-title { font-size: calc(18px * var(--fs)); }
  .ev-meta, .ev-note { font-size: calc(14.5px * var(--fs)); }
  .ev-ph { width: 72px; }
  .ev-month h2 { font-size: calc(24px * var(--fs)); }
}

/* 일정 옆 계절 그림 (js/illust.js) — 가는 선 + 로고 색 동그라미 하나 */
.illust { display: block; width: 100%; height: auto; color: var(--head); overflow: visible; }
.illust .s { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.illust .thin { stroke-width: 1.6; }
.illust .dash { stroke-dasharray: 3 6; }
.illust .fill-surface { fill: var(--surface); }
.illust .fill-bg { fill: var(--bg); }
.illust .fill-ink { fill: currentColor; }
.illust .fill-soft { fill: currentColor; opacity: 0.06; }
.illust .b { opacity: 0.6; }
.illust .sky { fill: var(--sky); } .illust .green { fill: var(--green); } .illust .coral { fill: var(--coral); } .illust .peach { fill: var(--peach); }
.illust .dots circle { fill: currentColor; opacity: 0.4; }
.illust .tw, .illust .tw2 { transform-box: fill-box; transform-origin: center; animation: il-tw 3.6s ease-in-out infinite; }
.illust .tw2 { animation-delay: 1.4s; }
@keyframes il-tw { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
[data-theme="dark"] .illust .b { opacity: 0.22; }
@media (prefers-reduced-motion: reduce) { .illust .tw, .illust .tw2 { animation: none; } }

.events-home .section-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
.ev-illust { justify-self: end; width: min(100%, 300px); margin-bottom: -6px; }
.ev-illust:empty { display: none; }
.page-head.ev-head .wrap { position: relative; }
.ev-illust.head { position: absolute; right: 40px; bottom: -44px; width: 280px; }
@media (max-width: 760px) {
  .events-home .section-head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .events-home .section-head .ev-illust { grid-column: 2; grid-row: 1; width: 140px; margin-bottom: 0; }
  .events-home .section-head .more { grid-column: 1 / -1; justify-self: start; }
  .ev-illust.head { right: 12px; top: -40px; bottom: auto; width: 128px; }
}
/* 성탄절만 빨강·초록·금색을 씁니다(절기 느낌) */
.illust .xred { fill: #D8473C; } .illust .xred-soft { fill: #F6D3CD; } .illust .xgreen { fill: #8DBB86; } .illust .xgold { fill: #F2C14E; }
[data-theme="dark"] .illust .xred-soft { opacity: 0.25; }
/* 계절 그림에만 쓰는 꽃 색(벚꽃·수국) */
.illust .xpink { fill: #F6C9D0; } .illust .xpurple { fill: #CFC6EC; }
.illust .xwine { fill: #B44A55; }
/* 맨 앞 일정(그림과 짝) */
.ev-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: center; padding: 30px 0 34px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.evf-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.evf-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: calc(16px * var(--fs)); color: var(--ink-2); }
.evf-dday { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: calc(13px * var(--fs)); font-weight: 700; font-variant-numeric: tabular-nums; }
.evf-title { font-size: 42px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.2; color: var(--head); margin: 8px 0 4px; }
.evf-meta { font-size: calc(17px * var(--fs)); color: var(--ink-2); }
.evf-note { margin: 10px 0 0; font-size: calc(16px * var(--fs)); line-height: 1.65; color: var(--muted); max-width: 460px; }
.evf-go { margin-top: 14px; font-size: calc(14px * var(--fs)); font-weight: 600; }
a.ev-feature:hover .evf-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.evf-art { justify-self: end; width: 100%; max-width: 340px; }
.ev-cap { display: block; margin-top: 6px; text-align: center; font-size: calc(13px * var(--fs)); color: var(--muted); letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .ev-feature { grid-template-columns: 1fr; gap: 12px; padding: 24px 0 28px; }
  .evf-art { order: -1; justify-self: center; max-width: 240px; }
  .evf-title { font-size: 30px; }
}
.events-home .section-head .more { grid-column: 3; justify-self: end; }
@media (max-width: 760px) { .events-home .section-head .more { grid-column: 1 / -1; justify-self: start; } }
.ev-illust.head { bottom: 22px; width: 240px; }
@media (max-width: 760px) { .ev-illust.head { bottom: auto; top: -40px; width: 128px; } .ev-illust.head .ev-cap { display: none; } }
/* 다가오는 일정: 여백 줄이기 (11/19) */
.events-home .section-head { margin-bottom: 24px; }
.evf-art { max-width: 300px; }
@media (max-width: 900px) {
  .ev-feature { grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: start; padding: 22px 0 24px; }
  .evf-art { order: 0; justify-self: end; max-width: 150px; margin-top: -6px; }
  .evf-title { font-size: 28px; margin: 6px 0 2px; }
  .evf-kicker { font-size: calc(14.5px * var(--fs)); }
  .evf-note { font-size: calc(15px * var(--fs)); margin-top: 6px; }
}
@media (max-width: 760px) {
  .events-home .section-head { margin-bottom: 16px; }
  .events-home .section-head:has(.ev-illust:empty) .more { grid-column: 2; grid-row: 1; justify-self: end; align-self: end; }
}
@media (max-width: 480px) {
  .ev-feature { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; }
  .evf-art { max-width: 104px; }
  .evf-title { font-size: calc(23px * var(--fs)); }
}
.illust .il-num { font-family: var(--font-en); font-size: 30px; font-weight: 800; letter-spacing: -0.04em; fill: var(--head); }
.illust .il-sub { font-family: var(--font); font-size: calc(11px * var(--fs)); font-weight: 700; fill: var(--ink-2); }
/* 그림 움직임: 한 그림에 한 군데, 천천히, 보일 때만(.on은 js/illust.js가 붙임) */
.illust [class*="mv-"] { transform-box: fill-box; transform-origin: 50% 50%; }
.illust .mv-swing { transform-origin: 50% 0; animation: il-swing 4.8s ease-in-out infinite; }
.illust .mv-sway { transform-origin: 50% 0; animation: il-sway 5.6s ease-in-out infinite; }
.illust .mv-pulse { animation: il-pulse 2.8s ease-in-out infinite; }
.illust .mv-glow { animation: il-glow 3.2s ease-in-out infinite; }
.illust .mv-spin { animation: il-spin 30s linear infinite; }
.illust .mv-breeze { transform-origin: 50% 100%; animation: il-breeze 4.6s ease-in-out infinite; }
.illust .mv-flicker { transform-origin: 50% 100%; animation: il-flicker 1.6s ease-in-out infinite; }
.illust .mv-bob { animation: il-bob 3.8s ease-in-out infinite; }
.illust .mv-steam { animation: il-steam 3s ease-in-out infinite; }
.illust .mv-wave { transform-origin: 50% 100%; animation: il-wave 2.6s ease-in-out infinite; }
.illust .mv-drop { animation: il-drop 3.4s ease-in-out infinite; }
.illust .mv-fall { animation: il-fall 4.4s ease-in-out infinite; }
.illust .mv-rain { animation: il-rain 1.1s linear infinite; }
@keyframes il-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes il-sway { 0%, 100% { transform: translateY(0) skewX(0deg); } 50% { transform: translateY(1.5px) skewX(-2.5deg); } }
@keyframes il-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes il-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes il-spin { to { transform: rotate(360deg); } }
@keyframes il-breeze { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }
@keyframes il-flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(0.92, 1.1); } 60% { transform: scale(1.05, 0.95); } }
@keyframes il-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes il-steam { 0% { transform: translateY(2px); opacity: 0.2; } 50% { opacity: 1; } 100% { transform: translateY(-5px); opacity: 0.2; } }
@keyframes il-wave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes il-drop { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(4px); } }
@keyframes il-fall { 0% { transform: translateY(-3px); opacity: 0.5; } 50% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0.5; } }
@keyframes il-rain { to { stroke-dashoffset: -18; } }
.illust [class*="mv-"], .illust .tw, .illust .tw2 { animation-play-state: paused; }
.illust.on [class*="mv-"], .illust.on .tw, .illust.on .tw2 { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .illust [class*="mv-"] { animation: none; } }

/* ── 주일 예배 생중계 연결 ── */
.next .next-live { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: var(--coral-deep); color: #fff; font-size: calc(14.5px * var(--fs)); font-weight: 700; letter-spacing: -0.01em; }
.next .next-live[hidden] { display: none; }
.next .next-live em { font-style: normal; transition: transform .2s; }
.next.is-live { border-color: var(--coral-deep); }
.next.is-live:hover .next-live em { transform: translateX(3px); }
.next.is-live .k .live { background: var(--coral-deep); box-shadow: 0 0 0 4px rgba(226,110,90,0.2); animation: live-dot 1.2s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .35; } }
.wc-live { margin-top: 10px; display: inline-flex; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--coral-deep); color: #fff !important; font-size: calc(14.5px * var(--fs)); font-weight: 700; text-decoration: none; }
.wc-live[hidden] { display: none; }
.live-note a { font-weight: 700; color: var(--coral-deep); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .next.is-live .k .live { animation: none; } }
.give-note { margin: 16px 0 0; font-size: calc(14.5px * var(--fs)); color: var(--muted); }

/* ── 하이델베르크 요리문답 ── */
.hc-one { max-width: 760px; margin: 0 auto 72px; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: calc(14px * var(--fs)); color: var(--muted); }
.hc-meta .hc-n { font-weight: 700; color: var(--green-t); }
.hc-meta .hc-date { margin-left: auto; }
.hc-title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 36px); line-height: 1.35; letter-spacing: -0.02em; margin: 12px 0 28px; color: var(--head); }
.hc-qa { margin: 0 0 36px; padding: 24px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); display: grid; gap: 16px; }
.hc-qa > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.hc-qa dt { font-weight: 700; font-size: calc(15px * var(--fs)); color: #fff; background: var(--green-deep); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.hc-qa > div + div dt { background: var(--primary); }
.hc-qa dd { margin: 0; font-size: calc(17.5px * var(--fs)); line-height: 1.75; color: var(--ink); }
.hc-qa > div:first-child dd { font-weight: 600; color: var(--head); }
.hc-body p { font-size: calc(17px * var(--fs)); line-height: 1.95; color: var(--ink); margin: 0 0 1.1em; }
.hc-verse { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); }
.hc-verse p { font-family: var(--serif); font-size: calc(17.5px * var(--fs)); line-height: 1.85; margin: 0 0 8px; color: var(--ink); }
.hc-verse cite { font-style: normal; font-size: calc(14px * var(--fs)); color: var(--muted); }
.hc-pray { margin: 34px 0 10px; padding: 22px 26px; border-radius: 16px; background: var(--surface-2); }
.hc-pray h3 { margin: 0 0 10px; font-size: calc(15px * var(--fs)); letter-spacing: 0.04em; color: var(--green-t); }
.hc-pray p { margin: 0; font-size: calc(16.5px * var(--fs)); line-height: 1.85; color: var(--ink); }
.hc-by { text-align: right; font-size: calc(14px * var(--fs)); color: var(--muted); margin: 18px 0 0; }
.hc-pn { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: calc(15px * var(--fs)); font-weight: 600; }
.hc-map { border-top: 1px solid var(--line); padding-top: 40px; }
.hc-map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.hc-map-head h2 { margin: 0; font-size: calc(22px * var(--fs)); }
.hc-map-head span { color: var(--muted); font-size: calc(14px * var(--fs)); }
.hc-part { margin-bottom: 26px; }
.hc-part h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: calc(17px * var(--fs)); }
.hc-part h3 small { font-size: calc(13px * var(--fs)); font-weight: 400; color: var(--muted); }
.hc-part h3 em { margin-left: auto; font-style: normal; font-size: calc(13px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; }
.hc-c { position: relative; height: 38px; border-radius: 8px; display: grid; place-items: center; font-size: calc(13px * var(--fs)); font-variant-numeric: tabular-nums; color: var(--muted); background: var(--surface); border: 1px solid var(--line-soft); opacity: .7; }
.hc-c.ld::before { content: ''; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line); }
a.hc-c.on { opacity: 1; background: var(--green); border-color: var(--green); color: var(--head); font-weight: 700; }
a.hc-c.on:hover { opacity: .8; }
a.hc-c.cur { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.hc-note { font-size: calc(13px * var(--fs)); color: var(--muted); margin: 6px 0 0; }
@media (max-width: 600px) { .hc-qa { padding: 18px; } .hc-meta .hc-date { margin-left: 0; } }
.hc-intro { max-width: 860px; margin: 0 auto 64px; }
.hc-intro h2 { font-size: calc(22px * var(--fs)); margin: 0 0 16px; }
.hc-intro-text p, .hc-journey { font-size: calc(16.5px * var(--fs)); line-height: 1.9; color: var(--ink); margin: 0 0 1em; }
.hc-three { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hc-three li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px 18px 16px; }
.hc-three b { font-family: var(--serif); font-size: calc(22px * var(--fs)); color: var(--head); margin-right: 8px; }
.hc-three span { font-size: calc(13px * var(--fs)); color: var(--green-t); font-weight: 600; }
.hc-three p { margin: 8px 0 0; font-size: calc(15px * var(--fs)); line-height: 1.65; color: var(--ink-2); }
.hc-journey a { font-weight: 600; white-space: nowrap; }
.hc-intro + .hc-one { border-top: 1px solid var(--line); padding-top: 48px; }
@media (max-width: 700px) { .hc-three { grid-template-columns: 1fr; } }

/* ── 하늘뜰나눔 ── */
.sh { max-width: 720px; margin: 0 auto 72px; }
.sh-off { margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: calc(15px * var(--fs)); line-height: 1.6; }
.sh-weeks { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0 0 22px; font-size: calc(14.5px * var(--fs)); }
.sh-weeks a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.sh-weeks a:last-child { text-align: right; }
.sh-weeks a:hover { color: var(--head); }
.sh-weeks select { font: inherit; font-size: calc(16px * var(--fs)); font-weight: 600; color: var(--head); padding: 8px 32px 8px 14px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--surface); }
.sh-sermon { padding: 26px 26px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); margin: 0 0 34px; }
.sh-series { margin: 0 0 6px; font-size: calc(14px * var(--fs)); color: var(--sky-t); font-weight: 600; }
.sh-sermon h2 { font-family: var(--serif); font-size: clamp(23px, 5vw, 30px); line-height: 1.35; margin: 0 0 10px; color: var(--head); word-break: keep-all; }
.sh-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: calc(14.5px * var(--fs)); color: var(--muted); }
.sh-meta span:first-child { color: var(--head); font-weight: 600; }
.sh-text { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--sky); }
.sh-text p { font-family: var(--serif); font-size: calc(17.5px * var(--fs)); line-height: 1.85; margin: 0 0 4px; color: var(--ink); }
.sh-text sup { font-family: var(--sans, inherit); font-size: calc(11.5px * var(--fs)); color: var(--sky-t); font-weight: 700; margin-right: 5px; vertical-align: 4px; }
.sh-text cite { display: block; margin-top: 8px; font-style: normal; font-size: calc(13.5px * var(--fs)); color: var(--muted); }
.sh-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.sh-links .btn[hidden] { display: none; }
.sh-part { margin: 0 0 38px; }
.sh-part h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--head); font-size: calc(20px * var(--fs)); color: var(--head); }
.sh-part h3 small { font-size: calc(13.5px * var(--fs)); font-weight: 500; color: var(--muted); }
.sh-rule { margin: -4px 0 18px; font-size: calc(14px * var(--fs)); line-height: 1.6; color: var(--muted); }
.sh-q { display: flex; gap: 10px; margin: 0 0 10px; font-size: calc(17px * var(--fs)); line-height: 1.7; color: var(--ink); font-weight: 500; word-break: keep-all; }
.sh-q b { flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-size: calc(13.5px * var(--fs)); color: #fff; background: var(--sky-deep); }
.sh-q b.dot { width: 8px; height: 8px; margin: 11px 9px 0; background: var(--sky-deep); }
.sh-q strong { color: var(--head); }
.sh-words { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.sh-note { display: block; margin: 0 0 18px; }
.sh-note textarea { display: block; width: 100%; min-height: 84px; resize: none; overflow: hidden; box-sizing: border-box; font: inherit; font-size: calc(16px * var(--fs)); line-height: 1.7; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-soft); background: var(--surface-2); transition: border-color .15s, background .15s; }
.sh-note textarea:focus { outline: none; border-style: solid; border-color: var(--sky-deep); background: var(--surface); }
.sh-note textarea::placeholder { color: var(--muted); opacity: .7; }
.sh-foot { margin: 8px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line-soft); }
.sh-pill { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 12px); z-index: 50; padding: 9px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-size: calc(14px * var(--fs)); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.sh-pill.on { opacity: .95; transform: translate(-50%, 0); }
.sh-private { margin: 0 0 10px; font-size: calc(13.5px * var(--fs)); line-height: 1.55; color: var(--muted); }
.sh-private span { color: var(--sky-t); font-weight: 600; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-qr { margin: 10px 0 0; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.sh-qr summary { cursor: pointer; font-size: calc(15px * var(--fs)); font-weight: 600; color: var(--head); }
.sh-qr > div { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; margin-top: 14px; }
.sh-qr img { border-radius: 10px; background: #fff; }
.sh-qr p { margin: 0 0 10px; font-size: calc(14.5px * var(--fs)); line-height: 1.65; color: var(--ink-2); }
.sh-qr .btn { justify-self: start; }
@media (max-width: 560px) {
  .sh-sermon { padding: 22px 18px 18px; }
  .sh-qr > div { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sh-qr .btn { justify-self: center; }
}
.sh-extra { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-soft); }
.sh-q b.pen { background: transparent; color: var(--sky-deep); font-size: calc(17px * var(--fs)); }
.sh-extra textarea { min-height: 120px; }

/* ── 종이 주보 ── */
.jubo { max-width: 1100px; margin: 0 auto 36px; }
.jubo-loading { text-align: center; color: var(--muted); padding: 60px 0; }
.jubo-hint { margin: 0 0 14px; font-size: calc(13.5px * var(--fs)); color: var(--muted); text-align: center; }
.jubo-sheet { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 30px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 28px -8px rgba(0,0,0,.18); }
.jubo-sheet::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.09), rgba(0,0,0,.04)); }
.jubo-half { display: block; width: 100%; height: auto; }
.jubo-save { position: absolute; right: 0; bottom: -26px; font-size: calc(13px * var(--fs)); color: var(--muted); text-decoration: none; }
.jubo-save:hover { color: var(--head); text-decoration: underline; }
@media (max-width: 720px) {
  .jubo-sheet { grid-template-columns: 1fr; gap: 0; box-shadow: none; background: transparent; margin-bottom: 34px; }
  .jubo-sheet::after { display: none; }
  .jubo-half { box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 22px -8px rgba(0,0,0,.2); margin-bottom: 14px; }
  .jubo-sheet.cover { display: flex; flex-direction: column; }
  .jubo-sheet.cover .R { order: 1; } .jubo-sheet.cover .L { order: 2; }
  .jubo-sheet.cover .jubo-save { order: 3; }
  .jubo-save { bottom: -18px; }
}
.sh-next { margin: 8px 0 30px; }
.sh-next .nx-h { margin: 28px 0 12px; }
.sh-next .nx-row { grid-template-columns: 1fr; }
.sh-go { display: block; padding: 14px 18px; margin: 0 0 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); text-decoration: none; color: inherit; transition: border-color .15s; }
.sh-go:hover { border-color: var(--sky-deep); }
.sh-go b { display: block; font-size: calc(16.5px * var(--fs)); color: var(--head); margin-bottom: 3px; }
.sh-go b::after { content: ' →'; color: var(--sky-t); font-weight: 500; }
.sh-go span { display: block; font-size: calc(14px * var(--fs)); line-height: 1.55; color: var(--ink-2); }
.sh-paper { margin: 14px 0 0; font-size: calc(14px * var(--fs)); text-align: right; }
.sh-paper a { color: var(--muted); }

/* ── 이어서 (다음 걸음 카드) ── */
.nx-sec { padding: 8px 0 72px; }
.nx { max-width: 1040px; margin: 0 auto; }
.nx-h { margin: 0 0 14px; font-size: calc(14px * var(--fs)); font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.nx-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.nx-card { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 14px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line-soft); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; -webkit-tap-highlight-color: transparent; }
.nx-card:hover, .nx-card:focus-visible { transform: translateY(-2px); border-color: transparent; box-shadow: 0 10px 26px -12px rgba(30,45,60,.28); }
.nx-card:active { transform: translateY(0) scale(.99); }
.nx-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--sky-deep); background: var(--sky-tint, #EAF6FC); }
[data-theme="light"] .nx-ic, :root:not([data-theme="dark"]) .nx-ic { background: #EAF5FB; }
.nx-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nx-tx em { font-style: normal; font-size: calc(12px * var(--fs)); font-weight: 700; color: var(--sky-t); letter-spacing: .02em; }
.nx-tx b { font-size: calc(16.5px * var(--fs)); color: var(--head); line-height: 1.35; }
.nx-tx small { font-size: calc(13.5px * var(--fs)); color: var(--ink-2); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nx-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: transform .18s ease, background .18s ease, color .18s ease; }
.nx-card:hover .nx-go { transform: translateX(3px); background: var(--sky-deep); color: #fff; }
[data-theme="dark"] .nx-ic { background: rgba(255,255,255,.06) !important; }
#post-next { margin: 40px 0 8px; }
#post-next .nx { max-width: none; }
#post-next .nx-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nx-card, .nx-card:hover { opacity: 1; color: inherit; background: var(--surface); }

/* ── 전도편지 ── */
.lt { max-width: 760px; margin: 0 auto 40px; }
.lt-week { display: block; position: relative; padding: 26px 26px 24px; margin: 0 0 30px; border-radius: 20px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #E6F4F8 0%, #F6EEF0 100%); transition: transform .18s ease, box-shadow .18s ease; }
.lt-week:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(30,45,60,.3); }
.lt-tag { display: inline-block; font-size: calc(12.5px * var(--fs)); font-weight: 700; color: var(--sky-t); letter-spacing: .04em; margin-bottom: 8px; }
.lt-week b { display: block; font-family: var(--serif); font-size: clamp(22px, 5vw, 27px); color: var(--head); line-height: 1.35; margin-bottom: 8px; word-break: keep-all; }
.lt-first { display: block; font-size: calc(15px * var(--fs)); color: var(--ink-2); line-height: 1.6; }
.lt-read { display: inline-block; margin-top: 14px; font-size: calc(14.5px * var(--fs)); font-weight: 700; color: var(--head); }
[data-theme="dark"] .lt-week { background: var(--surface); border: 1px solid var(--line-soft); }
.lt-themes { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 6px; scrollbar-width: none; }
.lt-themes::-webkit-scrollbar { display: none; }
.lt-themes button { flex: none; font: inherit; font-size: calc(14.5px * var(--fs)); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.lt-themes button small { font-size: calc(12px * var(--fs)); color: var(--muted); margin-left: 2px; }
.lt-themes button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
/* 12/4 '내 삶에서 길어 올린 글'(맨 앞 묶음)과 편지 찾기 */
.lt-themes .lt-life { border-color: #E8B04A; color: #8A5A12; background: #FFF6E4; font-weight: 700; }
.lt-themes .lt-life[aria-selected="true"] { background: #C9861C; border-color: #C9861C; color: #fff; }
.lt-find { display: block; margin: 2px 0 14px; }
.lt-find input { width: 100%; box-sizing: border-box; font: inherit; font-size: calc(16px * var(--fs)); padding: 11px 16px 11px 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 15px center; color: var(--ink); }
.lt-found, .lt-none { margin: 0 0 10px; color: var(--muted); font-size: calc(14px * var(--fs)); }
.lt-none { padding: 24px 0; text-align: center; }
.lt-themes button[aria-selected="true"] small { color: rgba(255,255,255,.75); }
.lt-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.lt-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.lt-list a:hover { opacity: 1; background: var(--surface); }
.lt-list b { font-size: calc(16.5px * var(--fs)); color: var(--head); grid-column: 1; }
.lt-list span { grid-column: 1; font-size: calc(14px * var(--fs)); color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lt-list em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: calc(12.5px * var(--fs)); color: var(--muted); }
#lt-home { color: inherit; text-decoration: none; }
.lt-reading .page-head { padding-top: 26px; padding-bottom: 18px; }
.lt-reading .page-head h1 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 0; }
.lt-reading .page-head p { display: none; }
.lt-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: calc(15px * var(--fs)); font-weight: 600; text-decoration: none; }
.lt-back:hover { opacity: 1; border-color: var(--ink-2); }
.lt-back-end { display: flex; justify-content: center; margin: 22px auto 0; width: fit-content; }
.lt-letter { padding: 34px 30px 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 32px -18px rgba(30,45,60,.22); }
.lt-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; font-size: calc(13.5px * var(--fs)); color: var(--muted); }
.lt-meta span:first-child { color: var(--sky-t); font-weight: 700; }
.lt-letter h2 { font-family: var(--serif); font-size: clamp(24px, 5.6vw, 31px); line-height: 1.35; margin: 0 0 22px; color: var(--head); word-break: keep-all; }
.lt-body p { font-family: var(--serif); font-size: calc(17.5px * var(--fs)); line-height: 1.9; margin: 0 0 22px; color: var(--ink); word-break: keep-all; }
.lt-body p:last-child { margin-bottom: 0; }
.lt-close { margin: 26px 0 0; text-align: right; font-size: calc(15px * var(--fs)); color: var(--ink-2); }
.lt-share { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 30px; }
.lt-pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: calc(14.5px * var(--fs)); }
.lt-pn a { text-decoration: none; color: var(--head); }
.lt-pn a small { display: block; font-size: calc(12.5px * var(--fs)); color: var(--muted); }
.lt-pn a:last-child { text-align: right; }
.lt-pn .lt-all { font-size: calc(13.5px * var(--fs)); color: var(--muted); padding: 6px 12px; border: 1px solid var(--line-soft); border-radius: 999px; }
@media (max-width: 560px) { .lt-letter { padding: 26px 20px 22px; } .lt-body p { font-size: calc(17px * var(--fs)); margin-bottom: 20px; } .lt-pn { grid-template-columns: 1fr 1fr; } .lt-pn .lt-all { display: none; } }
.lt-art { display: block; margin: 0 0 22px; border-radius: 14px; overflow: hidden; aspect-ratio: 1200 / 630; background: #F6EEE0; }
.lt-art img, .lt-art svg, .lt-week-art img, .lt-week-art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.lt-week.has-art { padding-top: 0; overflow: hidden; }
.lt-week-art { display: block; margin: 0 -26px 22px; aspect-ratio: 1200 / 630; background: #F6EEE0; }
.invite-letter { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.7); text-decoration: none; color: var(--head); max-width: 520px; }
.invite-letter[hidden] { display: none; }
.invite-letter:hover { opacity: 1; background: #fff; }
.invite-letter span { flex: none; font-size: calc(12.5px * var(--fs)); font-weight: 700; color: var(--sky-t); }
.invite-letter b { flex: 1; font-family: var(--serif); font-size: calc(16.5px * var(--fs)); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.invite-letter em { font-style: normal; color: var(--muted); }
[data-theme="dark"] .invite-letter { background: var(--surface); }
.tour-side p.tour-floor-note { font-size: calc(14.5px * var(--fs)); line-height: 1.7; color: var(--ink-2); margin-top: 10px; }

/* 메뉴 서랍: 묶음 접기 */
.drawer-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.drawer-toggle i { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.drawer-group.open .drawer-toggle i { transform: rotate(-135deg); }
.drawer-group:not(.open) a { display: none; }
.drawer-group h2 { margin-bottom: 0; }
.drawer-group.open h2 { margin-bottom: 6px; }
.hero-en { text-wrap: balance; }

/* ---------- 첫 화면 휴대폰 길이 줄이기 (11/19) ---------- */
.duo-tabs { display: none; }
@media (max-width: 899px) {
  .duo-tabs:not([hidden]) { display: flex; gap: 6px; margin-bottom: 20px; }
  .duo-tabs button { flex: 1; font: inherit; font-size: calc(15px * var(--fs)); font-weight: 600; padding: 12px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
  .duo-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
  .duo:has(.duo-tabs:not([hidden])) { display: flex; flex-direction: column; gap: 0; }
  .duo:has(.duo-tabs:not([hidden])) > .duo-col { display: contents; }
  .duo:has(.duo-tabs:not([hidden])) .section-head { order: 1; }
  .duo:has(.duo-tabs:not([hidden])) > .duo-tabs { order: 2; }
  .duo:has(.duo-tabs:not([hidden])) .section-head ~ * { order: 3; }
  .duo:has(.duo-tabs:not([hidden]))[data-tab="qt"] > [data-col="ms"],
  .duo:has(.duo-tabs:not([hidden]))[data-tab="ms"] > [data-col="qt"] { display: none; }
}
@media (max-width: 600px) {
  body[data-section="home"] .section { padding-top: 56px; }
  body[data-section="home"] .section:last-of-type { padding-bottom: 56px; }
  body[data-section="home"] .hero-photo { padding-bottom: 28px; }
  body[data-section="home"] .hero-photo .frame { aspect-ratio: 16 / 9; }
  /* 최근 설교: 영상 하나만 */
  body[data-section="home"] .sermon-side { display: none; }
  /* 비전십일만: 교회 사진은 옆으로 넘기는 한 줄 */
  .plant-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 24px -18px 0; padding: 0 18px 6px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .plant-cards::-webkit-scrollbar { display: none; }
  .plant-cards a { flex: 0 0 62%; scroll-snap-align: start; }
  /* 찬양: 악기 칩 숨기고 소개 두 줄 */
  .praise-home .praise-inst { display: none; }
  .praise-home .praise-team p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* 공동체: 사진 빼고 목록만 */
  body[data-section="home"] .life-row { display: none; }
  /* 맺는 초대: 사진 빼기 */
  .invite > .invite-photo { display: none; }
}

/* 첫 화면 최근 설교: 영상 하나 — 큰 화면에서는 영상 왼쪽, 제목 오른쪽 (11/19) */
@media (min-width: 900px) {
  .sermon-main.solo { flex-direction: row; align-items: flex-end; gap: 48px; }
  .sermon-main.solo .video { flex: 0 0 62%; }
  .sermon-main.solo .sermon-body { padding: 0 0 6px; }
}

/* 첫 화면 말씀새김: 하늘QT를 빼고 이번 주 한 구절을 크게 (11/19) */
.ms-big { padding: 44px 48px 36px; gap: 22px; border-radius: var(--radius-l); }
.ms-big .ms-home-text { font-size: 30px; line-height: 1.6; max-width: 30em; }
.ms-big .ms-home-ref { font-size: calc(15px * var(--fs)); }
@media (max-width: 600px) {
  .ms-big { padding: 28px 22px 24px; gap: 16px; }
  .ms-big .ms-home-text { font-size: calc(21px * var(--fs)); }
}

/* 첫 화면 목회편지: 제목 옆에 작은 카드 (11/19) */
.letter-home .letter-grid { grid-template-columns: auto minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.letter-home .letter-head { padding-top: 0; border-top: 0; gap: 14px; }
.letter-home .letter-head p { display: none; }
.letter-home .letter-card { justify-self: end; width: 100%; max-width: 460px; padding: 22px 24px 18px; gap: 8px; border-radius: 16px; border-color: var(--line); }
.letter-home .letter-card::before { content: none; }
.letter-home .letter-card b { font-size: calc(21px * var(--fs)); padding-right: 0; line-height: 1.4; }
.letter-home .letter-excerpt { font-size: calc(15px * var(--fs)); line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.letter-home .letter-foot { margin-top: 4px; padding-top: 0; border-top: 0; font-size: calc(14px * var(--fs)); justify-content: flex-end; }
.letter-home .letter-by { display: none; }
@media (max-width: 600px) {
  .letter-home .letter-grid { gap: 16px; }
  .letter-home .letter-card { padding: 16px 16px 14px; gap: 6px; }
  .letter-home .letter-kicker { font-size: calc(12px * var(--fs)); }
  .letter-home .letter-card b { font-size: calc(17px * var(--fs)); }
  .letter-home .letter-excerpt { display: none; }
  .letter-home .letter-head .more { font-size: calc(13px * var(--fs)); }
}

/* 첫 화면 이번 주 전도편지: 첫머리 바로 다음 (11/19) */
.gospel-card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l, 20px); overflow: hidden; color: var(--ink); text-decoration: none; }
.gospel-card:hover { border-color: var(--ink-2); }
.gospel-art { display: block; aspect-ratio: 1200 / 630; background: var(--surface-2); }
.gospel-art img, .gospel-art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.gospel-txt { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; }
.gospel-k { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--peach-deep); }
.gospel-card b { font-family: var(--serif); font-weight: 600; font-size: calc(24px * var(--fs)); line-height: 1.35; letter-spacing: -0.03em; color: var(--head); word-break: keep-all; }
.gospel-ex { font-family: var(--serif); font-size: calc(16px * var(--fs)); line-height: 1.85; color: var(--ink-2); word-break: keep-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.gospel-go { margin-top: 4px; font-size: calc(15px * var(--fs)); font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .gospel-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
  .gospel-art { aspect-ratio: auto; min-height: 300px; }
  .gospel-txt { padding: 40px 44px; justify-content: center; gap: 14px; }
  .gospel-card b { font-size: 32px; }
  .gospel-ex { font-size: calc(17px * var(--fs)); -webkit-line-clamp: 4; }
}

/* 첫 화면 찬양: 목회편지와 같은 '제목 옆 작은 카드' (11/19) */
.praise-home .letter-kicker { color: var(--coral-deep); }
.praise-home #praise-count { font-family: var(--font-en); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 2px; }
@media (max-width: 600px) { .praise-home .letter-grid { grid-template-columns: minmax(0, 1fr); } .praise-home .letter-card { justify-self: stretch; max-width: none; } .praise-home .letter-excerpt { display: -webkit-box; } }

/* 첫머리 오른쪽 이번 주 전도편지 카드 — 다음 예배 상자 자리 (11/19) */
.hero-letter { flex: 0 1 400px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; color: var(--ink); text-decoration: none; }
.hero-letter:hover { opacity: 1; border-color: var(--ink); }
.hl-art { display: block; aspect-ratio: 1200 / 630; background: var(--surface-2); }
.hl-art img, .hl-art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl-txt { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 18px; }
.hl-k { font-size: calc(12.5px * var(--fs)); font-weight: 600; color: var(--peach-deep); }
.hero-letter b { font-family: var(--serif); font-weight: 600; font-size: calc(21px * var(--fs)); line-height: 1.35; letter-spacing: -0.03em; color: var(--head); word-break: keep-all; }
.hl-go { margin-top: 2px; font-size: calc(14px * var(--fs)); font-weight: 600; }
@media (max-width: 600px) { .hero-letter { flex-basis: 100%; } .hero-letter b { font-size: calc(19px * var(--fs)); } }
/* 12/1 목사님: 마음을 전하는 글 카드에 마우스를 올리면 깜찍하게 — 카드가 살짝 떠올라 기울고, 그림이 다가오고, 오른쪽 위에 살구색 편지 도장이 '톡' 튀어나오며, 화살표가 앞으로 깡충. 누르면 꾹 눌림 */
.hero-letter { position: relative; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .25s ease; will-change: transform; }
.hl-art { position: relative; overflow: hidden; }
.hl-art img, .hl-art svg { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.hl-art::after { content: ""; position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: #E8904A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16v11H4z'/%3E%3Cpath d='m4.5 7.5 7.5 6 7.5-6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 14px rgba(160, 80, 30, .28), inset 0 0 0 3px rgba(255,255,255,.35); transform: scale(0) rotate(-40deg); opacity: 0; transition: transform .5s cubic-bezier(.34,1.8,.5,1), opacity .2s ease; pointer-events: none; }
.hl-go span { display: inline-block; transition: transform .3s ease; }
.hero-letter:active { transform: translateY(-2px) scale(.985); transition-duration: .12s; }
@media (hover: hover) {
  .hero-letter:hover, .hero-letter:focus-visible { transform: translateY(-8px) rotate(-1.2deg); border-color: #E8904A; box-shadow: 0 18px 36px -14px rgba(170, 95, 40, .38), 0 4px 10px -4px rgba(170, 95, 40, .18); }
  .hero-letter:hover .hl-art img, .hero-letter:hover .hl-art svg, .hero-letter:focus-visible .hl-art img, .hero-letter:focus-visible .hl-art svg { transform: scale(1.07); }
  .hero-letter:hover .hl-art::after, .hero-letter:focus-visible .hl-art::after { opacity: 1; transform: scale(1) rotate(8deg); animation: hl-seal 2.4s ease-in-out .55s infinite; }
  .hero-letter:hover .hl-go, .hero-letter:focus-visible .hl-go { color: var(--peach-deep); }
  .hero-letter:hover .hl-go span, .hero-letter:focus-visible .hl-go span { animation: hl-hop .9s ease-in-out infinite; }
  .hero-letter:hover:active { transform: translateY(-3px) rotate(-.6deg) scale(.985); }
}
@keyframes hl-seal { 0%, 100% { transform: scale(1) rotate(8deg); } 12% { transform: scale(1.12) rotate(-6deg); } 24% { transform: scale(1) rotate(10deg); } 34% { transform: scale(1.04) rotate(4deg); } }
@keyframes hl-hop { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(6px); } 60% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-letter, .hero-letter:hover, .hero-letter:focus-visible, .hero-letter:active { transform: none !important; }
  .hl-art img, .hl-art svg { transform: none !important; transition: none; }
  .hero-letter:hover .hl-art::after, .hero-letter:focus-visible .hl-art::after { transform: none; animation: none; }
  .hl-go span { animation: none !important; }
}

/* 첫 화면 찬양: 설명 대신 영상 (11/19) */
.praise-home .praise-card { justify-self: end; width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.praise-home .praise-card .video { border-radius: 0; }
.praise-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: calc(14px * var(--fs)); color: var(--ink-2); text-decoration: none; }
.praise-foot b { font-family: var(--font-en); font-weight: 700; color: var(--head); font-variant-numeric: tabular-nums; margin-right: 2px; }
.praise-foot .go { color: var(--ink); font-weight: 600; }
.praise-foot:hover { opacity: 1; background: var(--surface-2); }
@media (max-width: 600px) { .praise-home .praise-card { justify-self: stretch; max-width: none; } }

/* 첫 화면 다가오는 일정: 목회편지·찬양과 같은 '제목 옆 작은 카드' (11/19) */
.events-home .ev-card { justify-self: end; width: 100%; max-width: 460px; padding: 20px 22px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.events-home .ev-card .ev-illust { float: right; width: 110px; margin: -4px -6px 4px 12px; justify-self: auto; }
.events-home .ev-card .ev-illust .ev-cap { display: none; }
.events-home .ev-feature { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 0 0 16px; border-top: 0; }
.events-home .evf-kicker { font-size: calc(13.5px * var(--fs)); gap: 8px; }
.events-home .evf-dday { font-size: calc(12px * var(--fs)); padding: 2px 9px; }
.events-home .evf-title { font-size: calc(21px * var(--fs)); margin: 4px 0 0; letter-spacing: -0.03em; }
.events-home .evf-meta { font-size: calc(14px * var(--fs)); }
.events-home .evf-note { display: none; }
.events-home .evf-go { margin-top: 6px; }
.events-home .evf-art { order: 0; max-width: 104px; justify-self: end; }
.events-home .ev-list { grid-template-columns: minmax(0, 1fr); column-gap: 0; border-bottom: 0; }
.events-home .ev { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; }
.events-home .ev-date small { font-size: calc(11.5px * var(--fs)); margin-bottom: 3px; }
.events-home .ev-date b { font-size: calc(24px * var(--fs)); }
.events-home .ev-date i { font-size: calc(11px * var(--fs)); margin-top: 3px; }
.events-home .ev-title { font-size: calc(16px * var(--fs)); }
.events-home .ev-meta { font-size: calc(13.5px * var(--fs)); }
.events-home .ev-note, .events-home .ev-ph { display: none; }
@media (max-width: 760px) { .events-home .ev-feature { grid-template-columns: minmax(0, 1fr) 84px; } .events-home .evf-art { max-width: 84px; } }
@media (max-width: 600px) { .events-home .letter-grid { grid-template-columns: minmax(0, 1fr); } .events-home .ev-card { justify-self: stretch; max-width: none; } }

/* '처음 오셨나요'를 휴대폰 머리줄에서도 늘 보이게 (11/19) */
@media (max-width: 1040px) {
  .header-actions .btn.visit-btn { display: inline-flex; height: 40px; min-height: 0; padding: 0 14px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 420px) { .header-actions { gap: 6px; } .header-actions .btn.visit-btn { padding: 0 12px; font-size: 12.5px; } .site-header .brand img { height: 30px; } }
@media (max-width: 350px) { .site-header .brand img { height: 26px; } .header-actions .btn.visit-btn { padding: 0 10px; } }

/* 비전십일만 교회 카드: 영어 이름 함께 (11/19) */
.plant-cards .plant-en { font-style: normal; font-family: var(--font-en); font-size: calc(13px * var(--fs)); line-height: 1.45; color: var(--muted); letter-spacing: 0.01em; }
html:not([lang="ko"]) .plant-cards .plant-en { display: none; }

/* 첫 화면 쇼츠: 큰 '최근 설교' 자리 (11/20) — 세로 영상 셋, 휴대폰에서는 옆으로 넘김 */
.shorts-row { display: flex; gap: 14px; justify-self: end; justify-content: flex-end; width: 100%; max-width: 560px; }
.short { flex: 1 1 0; min-width: 0; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--surface-2); position: relative; }
.short button.play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.short img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short iframe { width: 100%; height: 100%; border: 0; display: block; }
.short-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255,255,255,.88); }
.short-play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 15px solid #333; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.short em { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 12px; font-style: normal; font-size: calc(13px * var(--fs)); line-height: 1.45; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); word-break: keep-all; }
.short em span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.short button.play:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.short-blank { text-decoration: none; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: calc(18px * var(--fs)); line-height: 1.5; color: var(--ink-2); padding-bottom: 90px; }
.short:only-child { max-width: 240px; }
@media (max-width: 600px) {
  .shorts-home .letter-grid { grid-template-columns: minmax(0, 1fr); }
  .shorts-row { max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 4px; scroll-padding-inline: 18px; scrollbar-width: none; gap: 10px; }
  .shorts-row::-webkit-scrollbar { display: none; }
  .short { flex: 0 0 44%; scroll-snap-align: start; }
  .shorts-row { justify-content: flex-start; justify-self: stretch; width: auto; }
  .short:only-child { flex-basis: 52%; max-width: none; }
}

/* 첫 화면 다가오는 일정: 그림을 카드 맨 위에 크게 (11/20 — 목사님 "예쁜 그림이 너무 작다") */
.events-home .ev-card { max-width: 500px; padding: 22px 24px 10px; }
.events-home .ev-feature { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.events-home .evf-art { order: -1; justify-self: center; width: 100%; max-width: 320px; margin: -30px 0 -4px; }
.events-home .ev-card .ev-illust { float: none; display: block; width: 100%; max-width: 300px; margin: 0 auto 10px; }
@media (max-width: 760px) {
  .events-home .ev-feature { grid-template-columns: minmax(0, 1fr); }
  .events-home .evf-art { max-width: 260px; }
}
@media (max-width: 600px) {
  .events-home .ev-card { padding: 18px 18px 8px; }
  .events-home .evf-art, .events-home .ev-card .ev-illust { max-width: 240px; }
  .events-home .evf-art { margin-top: -22px; }
}

/* 간격·카드 폭 정리 (11/20 — 목사님 "구역 사이가 너무 벌어짐", "카드 크기가 조금씩 다름")
   1) 구역 사이: 128→88(컴퓨터), 80→60(휴대폰). 첫 화면은 컴퓨터 80, 휴대폰 48.
   2) 첫 화면 '제목 옆 카드' 구역(쇼츠·일정·목회편지·찬양): 오른쪽 카드 칸을 520px 하나로 — 왼쪽 끝과 폭이 모두 같게.
   3) 다른 페이지 구역 사이: 160→112, 휴대폰 104→72. 둘러보기 층 사이 128+88→96+64, 처음 오셨나요 120→88. */
.section { padding-top: 88px; }
.section:last-of-type { padding-bottom: 104px; }
body[data-section="home"] .section { padding-top: 80px; }
.letter-home .letter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.letter-home .letter-card, .events-home .ev-card, .praise-home .praise-card, .shorts-row { justify-self: stretch; width: 100%; max-width: none; }
.letter-home .section-title { font-size: 48px; }
.page-body .wrap > section + section { margin-top: 112px; }
.wl-body .wrap > section + section { margin-top: 88px; }
@media (min-width: 900px) { .tour-floor + .tour-floor { margin-top: 96px; padding-top: 64px; } }
@media (max-width: 600px) {
  .section { padding-top: 60px; } .section:last-of-type { padding-bottom: 64px; }
  body[data-section="home"] .section { padding-top: 48px; }
  body[data-section="home"] .section:last-of-type { padding-bottom: 48px; }
  .letter-home .letter-grid { grid-template-columns: minmax(0, 1fr); }
  .letter-home .section-title { font-size: 34px; }
  .page-body .wrap > section + section { margin-top: 72px; }
  .wl-body .wrap > section + section { margin-top: 64px; }
}

/* 첫 화면 쇼츠: 제목은 위, 영상은 화면 폭 가득 한 줄 (11/20 — "PC에서 셋은 적고 여백이 남음")
   컴퓨터 다섯 편(1100px 넘으면), 그보다 좁으면 넷, 휴대폰은 여섯 편을 옆으로 넘김 */
.shorts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.shorts-head > div { display: flex; flex-direction: column; gap: 14px; }
.shorts-home .section-title { font-size: 48px; }
.shorts-home .shorts-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: none; width: 100%; }
.shorts-home .short { max-width: none; }
.shorts-home .short:nth-child(n+6) { display: none; }
.short img { object-fit: cover; }
@media (max-width: 1100px) { .shorts-home .shorts-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .shorts-home .short:nth-child(n+5) { display: none; } }
@media (max-width: 600px) {
  .shorts-head { margin-bottom: 18px; }
  .shorts-home .section-title { font-size: 34px; }
  .shorts-home .shorts-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 4px; gap: 10px; scrollbar-width: none; }
  .shorts-home .short, .shorts-home .short:nth-child(n+5) { display: block; flex: 0 0 42%; }
}

/* 바닥글 움직임 (11/20 — 목사님 "제안대로"): ① 하늘빛이 아주 천천히 물들며 오르내림(36초 한 번 왕복) ② 슬로건이 손으로 쓰듯 왼쪽부터 한 글자씩
   '동작 줄이기' 기기에서는 둘 다 멈춤(지금처럼 보임) */
.site-footer { background-size: 100% 180%; background-position: 50% 0%; animation: footer-sky 12s ease-in-out infinite alternate; }
@keyframes footer-sky { to { background-position: 50% 100%; } }
.motto-wait .mch { opacity: 0; transform: none; clip-path: inset(0 100% 0 0); }
.motto-go .mch { opacity: 0; transform: none; clip-path: inset(0 100% 0 0); filter: blur(3px); animation: motto-write .7s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes motto-write { 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 -10% 0 0); filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .site-footer { animation: none; background-size: auto; }
  .motto-go .ch, .motto-wait .mch { animation: none; opacity: 1; clip-path: none; filter: none; }
}

/* 바닥글 SNS: 흰 동그라미 + 원색 로고 → 하늘빛에 녹는 반투명 유리 알약 + 선 아이콘 + 이름 (11/20 — "덜 예뻐, 신선하게") */
.site-footer .social { gap: 10px; align-items: center; }
.site-footer .social a { width: auto; height: 46px; padding: 0 20px 0 16px; gap: 9px; border-radius: 999px; color: #23302F; font-size: calc(14.5px * var(--fs)); font-weight: 600; letter-spacing: 0.01em;
  background: rgba(255,255,255,0.28); border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 6px 24px rgba(35,48,47,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); transition: background .25s, transform .25s, box-shadow .25s; }
.site-footer .social a:hover { background: rgba(255,255,255,0.85); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(35,48,47,0.14); }
.site-footer .social a svg { flex: none; }
@media (max-width: 600px) { .site-footer .social a { height: 42px; padding: 0 16px 0 13px; font-size: calc(13.5px * var(--fs)); } }

/* 바닥글 구름 (11/20 — "구름 흘러가게", 하늘빛도 36초→12초로 빠르게) */
.site-footer { position: relative; overflow: hidden; }
.site-footer > .wrap, .site-footer > .colors { position: relative; z-index: 1; }
.footer-clouds { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.footer-clouds i { position: absolute; left: 0; display: block; width: 260px; height: 70px; border-radius: 999px; background: rgba(255,255,255,0.55); filter: blur(10px);
  animation: cloud-drift 28s linear infinite; transform: translateX(-320px); }
.footer-clouds i::before, .footer-clouds i::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.footer-clouds i::before { width: 120px; height: 100px; left: 40px; top: -46px; }
.footer-clouds i::after { width: 90px; height: 76px; left: 130px; top: -30px; }
.footer-clouds i:nth-child(1) { top: 14%; animation-duration: 55s; animation-delay: -8s; }
.footer-clouds i:nth-child(2) { top: 46%; width: 200px; height: 56px; opacity: .75; animation-duration: 72s; animation-delay: -38s; }
.footer-clouds i:nth-child(3) { top: 24%; width: 320px; height: 80px; opacity: .6; animation-duration: 85s; animation-delay: -62s; }
.footer-clouds i:nth-child(4) { top: 66%; width: 180px; height: 50px; opacity: .5; animation-duration: 64s; animation-delay: -26s; }
@keyframes cloud-drift { from { transform: translateX(-360px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes cloud-drift-s { from { transform: translateX(-360px) scale(.55); } to { transform: translateX(calc(100vw + 40px)) scale(.55); } }
@media (max-width: 600px) { .footer-clouds i { animation-name: cloud-drift-s; background: rgba(255,255,255,0.4); transform-origin: left center; } }
@media (prefers-reduced-motion: reduce) { .footer-clouds { display: none; } }

/* 바닥글 SNS: 아이폰 '리퀴드 글래스' 느낌 (11/20 — "요즘 아이폰 유리 느낌이 더 들도록")
   더 맑고(투명도↑), 뒤 구름이 흐리게 비치고(블러·채도↑), 가장자리에 빛이 맺히는 테두리(왼쪽 위 밝게 → 오른쪽 아래 옅게) */
.site-footer .social a { position: relative; isolation: isolate; overflow: hidden; border: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.10));
  -webkit-backdrop-filter: blur(18px) saturate(1.9) brightness(1.06); backdrop-filter: blur(18px) saturate(1.9) brightness(1.06);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95), inset 0 -1px 1px rgba(255,255,255,0.35), inset 0 0 14px rgba(255,255,255,0.28), 0 10px 30px rgba(30,55,60,0.14), 0 1px 2px rgba(30,55,60,0.08); }
.site-footer .social a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.site-footer .social a::after { content: ""; position: absolute; left: 12%; right: 12%; top: 2px; height: 42%; border-radius: 999px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0)); }
.site-footer .social a:hover { background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.22)); transform: translateY(-2px) scale(1.02); }
.site-footer .social a:active { transform: scale(0.97); }

/* 구름은 뺌 (11/20 06:32 목사님) — layout.js에서 .footer-clouds도 지움 */
.footer-clouds { display: none; }

/* '이어서' 카드: 살짝 유리 느낌 (11/20 — 바닥글 단추와 같은 결)
   밝은 바탕에서는 비칠 것이 없어 유리가 안 보이므로, 카드 줄 뒤에 아주 옅은 하늘·살구·연두 빛을 깔고 그 위에 반투명 카드 */
.nx-row { position: relative; isolation: isolate; }
.nx-row::before { content: ""; position: absolute; inset: -18px -10px; z-index: -1; pointer-events: none; filter: blur(28px); opacity: .75;
  background: radial-gradient(40% 70% at 12% 50%, rgba(156,205,210,.55), transparent 70%), radial-gradient(35% 70% at 55% 60%, rgba(236,200,192,.5), transparent 70%), radial-gradient(35% 70% at 92% 40%, rgba(196,222,170,.45), transparent 70%); }
.nx-card { position: relative; border: 0; background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.48));
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 0 12px rgba(255,255,255,.35), 0 8px 26px -14px rgba(30,55,60,.22), 0 1px 2px rgba(30,55,60,.05); }
.nx-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,.2) 45%, rgba(170,190,195,.35) 75%, rgba(255,255,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.nx-card:hover, .nx-card:focus-visible { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.62)); box-shadow: inset 0 1px 1px #fff, inset 0 0 12px rgba(255,255,255,.4), 0 14px 32px -14px rgba(30,55,60,.3); }
[data-theme="light"] .nx-ic, :root:not([data-theme="dark"]) .nx-ic, .nx-ic { background: linear-gradient(180deg, rgba(234,245,251,.95), rgba(214,234,244,.7)); box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -1px 1px rgba(150,190,210,.25); }

/* 전도편지 목록: 글 앞에 그 편지의 그림을 작은 타일로 (11/20) */
.lt-list a { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.lt-list .lt-thumb { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.lt-list .lt-thumb img, .lt-list .lt-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lt-list b, .lt-list span:not(.lt-thumb) { grid-column: 2; }
.lt-list em { grid-column: 3; }
.lt-list a:hover .lt-thumb img, .lt-list a:hover .lt-thumb svg { transform: scale(1.06); transition: transform .4s ease; }
@media (max-width: 600px) {
  .lt-list a { gap: 2px 12px; padding: 12px 2px; }
  .lt-list .lt-thumb { width: 60px; height: 60px; border-radius: 12px; }
  .lt-list em { grid-column: 2; grid-row: auto; font-size: calc(12px * var(--fs)); }
}
.lt-list b { align-self: end; } .lt-list span:not(.lt-thumb) { align-self: start; margin-top: 4px; }
@media (max-width: 600px) { .lt-list .lt-thumb { grid-row: 1 / span 3; align-self: center; } }
/* 전도편지 그림 타일: 갤럭시 앱 아이콘처럼 더 둥글게 (11/20) */
.lt-list .lt-thumb, .lt-list .lt-thumb img, .lt-list .lt-thumb svg { border-radius: 32%; }
@media (max-width: 600px) { .lt-list .lt-thumb, .lt-list .lt-thumb img, .lt-list .lt-thumb svg { border-radius: 32%; } }

/* 전도편지 목록 아이콘: 한 장으로 모은 그림(바둑판 11×11)에서 잘라 보여 줌 + 받으면 부드럽게 나타남 (11/20) */
.lt-list .lt-thumb { background: var(--surface-2) url("../img/letters-thumbs.webp") no-repeat; background-size: 1100% 1100%; }
.lt-list .lt-thumb { opacity: 0; transform: scale(.94); transition: opacity .5s ease, transform .5s ease; }
.lt-list.thumbs-ready .lt-thumb { opacity: 1; transform: none; }
.lt-list a:hover .lt-thumb { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .lt-list .lt-thumb { transition: none; } }

/* 우리가 믿는 것 (11/20 — 목사님 "제안대로"): ① 요리문답 제1문을 명조로 크게 ② 세 항목을 '이어서'와 같은 살짝 유리 카드로, 카드마다 더 알아볼 곳 */
.bf-q { display: block; margin: 8px 0 40px; padding: 44px 48px 36px; border-radius: var(--radius-l, 22px); text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(219,236,237,.85), rgba(236,200,192,.45)); box-shadow: inset 0 1px 1px rgba(255,255,255,.9); }
.bf-q:hover { opacity: 1; }
.bf-k { display: block; font-size: calc(13.5px * var(--fs)); font-weight: 700; letter-spacing: .04em; color: var(--sky-t, #2D6A86); margin-bottom: 18px; }
.bf-ask { display: block; quotes: none; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; letter-spacing: -0.03em; color: var(--head); word-break: keep-all; }
.bf-ans { display: block; margin-top: 18px; max-width: 40em; font-family: var(--serif); font-size: calc(18px * var(--fs)); line-height: 1.85; color: var(--ink-2); word-break: keep-all; }
.bf-go { display: inline-block; margin-top: 22px; font-size: calc(15px * var(--fs)); font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.bf-q:hover .bf-go span { display: inline-block; transform: translateX(3px); transition: transform .2s; }
.bf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; isolation: isolate; }
.bf-cards::before { content: ""; position: absolute; inset: -18px -10px; z-index: -1; pointer-events: none; filter: blur(28px); opacity: .75;
  background: radial-gradient(40% 70% at 12% 50%, rgba(156,205,210,.55), transparent 70%), radial-gradient(35% 70% at 55% 60%, rgba(236,200,192,.5), transparent 70%), radial-gradient(35% 70% at 92% 40%, rgba(196,222,170,.45), transparent 70%); }
.bf-cards .nx-card { align-items: flex-start; padding: 22px 18px 20px; }
.bf-cards .nx-tx { gap: 6px; }
.bf-cards .nx-tx small { -webkit-line-clamp: 4; }
.bf-cards .nx-tx em { order: 3; margin-top: 6px; font-size: calc(13px * var(--fs)); color: var(--sky-t); }
.bf-cards .nx-go { align-self: center; }
@media (max-width: 900px) { .bf-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .bf-q { padding: 28px 22px 24px; margin-bottom: 28px; }
  .bf-ans { font-size: calc(16px * var(--fs)); }
}

/* 첫 화면 요리문답 카드 (11/20, 목회편지 자리) — 질문은 명조로 */
.cat-home .letter-kicker { color: var(--sky-t, #2D6A86); }
.cat-home .letter-card b { font-family: var(--serif); font-weight: 600; font-size: calc(23px * var(--fs)); line-height: 1.5; word-break: keep-all; }
.cat-home .letter-excerpt { font-family: var(--serif); }
@media (max-width: 600px) { .cat-home .letter-card b { font-size: calc(19px * var(--fs)); } .cat-home .letter-excerpt { display: -webkit-box; } }

/* 메뉴 서랍 스크롤 (11/20 — "세로 메뉴 스크롤이 안돼"): 화면 높이를 꽉 채우고 서랍 안에서만 스크롤, 뒤 페이지는 멈춤 */
.drawer { height: 100vh; height: 100dvh; }
.drawer-panel { height: 100%; max-height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.drawer-panel > * { flex-shrink: 0; }
html.drawer-lock, html.drawer-lock body { overflow: hidden; }

/* 11/20 첫 화면 비전십일만 사진: 작은 사진(img/vision/home) + 넷이 함께 나타남 */
.plant-cards .ph { background: color-mix(in srgb, var(--line) 55%, transparent); aspect-ratio: 4 / 3; }
.plant-cards .ph img { opacity: 0; transition: opacity .5s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.plant-cards.ph-ready .ph img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .plant-cards .ph img { transition: none; } }
/* 11/20 비전십일만 페이지: 사진이 살며시 나타남(js/vision.js) */
img.img-fade { opacity: 0; transition: opacity .45s ease; }
img.img-fade.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { img.img-fade { opacity: 1; transition: none; } }
.vision-map img, .plant-photo, .v-minister img, .v-hero img { background: color-mix(in srgb, var(--line) 45%, transparent); }

/* 11/20 갤럭시 폴드를 펼친 폭(약 700~900px): 제목 옆 카드 구역이 두 칸이면 제목이 세로로 한 글자씩 갇힘 → 900px 밑에서는 한 줄로 쌓기 */
@media (max-width: 899px) {
  .letter-home .letter-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 11/20 설교로 답하다: 답을 기다리는 동안 생각하는 움직임 */
.ask-thinking { padding: 24px 22px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ask-think-head { display: flex; align-items: center; gap: 14px; font-size: calc(17px * var(--fs)); color: var(--ink); }
.ask-think-step { transition: opacity .35s ease, transform .35s ease; }
.ask-think-step.out { opacity: 0; transform: translateY(4px); }
.ask-dots { display: inline-flex; gap: 6px; flex: none; }
.ask-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--peach-deep); opacity: .25; animation: askBreath 1.4s ease-in-out infinite; }
.ask-dots i:nth-child(2) { animation-delay: .2s; }
.ask-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes askBreath { 0%, 100% { opacity: .25; transform: scale(.85); } 45% { opacity: 1; transform: scale(1.1); } }
.ask-think-lines { display: grid; gap: 12px; margin-top: 22px; }
.ask-think-lines span { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line-soft) 0%, var(--line) 50%, var(--line-soft) 100%); background-size: 200% 100%; animation: askShimmer 1.8s ease-in-out infinite; }
.ask-think-lines span:nth-child(2) { width: 92%; animation-delay: .15s; }
.ask-think-lines span:nth-child(3) { width: 64%; animation-delay: .3s; }
@keyframes askShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ask-dots i, .ask-think-lines span { animation: none; } .ask-dots i { opacity: .6; } .ask-think-step { transition: none; } }

/* 11/20 섬기는 이: 목양장로(사진은 나중에 — 지금은 빈 자리) */
.elders { margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--line); }
.elders-h { margin: 0 0 20px; font-size: calc(24px * var(--fs)); font-weight: 700; letter-spacing: -0.03em; }
.elder-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 150px)); gap: 24px 28px; }
.elder-list li { display: flex; flex-direction: column; gap: 12px; }
.elder-ph { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-soft); }
.elder-ph svg { width: 38%; fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.elder-list b { font-size: calc(18px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 760px) { .elder-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; } .elder-list b { font-size: calc(16px * var(--fs)); } }

.elder-list + .elders-h { margin-top: 36px; }

/* 첫 화면 버튼 3개: 휴대폰에서는 처음 오셨나요 한 줄, 아래 두 개 */
@media (max-width: 760px) {
  .hero-actions .btn:first-child { flex: 1 1 100%; }
  .hero-actions .btn.line { flex: 1 1 0; }
}

/* 첫 화면: 처음 오셨나요? 분홍, 나머지 두 개는 유리 */
.hero-actions .hero-visit { background: #F2A7B5; border-color: #F2A7B5; color: #3A2228; }
.hero-actions .hero-visit:hover { color: #3A2228; opacity: .9; }
.hero-actions .btn.line {
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(255,255,255,0.75);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 20px rgba(40,50,70,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--head);
}
.hero-actions .btn.line:hover { background: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.95); }
[data-theme="dark"] .hero-actions .btn.line { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); color: var(--ink); }
/* 처음 오셨나요? 옅은 분홍 유리 */
.hero-actions .hero-visit {
  background: rgba(250,190,200,0.62);
  border: 1px solid rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 20px rgba(200,110,130,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  color: #4A2A32;
}
.hero-actions .hero-visit:hover { background: rgba(250,190,200,0.75); color: #4A2A32; opacity: 1; }
[data-theme="dark"] .hero-actions .hero-visit { background: rgba(246,182,196,0.22); border-color: rgba(255,255,255,0.2); color: #FCE4EA; }
/* 말씀새김: 옅은 파랑 유리 */
.hero-actions .btn.line.hero-word {
  background: rgba(176,218,244,0.6);
  box-shadow: 0 6px 20px rgba(70,130,180,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
  color: #1F3A4D;
}
.hero-actions .btn.line.hero-word:hover { background: rgba(176,218,244,0.75); }
[data-theme="dark"] .hero-actions .btn.line.hero-word { background: rgba(176,218,244,0.2); color: #E3F2FC; }
/* 전체 메뉴: 오른쪽에서 밀려 나오기 */
.drawer { display: block; visibility: hidden; overflow: hidden; background: rgba(0,0,0,0); transition: background .3s ease, visibility 0s linear .32s; }
.drawer.open { visibility: visible; background: rgba(0,0,0,0.5); transition: background .3s ease, visibility 0s; }
.drawer .drawer-panel { transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.8,.3,1); box-shadow: -12px 0 32px rgba(0,0,0,0.12); }
.drawer.open .drawer-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer .drawer-panel { transition: none; } }
/* A안: 로고색(살구 코랄 · 하늘) */
.hero-actions .hero-visit { background: rgba(245,174,142,0.30); color: #7A3A1E; box-shadow: 0 4px 14px rgba(169,74,38,.08), inset 0 1px 0 rgba(255,255,255,.9); }
.hero-actions .hero-visit:hover { background: rgba(245,174,142,0.42); color: #7A3A1E; }
.hero-actions .btn.line.hero-word { background: rgba(189,228,248,0.38); color: #1F4E6E; box-shadow: 0 4px 14px rgba(43,111,153,.08), inset 0 1px 0 rgba(255,255,255,.9); }
.hero-actions .btn.line.hero-word:hover { background: rgba(189,228,248,0.55); }
[data-theme="dark"] .hero-actions .hero-visit { background: rgba(245,174,142,0.18); color: #F9D9CA; }
[data-theme="dark"] .hero-actions .btn.line.hero-word { background: rgba(189,228,248,0.16); color: #D9EEFA; }
/* A안: 로고색 유리 (코랄 · 하늘) */
.hero-actions .hero-visit { background: rgba(245,174,142,0.30); color: #7A3A1E; box-shadow: 0 4px 14px rgba(169,74,38,0.08), inset 0 1px 0 rgba(255,255,255,0.9); }
.hero-actions .hero-visit:hover { background: rgba(245,174,142,0.42); color: #7A3A1E; }
.hero-actions .btn.line.hero-word { background: rgba(189,228,248,0.38); color: #1F4E6E; box-shadow: 0 4px 14px rgba(43,111,153,0.08), inset 0 1px 0 rgba(255,255,255,0.9); }
.hero-actions .btn.line.hero-word:hover { background: rgba(189,228,248,0.52); }
[data-theme="dark"] .hero-actions .hero-visit { background: rgba(245,174,142,0.2); color: #FBD9C9; }
[data-theme="dark"] .hero-actions .btn.line.hero-word { background: rgba(189,228,248,0.16); color: #DCEFFB; }
/* (11/20 20:04) 머리줄 처음 오셨나요는 늘 보이게 — 숨기는 규칙 뺌 */
/* 메뉴 묶음: 아래로 미끄러지듯 열고 닫기 */
.drawer-group:not(.open) a { display: block; }
.drawer-group h2, .drawer-group.open h2 { margin-bottom: 0; }
.drawer-links { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s cubic-bezier(.22,.8,.3,1), visibility 0s linear .3s; }
.drawer-links > div { overflow: hidden; min-height: 0; }
.drawer-links a { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .25s ease; }
.drawer-group.open .drawer-links { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s cubic-bezier(.22,.8,.3,1), visibility 0s; }
.drawer-group.open .drawer-links > div { padding-top: 6px; }
.drawer-group.open .drawer-links a { opacity: 1; transform: none; transition-delay: .06s; }
@media (prefers-reduced-motion: reduce) { .drawer-links, .drawer-links a { transition: none; } }
/* 첫 화면 단추 셋: 모두 흰 투명 유리로 통일 (11/20 19:40) */
.hero-actions .btn.hero-visit, .hero-actions .btn.line, .hero-actions .btn.line.hero-word {
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(255,255,255,0.75);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 20px rgba(40,50,70,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--head);
}
.hero-actions .btn.hero-visit:hover, .hero-actions .btn.line:hover, .hero-actions .btn.line.hero-word:hover { background: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.95); color: var(--head); opacity: 1; }
[data-theme="dark"] .hero-actions .btn.hero-visit, [data-theme="dark"] .hero-actions .btn.line, [data-theme="dark"] .hero-actions .btn.line.hero-word { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); color: var(--ink); }
/* 처음 오셨나요?: 덜 투명한 흰 유리 (11/20 19:45) */
.hero-actions .btn.hero-visit { background: rgba(255,255,255,0.72); border-color: rgba(255,255,255,0.95); box-shadow: 0 6px 20px rgba(40,50,70,0.10), inset 0 1px 0 rgba(255,255,255,1); }
.hero-actions .btn.hero-visit:hover { background: rgba(255,255,255,0.86); }
[data-theme="dark"] .hero-actions .btn.hero-visit { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.26); }
/* 처음 오셨나요?: 글씨 살짝 더 굵게 (11/20 19:47) */
.hero-actions .btn.hero-visit { font-weight: 700; }
/* 첫 화면 여는 장면: 큰 제목만 가운데 → 누르면 아래 내용이 올라옴 (11/20 19:50, js/intro.js) */
html.intro, html.intro body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.intro #hero-title { opacity: 0; }
html.intro.intro-ready #hero-title { opacity: 1; transform: translateY(var(--intro-dy, 0px)); }
html.intro .hero-top, html.intro .hero-note-w, html.intro .hero-en, html.intro .hero-row, html.intro .hero-photo, html.intro .quick-wrap, html.intro .hero-test,
html.intro main > section:not(.hero), html.intro .site-footer { opacity: 0; transform: translateY(18vh); pointer-events: none; }
html.intro .hero { border-bottom-color: transparent; }
html.intro-go #hero-title { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
html.intro-go .hero-top { transition: opacity .6s ease .25s, transform .9s cubic-bezier(.2,.8,.2,1) .05s; }
html.intro-go .hero-en { transition: opacity .6s ease .12s, transform .85s cubic-bezier(.2,.8,.2,1) .06s; }
html.intro-go .hero-row, html.intro-go .hero-photo, html.intro-go .quick-wrap, html.intro-go .hero-test { transition: opacity .6s ease .18s, transform .9s cubic-bezier(.2,.8,.2,1) .1s; }
html.intro-go main > section:not(.hero), html.intro-go .site-footer { transition: opacity .6s ease .26s, transform 1s cubic-bezier(.2,.8,.2,1) .14s; }
.intro-hint { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--head); display: flex; align-items: center; justify-content: center; cursor: pointer; animation: intro-bob 1.8s ease-in-out infinite; transition: opacity .35s ease; }
.intro-hint.out { opacity: 0; pointer-events: none; }
@keyframes intro-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
[data-theme="dark"] .intro-hint { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--ink); }
html.intro .hero .giant { opacity: 0; }
html.intro-go .hero .giant { transition: opacity 1s ease .3s; }
/* 첫 화면 하늘빛: 채도 낮춰 은은하게, 진한 분홍 뺌 (11/20 19:55) */
.hero .sky[data-sky="dawn"]  { background-image: radial-gradient(120% 90% at 85% 0%, #F8E7DD 0%, transparent 55%), radial-gradient(110% 80% at 10% 10%, #E9EEF5 0%, transparent 60%), linear-gradient(180deg, #FAF4EF 0%, transparent 85%); }
.hero .sky[data-sky="day"]   { background-image: radial-gradient(120% 90% at 85% 0%, #DFECF6 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #EBF2E9 0%, transparent 60%), linear-gradient(180deg, #F0F4F8 0%, transparent 85%); }
.hero .sky[data-sky="dusk"]  { background-image: radial-gradient(120% 90% at 85% 0%, #F7E1D2 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #F4EAE1 0%, transparent 60%), linear-gradient(180deg, #FAF0E8 0%, transparent 85%); }
.hero .sky[data-sky="night"] { background-image: radial-gradient(120% 90% at 85% 0%, #E2E3F0 0%, transparent 55%), radial-gradient(110% 80% at 5% 15%, #E6ECF2 0%, transparent 60%), linear-gradient(180deg, #EEEFF4 0%, transparent 85%); }
/* 큰 제목의 '오늘의 낱말' 색: 짙고 탁한 색 대신 한 단계 맑은 로고색 (큰 글씨라 대비 3:1 이상이면 충분) */
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="0"] { color: #3584B8; }
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="1"] { color: #B26F17; }
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="2"] { color: #C25A30; }
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="3"] { color: #5C8A1F; }
/* 은은한 하늘빛을 첫 화면 전체로: 위는 첫머리 하늘빛, 아래로 갈수록 바탕색으로 (11/20 19:58) */
@property --hb1 { syntax: '<color>'; inherits: true; initial-value: #F7F7F5; }
@property --hb2 { syntax: '<color>'; inherits: true; initial-value: #F7F7F5; }
:root:not([data-theme="dark"]) body[data-section="home"] {
  background: linear-gradient(180deg, var(--hb1) 0, var(--hb2) 1400px, color-mix(in srgb, var(--hb2) 45%, var(--bg)) 55%, var(--bg) 100%);
  transition: --hb1 7s ease-in-out, --hb2 7s ease-in-out;
}
body[data-section="home"]:has(.hero[data-sky="dawn"])  { --hb1: #FAF2EC; --hb2: #F6F3F1; }
body[data-section="home"]:has(.hero[data-sky="day"])   { --hb1: #EEF3F7; --hb2: #F2F5F4; }
body[data-section="home"]:has(.hero[data-sky="dusk"])  { --hb1: #FAEFE6; --hb2: #F8F2EC; }
body[data-section="home"]:has(.hero[data-sky="night"]) { --hb1: #EDEEF4; --hb2: #F2F2F5; }
:root:not([data-theme="dark"]) body[data-section="home"] .hero { border-bottom-color: transparent; }
/* 홈 바탕: 옅어졌다가 구간마다 은은한 빛이 다시 살아남 (11/20 20:01) — 왼쪽·오른쪽 번갈아, 아주 옅게 */
@property --hg1 { syntax: '<color>'; inherits: true; initial-value: #F7F7F5; }
@property --hg2 { syntax: '<color>'; inherits: true; initial-value: #F7F7F5; }
:root:not([data-theme="dark"]) body[data-section="home"] {
  background:
    radial-gradient(70% 9% at 0% 30%, var(--hg1) 0%, transparent 100%),
    radial-gradient(75% 10% at 100% 50%, var(--hg2) 0%, transparent 100%),
    radial-gradient(70% 9% at 5% 70%, var(--hg1) 0%, transparent 100%),
    radial-gradient(80% 10% at 95% 88%, var(--hg2) 0%, transparent 100%),
    linear-gradient(180deg, var(--hb1) 0, var(--hb2) 1400px, color-mix(in srgb, var(--hb2) 45%, var(--bg)) 40%, var(--bg) 100%);
  transition: --hb1 7s ease-in-out, --hb2 7s ease-in-out, --hg1 7s ease-in-out, --hg2 7s ease-in-out;
}
body[data-section="home"]:has(.hero[data-sky="dawn"])  { --hg1: #F6E8DE; --hg2: #E9EEF6; }
body[data-section="home"]:has(.hero[data-sky="day"])   { --hg1: #E5EFF6; --hg2: #EDF3E6; }
body[data-section="home"]:has(.hero[data-sky="dusk"])  { --hg1: #F7E7DA; --hg2: #EAF0F4; }
body[data-section="home"]:has(.hero[data-sky="night"]) { --hg1: #E7E8F3; --hg2: #E9EFF2; }
/* 처음 오셨나요 페이지 카드 셋: 첫 화면 '처음 오셨나요?'와 같은 흰 유리 (11/20 20:08). 아이콘 색은 그대로 */
:root:not([data-theme="dark"]) .wl-card.sky, :root:not([data-theme="dark"]) .wl-card.coral, :root:not([data-theme="dark"]) .wl-card.green {
  background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 20px rgba(40,50,70,0.08), inset 0 1px 0 rgba(255,255,255,1);
}
:root:not([data-theme="dark"]) .wl-card:hover { background: rgba(255,255,255,0.86); }
/* 처음 오셨나요: 요약 카드 셋을 뺀 뒤 첫 구역과 첫머리 사이 여백 (11/20 20:10) */
.wl-body { padding-top: 40px; }
@media (max-width: 760px) { .wl-body { padding-top: 16px; } }
/* 처음 오셨나요 첫머리: 사진 대신 하늘누림 네 빛의 은은한 조명 (11/20 20:11) */
.wl-hero { min-height: min(56vh, 480px); }
:root:not([data-theme="dark"]) .wl-hero { background:
  radial-gradient(55% 70% at 12% 18%, #E3EFF7 0%, transparent 70%),
  radial-gradient(50% 65% at 88% 12%, #F7E6DA 0%, transparent 70%),
  radial-gradient(45% 55% at 62% 62%, #F6EDDD 0%, transparent 70%),
  radial-gradient(40% 50% at 30% 78%, #EDF2E2 0%, transparent 70%),
  var(--bg); }
:root:not([data-theme="dark"]) .wl-hero::after { background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
[data-theme="dark"] .wl-hero { background: radial-gradient(55% 70% at 12% 18%, #1B2A3A 0%, transparent 70%), radial-gradient(50% 65% at 88% 12%, #3A2A22 0%, transparent 70%), var(--bg); }
@media (max-width: 760px) { .wl-hero { min-height: 340px; } }
/* 처음 오셨나요 '궁금하신 것'에도 같은 은은한 조명 (11/20 20:13) — 화면 폭 가득, 위아래는 바탕에 스며듦 */
.welcome-page { overflow-x: clip; }
.welcome-page #faq { position: relative; isolation: isolate; }
:root:not([data-theme="dark"]) .welcome-page #faq::before {
  content: ''; position: absolute; z-index: -1; left: 50%; width: 100vw; transform: translateX(-50%); top: -96px; bottom: -96px; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, #E3EFF7 0%, transparent 70%),
    radial-gradient(50% 60% at 10% 35%, #F7E6DA 0%, transparent 70%),
    radial-gradient(45% 50% at 40% 75%, #F6EDDD 0%, transparent 70%),
    radial-gradient(40% 50% at 78% 85%, #EDF2E2 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
/* 강단에 선 사람들: 유튜브 이전 설교 안내 (11/20 20:22) */
.pr-note { margin: -4px 0 22px; max-width: 640px; font-size: calc(14.5px * var(--fs)); line-height: 1.75; color: var(--muted); word-break: keep-all; }
/* 성경 책장: 두 글자 책 이름(삼상·살전 등)이 사파리에서 두 줄로 꺾여 앞뒤가 바뀌어 보이던 것 고침 (11/20 20:24) */
.bk b { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; flex: none; }
/* 성경 책장: 줄임말 대신 성경 이름 그대로 (11/20 20:26) — 일곱 글자(데살로니가전서)까지 들어가게 책 키를 키움 */
.bk { height: calc(118px + var(--k) * 46px); }
.bk b { font-size: calc(12px * var(--fs)); letter-spacing: 0; line-height: 1.02; }
.bk.none { height: 112px; }
html:not([lang="ko"]) .bk b { font-size: calc(12.5px * var(--fs)); }
/* 성경 책장: 실제 책처럼 — 책등 둥근 음영, 위·아래 금박 줄, 숫자 자리는 짙은 띠 위에 (11/20 20:30) */
.bk:not(.none) {
  background: linear-gradient(90deg, rgba(0,0,0,.10) 0%, rgba(255,255,255,.16) 28%, rgba(255,255,255,0) 58%, rgba(0,0,0,.12) 100%), var(--bgc);
  padding: 15px 0 9px;
}
.bk:not(.none)::before, .bk:not(.none)::after { content: ''; position: absolute; left: 0; right: 0; pointer-events: none; }
/* 위: 가는 금박 두 줄 */
.bk:not(.none)::before { top: 5px; height: 5px; border-top: 1px solid rgba(255,236,190,.75); border-bottom: 1px solid rgba(255,236,190,.55); }
/* 아래: 숫자가 놓이는 짙은 띠 + 띠 위아래로 걸친 금박 줄 */
.bk:not(.none)::after {
  bottom: 4px; height: 21px; border-radius: 1px;
  background: color-mix(in srgb, var(--h) 82%, #1E1A16);
  box-shadow: 0 -3px 0 -1px rgba(255,236,190,.7), 0 3px 0 -1px rgba(255,236,190,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.bk:not(.none) i { position: relative; z-index: 1; color: #fff; opacity: .95; font-weight: 600; font-size: calc(10px * var(--fs)); letter-spacing: .02em; }
.bk:not(.none) b { position: relative; z-index: 1; }

/* ===== 11/21 반영 대기 1~6 ===== */
/* 1. 홈 바탕 고르기: 하늘누림빛(.hero[data-bg="nurim"]) — 로고 네 빛이 한 겹씩 천천히 움직임 */
.hero .nurim-light { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.hero[data-bg="nurim"] .nurim-light { opacity: 1; }
.hero[data-bg="nurim"] .sky { opacity: 0 !important; }
.hero .nurim-light i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.hero .nurim-light i:nth-child(1) { width: 78vw; height: 78vw; left: -22vw; top: -30vw; background: radial-gradient(closest-side, #E3EFF7 0%, rgba(227,239,247,0) 100%); animation: nl-1 22s ease-in-out infinite alternate; }
.hero .nurim-light i:nth-child(2) { width: 70vw; height: 70vw; right: -20vw; top: -32vw; background: radial-gradient(closest-side, #F7E6DA 0%, rgba(247,230,218,0) 100%); animation: nl-2 26s ease-in-out infinite alternate; }
.hero .nurim-light i:nth-child(3) { width: 62vw; height: 62vw; left: 36vw; top: 18vw; background: radial-gradient(closest-side, #F6EDDD 0%, rgba(246,237,221,0) 100%); animation: nl-3 30s ease-in-out infinite alternate; }
.hero .nurim-light i:nth-child(4) { width: 56vw; height: 56vw; left: -6vw; top: 26vw; background: radial-gradient(closest-side, #EDF2E2 0%, rgba(237,242,226,0) 100%); animation: nl-4 24s ease-in-out infinite alternate; }
@keyframes nl-1 { to { transform: translate(14vw, 8vw); } }
@keyframes nl-2 { to { transform: translate(-12vw, 10vw); } }
@keyframes nl-3 { to { transform: translate(-16vw, -8vw); } }
@keyframes nl-4 { to { transform: translate(12vw, -10vw); } }
@media (max-width: 760px) {
  .hero .nurim-light i:nth-child(1) { width: 130vw; height: 130vw; left: -50vw; top: -40vw; }
  .hero .nurim-light i:nth-child(2) { width: 120vw; height: 120vw; right: -50vw; top: -30vw; }
  .hero .nurim-light i:nth-child(3) { width: 110vw; height: 110vw; left: 10vw; top: 40vw; }
  .hero .nurim-light i:nth-child(4) { width: 100vw; height: 100vw; left: -40vw; top: 70vw; }
}
@media (prefers-reduced-motion: reduce) { .hero .nurim-light i { animation: none; } }
[data-theme="dark"] .hero .nurim-light { opacity: 0 !important; }
[data-theme="dark"] .hero[data-bg="nurim"] .sky.on { opacity: 1 !important; }
/* 홈 전체 바탕도 하늘누림빛으로 */
body[data-section="home"]:has(.hero[data-bg="nurim"]) { --hb1: #F5F2EE; --hb2: #F6F5F2; --hg1: #F5E9DF; --hg2: #E6EEF4; }
/* 하늘누림빛일 때 큰 제목은 명조(마루부리) */
.hero[data-bg="nurim"] .display, .hero[data-bg="nurim"][data-lang="en"] .display { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; }
/* 처음 오셨나요 큰 제목 "처음이셔도 괜찮습니다"도 명조 */
.welcome-page .wl-hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; }

/* 3. 홈 큰 제목(고딕) 자간 조금 넓힘 — 큰 제목만 */
.display { letter-spacing: -0.035em; }
.hero[data-lang="en"] .display { letter-spacing: -0.03em; }

/* 4. 비전십일만 '04 / 10' — VISION 10,000 로고처럼 Pretendard 800, 로고 색 */
.count-big { font-weight: 800; letter-spacing: -0.02em; }
:root:not([data-theme="dark"]) .count-big { color: #4A5A6B; }
:root:not([data-theme="dark"]) .count-big small { color: #9AA8AE; }

/* 5. 제목 끝 마침표: 사이트 모든 제목 주황 하나로 */
:root { --dot: #EE8A3C; }
.pt, .section-title .pt, .display .pt, [data-theme="light"] .section-title .pt, [data-theme="light"] .display .pt,
.page-body h2 .pt, .motto .pt, .featured-title .pt, .welcome-page h2 .pt { color: var(--dot); }
.sky-grad .pt { -webkit-text-fill-color: var(--dot); color: var(--dot); }

/* 6. 오늘의 낱말 색: '누리며' 맑은 초록, '사람들' 조금 깊게 */
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="1"] { color: #A8651A; }
:root:not([data-theme="dark"]) .hero .display .w.today[data-w="3"] { color: #4A8C30; }
/* 하늘누림빛(명조) 큰 제목 끝 마침표: 마루부리 마침표는 붓끝 모양이라 완전한 동그라미로 그림, 조금 크게 (11/21) */
.hero[data-bg="nurim"] .display .pt { display: inline-block; width: 0.18em; height: 0.18em; margin-left: 0.05em; border-radius: 50%; background: var(--dot); color: transparent; overflow: hidden; vertical-align: baseline; }
/* 교회 소개 첫 제목 "예수를 만나, 하늘을 누리다." (11/21)
   - 그라데이션 글씨(background-clip:text)에 흐림 필터를 함께 쓰면 아이폰 사파리에서 글씨가 깨지거나 사라질 수 있어, 그라데이션 낱말은 흐림 없이 떠오르게 함
   - 끝난 뒤에는 필터를 아예 남기지 않음
   - 마침표는 마루부리 붓끝 모양 대신 완전한 주황 동그라미 */
@keyframes word-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes word-rise { to { opacity: 1; transform: none; } }
.sky-title .w.sky-grad { filter: none; animation: word-rise 1.1s cubic-bezier(.2,.7,.2,1) forwards, sky-shine 9s ease-in-out 1.8s infinite; animation-delay: calc(.25s + var(--i) * .22s), 1.8s; }
.sky-title .pt { display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.04em; border-radius: 50%; background: var(--dot); color: transparent; -webkit-text-fill-color: transparent; overflow: hidden; vertical-align: baseline; }
@media (prefers-reduced-motion: reduce) { .sky-title .w.sky-grad { animation: none !important; opacity: 1; transform: none; } }
/* 하늘누림빛 첫 화면 큰 제목: 교회 소개 "예수를 만나, 하늘을 누리다."처럼 둘째 줄을 하늘빛 그라데이션 글씨로, 천천히 빛이 흐름 (11/21 목사님 "이 디자인이 훨씬 예뻐")
   이때는 '오늘의 낱말' 색 바꿈을 쉼(첫 줄은 기본 글자색) */
:root:not([data-theme="dark"]) .hero[data-bg="nurim"] .display .line:not(:last-child) .w.today { color: var(--head); }
:root:not([data-theme="dark"]) .hero[data-bg="nurim"] .display .line:last-child .w {
  background: linear-gradient(100deg, #2B6F99 0%, #5BA7D6 35%, #9A5B12 70%, #2B6F99 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: sky-shine 9s ease-in-out 1.8s infinite; }
:root:not([data-theme="dark"]) .hero[data-bg="nurim"] .display .line:last-child .w .pt { -webkit-text-fill-color: transparent; }
@media (prefers-reduced-motion: reduce) { .hero[data-bg="nurim"] .display .line:last-child .w { animation: none; } }
/* 동그라미 마침표를 글자 아랫선에 맞게 조금 내림 (11/21 07:15) */
.hero[data-bg="nurim"] .display .pt, .sky-title .pt { position: relative; top: 0.15em; }
/* 하늘누림빛 큰 제목 나타나는 효과 (11/21 07:17) — 교회 소개 제목처럼 낱말이 흐릿하게 번지듯 차례로 또렷해짐
   첫 줄만 흐림을 씀(그라데이션 줄은 아이폰 사파리에서 흐림과 겹치면 깨질 수 있어 떠오르기만) */
.hero[data-bg="nurim"] .display .line:not(:last-child) .w { filter: blur(14px); }
.hero.ready[data-bg="nurim"] .display .w {
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.1s ease, color .6s ease;
  transition-delay: calc(.25s + var(--k, 0) * .22s), calc(.25s + var(--k, 0) * .22s), calc(.25s + var(--k, 0) * .22s), 0s; }
.hero.ready[data-bg="nurim"] .display .line:not(:last-child) .w { filter: none; }
/* 2안: 첫 줄을 짙은 회색에서 남회색 쪽으로 아주 옅게 */
:root:not([data-theme="dark"]) .hero[data-bg="nurim"][data-fx="2"] .display .line:not(:last-child) .w { color: #353A40; }
:root:not([data-theme="dark"]) .hero[data-bg="nurim"][data-fx="2"] .display .line:not(:last-child) .w + .w,
:root:not([data-theme="dark"]) .hero[data-bg="nurim"][data-fx="2"] .display .line:not(:last-child) .w:last-child { color: #3B4A5A; }
@media (prefers-reduced-motion: reduce) { .hero[data-bg="nurim"] .display .w { filter: none !important; transition: none !important; } }
/* 하루하늘빛(고딕)도 같은 결로 열림: 네 낱말이 흐릿하게 번지듯 차례로 또렷해짐 (11/21 07:20). 그라데이션·명조는 하늘누림빛만 */
.hero[data-bg="sky"] .display .w { filter: blur(14px); }
.hero.ready[data-bg="sky"] .display .w { filter: none;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.1s ease, color .6s ease;
  transition-delay: calc(.25s + var(--k, 0) * .22s), calc(.25s + var(--k, 0) * .22s), calc(.25s + var(--k, 0) * .22s), 0s; }
@media (prefers-reduced-motion: reduce) { .hero[data-bg="sky"] .display .w { filter: none !important; transition: none !important; } }
/* 첫 화면 글 줄이기 (11/21 07:25 "글씨가 많다"는 피드백): 큰 제목 아래 영어 한 줄과 소개 문장을 뺌. 큰 제목 → 단추 → 카드만 */
.hero .hero-en, .hero #hero-lead { display: none; }
.hero-row { margin-top: 64px; }
@media (max-width: 760px) { .hero-row { margin-top: 36px; } }
/* 첫 화면 뒤에 옅게 깔리던 큰 영어 글자(KINGDOM·ENJOY·EXPAND·PEOPLE)도 뺌 (11/21 07:26, 글 줄이기) */
.hero .giant { display: none !important; }
/* 비전십일만 구역 효과 (11/21 11:45 목사님 "비전과 역동, 꿈과 희망"): ① 새벽빛이 아래에서 번져 오름 ② 로고 뒤에서 씨앗빛이 피어남 ③ 세워진 교회 칸이 차례로 켜지고, 다음 칸이 숨 쉬듯 기다림.
   js/motion.js가 dawn-arm·sq-arm을 붙였을 때만 숨겼다가 보여 줌 — 스크립트가 없거나 '동작 줄이기' 기기에서는 처음부터 켜진 모습 그대로. */
.dawn-fx { position: relative; overflow: hidden; isolation: isolate; --dawn-o: 1; }
.dawn-fx > .wrap { position: relative; z-index: 1; }
.dawn-fx::before { content: ""; position: absolute; left: -15%; right: -15%; bottom: 0; height: 100%; z-index: 0; pointer-events: none; opacity: var(--dawn-o);
  background: radial-gradient(ellipse 62% 92% at 50% 100%, rgba(245,174,142,.6) 0%, rgba(249,207,157,.5) 22%, rgba(189,228,248,.34) 52%, rgba(189,228,248,0) 82%); }
.dawn-fx.dawn-arm::before { opacity: 0; transform: translateY(22%); transition: opacity 2.6s ease, transform 3.4s cubic-bezier(.2,.7,.2,1); }
.dawn-fx.dawn-arm.dawn::before { opacity: var(--dawn-o); transform: none; animation: dawn-breathe 13s ease-in-out 3.4s infinite alternate; }
@keyframes dawn-breathe { from { transform: none; } to { transform: translateY(-5%) scale(1.07); } }
[data-theme="dark"] .dawn-fx { --dawn-o: .3; }
.logo-glow { position: relative; display: block; max-width: 420px; isolation: isolate; }
.logo-glow::before { content: ""; position: absolute; left: -6%; top: 50%; width: 78%; aspect-ratio: 1.5; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249,207,157,.7) 0%, rgba(245,174,142,.3) 45%, rgba(245,174,142,0) 100%); transform: translateY(-50%); opacity: calc(var(--dawn-o) * .9); }
.dawn-arm .logo-glow::before { opacity: 0; transform: translateY(-50%) scale(.15); transition: opacity 1.8s ease .5s, transform 2.4s cubic-bezier(.2,.7,.2,1) .5s; }
.dawn-arm.dawn .logo-glow::before { opacity: calc(var(--dawn-o) * .9); transform: translateY(-50%); animation: seed-breathe 7s ease-in-out 3s infinite alternate; }
@keyframes seed-breathe { from { transform: translateY(-50%); } to { transform: translateY(-50%) scale(1.12); } }
.squares.sq-arm span.on { transform: scale(.25); opacity: 0; }
.squares.sq-arm.lit span.on { transform: none; opacity: 1;
  transition: transform .75s cubic-bezier(.2,1.6,.4,1) calc(var(--i, 0) * .3s + .2s), opacity .4s ease calc(var(--i, 0) * .3s + .2s), translate .35s cubic-bezier(.2,.7,.2,1), scale .35s cubic-bezier(.2,.7,.2,1);
  animation: sq-ring 1.5s ease-out calc(var(--i, 0) * .3s + .35s) 1; }
@keyframes sq-ring { from { box-shadow: 0 0 0 0 rgba(238,138,60,.5); } to { box-shadow: 0 0 0 16px rgba(238,138,60,0); } }
.squares.lit span.sq-next { animation: sq-next 3s ease-in-out 2s infinite; }
@keyframes sq-next { 0%, 100% { border-color: var(--line); box-shadow: 0 0 0 0 rgba(238,138,60,0); } 50% { border-color: #EE8A3C; box-shadow: 0 0 0 4px rgba(238,138,60,.14); } }
@media (prefers-reduced-motion: reduce) { .dawn-fx::before, .logo-glow::before, .squares span { animation: none !important; transition: none !important; } }
/* 비전십일만 (11/21 12:39 목사님): 반딧불이와 로고 앞 하얀 빛 퍼짐은 뺌. 로고 뒤 빛은 주황 대신 흰색. 구역이 화면 밖이면 .fx-off로 움직임을 멈춤(배터리). */
.logo-glow::before { left: -10%; width: 92%; aspect-ratio: 1.7;
  background: radial-gradient(closest-side, #fff 0%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.5) 65%, rgba(255,255,255,0) 100%); }
[data-theme="dark"] .logo-glow::before { background: radial-gradient(closest-side, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 50%, rgba(255,255,255,0) 100%); }
.dawn-fx.fx-off::before, .fx-off .logo-glow::before, .fx-off .squares span { animation-play-state: paused !important; }
/* 흰 빛이 글자를 덮어 흐려 보이지 않게: 빛은 로고 뒤에만, 옆 글자·단추는 그 위로 */
.vision-home .logo-glow { z-index: 0; }
.vision-home .vision > div > :not(.logo-glow) { position: relative; z-index: 1; }
/* 새벽빛이 마우스·손가락을 따라감 (11/21 12:42 목사님). js/motion.js가 --gx·--gy(px)를 바꾸고, translate로 옮겨 가볍게. 손을 떼면 제자리로 */
.dawn-fx::before { translate: var(--gx, 0px) var(--gy, 0px);
  /* 빛 판을 구역의 두 배로 키우고 빛 중심을 판 한가운데(= 구역 아래 가운데)에 둠 → 옮겨도 판 가장자리가 보이지 않음 */
  left: -50%; right: auto; width: 200%; top: 0; bottom: auto; height: 200%;
  /* 12:49 목사님 "세로로 길쭉" → 구역 비율 대신 화면 너비 기준의 동그란 빛 */
  background: radial-gradient(circle clamp(340px, 60vw, 860px) at 50% 50%, rgba(245,174,142,.6) 0%, rgba(249,207,157,.5) 22%, rgba(189,228,248,.34) 52%, rgba(189,228,248,0) 82%); }
.dawn-fx.dawn-arm::before { transform: translateY(11%); }
.dawn-fx.dawn-arm.dawn::before { transform: none; animation-name: dawn-breathe2; }
@keyframes dawn-breathe2 { from { transform: none; } to { transform: translateY(-2.5%) scale(1.05); } }
.dawn-fx.dawn-arm::before { transition: opacity 2.6s ease, transform 3.4s cubic-bezier(.2,.7,.2,1), translate 1.4s cubic-bezier(.2,.7,.2,1); }
.dawn-fx.follow::before { transition: opacity 2.6s ease, transform 3.4s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .dawn-fx::before { translate: none !important; } }
/* 비전십일만 페이지 첫 부분에도 같은 효과 (11/21 12:44 목사님). 화면 폭 전체로 빛이 번지도록 .wrap 바깥에 .dawn-fx를 둠 */
.v-dawn { margin-top: -64px; padding: 64px 0 128px; }
.v-dawn + .wrap > .v-intro-rest { margin-top: -40px; }
.v-dawn .logo-glow { max-width: 520px; z-index: 0; }
.v-dawn .v-intro > :not(.logo-glow) { position: relative; z-index: 1; }
.v-dawn + .wrap > .v-intro-rest { margin-top: 8px; }
.page-body .wrap > .v-intro-rest + section { margin-top: 112px; }
/* 교회 칸 맨 오른쪽 '북한' 글씨 키움 (11/21 12:47 목사님 "2배 정도"). 칸 크기에 맞춰 커지도록 칸 줄 너비 기준(cqw) — 칸을 넘지 않는 가장 큰 크기 */
.squares { container-type: inline-size; }
.squares .nk { font-size: clamp(12px, 1.6vw, 18px); font-size: max(11px, 2.2cqw); /* 11/21 12:49 "아까와 지금의 중간" 3.2cqw → 11/23 21:46 "너무 크다" 2.2cqw */ font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
/* 동그란 빛이 위로 따라가도 구역 윗선에서 뚝 잘리지 않게, 맨 위 56px은 서서히 사라지게(글은 그 아래부터라 영향 없음).
   비전십일만 페이지는 아래쪽도 서서히(다음 글과 맞닿는 곳) */
.dawn-fx { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px); mask-image: linear-gradient(to bottom, transparent 0, #000 56px); }
.v-dawn { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 calc(100% - 110px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 56px, #000 calc(100% - 110px), transparent 100%); }
/* 교회 사진 ↔ 교회 칸 짝 짓기 (11/21 12:53 목사님): 사진이나 칸을 가리키면 같은 번째의 사진과 칸에 하얀 테두리가 은은하게 깜빡임. js/dawn.js가 .pair를 붙임 */
.plant-cards .ph { position: relative; }
.plant-cards .ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.95), inset 0 0 22px rgba(255,255,255,.55); }
.plant-cards a.pair .ph::after { opacity: 1; animation: pair-blink 1.4s ease-in-out .35s infinite alternate; }
.squares span.on { position: relative; transition: translate .35s cubic-bezier(.2,.7,.2,1), scale .35s cubic-bezier(.2,.7,.2,1); }
.squares span.on::after { content: ""; position: absolute; inset: -4px; border-radius: 5px; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  box-shadow: 0 0 0 2px #fff, 0 0 14px 3px rgba(255,255,255,.95), 0 6px 14px rgba(59,74,90,.16); }
.squares span.on.pair { translate: 0 -4px; scale: 1.1; z-index: 1; }
.squares span.on.pair::after { opacity: 1; animation: pair-blink 1.4s ease-in-out .35s infinite alternate; }
@keyframes pair-blink { from { opacity: 1; } to { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .plant-cards a.pair .ph::after, .squares span.on.pair::after { animation: none; } .squares span.on.pair { translate: none; scale: none; } }
/* 비전십일만 페이지: 사진 줄을 눌러 내려간 교회의 대표 사진에 하얀 테두리가 세 번 은은하게 깜빡임 (11/21 12:55) */
.v-church.arrive .plant-photo { outline: 3px solid rgba(255,255,255,0); outline-offset: -3px; animation: target-blink 1.4s ease-in-out .5s 3; }
@keyframes target-blink { 50% { outline-color: rgba(255,255,255,.95); box-shadow: 0 0 0 4px rgba(255,255,255,.5), 0 0 24px rgba(255,255,255,.6); } }
@media (prefers-reduced-motion: reduce) { .v-church.arrive .plant-photo { animation: none; } }
/* 북한 칸·북한 칩을 누르면 컴패션 북한어린이센터(ministries.html#compassion)로 (11/21 12:56 목사님) */
.squares a.nk { aspect-ratio: 1; border-radius: 2px; text-decoration: none; transition: filter .2s ease, translate .25s ease, box-shadow .25s ease; }
.squares a.nk:hover, .squares a.nk:focus-visible { filter: brightness(1.15); translate: 0 -3px; box-shadow: 0 6px 14px rgba(0,105,183,.28); }
.nk-note .nk-chip { transition: filter .2s ease; }
.nk-note .nk-chip:hover, .nk-note .nk-chip:focus-visible { filter: brightness(1.15); }
/* 다음공동체 카드(예배 안내) → 사역과 선교의 그 부서로 (11/21 13:01 목사님). 도착한 부서는 바탕이 한 번 은은하게 밝아짐 */
a.ng-card { display: block; color: inherit; text-decoration: none; }
a.ng-card:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
/* 13:06 목사님 "이거 좋아, 다른 것들도" → 사역과 선교의 모든 사역(.ministry), 비전십일만의 교회 소개(.v-church), 구역 바로가기로 온 구역의 첫 사역에도 같은 도착 표시 */
/* 13:11 "아코디언 메뉴로 들어갈 때도" → :target 대신 js/layout.js가 붙이는 .arrive로(같은 페이지 안 이동·다시 누르기도). 사역·교회 소개·구역·어느 자리든 */
.arrive { animation: dept-arrive 2.4s ease .4s 1; border-radius: 12px; }
@keyframes dept-arrive { 30% { background: color-mix(in srgb, var(--sky) 28%, transparent); box-shadow: 0 0 0 12px color-mix(in srgb, var(--sky) 28%, transparent); } }
@media (prefers-reduced-motion: reduce) { .arrive { animation: none; } }
/* 예배 안내 예배·모임 줄 → 관련 페이지 (11/21 13:04 목사님). 가리키면 오른쪽에 화살표가 살며시 */
a.time-card { color: inherit; text-decoration: none; }
.wc a.time-card.go { cursor: pointer; }
.time-card .tc-go { position: absolute; right: 22px; top: 50%; translate: -6px -50%; opacity: 0; font-size: calc(22px * var(--fs)); color: var(--c); transition: opacity .25s, translate .25s; }
.time-card.go.hot .tc-go, .time-card.go:focus-visible .tc-go { opacity: 1; translate: 0 -50%; }
@media (hover: none) { .time-card.go .tc-go { opacity: .6; translate: 0 -50%; } }
/* 비전팀사역 목록 → 관련 부서·페이지 바로가기 (11/21 13:13 목사님). 연결된 팀만 글씨가 조금 진하고, 가리키면 밑줄과 화살표 */
.teams li a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease, color .2s; }
.teams li a::after { content: " →"; opacity: .3; transition: opacity .2s; } /* 연결된 팀인 줄 알 수 있게 화살표를 늘 옅게 */
.teams li a:hover, .teams li a:focus-visible { color: var(--head); background-size: 100% 1px; }
.teams li a:hover::after, .teams li a:focus-visible::after { opacity: .7; }
@media (hover: none) { .teams li a::after { opacity: .45; } }
/* 첫 화면 LATEST MESSAGE 줄이 단추 줄·전도편지 카드보다 튀어나오던 것 (11/21 13:25 목사님): 왼쪽 칸 너비를 단추 줄에 맞추고, 설교 줄은 그 너비를 넘지 않게(긴 제목은 … 으로) */
.hero-copy { flex: 0 1 auto; width: fit-content; max-width: min(100%, 520px); }
.hero-copy .latest { contain: inline-size; width: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .hero-copy { flex: 1 1 100%; width: 100%; max-width: 100%; } }
/* ===== 성경 책장 — 미니멀 (11/21 13:41 목사님 "더 미니멀한 예쁜 디자인, 약어로 창·출·레…") =====
   금박·음영·짙은 띠를 모두 걷고, 평평한 색 막대 + 위에 약어, 아래에 설교 수. 설교가 많을수록 키가 크고 색이 짙음. 설교 없는 책은 가는 선만. */
.bk-shelf { gap: 4px; row-gap: 18px; padding: 0; border-bottom: 1px solid var(--line); }
.bk-label { padding-bottom: 6px; }
.bk, .bk:not(.none) {
  --bgc: color-mix(in srgb, var(--h) calc(var(--k) * 80% + 9%), var(--surface));
  height: calc(40px + var(--k) * 104px); padding: 9px 0 7px; border-radius: 6px 6px 0 0;
  background: var(--bgc); box-shadow: none; color: var(--head);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .25s, box-shadow .25s; }
.bk:not(.none)::before, .bk:not(.none)::after { content: none; display: none; }
#bk-ot .bk { --h: #A86F35; }   /* 구약: 따뜻한 모래빛 */
#bk-nt .bk { --h: #3C6A93; }   /* 신약: 차분한 하늘빛 */
.bk b, .bk:not(.none) b { writing-mode: horizontal-tb; text-orientation: mixed; font-size: calc(12.5px * var(--fs)); font-weight: 700; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.bk i, .bk:not(.none) i { color: inherit; opacity: .72; font-size: calc(10.5px * var(--fs)); font-weight: 600; letter-spacing: 0; }
.bk[style*="--k:0.6"], .bk[style*="--k:0.7"], .bk[style*="--k:0.8"], .bk[style*="--k:0.9"], .bk[style*="--k:1"] { color: #fff; }
.bk:hover, .bk:focus-visible { transform: translateY(-5px); box-shadow: 0 8px 16px -6px rgba(30,40,50,.25); outline: 0; }
.bk.on { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--head); }
.bk.none, .bk.none:hover { height: 30px; padding: 8px 0 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); border-radius: 6px 6px 0 0; color: var(--muted); transform: none; }
.bk.none b { font-weight: 500; opacity: .7; }
html:not([lang="ko"]) .bk b { font-size: calc(11px * var(--fs)); letter-spacing: -0.02em; }
@media (min-width: 861px) { .bk { max-width: 34px; } }
@media (max-width: 860px) { .bk { width: 30px; } .bk b { font-size: calc(11.5px * var(--fs)); } .bk-shelf { gap: 4px; row-gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .bk { transition: none; } }
/* 성경 책장: 책을 꺼내는 듯한 귀여운 반응 (11/21 13:45 목사님 "실제 책을 빼는 것처럼")
   가리키면 책이 톡 튀어 오르며 살짝 기울고(바닥 모서리를 축으로), 양옆 책은 빈자리 쪽으로 살짝 기댐. 고르면 더 빠져나온 채로 흔들. */
.bk { transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.34,1.7,.5,1), background-color .25s, box-shadow .3s; }
.bk:not(.none):hover, .bk:not(.none):focus-visible { transform: translateY(-14px) rotate(-4deg); box-shadow: 4px 10px 14px -8px rgba(30,40,50,.35); z-index: 2; }
.bk:not(.none):hover + .bk { transform: rotate(-3deg); transform-origin: 0% 100%; }
.bk:has(+ .bk:not(.none):hover) { transform: rotate(3deg); transform-origin: 100% 100%; }
.bk.on { transform: translateY(-20px) rotate(-6deg); z-index: 3; animation: bk-wiggle .7s ease-out .05s 1; }
.bk.on:hover { transform: translateY(-22px) rotate(-6deg); }
@keyframes bk-wiggle { 0% { rotate: 0deg; } 30% { rotate: 4deg; } 55% { rotate: -2.5deg; } 78% { rotate: 1.2deg; } 100% { rotate: 0deg; } }
.bk-shelf { overflow: visible; }
@media (hover: none) { .bk:not(.none):hover + .bk, .bk:has(+ .bk:not(.none):hover) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bk, .bk:hover, .bk.on { transition: none; animation: none; transform: none !important; } }

/* ── 전도편지: 보낼 때 초대 인사 고르기 (11/21 목사님) ── */
.lt-invite { margin-top: 1.4em; }
.lt-opt { margin: -14px auto 30px; max-width: 460px; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--sky, #dfeaf3) 45%, #fff); border: 1px solid color-mix(in srgb, currentColor 10%, transparent); display: grid; gap: 14px; }
.lt-opt[hidden] { display: none; }
.lt-opt-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; text-align: left; }
.lt-opt-row input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: currentColor; }
.lt-opt-row span { font-size: calc(16px * var(--fs)); line-height: 1.5; }
.lt-opt-row small { display: block; margin-top: 4px; font-size: calc(13.5px * var(--fs)); opacity: .72; line-height: 1.5; }
.lt-opt .btn { justify-self: center; min-width: 140px; }
.lt-greet { display: grid; gap: 6px; text-align: left; }
.lt-greet b { font-size: calc(15px * var(--fs)); font-weight: 600; }
.lt-greet input { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); background: #fff; color: inherit; font: inherit; font-size: calc(16px * var(--fs)); }
.lt-greet input:focus { outline: 2px solid color-mix(in srgb, currentColor 35%, transparent); outline-offset: 1px; }
.lt-greet small { font-size: calc(13.5px * var(--fs)); opacity: .72; line-height: 1.5; }

/* 전도편지 한 편: 그림 아래 '이태규 목사의 전도편지' (11/21 목사님) */
.lt-by { margin: 8px 0 0; text-align: right; font-size: calc(13px * var(--fs)); font-weight: 400; letter-spacing: .02em; color: var(--ink-3, #8A8A84); }

/* 첫 화면 왼쪽 위 네모 네 개 = 새가족 교육 1~4주로 가는 숨은 입구 (js/home.js 끝). 겉모습은 그대로, 누르는 자리만 조금 넓게 */
.hero-top .keys .dot { position: relative; }
.hero-top .keys .dot::after { content: ''; position: absolute; inset: -9px -2px; }

/* 홈페이지가 말을 거는 한 줄 — 최신 설교와 같은 크기의 알약 (11/21) */
.hero-copy .hook { margin-top: 0; }
.hook[hidden] { display: none; }
.hook-who { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--dot); color: #fff; display: grid; place-items: center; }
.hook-ic { display: block; }
.hook-dots { display: none; gap: 3px; }
.hook-dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .4; animation: hookDot 1s infinite ease-in-out; }
.hook-dots i:nth-child(2) { animation-delay: .15s; } .hook-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hookDot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.hook.typing:not(.said) .hook-dots { display: inline-flex; }
.hook.typing:not(.said) .hook-ic { display: none; }
.hook.typing:not(.said) .hook-line { visibility: hidden; }
.hook.said .hook-line { animation: hookSaid .45s ease-out both; }
@keyframes hookSaid { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.hook-k { font-size: calc(12px * var(--fs)); font-weight: 600; color: var(--peach-deep); letter-spacing: -0.01em; }
/* 11/21 목사님: 한 줄만, 명조로 조금 크게, 따뜻하게 */
.hook .latest-txt b.hook-line { white-space: normal; overflow: visible; word-break: keep-all; font-family: var(--serif); font-weight: 600; font-size: calc(19px * var(--fs)); line-height: 1.45; letter-spacing: -0.02em; color: #5a3a22; }
.hook { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: rgba(255, 255, 255, .8); box-shadow: 0 6px 24px rgba(60, 40, 20, .06), inset 0 1px 0 rgba(255, 255, 255, .9); padding-top: 16px; padding-bottom: 16px; }
.hook:hover { border-color: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, .7); }
[data-theme="dark"] .hook { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
@media (max-width: 600px) { .hook .latest-txt b.hook-line { font-size: calc(17.5px * var(--fs)); } }
@media (prefers-reduced-motion: reduce) { .hook-dots i, .hook.said .hook-line { animation: none; } }
[data-theme="dark"] .hook .latest-txt b.hook-line { color: #f1cfae; }

/* 설교로 답하다 — 이어 묻기 (11/21) */
.ask-turn { display: grid; gap: 12px; }
.ask-turn + .ask-turn { margin-top: 18px; }
.ask-you { margin: 0; display: flex; justify-content: flex-end; }
.ask-you span { max-width: 80%; padding: 11px 16px; border-radius: 18px 18px 4px 18px; background: var(--primary); color: var(--on-primary); font-size: calc(15.5px * var(--fs)); line-height: 1.55; word-break: keep-all; }
.ask-src-fold { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ask-src-fold > summary { cursor: pointer; padding: 12px 16px; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--ink-2); list-style: none; }
.ask-src-fold > summary::-webkit-details-marker { display: none; }
.ask-src-fold > summary::after { content: ' ▾'; }
.ask-src-fold[open] > summary::after { content: ' ▴'; }
.ask-src-fold > .ask-card { margin: 0 12px 12px; }
.ask-follow { margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--surface-2); display: grid; gap: 12px; }
.ask-follow-k { margin: 0; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--ink-2); }
.ask-follow .ask-examples { margin: 0; }
.ask-follow .ask-chip { background: var(--surface); }
.ask-more-form textarea { min-height: 50px; font-size: calc(16px * var(--fs)); }
.ask-more-form .btn { min-height: 50px; }
.ask-follow-n { margin: 0; font-size: calc(13px * var(--fs)); color: var(--muted); }
.ask-link { border: 0; background: none; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ask-follow.is-done { text-align: center; justify-items: center; }
.ask-follow.is-done p { margin: 0; font-family: var(--serif); font-size: calc(17px * var(--fs)); line-height: 1.7; color: var(--ink); word-break: keep-all; }


/* ============================================================
   글씨 크기 단추 (11/22) — 머리줄 '가' 단추 + 메뉴 서랍 안 줄
   ============================================================ */
.fs-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 1px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font); font-weight: 700; line-height: 1; }
.fs-btn b { font-size: 13px; font-weight: 700; }
.fs-btn b + b { font-size: 19px; }
.fs-btn[aria-expanded="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.fs-pop { position: fixed; z-index: 120; right: 12px; top: 72px; width: min(320px, calc(100vw - 24px)); padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.fs-pop p { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--head); }
.fs-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fs-opts button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-height: 76px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 600; }
.fs-opts button i { font-style: normal; font-weight: 700; line-height: 1; }
.fs-opts button[data-v=""] i { font-size: 20px; }
.fs-opts button[data-v="l"] i { font-size: 26px; }
.fs-opts button[data-v="xl"] i { font-size: 32px; }
.fs-opts button[data-v="xxl"] i { font-size: 38px; }
.fs-opts button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.drawer-fs { margin: 18px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-fs p { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--head); }
@media (max-width: 420px) { .fs-btn { width: 40px; height: 40px; } .fs-pop { top: 64px; } }
@media (max-width: 350px) { .fs-btn { width: 36px; height: 36px; } .fs-btn b { font-size: 11px; } .fs-btn b + b { font-size: 16px; } }
/* 휴대폰 머리줄이 좁아 언어 단추는 지구본만 보이게(11/22, 글씨 크기 단추 자리) */
@media (max-width: 480px) { .lang-switch { margin-right: 0; } .lang-btn { width: 40px; padding: 0; justify-content: center; } .lang-btn span { display: none; } }
@media (max-width: 350px) { .lang-btn { width: 36px; height: 36px; } }

/* ============================================================
   짧은 영상(쇼츠) 새 모양 (11/22) — 영상 한 편 크게 + 제목 목록
   같은 얼굴 썸네일이 줄지어 서지 않게. 썸네일은 세로 원본(oar2)에서 위 제목·아래 자막을 빼고 얼굴 부분만 3:2로.
   ============================================================ */
.sx { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sx-frame { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #1B1D20; }
.sx-frame.is-playing { aspect-ratio: 9 / 16; height: min(78vh, 720px); width: auto; max-width: 100%; margin: 0 auto; background: #000; }  /* 재생 중에는 세로 영상 모양 그대로 */
.sx-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.sx-poster { all: unset; cursor: pointer; display: block; position: absolute; inset: 0; }
.sx-poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44.2%; transition: transform .8s ease; }
.sx-poster img.sx-hq { object-position: 50% 40%; transform: scale(1.9); }
.sx-poster:hover img:not(.sx-hq) { transform: scale(1.03); }
.sx-poster:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; border-radius: var(--radius); }
.sx-badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: #2E2E2E; font-size: calc(14.5px * var(--fs)); font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.sx-badge svg { color: var(--dot, #EE8A3C); }
.sx-blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: calc(22px * var(--fs)); line-height: 1.5; color: #E8E8E3; }
.sx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sx-list li { border-bottom: 1px solid var(--line); }
.sx-list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; gap: 6px 14px; padding: 20px 4px 20px 0; position: relative; }
.sx-n { font-size: calc(13px * var(--fs)); font-weight: 600; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.sx-t { font-family: var(--serif); font-size: calc(21px * var(--fs)); font-weight: 400; line-height: 1.45; letter-spacing: -0.02em; color: var(--ink-2); word-break: keep-all; transition: color .15s; }
.sx-d { font-size: calc(13px * var(--fs)); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-list button:hover .sx-t { color: var(--head); }
.sx-list button[aria-current] .sx-t { color: var(--head); font-weight: 600; }
.sx-list button[aria-current] .sx-n { color: var(--dot, #EE8A3C); }
.sx-list button[aria-current]::before { content: ""; position: absolute; left: -18px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--dot, #EE8A3C); }
.sx-list button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 1100px) { .sx { gap: 36px; } .sx-t { font-size: calc(19px * var(--fs)); } }
@media (max-width: 860px) {
  .sx { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sx-frame.is-playing { height: min(76vh, 680px); }
  .sx-badge { left: 14px; bottom: 14px; height: 40px; }
  .sx-list button { grid-template-columns: 28px minmax(0, 1fr); padding: 16px 0; }
  .sx-d { display: none; }
  .sx-t { font-size: calc(18px * var(--fs)); }
  .sx-list button[aria-current]::before { left: -12px; }
}

/* ============================================================
   첫 화면 '지난 주일 설교' (11/22 밤) — 쇼츠 자리. 얼굴 사진 없이 글 중심,
   영상 표지는 하늘누림빛(로고 네 색 빛), 누르면 그 자리에서 재생.
   ============================================================ */
.ls { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ls-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #F4F1EC; border: 1px solid var(--line-soft); }
.ls-player.is-playing { background: #000; border-color: #000; }
.ls-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.ls-cover { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: #F6F2EC; overflow: hidden; }
.ls-glow { position: absolute; inset: -20%; pointer-events: none; }
.ls-glow i { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; filter: blur(42px); opacity: .9; animation: lsDrift 18s ease-in-out infinite alternate; }
.ls-glow i:nth-child(1) { background: #D6E9F6; left: -4%; top: -2%; }
.ls-glow i:nth-child(2) { background: #F7DDCD; right: -6%; top: 4%; animation-duration: 22s; }
.ls-glow i:nth-child(3) { background: #F7E7CF; left: 18%; bottom: -14%; animation-duration: 26s; }
.ls-glow i:nth-child(4) { background: #E3EDD2; right: 6%; bottom: -8%; animation-duration: 20s; }
@keyframes lsDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 5%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ls-glow i { animation: none; } }
.ls-play { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--primary); box-shadow: 0 10px 30px rgba(59,74,90,.16); padding-left: 4px; transition: transform .25s ease; }
.ls-cover:hover .ls-play { transform: scale(1.06); }
.ls-cover:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; border-radius: var(--radius); }
.ls-cue { position: relative; font-size: calc(15px * var(--fs)); font-weight: 700; color: var(--head); letter-spacing: -0.01em; }
.ls-ref { position: relative; font-family: var(--serif); font-size: calc(16px * var(--fs)); color: var(--ink-2); }
.ls-date { margin: 0 0 12px; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ls-title { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -0.035em; color: var(--head); word-break: keep-all; }
.ls-passage { margin: 0 0 4px; font-size: calc(17px * var(--fs)); color: var(--ink); }
.ls-by { margin: 0; font-size: calc(15px * var(--fs)); color: var(--muted); }
.ls-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 860px) {
  .ls { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ls-text { order: -1; }
  .ls-title { font-size: clamp(26px, 7vw, 32px); margin-bottom: 12px; }
  .ls-actions { margin-top: 20px; }
  .ls-play { width: 64px; height: 64px; }
}

/* 설교 페이지 '쇼츠 설교' 칸(11/22 밤) — 첫 화면 쇼츠 모양(.sx)을 그대로 씀 */
.sx-block[hidden] { display: none; }
.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sx-head .lead { margin-bottom: 0; }
.sx-head .more { font-size: calc(15px * var(--fs)); font-weight: 600; color: var(--head); white-space: nowrap; }

/* 설교 페이지 쇼츠 설교 — 세로 화면 그대로(11/23 목사님). 홈에 쓰던 3:2 얼굴 자르기 대신 쇼츠 원본 9:16 */
.sx.sx--tall { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; }
.sx--tall .sx-frame, .sx--tall .sx-frame.is-playing { aspect-ratio: 9 / 16; width: 100%; max-width: 340px; height: auto; margin: 0; background: #000; }
.sx--tall .sx-poster img, .sx--tall .sx-poster img.sx-hq { object-position: 50% 50%; transform: none; }
.sx--tall .sx-poster:hover img { transform: none; }
.sx--tall .sx-badge { left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 860px) {
  .sx.sx--tall { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sx--tall .sx-frame, .sx--tall .sx-frame.is-playing { max-width: 300px; margin: 0 auto; }
}

/* ---------- 첫 화면 오늘의 영상 (11/23, 카드 둘) ---------- */
.tv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tv-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tv-h { margin: 0; display: flex; align-items: center; gap: 8px; font-size: calc(16px * var(--fs)); font-weight: 700; color: var(--head); letter-spacing: -0.02em; }
.tv-h i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.tv-card { flex: 1; display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l, 20px); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.tv-card:hover { border-color: var(--ink-2); }
.tv-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.tv-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-media i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255,255,255,.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='%233B4A5A'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.tv-chosen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #F4ECDD; text-align: center;
  background: radial-gradient(60% 80% at 72% 30%, rgba(214,150,74,.45) 0%, transparent 70%), radial-gradient(60% 70% at 15% 95%, rgba(59,156,149,.28) 0%, transparent 70%), #15110D; }
.tv-chosen em { font-style: normal; font-family: var(--serif); font-size: calc(12px * var(--fs)); letter-spacing: .3em; color: #C9A86A; }
.tv-chosen b { font-family: var(--serif); font-weight: 600; font-size: calc(18px * var(--fs)); }
.tv-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tv-kicker { font-size: calc(13px * var(--fs)); font-weight: 600; color: var(--coral-t); }
.tv-title { font-size: calc(21px * var(--fs)); font-weight: 700; color: var(--head); letter-spacing: -0.03em; line-height: 1.35; word-break: keep-all; }
.tv-sub { font-size: calc(14px * var(--fs)); color: var(--ink-2); line-height: 1.55; }
.tv-go { margin-top: 4px; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--head); }
.tv-go small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.tv-more { align-self: flex-end; font-size: calc(14px * var(--fs)); color: var(--ink-2); text-decoration: none; }
.tv-more:hover { color: var(--head); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .tv-card { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 760px) { .tv-duo { grid-template-columns: 1fr; gap: 30px; } .tv-card { padding: 16px; } .tv-title { font-size: calc(20px * var(--fs)); } }
/* 글씨 크기 고르기 — 작고 깔끔하게(11/23 목사님: 메뉴 안 세 칸이 너무 큼). 한 줄 알약 모양 세 단추 */
.fs-opts { display: inline-flex; grid-template-columns: none; gap: 0; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.fs-opts button { flex-direction: row; align-items: baseline; justify-content: center; gap: 4px; min-height: 0; height: 32px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 32px; }
.fs-opts button i { font-weight: 700; }
.fs-opts button[data-v=""] i { font-size: 12px; }
.fs-opts button[data-v="l"] i { font-size: 14px; }
.fs-opts button[data-v="xl"] i { font-size: 16px; }
.fs-opts button[data-v="xxl"] i { font-size: 18px; }
.fs-opts button { white-space: nowrap; }
.drawer-fs { flex-wrap: wrap; }
@media (max-width: 420px) { .fs-opts button { padding: 0 9px; } }
.fs-opts button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.drawer-fs { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 4px; padding-top: 14px; }
.drawer-fs p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fs-pop { width: auto; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.fs-pop p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }

/* 첫 화면 주일예배 시간 · 주소 한 줄 (11/23) */
.hero-info { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: -8px; font-size: calc(15px * var(--fs)); line-height: 1.6; color: var(--ink-2); text-decoration: none; }
.hero-info[hidden] { display: none; }
.hero-info b { color: var(--head); font-weight: 700; margin-right: 4px; }
.hero-info span + span::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line); margin-right: 14px; vertical-align: -1px; }
.hero-info:hover { color: var(--head); opacity: 1; }
@media (max-width: 480px) { .hero-info span + span::before { display: none; } }

/* 사진 톤 맞추기 (11/23): 유튜브 썸네일과 사역 사진은 찍은 때와 기기가 달라 색이 제각각이라, 채도를 조금 낮추고 밝기를 고르게 해 사이트의 부드러운 색과 어울리게 합니다. */
.play img, img.thumb, .sx-poster img, .ls-home img,
.dept-photo img, .era-photo img, .sec-band img, .fl-lead img { filter: saturate(.86) contrast(.96) brightness(1.03); }
.partner-logo img, .dept-photo.donor-plaque img { filter: none; }
html[data-theme="dark"] .play img, html[data-theme="dark"] img.thumb, html[data-theme="dark"] .sx-poster img,
html[data-theme="dark"] .dept-photo img, html[data-theme="dark"] .era-photo img, html[data-theme="dark"] .sec-band img, html[data-theme="dark"] .fl-lead img { filter: saturate(.82) contrast(.96) brightness(.92); }

/* 첫 화면 맨 위 'Church'를 누르면 관리 화면으로(11/23). 겉모습은 그대로 둡니다. */
.hero-adm, .hero-adm:hover { color: inherit; text-decoration: none; opacity: 1; cursor: default; }

/* 11/24 메뉴 서랍
   1) '홈페이지 사용법': 오픈 뒤 한동안(2027-01-31까지, js/layout.js 날짜 한 줄) 로고 하늘→살구 빛으로 눈에 띄게. 그 뒤에는 원래 흰 칸
   2) 천국을·누리며·확장하는·사람들 앞 색 네모 → 세로로 긴 색 막대 */
.drawer-help .dh-new { display: none; }
.drawer-help.is-new { background: linear-gradient(100deg, #BDE4F8 0%, #F9CF9D 36%, #F5AE8E 66%, #D5E5AD 100%) !important; border-color: transparent !important; color: var(--head) !important; box-shadow: 0 6px 18px -10px rgba(59,74,90,.45); font-weight: 700 !important; }
.drawer-help.is-new > span:first-child { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.drawer-help.is-new .dh-new { display: inline-block; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.85); color: #3B4A5A; font-size: calc(11.5px * var(--fs)); font-weight: 700; letter-spacing: 0; }
.drawer-help.is-new > span:last-child { font-weight: 700; }
.drawer-toggle .dot { width: 5px; height: 1.25em; border-radius: 3px; align-self: center; }

/* 11/24 머리글: 1041~1440px 화면에서 메뉴 글자가 세로로 쪼개지고 교회 로고가 좁아지던 것 고침 */
.site-header .brand { flex: none; }
.site-header .brand img { max-width: none; }
.nav-link, .header-actions .btn, .acct-btn { white-space: nowrap; }
.header-actions, .header-actions > * { flex: none; }
html.hd-tight .header-actions .fs-btn { display: none; }
@media (min-width: 1041px) and (max-width: 1440px) { .nav-link small { display: none; } .nav-link { padding: 10px 12px; } }
@media (min-width: 1041px) and (max-width: 1240px) { .site-header .wrap { gap: 10px; } .nav { gap: 0; } .nav-link { padding: 10px 9px; gap: 6px; } .header-actions { gap: 6px; } .lang-switch { margin-right: 0; } .lang-btn { width: 40px; padding: 0; justify-content: center; } .lang-btn span { display: none; } .header-actions .btn.visit-btn { padding-inline: 14px; } }
@media (min-width: 1041px) and (max-width: 1120px) { .acct-btn { padding: 0 11px; } }


/* ───────── 11/25 위쪽 가로 메뉴(넓은 화면: 아이패드 가로·컴퓨터) ─────────
   목사님: "세로 메뉴 서랍처럼, 위쪽 메뉴도 슬라이드로 열리고 글자 아래에 가로 색 막대가 예쁘게"
   - 글자 앞 작은 네모 대신, 글자 아래 둥근 가로 막대(평소 넷 다 같은 길이 26px → 마우스를 올리거나 지금 페이지면 글자 끝까지)
   - 아래 메뉴는 위에서 아래로 펼쳐 내려옴(서랍과 같은 곡선), 맨 위에 그 무리 색 줄, 항목이 차례로 나타남 */
@media (min-width: 1041px) {
  .nav-link .dot { display: none; }
  .nav-link .nl { position: relative; display: inline-block; }
  .nav-link .nl::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 26px; height: 4px; border-radius: 4px; background: var(--c); opacity: .75; transform: translateX(-50%); transition: width .32s cubic-bezier(.22,.8,.3,1), opacity .2s ease; }
  .nav-item:hover .nl::after, .nav-item:focus-within .nl::after, .nav-link[aria-current="true"] .nl::after { width: 100%; opacity: 1; } /* 11/25 평소 길이는 넷 다 같게(26px), 올리면 글자 끝까지 */
  .nav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* 글자에서 아래 메뉴로 내려갈 때 끊기지 않게 */
  .sub { display: block; visibility: hidden; top: calc(100% + 6px); min-width: 196px; padding: 12px 6px 6px; opacity: 0; transform: translateY(-8px);
    clip-path: inset(0 0 100% 0 round 12px);
    transition: clip-path .34s cubic-bezier(.22,.8,.3,1), transform .34s cubic-bezier(.22,.8,.3,1), opacity .18s ease, visibility 0s linear .34s; z-index: 5; }
  .sub::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
  .nav-item:hover .sub, .nav-item:focus-within .sub { visibility: visible; opacity: 1; transform: none; clip-path: inset(-24px -48px -64px -48px round 12px); transition-delay: 0s; }
  .sub a { opacity: 0; transform: translateY(-4px); transition: opacity .22s ease, transform .22s ease, background .15s ease; }
  .nav-item:hover .sub a, .nav-item:focus-within .sub a { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 22ms), calc(60ms + var(--i, 0) * 22ms), 0s; }
  .sub a:hover, .sub a:focus-visible { background: var(--surface-2); background: color-mix(in srgb, var(--c) 24%, transparent); }
}
@media (min-width: 1041px) and (prefers-reduced-motion: reduce) {
  .sub, .sub a, .nav-link .nl::after { transition: none !important; }
}

/* 11/25 메뉴 무리 사이 얇은 구분선(위쪽 아래 메뉴·세로 서랍 함께), 바닥글 '홈페이지 사용법' */
.sub-sep { display: block; height: 1px; margin: 6px 12px; background: var(--line); }
@media (min-width: 1041px) { .sub a { white-space: nowrap; } } /* '성경 한눈에 보기(BibleProject)'가 두 줄로 꺾이지 않게 */
.drawer-links .sub-sep { margin: 5px 0 5px 18px; }
.copyright .guide-link { font-weight: 700; color: #23302F; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .copyright .guide-link { color: inherit; }

/* ───────── 11/25 리퀴드 글래스: 첫 화면 단추 셋 + 마음을 전하는 한 줄 (.lg) ─────────
   목사님: "이곳을 리퀴드 글래스처럼". 거의 투명한 유리 몸통 + 비스듬한 빛 테두리 + 가장자리 굴절 띠 + 손가락 닿은 자리에 맺히는 빛 + 누르면 말랑하게 눌림.
   뒤에 로고 네 빛이 아주 옅게 천천히 떠다녀 유리 너머가 비쳐 보임(.hero-actions::before · .hook 뒤).
   크로뮴(크롬 · 삼성 인터넷)에서는 뒤 배경을 살짝 굴절(index.html의 #lg-warp), 사파리는 흐림 유리. */
.hero-copy { position: relative; isolation: isolate; }
.hero-copy::before {
  content: ''; position: absolute; z-index: -1; inset: -8px -12px; pointer-events: none; filter: blur(20px); opacity: .4;
  background:
    radial-gradient(150px 90px at 18% 22%, rgba(189,228,248,.95), transparent 70%),
    radial-gradient(170px 100px at 78% 38%, rgba(245,174,142,.75), transparent 70%),
    radial-gradient(160px 90px at 30% 70%, rgba(213,229,173,.9), transparent 70%),
    radial-gradient(150px 90px at 82% 82%, rgba(249,207,157,.85), transparent 70%);
  animation: lgDrift 18s ease-in-out infinite alternate;
}
@keyframes lgDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18px, -10px) scale(1.04); } 100% { transform: translate(-14px, 12px) scale(.98); } }
.hero-actions .btn.lg:is(.hero-visit, .line), .hero-copy .latest.hook.lg {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.28) 100%);
  border-color: transparent;
  -webkit-backdrop-filter: blur(8px) saturate(170%); backdrop-filter: blur(8px) saturate(170%);
  box-shadow: 0 14px 34px rgba(31,42,58,.13), 0 2px 6px rgba(31,42,58,.06),
              inset 0 1.5px 1px rgba(255,255,255,.95), inset 0 -1.5px 1px rgba(255,255,255,.55),
              inset 3px 0 6px -2px rgba(255,255,255,.55), inset -3px 0 6px -2px rgba(255,255,255,.45),
              inset 0 0 0 1px rgba(255,255,255,.22);
  color: var(--head); text-shadow: 0 1px 1px rgba(255,255,255,.7);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), padding .55s cubic-bezier(.34,1.56,.64,1), flex-grow .55s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, background .3s ease;
}
html.lg-refract .hero-actions .btn.lg:is(.hero-visit, .line), html.lg-refract .hero-copy .latest.hook.lg {
  -webkit-backdrop-filter: url(#lg-warp) blur(3px) saturate(170%); backdrop-filter: url(#lg-warp) blur(3px) saturate(170%);
}
.hero-actions .btn.lg.hero-visit { background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.44) 100%); }
/* 빛 테두리: 왼쪽 위가 밝고, 오른쪽 아래에 되비침 */
.hero-actions .btn.lg::before, .hero-copy .latest.hook.lg::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.4) 20%, rgba(255,255,255,0) 42%, rgba(255,255,255,0) 60%, rgba(255,255,255,.85) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* 손가락 · 마우스가 닿은 자리의 빛 + 윗면 광택 */
.hero-actions .btn.lg::after, .hero-copy .latest.hook.lg::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130px circle at var(--mx, 24%) var(--my, 0%), rgba(255,255,255,.7), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 48%);
  opacity: .6; transition: opacity .3s ease;
}
.hero-actions .btn.lg:hover, .hero-copy .latest.hook.lg:hover { opacity: 1; color: var(--head); }
.hero-actions .btn.lg:hover::after, .hero-copy .latest.hook.lg:hover::after { opacity: 1; }
.hero-actions .btn.lg:active, .hero-copy .latest.hook.lg:active { transform: scale(1.03, .92); transition-duration: .14s; } /* 누르면 물방울처럼 옆으로 퍼지며 눌림 */
/* 물처럼: 마우스가 간 단추는 넓어지고 옆 단추는 그만큼 좁아짐(전체 폭은 그대로). 넓은 화면은 세 단추가 한 줄 */
@media (hover: hover) and (min-width: 761px) {
  .hero-actions:has(.btn.lg:hover) .btn.lg:not(:hover) { padding-inline: 22px; }
  .hero-actions .btn.lg:hover { padding-inline: 34px; }
}
/* 휴대폰: 아래 줄 두 단추(말씀새김 · 전체 메뉴)가 누르는 동안 서로 밀고 당김 */
@media (max-width: 760px) {
  .hero-actions:has(.btn.line.lg:active) .btn.line.lg:not(:active) { flex-grow: .78; }
  .hero-actions .btn.line.lg:active { flex-grow: 1.28; }
}
@media (hover: hover) and (max-width: 760px) {
  .hero-actions:has(.btn.line.lg:hover) .btn.line.lg:not(:hover) { flex-grow: .82; }
  .hero-actions .btn.line.lg:hover { flex-grow: 1.22; }
}
.hero-actions .btn.lg:active::after, .hero-copy .latest.hook.lg:active::after { opacity: 1; }
/* 어두운 화면: 연기 빛 유리 */
[data-theme="dark"] .hero-copy::before { opacity: .35; }
[data-theme="dark"] .hero-actions .btn.lg:is(.hero-visit, .line), [data-theme="dark"] .hero-copy .latest.hook.lg {
  background: linear-gradient(180deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.03) 100%);
  box-shadow: 0 14px 34px rgba(0,0,0,.35), inset 0 1.5px 1px rgba(255,255,255,.3), inset 0 -1.5px 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08);
  color: var(--ink); text-shadow: none;
}
[data-theme="dark"] .hero-actions .btn.lg.hero-visit { background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.07) 100%); }
[data-theme="dark"] .hero-actions .btn.lg::before, [data-theme="dark"] .hero-copy .latest.hook.lg::before { opacity: .45; }
[data-theme="dark"] .hero-actions .btn.lg::after, [data-theme="dark"] .hero-copy .latest.hook.lg::after { background: radial-gradient(130px circle at var(--mx, 24%) var(--my, 0%), rgba(255,255,255,.16), rgba(255,255,255,0) 60%); }
@media (prefers-reduced-motion: reduce) { .hero-copy::before { animation: none; } .hero-actions .btn.lg, .hero-copy .latest.hook.lg { transition: none; } .hero-actions .btn.lg:hover, .hero-copy .latest.hook.lg:hover { transform: none; } }
/* 11/25 마음을 전하는 한 줄: 리퀴드 느낌을 더 강하게 — 물속을 지나는 빛, 마우스 쪽으로 쏠리는 물방울(봉투 동그라미), 말랑하게 부푸는 몸 */
.hero-copy .latest.hook.lg {
  background: linear-gradient(180deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.2) 100%);
  box-shadow: 0 16px 40px rgba(31,42,58,.14), 0 3px 8px rgba(31,42,58,.06),
              inset 0 2px 2px rgba(255,255,255,1), inset 0 -2px 2px rgba(255,255,255,.7),
              inset 6px 0 10px -4px rgba(255,255,255,.75), inset -6px 0 10px -4px rgba(255,255,255,.6),
              inset 0 -10px 18px -10px rgba(31,42,58,.08), inset 0 0 0 1px rgba(255,255,255,.3);
}
@keyframes lgSheen { 0%, 84% { background-position: 130% 0, 0 0, 0 0; } 100% { background-position: -30% 0, 0 0, 0 0; } } /* 7초에 한 번, 1초 남짓 동안 빛이 '반짝' 튕겨 지나감 */
.hero-copy .latest.hook.lg::before { padding: 2px; }
.hero-copy .latest.hook.lg::after {
  /* 유리알에 비친 흰 빛이 7초에 한 번 살짝 튕겨 지나감(굵은 빛 + 가는 빛 두 줄) + 손이 닿은 자리의 빛 + 윗면 광택 */
  background:
    linear-gradient(110deg, rgba(255,255,255,0) 44%, rgba(255,255,255,.55) 47.5%, rgba(255,255,255,.9) 48.3%, rgba(255,255,255,.55) 49.1%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 52.2%, rgba(255,255,255,.45) 52.8%, rgba(255,255,255,0) 53.6%) no-repeat,
    radial-gradient(190px circle at var(--mx, 24%) var(--my, 0%), rgba(255,255,255,.6), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 50%);
  background-size: 260% 100%, 100% 100%, 100% 100%;
  background-position: 130% 0, 0 0, 0 0;
  opacity: 1; animation: lgSheen 7s cubic-bezier(.2,.7,.25,1) 1.5s infinite;
}
.hero-copy .latest.hook.lg .hook-who { transition: transform .6s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease; box-shadow: 0 6px 14px rgba(224,122,47,.28), inset 0 2px 3px rgba(255,255,255,.45), inset 0 -3px 6px rgba(150,60,10,.18); }
@media (hover: hover) {
  .hero-copy .latest.hook.lg:hover { transform: scale(1.025, 1.07); }
  .hero-copy .latest.hook.lg:hover .hook-who { transform: translate(calc((var(--rx, .5) - .5) * 10px), calc((var(--ry, .5) - .5) * 6px)) scale(1.06, .96); }
}
.hero-copy .latest.hook.lg:active { transform: scale(1.04, .9); }
.hero-copy .latest.hook.lg:active .hook-who { transform: scale(1.14, .86); transition-duration: .14s; }
[data-theme="dark"] .hero-copy .latest.hook.lg {
  background: linear-gradient(180deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.03) 100%);
  box-shadow: 0 14px 34px rgba(0,0,0,.35), inset 0 1.5px 1px rgba(255,255,255,.3), inset 0 -1.5px 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08);
}
@media (prefers-reduced-motion: reduce) { .hero-copy .latest.hook.lg::after { animation: none; } .hero-copy .latest.hook.lg .hook-who { transition: none; } }
[data-theme="dark"] .hero-copy .latest.hook.lg::after { background: linear-gradient(105deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.18) 48%, rgba(255,255,255,0) 60%) no-repeat, radial-gradient(160px circle at var(--mx, 24%) var(--my, 0%), rgba(255,255,255,.14), rgba(255,255,255,0) 62%); background-size: 260% 100%, 100% 100%; }
/* ───────── 11/25 머리줄 · 떠 있는 창(위쪽 아래 메뉴, 계정 창)도 유리로 ─────────
   목사님이 고르심. 첫 화면 단추와 달리 움직임 없이 맑은 유리 + 빛 테두리만(글씨가 또렷하게) */
.site-header {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.35), 0 1px 0 rgba(31,42,58,.06), 0 8px 24px -12px rgba(31,42,58,.12);
}
/* 머리줄의 유리는 ::before가 맡음. 머리줄 자체에 흐림을 주면 그 안에서 펼쳐지는 아래 메뉴가 뒤 페이지를 흐리게 하지 못해 글씨가 그대로 비쳐 보였음(11/25 목사님 화면) */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(250,250,248,.74) 0%, rgba(247,247,245,.6) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); }
[data-theme="dark"] .site-header::before { background: linear-gradient(180deg, rgba(22,22,24,.72) 0%, rgba(13,13,14,.6) 100%); }
[data-theme="dark"] .site-header {
  background: transparent;
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.5);
}
@media (min-width: 1041px) {
  .sub {
    background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(250,250,248,.78) 100%); /* 오른쪽 메뉴 서랍과 같은 투명도 */
    -webkit-backdrop-filter: blur(48px) saturate(180%); backdrop-filter: blur(48px) saturate(180%);
    border-color: rgba(255,255,255,.7);
    box-shadow: 0 20px 48px rgba(31,42,58,.18), 0 2px 8px rgba(31,42,58,.06), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.35);
  }
  [data-theme="dark"] .sub { background: linear-gradient(180deg, rgba(30,30,33,.9) 0%, rgba(18,18,20,.84) 100%); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1); }
}
html .acct-pop { /* layout.js가 나중에 넣는 기본 모양보다 앞서게 html을 붙임 */
  background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(250,250,248,.78) 100%);
  -webkit-backdrop-filter: blur(48px) saturate(180%); backdrop-filter: blur(48px) saturate(180%);
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 22px 54px rgba(31,42,58,.18), 0 2px 8px rgba(31,42,58,.06), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.35);
}
html[data-theme="dark"] .acct-pop { background: linear-gradient(180deg, rgba(30,30,33,.9) 0%, rgba(18,18,20,.84) 100%); border-color: rgba(255,255,255,.1); box-shadow: 0 22px 54px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1); }
/* 11/25 오른쪽 메뉴 서랍도 반투명한 흰 유리(목사님). 뒤를 덮는 어둠은 옅게 해서 유리 너머 페이지가 비쳐 보이게 */
.drawer.open { background: rgba(31,42,58,.16); }
.drawer .drawer-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(250,250,248,.78) 100%);
  -webkit-backdrop-filter: blur(48px) saturate(180%); backdrop-filter: blur(48px) saturate(180%);
  box-shadow: -18px 0 48px rgba(31,42,58,.16), inset 1px 0 0 rgba(255,255,255,.95), inset 2px 0 0 rgba(255,255,255,.35);
}
[data-theme="dark"] .drawer.open { background: rgba(0,0,0,.35); }
[data-theme="dark"] .drawer .drawer-panel { background: linear-gradient(180deg, rgba(30,30,33,.9) 0%, rgba(18,18,20,.84) 100%); box-shadow: -18px 0 48px rgba(0,0,0,.5), inset 1px 0 0 rgba(255,255,255,.1); }
/* 11/25 머리줄 '처음 오셨나요?'도 반투명 남회색 유리(목사님: 머리줄과 일체감) */
.header-actions .btn.visit-btn {
  background: linear-gradient(180deg, rgba(59,74,90,.74) 0%, rgba(59,74,90,.86) 100%);
  border-color: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.08), 0 4px 12px rgba(31,42,58,.14);
  color: #fff;
}
.header-actions .btn.visit-btn:hover { background: linear-gradient(180deg, rgba(59,74,90,.84) 0%, rgba(59,74,90,.94) 100%); color: #fff; opacity: 1; }
[data-theme="dark"] .header-actions .btn.visit-btn { background: linear-gradient(180deg, rgba(242,242,238,.78) 0%, rgba(242,242,238,.88) 100%); border-color: rgba(255,255,255,.4); color: #1B1B1D; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px rgba(0,0,0,.3); }
/* 11/25 남은 떠 있는 창도 같은 유리로 맞춤: 언어 고르기, 글씨 크기, 찾기 창(뒤 덮개도 옅게), 알림 띠 */
html .lang-menu, html .fs-pop, html .find-box {
  background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(250,250,248,.78) 100%);
  -webkit-backdrop-filter: blur(48px) saturate(180%); backdrop-filter: blur(48px) saturate(180%);
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 20px 48px rgba(31,42,58,.18), 0 2px 8px rgba(31,42,58,.06), inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.35);
}
html[data-theme="dark"] .lang-menu, html[data-theme="dark"] .fs-pop, html[data-theme="dark"] .find-box {
  background: linear-gradient(180deg, rgba(30,30,33,.9) 0%, rgba(18,18,20,.84) 100%); border-color: rgba(255,255,255,.1);
  box-shadow: 0 20px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1);
}
html .lang-menu button:hover { background: rgba(255,255,255,.6); }
html[data-theme="dark"] .lang-menu button:hover { background: rgba(255,255,255,.08); }
html .find-dlg { background: rgba(31,42,58,.16); }
html[data-theme="dark"] .find-dlg { background: rgba(0,0,0,.35); }
.toast {
  background: linear-gradient(180deg, rgba(59,74,90,.8) 0%, rgba(59,74,90,.9) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 28px rgba(31,42,58,.22); color: #fff;
}
[data-theme="dark"] .toast { background: linear-gradient(180deg, rgba(242,242,238,.82) 0%, rgba(242,242,238,.92) 100%); color: #1B1B1D; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 28px rgba(0,0,0,.4); }
/* 11/25 가볍게: 화면 밖 · 숨은 탭에서는 계속 도는 움직임을 멈춤(layout.js calmAnimations가 .anim-off · html.page-hidden을 붙임) */
.anim-off, .anim-off *, .anim-off::before, .anim-off::after, .anim-off *::before, .anim-off *::after,
html.page-hidden *, html.page-hidden *::before, html.page-hidden *::after { animation-play-state: paused !important; }
/* 빈 화면: 쉬는 어린 양 (하늘앙리) */
p.empty::before,.post-list li.empty::before,#list>li.empty::before{content:"";display:block;width:180px;height:86px;margin:0 auto 14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='60 230 900 430'%3E%3Cpath d='M299 489Q359 502 424 496Q488 487 556 487Q601 504 651 484Q717 486 790 502Q835 488 879 515Q973 549 927 605Q866 635 796 624Q727 644 658 647Q604 641 552 641Q524 644 489 640Q448 631 404 647Q339 641 267 633Q220 633 173 625Q117 642 71 599Q45 566 107 553Q130 540 162 522Q214 510 274 510Q284 508 299 489Z' fill='%23CFE3A8'/%3E%3Cpath d='M200 520Q190 514 181 509Q177 506 166 500Q159 496 155 487Q149 479 154 475Q161 473 172 481Q177 487 184 496Q184 498 189 504Q186 494 182 485Q181 478 178 475Q176 457 186 458Q193 462 196 475Q198 480 198 487Q199 494 200 500Q200 499 201 501Q201 492 204 479Q207 470 213 468Q218 469 218 477Q219 481 215 491Q212 497 209 504Q208 504 210 503Q209 502 211 504Q217 496 226 486Q231 482 237 482Q244 479 241 490Q235 500 223 507Q219 508 217 511Q216 509 217 511Q212 514 200 520Z' fill='%235E9E3F'/%3E%3Cpath d='M780 505Q776 502 765 497Q759 493 753 487Q742 484 740 477Q730 465 741 464Q743 462 752 469Q756 472 764 481Q765 485 769 488Q768 481 761 468Q760 463 758 457Q758 439 770 446Q773 452 778 463Q778 473 779 483Q780 482 780 485Q779 486 781 485Q782 473 783 465Q783 463 788 454Q796 445 800 457Q799 467 795 478Q793 479 790 488Q789 487 790 488Q793 485 800 476Q806 467 813 464Q830 454 828 469Q823 480 813 485Q806 490 794 497Q792 499 784 504Q785 502 780 505Z' fill='%235E9E3F'/%3E%3Cpath d='M475 450Q464 499 420 523Q396 542 366 524Q332 514 319 482Q301 464 314 442Q316 419 332 395Q356 369 394 373Q447 366 460 421Q469 431 475 450Z' fill='%23FFFDF6'/%3E%3Cpath d='M559 400Q552 427 538 454Q506 496 453 494Q420 495 391 469Q363 437 370 393Q370 364 387 337Q427 297 482 308Q517 323 547 356Q550 378 559 400Z' fill='%23FFFDF6'/%3E%3Cpath d='M645 410Q631 464 583 490Q557 512 530 491Q480 477 458 422Q457 392 471 367Q497 325 548 316Q580 328 610 340Q637 367 645 410Z' fill='%23FFFDF6'/%3E%3Cpath d='M685 455Q685 485 662 501Q633 537 586 517Q560 512 546 488Q526 448 554 405Q591 375 631 391Q674 401 682 447Q670 452 685 455Z' fill='%23FFFDF6'/%3E%3Cpath d='M603 470Q591 527 545 558Q496 580 453 551Q423 530 405 495Q403 467 412 441Q416 416 443 404Q464 373 502 375Q553 373 575 421Q595 440 603 470Z' fill='%23FFFDF6'/%3E%3Cpath d='M422 500Q428 532 399 551Q373 561 346 547Q336 538 323 530Q309 507 322 478Q333 450 364 447Q390 439 405 461Q415 470 423 483Q426 491 422 500Z' fill='%23FFFDF6'/%3E%3Cpath d='M656 505Q649 541 615 553Q604 568 587 568Q557 560 541 537Q520 509 538 479Q542 464 560 453Q586 433 614 457Q644 453 647 487Q650 495 656 505Z' fill='%23FFFDF6'/%3E%3Cpath d='M721 398Q734 412 753 423Q770 441 760 477Q749 489 730 498Q702 509 674 500Q647 498 633 474Q616 442 627 408Q651 388 692 396Q703 394 721 398Z' fill='%233E6FC4'/%3E%3Cpath d='M605 365Q613 367 624 369Q633 370 646 380Q652 378 662 386Q659 386 665 388Q666 390 666 392Q665 399 656 404Q650 409 635 399Q631 393 622 387Q616 380 610 373Q609 372 605 365Z' fill='%233E6FC4'/%3E%3Cpath d='M904 300Q900 320 885 332Q875 350 847 352Q829 347 811 339Q792 315 804 285Q808 274 819 262Q838 240 872 251Q897 269 904 300Z' fill='%23F3C33C'/%3E%3C/svg%3E") center/contain no-repeat}.ms-rank .empty::before,.ms-recent .empty::before,.bk-list .empty::before,.frame.empty::before{content:none!important}

/* 11/26 낮: 그림 설명표(작가·해설)는 각 페이지에서는 숨기고 하늘미술관에서만 보임 */
/* 11/26 낮3: 각 페이지에서는 그림 아래 「작품의 의미 보기」만 보이고, 누르면 제목·해설이 펼쳐짐 (하늘미술관은 그대로) */
figure .art-cap:not(#gal-list .art-cap) { display: block !important; margin-top: 10px; }
figure .art-cap.season-art:not(.now):not(#gal-list .art-cap) { display: none !important; }
figure .art-cap:not(#gal-list .art-cap) > summary { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
figure .art-cap:not(#gal-list .art-cap) > summary::before { content: "작품의 의미 보기"; order: 0; font-weight: 600; color: var(--ink-2, #4a453d); }
figure .art-cap:not(#gal-list .art-cap) > summary::after { content: "＋"; order: 1; margin-left: 0; font-size: 1em; color: var(--muted, #7a7468); }
figure .art-cap[open]:not(#gal-list .art-cap) > summary::before { content: "작품의 의미 닫기"; }
figure .art-cap[open]:not(#gal-list .art-cap) > summary::after { content: "－"; }
figure .art-cap:not(#gal-list .art-cap) > summary > b,
figure .art-cap:not(#gal-list .art-cap) > summary > span { display: none; }
figure .art-cap[open]:not(#gal-list .art-cap) > summary > b { display: block; order: 2; flex-basis: 100%; margin-top: 10px; font-size: 1.08em; }
figure .art-cap[open]:not(#gal-list .art-cap) > summary > span { display: block; order: 3; flex-basis: 100%; }
figure .art-cap:not(#gal-list .art-cap) > summary:focus-visible { outline: 2px solid var(--head, #333); outline-offset: 3px; border-radius: 4px; }

/* 11/26 밤: 따로 받는 그림(js/art.js) — 받기 전에는 옅은 바탕으로 자리만, 받으면 살며시 */
svg[data-art]:not(.art-in) { background: #F1EFE9; border-radius: 6px; }
svg[data-art].art-in { animation: art-in .5s ease-out; }
@keyframes art-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { svg[data-art].art-in { animation: none; } }

/* 11/26 밤: 폭 360px 안팎 휴대폰(갤럭시 등)에서 머리글 오른쪽 메뉴(☰) 단추가 화면 밖으로 밀려 잘리던 것 고침 */
@media (max-width: 399px) {
  .site-header .wrap { gap: 8px; }
  .header-actions { gap: 4px; }
  .site-header .brand img { height: 26px; }
  .header-actions .btn.visit-btn { height: 36px; padding: 0 9px; font-size: 12px; }
  .lang-btn, .fs-btn { width: 36px; height: 36px; }
  .menu-btn { width: 40px; height: 40px; }
}
@media (max-width: 350px) {
  .site-header .wrap { padding-left: 12px; padding-right: 12px; }
  .site-header .brand img { height: 22px; }
  .header-actions .btn.visit-btn { padding: 0 8px; font-size: 11.5px; }
}

/* 11/26 밤: 위쪽 가로 메뉴 — 목사님 "둥근 바탕과 글자 아래 색 막대를 없애고 점으로"(A안: 글자 앞 색 점).
   지금 페이지가 속한 무리는 둥근 바탕 대신 글자를 조금 더 진하고 굵게. (휴대폰 서랍 메뉴는 그대로) */
@media (min-width: 1041px) {
  .nav-link[aria-current="true"] { background: transparent; }
  .nav-link .nl::after { display: none; }
  .nav-link .dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .85; }
  .nav-link .nl { color: var(--ink-2); transition: color .15s ease; }
  .nav-item:hover .nl, .nav-item:focus-within .nl { color: var(--head); }
  .nav-link[aria-current="true"] .nl { color: var(--head); font-weight: 700; }
}

/* 11/29 설립기념주일 하늘앙리(js/illust.js founding): 오려 낸 숫자가 살짝 흔들리고 별이 번갈아 반짝임. 화면에 보일 때만, '동작 줄이기'에서는 멈춤 */
.illust .hn-sway { transform-box: fill-box; transform-origin: 50% 90%; animation: hnSway 5.5s ease-in-out infinite; animation-play-state: paused; }
.illust .hn-s2 { animation-delay: -2.5s; }
.illust .hn-twinkle { transform-box: fill-box; transform-origin: center; animation: hnTw 2.8s ease-in-out infinite; animation-play-state: paused; }
.illust .hn-t2 { animation-delay: 1.3s; } .illust .hn-t3 { animation-delay: .6s; }
.illust .hn-rise { animation: hnRise 7s ease-in-out infinite; animation-play-state: paused; }
.illust.on .hn-sway, .illust.on .hn-twinkle, .illust.on .hn-rise { animation-play-state: running; }
@keyframes hnRise { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-3px); } }
@keyframes hnSway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes hnTw { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) { .illust .hn-sway, .illust .hn-twinkle, .illust .hn-rise { animation: none; } }

/* ============================================================
   지금 진행 중인 주일 시리즈(11/30) — 홈 첫 화면 '이번 시리즈' + 설교 페이지 '시리즈로 듣기' 맨 위.
   그림(정사각형) 왼쪽, 시리즈 글과 다섯 편 목록 오른쪽. js/series-now.js가 목록을 채움.
   ============================================================ */
[data-series-sec][hidden] { display: none; }
.srn { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.srn-art { margin: 0; }
.srn-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius); background: #F3EADA; }
.srn-kick { margin: 0 0 10px; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--muted); }
.srn-title { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.3; letter-spacing: -0.035em; color: var(--head); word-break: keep-all; }
.srn-lead { margin: 0 0 28px; font-size: calc(17px * var(--fs)); line-height: 1.75; color: var(--ink); word-break: keep-all; }
.srn-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.srn-list li { border-bottom: 1px solid var(--line-soft); }
.srn-list a, .srn-row { display: grid; grid-template-columns: 26px 44px auto minmax(0, 1fr) auto; grid-template-areas: "n d t x i" ". . p p i"; column-gap: 10px; row-gap: 2px; align-items: baseline; padding: 14px 4px; color: inherit; text-decoration: none; }
.srn-n { grid-area: n; font-size: calc(13px * var(--fs)); font-weight: 700; color: #283B6B; font-variant-numeric: tabular-nums; }
.srn-list time { grid-area: d; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.srn-list b { grid-area: t; font-size: calc(17px * var(--fs)); font-weight: 600; color: var(--head); word-break: keep-all; }
.srn-note { grid-area: x; justify-self: start; margin-left: 2px; font-size: calc(12px * var(--fs)); font-weight: 600; color: #B4472F; }
.srn-list em { grid-area: p; font-style: normal; font-size: calc(14px * var(--fs)); color: var(--muted); }
.srn-list i { grid-area: i; align-self: center; font-style: normal; font-size: calc(14px * var(--fs)); font-weight: 600; white-space: nowrap; }
.srn-list .is-done i { color: var(--primary); }
.srn-list .is-done a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.srn-list .is-done a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.srn-list .is-next i { padding: 3px 10px; border-radius: 999px; background: #283B6B; color: #fff; font-size: calc(12.5px * var(--fs)); }
.srn-list .is-later b, .srn-list .is-later time, .srn-list .is-later em, .srn-list .is-later .srn-n { opacity: .55; }
.srn-page { margin-bottom: 48px; }
@media (max-width: 860px) {
  .srn { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .srn-art { max-width: 420px; }
  .srn-title { font-size: clamp(26px, 7vw, 32px); margin-bottom: 12px; }
  .srn-lead { font-size: calc(16px * var(--fs)); margin-bottom: 20px; }
  .srn-list a, .srn-row { grid-template-columns: 22px 40px auto minmax(0, 1fr) auto; column-gap: 8px; }
  .srn-list b { font-size: calc(16px * var(--fs)); }
}
[data-theme="dark"] .srn-n { color: #9DB0DA; }
[data-theme="dark"] .srn-list .is-next i { background: #9DB0DA; color: #0D0D0E; }
[data-theme="dark"] .srn-note { color: #E0896F; }
.srn-title { text-wrap: balance; }
/* 하늘미술관에서는 정사각형 그림이 화면을 다 덮지 않게 */
#gal-list .gal-art > img { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 auto; border-radius: var(--radius); }

/* 11/30 밤: 찬양팀 페이지 맨 위에 팀 전체 사진(가로로 긴 사진, 한 줄 전체) */
.praise-photo img.praise-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .praise-photo img.praise-wide + img { grid-column: 1 / -1; } }

/* 11/30 밤: 처음 오셨나요 — 로비에서 웃으며 맞이하는 안내 위원 두 사람(정사각형 둘) */
.wl-welcome { margin: 6px 0 26px; max-width: 740px; }
.wl-welcome-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .wl-welcome-pair { gap: 6px; } }
.wl-welcome .dept-photo { display: block; margin: 0; }
.wl-welcome img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.wl-welcome figcaption { margin-top: 10px; font-size: calc(14px * var(--fs,1)); color: var(--muted, #6B6B66); }


/* 12/1: 기능 페이지 머리말 끝의 '사용설명서 영상 보기 →' (말씀새김 .ms-guide와 같은 모양) */
.hn-guide { white-space: nowrap; margin-left: 4px; color: var(--sky-deep, #2B6F99); text-decoration: underline; text-underline-offset: 3px; }

/* 12/1 밤: '보기' 단추(목사님: "튀지는 않지만 눌러보고 싶도록") — 가기는 →, 펼치기는 ＋. 단추는 그대로, 기호와 엿보기 점에만 메뉴 색 */
body[data-section="heaven"], [data-sec="heaven"] { --more-dk: color-mix(in srgb, var(--sky-deep) 62%, var(--sky)); --more-lt: var(--sky); }
body[data-section="enjoy"], [data-sec="enjoy"] { --more-dk: color-mix(in srgb, var(--peach-deep) 62%, var(--peach)); --more-lt: var(--peach); }
body[data-section="expand"], [data-sec="expand"] { --more-dk: color-mix(in srgb, var(--coral-deep) 62%, var(--coral)); --more-lt: var(--coral); }
body[data-section="people"], [data-sec="people"] { --more-dk: color-mix(in srgb, var(--green-deep) 62%, var(--green)); --more-lt: var(--green); }
.more-ic { display: inline-flex; flex: none; color: var(--more-dk, var(--muted)); transition: transform .2s ease; }
.btn:not(.line):not(.white):not(.ghost) .more-ic { color: var(--more-lt, currentColor); }
:root[data-theme="dark"] .more-ic { color: var(--more-lt, var(--muted)); }
:root[data-theme="dark"] .btn:not(.line):not(.white):not(.ghost) .more-ic { color: var(--more-dk, currentColor); }
a.btn:hover .more-ic { transform: translateX(3px); }
body .min-more > summary::after, body .sx-fold > summary::after, body .give-fold > summary::after, body .mg-mean-fold > summary::after, body .more-box summary::after { color: var(--more-dk, var(--muted)); display: inline-block; transition: transform .2s ease; }
:root[data-theme="dark"] body .min-more > summary::after, :root[data-theme="dark"] body .sx-fold > summary::after, :root[data-theme="dark"] body .give-fold > summary::after, :root[data-theme="dark"] body .mg-mean-fold > summary::after, :root[data-theme="dark"] body .more-box summary::after { color: var(--more-lt, var(--muted)); }
/* 12/1 밤 고침: 모든 details에 걸려 「펼치기」 글자 단추(샬롬기도)·해설·FAQ까지 90도로 돌던 것 → ＋ 기호 단추 다섯 종류에만 */
body .min-more:not([open]) > summary:hover::after, body .sx-fold:not([open]) > summary:hover::after, body .give-fold:not([open]) > summary:hover::after, body .mg-mean-fold:not([open]) > summary:hover::after, body .more-box:not([open]) summary:hover::after { transform: rotate(90deg); }
.more-peek { display: flex; flex-wrap: wrap; gap: 4px 16px; align-self: stretch; max-width: 640px; margin: 16px 0 12px; padding-top: 11px; border-top: 1px dashed var(--line); font-size: calc(14px * var(--fs)); line-height: 1.7; color: var(--muted); }
.more-peek span { white-space: nowrap; }
.more-peek span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; vertical-align: 2px; background: color-mix(in srgb, var(--more-lt, var(--line)) 70%, var(--more-dk, var(--line))); }
.more-peek + .min-more { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .more-ic, body .min-more > summary::after, body .sx-fold > summary::after, body .give-fold > summary::after, body .mg-mean-fold > summary::after, body .more-box summary::after { transition: none; } }

/* 첫 화면 찬양 사진: 영상 대신 사진이 천천히 찬양팀 쪽으로 다가갔다 물러남 (2026-12-01)
   빈 벽 쪽(오른쪽)은 점점 화면 밖으로 밀리고, 노래하는 얼굴이 가까워집니다. */
@keyframes hero-breathe {
  0%   { transform: scale(1.01) translate3d(0, 0, 0); }
  100% { transform: scale(1.16) translate3d(1%, 0, 0); }
}
.hero[data-hero="photo"] .hero-photo .frame:not(.empty) img { transform-origin: 28% 56%; animation: hero-breathe 22s ease-in-out infinite alternate; will-change: transform; backface-visibility: hidden; }
@media (max-width: 600px) {
  .hero[data-hero="photo"] .hero-photo .frame:not(.empty) img { transform-origin: 22% 58%; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo .frame:not(.empty) img { animation: none; transform: none; } }

/* 첫 화면 사진첩(album): 두 줄 — 윗줄은 왼쪽으로, 아랫줄은 오른쪽으로 천천히 (2026-12-01 밤, 목사님 요청으로 새로 만듦)
   윗줄 = 예배와 우리 교회 사람들, 아랫줄 = 공동체와 선교지. 같은 묶음을 두 번 이어 붙여 끊김 없이 돕니다. */
.hero-flow { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: 8px; padding-bottom: 72px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.hero-flow .flow-row { --h: clamp(170px, 17vw, 240px); --g: 14px; height: var(--h); overflow: hidden; }
.hero-flow .flow-track { display: flex; width: max-content; animation: flow-run var(--t, 270s) linear infinite; will-change: transform; }
.hero-flow .flow-set { display: flex; gap: var(--g); padding-right: var(--g); }
.hero-flow img { height: var(--h); width: auto; border-radius: 16px; display: block; object-fit: cover; background: var(--surface-2); }
.hero-flow .fa { --t: 270s; }
.hero-flow .fb { --t: 300s; }
.hero-flow .fb .flow-track { animation-direction: reverse; }
@keyframes flow-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.hero-flow:hover .flow-track { animation-play-state: paused; }
[data-theme="dark"] .hero-flow img { filter: grayscale(0.15) brightness(0.88); }
@media (max-width: 600px) {
  .hero-flow { gap: 8px; padding-bottom: 28px; }
  .hero-flow .flow-row { --h: 122px; --g: 8px; }
  .hero-flow img { border-radius: 10px; }
  .hero-flow .fa { --t: 150s; } .hero-flow .fb { --t: 168s; }
}
@media (prefers-reduced-motion: reduce) { .hero-flow .flow-track { animation: none; } }
html.intro .hero-flow { opacity: 0; }
html.intro-go .hero-flow { transition: opacity .8s ease .3s; }

/* 첫 화면 세 가지 모습(js/home.js가 .hero에 data-hero를 적음): video 편집 영상 · photo 찬양 사진 움직임 · album 사진첩 (2026-12-01) */
.hero:not([data-hero="album"]) .hero-flow { display: none; }
.hero[data-hero="album"] .hero-photo { display: none; }
.hero-photo .frame { position: relative; }
.hero-photo .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .9s ease; }
.hero-photo .frame video.on { opacity: 1; }
[data-theme="dark"] .hero-photo .frame video { filter: brightness(0.9); }
/* 사진·영상이 들어간 액자는 안쪽 여백 없이 꽉 채움(여백은 빈 자리 안내 글을 위한 것이었음) */
.hero-photo .frame:not(.empty) { padding: 0; }

/* 12/1 밤: 메뉴에서 함께 참여하는 곳(말씀새김·하늘QT·성경읽기·요리문답·하늘뜰나눔·샬롬기도·마음을 전하는 글)에 때 꼬리표 — 메뉴 색 옅은 바탕 */
.mf { display: inline-block; margin-left: 8px; padding: 1px 7px 2px; border-radius: 999px; font-size: calc(11px * var(--fs)); font-weight: 600; line-height: 1.5; letter-spacing: 0; vertical-align: 2px; white-space: nowrap; color: var(--muted); background: var(--surface-2); }
@supports (color: color-mix(in srgb, red, blue)) {
  .mf { color: color-mix(in srgb, var(--c, var(--muted)) 45%, #222); background: color-mix(in srgb, var(--c, var(--line)) 22%, transparent); }
  :root[data-theme="dark"] .mf { color: color-mix(in srgb, var(--c, var(--muted)) 55%, #fff); background: color-mix(in srgb, var(--c, var(--line)) 20%, transparent); }
}
.drawer-links .mf { font-size: calc(12px * var(--fs)); }
/* 12/1 밤: 이번 때에 한 곳은 「오늘 ✓ · 이번 주 ✓ · 이달 ✓」 — 바탕을 비우고 테두리만(했음을 조용히) */
.mf.is-done { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
@supports (color: color-mix(in srgb, red, blue)) { .mf.is-done { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--line)) 55%, transparent); color: color-mix(in srgb, var(--c, var(--muted)) 50%, #555); } }

/* 첫 화면 큰 제목 마침표는 동그라미로(12/2). 씨앗이 날아 싹이 나는 장면은 12/2 아침 목사님 뜻으로 첫 화면에서 빼고 「마음을 전하는 글」 보낸 순간으로 옮김(js/seed.js) */
.hero .display .pt { display: inline-block; width: 0.18em; height: 0.18em; margin-left: 0.05em; border-radius: 50%; background: var(--dot); color: transparent; -webkit-text-fill-color: transparent; overflow: hidden; vertical-align: baseline; }
.seed-fly { position: fixed; left: 0; top: 0; z-index: 40; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: var(--dot); pointer-events: none; visibility: hidden; box-shadow: inset -3px -4px 0 rgba(150,70,20,.22), 0 6px 12px rgba(150,70,20,.16); }
.seed-fly.on { visibility: visible; }
.seed-soil { position: relative; z-index: 1; height: 124px; margin: 16px 0 18px; }
.seed-mound { position: absolute; bottom: 0; left: 50%; width: 120px; height: 24px; margin-left: -60px; background: #DCC1A0; border-radius: 60px 60px 0 0; transform-origin: 50% 100%; }
[data-theme="dark"] .seed-mound { background: #6E5A45; }
.seed-soil::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(560px, 80%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #D2B391 20%, #D2B391 80%, transparent); }
[data-theme="dark"] .seed-soil::after { background: linear-gradient(90deg, transparent, #6E5A45 20%, #6E5A45 80%, transparent); }
.seed-spot { position: absolute; bottom: 20px; left: 50%; width: 2px; height: 2px; }
.seed-sprout { position: absolute; bottom: 16px; left: 50%; width: 110px; height: 120px; margin-left: -55px; overflow: visible; }
.seed-sprout .st { fill: none; stroke: #5E8A2E; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .7s ease; }
.seed-sprout .lf { transform-box: fill-box; transform: scale(0); transition: transform .6s cubic-bezier(.3,1.7,.5,1); }
.seed-sprout .lf.l { transform-origin: 100% 100%; fill: #8DBB55; }
.seed-sprout .lf.r { transform-origin: 0 100%; fill: #A9CF6B; }
.seed-sprout .sd { fill: var(--dot); opacity: 0; }
.seed-soil.grown .seed-mound { animation: seed-thud .45s ease; }
.seed-soil.grown .seed-sprout .st { stroke-dashoffset: 0; transition-delay: .15s; }
.seed-soil.grown .seed-sprout .lf { transform: scale(1); transition-delay: .7s; }
.seed-soil.grown .seed-sprout .lf.r { transition-delay: .82s; }
.seed-soil.grown .seed-sprout .sd { opacity: 1; }
@keyframes seed-thud { 0% { transform: scaleY(1); } 40% { transform: scaleY(.8); } 100% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .seed-sprout .st, .seed-sprout .lf { transition: none; } .seed-soil.grown .seed-mound { animation: none; } }

/* 12/2: 헌당교회 사진 카드 — 누르는 곳임을 알리는 한 줄(같은 페이지는 ↓, 다른 페이지는 →). 보기 단추와 같은 코랄 */
.plant-cards .pc-cue { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-style: normal; font-size: calc(13.5px * var(--fs)); font-weight: 600; color: color-mix(in srgb, var(--coral-deep) 62%, var(--coral)); transition: transform .2s ease; }
:root[data-theme="dark"] .plant-cards .pc-cue { color: var(--coral); }
.plant-cards a:hover .pc-cue { transform: translateX(3px); }
.plant-cards a[href^="#"]:hover .pc-cue { transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .plant-cards .pc-cue { transition: none; } }

/* 12/2: 하늘QT — 오늘 본문 책을 미리 알 수 있는 두 영상 소개(하늘QT 페이지에서만, 홈에서는 단추 둘) */
.qt-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qt-help-h { grid-column: 1 / -1; margin: 6px 0 0; font-size: calc(14px * var(--fs)); color: var(--muted); }
.qt-help-h b { color: var(--head); font-weight: 700; }
.qt-help-card { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: border-color .2s; }
.qt-help-card:hover { border-color: var(--ink-2); }
.qt-help-card em { font-style: normal; font-size: calc(12px * var(--fs)); color: var(--muted); }
.qt-help-card b { font-size: calc(16.5px * var(--fs)); color: var(--head); letter-spacing: -0.02em; }
.qt-help-card span { font-size: calc(14px * var(--fs)); line-height: 1.6; color: var(--ink-2); }
.qt-help-card i { margin-top: 4px; font-style: normal; font-size: calc(13.5px * var(--fs)); font-weight: 600; color: color-mix(in srgb, var(--peach-deep) 62%, var(--peach)); transition: transform .2s; }
:root[data-theme="dark"] .qt-help-card i { color: var(--peach); }
.qt-help-card:hover i { transform: translateX(3px); }
.qt-section .qt-help { display: none; }
body:not([data-section="home"]) .qt-today .qt-x { display: none; }
@media (max-width: 560px) { .qt-help { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .qt-help { grid-column: 1 / -1; } }

/* ---------- 인쇄판(12/4): 인쇄 · PDF 저장할 때만. 화면에는 아무 영향 없음 (js/layout.js printMount) ---------- */
.pr-only { display: none; }
@media print {
  @page { size: A4; margin: 15mm 17mm 16mm; }
  html, body { background: #fff !important; color: #1a1a1a !important; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .site-header, .site-footer, #drawer, .drawer, .skip, .demo-banner, .mg-btn, .mg-bar, .nx-sec, [data-next], .hero-note-w, .acct-pop, .acct-dlg, .find-pop, .rp-bar, .rp-dlg, .toast, #toast,
  button, .btn, .article-nav, .related, #post-next, .video, .service-link, .files, iframe, video,
  .page-head, .art-cap, .lt-back, .lt-week, .lt-themes, .lt-list, .lt-more-w, .lt-sent, .lt-copied, .lt-to, .lt-share, .lt-opt, .lt-mg, .lt-pn, .lt-all, .sd, .sd-done, .sd-wx { display: none !important; }
  .pr-only { display: block !important; }
  main, .page-body, .wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .pr-head { display: flex !important; align-items: center; justify-content: space-between; margin: 0 0 9mm; padding-bottom: 3mm; border-bottom: 0.4pt solid #bbb; font-size: 9pt; color: #555; }
  .pr-head img { height: 9mm; width: auto; }
  .pr-foot { display: flex !important; align-items: center; gap: 5mm; margin-top: 7mm; padding-top: 4mm; border-top: 0.4pt solid #bbb; font-size: 8.5pt; line-height: 1.55; color: #555; break-inside: avoid; }
  .pr-foot b { color: #1a1a1a; }
  .pr-foot small { color: #888; }
  .pr-qr { flex: none; width: 19mm; height: 19mm; }
  .pr-qr svg { width: 100%; height: 100%; }
  .article, .article-body, .lt-letter, .lt-body, .pr-qt { font-family: var(--serif) !important; font-size: 11pt !important; line-height: 1.85 !important; color: #1a1a1a !important; }
  .article-head h1, .lt-letter h2, .pr-qt h1 { font-family: var(--serif) !important; font-size: 19pt !important; line-height: 1.35 !important; color: #111 !important; margin: 0 0 3mm !important; }
  .article-head .meta, .lt-meta { font-family: var(--font, sans-serif); font-size: 9pt !important; color: #666 !important; }
  .article-body p, .lt-body p { margin: 0 0 3.2mm !important; orphans: 3; widows: 3; }
  .article-body img, .gallery img { max-width: 100% !important; max-height: 90mm; object-fit: contain; break-inside: avoid; }
  .letter-author { break-inside: avoid; }
  /* 마음을 전하는 글: 삽화는 작게 위에 */
  .lt-letter { border: 0 !important; background: none !important; padding: 0 !important; }
  .lt-letter .lt-body { line-height: 1.72 !important; }
  .lt-letter .lt-body p { margin-bottom: 2.6mm !important; }
  .lt-letter .lt-art { max-width: 60mm !important; max-height: 40mm !important; margin: 0 0 5mm !important; border-radius: 3mm; overflow: hidden; }
  .lt-letter .lt-art svg, .lt-letter .lt-art img { max-height: 40mm; width: auto !important; }
  .lt-invite, .lt-close, .lt-by { font-family: var(--serif) !important; }
  /* 하늘QT: 인쇄용 한 장만 */
  html.pr-is-qt main > *:not(.pr-only) { display: none !important; }
  .pr-qt .pr-kicker { font-family: var(--font, sans-serif); font-size: 9pt; color: #666; margin: 0 0 2mm; }
  .pr-qt .pr-pray { font-style: italic; margin: 0 0 2mm; }
  .pr-qt h2 { font-family: var(--serif) !important; font-size: 12pt !important; margin: 4.5mm 0 0.5mm !important; color: #111 !important; break-after: avoid; }
  .pr-qt .pr-hint { font-size: 9pt !important; color: #777 !important; margin: 0 !important; line-height: 1.5 !important; }
  .pr-lines { break-inside: avoid; }
  .pr-lines i { display: block; height: 7.2mm; border-bottom: 0.4pt solid #bbb; }
}
