/* 소설: 글쓰기 도구 (novel-rich.js) + 읽기 화면 글자 모양 (굵게 · 기울임 · 크기) */
.nr-wrap{display:grid;margin:-6px 0 0}
.nr-bar{position:sticky;top:0;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--nv-line,rgba(255,255,255,.14));border-bottom:0;border-radius:12px 12px 0 0;background:var(--nv-card,#151821)}
.nr-bar button{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:4px 11px;border:1px solid var(--nv-line,rgba(255,255,255,.14));border-radius:8px;background:transparent;color:var(--nv-ink,inherit);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.nr-bar button:hover{background:color-mix(in srgb,var(--nv-accent,#8068ff) 12%,transparent)}
.nr-bar button.on{border-color:var(--nv-accent,#8068ff);background:color-mix(in srgb,var(--nv-accent,#8068ff) 22%,transparent)}
.nr-bar .nr-b b,.nr-bar .nr-i i{font-family:var(--nv-serif,serif);font-size:16px;line-height:1}
.nr-bar .nr-b b{font-weight:900}
.nr-sep{width:1px;align-self:stretch;margin:2px 4px;background:var(--nv-line,rgba(255,255,255,.14))}
.nr-lab{font-size:12px;opacity:.7;margin-right:2px}
.nr-bar .nr-sz[data-s=small]{font-size:11.5px}.nr-bar .nr-sz[data-s=big]{font-size:14.5px}.nr-bar .nr-sz[data-s=huge]{font-size:16px;font-weight:800}
.nr-tip{margin-left:auto;font-size:11.5px;opacity:.55}
.nr-edit{min-height:420px;max-height:75vh;overflow-y:auto;padding:12px 14px;border:1px solid var(--nv-line,rgba(255,255,255,.14));border-radius:0 0 12px 12px;background:color-mix(in srgb,var(--nv-ink,#fff) 3%,transparent);color:var(--nv-ink,inherit);font-family:var(--nv-serif,serif);font-size:15.5px;line-height:1.9;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;cursor:text}
.nr-wrap.focus .nr-edit{outline:2px solid color-mix(in srgb,var(--nv-accent,#8068ff) 55%,transparent);outline-offset:1px}
.nr-edit:focus{outline:none}
/* 사이트 전체가 font-synthesis:none 이라 한글 굵게 · 기울임이 안 보임 → 여기선 켬 */
.nr-edit,.nr-edit *{font-synthesis:weight style}
.nr-edit div{min-height:1em}
.nr-edit b,.nr-edit strong{font-weight:800}
.nr-edit font[size="1"],.nr-edit font[size="2"]{font-size:.85em}
.nr-edit font[size="3"]{font-size:1em}
.nr-edit font[size="4"],.nr-edit font[size="5"]{font-size:1.3em}
.nr-edit font[size="6"],.nr-edit font[size="7"]{font-size:1.7em;line-height:1.45}
/* 읽기 화면 */
.novel-text,.novel-text *{font-synthesis:weight style}
.novel-text b{font-weight:800}
.novel-text .nv-small{font-size:.85em}
.novel-text .nv-big{font-size:1.3em}
.novel-text .nv-huge{font-size:1.7em;line-height:1.45}
@media (max-width:560px){.nr-tip{display:none}.nr-bar button span{display:none}.nr-bar button{padding:4px 9px}}
