/* Quiet, compact discovery on the homepage; a deliberate choice opens the gift selector. */
.reading-gift-notice,.reading-gift-dialog{--rg-paper:#fffafc;--rg-soft:#f2e9f6;--rg-ink:#3a2b42;--rg-muted:#77617e;--rg-line:#d6c4df;--rg-accent:#745086;font-family:'Noto Sans KR',sans-serif;box-sizing:border-box}
html.theme-dark .reading-gift-notice,html.theme-dark .reading-gift-dialog,html[data-theme=dark] .reading-gift-notice,html[data-theme=dark] .reading-gift-dialog{--rg-paper:#2d2635;--rg-soft:#393043;--rg-ink:#f6eefb;--rg-muted:#c6b4d1;--rg-line:#665071;--rg-accent:#dec2ee}
html body .reading-gift-notice{display:flex;align-items:center;gap:14px;padding:15px 18px;margin:0 0 20px;background:var(--rg-soft);border:1px solid var(--rg-line);border-radius:6px;color:var(--rg-ink);text-align:left}
html body .reading-gift-notice[hidden]{display:none!important}
.reading-gift-notice .rg-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;color:var(--rg-accent);font-size:29px;line-height:1}
html body .rg-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}html body .rg-copy strong{font-size:15px;line-height:1.6;color:var(--rg-ink)}html body .rg-copy small{font-size:10px;line-height:1.6;color:var(--rg-accent)}html body .rg-copy span{font-size:11px;line-height:1.7;color:var(--rg-muted)}
html body .rg-open{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-height:40px;padding:10px 14px;border-radius:5px;border:1px solid var(--rg-line);background:var(--rg-paper);color:var(--rg-ink);font:600 12px/1.4 'Noto Sans KR',sans-serif;cursor:pointer;white-space:nowrap;margin:0}
html body .rg-open:hover{background:var(--rg-soft);border-color:var(--rg-accent);transform:none}
html body dialog.reading-gift-dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:25px;border:1px solid var(--rg-line);border-radius:8px;background:var(--rg-paper);color:var(--rg-ink);overflow-y:auto;box-shadow:0 22px 70px #120c2b55}
.reading-gift-dialog::backdrop{background:#161020a8;backdrop-filter:blur(3px)}
.rg-dialog-top{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.rg-eyebrow{font-size:10px;letter-spacing:.08em;color:var(--rg-accent)}html body .reading-gift-dialog h2{font:700 24px/1.5 'Noto Sans KR',sans-serif;color:var(--rg-ink);margin:8px 0 0;letter-spacing:-.04em}
html body .rg-close{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;padding:0;margin:0;border:1px solid var(--rg-line);border-radius:5px;background:transparent;color:var(--rg-muted);font:400 23px/1 sans-serif;cursor:pointer}
html body .rg-dialog-description,html body .rg-dialog-note{color:var(--rg-muted);font-size:12px;line-height:1.8;margin:12px 0 20px}.rg-options{display:grid;gap:10px}
html body a.rg-option{display:grid;grid-template-columns:70px minmax(0,1fr) 24px;gap:16px;align-items:center;padding:9px 14px 9px 9px;border:1px solid var(--rg-line);border-radius:6px;background:var(--rg-soft);text-decoration:none;color:var(--rg-ink)}
html body a.rg-option:hover{border-color:var(--rg-accent);filter:brightness(1.04);transform:none}.rg-option img{width:70px;height:82px;object-fit:cover;object-position:50% 20%;border-radius:4px}.rg-option>div{display:flex;flex-direction:column;gap:2px;min-width:0}html body .rg-free{font-size:9px;letter-spacing:.04em;color:var(--rg-accent)}html body .rg-option strong{font-size:19px;color:var(--rg-ink);font-weight:750}html body .rg-option div>span{font-size:11px;color:var(--rg-muted);line-height:1.6}.rg-arrow{display:grid;place-items:center;font-size:19px;line-height:1;color:var(--rg-accent)}html body .rg-dialog-note{white-space:pre-line;margin:18px 0 0;font-size:10px}
.rg-recovery{display:flex;flex-wrap:wrap;gap:8px;align-items:center}html body .rg-text-link{width:auto;min-height:32px;padding:4px 8px;background:none;border:0;color:var(--rg-muted);font:12px/1.5 'Noto Sans KR',sans-serif;text-decoration:underline;cursor:pointer}
.reading-gift-notice :focus-visible,.reading-gift-dialog :focus-visible{outline:2px solid var(--rg-accent);outline-offset:3px}
@media(max-width:600px){html body .reading-gift-notice{padding:12px;gap:10px;margin-bottom:14px;flex-wrap:wrap}.reading-gift-notice .rg-mark{width:24px;height:24px;font-size:24px}html body .rg-copy strong{font-size:13px}html body .rg-open{font-size:11px;padding:9px 11px}html body .rg-copy{flex-basis:calc(100% - 125px)}html body .rg-copy span{font-size:10px}html body dialog.reading-gift-dialog{padding:22px 17px}html body .reading-gift-dialog h2{font-size:21px}.rg-recovery{padding-left:34px}html body a.rg-option{gap:12px;grid-template-columns:64px minmax(0,1fr) 20px}.rg-option img{width:64px;height:78px}}
