/* Reader-only Hindi/Latin subsets. Original fonts and OFL notices are retained. */
@font-face{font-family:'NV Reader Text';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/reader/martel-400-subset.woff2') format('woff2');unicode-range:U+0000-024F,U+0900-097F,U+1CD0-1CFF,U+2000-206F,U+20A0-20CF,U+A8E0-A8FF,U+11B00-11B5F;}
@font-face{font-family:'NV Reader Text';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/reader/martel-700-subset.woff2') format('woff2');unicode-range:U+0000-024F,U+0900-097F,U+1CD0-1CFF,U+2000-206F,U+20A0-20CF,U+A8E0-A8FF,U+11B00-11B5F;}
@font-face{font-family:'NV Reader Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/reader/rozha-one-400-subset.woff2') format('woff2');unicode-range:U+0000-024F,U+0900-097F,U+1CD0-1CFF,U+2000-206F,U+20A0-20CF,U+A8E0-A8FF,U+11B00-11B5F;}
@font-face{font-family:'NV Reader Italic';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/reader/tiro-devanagari-hindi-400italic-subset.woff2') format('woff2');unicode-range:U+0000-024F,U+0900-097F,U+1CD0-1CFF,U+2000-206F,U+20A0-20CF,U+A8E0-A8FF,U+11B00-11B5F;}
body:has(#nv-reader) { font-family: 'NV Reader Text', serif; }
.nv-reader h2 { font-family: 'NV Reader Display', serif; }
.nv-issue-admin { color: #3a2a22; font-family: 'NV Reader Text', serif; }
.nv-issue-admin label { display: block; font-weight: 700; margin-bottom: 5px; }
.nv-admin-fields { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 12px; }
.nv-admin-fields input { box-sizing: border-box; width: 100%; min-height: 40px; }
.nv-admin-upload, .nv-admin-map { border: 1px solid #e2d6c3; background: #fbf8f1; padding: 14px; margin: 14px 0; }
.nv-admin-upload input { margin-right: 8px; }
.nv-admin-results { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.nv-map-stage { position: relative; max-width: 100%; margin: 12px 0; background: #fff; border: 1px solid #d8cbb4; touch-action: none; cursor: crosshair; }
.nv-map-stage canvas { display: block; max-width: 100%; }
#nv-map-overlays { position: absolute; inset: 0; pointer-events: none; }
.nv-admin-region { position: absolute; outline: 2px dashed #b85c45; background: rgba(196,98,74,.14); }
#nv-map-draw { position: absolute; border: 2px dashed #b85c45; background: rgba(196,98,74,.2); pointer-events: none; }
#nv-map-draw[hidden], .nv-map-picker[hidden] { display: none; }
.nv-map-picker { padding: 12px; border: 1px solid #b85c45; background: #f4efe4; margin-bottom: 12px; }
#nv-map-results { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.nv-map-picker input { min-height: 40px; width: min(100%, 360px); }
.nv-issue-admin .notice { padding: 10px; }
.nv-issue-admin .notice[hidden] { display: none; }
@media (max-width: 700px) { .nv-admin-fields { grid-template-columns: repeat(2, minmax(100px, 1fr)); } }

.nv-reader { --nv-ink: #3a2a22; --nv-cream: #f4efe4; --nv-paper: #fbf8f1; --nv-rule: #e2d6c3; --nv-muted: #7a6656; --nv-coral: #d4795f; color: var(--nv-ink); background: #efe7d8; min-height: 100vh; font-family: 'NV Reader Text', serif; }
.nv-reader button, .nv-reader a, .nv-reader select { font: inherit; }
.nv-reader button { cursor: pointer; }
.nv-reader button:disabled { opacity: .45; cursor: default; }
.nv-reader-toolbar { background: var(--nv-cream); border-bottom: 3px double var(--nv-ink); }
.nv-reader-toolbar-inner { padding: 7px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nv-reader-brand, .nv-reader-tools, .nv-issue-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.nv-reader-brand { gap: 8px; }
.nv-reader-brand img { display: block; width: auto; height: 36px; }
.nv-reader-brand-rule { width: 1px; height: 30px; background: var(--nv-rule); }
.nv-reader-brand strong { display: block; font: 18px/1.3 'NV Reader Display', serif; }
.nv-reader-brand small { display: block; color: var(--nv-muted); font-size: 12px; }
.nv-issue-switch { margin-left: 6px; flex-wrap: nowrap; }
.nv-issue-switch label { white-space: nowrap; font-size: 13px; font-weight: 700; }
.nv-issue-switch select { box-sizing: border-box; width: 145px; min-height: 44px; border: 1px solid var(--nv-ink); background: var(--nv-paper); color: var(--nv-ink); padding: 0 6px; font-size: 13px; }
.nv-issue-switch a, .nv-reader-tools button, .nv-reader-tools a, .nv-reader-pagebar button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; border: 1px solid var(--nv-ink); background: var(--nv-paper); color: var(--nv-ink); text-decoration: none; padding: 0 12px; font-size: 13px; font-weight: 700; }
.nv-reader-tools #nv-zoom-in, .nv-reader-tools #nv-zoom-out, .nv-reader-pagebar button { width: 44px; padding: 0; font: 24px/1 Arial, sans-serif; }
.nv-reader-tools output { min-width: 48px; text-align: center; font-size: 13px; font-weight: 700; }
.nv-reader-tools #nv-fullscreen { background: #b85c45; color: var(--nv-cream); border-color: #b85c45; }
.nv-reader-tools #nv-clip[aria-pressed=true] { background: var(--nv-ink); color: white; }
.nv-reader-tools #nv-nav-toggle[aria-expanded=true] { background: var(--nv-ink); color: var(--nv-cream); }
.nv-reader-layout { padding: 10px 20px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.nv-reader-layout-with-rails { grid-template-columns: 220px minmax(0, 1fr) 280px; }
.nv-page-rail[hidden], .nv-stories-rail[hidden] { display: none; }
.nv-page-rail h2, .nv-stories-rail h2 { margin: 0 0 8px; padding: 4px 2px; color: #b85c45; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
#nv-page-list { display: flex; flex-direction: column; gap: 8px; }
.nv-page-button { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 76px; padding: 8px; border: 1px solid var(--nv-rule); background: var(--nv-paper); text-align: left; color: var(--nv-ink); }
.nv-page-button[aria-current=page] { border-color: var(--nv-ink); background: var(--nv-cream); }
.nv-page-button .nv-thumb { width: 44px; height: 60px; flex: none; overflow: hidden; border: 1px solid var(--nv-rule); background: white; }
.nv-thumb canvas, .nv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nv-page-button strong, .nv-page-button small { display: block; }
.nv-page-button strong { font-size: 14px; }
.nv-page-button small { max-width: 140px; color: var(--nv-muted); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nv-reader-main { min-width: 0; }
.nv-reader-pagebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.nv-reader-pagebar > div { display: flex; gap: 8px; align-items: center; }
.nv-reader-pagebar strong { font: 18px 'NV Reader Display', serif; }
.nv-reader-pagebar p { margin: 0; color: var(--nv-muted); font: italic 13px 'NV Reader Italic', serif; }
.nv-reader-scroll { width: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
.nv-reader-scroll:fullscreen { background: #efe7d8; padding: 20px; box-sizing: border-box; }
.nv-page-wrap { position: relative; margin: 0 auto 20px; background: white; border: 1px solid #d8cbb4; box-shadow: 0 3px 18px rgba(42,33,24,.16); }
.nv-page-wrap[hidden] { display: none; }
#nv-page-canvas { display: block; }
.nv-region-layer { position: absolute; inset: 0; }
.nv-region-layer { pointer-events: none; }
.nv-region { position: absolute; pointer-events: auto; outline: 2px dashed var(--nv-coral); outline-offset: 2px; background: rgba(196,98,74,.07); }
.nv-region > span { display: none; position: absolute; left: 0; bottom: 100%; max-width: 240px; min-width: 120px; padding: 5px 8px; background: var(--nv-paper); border: 1px solid var(--nv-ink); color: var(--nv-ink); font: 13px/1.4 'NV Reader Text', serif; }
.nv-region:hover > span, .nv-region:focus-visible > span { display: block; }
.nv-page-wrap.nv-clipping { touch-action: none; cursor: crosshair; }
.nv-clip-layer { position: absolute; border: 2px dashed #b85c45; background: rgba(196,98,74,.2); pointer-events: none; }
.nv-clip-layer[hidden] { display: none; }
.nv-reader-message { padding: 20px; margin: 20px auto; max-width: 580px; background: var(--nv-paper); border: 1px solid #b85c45; }
.nv-reader-message[hidden] { display: none; }
.nv-reader-message button { border: 1px solid var(--nv-ink); background: var(--nv-cream); color: var(--nv-ink); padding: 8px 12px; margin: 4px; }
#nv-page-stories { display: flex; flex-direction: column; gap: 8px; }
#nv-page-stories a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--nv-paper); border: 1px solid var(--nv-rule); border-left: 3px solid var(--nv-coral); color: var(--nv-ink); text-decoration: none; }
#nv-page-stories a small { color: #b85c45; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
#nv-page-stories a strong { font: 18px/1.3 'NV Reader Display', serif; }
.nv-stories-all { display: inline-block; margin-top: 12px; color: #b85c45; font-size: 13px; font-weight: 700; }
.nv-reader :focus-visible { outline: 3px solid #b85c45; outline-offset: 2px; }
@media (max-width: 980px) { .nv-reader-layout-with-rails { grid-template-columns: minmax(0, 1fr); } .nv-page-rail { min-width: 0; } #nv-page-list { flex-direction: row; overflow-x: auto; padding-bottom: 5px; } .nv-page-button { flex: 0 0 165px; } .nv-stories-rail { max-width: none; } }
@media (max-width: 550px) { .nv-reader-toolbar-inner, .nv-reader-layout { padding-left: 12px; padding-right: 12px; } .nv-reader-brand-rule, .nv-reader-pagebar p { display: none; } .nv-issue-switch { margin-left: 0; } .nv-reader-tools { width: 100%; } }

.nv-reader-loading{font:16px/1.8 'NV Reader Text',serif;color:#3A2A22;padding:16px;background:#FBF8F1}.nv-reader-loading[hidden]{display:none}.nv-reader-loading a{text-decoration:underline;margin-left:12px}
