/* 말씀에 머무르기 (P1, 2026-10-23) — 라이트 전용. 색 체계 미디어쿼리를 쓰지 않는다(다크 잠금, AGENTS.md). */
@font-face{font-family:'Noto Serif KR Card';src:url(fonts/noto-serif-kr/NotoSerifKR-500-ksx1001.woff2) format('woff2');font-weight:500;font-display:swap}
.response-dwell{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:10px 0 4px}
.dwell-go{min-height:44px;padding:10px 18px;border-radius:999px;border:1px solid var(--gold,#CDA00A);background:var(--gold,#CDA00A);color:var(--gold-ink,#1A1405);font:inherit;font-weight:700;cursor:pointer}
.dwell-mins{display:inline-flex;gap:6px}
.dwell-min{min-height:44px;min-width:56px;padding:8px 12px;border-radius:999px;border:1px solid #d9d4c7;background:#fff;color:#2b2a27;font:inherit;cursor:pointer}
.dwell-min[aria-pressed="true"]{border-color:var(--gold,#CDA00A);background:#fbf5e1;font-weight:700}
.dwell-overlay{position:fixed;inset:0;z-index:1000;overflow:auto;background:url(images/dwell/bg-landscape.webp?v=2) center bottom/cover no-repeat,#FBFAF7;color:#1f1e1b;display:flex;flex-direction:column;align-items:center;padding:56px 20px 40px;word-break:keep-all;overflow-wrap:anywhere}
.dwell-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.dwell-x{position:absolute;top:12px;right:12px;min-height:44px;padding:8px 14px;border-radius:999px;border:1px solid #d9d4c7;background:#fff;font:inherit;cursor:pointer}
.dwell-step{width:100%;max-width:32em;margin:auto 0;text-align:center}
.dwell-guide{margin:0 0 20px;color:#6b665c;font-size:15px}
.dwell-verse{margin:0 0 12px;font-family:'Noto Serif KR Card','Noto Serif KR','AppleMyungjo','Batang',Georgia,serif;font-weight:500;font-size:22px;line-height:1.6;color:#1f1e1b}
.dwell-ref{display:block;font-style:normal;font-size:14px;color:#6b665c;margin-bottom:28px}
.dwell-bar{height:3px;background:#ebe6d8;border-radius:999px;overflow:hidden}
.dwell-bar span{display:block;height:100%;width:0;background:var(--gold,#CDA00A)}
.dwell-clock{margin:10px 0 20px;font-variant-numeric:tabular-nums;color:#6b665c}
.dwell-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.dwell-btn{min-height:44px;padding:10px 20px;border-radius:999px;border:1px solid #d9d4c7;background:#fff;color:#2b2a27;font:inherit;cursor:pointer}
.dwell-btn.primary{background:var(--gold,#CDA00A);border-color:var(--gold,#CDA00A);color:var(--gold-ink,#1A1405);font-weight:700}
.dwell-orb{width:120px;height:120px;margin:8px auto 12px;border-radius:50%;background:radial-gradient(circle at 50% 45%,#fff6dc,#f0e2b6);animation:dwell-breathe 8s ease-in-out infinite}
.dwell-breath{margin:0 0 24px;color:#6b665c}
.dwell-q{display:block;text-align:left}
.dwell-q-ask{display:block;font-family:'Noto Serif KR Card','Noto Serif KR','AppleMyungjo','Batang',Georgia,serif;font-size:19px;line-height:1.5;margin-bottom:10px}
.dwell-q textarea{width:100%;min-height:96px;padding:12px;border:1px solid #d9d4c7;border-radius:12px;font:inherit;background:#fff}
.dwell-q-hint{display:block;margin:8px 0 16px;color:#6b665c;text-align:left}
.dwell-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.dwell-btn:focus-visible,.dwell-go:focus-visible,.dwell-min:focus-visible,.dwell-x:focus-visible{outline:3px solid #1e3aff;outline-offset:2px}
/* v2 (2026-10-23 Hallow 재비교) */
.dwell-art{display:block;width:96px;height:96px;margin:0 auto 16px;border-radius:24px;object-fit:cover}
.dwell-count{margin:-16px 0 20px;font-size:13px;color:#8a8478;font-variant-numeric:tabular-nums}
.dwell-line{display:block;transition:opacity .9s ease;text-wrap:balance} /* 좁은 화면에서 끝 어절만 떨어지지 않게(AGENTS 글쓰기 규칙) */
.dwell-line.is-waiting{opacity:0}
.dwell-next{display:flex;align-items:center;justify-content:center;gap:10px;margin:-12px 0 20px}
.dwell-next[hidden]{display:none}
.dwell-pos{font-size:13px;color:#8a8478;font-variant-numeric:tabular-nums}
.dwell-stayed{margin:0 0 18px;font-size:15px;color:#6b665c}
.dwell-end{margin-top:4px}
a.dwell-btn{display:inline-flex;align-items:center;text-decoration:none}
/* 배경(2026-10-23): Google Flow(Nano Banana)로 만든 그림 — 아치 창·새벽빛·올리브. 가운데는 비어 있어 글자 대비를 지킨다. 덮개 아래에 AI 생성 표기(.dwell-credit). 세로 화면은 세로 그림. */
@media (max-aspect-ratio:3/4){.dwell-overlay{background-image:url(images/dwell/bg-portrait.webp?v=2)}}
.dwell-credit{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);margin:0;padding:2px 10px;border-radius:999px;background:rgba(251,250,247,.75);font-size:12px;color:#6b665c;white-space:nowrap}
@keyframes dwell-breathe{0%,100%{transform:scale(.82)}50%{transform:scale(1)}}
@media (min-width:768px){.dwell-verse{font-size:26px}}
@media (prefers-reduced-motion:reduce){.dwell-orb{animation:none;transform:none}.dwell-line{transition:none}}
/* 배경음·낭독 (2026-10-31, session-audio.js) */
.vsa{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px;max-width:360px;margin:14px auto 0}
/* 2026-11-12 음원 4개로 늘면서 폰에서 한 줄에 안 들어간다 → 라벨은 위 한 줄, 버튼은 가운데로 두 줄 */
.vsa-label{flex-basis:100%;text-align:center;font-size:14px;color:#6b665c;margin:0}
.vsa-btn{min-height:44px;min-width:44px;padding:8px 14px;border-radius:999px;border:1px solid #d9d4c7;background:rgba(255,255,255,.92);color:#2b2a27;font:inherit;font-size:14px;cursor:pointer}
.vsa-btn[aria-pressed="true"]{border-color:var(--gold,#CDA00A);background:#fbf5e1;font-weight:700}
.vsa-btn:focus-visible,.vsa-clip:focus-visible{outline:3px solid #1e3aff;outline-offset:2px}
.dwell-audio{width:100%;display:flex;justify-content:center;margin:14px 0 28px}
.vsn-clip-row{margin:-8px 0 18px}
/* 2026-10-31 폰 점검 후속 */
html.vsn-lock, html.vsn-lock body { overflow: hidden; }
.dwell-overlay { padding-top: 84px; overscroll-behavior: contain; }
.dwell-credit { white-space: normal; max-width: calc(100% - 24px); text-align: center; line-height: 1.4; bottom: 6px; background: rgba(251,250,247,.9); }
.dwell-title { position: absolute !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; top: 22px; left: 16px; right: 96px; margin: 0; font-size: 15px; font-weight: 700; color: #3d3a33; text-align: left; }
.vsn-overlay .dwell-title { display: none; }
.dwell-guide { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(251,250,247,.82); }
.dwell-next { gap: 14px !important; }
.dwell-pos { padding: 0 4px; }
.vsn-nav[hidden] { display: none !important; }
.vsn-say { text-wrap: balance; }
.vsn-say .dwell-line { display: block; }
.dwell-q-ask:focus { outline: none; }
.dwell-q-ask:focus-visible { outline: 3px solid #1e3aff; outline-offset: 4px; }
.dwell-ask, .vsn-stage { text-align: center; }
.dwell-q { text-align: left; }
