:root{--nx-font:"Vazirmatn",Tahoma,sans-serif;--nx-font-display:"Markazi Text","Vazirmatn",serif;--nx-font-latin:"Montserrat","Vazirmatn",sans-serif;--nx-gold:#D4AF37;--nx-gold-hover:#E2C25A;--nx-gold-ink:#7A5E0E;--nx-blue:#1E3A8A;--nx-ink:#0A1630;--nx-porcelain:#EEF1F6;--nx-muted:#3F475D;--nx-line:#E3E7EF;--nx-ease:cubic-bezier(.2,.7,.2,1);--nx-pill:999px;--nx-r:10px;--nx-header-h:66px}
.nx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:2px solid transparent;font-weight:800;cursor:pointer}
.nx-btn--gold{background:var(--nx-gold);color:var(--nx-ink)}.nx-btn--line{border-color:var(--nx-ink);color:var(--nx-ink);background:transparent}.nx-btn--sm{min-height:40px;font-size:14.5px}
.nx-textlink{font-weight:800;color:var(--nx-blue)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.nx-cover { container-type: inline-size; position: relative; aspect-ratio: 2 / 3; width: 100%; border-radius: 3px 9px 9px 3px; background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.14), transparent 55%), linear-gradient(165deg, var(--c), var(--ci)); color: #fff; display: flex; flex-direction: column; padding: 13% 11% 10% 10%; padding-inline-start: 15%; overflow: hidden; box-shadow: 0 22px 44px -22px rgba(6,13,29,.6), 0 6px 14px -6px rgba(6,13,29,.35); isolation: isolate; }
.nx-cover::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6.5%; background: linear-gradient(270deg, rgba(0,0,0,.32), rgba(255,255,255,.10) 55%, rgba(0,0,0,.14)); }
.nx-cover::after { content: ""; position: absolute; inset: 5.5%; inset-inline-start: 11%; border: 1px solid rgba(212,175,55,.45); border-radius: 2px; pointer-events: none; z-index: -1; }
.nx-cover__top { font-size: 5.2cqw; letter-spacing: 0; color: var(--nx-gold); font-weight: 700; }
.nx-cover__title { margin-top: 26%; font-family: var(--nx-font-display); font-weight: 700; font-size: 15.5cqw; line-height: 1.12; }
.nx-cover__rule { display: block; width: 26%; height: 2px; background: var(--nx-gold); margin: 7% 0 6%; }
.nx-cover__sub { font-size: 6.4cqw; line-height: 1.6; color: rgba(255,255,255,.86); }
.nx-cover__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6%; }
.nx-cover__author { font-size: 5.8cqw; font-weight: 700; }
.nx-cover__mark { width: 15cqw; height: 15cqw; color: var(--nx-gold); flex: none; }

.nx-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 56px 40px; }
.nx-bookcard { display: flex; flex-direction: column; gap: 14px; }
.nx-bookcard__cv { display: block; max-width: 250px; transition: transform .35s var(--nx-ease); }
.nx-bookcard__cv:hover { transform: translateY(-6px) rotate(-.6deg); }
.nx-bookcard__kind { font-size: 13px; color: var(--nx-gold-ink); font-weight: 700; margin-top: 8px; }
.nx-bookcard__title { font-size: 1.35rem; line-height: 1.5; margin: 0; }
.nx-bookcard__title a:hover { color: var(--nx-blue); }
.nx-bookcard__sub { color: var(--nx-muted); font-size: 15px; margin: -6px 0 0; }
.nx-bookcard__meta { font-size: 13.5px; color: var(--nx-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nx-bookcard__acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 4px; }
.nx-readfeat { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); margin-top: 72px; }
.nx-readfeat > div { padding: 26px 24px; border-inline-start: 1px solid var(--nx-line); }
.nx-readfeat > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.nx-readfeat h3 { font-size: 1.05rem; margin: 0 0 6px; }
.nx-readfeat p { font-size: 14.5px; color: var(--nx-muted); margin: 0; line-height: 1.9; }

.nx-bookhead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.nx-bookhead__cv { position: sticky; top: calc(var(--nx-header-h) + 24px); }
.nx-bookhead__en { font-family: var(--nx-font-latin); direction: ltr; text-align: right; font-size: 14px; color: var(--nx-muted); margin: 4px 0 18px; }
.nx-bookhead h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.3; margin: 6px 0 4px; }
.nx-bookhead__sub { font-size: 1.2rem; color: var(--nx-muted); margin: 0; }
.nx-bookmeta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 28px 0; border-top: 1px solid var(--nx-line); }
.nx-bookmeta > div { padding: 14px 0; border-bottom: 1px solid var(--nx-line); }
.nx-bookmeta dt { font-size: 13px; color: var(--nx-muted); }
.nx-bookmeta dd { margin: 2px 0 0; font-weight: 700; }
.nx-bookhead__blurb { font-size: 1.12rem; line-height: 2.1; max-width: 62ch; }
.nx-bookhead__acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.nx-bookhead__note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--nx-muted); }
.nx-bookhead__note svg { width: 18px; height: 18px; flex: none; color: var(--nx-gold-ink); }
.nx-btoc { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: c; border-top: 1px solid var(--nx-line); max-width: 760px; }
.nx-btoc li { border-bottom: 1px solid var(--nx-line); }
.nx-btoc a, .nx-btoc span.nx-btoc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; }
.nx-btoc a:hover { color: var(--nx-blue); background: var(--nx-porcelain); }
.nx-btoc__tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: var(--nx-pill); background: #E6F6F1; color: #04654A; white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.nx-btoc__tag--lock { background: #F6EFD8; color: var(--nx-gold-ink); }
.nx-btoc__tag svg { width: 13px; height: 13px; }
.nx-crumbs--ink, .nx-crumbs--ink a { color: var(--nx-muted); }
.nx-crumbs--ink a:hover { color: var(--nx-ink); } .nx-crumbs--ink span { color: #B7BECC; }
.nx-readpage { min-height: 70vh; display: grid; place-items: center; color: var(--nx-muted); }
.nx-perk--books { border-top: 3px solid var(--nx-gold); }
@media (max-width: 1100px) { .nx-readfeat { grid-template-columns: repeat(2, minmax(0,1fr)); } .nx-readfeat > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 820px) {
  .nx-bookhead { grid-template-columns: 1fr; gap: 32px; }
  .nx-bookhead__cv { position: static; max-width: 220px; }
  .nx-shelf { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 18px; }
  .nx-bookcard__title { font-size: 1.1rem; }
  .nx-bookcard__acts .nx-btn { width: 100%; }
}
@media (max-width: 560px) { .nx-readfeat { grid-template-columns: 1fr; } .nx-readfeat > div { border-inline-start: 0 !important; padding-inline: 0 !important; border-bottom: 1px solid var(--nx-line); } .nx-readfeat > div:last-child { border-bottom: 0; } }

@media (max-width: 1200px) { .nx-nav > ul > li > a { padding: 0 7px; font-size: 14.5px; } }
@media (min-width: 1025px) and (max-width: 1200px) { .nx-nav > ul > li > a { white-space: nowrap; } }
/* ---- reader ---- */
.nx-rd { --rd-bg: #FFFFFF; --rd-tx: #1B2233; --rd-mu: #69718A; --rd-ln: #E3E7EF; --rd-chrome: #F7F8FB; --rd-acc: var(--nx-blue); --rd-mark: rgba(212,175,55,.38);
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: var(--rd-bg); color: var(--rd-tx); font-family: var(--nx-font); }
.nx-rd[hidden] { display: none; }
.nx-rd[data-theme="sepia"] { --rd-bg: #F5EEDC; --rd-tx: #3A2E1C; --rd-mu: #7D6C51; --rd-ln: #E3D7BC; --rd-chrome: #EFE6CF; --rd-acc: #7A5E0E; --rd-mark: rgba(160,110,20,.28); }
.nx-rd[data-theme="night"] { --rd-bg: #0D1322; --rd-tx: #CDD5E5; --rd-mu: #8892AA; --rd-ln: #1F2A40; --rd-chrome: #0A0F1C; --rd-acc: var(--nx-gold); --rd-mark: rgba(212,175,55,.32); }
.nx-rd__bar, .nx-rd__foot { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 clamp(10px, 2vw, 22px); background: var(--rd-chrome); border-bottom: 1px solid var(--rd-ln); transition: transform .3s var(--nx-ease), opacity .3s; z-index: 3; }
.nx-rd__bar { height: 60px; }
.nx-rd__foot { height: 52px; border-bottom: 0; border-top: 1px solid var(--rd-ln); font-size: 13.5px; color: var(--rd-mu); font-variant-numeric: tabular-nums; }
.nx-rd.is-immersive .nx-rd__bar { transform: translateY(-100%); opacity: 0; }
.nx-rd.is-immersive .nx-rd__foot { transform: translateY(100%); opacity: 0; }
.nx-rd__btn { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--rd-tx); cursor: pointer; font: inherit; }
.nx-rd__btn:hover { background: var(--rd-ln); }
.nx-rd__btn[aria-pressed="true"], .nx-rd__btn.is-on { color: var(--rd-acc); }
.nx-rd__btn[aria-pressed="true"] svg { fill: currentColor; }
.nx-rd__btn svg { width: 21px; height: 21px; }
.nx-rd__btn:focus-visible, .nx-rd button:focus-visible, .nx-rd a:focus-visible, .nx-rd input:focus-visible { outline: 2px solid var(--nx-gold); outline-offset: 2px; }
.nx-rd__ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.nx-rd__ttl b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rd__ttl span { font-size: 12.5px; color: var(--rd-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rd__tools { display: flex; gap: 2px; }
.nx-rd__aa { font-weight: 800; font-size: 16px; font-family: var(--nx-font-latin); }
.nx-rd__stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.nx-rd__viewport { position: relative; overflow: hidden; }
.nx-rd__flow { height: 100%; column-fill: auto; column-gap: var(--rd-gap, 64px); text-align: justify; font-size: var(--rd-fs, 19px); line-height: var(--rd-lh, 2.05); font-family: var(--rd-ff, var(--nx-font)); transition: transform .38s var(--nx-ease); will-change: transform;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overflow-wrap: break-word; hyphens: none; }
.nx-rd.is-dragging .nx-rd__flow, .nx-rd.no-anim .nx-rd__flow { transition: none; }
.nx-rd__flow p { margin: 0 0 .9em; text-indent: 1.4em; orphans: 2; widows: 2; }
.nx-rd__flow h2 + p, .nx-rd__flow h3 + p, .nx-rd__flow blockquote + p { text-indent: 0; }
.nx-rd__flow h2 { font-family: var(--nx-font-display); font-size: 1.9em; line-height: 1.35; margin: 1.6em 0 1em; font-weight: 700; break-after: avoid; color: var(--rd-tx); }
.nx-rd__flow h3 { font-size: 1.08em; margin: 1.3em 0 .45em; font-weight: 800; color: var(--rd-acc); break-after: avoid; }
.nx-rd__flow blockquote { margin: 1.1em 0 1.2em; padding: .2em 1.1em .2em 0; border-inline-start: 3px solid var(--nx-gold); font-family: var(--nx-font-display); font-size: 1.12em; line-height: 1.85; color: var(--rd-tx); break-inside: avoid; }
.nx-rd__ch { break-before: column; }
.nx-rd__chno { display: block; font-size: .78em; color: var(--rd-mu); margin-top: 2.2em; }
.nx-rd__ch > h2 { margin-top: .2em; }
.nx-rd__ch > h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--nx-gold); margin-top: .55em; }
.nx-rd__title { height: 100%; break-after: column; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3em; padding: 1em 0; }
.nx-rd__title .nx-cover { width: 190px; flex: none; margin-bottom: 1.4em; container-type: normal; padding: 26px 20px 20px 18px; padding-inline-start: 28px; }
.nx-rd__title .nx-cover__top { font-size: 10px; } .nx-rd__title .nx-cover__title { font-size: 29px; margin-top: 46px; } .nx-rd__title .nx-cover__sub { font-size: 12px; }
.nx-rd__title .nx-cover__author { font-size: 11px; } .nx-rd__title .nx-cover__mark { width: 28px; height: 28px; } .nx-rd__title .nx-cover__rule { margin: 12px 0 10px; }
@media (max-height: 640px) { .nx-rd__title .nx-cover { display: none; } }
.nx-rd__title strong { font-family: var(--nx-font-display); font-size: 1.9em; line-height: 1.3; }
.nx-rd__title em { font-style: normal; color: var(--rd-mu); }
.nx-rd__title small { margin-top: 1.8em; font-size: .72em; color: var(--rd-mu); max-width: 30em; line-height: 1.9; }
.nx-rd__lock { break-before: column; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .55em; padding: 1em; font-size: .9em; text-indent: 0; }
.nx-rd__lock > svg { width: 46px; height: 46px; color: var(--nx-gold); }
.nx-rd__lock strong { font-family: var(--nx-font-display); font-size: 1.7em; line-height: 1.4; }
.nx-rd__lock p { text-indent: 0 !important; color: var(--rd-mu); max-width: 26em; margin: 0; }
.nx-rd__lock ul { list-style: none; padding: 0; margin: .4em 0 .6em; font-weight: 700; line-height: 2; }
.nx-rd__lock ul li::before { content: "— "; color: var(--nx-gold); }
.nx-rd__lockacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: .4em; }
.nx-rd__lockacts .nx-btn { font-size: 14.5px; }
.nx-rd__demo { margin-top: 1.2em; border: 1px dashed var(--rd-ln); background: transparent; color: var(--rd-mu); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.nx-rd__demo:hover { color: var(--rd-tx); border-color: var(--rd-mu); }
.nx-rd__end { break-before: column; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .5em; color: var(--rd-mu); }
.nx-rd__end strong { color: var(--rd-tx); font-family: var(--nx-font-display); font-size: 1.6em; }
.nx-rd__flow mark { background: var(--rd-mark); color: inherit; border-radius: 3px; padding: 0 .08em; }
.nx-rd__flow mark.is-hit { outline: 2px solid var(--nx-gold); }
.nx-rd__spine { position: absolute; top: 0; bottom: 0; width: 44px; left: 50%; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0,0,0,.05) 46%, rgba(0,0,0,.09) 50%, rgba(0,0,0,.05) 54%, transparent); display: none; }
.nx-rd[data-theme="night"] .nx-rd__spine { background: linear-gradient(90deg, transparent, rgba(0,0,0,.25) 50%, transparent); }
.nx-rd.is-spread .nx-rd__spine { display: block; }
.nx-rd__turn { position: absolute; top: 0; bottom: 0; width: 18%; max-width: 160px; border: 0; background: transparent; cursor: pointer; z-index: 2; display: flex; align-items: center; padding: 0 12px; color: var(--rd-mu); opacity: 0; transition: opacity .2s; }
.nx-rd__turn svg { width: 28px; height: 28px; }
.nx-rd__turn:hover, .nx-rd__turn:focus-visible { opacity: 1; }
.nx-rd__turn--next { left: 0; justify-content: flex-start; }
.nx-rd__turn--prev { right: 0; justify-content: flex-end; }
.nx-rd__turn--prev svg { transform: scaleX(-1); }
.nx-rd__turn[disabled] { visibility: hidden; }
.nx-rd__wm { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; opacity: .045; }
.nx-rd__wm span { position: absolute; white-space: nowrap; font-size: 15px; font-weight: 700; transform: rotate(-24deg); color: var(--rd-tx); }
.nx-rd__range { flex: 1; min-width: 60px; cursor: pointer; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; --p: 0%; }
.nx-rd__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--rd-acc) var(--p), var(--rd-ln) var(--p)); }
.nx-rd__range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(to left, var(--rd-acc) var(--p), var(--rd-ln) var(--p)); }
.nx-rd__range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--rd-acc); border: 3px solid var(--rd-chrome); box-shadow: 0 0 0 1px var(--rd-acc); }
.nx-rd__range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--rd-acc); border: 3px solid var(--rd-chrome); }
.nx-rd__pos, .nx-rd__pct { white-space: nowrap; }
.nx-rd__panel { position: absolute; top: 60px; bottom: 0; inset-inline-end: 0; width: min(380px, 100%); background: var(--rd-chrome); border-inline-start: 1px solid var(--rd-ln); z-index: 5; display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(6,13,29,.18); transform: translateX(-104%); transition: transform .3s var(--nx-ease), visibility .3s; visibility: hidden; }
.nx-rd__panel.is-open { transform: none; visibility: visible; }
.nx-rd__panel--aa { inset-inline-end: auto; inset-inline-start: auto; left: auto; right: auto; top: 66px; bottom: auto; left: clamp(10px, 2vw, 22px); width: min(330px, calc(100% - 20px)); border: 1px solid var(--rd-ln); border-radius: 14px; transform: translateY(-8px); opacity: 0; transition: opacity .2s, transform .2s, visibility .2s; }
.nx-rd__panel--aa.is-open { transform: none; opacity: 1; }
.nx-rd__phead { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; }
.nx-rd__phead h2 { font-size: 16px; margin: 0; }
.nx-rd__tabs { display: flex; gap: 6px; padding: 0 18px 10px; border-bottom: 1px solid var(--rd-ln); }
.nx-rd__tab { border: 0; background: transparent; color: var(--rd-mu); font: inherit; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nx-rd__tab[aria-selected="true"] { background: var(--rd-ln); color: var(--rd-tx); }
.nx-rd__plist { list-style: none; margin: 0; padding: 8px 10px 24px; overflow: auto; flex: 1; }
.nx-rd__plist button, .nx-rd__plist .nx-rd__item { width: 100%; text-align: start; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; color: var(--rd-tx); font: inherit; font-size: 14.5px; line-height: 1.7; padding: 11px 10px; border-radius: 9px; cursor: pointer; }
.nx-rd__plist button:hover { background: var(--rd-ln); }
.nx-rd__plist .is-current > button { color: var(--rd-acc); font-weight: 700; }
.nx-rd__plist small { color: var(--rd-mu); font-size: 12.5px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.nx-rd__plist small svg { width: 13px; height: 13px; }
.nx-rd__plist .nx-rd__bm { display: flex; align-items: center; gap: 4px; }
.nx-rd__plist .nx-rd__bm > button:first-child { flex: 1; flex-direction: column; align-items: flex-start; gap: 0; }
.nx-rd__plist .nx-rd__bm > button:first-child span { font-size: 13px; color: var(--rd-mu); }
.nx-rd__plist .nx-rd__del { width: 36px; flex: none; justify-content: center; color: var(--rd-mu); font-size: 20px; }
.nx-rd__empty { padding: 18px 12px; color: var(--rd-mu); font-size: 14px; line-height: 1.9; }
.nx-rd__sform { padding: 0 18px 12px; border-bottom: 1px solid var(--rd-ln); }
.nx-rd__sform input { width: 100%; height: 44px; border: 1px solid var(--rd-ln); border-radius: 10px; padding: 0 14px; font: inherit; background: var(--rd-bg); color: var(--rd-tx); }
.nx-rd__sres button { flex-direction: column; align-items: flex-start !important; gap: 2px !important; }
.nx-rd__sres button span { color: var(--rd-mu); font-size: 12.5px; }
.nx-rd__sres mark { background: var(--rd-mark); color: inherit; border-radius: 3px; }
.nx-rd__set { padding: 4px 18px 18px; display: grid; gap: 16px; }
.nx-rd__set h3 { font-size: 13px; color: var(--rd-mu); margin: 0 0 6px; font-weight: 700; }
.nx-rd__seg { display: flex; gap: 6px; }
.nx-rd__seg button { flex: 1; min-height: 42px; border: 1px solid var(--rd-ln); background: var(--rd-bg); color: var(--rd-tx); border-radius: 10px; font: inherit; font-size: 14px; cursor: pointer; }
.nx-rd__seg button[aria-pressed="true"] { border-color: var(--rd-acc); box-shadow: inset 0 0 0 1px var(--rd-acc); font-weight: 700; }
.nx-rd__seg [data-theme-btn="light"] { background: #fff; color: #1B2233; }
.nx-rd__seg [data-theme-btn="sepia"] { background: #F5EEDC; color: #3A2E1C; }
.nx-rd__seg [data-theme-btn="night"] { background: #0D1322; color: #CDD5E5; }
.nx-rd__fs { display: flex; align-items: center; gap: 10px; }
.nx-rd__fs output { flex: 1; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.nx-rd__toast { position: absolute; bottom: 70px; left: 50%; transform: translate(-50%, 12px); background: var(--nx-ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 6; white-space: nowrap; }
.nx-rd__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nx-rd__toast button { background: none; border: 0; color: var(--nx-gold); font: inherit; font-weight: 700; margin-inline-start: 10px; cursor: pointer; pointer-events: auto; }
html.nx-reading, html.nx-reading body { overflow: hidden; }
.nx-rd .nx-btn--line { border-color: var(--rd-tx); color: var(--rd-tx); }
.nx-rd .nx-btn--line:hover { background: var(--rd-tx); color: var(--rd-bg); }
.nx-rd .nx-textlink { color: var(--rd-acc); }
@media (max-width: 700px) {
  .nx-rd__bar { height: 56px; padding: 0 6px; gap: 2px; }
  .nx-rd__panel { top: 56px; }
  .nx-rd__btn { width: 40px; height: 40px; }
  .nx-rd__full { display: none !important; }
  .nx-rd__foot { gap: 10px; }
  .nx-rd__turn { width: 22%; }
}
@media (prefers-reduced-motion: reduce) { .nx-rd__flow, .nx-rd__panel, .nx-rd__bar, .nx-rd__foot { transition: none !important; } }
@media print { .nx-rd { display: none !important; } html.nx-reading body > * { display: none !important; } html.nx-reading body::before { content: "چاپ کتاب‌های انتشارات نکسای امکان‌پذیر نیست؛ این کتاب فقط به‌صورت آنلاین خوانده می‌شود."; display: block; padding: 40px; font: 16px/2 Tahoma, sans-serif; direction: rtl; } }
