.nv-chrome {
  position: relative;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.98rem 1.65rem;
  padding: 1.28rem 1.65rem 1.12rem;
  background: rgba(12, 9, 8, 0.88);
  border-bottom: 1px solid rgba(196, 165, 116, 0.18);
}

.nv-chrome-brand {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 2.02rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.nv-chrome-brand svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.nv-chrome-brand span {
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.nv-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nv-nav-burger {
  display: none;
  margin-left: auto;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.17rem;
  cursor: pointer;
}

.nv-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.15rem;
}

.nv-nav > a,
.nv-dropnav summary,
.nv-door a,
.nv-social a {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  color: var(--gold-dim);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.11rem;
  cursor: pointer;
  list-style: none;
}

.nv-nav > a.is-on,
.nv-dropnav summary.is-on,
.nv-nav > a:hover,
.nv-dropnav summary:hover,
.nv-door a:hover,
.nv-social a:hover,
.nv-door a.is-fill {
  color: #111;
  background: var(--gold);
}

.nv-dropnav {
  position: relative;
}

.nv-dropnav summary::-webkit-details-marker {
  display: none;
}

.nv-dropnav-box {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 20;
  min-width: 11rem;
  padding: 0.45rem 0;
  background: #1a1511;
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: 8px;
}

.nv-dropnav-box a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--gold-bright);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: none;
}

.nv-dropnav-box a:hover {
  background: rgba(196, 165, 116, 0.12);
}

.nv-social {
  display: inline-flex;
  gap: 0.1rem;
  margin-left: 0.4rem;
}

.nv-search {
  display: flex;
  gap: 0.35rem;
}

.nv-search input {
  width: 16.5rem;
  padding: 0.57rem 0.98rem;
  border: 1px solid rgba(196, 165, 116, 0.32);
  border-radius: 999px;
  background: #16120f;
  color: var(--home-text);
  font-family: inherit;
  font-size: 1.11rem;
}

.nv-search button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.08rem;
  cursor: pointer;
}

.nv-door {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.nv-end {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1rem 2.2rem;
  text-align: center;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

.nv-end p {
  margin: 0.2rem 0;
  font-size: 0.92rem;
}

.nv-end a {
  color: var(--gold);
  text-decoration: none;
}

.nv-site-main,
.nv-auth-wrap {
  position: relative;
  z-index: 1;
}

.nv-site-main {
  width: 100%;
  margin: 0 auto;
  padding: 1.6rem 12px 3rem;
}

.nv-dash {
  margin: 0 0 1.4rem;
  padding: 0.15rem 0 0.35rem;
  background: none;
  color: inherit;
  text-align: center;
}

.nv-dash h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-bright);
}

.nv-dash p {
  margin: 0.5rem 0 0;
  opacity: 1;
  color: var(--gold-dim);
}

.nv-dash-stats {
  display: block;
  margin-top: 0.55rem;
  color: var(--gold-bright);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
}

.nv-page-head,
.nv-card,
.nv-book-card {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.nv-page-head {
  text-align: center;
  margin: 0 0 1.8rem;
}

.nv-page-head:has(.nv-save-order) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.nv-page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-bright);
}

.nv-page-head p {
  margin: 0.55rem 0 0;
  color: var(--gold-dim);
}

.nv-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .nv-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .nv-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
  }
}

.nv-site .book-card .toc-title,
.nv-auth .book-card .toc-title {
  color: var(--gold-bright);
}

.nv-site .book-card .toc-by,
.nv-auth .book-card .toc-by,
.nv-site .book-card .toc-rating,
.nv-auth .book-card .toc-rating {
  color: var(--gold-dim);
}

.nv-site .book-card .toc-author,
.nv-auth .book-card .toc-author {
  color: inherit;
}

.nv-book-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: rgba(20, 16, 13, 0.78);
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 8px;
}

.nv-book-card h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
}

.nv-book-card h2 a {
  color: var(--gold-bright);
  text-decoration: none;
}

.nv-book-card .by a,
.nv-meta a {
  color: var(--gold);
  text-decoration: none;
}

.nv-book-card .by,
.nv-meta {
  color: var(--gold-dim);
  font-size: 0.98rem;
}

.nv-excerpt {
  margin: 0.2rem 0 0.35rem;
  color: #efe6d4;
  line-height: 1.55;
}

.nv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.nv-stars {
  letter-spacing: 0.12em;
  color: rgba(196, 165, 116, 0.35);
}

.nv-stars .is-on {
  color: var(--gold-bright);
}

.nv-stars-meta {
  margin-left: 0.45rem;
  color: var(--gold-dim);
  font-size: 0.9rem;
}

.home-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.7rem;
  margin: 0 0 1.8rem;
  color: var(--gold-dim);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.home-stats strong {
  color: var(--gold-bright);
  font-weight: 500;
  font-style: italic;
}

.home-stats a {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand-motto {
  margin: 0.55rem 0 0;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.04em;
}

.nv-rate {
  display: flex;
  gap: 0.25rem;
  margin: 0.4rem 0 0.7rem;
}

.nv-rate input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nv-rate label {
  color: rgba(196, 165, 116, 0.38);
  font-size: 1.45rem;
  cursor: pointer;
}

.nv-rate input:checked ~ label,
.nv-rate label:hover,
.nv-rate label:hover ~ label {
  color: var(--gold-bright);
}

.nv-rate {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.nv-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.nv-person {
  padding: 1.1rem 1rem 1.15rem;
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 8px;
  background: rgba(20, 16, 13, 0.78);
}

.nv-person h2 {
  margin: 0;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.nv-person h2 a {
  color: var(--gold-bright);
  text-decoration: none;
}

.nv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 0 0 1.4rem;
}

.nv-filters a {
  color: var(--gold-dim);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.2rem 0.15rem;
}

.nv-filters a.is-on,
.nv-filters a:hover {
  color: var(--gold-bright);
}

.nv-review {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(196, 165, 116, 0.14);
  scroll-margin-top: 5.5rem;
}

.nv-review:target {
  background: rgba(13, 111, 118, 0.1);
  border-radius: 10px;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.nv-review strong {
  color: var(--gold-bright);
}

.nv-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.nv-site,
body.nv-auth {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.nv-site .nv-end,
body.nv-auth .nv-end {
  margin-top: auto;
}

body.is-reading .nv-chrome {
  display: none;
}

body.is-catalog {
  font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.is-catalog .nv-chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 73px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  padding: 0.65rem 1.5rem;
  gap: 0.85rem 1.1rem;
  justify-content: space-between;
  flex-wrap: nowrap;
}

body.is-catalog .nv-chrome-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #121212;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.is-catalog .nv-chrome-brand svg {
  width: 1.7rem;
  height: 1.7rem;
  color: #ff500a;
}

body.is-catalog .nv-chrome-brand span {
  font-style: normal;
  font-size: 0.78em;
  font-weight: 700;
  color: #ff500a;
}

body.is-catalog .nv-nav {
  justify-content: flex-start;
  gap: 0.15rem;
  flex: 0 0 auto;
}

body.is-catalog .nv-nav > a,
body.is-catalog .nv-door a,
body.is-catalog .nv-social a,
body.is-catalog .nv-nav-burger,
body.is-catalog .nv-search button {
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4rem 0.55rem;
  color: #222222;
  background: transparent;
}

body.is-catalog .nv-search {
  flex: 1 1 12rem;
  max-width: 22rem;
  position: relative;
}

body.is-catalog .nv-search input {
  width: 100%;
  height: 42px;
  background: #fff;
  color: #121212;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 6px;
  font-size: 1rem;
  padding: 0 0.9rem 0 2.4rem;
}

body.is-catalog .nv-search button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.4rem;
  padding: 0;
  font-size: 0;
  color: transparent;
}

body.is-catalog .nv-search button::before {
  content: "";
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0 auto;
  border: 2px solid #121212;
  border-radius: 50%;
  box-shadow: 0.35rem 0.35rem 0 -0.28rem #121212;
}

body.is-catalog .nv-write {
  border: 0;
  color: #222;
  font-weight: 600;
}

body.is-catalog .nv-cabinet {
  border-radius: 24px !important;
  background: #0d6f76 !important;
  color: #fff !important;
  padding: 0.45rem 1rem !important;
  font-weight: 700;
}

body.is-catalog .nv-cabinet:hover {
  background: #0a5c62 !important;
  color: #fff !important;
}

body.is-catalog .nv-nav > a.is-on,
body.is-catalog .nv-nav > a:hover,
body.is-catalog .nv-door a:hover,
body.is-catalog .nv-social a:hover {
  color: #121212;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
}

body.is-catalog .nv-door a.nv-cabinet:hover {
  text-decoration: none;
}

body.is-catalog .nv-door a.is-fill {
  color: #222;
  background: transparent;
}

body.is-catalog .nv-dropnav-box {
  background: #fff;
  border-color: #eee;
}

body.is-catalog .nv-dropnav-box a {
  color: #121212;
}

body.is-catalog .nv-dropnav-box a:hover {
  background: #f6f6f6;
}

body.nv-site.is-catalog {
  background: #fff;
  color: #121212;
}

body.nv-site.is-catalog .nv-site-main {
  width: min(1140px, calc(100% - 2rem));
}

body.nv-site.is-catalog .nv-page-head h1,
body.nv-site.is-catalog .nv-dash h1,
body.nv-site.is-catalog .nv-book-card h2,
body.nv-site.is-catalog .nv-book-card h2 a,
body.nv-site.is-catalog .nv-person h2 a {
  color: #121212;
}

body.nv-site.is-catalog .nv-page-head p,
body.nv-site.is-catalog .nv-dash p,
body.nv-site.is-catalog .nv-end,
body.nv-site.is-catalog .nv-book-card .by,
body.nv-site.is-catalog .nv-meta,
body.nv-site.is-catalog .nv-stars-meta {
  color: #555;
}

body.nv-site.is-catalog .nv-end a,
body.nv-site.is-catalog .nv-book-card .by a,
body.nv-site.is-catalog .nv-meta a,
body.nv-site.is-catalog .nv-filters a.is-on,
body.nv-site.is-catalog .nv-filters a:hover {
  color: #ff500a;
}

body.nv-site.is-catalog .nv-filters a {
  color: #222;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
}

body.nv-site.is-catalog .nv-book-card,
body.nv-site.is-catalog .nv-card {
  background: #fff;
  border: 1px solid #eee;
  color: #121212;
}

body.nv-site.is-catalog .nv-excerpt,
body.nv-site.is-catalog .nv-review {
  color: #333;
}

body.nv-contact-page {
  background: #f3ebe0 !important;
}

body.nv-contact-page .grain {
  display: none;
}

body.nv-contact-page .nv-site-main {
  width: min(640px, calc(100% - 1.6rem));
  padding: 1.6rem 0 3.2rem;
}

.nv-contact-head {
  text-align: left;
  margin: 0 0 1.35rem;
}

.nv-contact-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7352;
}

.nv-contact-head h1 {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #2b2218;
}

.nv-contact-lead,
.nv-contact-mail,
.nv-contact-intro {
  margin: 0.7rem 0 0;
  color: #5c5348;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
}

.nv-contact-mail {
  font-size: 0.98rem;
}

.nv-contact-mail a {
  color: #0d6f76;
  font-weight: 700;
  text-decoration: none;
}

.nv-contact-mail a:hover {
  color: #ff500a;
}

.nv-contact-card {
  background: #faf6ee;
  border: 0;
  border-radius: 28px;
  padding: 1.45rem 1.4rem 1.55rem;
  margin: 0 0 1.15rem;
  box-shadow: 0 16px 40px rgba(70, 48, 20, 0.08);
}

.nv-contact-card-soft {
  background: #f7f0e4;
  box-shadow: none;
}

.nv-contact-card h2 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  font-style: normal;
  color: #2b2218;
}

.nv-contact-form {
  margin-top: 1.15rem;
}

.nv-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

@media (min-width: 640px) {
  .nv-contact-row {
    grid-template-columns: 1fr 1fr;
  }
}

.nv-contact .nv-field {
  display: block;
  margin: 0 0 1.05rem;
}

.nv-contact .nv-field label {
  display: block;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2b2218;
}

.nv-contact .nv-req {
  color: #b45309;
  font-weight: 800;
}

.nv-contact .nv-opt {
  margin-left: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a7352;
}

.nv-contact .nv-hint {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6d6458;
}

.nv-contact .nv-field input,
.nv-contact .nv-field select,
.nv-contact .nv-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.82rem 1.05rem;
  border: 1.5px solid #e4d8c4;
  border-radius: 18px;
  background: #fffdf8;
  color: #2b2218;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nv-contact .nv-field textarea {
  resize: vertical;
  min-height: 9.5rem;
  border-radius: 22px;
}

.nv-contact .nv-field input::placeholder,
.nv-contact .nv-field textarea::placeholder {
  color: #a39482;
}

.nv-contact .nv-field input:hover,
.nv-contact .nv-field select:hover,
.nv-contact .nv-field textarea:hover {
  border-color: #d4c4aa;
}

.nv-contact .nv-field input:focus,
.nv-contact .nv-field select:focus,
.nv-contact .nv-field textarea:focus {
  outline: none;
  border-color: #0d6f76;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 111, 118, 0.14);
}

.nv-contact .nv-checkline {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.2rem 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #fff8ee;
  cursor: pointer;
}

.nv-contact .nv-checkline input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  accent-color: #0d6f76;
  flex: 0 0 auto;
}

.nv-contact .nv-checkline strong {
  display: block;
  font-size: 0.98rem;
  color: #2b2218;
}

.nv-contact .nv-checkline em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.88rem;
  color: #6d6458;
}

.nv-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #0d6f76;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.nv-contact-submit:hover,
.nv-contact-submit:focus-visible {
  background: #0a5c62;
  outline: none;
}

.nv-contact-submit-ghost {
  background: #2b2218;
}

.nv-contact-submit-ghost:hover,
.nv-contact-submit-ghost:focus-visible {
  background: #12100e;
}

.nv-contact-alert {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: #fde8e4;
  color: #9a3412;
  font-weight: 600;
}

.nv-contact-alert.is-ok {
  background: #e5f4f3;
  color: #0d6f76;
}

@media (max-width: 860px) {
  .nv-nav-burger {
    display: inline-flex;
  }

  body.is-catalog .nv-chrome {
    flex-wrap: wrap;
  }

  .nv-nav,
  .nv-search,
  .nv-door {
    display: none;
    width: 100%;
  }

  .nv-nav-toggle:checked ~ .nv-nav,
  .nv-nav-toggle:checked ~ .nv-search,
  .nv-nav-toggle:checked ~ .nv-door {
    display: flex;
  }

  .nv-dropnav-box {
    position: static;
    min-width: 0;
    border: 0;
    background: transparent;
  }
}

.nv-comment-label {
  display: block;
  margin: 0.85rem 0 0.45rem;
  color: #3f3a34;
  font-size: 0.95rem;
  font-weight: 700;
}

.nv-comment-box {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem;
  border: 2px solid #d4c4aa;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 22px rgba(80, 55, 20, 0.08);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nv-comment-box:focus-within {
  border-color: #0d6f76;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 4px rgba(13, 111, 118, 0.16),
    0 10px 26px rgba(13, 111, 118, 0.12);
}

.nv-comment-box textarea {
  display: block;
  width: 100%;
  min-height: 12rem;
  margin: 0;
  padding: 1.05rem 1.15rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2b2218;
  font-family: inherit, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.12rem;
  line-height: 1.55;
  resize: vertical;
}

.nv-comment-box textarea::placeholder {
  color: #a39482;
}

.nv-comment-box textarea:focus {
  outline: none;
}

.nv-emoji-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding: 0.45rem 0.7rem 0.7rem;
  border-top: 1px solid #eadcc6;
  background: linear-gradient(180deg, #f7f0e4 0%, #f3ead8 100%);
}

.nv-emoji {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.28rem;
  line-height: 1;
  cursor: pointer;
}

.nv-emoji:hover,
.nv-emoji:focus-visible {
  background: #fff;
  box-shadow: 0 2px 8px rgba(80, 55, 20, 0.12);
  outline: none;
}

body.nv-site.is-catalog .nv-review p {
  font-size: 1.05rem;
  line-height: 1.55;
}
