/* 오늘의 글귀 — 손글씨 필사 영상. 운세 화면(daily-fortune.css)과 같은 결의 종이 카드, 다크 모드·휴대폰 폭 지원. */
.quote-paper{--q-bg:#faf7f1;--q-card:#fff;--q-ink:#2b2620;--q-muted:#6b6257;--q-line:#e7dfd2;--q-accent:#9a5b2e;--q-soft:#f3ebdf;--q-shadow:0 8px 28px #4a361f0d;color:var(--q-ink);background:var(--q-bg);max-width:960px;margin:16px auto;padding:clamp(14px,3vw,32px);border-radius:24px;box-sizing:border-box;min-width:0;font-size:1rem;line-height:1.7}
.dark-mode .quote-paper,[data-bs-theme=dark] .quote-paper{--q-bg:#1f1c19;--q-card:#2a2622;--q-ink:#f3ede4;--q-muted:#c2b8aa;--q-line:#463f37;--q-accent:#e3b98f;--q-soft:#38312a;--q-shadow:none}
.quote-paper *{box-sizing:border-box}
.quote-paper a{color:var(--q-accent);text-decoration:none}
.quote-paper a:hover{text-decoration:underline}
.quote-paper a:focus-visible{outline:3px solid var(--q-accent);outline-offset:4px}
.quote-masthead{padding:20px 0 8px}
.quote-kicker{font-weight:800;color:var(--q-accent);font-size:.88rem}
.quote-masthead h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.25;letter-spacing:-.04em;font-weight:850;margin:10px 0 12px}
.quote-masthead em{font-style:normal;color:var(--q-accent)}
.quote-masthead p{color:var(--q-muted);margin:6px 0}
.quote-empty{background:var(--q-card);border:1px dashed var(--q-line);border-radius:18px;padding:32px 20px;text-align:center;margin:20px 0}
.quote-empty h2{font-size:1.2rem;margin:0 0 8px}
.quote-empty p{color:var(--q-muted);margin:0}
.quote-feature{background:var(--q-card);border:1px solid var(--q-line);border-radius:20px;padding:clamp(14px,3vw,28px);box-shadow:var(--q-shadow);margin:18px 0}
.quote-head h2{font-size:1.45rem;margin:2px 0 4px;letter-spacing:-.03em}
.quote-date{color:var(--q-muted);font-weight:700;font-size:.9rem;margin:0}
.quote-sub{color:var(--q-muted);margin:0 0 12px}
.quote-video{margin:12px 0 20px;border-radius:16px;overflow:hidden;background:#000;display:flex;justify-content:center}
.quote-video video{display:block;width:100%;max-height:78vh;background:#000}
.quote-lines{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.quote-line{background:var(--q-soft);border-radius:16px;padding:16px 18px}
.quote-line blockquote{margin:0}
.quote-line blockquote p{font-size:1.2rem;font-weight:700;line-height:1.6;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.quote-line footer{margin-top:6px;color:var(--q-muted);font-size:.92rem}
.quote-line footer::before{content:"— "}
.quote-line cite{font-style:normal}
.quote-meaning{margin:10px 0 0;color:var(--q-ink);font-size:.97rem;border-top:1px solid var(--q-line);padding-top:10px}
.quote-back{margin:8px 0 18px}
.quote-past h2{font-size:1.2rem;margin:26px 0 12px}
.quote-past-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.quote-past-list a{display:flex;flex-direction:column;gap:2px;height:100%;background:var(--q-card);border:1px solid var(--q-line);border-radius:14px;padding:12px 14px;color:var(--q-ink)}
.quote-past-list a:hover{border-color:var(--q-accent);text-decoration:none}
.quote-past-date{color:var(--q-muted);font-size:.82rem;font-weight:700}
.quote-past-sub{color:var(--q-muted);font-size:.9rem}
.quote-more{text-align:center;margin:16px 0 0}
.quote-more a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--q-line);border-radius:12px;background:var(--q-card)}
.quote-note{margin-top:24px;color:var(--q-muted);font-size:.85rem}
@media (max-width:576px){.quote-paper{margin:8px;border-radius:18px}.quote-line blockquote p{font-size:1.08rem}.quote-past-list{grid-template-columns:1fr}}
