/* 오늘·둘러보기 — 디자인 v4 "아치 창" (2026-11-01). 라이트 전용(다크 잠금 유지).
   근거: .handoff/plan/2026-11-01-design-v4-hallow.md
   - 바탕 흰색, 면은 차가운 회색, 글·주 버튼은 먹색. 금색은 로고·진행 표시·현재 메뉴에만.
   - 콘텐츠는 아치 창 그림 하나(images/arch). 카드 그림 뒤 면은 콘텐츠마다 다른 옅은 색(tint-*).
   - 제목 Pretendard 800, 말씀 Noto Serif KR 500.
   - 움직임은 누른 것에 대한 답만(시트 240ms, 누름 0.97). */
@font-face{font-family:'VEIL Serif';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/noto-serif-kr/NotoSerifKR-500-ksx1001.woff2) format('woff2')}
:root{
  --paper:#FFFFFF;--mist:#F3F4F7;--mist-2:#E9EBF0;--line:#E3E5EA;
  --ink:#172033;--ink-2:#454D60;--ink-3:#687083;
  --gold:#CDA00A;--gold-ink:#7A5C00;
  --t-rose:#F4E7E5;--t-sage:#E5EDE6;--t-lake:#E1EAEC;--t-navy:#E3E6EF;--t-sand:#F2ECE0;--t-plum:#ECE6EF;
  --r-s:10px;--r-m:16px;--r-l:24px;
  --ease:cubic-bezier(.23,1,.32,1);--ease-sheet:cubic-bezier(.32,.72,0,1);
  --sans:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --serif:'VEIL Serif','Noto Serif KR','AppleMyungjo','Batang',serif;
  --td-nav-h:64px;
  /* 옛 이름(다른 파일·인라인이 참조) */
  --td-ink:var(--ink);--td-ink2:var(--ink-2);--td-mut:var(--ink-3);--td-line:var(--line);--td-gold:var(--gold);--td-gold-deep:var(--gold-ink);--td-blue:#1E3AFF
}
*{box-sizing:border-box}
body.td-body{margin:0;background:var(--paper);color:var(--ink-2);font-family:var(--sans);font-size:16px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased}
.td-wrap{max-width:720px;margin:0 auto;padding:8px 20px 40px}
.td-wrap a{color:var(--ink);text-underline-offset:3px}
.td-body h1,.td-body h2,.td-body h3{color:var(--ink);letter-spacing:-.02em;font-family:var(--sans)}
.td-body h1{font-size:30px;line-height:1.25;font-weight:800;margin:2px 0 18px}
.td-body h2{font-size:21px;line-height:1.35;font-weight:800;margin:0 0 4px}
.td-date{margin:12px 0 0;color:var(--ink-3);font-size:15px;font-weight:600}
.td-sub,.td-lede{margin:0 0 14px;color:var(--ink-3);font-size:15px;line-height:1.6}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tint-rose{background:var(--t-rose)}.tint-sage{background:var(--t-sage)}.tint-lake{background:var(--t-lake)}.tint-navy{background:var(--t-navy)}.tint-sand{background:var(--t-sand)}.tint-plum{background:var(--t-plum)}

/* 머리 — 앱 화면에서는 '무료로 시작'(옛 입력 앱 링크)을 숨긴다. 이 화면이 곧 앱이다. */
.td-body .vh-cta{display:none!important}
.td-body .vh,.td-body .nav{background:rgba(255,255,255,.96)!important;border-bottom-color:var(--line)!important}

/* 4메뉴 — 폰은 하단, 넓은 화면은 본문 위. 글자를 같이 둔다(Hallow 는 아이콘만 — 화면낭독기 약점). */
.td-tabs{display:flex;gap:4px;max-width:720px;margin:0 auto;padding:10px 20px 0}
.td-tabs a{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:6px 4px;border-radius:var(--r-s);color:var(--ink-3);text-decoration:none;font-size:12.5px;font-weight:600;letter-spacing:-.01em}
.td-tabs a svg{width:24px;height:24px}
.td-tabs a[aria-current="page"]{color:var(--ink)}
.td-tabs a[aria-current="page"]::before{content:'';position:absolute;top:0;left:50%;width:20px;height:3px;margin-left:-10px;border-radius:0 0 3px 3px;background:var(--gold)}
.td-tabs a[aria-current="page"] svg{stroke-width:2.1}
:where(.td-body) :focus-visible{outline:3px solid #1E3AFF;outline-offset:2px}
@media (max-width:720px){
  .td-tabs{position:fixed;left:0;right:0;bottom:0;z-index:50;max-width:none;margin:0;padding:2px 8px calc(4px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:saturate(1.4) blur(10px)}
  body.td-body{padding-bottom:calc(var(--td-nav-h) + env(safe-area-inset-bottom) + 8px)}
}

/* 버튼 — 주 행동은 먹색 하나. (클래스 이름 td-btn-gold 는 옛 호출부 호환용) */
.td-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 20px;border-radius:14px;border:0;background:var(--mist);color:var(--ink);font:inherit;font-size:16px;font-weight:700;letter-spacing:-.01em;text-decoration:none;cursor:pointer;transition:transform .12s var(--ease),background-color .15s ease}
.td-wrap a.td-btn{color:var(--ink)}
.td-btn:active{transform:scale(.97)}
.td-btn-gold,.td-wrap a.td-btn-gold{background:var(--ink);color:#fff}
.td-btn-gold:hover{background:#26324A}
.td-btn-big{min-height:56px;padding:12px 28px;font-size:17px;border-radius:16px}
.td-btn[disabled]{opacity:.5;cursor:default}
.td-btn-line{min-height:44px;padding:8px 16px;font-size:15px;background:var(--mist)}
.td-btn-text{background:none;border:0;padding:8px 6px;min-height:44px;color:var(--ink-3);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.td-btn-text:hover{color:var(--ink)}

/* 오늘의 말씀 — 그림 면 + 절마다 한 줄 본문 */
.td-hero{margin:0 0 8px;border-radius:var(--r-l);background:var(--t-sand);overflow:hidden}
.td-hero-art{display:flex;justify-content:center;align-items:flex-end;padding:22px 20px 0}
.td-art{display:block;width:auto;height:200px;max-width:70%;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(23,32,51,.14))}
.td-hero-body{margin:-28px 10px 10px;padding:22px 18px 16px;border-radius:20px;background:var(--paper)}
.td-ref{margin:0 0 10px;font-size:15px;font-weight:700;color:var(--ink)}
.td-verse{margin:0;font-family:var(--serif);font-size:19px;line-height:1.85;color:var(--ink);letter-spacing:-.005em}
.td-verse.is-split .tv{display:block;padding-left:1.35em;text-indent:-1.35em;margin:0 0 6px}
.td-verse sup{display:inline-block;width:1.35em;text-indent:0;font-family:var(--sans);font-size:11px;font-weight:700;color:var(--gold-ink);vertical-align:.55em;line-height:1}
.td-hero-act{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.td-mins{border:0;margin:0;padding:3px;display:flex;align-items:stretch;gap:3px;border-radius:14px;background:var(--mist);flex-wrap:nowrap;position:relative}
.td-mins legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.td-min{position:relative;flex:1}
.td-min input{position:absolute;opacity:0;width:1px;height:1px}
.td-min label{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 8px;border-radius:11px;color:var(--ink-3);cursor:pointer;font-size:15px;font-weight:700;transition:background-color .15s ease,color .15s ease}
.td-min input:checked+label{background:var(--paper);color:var(--ink);box-shadow:0 1px 2px rgba(23,32,51,.12)}
.td-min input:focus-visible+label{outline:3px solid #1E3AFF;outline-offset:1px}
.td-mins::before{content:'머무를 시간';display:none}
.td-note{margin:0;font-size:14px;color:var(--ink-3);line-height:1.55}
.td-credit{margin:8px 0 0;font-size:12px;color:var(--ink-3)}
.td-status{min-height:0;margin:6px 0 0;font-size:15px;color:var(--ink);font-weight:600}
.td-status:empty{margin:0}

/* 섹션 — 카드 테두리를 반복하지 않는다. 여백과 제목으로 나눈다. */
.td-block{margin:36px 0 0;padding:20px;border-radius:var(--r-l);background:var(--mist)}
.td-block.td-plain{padding:0;background:none}
.td-block[hidden]{display:none}
.td-block-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.td-block-head h2{margin:0}

/* 줄 목록(루틴·이어서 하기·저장) — Hallow 루틴 줄 대응 */
.rt-list,.td-recent-list{list-style:none;margin:0;padding:0}
.rt-row,.td-recent-item{display:flex;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.rt-row:last-child,.td-recent-item:last-child{border-bottom:0}
.rt-art{flex:none;display:flex;align-items:flex-end;justify-content:center;width:56px;height:68px;border-radius:12px;overflow:hidden}
.rt-art img{width:44px;height:auto;display:block;margin-bottom:-2px}
.rt-text,.td-recent-text{flex:1;min-width:0}
.rt-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;font-size:13px;color:var(--ink-3);font-weight:600}
.rt-now,.rt-done{padding:0 8px;border-radius:999px;font-size:12px;line-height:20px}
.rt-now{background:#F5E9BF;color:#5E4700}
.rt-done{background:#E2EFE3;color:#2B5E34}
.rt-title{margin:2px 0 0;font-size:16px;font-weight:700;color:var(--ink);line-height:1.4}
.td-recent-text strong{display:block;font-size:16px;color:var(--ink);line-height:1.4}
.td-recent-text span{display:block;font-size:13px;color:var(--ink-3)}
.rt-go{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:0;background:var(--mist);color:var(--ink);cursor:pointer;transition:transform .12s var(--ease)}
.rt-go.is-now{background:var(--ink);color:#fff}
.rt-go:active{transform:scale(.94)}
.rt-go svg{margin-left:2px}
.rt-go[disabled]{opacity:.4}
.rt-change{margin-top:6px}
.rt-change summary{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;color:var(--ink-3);cursor:pointer;list-style:none}
.rt-change summary::-webkit-details-marker{display:none}
.rt-change summary::after{content:'';width:7px;height:7px;margin-left:8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.rt-change[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.rt-pick{display:flex;flex-direction:column;gap:4px;margin:4px 0 12px;font-size:13px;font-weight:600;color:var(--ink-3)}
.rt-select{width:100%;min-height:48px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font:inherit;font-size:15px;color:var(--ink)}

/* 선반 — 가로로 미는 줄, 다음 카드가 잘려 보인다 */
.td-shelves{margin-top:4px}
.shelf{margin:36px 0 0}
.shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.shelf-head h2{margin:0}
.shelf-more{flex:none;display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;color:var(--ink-3)!important;text-decoration:none}
.shelf-row{list-style:none;display:flex;gap:14px;margin:0 -20px;padding:0 20px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 20px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.shelf-row::-webkit-scrollbar{display:none}
.shelf-row .ac{flex:0 0 142px;scroll-snap-align:start}

/* 아치 카드 */
.ac{list-style:none;min-width:0}
.ac[hidden]{display:none}
.ac-hit{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:0;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.ac-art{display:flex;align-items:flex-end;justify-content:center;aspect-ratio:3/4;border-radius:var(--r-m);overflow:hidden;transition:transform .15s var(--ease)}
.ac-hit:active .ac-art{transform:scale(.97)}
.ac-art img{display:block;width:76%;height:auto;margin-bottom:-3px;filter:drop-shadow(0 6px 10px rgba(23,32,51,.12))}
.ac-title{margin-top:10px;font-size:15.5px;font-weight:700;line-height:1.35;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ac-sub{margin-top:2px;font-size:13.5px;line-height:1.45;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ac-meta{margin-top:3px;font-size:12.5px;font-weight:600;color:var(--ink-3)}
.ac-meta:empty{display:none}

/* 적어 두기 */
.td-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.td-link-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:72px;padding:14px 16px;border-radius:var(--r-m);background:var(--mist);text-decoration:none}
.td-wrap a.td-link-card{color:var(--ink)}
.td-link-ico{grid-row:1/3;display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:12px;background:var(--paper);color:var(--ink)}
.td-link-ico svg{width:22px;height:22px}
.td-link-card strong{font-size:16px;line-height:1.3}
.td-link-card span:last-child{font-size:13.5px;color:var(--ink-3);line-height:1.4}
.td-find{display:flex;flex-direction:column;gap:12px}
.td-find p{margin:4px 0 0;font-size:15px}
.ex-row{display:flex;gap:8px;flex-wrap:wrap}
.ex-row .td-btn{flex:1 1 140px;white-space:nowrap}
.td-find .td-btn{background:var(--paper)}

/* 이번 주 말씀 */
.wk-form label{display:block;font-size:15px;margin:6px 0 10px;color:var(--ink-2)}
.wk-row{display:flex;gap:8px}
.wk-form input{flex:1;min-width:0;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:16px;background:var(--paper);color:var(--ink)}
.wk-row .td-btn{background:var(--ink);color:#fff;flex:none}
.wk-text{margin:8px 0 14px;font-family:var(--serif);font-size:18px;line-height:1.8;color:var(--ink)}
.wk-ref{margin:6px 0 0;font-size:15px;font-weight:700;color:var(--ink)}
.wk-act{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* 성경 통독 */
.bb-kicker{margin:8px 0 0;font-size:13px;font-weight:600;color:var(--ink-3)}
.bb-range{margin:0 0 4px;font-size:20px;font-weight:800;color:var(--ink);line-height:1.45;letter-spacing:-.01em}
.bb-sub{margin:6px 0 12px;font-size:15px;color:var(--ink-3);line-height:1.6}
.bb-bar{height:6px;margin:4px 0 12px;border-radius:3px;background:var(--mist-2);overflow:hidden}
.bb-bar span{display:block;height:100%;background:var(--gold);border-radius:3px}
#bible .ex-row .td-btn:not(.td-btn-gold){background:var(--paper)}
.bb-remind{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.bb-remind-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px}
.bb-remind-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--ink)}
.bb-remind-row label{font-size:15px;cursor:pointer;color:var(--ink)}
.bb-remind-row input[type=time]{min-height:44px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;font:inherit;background:var(--paper);color:var(--ink)}
.bb-login{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding:10px 14px;border-radius:12px;background:var(--paper)}
.bb-login p{margin:0;font-size:14px;color:var(--ink-2)}
#bible{scroll-margin-top:84px}

/* 둘러보기 */
.ex-search{position:relative;margin:0 0 10px}
.ex-search-ico{position:absolute;left:14px;top:14px;color:var(--ink-3);pointer-events:none}
.ex-search input{width:100%;min-height:50px;padding:10px 14px 10px 44px;border:0;border-radius:14px;font:inherit;font-size:16px;background:var(--mist);color:var(--ink)}
.ex-search input::placeholder{color:var(--ink-3)}
.ex-count{min-height:0;margin:6px 0 0;font-size:14px;color:var(--ink-3)}
.ex-count:empty{margin:0}
.ex-jump{display:flex;gap:8px;margin:0 -20px 4px;padding:4px 20px 8px;overflow-x:auto;scrollbar-width:none}
.ex-jump::-webkit-scrollbar{display:none}
.ex-jump a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--ink-2)!important;text-decoration:none;white-space:nowrap}
.ex-group{margin:34px 0 0;scroll-margin-top:84px}
.ex-group[hidden],.ex-topics-h[hidden]{display:none}
.ex-group h2{scroll-margin-top:84px}
.ex-topic-group{margin-top:22px}
.ex-topic-group h2{font-size:17px;color:var(--ink-2)}
.ex-sub{margin:2px 0 14px;font-size:14.5px;color:var(--ink-3)}
.ex-topic-group .ex-grid{margin-top:12px}
.ex-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
@media (min-width:600px){.ex-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ex-topics-h{margin:48px 0 0;font-size:24px!important;scroll-margin-top:84px}
#ex-saved{margin-top:24px}
.ex-credit{margin-top:28px}
.ex-none[hidden]{display:none}
.ex-none{margin:24px 0;color:var(--ink-2)}
.ex-none a{color:var(--ink);font-weight:700}

/* 자주 묻는 질문 — 접어 둔다 */
.td-faq{margin:52px 0 0;padding-top:8px;border-top:1px solid var(--line)}
.td-faq h2{font-size:17px;margin:18px 0 6px;color:var(--ink-2)}
.td-faq details{border-bottom:1px solid var(--line)}
.td-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;cursor:pointer;list-style:none}
.td-faq summary::-webkit-details-marker{display:none}
.td-faq summary::after{content:'';flex:none;width:8px;height:8px;border-right:1.6px solid var(--ink-3);border-bottom:1.6px solid var(--ink-3);transform:rotate(45deg) translateY(-3px)}
.td-faq details[open] summary::after{transform:rotate(-135deg)}
.td-faq h3{display:inline;font-size:15.5px;font-weight:600;margin:0;color:var(--ink)}
.td-faq p{margin:0 0 16px;font-size:15px;line-height:1.75;color:var(--ink-2)}

/* 푸터 — 앱 화면에선 조용하게, 촘촘하게 */
.td-body .footer-cols a{padding-top:5px!important;padding-bottom:5px!important;min-height:0!important;line-height:1.5!important}
.td-body .footer-cols h5{margin-bottom:4px!important}
.td-body .footer-inner{padding-top:28px!important;padding-bottom:12px!important;gap:20px!important}
.td-body .footer{background:var(--mist)!important;border-top:0!important}
.td-body .footer,.td-body .footer a,.td-body .footer small,.td-body .footer h5{color:var(--ink-3)!important}

/* ═══ 시트 (veil-sheet.js) ═══ */
html.vs-lock,html.vs-lock body{overflow:hidden}
.vs-scrim{position:fixed;inset:0;z-index:1200;display:flex;align-items:flex-end;justify-content:center;background:rgba(23,32,51,0);transition:background-color .24s ease}
.vs-scrim.is-open{background:rgba(23,32,51,.42)}
.vs-sheet{position:relative;width:100%;max-width:560px;max-height:92vh;max-height:92dvh;overflow:auto;overscroll-behavior:contain;border-radius:24px 24px 0 0;background:var(--paper);transform:translateY(100%);transition:transform .32s var(--ease-sheet);padding-bottom:env(safe-area-inset-bottom);font-family:var(--sans);color:var(--ink-2);word-break:keep-all}
.vs-scrim.is-open .vs-sheet{transform:none}
@media (min-width:721px){.vs-scrim{align-items:center}.vs-sheet{border-radius:24px;max-height:88vh}}
@media (prefers-reduced-motion:reduce){.vs-sheet,.vs-scrim{transition:none}}
.vs-grip{position:absolute;top:8px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:rgba(23,32,51,.18);z-index:2}
.vs-x{position:absolute;top:10px;right:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:var(--ink);cursor:pointer}
.vs-body{padding:0 20px 24px}
.vs-sheet h2,.vs-sheet h3{font-family:var(--sans);color:var(--ink);letter-spacing:-.02em}
.vs-sheet .td-status:empty{display:none}

/* 상세 */
.dt-art{display:flex;align-items:flex-end;justify-content:center;height:230px;margin:0 -20px;padding-top:28px;overflow:hidden}
.dt-art img{height:212px;width:auto;margin-bottom:-4px;filter:drop-shadow(0 10px 18px rgba(23,32,51,.16))}
.dt-title{margin:20px 0 4px;font-size:26px;line-height:1.3;font-weight:800}
.dt-title:focus{outline:none}
.dt-lead{margin:0 0 14px;font-size:15.5px;line-height:1.6;color:var(--ink-2)}
.dt-facts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.dt-facts div{padding:8px 12px;border-radius:12px;background:var(--mist)}
.dt-facts dt{font-size:11.5px;font-weight:700;color:var(--ink-3)}
.dt-facts dd{margin:0;font-size:14px;font-weight:700;color:var(--ink)}
.dt-mins{margin:0 0 12px}
.dt-go{width:100%}
.dt-note{margin:10px 0 0;font-size:14px;color:var(--ink-3)}
.dt-status{margin-top:10px}
.dt-prog{height:6px;margin:0 0 14px;border-radius:3px;background:var(--mist-2);overflow:hidden}
.dt-prog span{display:block;height:100%;background:var(--gold)}
.dt-acts{display:flex;justify-content:center;gap:4px;margin:14px 0 4px;padding:6px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.dt-act,.dt-acts .ex-save{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;padding:6px;border:0;border-radius:12px;background:none;color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;text-decoration:none;cursor:pointer}
.dt-act:hover,.dt-acts .ex-save:hover{background:var(--mist)}
.dt-acts .ex-save::before{content:'';display:block;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h12v17l-6-4-6 4z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h12v17l-6-4-6 4z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.dt-acts .ex-save[aria-pressed="true"]{color:var(--gold-ink)}
.dt-acts .ex-save[aria-pressed="true"]::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h12v17l-6-4-6 4z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h12v17l-6-4-6 4z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat}
.dt-h3{margin:22px 0 10px;font-size:17px;font-weight:800}
.dt-days{list-style:none;margin:0;padding:0}
.dt-day{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:8px 0;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.dt-day-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--mist);font-size:14px;font-weight:800;color:var(--ink-2)}
.is-done .dt-day-n{background:var(--ink);color:#fff}
.dt-day-t{flex:1;min-width:0}
.dt-day-t strong{display:block;font-size:15.5px;line-height:1.35}
.dt-day-t span{display:block;font-size:13px;color:var(--ink-3)}
.dt-day-s{flex:none;font-size:13px;font-weight:700;color:var(--ink-3)}
.is-done .dt-day-s{color:#2F6B3A}
.dt-verses{list-style:none;margin:0;padding:0}
.dt-verses li{padding:12px 0;border-bottom:1px solid var(--line)}
.dt-v-t{display:block;font-family:var(--serif);font-size:16.5px;line-height:1.8;color:var(--ink)}
.dt-verses cite{display:block;margin-top:4px;font-style:normal;font-size:13px;font-weight:600;color:var(--ink-3)}
.vs-sheet .td-credit{margin-top:18px}

/* 마침 */
.dn-top{display:flex;align-items:center;gap:16px;padding:30px 0 6px}
.dn-img{flex:none;width:64px;height:auto}
.dn-title{margin:0;font-size:24px;font-weight:800;line-height:1.3}
.dn-title:focus{outline:none}
.dn-sub{margin:4px 0 0;font-size:15px;color:var(--ink-2)}
.dn-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.dn-day{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-3)}
.dn-day b{font-weight:600}
.dn-day::after{content:'';width:30px;height:30px;border-radius:50%;background:var(--mist);order:-1}
.dn-day.on::after{background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.dn-day.today b{color:var(--ink);font-weight:800}
.dn-verse{margin:0;padding:18px 18px 16px;border-radius:var(--r-m);background:var(--mist)}
.dn-verse blockquote{margin:0;font-family:var(--serif);font-size:18px;line-height:1.8;color:var(--ink)}
.dn-verse figcaption{margin-top:8px;font-size:13px;font-weight:700;color:var(--ink-3)}
.dn-card{flex-direction:row;width:100%;min-height:52px;margin-top:8px;border-radius:14px;background:var(--mist);font-size:15px;gap:8px}
.dn-recs{list-style:none;margin:0;padding:0}
.dn-rec{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:8px 0;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;text-align:left;color:var(--ink);cursor:pointer}
.dn-recs li:last-child .dn-rec{border-bottom:0}
.dn-rec-art{flex:none;display:flex;align-items:flex-end;justify-content:center;width:52px;height:64px;border-radius:12px;overflow:hidden}
.dn-rec-art img{width:40px;height:auto;margin-bottom:-2px}
.dn-rec-t{flex:1;min-width:0}
.dn-rec-t strong{display:block;font-size:15.5px;line-height:1.35}
.dn-rec-t span{display:block;font-size:13px;color:var(--ink-3)}

/* ═══ 세션·머무르기 플레이어 — 이 화면들에서만 v4 로 덮는다(/app 은 그대로) ═══ */
.td-body .dwell-overlay{background:var(--t-sand)!important;color:var(--ink);font-family:var(--sans);padding:84px 22px 28px}
.td-body .vsn-overlay.tint-rose{background:var(--t-rose)!important}.td-body .vsn-overlay.tint-sage{background:var(--t-sage)!important}.td-body .vsn-overlay.tint-lake{background:var(--t-lake)!important}.td-body .vsn-overlay.tint-navy{background:var(--t-navy)!important}.td-body .vsn-overlay.tint-plum{background:var(--t-plum)!important}
.td-body .dwell-x{top:12px;right:12px;min-height:44px;border:0;background:#fff;color:var(--ink);font-weight:700}
.td-body .vsn-head{top:18px;left:20px;right:150px;text-align:left}
.td-body .vsn-title{font-size:15px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.td-body .vsn-prog{margin-top:8px;height:3px;border-radius:2px;background:rgba(23,32,51,.12);font-size:0;overflow:hidden}
.td-body .vsn-prog span{display:block;height:100%;background:var(--ink);transition:width .3s var(--ease)}
.td-body .vsn-size{position:absolute;top:12px;right:84px;min-width:44px;min-height:44px;border:0;border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-weight:800;font-size:15px;cursor:pointer}
.td-body .vsn-size[aria-pressed="true"]{background:var(--ink);color:#fff}
.td-body .dwell-step{max-width:30em}
.td-body .dwell-art{width:auto;height:180px;border-radius:0;background:none;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(23,32,51,.16));margin:0 auto 22px;display:block}
.td-body .dwell-guide{background:none!important;padding:0;color:var(--ink-2);font-size:14.5px}
.td-body .dwell-verse,.td-body .vsn-say{font-family:var(--serif)!important;color:var(--ink);font-size:23px;line-height:1.75}
html[data-text-size="large"] .td-body .dwell-verse,html[data-text-size="large"] .td-body .vsn-say{font-size:27px}
.td-body .dwell-ref{color:var(--ink-2);font-style:normal;font-weight:600}
.td-body .dwell-btn{min-height:50px;padding:10px 24px;border-radius:14px;border:0;background:#fff;color:var(--ink);font-weight:700}
.td-body .dwell-btn.primary{background:var(--ink);color:#fff}
.td-body .vsa-label{color:var(--ink-2)}
.td-body .vsa-btn{border:0;background:rgba(255,255,255,.75);color:var(--ink-2);font-weight:600}
.td-body .vsa-btn[aria-pressed="true"]{background:var(--ink);color:#fff;font-weight:700}
.td-body .dwell-orb{background:radial-gradient(circle,rgba(205,160,10,.35),rgba(205,160,10,.08) 65%,transparent 70%)!important}
.td-body .dwell-bar{background:rgba(23,32,51,.1)}.td-body .dwell-bar span{background:var(--ink)}
.td-body .vsn-stage textarea,.td-body .dwell-overlay textarea{display:block;width:100%;min-height:104px;padding:12px 14px;border:0;border-radius:14px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.td-body .dwell-q{display:block;text-align:left}
.td-body .dwell-q-hint{display:block;margin-top:8px;text-align:left;color:var(--ink-2)}
.td-body .dwell-stayed{color:var(--ink-2);font-weight:600}
.td-body .dwell-credit{color:var(--ink-2);background:none!important}
.td-body .dwell-q-ask{font-family:var(--sans);font-weight:800;font-size:20px;color:var(--ink);line-height:1.45}
.td-body .dwell-end{justify-content:stretch}
.td-body .dwell-end .dwell-btn{flex:1}

/* 알림 토스트 */
.veil-toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translate(-50%,16px);max-width:min(92vw,520px);padding:12px 18px;border-radius:14px;background:var(--ink);color:#fff;font-size:15px;line-height:1.5;text-align:center;word-break:keep-all;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s var(--ease);z-index:1100}
.veil-toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:721px){.veil-toast{bottom:28px}}

@media (max-width:560px){
  .td-art{height:164px}
  .td-hero-art{padding-top:16px}
  .td-hero-body{margin:-22px 6px 6px;padding:20px 16px 14px}
  .td-verse{font-size:18px}
  .td-links{grid-template-columns:1fr}
  .td-btn-big{width:100%}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.td-btn,.ac-art,.rt-go{transition:none}}
/* 대림절 같이 걷기 안내 (2026-11-05) */
#td-season p{margin:6px 0 12px;word-break:keep-all}
#td-season .ss-line{display:block}
/* 2026-11-15 맨 위로 올림 — 바로 가기 타일과 붙지 않게 */
#td-season{margin:20px 0 16px}
#td-season .adv-line{display:block}
#td-season .ss-go{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--v5-ink,#191F28);background:#fff;border:1px solid var(--v5-line,#E5E8EB);border-radius:var(--v5-r-btn,10px);font-weight:600}

/* ═══ 오늘의 세 가지 (2026-11-15, 방향 점검 §5 ①) ═══
   흰 카드 한 장. 세 칸은 머리카락 선으로 나눈다(카드 안에 카드를 넣지 않는다). 칸 높이 64px, 안쪽 18px(다른 카드와 같은 줄).
   한 것은 먹색 원 + ✓ 글자(색만으로 구분하지 않는다, 금색은 쓰지 않는다). */
.t3{margin:0 0 12px;border-radius:var(--v6-r,16px);background:var(--v6-card,#fff);box-shadow:var(--v6-shadow,0 0 0 1px rgba(60,48,30,.07))}
.t3 h2{margin:0;padding:16px 18px 12px}
.t3-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--v6-line,#E8E3DA)}
.t3-row li{min-width:0}
.t3-row li+li{border-left:1px solid var(--v6-line,#E8E3DA)}
.t3-cell{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:10px 6px 11px 18px;text-decoration:none;transition:background-color .15s ease}
.td-wrap a.t3-cell{color:var(--v5-ink,#191F28)}
.t3-cell:active{background:var(--v6-tint,#F3F0EA)}
.t3-row li:first-child .t3-cell{border-bottom-left-radius:var(--v6-r,16px)}
.t3-row li:last-child .t3-cell{border-bottom-right-radius:var(--v6-r,16px)}
.t3.has-note .t3-row .t3-cell{border-radius:0}
/* 키보드 초점 테두리는 칸 안쪽에 — 바깥으로 나가면 제목·옆 칸을 덮는다(veil-v5.css 의 전역 !important 보다 앞서야 한다) */
html body .t3-cell:focus-visible{outline-offset:-3px!important;border-radius:8px}
.t3-top{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;line-height:18px;color:var(--v5-ink-3,#6B7684)}
.t3-mark{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:999px;border:1.5px solid #8B929E;font-size:11px;font-weight:700;line-height:1;color:#fff}
.t3-cell.is-done .t3-mark{background:var(--v5-ink,#191F28);border-color:var(--v5-ink,#191F28)}
.t3-cell.is-done .t3-when{color:var(--v5-ink-2,#4E5968)}
.t3-what{font-size:14px;font-weight:600;line-height:1.35}
.t3-note{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:2px 4px 2px 18px;border-top:1px solid var(--v6-line,#E8E3DA);font-size:13px;line-height:1.5;color:var(--v5-ink-3,#6B7684)}
.t3-note[hidden]{display:none}
.t3-note-t span{display:block}
.t3-note-x{flex:none;min-width:48px;min-height:44px;padding:0 10px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--v5-ink-2,#4E5968);cursor:pointer}
@media (min-width:560px){.t3-note-t span{display:inline}}
/* 주일·월요일: '이번 주 붙잡을 말씀'이 오늘의 말씀 카드 바로 아래로 올라온다 — 카드끼리 붙지 않을 만큼만 띄운다 */
html body #td-week.wk-up{margin-top:20px!important}

/* 2026-11-17: 대림절 시작 전(12/1 전)에는 같이 걷기 칸을 한 줄 띠로 — 오늘의 말씀이 첫 화면에 더 가까이 */
html body #td-season.is-pre { display: flex !important; align-items: center; gap: 10px; padding: 12px 14px !important; }
html body #td-season.is-pre p { display: none !important; }
html body #td-season.is-pre h2 { flex: 1 1 auto; margin: 0 !important; font-size: 14.5px !important; line-height: 1.4; }
html body #td-season.is-pre .ss-go { flex: 0 0 auto; margin: 0 !important; min-height: 40px; padding: 8px 12px !important; font-size: 13.5px !important; }
