  /* ==================== RESET & BASE ==================== */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background-color: #2D1B3D;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #3A2540;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; height: auto; display: block; }
  ul { list-style: none; }

  /* ==================== HEADER ==================== */
  .header {
    background: rgba(45, 27, 61, 0.97);
    backdrop-filter: blur(8px);
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  }
  .header__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .header__logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 0.5px;
  }
  .header__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  /* ==================== NAVIGATION ==================== */
  .nav-menu {
    display: flex;
    gap: 2px;
  }
  .nav-menu__item { position: relative; }
  .nav-menu__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    color: #D5C5D5;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-menu__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
  }
  .nav-menu__arrow {
    font-size: 10px;
    opacity: 0.6;
  }
  .nav-submenu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: rgba(45, 27, 61, 0.98);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 210;
  }
  .nav-menu__item:hover .nav-submenu,
  .nav-menu__item--open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-submenu__link {
    display: block;
    padding: 8px 14px;
    color: #D5C5D5;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
  }
  .nav-submenu__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
  }

  /* ==================== SEARCH ==================== */
  .header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2px 4px 2px 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: border-color 0.2s;
  }
  .header-search:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
  }
  .header-search__input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    width: 140px;
  }
  .header-search__input::placeholder { color: rgba(213, 197, 213, 0.5); }
  .header-search__btn {
    background: rgba(212, 175, 55, 0.15);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #D4AF37;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .header-search__btn:hover { background: rgba(212, 175, 55, 0.3); }

  /* ==================== AUTH ==================== */
  .auth-btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    white-space: nowrap;
  }
  .auth-btn--gold {
    background: #C9A961;
    color: #fff;
    border-color: #C9A961;
  }
  .auth-btn--gold:hover {
    background: #D4AF37;
    border-color: #D4AF37;
  }
  .auth-btn--outline {
    background: transparent;
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.4);
  }
  .auth-btn--outline:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
  }

  /* ==================== BURGER ==================== */
  .nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-burger span {
    width: 24px;
    height: 2px;
    background: #D4AF37;
    border-radius: 2px;
    transition: 0.3s;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
  }
  body.nav-open .nav-overlay { display: block; }

  /* ==================== STATSBAR ==================== */
  .statsbar {
    background: rgba(45, 27, 61, 0.88);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 10px 24px;
  }
  .statsbar__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
  }
  .statsbar__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .statsbar__item:hover { opacity: 0.75; }
  .statsbar__num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
  }
  .statsbar__label {
    font-size: 13px;
    font-weight: 500;
    color: #D5C5D5;
    font-family: 'Segoe UI', sans-serif;
  }
  .statsbar__sep {
    width: 1px;
    height: 18px;
    background: rgba(212, 175, 55, 0.25);
  }

  /* ==================== NEWSBAR ==================== */
  .newsbar {
    background: #F8F2F8;
    border-bottom: 1px solid rgba(58, 37, 64, 0.08);
    padding: 12px 24px;
  }
  .newsbar__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .newsbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 16px;
    background: #C9A961;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
    white-space: nowrap;
  }
  .newsbar__date {
    font-size: 13px;
    color: #887788;
    font-family: 'Segoe UI', sans-serif;
    white-space: nowrap;
  }
  .newsbar__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    color: #3A2540;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    transition: color 0.2s;
  }
  .newsbar__title:hover { color: #6A4A8A; }

  /* ==================== CONTENT ==================== */
.site-main {
  max-width: 1160px;
  margin: 10px auto;
  padding: 24px 16px;
  min-height: 50vh;
  background: #F8F2F8;
  border-radius: 20px;
}

  /* Speedbar (хлебные крошки) */
  .speedbar {
    padding: 0 0 16px;
    font-size: 13px;
    color: #887788;
    font-family: 'Segoe UI', sans-serif;
  }
  .speedbar a {
    color: #8B6914;
    text-decoration: none;
    transition: color 0.2s;
  }
  .speedbar a:hover { color: #C9A961; }

  /* ==================== PROMO ==================== */
  .promo-block {
    max-width: 1160px;
    margin: 24px auto;
    background: rgba(45, 27, 61, 0.92);
    border-radius: 20px;
    padding: 32px 24px;
    color: #fff;
  }
  .promo-block__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    text-align: center;
    margin: 0 0 16px;
    color: #fff;
  }
  .promo-block__content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #D5C5D5;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
  }

  /* ==================== FOOTER ==================== */
  .footer {
    background: rgba(45, 27, 61, 0.97);
    padding: 36px 24px 20px;
    margin-top: 24px;
  }
  .footer__inner {
    max-width: 1160px;
    margin: 0 auto;
  }
  .footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }
  .footer__brand {
    flex-shrink: 0;
  }
  .footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .footer__logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    color: #D4AF37;
  }
  .footer__copy {
    font-size: 13px;
    color: #887788;
    line-height: 1.6;
  }
  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footer__nav a {
    font-size: 14px;
    color: #D5C5D5;
    font-family: 'Segoe UI', sans-serif;
    transition: color 0.2s;
  }
  .footer__nav a:hover { color: #D4AF37; }
  .footer__support {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer__support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    transition: all 0.2s;
    border: 1.5px solid transparent;
  }
  .footer__support-btn--gold {
    background: #C9A961;
    color: #fff;
    border-color: #C9A961;
  }
  .footer__support-btn--gold:hover { background: #D4AF37; }
  .footer__support-btn--outline {
    background: transparent;
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.4);
  }
  .footer__support-btn--outline:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.08);
  }
  .footer__bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer__counters {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .footer__counters img { max-height: 31px; }
  .footer__disclaimer {
    font-size: 12px;
    color: #6A5A6A;
    font-family: 'Segoe UI', sans-serif;
  }

  /* ==================== RESPONSIVE ==================== */
 @media (max-width: 960px) {
  .header__inner { 
    flex-wrap: wrap; 
  }
  .header__nav { 
    order: 3; 
    width: 100%; 
    justify-content: flex-start; 
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .header__nav::-webkit-scrollbar { height: 0; }
  .nav-menu { flex-wrap: nowrap; white-space: nowrap; }
}


  @media (max-width: 768px) {
    @media (max-width: 768px) {
  .nav-burger { display: flex; }
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(45, 27, 61, 0.98);
    flex-direction: column;
    padding: 70px 16px 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 200;
    order: 0;
    white-space: normal;
  }
  body.nav-open .header__nav { right: 0; }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 2px;
    flex-wrap: wrap;
  }
  .nav-menu__item { width: 100%; }
  .nav-menu__link {
    padding: 12px 14px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    display: none;
    padding: 4px 0 4px 16px;
    min-width: unset;
  }
  .nav-menu__item--open .nav-submenu { display: block; }
  .header-search { width: 100%; margin-top: 12px; }
  .header-search__input { width: 100%; flex: 1; }
  .header__actions { margin-left: auto; gap: 8px; }
  .footer__top { flex-direction: column; }
}

    

  @media (max-width: 420px) {
    .header { padding: 12px 14px; }
    .header__logo-text { display: none; }
    .statsbar__inner { gap: 16px; }
    .footer { padding: 24px 14px 16px; }
  }
  
  
  /* ==================== SHORTSTORY (карточка в списках) ==================== */
.story-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .story-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .story-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .story-list { grid-template-columns: 1fr; } }

.story-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(58, 37, 64, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(58, 37, 64, 0.18);
}
.story-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.story-card__cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f0e8f0;
}
.story-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.story-card:hover .story-card__cover img { transform: scale(1.05); }
.story-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-card__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  color: #3A2540;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #554355;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.story-card__date {
  font-size: 12px;
  color: #887788;
  font-family: 'Segoe UI', sans-serif;
}
.story-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  background: #e3f2fd;
  color: #1565c0;
}
.story-card__status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  background: #e8f5e9;
  color: #1b4332;
  border: 1px solid #40916c;
}

/* ==================== NAVIGATION ==================== */
.nav-pager {
  display: flex;
  justify-content: center;
  margin: 32px 0 8px;
}
.nav-pager__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-pager__arrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  background: rgba(45, 27, 61, 0.06);
  color: #3A2540;
  transition: all 0.2s;
}
.nav-pager__arrow:hover { background: rgba(45, 27, 61, 0.12); }
.nav-pager .navigation {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-pager .navigation a,
.nav-pager .navigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.2s;
}
.nav-pager .navigation a {
  background: rgba(45, 27, 61, 0.06);
  color: #3A2540;
}
.nav-pager .navigation a:hover {
  background: #C9A961;
  color: #fff;
}
.nav-pager .navigation .current {
  background: #C9A961;
  color: #fff;
}
.nav-pager .navigation .nav_ext {
  background: none;
  color: #887788;
}

/* ==================== STATIC ==================== */
.static-page {
  background: #F8F2F8;
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 1160px;
  margin: 0 auto;
}
.static-page__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #3A2540;
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.3;
}
.static-page__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: #554355;
  font-family: 'Segoe UI', sans-serif;
}
.static-page__content p { margin: 0 0 16px; }
.static-page__content h2,
.static-page__content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #3A2540;
  margin: 24px 0 12px;
  line-height: 1.3;
}
.static-page__content h2 { font-size: 22px; }
.static-page__content h3 { font-size: 19px; }
.static-page__content a {
  color: #8B6914;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.3);
  transition: text-decoration-color 0.2s;
}
.static-page__content a:hover { text-decoration-color: #D4AF37; }
.static-page__content img { border-radius: 12px; margin: 16px auto; }
.static-page__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(58, 37, 64, 0.08);
  font-size: 14px;
  color: #887788;
}

/* ==================== SPEEDBAR ==================== */
.speedbar {
  padding: 0 0 16px;
  font-size: 13px;
  color: #887788;
  font-family: 'Segoe UI', sans-serif;
  max-width: 1160px;
  margin: 0 auto;
}
.speedbar a {
  color: #8B6914;
  text-decoration: none;
  transition: color 0.2s;
}
.speedbar a:hover { color: #C9A961; }
.speedbar span { color: #887788; }

/* ==================== SEARCH ==================== */
.search-page { max-width: 760px; margin: 0 auto; }
.search-page__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  color: #3A2540;
  margin: 0 0 24px;
  text-align: center;
}
.search-page__form {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.search-page__input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid rgba(58, 37, 64, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  color: #3A2540;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.search-page__input:focus { border-color: #C9A961; }
.search-page__btn {
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  background: #C9A961;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-page__btn:hover { background: #D4AF37; }
.search-page__msg {
  padding: 16px 20px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 10px;
  font-size: 15px;
  color: #554355;
  margin-bottom: 20px;
}

/* ==================== SEARCH RESULT ==================== */
.search-result {
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(58, 37, 64, 0.08);
  transition: box-shadow 0.2s;
}
.search-result:hover { box-shadow: 0 6px 20px rgba(58, 37, 64, 0.12); }
.search-result__link { text-decoration: none; color: inherit; display: block; }
.search-result__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: #3A2540;
  margin: 0 0 8px;
}
.search-result__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #554355;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result__date {
  font-size: 12px;
  color: #887788;
  font-family: 'Segoe UI', sans-serif;
}

/* ==================== LOGIN ==================== */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.auth-page__inner {
  background: #F8F2F8;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
}
.auth-page__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #3A2540;
  margin: 0 0 24px;
  text-align: center;
}
.auth-form__field { margin-bottom: 16px; }
.auth-form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #3A2540;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 6px;
}
.auth-form__input {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid rgba(58, 37, 64, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  color: #3A2540;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-form__input:focus { border-color: #C9A961; }
.auth-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-form__remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #554355;
  font-family: 'Segoe UI', sans-serif;
  cursor: pointer;
}
.auth-form__remember input { accent-color: #C9A961; }
.auth-form__lost {
  font-size: 13px;
  color: #8B6914;
  text-decoration: none;
  font-family: 'Segoe UI', sans-serif;
  transition: color 0.2s;
}
.auth-form__lost:hover { color: #C9A961; }
.auth-form__submit {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #C9A961;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.auth-form__submit:hover { background: #D4AF37; }
.auth-page__reg {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #554355;
  font-family: 'Segoe UI', sans-serif;
}
.auth-page__reg a {
  color: #8B6914;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.auth-page__reg a:hover { color: #C9A961; }

/* ==================== CATEGORY HEADER ==================== */
.category-header {
  background: #F8F2F8;
  border-radius: 20px;
  padding: 32px 28px;
  margin-bottom: 24px;
  text-align: center;
}
.category-header__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #3A2540;
  margin: 0 0 10px;
}
.category-header__desc {
  font-size: 15px;
  color: #554355;
  font-family: 'Segoe UI', sans-serif;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 700px) {
  .static-page { padding: 28px 18px; }
  .static-page__title { font-size: 22px; }
  .search-page__form { flex-direction: column; }
  .auth-page__inner { padding: 28px 20px; }
}
@media (max-width: 420px) {
  .static-page { padding: 22px 14px; }
  .static-page__title { font-size: 20px; }
  .auth-page__inner { padding: 24px 16px; }
  .search-page__title { font-size: 22px; }
}

  /* ==================== 1. КАРТОЧКА КНИГИ ==================== */
.book-hero {
  background: rgba(45, 27, 61, 0.92);
  border-radius: 20px;
  padding: 36px 28px;
  margin: 0 0 24px;
}
.book-hero__inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}
.book-hero__cover {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.book-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-hero__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(213, 197, 213, 0.4);
  font-size: 13px;
  font-family: 'Segoe UI', sans-serif;
}
.book-hero__info {
  flex: 1;
  min-width: 0;
}
.book-hero__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.book-hero__author {
  font-size: 16px;
  color: #D4AF37;
  font-family: 'Segoe UI', sans-serif;
  margin: 0 0 16px;
  font-weight: 600;
}
.book-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.book-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  white-space: nowrap;
}
.book-badge--access { background: #fdf3e0; color: #8b6914; border: 1px solid #d4af37; }
.book-badge--status { background: #e8f5e9; color: #1b4332; border: 1px solid #40916c; }
.book-badge--genre { background: rgba(168, 134, 200, 0.2); color: #D5C5D5; border: 1px solid rgba(168, 134, 200, 0.35); }
.book-badge--cycle { background: rgba(212, 175, 55, 0.12); color: #D4AF37; border: 1px solid rgba(212, 175, 55, 0.3); }

.book-hero__annotation {
  font-size: 15px;
  line-height: 1.7;
  color: #D5C5D5;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 20px;
  max-width: 600px;
}
.book-hero__stats {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.book-stat { display: flex; flex-direction: column; gap: 4px; }
.book-stat__num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  color: #D4AF37;
}
.book-stat__label {
  font-size: 13px;
  color: #D5C5D5;
  font-family: 'Segoe UI', sans-serif;
}
.book-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Кнопки */
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.book-btn--gold { background: #C9A961; color: #fff; border-color: #C9A961; }
.book-btn--gold:hover { background: #D4AF37; border-color: #D4AF37; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4); }
.book-btn--outline-gold { background: transparent; color: #C9A961; border-color: rgba(212, 175, 55, 0.4); }
.book-btn--outline-gold:hover { border-color: #D4AF37; background: rgba(212, 175, 55, 0.08); transform: translateY(-2px); }
.book-btn--fav {
  background: rgba(255, 255, 255, 0.06);
  color: #D5C5D5;
  border-color: rgba(255, 255, 255, 0.15);
}
.book-btn--fav:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(212, 175, 55, 0.4); }
.book-btn--fav a { color: inherit; text-decoration: none; }
.book-btn--fav img { vertical-align: middle; margin-right: 4px; }


/* ==================== 2. ЧИТАЛКА ==================== */
.book-reader {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  margin: 0 0 24px;
  overflow: hidden;
}
.book-reader__bar {
  background: #F8F2F8;
  border-bottom: 1px solid rgba(58, 37, 64, 0.08);
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 60px;
  z-index: 50;
}
.book-reader__controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.reader-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(58, 37, 64, 0.1);
  background: #fff;
  color: #3A2540;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.reader-ctrl:hover { border-color: #C9A961; color: #C9A961; }
.reader-ctrl--active { background: #C9A961; color: #fff; border-color: #C9A961; }
.reader-ctrl__sep { width: 1px; height: 20px; background: rgba(58, 37, 64, 0.1); margin: 0 4px; }

.book-reader__content {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 28px 32px;
  font-size: 18px;
  line-height: 1.85;
  color: #3A2540;
  font-family: Georgia, 'Times New Roman', serif;
}
.book-reader__content p { margin: 0 0 18px; }
.book-reader__content h2,
.book-reader__content h3,
.book-reader__content h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #2D1B3D;
  margin: 28px 0 14px;
  line-height: 1.3;
}
.book-reader__content h2 { font-size: 24px; }
.book-reader__content h3 { font-size: 20px; }
.book-reader__content h4 { font-size: 18px; }
.book-reader__content a { color: #8B6914; text-decoration: underline; text-decoration-color: rgba(212, 175, 55, 0.3); }
.book-reader__content a:hover { text-decoration-color: #D4AF37; }
.book-reader__content img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.book-reader__content blockquote {
  border-left: 3px solid #C9A961;
  padding: 8px 0 8px 20px;
  margin: 18px 0;
  font-style: italic;
  color: #554355;
  background: rgba(248, 242, 248, 0.5);
  border-radius: 0 8px 8px 0;
  padding-right: 16px;
}

/* Темы читалки */
.book-reader.reader-theme-light .book-reader__content { background: #fff; color: #3A2540; }
.book-reader.reader-theme-sepia .book-reader__content { background: #faf3e3; color: #5b4636; }
.book-reader.reader-theme-sepia .book-reader__content a { color: #8b6914; }
.book-reader.reader-theme-dark .book-reader__content { background: #2D1B3D; color: #e0d0e0; }
.book-reader.reader-theme-dark .book-reader__content h2,
.book-reader.reader-theme-dark .book-reader__content h3,
.book-reader.reader-theme-dark .book-reader__content h4 { color: #D4AF37; }
.book-reader.reader-theme-dark .book-reader__content a { color: #D4AF37; }
.book-reader.reader-theme-dark .book-reader__content blockquote { border-color: #D4AF37; background: rgba(255, 255, 255, 0.03); color: #c5b5c5; }
.book-reader.reader-theme-dark .book-reader__bar { background: #2D1B3D; border-bottom-color: rgba(212, 175, 55, 0.15); }
.book-reader.reader-theme-dark .book-reader__bar .reader-ctrl { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: #D5C5D5; }

/* Пагинация глав */
.book-reader__pages {
  display: flex;
  justify-content: center;
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(58, 37, 64, 0.08);
}
.book-reader__pages .navigation { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.book-reader__pages .navigation a,
.book-reader__pages .navigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
}
.book-reader__pages .navigation a { background: rgba(45, 27, 61, 0.06); color: #3A2540; }
.book-reader__pages .navigation a:hover { background: #C9A961; color: #fff; }
.book-reader__pages .navigation .current { background: #C9A961; color: #fff; }
.book-reader__pages .navigation .nav_ext { background: none; color: #887788; }

/* Кнопка «Наверх» */
.book-reader__top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C9A961;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.book-reader__top:hover { background: #D4AF37; transform: translateY(-2px); }


/* ==================== 3. ПАНЕЛЬ ДЕЙСТВИЙ ==================== */
.book-actions-bar {
  background: rgba(45, 27, 61, 0.92);
  border-radius: 16px;
  padding: 18px 24px;
  margin: 0 0 24px;
}
.book-actions-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.book-actions-bar__fav,
.book-actions-bar__like,
.book-actions-bar__thanks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.book-actions-bar__fav { background: rgba(255, 255, 255, 0.06); color: #D5C5D5; border-color: rgba(255, 255, 255, 0.15); }
.book-actions-bar__fav:hover { background: rgba(255, 255, 255, 0.1); }
.book-actions-bar__fav a { color: inherit; text-decoration: none; }
.book-actions-bar__like { background: rgba(212, 175, 55, 0.12); color: #D4AF37; border-color: rgba(212, 175, 55, 0.3); }
.book-actions-bar__thanks { background: #C9A961; color: #fff; border-color: #C9A961; }
.book-actions-bar__thanks:hover { background: #D4AF37; border-color: #D4AF37; }

/* Стилизация DLE rating под кнопку */
.book-actions-bar__like .ratebox { display: inline-flex; align-items: center; gap: 8px; }
.book-actions-bar__like .ratebox a { color: inherit; text-decoration: none; }
.book-actions-bar__like .ratebox .fa, .book-actions-bar__like .ratebox svg { font-size: 16px; }
.book-actions-bar__like #ratig-layer-{news-id} { color: #D4AF37; font-weight: 700; }


/* ==================== 4–5. КАТЕГОРИИ + НАВИГАТОР ==================== */
.book-meta-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(45, 27, 61, 0.04);
  border-radius: 12px;
  margin: 0 0 24px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
}
.book-meta-nav__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #887788;
}
.book-meta-nav__cats a {
  color: #8B6914;
  text-decoration: none;
  transition: color 0.2s;
}
.book-meta-nav__cats a:hover { color: #C9A961; }
.book-meta-nav__books {
  display: flex;
  gap: 16px;
}
.book-nav-arrow {
  color: #8B6914;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.book-nav-arrow:hover { color: #C9A961; }


/* ==================== 6. ОТЗЫВЫ ==================== */
.book-reviews {
  background: #F8F2F8;
  border-radius: 20px;
  padding: 32px 28px;
  margin: 0 0 24px;
}
.book-reviews__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #3A2540;
  margin: 0 0 24px;
  text-align: center;
}
.book-reviews__count {
  font-size: 16px;
  color: #887788;
  font-weight: 400;
}
.book-reviews__list { margin-top: 28px; }
.book-reviews__nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.book-reviews__nav .navigation { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.book-reviews__nav .navigation a,
.book-reviews__nav .navigation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.book-reviews__nav .navigation a { background: #fff; color: #3A2540; border: 1px solid rgba(58, 37, 64, 0.1); }
.book-reviews__nav .navigation a:hover { background: #C9A961; color: #fff; border-color: #C9A961; }
.book-reviews__nav .navigation .current { background: #C9A961; color: #fff; }

/* Форма комментариев */
.book-reviews .addcomment,
.book-reviews #addcomments form {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.book-reviews .addcomment input[type="text"],
.book-reviews .addcomment textarea,
.book-reviews #addcomments form input[type="text"],
.book-reviews #addcomments form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(58, 37, 64, 0.1);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  color: #3A2540;
  background: #F8F2F8;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.book-reviews .addcomment input:focus,
.book-reviews .addcomment textarea:focus,
.book-reviews #addcomments form input:focus,
.book-reviews #addcomments form textarea:focus { border-color: #C9A961; }
.book-reviews .addcomment button,
.book-reviews .addcomment input[type="submit"],
.book-reviews #addcomments form button,
.book-reviews #addcomments form input[type="submit"] {
  padding: 11px 28px;
  border-radius: 10px;
  border: none;
  background: #C9A961;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.book-reviews .addcomment button:hover,
.book-reviews #addcomments form button:hover { background: #D4AF37; }

/* Карточка комментария */
.book-reviews .comments-item,
.book-reviews #comments .comment {
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(58, 37, 64, 0.06);
}


/* ==================== 7. РЕКЛАМНЫЙ БЛОК ==================== */
.book-ad {
  margin: 0 0 24px;
}
.book-ad__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  overflow: hidden;
  border-radius: 12px;
  padding: 16px;
  background: rgba(45, 27, 61, 0.03);
}
.book-ad__inner > * { max-width: 100%; }
.book-ad__inner ins.adsbygoogle { max-width: 100%; overflow: hidden; }
.book-ad__inner iframe { max-width: 100%; }


/* ==================== 8. ПОХОЖИЕ КНИГИ ==================== */
.book-related {
  background: rgba(45, 27, 61, 0.92);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 0 0 24px;
}
.book-related__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #fff;
  margin: 0 0 24px;
  text-align: center;
}
.book-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.book-related .shelf-card { background: rgba(255, 255, 255, 0.05); }
.book-related .shelf-card__title { color: #fff; }
.book-related .shelf-card__tag--genre { background: rgba(168, 134, 200, 0.2); color: #D5C5D5; border: 1px solid rgba(168, 134, 200, 0.3); }
.book-related .shelf-card__tag--access { background: rgba(212, 175, 55, 0.12); color: #D4AF37; border: 1px solid rgba(212, 175, 55, 0.25); }
.book-related .shelf-card__cover { background: rgba(255, 255, 255, 0.05); }


/* ==================== 9. ПОДДЕРЖКА ==================== */
.book-support {
  background: rgba(45, 27, 61, 0.92);
  border-radius: 20px;
  padding: 36px 28px;
  margin: 0 0 24px;
}
.book-support__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.book-support__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #fff;
  margin: 0 0 16px;
}
.book-support__text {
  font-size: 15px;
  line-height: 1.7;
  color: #D5C5D5;
  font-family: 'Segoe UI', sans-serif;
  margin: 0 0 28px;
}
.book-support__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==================== 10. ПОСЛЕДНЕЕ ИЗ БЛОГА ==================== */
.book-latest {
  margin: 0 0 24px;
}
.book-latest__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  color: #3A2540;
  margin: 0 0 24px;
  text-align: center;
}
.book-latest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}


/* ==================== АДАПТИВ ==================== */
@media (max-width: 960px) {
  .book-hero__inner { flex-direction: column; align-items: center; text-align: center; }
  .book-hero__cover { width: 180px; }
  .book-hero__badges { justify-content: center; }
  .book-hero__annotation { margin-left: auto; margin-right: auto; }
  .book-hero__stats { justify-content: center; }
  .book-hero__buttons { justify-content: center; }
  .book-related__grid { grid-template-columns: repeat(3, 1fr); }
  .book-latest__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .book-hero { padding: 28px 18px; }
  .book-hero__title { font-size: 22px; }
  .book-reader__content { padding: 24px 18px; font-size: 17px; }
  .book-reader__bar { padding: 8px 14px; }
  .book-related__grid { grid-template-columns: repeat(2, 1fr); }
  .book-latest__grid { grid-template-columns: repeat(2, 1fr); }
  .book-reviews { padding: 24px 18px; }
  .book-reviews__title { font-size: 20px; }
  .book-meta-nav { flex-direction: column; align-items: center; text-align: center; }
  .book-actions-bar__inner { gap: 10px; }
  .book-actions-bar__fav,
  .book-actions-bar__like,
  .book-actions-bar__thanks { padding: 9px 18px; font-size: 14px; }
}

@media (max-width: 420px) {
  .book-hero { padding: 22px 14px; }
  .book-hero__title { font-size: 20px; }
  .book-hero__cover { width: 150px; }
  .book-hero__stats { gap: 18px; }
  .book-stat__num { font-size: 18px; }
  .book-reader__content { padding: 20px 14px; font-size: 16px; line-height: 1.75; }
  .book-related__grid { grid-template-columns: 1fr; }
  .book-latest__grid { grid-template-columns: 1fr; }
  .book-related { padding: 24px 14px; }
  .book-support { padding: 28px 16px; }
  .book-reader__top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}


  
  
  
