/* Public site V9.3 · refinements on top of nova-v7 / nova-aurora: compact stats, calmer cards, clearer sections. */

/* Stats: one slim strip instead of four big cards */
.nova .nv-stats{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.3fr);gap:0;margin-top:36px;background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:18px;overflow:hidden;box-shadow:var(--nv-shadow-sm)}
.nova .nv-stats>div{background:none;border:0;border-radius:0;box-shadow:none;padding:16px 20px;border-inline-end:1px solid var(--nv-line)}
.nova .nv-stats dt{font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.nova .nv-stats dd{font-size:24px;margin-top:2px}
.nova .nv-stat-cta{border-radius:0;background:linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 55%,#0f172a));color:#fff;padding:14px 20px}
.nova .nv-stat-cta span{opacity:.85}
.nova .nv-stat-cta em{color:#fde68a}
.nova .nv-stat-cta:hover{transform:none;filter:brightness(1.08)}

/* Section headings: accent bar, muted subtitle, link as a pill */
.nova .section-head h2{position:relative;padding-inline-start:14px;letter-spacing:-.02em}
.nova .section-head h2::before{content:"";position:absolute;inset-inline-start:0;top:.18em;bottom:.18em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .section-head p{color:var(--nv-muted);margin-top:4px}
.nova .section-head>a{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid var(--nv-line);border-radius:999px;font-size:13px;font-weight:700;color:var(--nv-ink-2);background:var(--nv-surface);transition:border-color .15s,color .15s}
.nova .section-head>a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}

/* Book cards: lifted cover, two-line titles, one-line author */
.nova .nv-card .nv-cover{border-radius:10px;box-shadow:0 1px 2px rgba(15,23,42,.08),0 8px 20px -10px rgba(15,23,42,.35);transition:transform .2s ease,box-shadow .2s ease}
.nova .nv-card:hover .nv-cover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(15,23,42,.08),0 16px 30px -12px rgba(15,23,42,.45)}
.nova .nv-card h3{font-size:14px;line-height:1.35;margin:10px 0 3px}
.nova .nv-card h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nova .nv-card-author{font-size:12.5px;color:var(--nv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.nova .nv-card-meta{font-size:12px;color:var(--nv-muted)}
@media (prefers-reduced-motion:reduce){.nova .nv-card .nv-cover{transition:none}.nova .nv-card:hover .nv-cover{transform:none}}

/* Cookie notice: compact, in a corner, never across the whole page */
.nova .nv-cookie{max-width:560px;inset-inline-end:auto;margin:0;padding:14px 16px;gap:12px;font-size:13px}
.nova .nv-cookie strong{font-size:14px}

/* Footer: a thin accent line on top */
.nova .nv-footer{border-top:3px solid color-mix(in srgb,var(--brand,#4f46e5) 70%,transparent)}

@media (max-width:900px){
 .nova .nv-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nova .nv-stats>div:nth-child(2n){border-inline-end:0}
 .nova .nv-stats>div:nth-child(-n+2){border-bottom:1px solid var(--nv-line)}
 .nova .nv-stat-cta{grid-column:1/-1}
}
@media (max-width:640px){
 .nova .nv-cookie{max-width:none;inset-inline:10px}
 .nova .nv-stats dd{font-size:20px}
 .nova .section-head>a{padding:6px 12px}
}

/* ===== V9.3.1 · Book page ===== */
/* Hero: more air, tighter title, stats as one slim strip */
.nova .nv-book-hero{padding:52px 0 48px}
.nova .nv-book-hero h1{letter-spacing:-.025em;line-height:1.08}
.nova .book-byline{font-size:15px;color:var(--nv-ink-2)}
.nova .book-stats-row{gap:0;max-width:600px;background:color-mix(in srgb,var(--nv-surface) 80%,transparent);backdrop-filter:blur(10px);border:1px solid var(--nv-line);border-radius:16px;overflow:hidden}
.nova .book-stats-row div{background:none;backdrop-filter:none;border:0;border-radius:0;padding:12px 16px;border-inline-end:1px solid var(--nv-line)}
.nova .book-stats-row div:last-child{border-inline-end:0}
.nova .book-stats-row span{text-transform:uppercase;letter-spacing:.05em;font-size:11px}
.nova .book-actions{gap:12px}
.nova .book-actions .book-btn{border-radius:14px}

/* Cover: soft tilt that straightens on hover (desktop only) */
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
 .nova .book-cover-col{perspective:1200px}
 .nova .book-cover-shell{transform:rotateY(-8deg);transform-origin:left center;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
 [dir=rtl] .nova .book-cover-shell,.nova[dir=rtl] .book-cover-shell{transform:rotateY(8deg);transform-origin:right center}
 .nova .book-cover-shell:hover{transform:none}
}

/* Tabs: underline style, the hovered/focused tab gets the accent */
.nova .book-tabs{padding:0 6px;gap:2px;border-radius:14px}
.nova .book-tabs a{position:relative;padding:14px 14px;border-radius:0;background:none!important}
.nova .book-tabs a::after{content:"";position:absolute;inset-inline:12px;bottom:0;height:2px;border-radius:2px;background:var(--brand,#4f46e5);transform:scaleX(0);transition:transform .2s}
.nova .book-tabs a:hover,.nova .book-tabs a:focus-visible{color:var(--brand,#4f46e5)}
.nova .book-tabs a:hover::after,.nova .book-tabs a:focus-visible::after{transform:scaleX(1)}

.nova .book-tabs,.nova .book-panel.sticky-card{top:132px}
/* Panels: lighter frame, accent bar on headings, readable text */
.nova .book-panel{padding:24px 26px;box-shadow:none;border:1px solid var(--nv-line)!important;background:var(--nv-surface)!important}
.nova .book-panel .panel-heading h2,.nova .book-panel>h2,.nova .book-panel>h3{position:relative;padding-inline-start:13px}
.nova .book-panel .panel-heading h2::before,.nova .book-panel>h2::before,.nova .book-panel>h3::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .book-description{font-size:16px;line-height:1.8;max-width:72ch}
.nova .metadata-grid span{font-size:13px}
.nova .metadata-grid strong{font-weight:650}
.nova .rights-box{border-inline-start:4px solid var(--brand,#4f46e5);border-radius:12px}
.nova .category-tags a{transition:border-color .15s,color .15s}
.nova .category-tags a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}

@media (max-width:640px){
 .nova .nv-book-hero{padding:28px 0 32px}
 .nova .book-stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nova .book-stats-row div:nth-child(2n){border-inline-end:0}
 .nova .book-stats-row div:nth-child(-n+2){border-bottom:1px solid var(--nv-line)}
 .nova .book-panel{padding:18px}
 .nova .book-tabs a{padding:12px 11px}
}

/* ===== V9.3.2 · Author page ===== */
.nova .author-hero{position:relative;padding:56px 0 44px;border-bottom:1px solid var(--nv-line);background:radial-gradient(900px 300px at 15% 0%,color-mix(in srgb,var(--brand,#4f46e5) 14%,transparent),transparent 70%),var(--nv-surface)}
.nova .author-hero-inner{display:flex;align-items:center;gap:32px}
.nova .author-hero-avatar{flex:none;width:132px;height:132px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 50%,#0f172a));color:#fff;font-size:54px;font-weight:800;box-shadow:0 0 0 6px var(--nv-surface),0 0 0 7px var(--nv-line),0 20px 40px -18px rgba(15,23,42,.45)}
.nova .author-hero-avatar img{width:100%;height:100%;object-fit:cover}
.nova .author-hero-body{min-width:0}
.nova .author-hero h1{font-family:var(--nv-display);margin:4px 0 2px;font-size:clamp(30px,4.4vw,48px);line-height:1.08;letter-spacing:-.025em}
.nova .author-original{margin:0;color:var(--nv-muted);font-size:16px}
.nova .author-facts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.nova .author-facts span{padding:4px 12px;border:1px solid var(--nv-line);border-radius:999px;background:var(--nv-surface);font-size:13px;font-weight:600;color:var(--nv-ink-2)}
.nova .author-stats{display:inline-grid;grid-template-columns:repeat(3,auto);margin:20px 0 0;border:1px solid var(--nv-line);border-radius:16px;background:var(--nv-surface);overflow:hidden}
.nova .author-stats div{padding:10px 22px;border-inline-end:1px solid var(--nv-line)}
.nova .author-stats div:last-child{border-inline-end:0}
.nova .author-stats dt{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--nv-muted)}
.nova .author-stats dd{margin:2px 0 0;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.nova .author-site{margin-inline-start:12px;vertical-align:bottom}
.nova .author-bio-section{padding-bottom:0}
.nova .author-bio p{margin:0;font-size:16px;line-height:1.8;max-width:75ch;white-space:pre-line}
@media (max-width:640px){
 .nova .author-hero{padding:32px 0 28px}
 .nova .author-hero-inner{flex-direction:column;text-align:center;gap:18px}
 .nova .author-hero-avatar{width:104px;height:104px;font-size:42px}
 .nova .author-facts{justify-content:center}
 .nova .author-stats{display:grid;width:100%}
 .nova .author-stats div{padding:10px 8px}
 .nova .author-site{margin:14px 0 0}
}

/* ===== V9.3.3 · Authors directory ===== */
.nova .authors-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:16px}
.nova .author-card{flex-direction:column;justify-content:flex-start;text-align:center;gap:10px;padding:24px 16px 18px;border-radius:18px}
.nova .author-card>span:nth-child(2){min-width:0;width:100%}
.nova .author-card .author-avatar{width:72px;height:72px;overflow:hidden;font-size:28px;color:#fff;background:linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 50%,#0f172a));box-shadow:0 0 0 4px var(--nv-surface),0 0 0 5px var(--nv-line)}
.nova .author-card .author-avatar img{width:100%;height:100%;object-fit:cover}
.nova .author-card b{font-size:15px}
.nova .author-card-cta{margin-top:auto;font-style:normal;font-size:12.5px;font-weight:700;color:var(--brand,#4f46e5);opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s}
.nova .author-card:hover .author-card-cta,.nova .author-card:focus-visible .author-card-cta{opacity:1;transform:none}
@media (hover:none){.nova .author-card-cta{opacity:1;transform:none}}
@media (max-width:640px){.nova .authors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nova .author-card{padding:18px 10px 14px}.nova .author-card .author-avatar{width:60px;height:60px;font-size:24px}}

/* ===== V9.3.4 · Book catalog ===== */
/* Filters card overlaps the hero so the page starts with the tools, not empty space */
.nova .page-hero.nv-page-hero{padding-bottom:100px}
.nova .pu-catalog-section{padding-top:0}
.nova .pu-catalog-section .nv-filters{position:relative;z-index:2;margin-top:-40px;padding:18px 20px;border-radius:20px;box-shadow:0 1px 2px rgba(15,23,42,.05),0 18px 40px -24px rgba(15,23,42,.35)}
.nova .nv-filters label:not(.nv-switch)>span{text-transform:uppercase;font-size:11px;letter-spacing:.06em}
.nova .nv-filters select{appearance:none;-webkit-appearance:none;padding-inline-end:36px;border-radius:12px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px!important}
[dir=rtl] .nova .nv-filters select{background-position:left 14px center!important}
.nova .nv-filters select:focus-visible{outline:none;border-color:var(--brand,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#4f46e5) 22%,transparent)}
.nova .nv-filters .nv-switch{border-radius:12px;transition:border-color .15s}
.nova .nv-filters .nv-switch:has(input:checked){border-color:var(--brand,#4f46e5);background:color-mix(in srgb,var(--brand,#4f46e5) 8%,transparent)}
.nova .nv-filters .nv-switch input{accent-color:var(--brand,#4f46e5)}
/* Toolbar: thin divider and a brand-coloured view switch */
.nova .nv-toolbar{padding-bottom:14px;border-bottom:1px solid var(--nv-line)}
.nova .nv-count strong{font-size:17px}
.nova .nv-view-toggle{border-radius:999px}
.nova .nv-view-toggle button{border-radius:999px}
.nova .nv-view-toggle button[aria-pressed="true"]{background:var(--brand,#4f46e5);color:#fff}
.nova .nv-active-filters .nv-chip-x{border-radius:999px}
/* List view: two columns on wide screens, lifted rows */
@media (min-width:1000px){.nova .nv-catalog.is-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nova .nv-catalog.is-list .book-card{border-radius:16px;transition:border-color .15s,box-shadow .15s,transform .15s}
.nova .nv-catalog.is-list .book-card:hover{border-color:color-mix(in srgb,var(--brand,#4f46e5) 45%,var(--nv-line));box-shadow:var(--nv-shadow-sm);transform:translateY(-2px)}
.nova .nv-catalog.is-list .nv-card-author{white-space:normal}
@media (max-width:640px){
 .nova .page-hero.nv-page-hero{padding-bottom:72px}
 .nova .pu-catalog-section .nv-filters{margin-top:-28px;padding:14px;gap:10px}
 .nova .pu-catalog-section .nv-filters label:not(.nv-switch){flex-basis:calc(50% - 5px)}
}
@media (prefers-reduced-motion:reduce){.nova .nv-catalog.is-list .book-card:hover{transform:none}}

/* ===== V9.3.5 · Blog ===== */
/* List: framed cards with lift on hover */
.nova .bl-grid .bl-card{max-width:none;gap:0;background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:18px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.nova .bl-grid .bl-card .bl-media{border-radius:0}
.nova .bl-grid .bl-card-text{padding:14px 16px 18px}
.nova .bl-grid .bl-card-text strong{font-size:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nova .bl-grid .bl-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--nv-muted)}
.nova .bl-grid .bl-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--brand,#4f46e5) 40%,var(--nv-line));box-shadow:0 18px 36px -20px rgba(15,23,42,.4)}
.nova .bl-lead{transition:box-shadow .2s,border-color .2s}
.nova .bl-lead:hover{border-color:color-mix(in srgb,var(--brand,#4f46e5) 40%,var(--nv-line));box-shadow:0 18px 40px -24px rgba(15,23,42,.4)}
.nova .bl-side{border-radius:18px}
@media (prefers-reduced-motion:reduce){.nova .bl-grid .bl-card:hover{transform:none}}

/* Article: calmer reading type (Latin scripts only; Arabic keeps its own font) */
.nova:not(.nv-rtl) .bl-post:not([dir=rtl]) .bl-post-body.ws-text{font-family:Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,serif;font-size:19px;line-height:1.8;color:var(--nv-ink-2)}
.nova .bl-post-body.ws-text :is(h2,h3){color:var(--nv-ink)}
.nova .bl-post-body.ws-text a{color:var(--brand,#4f46e5);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.nova .bl-post-body.ws-text a:hover{text-decoration-thickness:2.5px}
.nova .bl-post-body.ws-text :is(ul,ol){padding-inline-start:1.3em}
.nova .bl-post-body.ws-text li{margin:.3em 0}
.nova .bl-post-body.ws-text li::marker{color:var(--brand,#4f46e5)}
.nova .bl-post-body.ws-text img{border-radius:14px}
.nova .bl-post-head .bl-share a,.nova .bl-post-head .bl-share button{transition:border-color .15s,color .15s}
.nova .bl-post-head .bl-share a:hover,.nova .bl-post-head .bl-share button:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}
@media (max-width:640px){.nova:not(.nv-rtl) .bl-post:not([dir=rtl]) .bl-post-body.ws-text{font-size:17.5px}}

/* ===== V9.3.6 · Footer ===== */
.nova .nv-footer{position:relative;background:radial-gradient(800px 280px at 10% 0%,color-mix(in srgb,var(--brand,#4f46e5) 22%,transparent),transparent 70%),var(--nv-footer)}
.nova .nv-footer h4{position:relative;padding-bottom:10px}
.nova .nv-footer h4::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:22px;height:2px;border-radius:2px;background:var(--brand,#4f46e5)}
.nova .nv-footer-grid>div>a{transition:color .15s,padding .15s}
.nova .nv-footer-grid>div>a:hover,.nova .nv-footer-grid>div>a:focus-visible{color:#fff;padding-inline-start:4px}
/* Newsletter: one dark pill (the global input style was turning it white) */
.nova .nv-newsletter{gap:0;padding:5px;border:1px solid #ffffff26;border-radius:999px;background:#ffffff0d;flex-wrap:nowrap}
.nova .nv-newsletter:focus-within{border-color:color-mix(in srgb,var(--brand,#4f46e5) 70%,#fff)}
.nova .nv-footer .nv-newsletter input[type=email]{min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;padding-inline:14px}
.nova .nv-footer .nv-newsletter input[type=email]::placeholder{color:#8892a8}
.nova .nv-newsletter .nv-btn{border-radius:999px;flex:none}
.nova .nv-newsletter:has(.captcha-math){flex-wrap:wrap;border-radius:20px}
.nova .nv-footer-bottom{color:#8892a8}
.nova .nv-footer-bottom a{text-decoration:none;color:#aab3c6}
.nova .nv-footer-bottom a:hover{color:#fff;text-decoration:underline}
@media (prefers-reduced-motion:reduce){.nova .nv-footer-grid>div>a:hover{padding-inline-start:0}}
@media (max-width:640px){
 .nova .nv-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .nova .nv-footer-about{grid-column:1/-1}
 .nova .nv-footer-grid>div:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
 .nova .nv-footer-grid>div:last-child>h4{grid-column:1/-1}
 .nova .nv-footer-bottom{flex-direction:column;align-items:flex-start;padding-bottom:96px}
}

/* ===== V9.3.7 · Category page ===== */
.nova .cat-v643-hero-small{padding:44px 0 40px;background:radial-gradient(700px 260px at 85% 0%,color-mix(in srgb,var(--brand,#4f46e5) 35%,transparent),transparent 70%),linear-gradient(118deg,#0f172a,#1e1b4b)}
.nova .cat-v643-hero-small h1{margin:8px 0 10px;letter-spacing:-.025em}
.nova .cat-v643-hero-small p{color:#c7d2fe;font-size:16.5px;margin:0}
.nova .cat-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}
.nova .cat-breadcrumb a{color:#a5b4fc;text-decoration:none}
.nova .cat-breadcrumb a:hover{color:#fff;text-decoration:underline}
.nova .cat-breadcrumb span{color:#6366f1}
.nova .cat-v643-hero-small .cat-v643-kicker{display:inline-flex;align-items:center;gap:6px;margin-top:16px;padding:4px 12px;border:1px solid #ffffff26;border-radius:999px;background:#ffffff0f;color:#e0e7ff;font-size:11.5px;letter-spacing:.06em}
/* Section titles like the rest of the site */
.nova .cat-v643-head h2{position:relative;padding-inline-start:14px;letter-spacing:-.02em}
.nova .cat-v643-head h2::before{content:"";position:absolute;inset-inline-start:0;top:.18em;bottom:.18em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .cat-v643-head p{color:var(--nv-muted);margin-top:4px}
/* Subcategories: compact one-line tiles instead of big cards */
.nova .cat-v643-subgrid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:10px;margin-bottom:36px}
.nova .cat-v643-subgrid .cat-v643-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:0;padding:12px 14px;border-radius:14px;background:var(--nv-surface)}
.nova .cat-v643-subgrid .cat-v643-symbol{width:38px;height:38px;font-size:20px;margin:0}
.nova .cat-v643-subgrid .cat-v643-name{margin:0;font-size:14.5px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.nova .cat-v643-subgrid .cat-v643-summary{display:none}
.nova .cat-v643-subgrid .cat-v643-meta{margin:0;gap:8px}
.nova .cat-v643-subgrid .cat-v643-card:hover{border-color:color-mix(in srgb,var(--cat-color,var(--brand,#4f46e5)) 55%,var(--nv-line))}
@media (max-width:640px){
 .nova .cat-v643-hero-small{padding:30px 0 28px}
 .nova .cat-v643-subgrid{grid-template-columns:1fr}
}

/* ===== V9.3.8 · Header and menu ===== */
/* Rounder, calmer controls */
.nova .nv-header .nv-search{border-radius:999px;padding-inline:18px 5px}
.nova .nv-header .nv-search-submit{border-radius:999px;padding:0 18px}
.nova .nv-header .nv-icon-btn{border-radius:999px}
.nova .nv-header .nv-actions .nv-btn{border-radius:999px}
.nova .nv-header .nv-lang>summary{border-radius:999px}
/* Main nav: brand-tinted active item instead of a black pill */
.nova .nv-nav{border-top-color:color-mix(in srgb,var(--nv-line) 70%,transparent)}
.nova .nv-nav-scroll{gap:2px;padding:6px 0}
.nova .nv-nav-scroll a{position:relative;padding:8px 14px;color:var(--nv-ink-2)}
.nova .nv-nav-scroll a:hover{background:color-mix(in srgb,var(--brand,#4f46e5) 8%,transparent);color:var(--brand,#4f46e5)}
.nova .nv-nav-scroll a.is-active{background:color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent);color:var(--brand,#4f46e5)}
.nova .nv-nav-scroll a.is-active::after{content:"";position:absolute;inset-inline:14px;bottom:2px;height:2px;border-radius:2px;background:var(--brand,#4f46e5)}
:is([data-theme=dark],.nv-theme-dark) .nova .nv-nav-scroll a.is-active,.nova.nv-theme-dark .nv-nav-scroll a.is-active{color:#c7d2fe}
@media (prefers-color-scheme:dark){.nova.nv-theme-auto .nv-nav-scroll a.is-active{color:#c7d2fe}}
/* Mobile drawer: brand header, highlighted current page */
.nova .nv-drawer-head{background:linear-gradient(135deg,color-mix(in srgb,var(--brand,#4f46e5) 12%,var(--nv-surface)),var(--nv-surface))}
.nova .nv-drawer-head strong{font-size:17px;letter-spacing:-.01em}
.nova .nv-drawer-links{gap:2px}
.nova .nv-drawer-links a{position:relative;font-size:15px;transition:background-color .15s,color .15s}
.nova .nv-drawer-links a:hover{color:var(--brand,#4f46e5)}
.nova .nv-drawer-links a.is-active{background:color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent);color:var(--brand,#4f46e5)}
.nova .nv-drawer-links a.is-active::before{content:"";position:absolute;inset-inline-start:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--brand,#4f46e5)}
.nova .nv-drawer-actions .nv-btn{border-radius:999px}

/* ===== V9.3.9 · Login / register ===== */
.nova .auth-shell.auth-split{max-width:980px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);border-radius:28px;overflow:hidden;background:var(--nv-surface);border:1px solid var(--nv-line);box-shadow:0 30px 60px -30px rgba(15,23,42,.35);padding:0}
.nova .auth-split .auth-card{border:0;border-radius:0;box-shadow:none;padding:40px 44px}
.nova .auth-aside{position:relative;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:44px;color:#fff;overflow:hidden;background:radial-gradient(500px 300px at 100% 0%,#ffffff2e,transparent 60%),linear-gradient(150deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 45%,#0f172a))}
.nova .auth-aside::after{content:"";position:absolute;inset-inline-end:-60px;bottom:-60px;width:220px;height:220px;border-radius:50%;border:40px solid #ffffff14}
.nova .auth-aside-brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:15px;opacity:.95}
.nova .auth-aside h2{margin:0;font-family:var(--nv-display);font-size:clamp(26px,2.8vw,34px);line-height:1.15;letter-spacing:-.02em;color:#fff}
.nova .auth-aside ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.nova .auth-aside li{display:flex;align-items:center;gap:12px;font-size:15px;color:#e0e7ff}
.nova .auth-aside li span{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:#ffffff1f}
.nova .auth-card input:not([type=checkbox]){border-radius:12px;min-height:46px}
.nova .auth-card input:not([type=checkbox]):focus-visible{border-color:var(--brand,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#4f46e5) 20%,transparent);outline:none}
.nova .auth-card .auth-submit{border-radius:999px;min-height:48px;font-size:15px}
.nova .auth-card .social-login a{border-radius:999px}
@media (max-width:820px){
 .nova .auth-shell.auth-split{grid-template-columns:1fr;max-width:520px}
 .nova .auth-aside{padding:26px 24px;gap:12px}
 .nova .auth-aside ul{display:none}
 .nova .auth-split .auth-card{padding:24px}
}

/* ===== V9.3.10 · Quotes ===== */
/* Masonry wall: quotes of different length pack without gaps */
.nova .quote-grid.quote-wall{display:block;columns:3 300px;column-gap:18px}
.nova .quote-wall .quote-card{position:relative;display:flex;flex-direction:column;gap:14px;break-inside:avoid;margin:0 0 18px;padding:30px 24px 18px;border-radius:20px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.nova .quote-wall .quote-card::before{content:"“";position:absolute;inset-inline-end:14px;top:-18px;font:700 120px/1 var(--nv-display);color:var(--brand,#4f46e5);opacity:.12;pointer-events:none}
.nova .quote-wall .quote-card::after{content:"";position:absolute;inset-inline-start:0;top:24px;width:4px;height:34px;border-radius:0 4px 4px 0;background:var(--brand,#4f46e5)}
[dir=rtl] .nova .quote-wall .quote-card::after{border-radius:4px 0 0 4px}
.nova .quote-wall .quote-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--brand,#4f46e5) 40%,var(--nv-line));box-shadow:0 18px 36px -22px rgba(15,23,42,.4)}
.nova .quote-wall blockquote{font-size:19px;line-height:1.55;font-style:italic;overflow-wrap:anywhere}
.nova .quote-wall .quote-source{display:flex;flex-direction:column;gap:2px;padding-inline-start:12px;border-inline-start:2px solid var(--nv-line);text-decoration:none}
.nova .quote-wall .quote-source b{font-size:14px;color:var(--nv-ink)}
.nova .quote-wall .quote-source:hover b{color:var(--brand,#4f46e5)}
.nova .quote-wall .quote-source small{font-size:12.5px}
.nova .quote-wall .quote-card footer{margin-top:0}
.nova .quote-wall .quote-card footer span:first-child{color:#e11d48;font-weight:700}
.nv-rtl .nova .quote-wall blockquote,.nova.nv-rtl .quote-wall blockquote{font-style:normal;font-family:"Noto Kufi Arabic",var(--nv-font);font-size:17px;line-height:1.9}
@media (prefers-reduced-motion:reduce){.nova .quote-wall .quote-card:hover{transform:none}}
@media (max-width:640px){.nova .quote-grid.quote-wall{columns:1}.nova .quote-wall .quote-card{padding:24px 18px 16px}}

/* ===== V9.3.11 · Reviews ===== */
.nova .review-grid.rv-wall{display:block;columns:3 300px;column-gap:18px}
.nova .rv-wall .rv-card{display:flex;flex-direction:column;gap:12px;break-inside:avoid;margin:0 0 18px;padding:20px 22px;border-radius:20px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.nova .rv-wall .rv-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--brand,#4f46e5) 40%,var(--nv-line));box-shadow:0 18px 36px -22px rgba(15,23,42,.4)}
.nova .rv-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.nova .rv-head .review-avatar{width:40px;height:40px;color:#fff;background:linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 50%,#0f172a))}
.nova .rv-who{min-width:0}
.nova .rv-who b{display:block;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nova .rv-who small{font-size:12px}
.nova .rv-card>p{margin:0;font-size:15.5px;line-height:1.7;color:var(--nv-ink-2);overflow-wrap:anywhere}
.nova .rv-book{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:var(--nv-surface-2);text-decoration:none;transition:background-color .15s}
.nova .rv-book b{font-size:13.5px;color:var(--nv-ink)}
.nova .rv-book small{font-size:12px}
.nova .rv-book:hover{background:color-mix(in srgb,var(--brand,#4f46e5) 10%,var(--nv-surface-2))}
.nova .rv-book:hover b{color:var(--brand,#4f46e5)}
@media (prefers-reduced-motion:reduce){.nova .rv-wall .rv-card:hover{transform:none}}
@media (max-width:640px){.nova .review-grid.rv-wall{columns:1}}

/* ===== V9.3.12 · My library (account) ===== */
.nova .acc-hero{padding:44px 0 36px;border-bottom:1px solid var(--nv-line);background:radial-gradient(900px 300px at 15% 0%,color-mix(in srgb,var(--brand,#4f46e5) 14%,transparent),transparent 70%),var(--nv-surface)}
.nova .acc-hero-inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.nova .acc-avatar{flex:none;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:34px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 50%,#0f172a));box-shadow:0 0 0 5px var(--nv-surface),0 0 0 6px var(--nv-line)}
.nova .acc-hero-text{flex:1;min-width:240px}
.nova .acc-hero h1{margin:4px 0 4px;font-family:var(--nv-display);font-size:clamp(28px,3.6vw,40px);letter-spacing:-.025em}
.nova .acc-hero p{margin:0;color:var(--nv-ink-2)}
.nova .acc-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.nova .acc-hero-actions .btn{border-radius:999px}
.nova .acc-section{padding-top:28px}
/* Stats: one slim strip like the rest of the site */
.nova .account-stats{gap:0;margin:0 0 30px;border:1px solid var(--nv-line);border-radius:18px;background:var(--nv-surface);overflow:hidden}
.nova .account-stats div{border:0;border-radius:0;border-inline-end:1px solid var(--nv-line);padding:16px 20px}
.nova .account-stats div:last-child{border-inline-end:0}
.nova .account-stats strong{font-size:26px}
.nova .account-stats span{text-transform:uppercase;font-size:11px;letter-spacing:.05em}
/* Daily upload quota with a progress meter */
.nova .acc-quota{margin:0 0 20px;border-inline-start:4px solid var(--brand,#4f46e5)}
.nova .acc-quota h2{margin:0 0 6px;font-size:17px}
.nova .acc-quota p{margin:0 0 8px}
.nova .acc-meter{display:block;height:8px;margin:4px 0 10px;border-radius:999px;background:var(--nv-surface-2);overflow:hidden}
.nova .acc-meter>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand,#4f46e5),#06b6d4)}
.nova .acc-warn{color:#b91c1c;font-weight:600}
/* Section titles and cards */
.nova .acc-head{margin:8px 0 16px}
.nova .account-columns .account-card h2{position:relative;padding-inline-start:13px;font-size:19px}
.nova .account-columns .account-card h2::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .account-row a strong{color:var(--nv-ink)}
.nova .account-row a:hover strong{color:var(--brand,#4f46e5)}
/* Publication status pills in colour */
.nova .acc-pill{padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--nv-surface-2);color:var(--nv-ink-2)}
.nova .acc-pill-published{background:#dcfce7;color:#166534}
.nova .acc-pill-pending,.nova .acc-pill-scheduled{background:#fef3c7;color:#92400e}
.nova .acc-pill-rejected{background:#fee2e2;color:#991b1b}
.nova .acc-pill-draft{background:#e0e7ff;color:#3730a3}
@media (max-width:640px){
 .nova .acc-hero{padding:28px 0 24px}
 .nova .acc-avatar{width:64px;height:64px;font-size:26px}
 .nova .acc-hero-actions{width:100%}
 .nova .acc-hero-actions .btn{flex:1;justify-content:center}
 .nova .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nova .account-stats div:nth-child(2n){border-inline-end:0}
 .nova .account-stats div:nth-child(-n+2){border-bottom:1px solid var(--nv-line)}
 .nova .account-columns{grid-template-columns:1fr}
}
/* Empty states span the whole row instead of one narrow grid cell */
.nova .acc-section .book-grid>p.muted,.nova .acc-section .account-card>p.muted{grid-column:1/-1;margin:0;padding:22px;text-align:center;border:1.5px dashed var(--nv-line-strong);border-radius:14px;background:var(--nv-surface)}

/* ===== V9.3.13 · Community ===== */
.nova .cm-layout{gap:32px}
.nova .cm-feed{gap:16px}
.nova .cm-feed .cm-card{margin:0}
.nova .cm-feed>p.muted{margin:0;padding:22px;text-align:center;border:1.5px dashed var(--nv-line-strong);border-radius:14px}
.nova .cm-side{display:grid;gap:18px;align-content:start}
.nova .cm-popular{padding:20px;border-radius:20px}
.nova .cm-popular h3,.nova .cm-cta h3{position:relative;padding-inline-start:13px;font-size:17px}
.nova .cm-popular h3::before,.nova .cm-cta h3::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .cm-popular ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.nova .cm-popular li a{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border-radius:12px;text-decoration:none;transition:background-color .15s}
.nova .cm-popular li a:hover{background:var(--nv-surface-2)}
.nova .cm-rank{font:700 18px/1 var(--nv-display);color:var(--brand,#4f46e5);text-align:center}
.nova .cm-popular li:nth-child(-n+3) .cm-rank{font-size:22px}
.nova .cm-title b{display:block;font-size:14px;color:var(--nv-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nova .cm-popular li a:hover .cm-title b{color:var(--brand,#4f46e5)}
.nova .cm-title small{display:block;font-size:12px;color:var(--nv-muted)}
.nova .cm-cta{padding:22px;border-radius:20px;border:0;color:#fff;background:radial-gradient(300px 160px at 100% 0%,#ffffff2e,transparent 60%),linear-gradient(150deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 45%,#0f172a))}
.nova .cm-cta h3{color:#fff}
.nova .cm-cta h3::before{background:#fff}
.nova .cm-cta p{color:#e0e7ff;font-size:14px;margin:6px 0 14px}
.nova .cm-cta .btn{--b-bg:#fff;--b-ink:#1e1b4b;border-radius:999px}

/* ===== V9.3.14 · Publish a book ===== */
.nova .pub-upload-form{border-radius:24px;background:var(--nv-surface);box-shadow:0 24px 50px -34px rgba(15,23,42,.35)}
.nova .pub-upload-form>h2{position:relative;padding-inline-start:14px}
.nova .pub-upload-form>h2::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:calc(14px + .2em);width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
/* Numbered group headings split the long form into clear steps */
.nova .pub-group{display:flex;align-items:center;gap:10px;margin-top:14px;padding-bottom:10px;border-bottom:1px solid var(--nv-line);font-weight:800;font-size:15px;color:var(--nv-ink)}
.nova .pub-fields>.pub-group:first-of-type{margin-top:0}
.nova .pub-group>span{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--brand,#4f46e5);color:#fff;font-size:13px}
/* Inputs and buttons in the house style */
.nova .pub-fields :is(input:not([type=file]):not([type=checkbox]),select){min-height:46px;border-radius:12px}
.nova .pub-fields textarea{border-radius:12px}
.nova .pub-fields :is(input:not([type=file]):not([type=checkbox]),textarea,select):focus-visible{outline:none;border-color:var(--brand,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#4f46e5) 20%,transparent)}
.nova .pub-fields input[type=file]{transition:border-color .15s,background-color .15s}
.nova .pub-fields input[type=file]:hover{border-color:var(--brand,#4f46e5);background:color-mix(in srgb,var(--brand,#4f46e5) 5%,var(--nv-surface))}
.nova .pub-fields input[type=file]::file-selector-button{border-radius:999px}
.nova .pub-cover-workshop,.nova .pub-audio-box{border-radius:18px}
.nova .pub-cover-workshop .btn,.nova .pub-audio-box .btn,.nova .pub-buttons .btn,.nova .pub-form-actions .btn{border-radius:999px}
.nova .pub-quota-panel{border-radius:18px}
.nova .pub-form-actions{gap:12px}
/* Guest state: a clear sign-in card */
.nova .pub-account{border-radius:22px;border:1px solid var(--nv-line);background:radial-gradient(500px 200px at 0% 0%,color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent),transparent 70%),var(--nv-surface)}

/* ===== V9.3.15 · Partners ===== */
.nova .pt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:18px}
.nova .pt-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:20px;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.nova .pt-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--brand,#4f46e5) 40%,var(--nv-line));box-shadow:0 18px 36px -22px rgba(15,23,42,.4)}
.nova .pt-logo{display:grid;place-items:center;width:100%;height:110px;margin-bottom:6px;border-radius:14px;background:var(--nv-surface-2);font-size:44px;overflow:hidden}
.nova .pt-logo img{max-width:80%;max-height:80px;object-fit:contain}
.nova .pt-type{align-self:flex-start;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent);color:var(--brand,#4f46e5);font-size:11.5px;font-weight:700;letter-spacing:.03em}
.nova .pt-card h3{margin:2px 0 0;font-size:17px;color:var(--nv-ink)}
.nova .pt-card p{margin:0;font-size:14px;line-height:1.6;color:var(--nv-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nova .pt-featured{color:#b45309;font-size:13px}
.nova .pt-more{margin-top:auto;padding-top:6px;font-style:normal;font-size:13px;font-weight:700;color:var(--brand,#4f46e5)}
@media (prefers-reduced-motion:reduce){.nova .pt-card:hover{transform:none}}
/* Partner profile (replaces the old inline white-only styles, so dark mode works) */
.nova .pt-show{max-width:940px}
.nova .pt-back{display:inline-flex;margin-bottom:18px;font-weight:600;color:var(--nv-ink-2);text-decoration:none}
.nova .pt-back:hover{color:var(--brand,#4f46e5)}
.nova .partner-profile{background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:24px;padding:32px;box-shadow:0 24px 50px -34px rgba(15,23,42,.35)}
.nova .partner-identity{display:flex;gap:22px;align-items:center}
.nova .partner-identity img,.nova .partner-fallback{width:110px;height:110px;flex:none;object-fit:contain;border-radius:20px;background:var(--nv-surface-2);display:grid;place-items:center;font-size:56px}
.nova .partner-identity h1{margin:8px 0 4px;font-family:var(--nv-display);font-size:clamp(28px,3.6vw,38px);letter-spacing:-.02em}
.nova .partner-description{margin-top:24px;line-height:1.85;color:var(--nv-ink-2)}
.nova .partner-actions,.nova .partner-social{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.nova .partner-actions .btn{border-radius:999px}
.nova .partner-social a{padding:6px 12px;border:1px solid var(--nv-line);border-radius:999px;font-size:13px;font-weight:700;color:var(--nv-ink-2);text-decoration:none}
.nova .partner-social a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}
@media (max-width:600px){.nova .partner-profile{padding:22px}.nova .partner-identity{flex-direction:column;align-items:flex-start}}

/* ===== V9.3.16 · FAQ ===== */
.nova .faq-search{display:flex;align-items:center;gap:10px;margin:0 0 20px;padding:0 18px;height:52px;border:1px solid var(--nv-line);border-radius:999px;background:var(--nv-surface);color:var(--nv-muted);box-shadow:0 10px 30px -24px rgba(15,23,42,.35)}
.nova .faq-search:focus-within{border-color:var(--brand,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#4f46e5) 20%,transparent)}
.nova .faq-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;min-height:0!important;font-size:15px;color:var(--nv-ink)}
.nova .faq-none{text-align:center;padding:18px}
.nova .faq-list .nv-faq{border-radius:18px;margin-bottom:12px}
.nova .faq-list .nv-faq summary{align-items:center;justify-content:flex-start;padding:18px 20px;font-size:16px}
.nova .faq-list .nv-faq summary::after{content:"+";display:grid;place-items:center;width:30px;height:30px;flex:none;margin-inline-start:auto;border-radius:50%;background:color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent);color:var(--brand,#4f46e5);font-size:20px}
.nova .faq-list .nv-faq[open] summary::after{background:var(--brand,#4f46e5);color:#fff}
.nova .faq-num{flex:none;font:700 14px/1 var(--nv-display);color:var(--brand,#4f46e5);opacity:.7;min-width:24px}
.nova .faq-q{min-width:0}
.nova .faq-list .nv-faq p{margin:0 20px 18px;padding:2px 0 0;padding-inline-start:16px;border-inline-start:3px solid color-mix(in srgb,var(--brand,#4f46e5) 35%,transparent);line-height:1.75}
.nova .faq-list .nv-faq:hover{border-color:color-mix(in srgb,var(--brand,#4f46e5) 35%,var(--nv-line))}
.nova .faq-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:28px;padding:24px 26px;border-radius:20px;color:#fff;background:radial-gradient(400px 180px at 100% 0%,#ffffff2e,transparent 60%),linear-gradient(135deg,var(--brand,#4f46e5),color-mix(in srgb,var(--brand,#4f46e5) 45%,#0f172a))}
.nova .faq-cta strong{font-size:18px}
.nova .faq-cta p{margin:4px 0 0;color:#e0e7ff}
.nova .faq-cta .btn{--b-bg:#fff;--b-ink:#1e1b4b;border-radius:999px}
@media (max-width:640px){.nova .faq-list .nv-faq summary{padding:16px;font-size:15px}.nova .faq-cta{padding:20px}}

/* ===== V9.3.17 · Legal pages ===== */
.nova .lg-updated{margin-top:6px;font-size:14px;color:var(--nv-muted)}
.nova .lg-updated time{font-weight:600;color:var(--nv-ink-2)}
.nova .lg-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start;max-width:1140px}
.nova .lg-side{position:sticky;top:132px;display:grid;gap:16px;max-height:calc(100vh - 150px);overflow:auto;scrollbar-width:thin}
.nova .lg-toc,.nova .lg-links{display:grid;gap:2px;padding:16px;border:1px solid var(--nv-line);border-radius:18px;background:var(--nv-surface)}
.nova .lg-toc strong,.nova .lg-links strong{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--nv-muted)}
.nova .lg-toc ol{margin:0;padding:0;list-style:none;display:grid;gap:2px}
.nova .lg-toc a,.nova .lg-links a{display:block;padding:7px 10px;border-radius:10px;font-size:13.5px;line-height:1.35;color:var(--nv-ink-2);text-decoration:none;transition:background-color .15s,color .15s}
.nova .lg-toc a:hover,.nova .lg-links a:hover{background:var(--nv-surface-2);color:var(--brand,#4f46e5)}
.nova .lg-links a.is-active{background:color-mix(in srgb,var(--brand,#4f46e5) 12%,transparent);color:var(--brand,#4f46e5);font-weight:700}
/* Document: readable measure, accent headings, anchors clear the sticky header */
.nova .legal-document{border-radius:22px;padding:clamp(22px,4vw,44px)}
.nova .legal-document p{line-height:1.85;color:var(--nv-ink-2);max-width:75ch}
.nova .legal-document h2{position:relative;padding-inline-start:14px;scroll-margin-top:140px}
.nova .legal-document h2::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
@media (max-width:900px){
 .nova .lg-layout{grid-template-columns:1fr}
 .nova .lg-side{position:static;max-height:none}
 .nova .lg-links{display:flex;flex-wrap:wrap;gap:6px}
 .nova .lg-links strong{width:100%}
 .nova .lg-links a{padding:6px 12px;border:1px solid var(--nv-line);border-radius:999px;font-size:13px}
}

/* ===== V9.3.18 · Writing studio ===== */
/* How-it-works strip under the hero */
.nova .ws-steps-section{padding-bottom:0}
.nova .ws-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--nv-line);border-radius:18px;background:var(--nv-surface);overflow:hidden}
.nova .ws-steps li{display:flex;align-items:center;gap:14px;padding:16px 20px;border-inline-end:1px solid var(--nv-line)}
.nova .ws-steps li:last-child{border-inline-end:0}
.nova .ws-steps li>span{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--brand,#4f46e5);color:#fff;font-weight:800}
.nova .ws-steps strong{display:block;font-size:14.5px}
.nova .ws-steps small{display:block;font-size:12.5px;color:var(--nv-muted)}
.nova .ws-home-section{padding-top:28px}
/* New-book card with a coloured header strip */
.nova .ws-new{position:relative;overflow:hidden;padding-top:30px;border-radius:22px;box-shadow:0 24px 50px -34px rgba(15,23,42,.35)}
.nova .ws-new::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,var(--brand,#4f46e5),#06b6d4)}
.nova .ws-new :is(input,select){min-height:46px;border-radius:12px}
.nova .ws-new :is(input,select):focus-visible{outline:none;border-color:var(--brand,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#4f46e5) 20%,transparent)}
.nova .ws-new .btn{border-radius:999px;min-height:48px}
.nova .ws-books h2{position:relative;padding-inline-start:13px}
.nova .ws-books h2::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--brand,#4f46e5)}
.nova .ws-books>p.muted{margin:0;padding:28px;text-align:center;border:1.5px dashed var(--nv-line-strong);border-radius:16px;background:var(--nv-surface)}
.nova .ws-book{border-radius:16px;transition:transform .15s,box-shadow .15s,border-color .15s}
.nova .ws-book:hover{transform:translateY(-2px);box-shadow:0 14px 30px -22px rgba(15,23,42,.4)}
.nova .ws-status{border-radius:999px;font-weight:700}
.nova .ws-status-draft{background:#e0e7ff;color:#3730a3}
.nova .ws-status-pending{background:#fef3c7;color:#92400e}
/* Editor polish */
.nova .ws-top-actions .btn{border-radius:999px}
.nova .ws-side{border-radius:20px}
.nova .ws-chapters li.is-current::before{content:"";position:absolute;inset-inline-start:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:var(--brand,#4f46e5)}
.nova .ws-add{border-radius:999px}
.nova .ws-editor-card{border-radius:20px;box-shadow:0 24px 50px -36px rgba(15,23,42,.35)}
@media (max-width:760px){
 .nova .ws-steps{grid-template-columns:1fr}
 .nova .ws-steps li{border-inline-end:0;border-bottom:1px solid var(--nv-line);padding:12px 16px}
 .nova .ws-steps li:last-child{border-bottom:0}
}

/* ==========================================================================
   V9.3.19 · Book reader: grouped tool tray, theme dot, sidebar sections,
   page pill and thin scrollbars. Colours come from the reader's own --r-* theme.
   ========================================================================== */
.nova .elib-reader-pro .elib-reader-progress{height:4px;flex-basis:4px}
.nova .elib-reader-pro .elib-reader-progress i{background:linear-gradient(90deg,var(--r-accent),color-mix(in srgb,var(--r-accent) 55%,#ec4899));border-start-end-radius:4px;border-end-end-radius:4px}
.nova .elib-reader-pro .elib-reader-back{background:transparent!important;border:1px solid var(--r-line)!important;border-radius:999px!important}
.nova .elib-reader-pro .elib-reader-back:hover{border-color:var(--r-accent)!important;color:var(--r-accent)!important}
.nova .elib-reader-pro .elib-reader-heading strong{font-size:15px;letter-spacing:-.01em}
/* tools sit in one tray instead of separate grey boxes */
.nova .elib-reader-pro .elib-reader-tools{background:var(--r-btn);border:1px solid var(--r-line);border-radius:14px;padding:3px;gap:2px}
.nova .elib-reader-pro .elib-reader-tools>button,.nova .elib-reader-pro .elib-reader-tools select{background:transparent!important;border:1px solid transparent!important;border-radius:10px;height:36px}
.nova .elib-reader-pro .elib-reader-tools>button{width:36px}
.nova .elib-reader-pro .elib-reader-tools>button:hover,.nova .elib-reader-pro .elib-reader-tools select:hover{background:var(--r-bar)!important;border-color:var(--r-line)!important}
.nova .elib-reader-pro .elib-reader-tools>button[aria-expanded=true]{background:var(--r-bar)!important;color:var(--r-accent);border-color:var(--r-accent)!important}
.nova .elib-reader-pro .elib-reader-zoom-wrap{flex:0 0 auto;border-inline:1px solid var(--r-line);padding-inline:2px}
.nova .elib-reader-pro .elib-reader-zoom-wrap select{width:auto;font-weight:700;padding-inline:10px 26px}
/* the "Aa" button shows the current reading theme as a dot */
.nova .elib-reader-pro .elib-reader-theme{position:relative}
.nova .elib-reader-pro .elib-reader-theme::after{content:"";position:absolute;bottom:5px;inset-inline-end:5px;width:8px;height:8px;border-radius:50%;background:#fff;border:1px solid #cbd5e1}
.nova .elib-reader-pro [data-theme=sepia] .elib-reader-theme::after{background:#c9a66b;border-color:#a8854a}
.nova .elib-reader-pro [data-theme=night] .elib-reader-theme::after{background:#0b0f17;border-color:#64748b}
/* stage */
.nova .elib-reader-pro .elib-reader-stage{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--r-muted) 45%,transparent) transparent}
.nova .elib-reader-pro .elib-reader-paper{border-radius:4px}
.nova .elib-reader-pro .elib-reader-edge span{border:1px solid var(--r-line);color:var(--r-ink)}
.nova .elib-reader-pro .elib-reader-edge:hover span{background:var(--r-accent);color:#fff;border-color:var(--r-accent)}
/* sidebar: page groups first, then the book links as a separate block */
.nova .elib-reader-pro .elib-reader-side{scrollbar-width:thin}
.nova .elib-reader-pro .elib-reader-side-title{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--r-muted)}
.nova .elib-reader-pro [data-elib-side-ranges]{padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--r-line)}
.nova .elib-reader-pro .elib-reader-side [data-elib-side-ranges] button{font-weight:700}
.nova .elib-reader-pro .elib-reader-side-link{background:transparent!important;border:1px solid transparent;text-align:start}
.nova .elib-reader-pro .elib-reader-side-link:hover{background:var(--r-btn)!important;border-color:var(--r-line);color:var(--r-accent)}
/* bottom bar: page number, total and percent in one pill */
.nova .elib-reader-pro .elib-reader-page-control{background:var(--r-btn);border:1px solid var(--r-line);border-radius:999px;padding:3px 4px 3px 3px}
.nova .elib-reader-pro .elib-reader-page-control input{height:30px!important;width:52px;border-radius:999px!important;background:var(--r-bar)!important}
.nova .elib-reader-pro .elib-reader-percent{min-width:0;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--r-accent) 14%,transparent);color:var(--r-accent);font-weight:800}
.nova .elib-reader-pro .elib-reader-step:not(:disabled):hover{background:var(--r-accent)!important;border-color:var(--r-accent)!important;color:#fff!important}
@media (max-width:640px){
 .nova .elib-reader-pro .elib-reader-zoom-wrap{border:0;padding:0}
 .nova .elib-reader-pro .elib-reader-back{width:40px;justify-content:center}
 .nova .elib-reader-pro .elib-reader-page-control{flex:0 1 auto;margin-inline:auto}
}

/* ==========================================================================
   V9.3.20 · 404 page: large gradient code, search and section links.
   ========================================================================== */
.nova .e404-hero{position:relative;overflow:hidden;padding:72px 0 56px;text-align:center;background:radial-gradient(60% 80% at 50% 0%,color-mix(in srgb,var(--brand,#4f46e5) 14%,transparent),transparent 70%)}
.nova .e404-code{font-size:clamp(88px,18vw,168px);font-weight:900;line-height:.9;letter-spacing:-.06em;background:linear-gradient(135deg,var(--brand,#4f46e5),#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent;user-select:none}
.nova .e404-code span{display:inline-block;background:linear-gradient(135deg,#a855f7,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent;animation:e404Tilt 4s ease-in-out infinite}
@keyframes e404Tilt{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
.nova .e404-hero h1{margin:14px 0 10px;font-size:clamp(26px,4vw,38px)}
.nova .e404-hero p{max-width:560px;margin:0 auto;color:var(--nv-muted,#64748b);line-height:1.6}
.nova .e404-search{display:flex;align-items:center;gap:8px;max-width:560px;margin:26px auto 0;padding:6px 6px 6px 16px;border:1px solid var(--nv-line,#e2e8f0);border-radius:999px;background:var(--nv-surface,#fff);box-shadow:0 18px 40px -28px rgba(15,23,42,.45)}
.nova .e404-search svg{flex:none;color:var(--nv-muted,#64748b)}
.nova .e404-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:8px 4px;font:inherit;color:inherit;outline:0}
.nova .e404-search .nv-btn{border-radius:999px;flex:none}
.nova .e404-search:focus-within{border-color:var(--brand,#4f46e5)}
.nova .e404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.nova .e404-links a{padding:8px 16px;border-radius:999px;border:1px solid var(--nv-line,#e2e8f0);background:var(--nv-surface,#fff);color:inherit;text-decoration:none;font-weight:700;font-size:14px;transition:border-color .2s,color .2s}
.nova .e404-links a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}
@media (max-width:640px){.nova .e404-hero{padding:48px 0 36px}.nova .e404-search{padding-inline-start:12px}}
@media (prefers-reduced-motion:reduce){.nova .e404-code span{animation:none}}

/* ==========================================================================
   V9.3.21 · Home: author list with photos and hover, shelf heads, CTA polish.
   ========================================================================== */
.nova .author-list a{position:relative;display:flex;align-items:center;gap:12px;padding:12px 40px 12px 12px;border-radius:16px;transition:transform .2s,border-color .2s,box-shadow .2s}
[dir=rtl] .nova .author-list a{padding:12px 12px 12px 40px}
.nova .author-list a::after{content:"→";position:absolute;inset-inline-end:16px;top:50%;transform:translateY(-50%);color:var(--nv-muted,#94a3b8);transition:color .2s,inset-inline-end .2s}
[dir=rtl] .nova .author-list a::after{content:"←"}
.nova .author-list a:hover{transform:translateY(-2px);border-color:var(--brand,#4f46e5);box-shadow:0 16px 34px -24px rgba(15,23,42,.45)}
.nova .author-list a:hover::after{color:var(--brand,#4f46e5);inset-inline-end:12px}
.nova .author-list .author-avatar{flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--brand,#4f46e5),#ec4899)}
.nova .author-list .author-avatar img{width:100%;height:100%;object-fit:cover}
.nova .author-list b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nova .author-list a>span:last-child{min-width:0}
/* shelves: the "see all" link becomes a pill with an arrow nudge */
.nova .pu-book-shelf .section-head>a{transition:border-color .2s,color .2s}
.nova .pu-book-shelf .section-head>a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}
/* CTA: button lifts, decorative ring */
.nova .cta-section .cta-inner{position:relative;overflow:hidden}
@media (min-width:761px){.nova .cta-section .cta-inner::after{content:"";position:absolute;inset-inline-end:-80px;top:-80px;width:260px;height:260px;border-radius:50%;border:40px solid rgba(255,255,255,.06);pointer-events:none}}
.nova .cta-section .btn.large{position:relative;z-index:1;border-radius:999px;transition:transform .2s,box-shadow .2s}
.nova .cta-section .btn.large:hover{transform:translateY(-2px);box-shadow:0 16px 30px -14px rgba(0,0,0,.6)}
@media (prefers-reduced-motion:reduce){.nova .author-list a,.nova .cta-section .btn.large{transition:none}.nova .author-list a:hover,.nova .cta-section .btn.large:hover{transform:none}}

/* ===== V9.3.23: TXT and EPUB reader (text pages with the reader themes) ===== */
.nova .elib-reader-pro .elib-reader-text{box-sizing:border-box;width:min(720px,calc(100% - 112px));margin:28px auto 40px;padding:clamp(28px,5vw,64px) clamp(24px,5vw,72px);background:var(--r-bar);color:var(--r-ink);border:1px solid var(--r-line);border-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,.08),0 18px 50px -14px rgba(0,0,0,.3);font-family:Georgia,"Iowan Old Style","Times New Roman",serif;line-height:1.75;text-align:start;overflow-wrap:break-word;hyphens:auto;transition:background .25s,color .25s}
.nova .elib-reader-pro .elib-reader-text p{margin:0 0 1em;white-space:pre-line}
.nova .elib-reader-pro .elib-reader-text p:last-child{margin-bottom:0}
.nova .elib-reader-pro .elib-reader-text:lang(ar){font-family:"Noto Naskh Arabic","Noto Kufi Arabic",Tahoma,serif;line-height:2}
.nova .elib-reader-pro .elib-reader-text:focus-visible{outline:2px solid var(--r-accent);outline-offset:4px}
.nova .elib-reader-pro .elib-reader-text::selection,.nova .elib-reader-pro .elib-reader-text ::selection{background:color-mix(in srgb,var(--r-accent) 28%,transparent)}
.nova .elib-reader-pro .elib-reader-epub{margin:48px auto;padding:36px 32px;max-width:440px;background:var(--r-bar);color:var(--r-ink);border:1px solid var(--r-line);border-radius:18px;box-shadow:0 18px 50px -20px rgba(0,0,0,.3)}
.nova .elib-reader-pro .elib-reader-epub strong{display:inline-block;font-size:13px;letter-spacing:.08em;padding:6px 14px;border-radius:999px;background:color-mix(in srgb,var(--r-accent) 14%,transparent);color:var(--r-accent)}
.nova .elib-reader-pro .elib-reader-epub p{color:var(--r-muted)}
.nova .elib-reader-pro .elib-reader-epub a{background:var(--r-accent);border-radius:999px;padding:10px 20px;color:#fff;font-weight:700;text-decoration:none}
@media (max-width:640px){.nova .elib-reader-pro .elib-reader-text{width:calc(100% - 24px);margin:12px auto 24px;padding:26px 20px;line-height:1.7}}
@media (prefers-reduced-motion:reduce){.nova .elib-reader-pro .elib-reader-text{transition:none}}

/* ===== V9.3.24: search results (catalog with ?q=) ===== */
.nova .srch-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3em}
.nova .srch-title q,.nova .srch-empty q{quotes:"«" "»";color:var(--brand);overflow-wrap:anywhere}
.nova .srch-matches{display:grid;gap:18px;margin:0 0 22px;padding:18px 20px;border:1px solid var(--nv-line);border-radius:18px;background:var(--nv-surface)}
.nova .srch-group h2{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--nv-muted)}
.nova .srch-authors{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.nova .srch-author{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:1px solid var(--nv-line);border-radius:14px;background:var(--nv-surface-2);color:var(--nv-ink);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
[dir=rtl] .nova .srch-author{padding:8px 8px 8px 12px}
.nova .srch-author:hover{transform:translateY(-2px);border-color:var(--brand);box-shadow:var(--nv-shadow-sm)}
.nova .srch-author img,.nova .srch-avatar{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover}
.nova .srch-avatar{display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--brand),#7c3aed)}
.nova .srch-author span{display:grid;min-width:0}
.nova .srch-author strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nova .srch-author small{color:var(--nv-muted);font-size:12px}
.nova .srch-chips{display:flex;flex-wrap:wrap;gap:8px}
.nova .srch-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid var(--nv-line);border-radius:999px;background:var(--nv-surface-2);color:var(--nv-ink);font-size:14px;font-weight:600;text-decoration:none;transition:border-color .2s,color .2s}
.nova .srch-chip:hover{border-color:var(--brand);color:var(--brand)}
.nova .srch-chip svg{color:var(--brand)}
.nova .srch-chip bdi{font-size:12px;color:var(--nv-muted);font-weight:700}
.nova .srch-empty{gap:14px}
.nova .srch-tips{margin:0;padding:12px 16px;list-style:none;display:grid;gap:6px;text-align:start;border-radius:14px;background:var(--nv-surface-2);color:var(--nv-ink-2);font-size:14px;max-width:460px;width:100%}
.nova .srch-tips li{display:flex;gap:8px}.nova .srch-tips li::before{content:"✓";color:var(--brand);font-weight:800}
.nova .srch-popular{display:grid;gap:10px;justify-items:center}
.nova .srch-popular>span{font-size:13px;font-weight:700;color:var(--nv-muted)}
.nova .srch-popular .srch-chips{justify-content:center}
@media (max-width:640px){.nova .srch-matches{padding:14px}.nova .srch-authors{grid-template-columns:1fr 1fr}.nova .srch-author{padding:6px 8px 6px 6px}.nova .srch-author img,.nova .srch-avatar{width:34px;height:34px}}
@media (prefers-reduced-motion:reduce){.nova .srch-author{transition:none}.nova .srch-author:hover{transform:none}}

/* ===== V9.3.25: header search suggestions ===== */
.nova .nv-suggestions{padding:6px;border-radius:18px;overscroll-behavior:contain;scrollbar-width:thin}
.nova .nv-suggestions::before{content:"";position:sticky;top:-6px;display:block;height:3px;margin:-6px -6px 3px;border-radius:18px 18px 0 0;background:linear-gradient(90deg,transparent,var(--brand),transparent);background-size:200% 100%;opacity:0;transition:opacity .2s}
.nova .nv-suggestions.is-loading::before{opacity:1;animation:nv-sg-load 1s linear infinite}
@keyframes nv-sg-load{from{background-position:100% 0}to{background-position:-100% 0}}
.nova .nv-suggestions section+section{margin-top:4px;padding-top:4px}
.nova .nv-suggestions strong{padding:8px 10px 6px}
.nova .nv-suggestions a{gap:12px;padding:8px 10px;border-radius:12px;color:var(--nv-ink);text-decoration:none;transition:background .15s}
.nova .nv-suggestions a:hover,.nova .nv-suggestions a.is-active{background:color-mix(in srgb,var(--brand) 9%,var(--nv-surface))}
.nova .nv-suggestions a.is-active{box-shadow:inset 3px 0 0 var(--brand)}
[dir=rtl] .nova .nv-suggestions a.is-active{box-shadow:inset -3px 0 0 var(--brand)}
.nova .nv-suggestions a img.nv-sg-round{width:36px;height:36px;border-radius:50%}
.nova .nv-suggestions a>i.nv-sg-ic{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand);box-shadow:none;font-style:normal}
.nova .nv-suggestions .nv-sg-books a>i.nv-sg-ic{width:30px;height:44px;border-radius:5px}
.nova .nv-suggestions a>i.nv-sg-initial{border-radius:50%;color:#fff;font-weight:800;background:linear-gradient(135deg,var(--brand),#7c3aed)}
.nova .nv-suggestions mark{background:color-mix(in srgb,var(--brand) 18%,transparent);color:inherit;border-radius:3px;padding:0 1px}
.nova .nv-suggestions .nv-sg-all{gap:6px;margin-top:6px;padding:11px;border-radius:12px;background:var(--nv-surface-2);border-top:0;color:var(--brand)}
.nova .nv-suggestions .nv-sg-all:hover,.nova .nv-suggestions .nv-sg-all.is-active{background:var(--brand);color:#fff;box-shadow:none}
.nova .nv-suggestions .nv-sg-empty{display:grid;justify-items:center;gap:4px;margin:0;padding:18px 12px 12px;text-align:center;color:var(--nv-muted)}
.nova .nv-suggestions .nv-sg-empty svg{color:var(--brand);opacity:.7}
.nova .nv-suggestions .nv-sg-empty q{quotes:"«" "»";color:var(--nv-ink);font-weight:700;overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){.nova .nv-suggestions.is-loading::before{animation:none}.nova .nv-suggestions a{transition:none}}

/* ===== V9.3.26: author page — topics, long biography, sortable works, related authors ===== */
.nova .author-topics{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}
.nova .author-topics>span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--nv-muted)}
.nova .author-bio-text p{margin:0 0 .9em;line-height:1.75}
.nova .author-bio-text p:last-child{margin-bottom:0}
.nova .author-bio-more summary{display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:8px 14px;border:1px solid var(--nv-line);border-radius:999px;color:var(--brand);font-weight:700;font-size:14px;cursor:pointer;list-style:none}
.nova .author-bio-more summary::-webkit-details-marker{display:none}
.nova .author-bio-more summary::after{content:"⌄";line-height:1;transform:translateY(-2px);transition:transform .2s}
.nova .author-bio-more[open] summary{margin-bottom:14px}
.nova .author-bio-more[open] summary::after{transform:rotate(180deg) translateY(-2px)}
.nova .author-bio-more summary:hover{border-color:var(--brand)}
.nova .author-works-head{align-items:flex-end;gap:16px;flex-wrap:wrap}
.nova .author-works-count{display:inline-grid;place-items:center;min-width:30px;height:26px;margin-inline-start:6px;padding:0 9px;border-radius:999px;background:color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand);font-size:14px;font-family:var(--nv-font);vertical-align:middle}
.nova .author-sort label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:var(--nv-muted)}
.nova .author-sort select{padding:9px 34px 9px 14px;border:1px solid var(--nv-line);border-radius:12px;background-color:var(--nv-surface);color:var(--nv-ink);font:inherit;font-weight:600}
[dir=rtl] .nova .author-sort select{padding:9px 14px 9px 34px}
.nova .author-related{padding-top:0}
@media (max-width:640px){.nova .author-sort,.nova .author-sort label,.nova .author-sort select{width:100%}}
@media (prefers-reduced-motion:reduce){.nova .author-bio-more summary::after{transition:none}}
.nova .author-sort select{appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px}
[dir=rtl] .nova .author-sort select{background-position:left 14px center}
.nova .author-sort select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.nova #obras{scroll-margin-top:150px}

/* ===== V9.3.27: AI librarian — restart, retry, catalogue link, polish ===== */
.nova .nv-ai{border:1px solid var(--nv-line);box-shadow:0 30px 80px -30px rgba(15,23,42,.55)}
.nova .nv-ai-head .nv-ai-reset{margin-inline-start:auto;font-size:1.05rem}
.nova .nv-ai-head .nv-ai-reset+button{margin-inline-start:.35rem}
.nova .nv-ai-head .nv-ai-reset[hidden]+button{margin-inline-start:auto}
.nova .nv-ai-head button{transition:background .15s}
.nova .nv-ai-head button:hover{background:rgba(255,255,255,.3)}
.nova .nv-ai-log{scrollbar-width:thin;background:radial-gradient(90% 40% at 50% 0%,color-mix(in srgb,var(--brand) 6%,transparent),transparent 70%)}
.nova .nv-ai-msg{animation:nv-ai-in .22s ease-out}
@keyframes nv-ai-in{from{opacity:0;transform:translateY(6px)}}
.nova .nv-ai-msg.me{background:linear-gradient(135deg,var(--brand),#7c3aed);color:#fff}
.nova .nv-ai-msg.bot{border:1px solid var(--nv-line)}
.nova .nv-ai-msg.wide{max-width:100%;width:100%}
.nova .nv-ai-msg.error{border-color:color-mix(in srgb,#dc2626 35%,var(--nv-line));background:color-mix(in srgb,#dc2626 7%,var(--nv-surface-2))}
.nova .nv-ai-intro{margin:0 0 .55rem}
.nova .nv-ai-msg.error .nv-ai-intro{margin-bottom:.5rem}
.nova .nv-ai-card{background:var(--nv-surface);color:var(--nv-ink);text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.nova .nv-ai-card:hover{transform:translateY(-1px)}
.nova .nv-ai-more{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;margin-top:.6rem;padding:.55rem .8rem;border-radius:12px;border:1px dashed var(--nv-line-strong);color:var(--brand);font-weight:700;font-size:.85rem;text-decoration:none}
.nova .nv-ai-more q{quotes:"«" "»";color:var(--nv-ink);font-weight:600;overflow-wrap:anywhere}
.nova .nv-ai-more:hover{border-style:solid;border-color:var(--brand)}
.nova .nv-ai-retry{border:1px solid var(--nv-line-strong);background:var(--nv-surface);color:var(--nv-ink);border-radius:999px;padding:.4rem .9rem;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.nova .nv-ai-retry:hover{border-color:var(--brand);color:var(--brand)}
.nova .nv-ai-ideas button{transition:border-color .15s,color .15s,background .15s}
.nova .nv-ai-ideas button:hover{background:color-mix(in srgb,var(--brand) 7%,var(--nv-surface))}
.nova .nv-ai-form input:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.nova .nv-ai-form button{display:inline-flex;align-items:center;gap:.35rem;background:linear-gradient(135deg,var(--brand),#7c3aed);color:#fff;font-weight:700}
[dir=rtl] .nova .nv-ai-form button svg{transform:scaleX(-1)}
.nova .nv-ai-form button:disabled{opacity:.55;cursor:wait}
@media (max-width:420px){.nova .nv-ai-form button span{display:none}.nova .nv-ai-form button{padding:0 .85rem}}
@media (prefers-reduced-motion:reduce){.nova .nv-ai-msg,.nova .nv-ai-card{animation:none;transition:none}.nova .nv-ai-card:hover{transform:none}}

/* ===== V9.3.28: categories directory — readable hero, real book totals, counts on subcategories ===== */
.nova .cat-v643-hero p{color:#c7d2fe}
.nova .cat-v643-meta{gap:8px;flex-wrap:wrap}
.nova .cat-v643-meta .cat-v643-books{font-weight:800;color:var(--nv-ink)}
.nova .cat-v643-meta .cat-v643-books+small::before{content:"·";margin-inline-end:6px;color:var(--nv-muted)}
.nova .cat-v643-children a{display:inline-flex;align-items:center;gap:6px}
.nova .cat-v643-children a bdi{font-size:11px;font-weight:700;color:var(--nv-muted)}
.nova .cat-v643-children a:hover bdi{color:inherit}
.nova .cat-v643-children .cat-v643-more{border-style:dashed;color:var(--brand);font-weight:700}
.nova .cat-v643-meta{justify-content:flex-start}
.nova .cat-v643-meta>span[aria-hidden]{margin-inline-start:auto}

/* ===== V9.3.29: category page — facts, current breadcrumb, siblings, sortable books, authors ===== */
.nova .cat-breadcrumb span[aria-current]{color:#fff;font-weight:700}
.nova .catx-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.nova .catx-facts span{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border:1px solid #ffffff2e;border-radius:999px;background:#ffffff14;color:#e0e7ff;font-size:13px;font-weight:600}
.nova .catx-facts bdi{color:#fff;font-weight:800}
.nova .catx-siblings{display:grid;gap:10px;margin:0 0 30px;padding:16px 18px;border:1px solid var(--nv-line);border-radius:18px;background:var(--nv-surface)}
.nova .catx-siblings>span{font-size:13px;font-weight:700;color:var(--nv-muted)}
.nova .catx-siblings>span a{color:var(--brand)}
.nova .catx-books-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;scroll-margin-top:150px}
.nova .catx-authors-head{margin-top:40px}

/* ===== V9.3.52: forgot password link ===== */
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.auth-row .remember{margin:0}
.auth-forgot{font-size:14px;font-weight:600}

/* ===== V9.3.54: account settings ===== */
.nova .acc-jump{margin:-18px 0 24px;font-weight:700}
.nova .acc-reviews{margin-top:20px}.nova .acc-stars{color:#f59e0b;letter-spacing:1px;margin-inline-start:6px;white-space:nowrap}
.nova .acc-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;align-items:start}
.nova .acc-form{display:grid;gap:12px}.nova .acc-form h3{margin:0 0 4px;font-size:18px}
.nova .acc-form label{display:grid;gap:6px;font-weight:700;font-size:14px}.nova .acc-form label small{font-weight:500}
.nova .acc-form input,.nova .acc-form select{width:100%;box-sizing:border-box}
.nova .acc-form .btn{justify-self:start}
.nova .acc-danger{grid-column:1/-1;border-color:color-mix(in srgb,#dc2626 45%,var(--nv-line))}
.nova .acc-danger summary{cursor:pointer;font-weight:800;color:#dc2626}
.nova .acc-danger p{color:var(--nv-muted);line-height:1.6}
.nova .acc-delete-btn{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}

/* ===== V9.3.55: sign-up ===== */
.auth-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.nova .auth-pass{display:flex;gap:6px;align-items:center}.nova .auth-pass input{flex:1;min-width:0}
.nova .auth-eye{flex:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--nv-line);background:var(--nv-surface);cursor:pointer}
.nova .auth-eye[aria-pressed=true]{border-color:var(--brand,#4f46e5)}
.nova .auth-hint{display:block;font-weight:500;font-size:12.5px;color:var(--nv-muted);margin-top:4px}
.nova .auth-hint.is-ok{color:#16a34a}.nova .auth-hint.is-ok::before{content:"✓ "}
.nova [data-reg-match]{color:#dc2626}

/* ===== V9.3.57: e-mail confirmation ===== */
.nova .acc-verify{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px;border-color:color-mix(in srgb,#d97706 50%,var(--nv-line));background:color-mix(in srgb,#d97706 7%,var(--nv-surface))}
.nova .acc-verify h2{margin:0 0 4px;font-size:18px}.nova .acc-verify p{margin:0;color:var(--nv-muted)}

/* ===== V9.3.58: two-step sign-in ===== */
.nova .acc-2fa{grid-column:1/-1}
.nova .acc-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.nova .acc-inline input{flex:1;min-width:180px;width:auto}
.nova .acc-qr{display:block;width:180px;height:180px;background:#fff;padding:8px;border-radius:12px}
.nova .acc-secret{font-size:15px;letter-spacing:.06em;word-break:break-all}
.nova .acc-steps{margin:0;padding-inline-start:20px;line-height:1.7}
.nova .acc-ok{color:#16a34a;font-weight:900}
.nova .acc-codes{border:1px solid color-mix(in srgb,#16a34a 45%,var(--nv-line));background:color-mix(in srgb,#16a34a 7%,var(--nv-surface));border-radius:14px;padding:14px}
.nova .acc-codes ul{list-style:none;padding:0;margin:10px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px}
.nova .acc-codes code{font-size:15px}
.nova .auth-code{font-size:22px;letter-spacing:.2em;text-align:center}
.nova .auth-more{margin-top:12px}.nova .auth-more summary{cursor:pointer;font-weight:700}.nova .auth-more p{color:var(--nv-muted);line-height:1.6}

/* ===== V9.3.61: signed-in devices ===== */
.nova .acc-devices{grid-column:1/-1}
.nova .acc-device-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.nova .acc-device-list li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--nv-line);border-radius:12px;background:var(--nv-surface)}
.nova .acc-device-list li.is-current{border-color:var(--brand,#4f46e5)}
.nova .acc-device-icon{font-size:22px;flex:none}
.nova .acc-device-text{display:grid;gap:2px;flex:1;min-width:0}.nova .acc-device-text small{color:var(--nv-muted)}
.nova .acc-device-here{display:inline-block;font-size:11px;font-weight:800;color:var(--brand,#4f46e5);margin-inline-start:6px}

/* ===== V9.3.63: e-mail alerts opt-out ===== */
.nova .acc-form .acc-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:600}.nova .acc-form .acc-check input{width:auto!important;margin-top:4px;flex:none}

/* ===== V9.3.69: reviews — star breakdown, star picker, own review ===== */
.nova .rv-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:center;padding:4px 0 18px;border-bottom:1px solid var(--nv-line)}
.nova .rv-score{display:grid;justify-items:center;gap:4px;min-width:110px}.nova .rv-score strong{font-size:40px;line-height:1}.nova .rv-score span{color:var(--nv-muted);font-size:13px}
.nova .rv-bars{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.nova .rv-bars li{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:10px;align-items:center;font-size:13px;color:var(--nv-muted)}
.nova .rv-bars i{display:block;height:8px;border-radius:99px;background:var(--nv-surface-2);overflow:hidden}.nova .rv-bars b{display:block;height:100%;border-radius:99px;background:#f5a524}
.nova .rv-form h3{margin:0}.nova .rv-note{margin:0;padding:10px 12px;border-radius:10px;background:var(--nv-accent-soft);font-size:14px}
.nova .rv-stars-input{border:0;margin:0;padding:0;min-width:0}.nova .rv-stars-row{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.nova .rv-stars-input legend{padding:0;margin-bottom:4px;font-weight:600}
.nova .rv-stars-input input{position:absolute;opacity:0;width:1px;height:1px}
.nova .rv-stars-input label{font-size:32px;line-height:1;color:var(--nv-line);cursor:pointer;padding:2px;transition:color .15s,transform .15s}
.nova .rv-stars-input label:hover,.nova .rv-stars-input label:hover~label,.nova .rv-stars-input input:checked~label{color:#f5a524}
.nova .rv-stars-input input:focus-visible+label{outline:2px solid var(--brand,#4f46e5);outline-offset:2px;border-radius:6px}
.nova .rv-stars-input label:active{transform:scale(.9)}
.nova .rv-delete{margin-top:8px}
.nova .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){.nova .rv-summary{grid-template-columns:1fr}}

/* ===== V9.3.71: quotes — likes, search, own quote ===== */
.nova .quote-like-form{display:inline}
.nova .quote-like{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid var(--nv-line);border-radius:99px;background:transparent;color:var(--nv-muted);font:inherit;font-size:13px;line-height:1.4;cursor:pointer;text-decoration:none;transition:color .15s,border-color .15s,background .15s}
.nova .quote-like:hover{color:#e11d48;border-color:#e11d48}
.nova .quote-like.is-liked{color:#e11d48;border-color:color-mix(in srgb,#e11d48 45%,transparent);background:color-mix(in srgb,#e11d48 10%,transparent)}
.nova .quote-like span[aria-hidden]{font-size:15px}
.nova .quote-del{border:0;background:none;color:var(--nv-muted);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
.nova #citas .quote-card p{margin:0 0 8px}
.nova #citas .quote-card footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.nova .quote-search{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;max-width:640px}
.nova .quote-search input{flex:1 1 220px;min-width:0}
.nova .page-hero h1 a{color:inherit}
.nova .quote-card[id^=quote-]{scroll-margin-top:150px}

/* ===== V9.3.72: authors directory — search and A–Z ===== */
.nova .authors-letters{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.nova .authors-letters a{min-width:34px;height:34px;padding:0 10px;display:inline-grid;place-items:center;border:1px solid var(--nv-line);border-radius:10px;color:var(--nv-ink);text-decoration:none;font-weight:700;font-size:14px}
.nova .authors-letters a:hover{border-color:var(--brand,#4f46e5);color:var(--brand,#4f46e5)}
.nova .authors-letters a.is-active{background:var(--brand,#4f46e5);border-color:var(--brand,#4f46e5);color:#fff}
