
/*
Theme Name: CKK Library v0.19 Commerce
Theme URI: https://example.com/
Author: OpenAI
Description: Электронная библиотека ЦКК — редакционный интерфейс с парящими книгами.
Version: 0.19.7.6.42
Text Domain: ckk-library
*/

:root{
  --bg:#071f17;
  --bg2:#0b2b20;
  --panel:#0b281f;
  --panel2:#0d3327;
  --text:#f1eee4;
  --muted:#b6c1b8;
  --line:rgba(255,255,255,.12);
  --green:#9fbd71;
  --green2:#6f9458;
  --red:#a83a32;
  --cream:#efe8d8;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
a{color:inherit;text-decoration:none}
button{font:inherit}
.ckk-shell{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.ckk-header{position:sticky;top:0;z-index:40;background:rgba(7,31,23,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.ckk-header__inner{height:62px;display:flex;align-items:center;gap:28px}
.ckk-brand{display:flex;flex-direction:column;min-width:260px}
.ckk-brand strong{font-size:18px;letter-spacing:.06em}
.ckk-brand span{font-size:11px;color:var(--muted);margin-top:4px}
.ckk-nav{display:flex;gap:28px;margin-left:auto}
.ckk-nav a{font-size:13px;color:#e9eee9}
.ckk-nav a:hover{color:var(--green)}
.ckk-actions{display:flex;gap:10px;margin-left:24px}
.ckk-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:10px 16px;background:transparent;color:var(--text);font-size:13px;cursor:pointer;transition:.25s}
.ckk-btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.34)}
.ckk-btn--light{background:var(--cream);color:#17231d;border-color:transparent}
.ckk-btn--green{background:var(--green);color:#142017;border-color:transparent}
.ckk-section{border-bottom:1px solid var(--line)}
.ckk-articles-wrap{padding:46px 0 34px}
.ckk-section-grid{display:grid;grid-template-columns:200px 1fr;gap:40px}
.ckk-side-title h2{font-family:Georgia,serif;font-size:54px;line-height:1;margin:0 0 14px;font-weight:500}
.ckk-side-title p{font-size:13px;color:var(--muted);max-width:150px}
.ckk-side-link{display:inline-flex;gap:10px;color:var(--green);font-size:12px;margin-top:12px}
.ckk-articles{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid var(--line)}
.ckk-article{min-height:220px;padding:8px 24px 16px;border-right:1px solid var(--line)}
.ckk-article__cat{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--green)}
.ckk-article h3{font-family:Georgia,serif;font-size:21px;line-height:1.2;margin:15px 0 10px;font-weight:500}
.ckk-article p{font-size:12px;color:var(--muted);line-height:1.55}
.ckk-article__meta{font-size:10px;color:#7e9388;margin-top:18px}
.ckk-article__arrow{font-size:20px;margin-top:16px}
.ckk-books-wrap{padding:34px 0 54px}
.ckk-books-layout{display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:start}
.ckk-book-rail{padding-top:12px}
.ckk-book-rail h2{font-family:Georgia,serif;font-size:54px;line-height:1;margin:0 0 16px;font-weight:500}
.ckk-book-rail p{font-size:13px;color:var(--muted);max-width:150px}
.ckk-meter{margin-top:42px;width:42px;display:grid;gap:7px}
.ckk-meter span{display:block;height:2px;background:rgba(255,255,255,.12)}
.ckk-meter span:nth-child(2),.ckk-meter span:nth-child(3){background:var(--green)}
.ckk-mouse-note{display:flex;gap:10px;align-items:flex-start;margin-top:28px;color:var(--muted);font-size:11px}
.ckk-mouse-note > span:first-child{display:inline-block;min-width:14px;color:var(--green);font-size:14px;line-height:1.1}
.ckk-books-stage{position:relative;perspective:1500px;padding:14px 0 18px;display:flex;flex-direction:column;gap:58px}
.ckk-book-row{display:grid;grid-template-columns:1fr 58px;gap:24px;align-items:center}
.ckk-book-object{position:relative;width:min(720px,100%);height:104px;margin:0 auto;transform-style:preserve-3d;cursor:pointer;transition:transform .38s ease,filter .38s ease}
.ckk-book-object:hover{transform:translateY(-8px) rotateX(5deg) rotateY(-1.2deg);filter:brightness(1.05)}
.ckk-book-object::before{content:"";position:absolute;inset:8px -10px -13px 14px;background:#f0eee6;transform:translateZ(-16px) skewX(-5deg);border-radius:3px;box-shadow:0 22px 28px rgba(0,0,0,.32)}
.ckk-book-object::after{content:"";position:absolute;left:7%;right:6%;bottom:-35px;height:30px;background:radial-gradient(ellipse at center,rgba(0,0,0,.50),transparent 67%);filter:blur(10px)}
.ckk-spine{position:absolute;inset:0;z-index:2;border-radius:4px;overflow:hidden;display:grid;grid-template-columns:145px 1fr 42px;align-items:center;padding:0 26px;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 0 22px rgba(255,255,255,.06),0 16px 32px rgba(0,0,0,.28)}
.ckk-spine::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 4px),linear-gradient(180deg,rgba(255,255,255,.10),transparent 28%,rgba(0,0,0,.10));pointer-events:none}
.book1 .ckk-spine{background:linear-gradient(110deg,#1b9fc2 0 64%,#a53731 64% 100%)}
.book2 .ckk-spine{background:linear-gradient(100deg,#102844,#142f4e 72%,#0d233c)}
.ckk-spine__authors{font-size:11px;color:rgba(255,255,255,.86)}
.ckk-spine__title{font-size:17px;line-height:1.25;font-weight:600;color:white}
.ckk-spine__year{font-size:10px;writing-mode:vertical-rl;color:rgba(255,255,255,.8);justify-self:end}
.ckk-book-index{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}
.ckk-book-index::before{content:"";width:36px;height:1px;background:rgba(255,255,255,.36)}
.ckk-details{display:none;margin-top:34px;border:1px solid rgba(255,255,255,.17);border-radius:8px;background:linear-gradient(180deg,rgba(9,42,31,.98),rgba(7,31,23,.98));padding:24px 26px 26px;box-shadow:0 28px 70px rgba(0,0,0,.26)}
.ckk-details.is-open{display:block;animation:reveal .35s ease both}
@keyframes reveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.ckk-details-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:18px}
.ckk-close{border:0;background:none;color:var(--muted);cursor:pointer}
.ckk-detail-grid{display:grid;grid-template-columns:300px 1fr;gap:40px}
.ckk-preview-grid{display:grid;grid-template-columns:54px 1fr;gap:14px}
.ckk-thumbs{display:flex;flex-direction:column;gap:9px}
.ckk-thumb{height:62px;border:1px solid rgba(255,255,255,.12);border-radius:5px;background:linear-gradient(180deg,#f2efe6,#cfcac0);position:relative;overflow:hidden}
.ckk-thumb:first-child{background:linear-gradient(135deg,#149bc0 0 58%,#a53731 58%)}
.ckk-thumb::after{content:"";position:absolute;inset:9px;background:repeating-linear-gradient(#b4b1aa 0 1px,transparent 1px 7px);opacity:.65}
.ckk-book-cover{min-height:410px;border-radius:5px;position:relative;box-shadow:18px 22px 38px rgba(0,0,0,.34),inset -12px 0 20px rgba(0,0,0,.11),inset 0 0 0 1px rgba(255,255,255,.08);padding:28px;display:flex;align-items:center;justify-content:center;text-align:center;font-family:Georgia,serif;font-size:23px;line-height:1.15}
.cover1{background:linear-gradient(135deg,#149bc0 0 58%,#a53731 58%);color:#fff}
.cover2{background:linear-gradient(135deg,#173755,#0f2946);color:#fff}
.ckk-book-cover::after{content:"";position:absolute;top:0;bottom:0;left:-13px;width:13px;background:linear-gradient(90deg,rgba(0,0,0,.32),rgba(255,255,255,.08));transform:skewY(-4deg);transform-origin:right}
.ckk-detail-copy h3{font-family:Georgia,serif;font-size:31px;line-height:1.08;font-weight:500;margin:2px 0 8px}
.ckk-detail-copy .authors{color:var(--muted);font-size:13px;margin-bottom:16px}
.ckk-detail-copy p{color:var(--muted);font-size:12px;line-height:1.55}
.ckk-actions-row{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.ckk-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0}
.ckk-meta span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#81958a;display:block;margin-bottom:5px}
.ckk-meta strong{font-size:12px}
 .ckk-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:16px 0 16px}
.ckk-tabs button{appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;padding:0 0 10px;cursor:pointer;border-bottom:1px solid transparent;margin-bottom:-1px}
.ckk-tabs button:hover{color:var(--text)}
.ckk-tabs button.is-active{color:var(--green);border-bottom-color:var(--green)}
.ckk-tab-panels{max-width:680px;min-height:64px}
.ckk-tab-panel[hidden]{display:none!important}
.ckk-tab-panel p{margin:0}
.ckk-tab-toc{border:1px solid var(--line);border-radius:7px;overflow:hidden}
.ckk-tab-toc__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:9px 11px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.ckk-tab-toc__row:last-child{border-bottom:0}
.ckk-tab-toc__row span{display:flex;gap:10px;min-width:0}
.ckk-tab-toc__row b{color:#81958a;font-size:9px;letter-spacing:.08em;font-weight:600;flex:0 0 auto}
.ckk-tab-toc__row em{font-style:normal;font-size:10px;color:#81958a;white-space:nowrap}
.ckk-tab-toc__row em.is-free{color:var(--green)}
.ckk-tab-authors{border:1px solid var(--line);border-radius:7px;padding:13px 14px;display:grid;gap:5px}
.ckk-tab-authors span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:#81958a}
.ckk-tab-authors strong{font-size:12px;font-weight:600;color:var(--text)}
.ckk-bottom-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:20px;margin-top:20px}
.ckk-toc{border:1px solid var(--line);border-radius:7px;overflow:hidden}
.ckk-toc-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.ckk-toc-row:last-child{border-bottom:0}
.ckk-free{color:var(--green)}
.ckk-buybox{border:1px solid var(--line);border-radius:7px;padding:15px}
.ckk-buybox h4{font-family:Georgia,serif;font-size:19px;font-weight:500;margin:0 0 10px}
.ckk-buybox ul{list-style:none;margin:0 0 14px;padding:0}
.ckk-buybox li{font-size:10.5px;color:var(--muted);margin:7px 0}
.ckk-buybox li::before{content:"✓";color:var(--green);margin-right:8px}
.ckk-footer{padding:34px 0 44px}
.ckk-footer__grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:42px}
.ckk-footer h4{font-size:13px;margin:0 0 12px}
.ckk-footer p,.ckk-footer a{font-size:11px;color:var(--muted);margin:7px 0}
.ckk-footer__bottom{border-top:1px solid var(--line);margin-top:28px;padding-top:18px;color:#66736c;font-size:10px}
@media(max-width:900px){
  .ckk-nav{display:none}
  .ckk-header__inner{height:64px}.ckk-brand{min-width:0}
  .ckk-section-grid,.ckk-books-layout{grid-template-columns:1fr}
  .ckk-articles{grid-template-columns:1fr;border-left:0}
  .ckk-article{border-right:0;border-top:1px solid var(--line);padding:14px 0}
  .ckk-side-title h2,.ckk-book-rail h2{font-size:46px}
  .ckk-detail-grid{grid-template-columns:1fr}
  .ckk-preview-grid{max-width:460px;margin:0 auto}
  .ckk-bottom-grid{grid-template-columns:1fr}
  .ckk-footer__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .ckk-shell{width:min(var(--max),calc(100% - 24px))}
  .ckk-actions .ckk-btn:first-child{display:none}
  .ckk-book-row{grid-template-columns:1fr}
  .ckk-book-index{display:none}
  .ckk-book-object{height:90px}
  .ckk-spine{grid-template-columns:105px 1fr 28px;padding:0 14px}
  .ckk-spine__title{font-size:13px}.ckk-spine__authors{font-size:9px}
  .ckk-details{padding:15px}
  .ckk-preview-grid{grid-template-columns:48px 1fr}
  .ckk-thumb{height:58px}
  .ckk-book-cover{min-height:430px;font-size:23px}
  .ckk-detail-copy h3{font-size:30px}
  .ckk-meta{grid-template-columns:1fr 1fr}
  .ckk-footer__grid{grid-template-columns:1fr}
}


/* v0.4 — compact book reveal, closer to approved reference */
.ckk-details{
  scroll-margin-top:92px;
}
.ckk-preview-grid{
  align-items:start;
}
.ckk-thumbs{
  padding-top:6px;
}
.ckk-thumb{
  box-shadow:0 5px 14px rgba(0,0,0,.18);
}
.ckk-thumb:first-child{
  border-color:rgba(255,255,255,.30);
}
.ckk-book-cover{
  transform:perspective(900px) rotateY(-4deg);
  transform-origin:left center;
}
.ckk-book-cover::before{
  content:"";
  position:absolute;
  inset:8px -8px -10px 7px;
  z-index:-1;
  border-radius:5px;
  background:#e8e2d5;
  transform:translateZ(-12px) skewY(-1deg);
  box-shadow:10px 18px 28px rgba(0,0,0,.22);
}
.ckk-detail-copy{
  padding-top:4px;
}
.ckk-detail-copy h3{
  max-width:660px;
  letter-spacing:-.01em;
}
.ckk-actions-row .ckk-btn{
  padding:9px 14px;
  font-size:12px;
}
.ckk-meta{
  max-width:680px;
}
.ckk-tabs{
  max-width:680px;
}
.ckk-detail-copy > p{
  max-width:680px;
}
.ckk-bottom-grid{
  align-items:start;
}
.ckk-buybox{
  position:sticky;
  top:92px;
}
.ckk-book-object{
  box-shadow:0 28px 60px rgba(0,0,0,.16);
}
.ckk-book-object::after{
  bottom:-40px;
  height:34px;
  opacity:.92;
}
@media(max-width:900px){
  .ckk-book-cover{transform:none}
  .ckk-buybox{position:static}
}


/* v0.5 — closer to the approved reference */
body.admin-bar .ckk-header{top:32px}

@media(min-width:901px){
  .ckk-details{
    width:calc(100% + 240px);
    margin-left:-240px;
  }
}

.ckk-detail-grid{
  grid-template-columns:320px 1fr;
  gap:44px;
}

.ckk-book-cover{
  min-height:390px;
  overflow:hidden;
  transform:perspective(900px) rotateY(-3deg);
  transform-origin:left center;
  box-shadow:
    10px 8px 0 #e7e0d3,
    17px 20px 36px rgba(0,0,0,.33),
    inset -12px 0 20px rgba(0,0,0,.12),
    inset 0 0 0 1px rgba(255,255,255,.08);
  isolation:isolate;
}

.ckk-book-cover::before{
  display:none !important;
}

.ckk-book-cover::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:12px;
  background:linear-gradient(90deg,rgba(0,0,0,.26),rgba(255,255,255,.06));
  transform:none;
}

.cover1{
  background:
    linear-gradient(135deg,#1da1c4 0 58%,#a93b34 58% 100%) !important;
  color:#fff;
}
.cover2{
  background:linear-gradient(135deg,#183a5a,#102a48) !important;
  color:#fff;
}

.ckk-book-cover{
  font-size:21px;
  line-height:1.14;
  padding:24px;
}

.ckk-detail-copy h3{
  font-size:30px;
  line-height:1.08;
  max-width:620px;
}

.ckk-detail-copy .authors{
  margin-bottom:14px;
}

.ckk-actions-row{
  margin:14px 0;
}

.ckk-meta{
  padding:12px 0;
  margin:14px 0;
}

.ckk-tabs{
  margin:14px 0 10px;
}

.ckk-bottom-grid{
  margin-top:18px;
}

.ckk-thumbs{
  gap:8px;
}
.ckk-thumb{
  height:58px;
}

@media(max-width:900px){
  body.admin-bar .ckk-header{top:46px}
  .ckk-details{
    width:100%;
    margin-left:0;
  }
  .ckk-detail-grid{
    grid-template-columns:1fr;
  }
  .ckk-book-cover{
    transform:none;
    min-height:420px;
    max-width:330px;
    margin:0 auto;
  }
}


/* v0.10 — ровные парящие корешки, видна только боковая часть книги */
.ckk-books-stage{
  gap:54px;
}

/* Корпус книги: строго горизонтально, без наклона и без верхней обложки */
.ckk-book-object{
  width:min(760px,100%) !important;
  height:108px !important;
  margin:0 auto;
  border:0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
  overflow:visible !important;
  animation:ckkFloatStraight 5.8s ease-in-out infinite;
}

.ckk-book-row:nth-child(2) .ckk-book-object{
  animation-delay:-2.9s;
}

@keyframes ckkFloatStraight{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

/* Убираем старую псевдо-геометрию, которая давала кривизну */
.ckk-book-object::before,
.ckk-book-object::after{
  display:none !important;
}

/* Сам корешок */
.ckk-spine{
  position:absolute !important;
  inset:5px 0 11px 0 !important;
  display:grid !important;
  grid-template-columns:180px minmax(0,1fr) 74px !important;
  align-items:center !important;
  gap:22px !important;
  padding:0 28px !important;
  border-radius:5px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -12px 18px rgba(0,0,0,.18),
    0 20px 27px rgba(0,0,0,.28) !important;
}

/* Белый блок страниц виден только тонкой полосой снизу */
.ckk-spine::before{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:-8px;
  height:10px;
  background:
    repeating-linear-gradient(
      0deg,
      #d8d4cb 0 1px,
      #f0ede6 1px 3px
    );
  border-radius:0 0 4px 4px;
  box-shadow:0 4px 7px rgba(0,0,0,.22);
  z-index:-1;
}

/* Фактура переплёта — очень деликатная */
.ckk-spine::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),transparent 24%,rgba(0,0,0,.08)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.025) 0 1px,
      transparent 1px 4px
    );
}

/* Первая книга — бирюзовый + красный, только боковая грань */
.book1 .ckk-spine{
  background:
    linear-gradient(108deg,#159fc2 0 64%,#ad3932 64% 100%) !important;
}

/* Вторая — тёмно-синий + тёмно-зелёный */
.book2 .ckk-spine{
  background:
    linear-gradient(108deg,#112c4b 0 67%,#123f31 67% 100%) !important;
}

/* Авторы: отдельная колонка, не заходят на название */
.ckk-spine__authors{
  position:relative;
  z-index:2;
  font-size:12px !important;
  line-height:1.42 !important;
  color:rgba(255,255,255,.82) !important;
  white-space:normal !important;
  text-align:left !important;
  overflow:visible !important;
}

/* Название: отдельная широкая колонка, максимум две строки */
.ckk-spine__title{
  position:relative;
  z-index:2;
  min-width:0;
  max-width:none !important;
  font-size:16px !important;
  line-height:1.23 !important;
  font-weight:600 !important;
  letter-spacing:-.01em;
  color:#fff !important;
  text-align:center !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

/* Год справа — отдельная зона */
.ckk-spine__year{
  position:relative;
  z-index:2;
  justify-self:end !important;
  align-self:center !important;
  writing-mode:horizontal-tb !important;
  transform:none !important;
  font-size:11px !important;
  color:rgba(255,255,255,.78) !important;
  white-space:nowrap !important;
}

/* При наведении книга остаётся РОВНОЙ — только чуть поднимается */
.ckk-book-object:hover{
  transform:none !important;
  filter:none !important;
  animation-play-state:paused;
}
.ckk-book-object:hover .ckk-spine{
  transform:translateY(-7px);
  transition:transform .28s ease, box-shadow .28s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.19),
    inset 0 -12px 18px rgba(0,0,0,.18),
    0 29px 34px rgba(0,0,0,.36) !important;
}

/* Номера справа не двигаем */
.ckk-book-index{
  align-self:center;
}

/* Планшет */
@media(max-width:900px){
  .ckk-book-object{
    height:104px !important;
  }
  .ckk-spine{
    grid-template-columns:150px minmax(0,1fr) 58px !important;
    gap:16px !important;
    padding:0 20px !important;
  }
  .ckk-spine__authors{font-size:11px !important}
  .ckk-spine__title{font-size:14px !important}
}

/* Телефон */
@media(max-width:640px){
  .ckk-book-object{
    height:112px !important;
  }
  .ckk-spine{
    grid-template-columns:92px minmax(0,1fr) 44px !important;
    gap:10px !important;
    padding:0 12px !important;
  }
  .ckk-spine__authors{
    font-size:8px !important;
    line-height:1.3 !important;
  }
  .ckk-spine__title{
    font-size:11px !important;
    line-height:1.2 !important;
  }
  .ckk-spine__year{
    font-size:9px !important;
  }
}


/* v0.10.3 — единые обложки, миниатюры и парящие книги */

/* Детальная карточка: показываем саму книгу без прямоугольного фона вокруг неё */
.ckk-book-cover--image{
  min-height:0 !important;
  padding:0 !important;
  display:block !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.ckk-book-cover--image::before,
.ckk-book-cover--image::after{
  display:none !important;
  content:none !important;
}
.ckk-book-cover--image img{
  display:block;
  width:100%;
  max-height:430px;
  height:auto;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(16px 20px 18px rgba(0,0,0,.30));
}

/* Миниатюры слева: первая миниатюра — реальная обложка соответствующей книги */
#detail-book1 .ckk-thumb:first-child,
#detail-book2 .ckk-thumb:first-child{
  background-color:transparent !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
  border-color:rgba(255,255,255,.16) !important;
}
#detail-book1 .ckk-thumb:first-child{
  background-image:url('assets/images/book-detail-cover-1.png') !important;
}
#detail-book2 .ckk-thumb:first-child{
  background-image:url('assets/images/book-detail-cover-2.png') !important;
}
#detail-book1 .ckk-thumb:first-child::after,
#detail-book2 .ckk-thumb:first-child::after{
  display:none !important;
}

/* Главная — сохраняем удачное расположение v0.10, но оформляем корешки в точной палитре обложек */
.book1 .ckk-spine{
  background:
    repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 1px,transparent 1px 38px),
    repeating-linear-gradient(-45deg,rgba(255,255,255,.022) 0 1px,transparent 1px 38px),
    linear-gradient(108deg,#55bdd0 0 64%,#e84229 64% 100%) !important;
}
.book1 .ckk-spine__authors,
.book1 .ckk-spine__title,
.book1 .ckk-spine__year{
  color:#fff !important;
}

.book2 .ckk-spine{
  background:
    linear-gradient(160deg,transparent 0 67%,rgba(25,72,57,.92) 67% 100%),
    repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0 1px,transparent 1px 7px),
    #102943 !important;
  border-color:rgba(205,166,82,.30) !important;
}
.book2 .ckk-spine__authors,
.book2 .ckk-spine__title,
.book2 .ckk-spine__year{
  color:#d8b86b !important;
  text-shadow:0 1px 1px rgba(0,0,0,.25);
}
.book2 .ckk-spine__title{
  font-family:Georgia,serif !important;
  font-weight:500 !important;
}
.book2 .ckk-spine::after{
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),transparent 25%,rgba(0,0,0,.08)),
    repeating-linear-gradient(90deg,rgba(216,184,107,.028) 0 1px,transparent 1px 5px) !important;
}

/* Чтобы на телефоне/планшете книга не получала лишний фон */
@media(max-width:900px){
  .ckk-book-cover--image img{max-height:460px}
}
@media(max-width:640px){
  .ckk-book-cover--image img{max-height:390px}
}


/* v0.10.4 — polished header + premium first screen */
.ckk-header{
  background:rgba(5,27,20,.90);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(16px) saturate(115%);
}
.ckk-header__inner{
  height:72px;
}
.ckk-brand strong{
  font-size:17px;
  letter-spacing:.08em;
  font-weight:750;
}
.ckk-brand span{
  margin-top:2px;
  font-size:10.5px;
  color:#90a49a;
}
.ckk-nav{
  gap:32px;
}
.ckk-nav a{
  position:relative;
  padding:26px 0 24px;
  font-size:12.5px;
  color:#dfe7e1;
}
.ckk-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:19px;
  height:1px;
  background:var(--green);
  transition:right .25s ease;
}
.ckk-nav a:hover::after{right:0}
.ckk-actions{gap:9px}
.ckk-header .ckk-btn{
  min-height:38px;
  padding:9px 17px;
}

.ckk-hero{
  position:relative;
  overflow:hidden;
  min-height:615px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 76% 42%,rgba(89,135,89,.10),transparent 27%),
    radial-gradient(circle at 84% 28%,rgba(159,189,113,.07),transparent 18%),
    linear-gradient(180deg,#071f17 0%,#061d16 100%);
}
.ckk-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.20;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,transparent 5%,black 45%,black 100%);
}
.ckk-hero__inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);
  gap:72px;
  align-items:center;
  min-height:535px;
  padding:70px 0 42px;
}
.ckk-hero__copy{max-width:760px}
.ckk-hero__eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:24px;
  color:var(--green);
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.18em;
}
.ckk-hero__eyebrow span{
  width:25px;
  height:1px;
  background:var(--green);
}
.ckk-hero h1{
  margin:0;
  max-width:780px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:78px;
  font-weight:400;
  line-height:.98;
  letter-spacing:-.042em;
  color:#f1eee4;
}
.ckk-hero__lead{
  max-width:630px;
  margin:27px 0 0;
  color:#b6c1b8;
  font-size:15px;
  line-height:1.65;
}
.ckk-hero__actions{
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:32px;
}
.ckk-btn--hero{
  min-height:48px;
  padding:12px 20px;
  border-color:rgba(239,232,216,.85);
  background:var(--cream);
  color:#142018;
}
.ckk-btn--hero span{margin-left:5px}
.ckk-hero__textlink{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#d8dfda;
  border-bottom:1px solid rgba(255,255,255,.18);
  padding-bottom:5px;
}
.ckk-hero__textlink:hover{color:var(--green);border-color:var(--green)}

.ckk-hero__aside{
  position:relative;
  width:100%;
  min-height:355px;
  align-self:center;
  padding:24px 24px 22px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(145deg,rgba(13,51,39,.70),rgba(8,34,26,.32));
  box-shadow:0 28px 70px rgba(0,0,0,.18);
  overflow:hidden;
}
.ckk-hero__aside::before{
  content:"";
  position:absolute;
  width:290px;
  height:290px;
  border:1px solid rgba(159,189,113,.20);
  border-radius:50%;
  right:-102px;
  top:-91px;
}
.ckk-hero__aside::after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:50%;
  right:-61px;
  top:-50px;
}
.ckk-hero__aside-top{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  color:#92a79b;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ckk-hero__monogram{
  position:absolute;
  left:22px;
  top:64px;
  font-family:Georgia,serif;
  font-size:126px;
  line-height:1;
  letter-spacing:-.09em;
  color:rgba(239,232,216,.055);
  user-select:none;
}
.ckk-hero__aside-bottom{
  position:absolute;
  left:24px;
  right:24px;
  bottom:23px;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,.11);
  padding-top:18px;
}
.ckk-hero__aside-bottom div{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:0 13px;
  border-left:1px solid rgba(255,255,255,.09);
}
.ckk-hero__aside-bottom div:first-child{padding-left:0;border-left:0}
.ckk-hero__aside-bottom strong{
  font-family:Georgia,serif;
  font-size:25px;
  font-weight:400;
  color:#eae8df;
}
.ckk-hero__aside-bottom span{
  color:#899d92;
  font-size:9px;
  line-height:1.3;
}
.ckk-hero__footerline{
  position:relative;
  z-index:2;
  height:80px;
  display:flex;
  align-items:center;
  gap:0;
  border-top:1px solid rgba(255,255,255,.08);
}
.ckk-hero__footerline span{
  flex:1;
  color:#778c80;
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.16em;
  text-align:center;
  border-left:1px solid rgba(255,255,255,.07);
}
.ckk-hero__footerline span:first-child{text-align:left;border-left:0}
.ckk-hero__footerline span:last-child{text-align:right}

.ckk-hero__orb{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(1px);
}
.ckk-hero__orb--one{
  width:440px;height:440px;
  right:7%;top:40px;
  border:1px solid rgba(159,189,113,.06);
  box-shadow:inset 0 0 100px rgba(159,189,113,.025);
}
.ckk-hero__orb--two{
  width:260px;height:260px;
  right:16%;top:128px;
  border:1px solid rgba(255,255,255,.035);
}

/* give the first content section breathing room after the new hero */
.ckk-articles-wrap{padding-top:58px}

@media(max-width:1000px){
  .ckk-hero__inner{
    grid-template-columns:1.3fr .7fr;
    gap:38px;
  }
  .ckk-hero h1{font-size:64px}
  .ckk-hero__aside{min-height:320px}
  .ckk-hero__aside-bottom{grid-template-columns:1fr;gap:10px}
  .ckk-hero__aside-bottom div{flex-direction:row;align-items:baseline;border-left:0;padding:0;gap:10px}
}
@media(max-width:760px){
  .ckk-hero{min-height:auto}
  .ckk-hero__inner{
    grid-template-columns:1fr;
    min-height:0;
    padding:58px 0 34px;
  }
  .ckk-hero h1{
    max-width:620px;
    font-size:55px;
    line-height:1.01;
  }
  .ckk-hero__lead{font-size:14px}
  .ckk-hero__aside{min-height:220px}
  .ckk-hero__monogram{font-size:96px;top:54px}
  .ckk-hero__aside-bottom{grid-template-columns:repeat(3,1fr);gap:0}
  .ckk-hero__aside-bottom div{flex-direction:column;border-left:1px solid rgba(255,255,255,.09);padding:0 10px}
  .ckk-hero__aside-bottom div:first-child{border-left:0;padding-left:0}
  .ckk-hero__footerline{height:64px}
}
@media(max-width:560px){
  .ckk-header__inner{height:66px}
  .ckk-brand strong{font-size:15px}
  .ckk-brand span{font-size:9.5px}
  .ckk-header .ckk-actions{margin-left:auto}
  .ckk-header .ckk-actions .ckk-btn{padding:8px 12px;font-size:11px}
  .ckk-hero__inner{padding-top:46px}
  .ckk-hero__eyebrow{font-size:8.5px;margin-bottom:18px}
  .ckk-hero h1{font-size:44px;letter-spacing:-.035em}
  .ckk-hero__lead{font-size:13px;line-height:1.55}
  .ckk-hero__actions{align-items:flex-start;flex-direction:column;gap:16px;margin-top:26px}
  .ckk-hero__aside{min-height:205px;padding:19px}
  .ckk-hero__aside-bottom{left:19px;right:19px;bottom:18px}
  .ckk-hero__aside-bottom strong{font-size:21px}
  .ckk-hero__footerline span{font-size:7.5px;letter-spacing:.10em}
}


/* v0.10.5 — clean editorial hero, no right-side card or illustrations */
.ckk-hero{
  min-height:585px;
  background:
    radial-gradient(ellipse at 82% 38%, rgba(91,135,91,.055), transparent 33%),
    linear-gradient(180deg,#071f17 0%,#061d16 100%);
}
.ckk-hero::before{
  opacity:.10;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:88px 88px;
  mask-image:linear-gradient(90deg,transparent 0%,black 35%,transparent 96%);
}
.ckk-hero__inner{
  display:block;
  min-height:505px;
  padding:68px 0 38px;
}
.ckk-hero__copy{
  max-width:900px;
}
.ckk-hero h1{
  max-width:860px;
  font-size:76px;
}
.ckk-hero__lead{
  max-width:700px;
}
.ckk-hero__aside,
.ckk-hero__orb{
  display:none !important;
}
.ckk-hero__footerline{
  height:78px;
}

@media(max-width:1000px){
  .ckk-hero__inner{
    display:block;
    min-height:470px;
    padding:62px 0 34px;
  }
  .ckk-hero h1{font-size:64px}
}
@media(max-width:760px){
  .ckk-hero{min-height:auto}
  .ckk-hero__inner{
    display:block;
    min-height:0;
    padding:56px 0 32px;
  }
  .ckk-hero h1{
    max-width:620px;
    font-size:55px;
    line-height:1.01;
  }
  .ckk-hero__footerline{height:62px}
}
@media(max-width:560px){
  .ckk-hero__inner{padding-top:44px}
  .ckk-hero h1{font-size:44px}
}


/* v0.10.6 — refined editorial footer */
.ckk-footer{
  position:relative;
  padding:0 0 34px !important;
  background:linear-gradient(180deg,rgba(4,24,17,.15),rgba(3,21,15,.55));
  border-top:1px solid var(--line);
}
.ckk-footer__eyebrow{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--line);
  color:var(--green);
  font-size:9px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.ckk-footer__toplink{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--muted) !important;
  font-size:10px !important;
  letter-spacing:.02em;
  text-transform:none;
  transition:color .2s ease;
}
.ckk-footer__toplink:hover{color:var(--text) !important}
.ckk-footer__main{
  display:grid;
  grid-template-columns:2fr .72fr 1.15fr 1fr;
  gap:58px;
  padding:44px 0 48px;
}
.ckk-footer__brandblock{max-width:390px}
.ckk-footer__brand{
  font-size:18px;
  font-weight:700;
  letter-spacing:.07em;
  margin-bottom:20px;
}
.ckk-footer__lead{
  margin:0 0 13px !important;
  max-width:340px;
  font-family:Georgia,serif;
  font-size:27px !important;
  line-height:1.18;
  color:var(--text) !important;
}
.ckk-footer__desc{
  max-width:345px;
  margin:0 !important;
  font-size:11px !important;
  line-height:1.65;
  color:#8fa097 !important;
}
.ckk-footer__navcol{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:11px;
  padding-top:3px;
}
.ckk-footer__navcol h4{
  margin:0 0 9px !important;
  color:var(--text);
  font-size:10px !important;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ckk-footer__navcol a,
.ckk-footer__navcol p{
  margin:0 !important;
  color:#76827b !important;
  font-size:11px !important;
  line-height:1.48;
}
.ckk-footer__navcol a{
  transition:color .2s ease,transform .2s ease;
}
.ckk-footer__navcol a:hover{
  color:var(--green) !important;
  transform:translateX(2px);
}
.ckk-footer__requisites p{max-width:175px}
.ckk-footer__bottom{
  margin:0 !important;
  padding:19px 0 0 !important;
  border-top:1px solid var(--line) !important;
  display:flex;
  justify-content:space-between;
  gap:24px;
  color:#66736c !important;
  font-size:9.5px !important;
  letter-spacing:.01em;
}

@media(max-width:900px){
  .ckk-footer__main{
    grid-template-columns:1.6fr 1fr 1fr;
    gap:36px;
  }
  .ckk-footer__requisites{
    grid-column:2 / -1;
    border-top:1px solid var(--line);
    padding-top:24px;
  }
}
@media(max-width:640px){
  .ckk-footer{padding-bottom:24px !important}
  .ckk-footer__eyebrow{
    min-height:58px;
    font-size:8px;
  }
  .ckk-footer__main{
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
    padding:34px 0 36px;
  }
  .ckk-footer__brandblock{
    grid-column:1 / -1;
    max-width:none;
    padding-bottom:6px;
  }
  .ckk-footer__lead{
    max-width:290px;
    font-size:24px !important;
  }
  .ckk-footer__desc{max-width:310px}
  .ckk-footer__requisites{
    grid-column:1 / -1;
    padding-top:20px;
  }
  .ckk-footer__bottom{
    flex-direction:column;
    gap:7px;
    font-size:9px !important;
  }
}


/* v0.13 — только книги: раздел статей удалён, четыре выбранных издания добавлены к двум основным */
.ckk-books-only{padding-top:58px}
.ckk-books-only .ckk-books-stage{gap:38px;padding-top:8px;padding-bottom:28px}
.ckk-books-only .ckk-book-row:nth-child(2) .ckk-book-object{animation-delay:-1.0s}
.ckk-books-only .ckk-book-row:nth-child(3) .ckk-book-object{animation-delay:-2.0s}
.ckk-books-only .ckk-book-row:nth-child(4) .ckk-book-object{animation-delay:-3.0s}
.ckk-books-only .ckk-book-row:nth-child(5) .ckk-book-object{animation-delay:-4.0s}
.ckk-books-only .ckk-book-row:nth-child(6) .ckk-book-object{animation-delay:-5.0s}

/* Толщина корешков отражает объём издания. */
.ckk-books-only .book1,.ckk-books-only .book2,.ckk-books-only .book3{height:108px !important}
.ckk-books-only .book4{height:78px !important}
.ckk-books-only .book5{height:76px !important}
.ckk-books-only .book6{height:84px !important}

/* Сборник конференции — глубокий синий с золотом. */
.book3 .ckk-spine{
  background:
    radial-gradient(circle at 75% 130%,rgba(24,82,64,.90),transparent 35%),
    repeating-linear-gradient(90deg,rgba(214,177,92,.025) 0 1px,transparent 1px 5px),
    #112b49 !important;
  border-color:rgba(214,177,92,.35) !important;
}
.book3 .ckk-spine__authors,.book3 .ckk-spine__title,.book3 .ckk-spine__year{color:#d9b66b !important}
.book3 .ckk-spine__title{font-family:Georgia,serif !important;font-weight:500 !important}

/* Международное регулирование — синий + фирменный зелёный. */
.book4 .ckk-spine{
  background:linear-gradient(90deg,#11314f 0 23%,#123c31 23% 100%) !important;
  border-color:rgba(210,175,92,.32) !important;
}
.book4 .ckk-spine__authors,.book4 .ckk-spine__title,.book4 .ckk-spine__year{color:#d8b86b !important}
.book4 .ckk-spine__title{font-family:Georgia,serif !important;font-size:14px !important;font-weight:500 !important}

/* Этимолого-правовой материал — светлый кремовый переплёт. */
.book5 .ckk-spine{
  background:
    repeating-linear-gradient(90deg,rgba(19,74,55,.025) 0 1px,transparent 1px 5px),
    linear-gradient(180deg,#f3efe4,#e9e3d5) !important;
  border-color:rgba(27,79,59,.22) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -12px 18px rgba(91,77,51,.08),0 20px 27px rgba(0,0,0,.23) !important;
}
.book5 .ckk-spine__authors,.book5 .ckk-spine__title,.book5 .ckk-spine__year{color:#174b38 !important;text-shadow:none !important}
.book5 .ckk-spine__title{font-family:Georgia,serif !important;font-size:13px !important;font-weight:500 !important}
.book5 .ckk-spine::before{background:repeating-linear-gradient(0deg,#d7d1c3 0 1px,#f3efe7 1px 3px)}

/* Региональная торговля — кремовый переплёт с тёмно-зелёным текстом. */
.book6 .ckk-spine{
  background:
    linear-gradient(90deg,#e8e0d0 0 15%,#f3eee3 15% 100%) !important;
  border-color:rgba(73,71,45,.20) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),inset 0 -12px 18px rgba(96,79,48,.08),0 20px 27px rgba(0,0,0,.23) !important;
}
.book6 .ckk-spine__authors,.book6 .ckk-spine__title,.book6 .ckk-spine__year{color:#173f31 !important;text-shadow:none !important}
.book6 .ckk-spine__title{font-family:Georgia,serif !important;font-size:13px !important;font-weight:600 !important}
.book6 .ckk-spine::before{background:repeating-linear-gradient(0deg,#d7d1c3 0 1px,#f4f0e7 1px 3px)}

/* Более тонкие издания: компактнее внутренние отступы, чтобы текст не наезжал. */
.book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine{
  grid-template-columns:145px minmax(0,1fr) 52px !important;
  gap:16px !important;
  padding:0 22px !important;
}
.book4 .ckk-spine__authors,.book5 .ckk-spine__authors,.book6 .ckk-spine__authors{font-size:10px !important;line-height:1.25 !important}
.book4 .ckk-spine__year,.book5 .ckk-spine__year,.book6 .ckk-spine__year{font-size:10px !important}

.ckk-preview-grid--single{grid-template-columns:1fr !important;align-items:start}
.ckk-book-cover--selected img{max-height:520px !important;max-width:430px !important;width:100% !important;object-fit:contain !important}
.ckk-detail-kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--green);margin-bottom:8px}

/* Ни в меню, ни на главной, ни в подвале нет раздела статей. */
@media(max-width:900px){
  .ckk-books-only .book4,.ckk-books-only .book5,.ckk-books-only .book6{height:88px !important}
  .book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine{grid-template-columns:120px minmax(0,1fr) 46px !important;padding:0 16px !important;gap:12px !important}
  .book4 .ckk-spine__title,.book5 .ckk-spine__title,.book6 .ckk-spine__title{font-size:12px !important}
}
@media(max-width:640px){
  .ckk-books-only{padding-top:38px}
  .ckk-books-only .ckk-books-stage{gap:28px}
  .ckk-books-only .book1,.ckk-books-only .book2,.ckk-books-only .book3,.ckk-books-only .book4,.ckk-books-only .book5,.ckk-books-only .book6{height:104px !important}
  .book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine{grid-template-columns:78px minmax(0,1fr) 38px !important;padding:0 10px !important;gap:8px !important}
  .book4 .ckk-spine__authors,.book5 .ckk-spine__authors,.book6 .ckk-spine__authors{font-size:7px !important}
  .book4 .ckk-spine__title,.book5 .ckk-spine__title,.book6 .ckk-spine__title{font-size:9px !important;line-height:1.15 !important}
  .book4 .ckk-spine__year,.book5 .ckk-spine__year,.book6 .ckk-spine__year{font-size:8px !important}
  .ckk-book-cover--selected img{max-height:420px !important}
}

/* v0.14 — добавлены новые научные издания в единую книжную библиотеку */
.ckk-books-only .ckk-books-stage{gap:34px}
.ckk-books-only .ckk-book-row:nth-child(7) .ckk-book-object{animation-delay:-6.0s}
.ckk-books-only .ckk-book-row:nth-child(8) .ckk-book-object{animation-delay:-7.0s}
.ckk-books-only .ckk-book-row:nth-child(9) .ckk-book-object{animation-delay:-8.0s}

/* Толщина: большие книги остаются массивными, научные издания заметно тоньше. */
.ckk-books-only .book4{height:72px !important}
.ckk-books-only .book5{height:70px !important}
.ckk-books-only .book6{height:84px !important}
.ckk-books-only .book7{height:86px !important}
.ckk-books-only .book8{height:86px !important}
.ckk-books-only .book9{height:76px !important}

/* 04 — международное регулирование: графит + медь, как утверждённая обложка-атлас. */
.book4 .ckk-spine{
  background:
    radial-gradient(circle at 76% 120%,rgba(116,62,38,.30),transparent 34%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 5px),
    linear-gradient(180deg,#232525,#171a19) !important;
  border-color:rgba(190,112,67,.36) !important;
}
.book4 .ckk-spine__authors,.book4 .ckk-spine__title,.book4 .ckk-spine__year{color:#c98255 !important;text-shadow:none !important}

/* 07 — экономический потенциал: винный переплёт с золотой типографикой. */
.book7 .ckk-spine{
  background:
    radial-gradient(circle at 72% 120%,rgba(155,91,102,.28),transparent 35%),
    repeating-linear-gradient(90deg,rgba(218,180,103,.024) 0 1px,transparent 1px 5px),
    linear-gradient(180deg,#5b3542,#3c2530) !important;
  border-color:rgba(215,177,97,.36) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 -12px 18px rgba(0,0,0,.16),0 20px 27px rgba(0,0,0,.24) !important;
}
.book7 .ckk-spine__authors,.book7 .ckk-spine__title,.book7 .ckk-spine__year{color:#e1bf78 !important;text-shadow:none !important}
.book7 .ckk-spine__title{font-family:Georgia,serif !important;font-weight:500 !important}

/* 08 — оценка эффективности: терракотовый переплёт. */
.book8 .ckk-spine{
  background:
    repeating-linear-gradient(90deg,rgba(255,245,225,.022) 0 1px,transparent 1px 5px),
    linear-gradient(180deg,#a64d2d,#81371f) !important;
  border-color:rgba(246,229,205,.24) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -12px 18px rgba(72,24,11,.18),0 20px 27px rgba(0,0,0,.24) !important;
}
.book8 .ckk-spine__authors,.book8 .ckk-spine__title,.book8 .ckk-spine__year{color:#f1e7d5 !important;text-shadow:none !important}
.book8 .ckk-spine__title{font-weight:600 !important}

/* 09 — правовая квалификация взносов: светлый минималистичный переплёт без иллюстраций. */
.book9 .ckk-spine{
  background:
    linear-gradient(90deg,#b9ac94 0 8%,#ddd2bd 8% 100%) !important;
  border-color:rgba(128,102,62,.28) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.70),inset 0 -12px 18px rgba(93,71,39,.08),0 20px 27px rgba(0,0,0,.22) !important;
}
.book9 .ckk-spine__authors,.book9 .ckk-spine__title,.book9 .ckk-spine__year{color:#3c3328 !important;text-shadow:none !important}
.book9 .ckk-spine__title{font-family:Georgia,serif !important;font-weight:500 !important}
.book9 .ckk-spine::before{background:repeating-linear-gradient(0deg,#d8d0c1 0 1px,#f1ecdf 1px 3px)}

/* Все научные издания: компактная сетка корешка без наезда текста. */
.book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine,.book7 .ckk-spine,.book8 .ckk-spine,.book9 .ckk-spine{
  grid-template-columns:128px minmax(0,1fr) 44px !important;
  gap:14px !important;
  padding:0 19px !important;
}
.book4 .ckk-spine__authors,.book5 .ckk-spine__authors,.book6 .ckk-spine__authors,.book7 .ckk-spine__authors,.book8 .ckk-spine__authors,.book9 .ckk-spine__authors{
  font-size:9px !important;
  line-height:1.2 !important;
}
.book4 .ckk-spine__title,.book5 .ckk-spine__title,.book6 .ckk-spine__title,.book7 .ckk-spine__title,.book8 .ckk-spine__title,.book9 .ckk-spine__title{
  font-size:12px !important;
  line-height:1.18 !important;
}
.book4 .ckk-spine__year,.book5 .ckk-spine__year,.book6 .ckk-spine__year,.book7 .ckk-spine__year,.book8 .ckk-spine__year,.book9 .ckk-spine__year{font-size:9px !important}

/* Новые обложки в карточках показываются как самостоятельные книги без прямоугольного фона. */
#detail-book4 .ckk-book-cover--selected img,
#detail-book7 .ckk-book-cover--selected img,
#detail-book8 .ckk-book-cover--selected img,
#detail-book9 .ckk-book-cover--selected img{
  max-height:540px !important;
  max-width:430px !important;
  filter:drop-shadow(16px 22px 20px rgba(0,0,0,.32));
}

@media(max-width:900px){
  .ckk-books-only .book4,.ckk-books-only .book5,.ckk-books-only .book6,.ckk-books-only .book7,.ckk-books-only .book8,.ckk-books-only .book9{height:86px !important}
  .book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine,.book7 .ckk-spine,.book8 .ckk-spine,.book9 .ckk-spine{grid-template-columns:108px minmax(0,1fr) 40px !important;padding:0 14px !important;gap:10px !important}
  .book4 .ckk-spine__title,.book5 .ckk-spine__title,.book6 .ckk-spine__title,.book7 .ckk-spine__title,.book8 .ckk-spine__title,.book9 .ckk-spine__title{font-size:11px !important}
}
@media(max-width:640px){
  .ckk-books-only .ckk-books-stage{gap:26px}
  .ckk-books-only .book1,.ckk-books-only .book2,.ckk-books-only .book3,.ckk-books-only .book4,.ckk-books-only .book5,.ckk-books-only .book6,.ckk-books-only .book7,.ckk-books-only .book8,.ckk-books-only .book9{height:102px !important}
  .book4 .ckk-spine,.book5 .ckk-spine,.book6 .ckk-spine,.book7 .ckk-spine,.book8 .ckk-spine,.book9 .ckk-spine{grid-template-columns:72px minmax(0,1fr) 34px !important;padding:0 9px !important;gap:7px !important}
  .book4 .ckk-spine__authors,.book5 .ckk-spine__authors,.book6 .ckk-spine__authors,.book7 .ckk-spine__authors,.book8 .ckk-spine__authors,.book9 .ckk-spine__authors{font-size:6.8px !important}
  .book4 .ckk-spine__title,.book5 .ckk-spine__title,.book6 .ckk-spine__title,.book7 .ckk-spine__title,.book8 .ckk-spine__title,.book9 .ckk-spine__title{font-size:8.6px !important;line-height:1.12 !important}
  .book4 .ckk-spine__year,.book5 .ckk-spine__year,.book6 .ckk-spine__year,.book7 .ckk-spine__year,.book8 .ckk-spine__year,.book9 .ckk-spine__year{font-size:7.5px !important}
}


/* v0.15 — полноценный режим электронной книги */
html.ckk-reader-open, html.ckk-reader-open body{overflow:hidden!important}
.ckk-reader{--reader-font-size:19px;position:fixed;inset:0;z-index:99999;display:none;background:#ece9e1;color:#26251f}
.ckk-reader.is-open{display:flex;flex-direction:column}
.ckk-reader__topbar{height:66px;flex:0 0 66px;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;padding:0 24px;background:#0a241b;color:#f1eee4;border-bottom:1px solid rgba(255,255,255,.12)}
.admin-bar .ckk-reader{top:32px}
.ckk-reader__close{border:0;background:transparent;color:#f1eee4;cursor:pointer;text-align:left;font-size:13px}
.ckk-reader__booktitle{font-family:Georgia,serif;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.ckk-reader__controls{display:flex;align-items:center;gap:6px}
.ckk-reader__controls button{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:transparent;color:#f1eee4;cursor:pointer;font-size:13px}
.ckk-reader__controls button:hover{background:rgba(255,255,255,.08)}
.ckk-reader__divider{width:1px;height:24px;background:rgba(255,255,255,.14);margin:0 4px}
.ckk-reader__progress{height:3px;flex:0 0 3px;background:rgba(0,0,0,.1)}
.ckk-reader__progress span{display:block;height:100%;width:0;background:#9fbd71;transition:width .1s linear}
.ckk-reader__body{min-height:0;flex:1;display:grid;grid-template-columns:275px minmax(0,1fr)}
.ckk-reader__toc{background:#f6f3eb;border-right:1px solid rgba(0,0,0,.1);overflow:auto;padding:24px 14px}
.ckk-reader__toc-head{padding:0 10px 14px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#807c71}
.ckk-reader__toc-list{display:grid;gap:4px}
.ckk-reader__toc-item{display:grid;grid-template-columns:26px 1fr 18px;gap:9px;align-items:start;text-align:left;border:0;border-radius:8px;background:transparent;padding:10px;color:#333128;cursor:pointer}
.ckk-reader__toc-item:hover{background:#eae5da}
.ckk-reader__toc-item span{font-size:10px;color:#989286;padding-top:2px}.ckk-reader__toc-item b{font-size:12px;line-height:1.35;font-weight:500}.ckk-reader__toc-item i{font-style:normal;font-size:11px}
.ckk-reader__toc-item.is-locked{opacity:.58;cursor:default}
.ckk-reader__viewport{overflow:auto;scroll-behavior:smooth;padding:48px 32px 80px;background:#dedbd3}
.ckk-reader__page{width:min(820px,100%);min-height:calc(100vh - 140px);margin:0 auto;padding:72px 88px;background:#fffdf7;box-shadow:0 20px 55px rgba(40,35,28,.13);font-size:var(--reader-font-size);line-height:1.78;font-family:Georgia,'Times New Roman',serif;transition:background .2s,color .2s,font-size .15s}
.ckk-reader[data-family="sans"] .ckk-reader__page{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.7}
.ckk-reader[data-theme="sepia"] .ckk-reader__viewport{background:#cfc4ad}.ckk-reader[data-theme="sepia"] .ckk-reader__page{background:#f2e6cb;color:#3c3328}.ckk-reader[data-theme="sepia"] .ckk-reader__toc{background:#e6dac1}
.ckk-reader[data-theme="dark"] .ckk-reader__viewport{background:#101612}.ckk-reader[data-theme="dark"] .ckk-reader__page{background:#172019;color:#d9ddd8;box-shadow:none}.ckk-reader[data-theme="dark"] .ckk-reader__toc{background:#111a15;color:#d9ddd8;border-color:rgba(255,255,255,.08)}.ckk-reader[data-theme="dark"] .ckk-reader__toc-item{color:#d9ddd8}.ckk-reader[data-theme="dark"] .ckk-reader__toc-item:hover{background:#1d2a22}.ckk-reader[data-theme="dark"] .ckk-reader__toc-head{color:#85968b}
.ckk-reader__page p{margin:0 0 1.12em;text-align:justify;text-wrap:pretty;hyphens:auto}.ckk-reader__page h2{font-size:1.65em;line-height:1.25;margin:1.8em 0 .8em;font-weight:500}.ckk-reader__page h3{font-size:1.2em;line-height:1.35;margin:1.5em 0 .7em;font-weight:600}.ckk-reader__page h2:first-child,.ckk-reader__page h3:first-child{margin-top:0}
.ckk-reader-section{scroll-margin-top:22px}.ckk-reader-section+.ckk-reader-section{border-top:1px solid rgba(80,70,55,.14);margin-top:56px;padding-top:56px}.ckk-reader-section__label{font:600 11px/1.2 Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.16em;color:#829663;margin-bottom:32px}
.ckk-reader-note{padding:18px 20px;border-left:3px solid #9fbd71;background:rgba(159,189,113,.09);font-size:.93em}
.ckk-reader-table{font:400 .84em/1.45 Inter,system-ui,sans-serif;border:1px solid rgba(0,0,0,.1);border-radius:8px;overflow:hidden;margin:1.5em 0}.ckk-reader-table>div{padding:9px 12px;border-bottom:1px solid rgba(0,0,0,.08)}.ckk-reader-table>div:last-child{border-bottom:0}
.ckk-paywall{text-align:center;padding:54px 24px 62px;border:1px solid rgba(0,0,0,.1);border-radius:14px;background:linear-gradient(180deg,rgba(159,189,113,.07),transparent)}.ckk-paywall__lock{font-size:28px}.ckk-paywall h2{margin:.55em 0 .4em}.ckk-paywall p{text-align:center;color:#777166;font-family:Inter,system-ui,sans-serif;font-size:14px}.ckk-paywall .ckk-btn{margin-top:12px}
.ckk-reader__loading,.ckk-reader__error{text-align:center;padding:80px 20px;font-family:Inter,system-ui,sans-serif;color:#777166}
@media(max-width:900px){.ckk-reader__body{grid-template-columns:220px minmax(0,1fr)}.ckk-reader__page{padding:56px 52px}.ckk-reader__topbar{grid-template-columns:130px minmax(0,1fr) auto}.ckk-reader__controls button{width:32px;height:32px}}
@media(max-width:700px){.admin-bar .ckk-reader{top:46px}.ckk-reader__topbar{height:auto;min-height:62px;grid-template-columns:1fr auto;padding:10px 12px}.ckk-reader__booktitle{grid-column:1/-1;grid-row:2;text-align:left;font-size:13px}.ckk-reader__body{display:block}.ckk-reader__toc{display:none}.ckk-reader__viewport{padding:18px 8px 48px}.ckk-reader__page{padding:38px 24px;min-height:100%;box-shadow:none}.ckk-reader__controls{gap:3px}.ckk-reader__controls button{width:30px;height:30px;font-size:11px}.ckk-reader__divider{display:none}.ckk-reader__close{font-size:12px}}


/* v0.16 — ещё пять научных изданий */
.ckk-books-only .ckk-book-row:nth-child(10) .ckk-book-object{animation-delay:-9.0s}
.ckk-books-only .ckk-book-row:nth-child(11) .ckk-book-object{animation-delay:-10.0s}
.ckk-books-only .ckk-book-row:nth-child(12) .ckk-book-object{animation-delay:-11.0s}
.ckk-books-only .ckk-book-row:nth-child(13) .ckk-book-object{animation-delay:-12.0s}
.ckk-books-only .ckk-book-row:nth-child(14) .ckk-book-object{animation-delay:-13.0s}

/* Толщина корешков пропорциональна небольшому объёму статей. */
.ckk-books-only .book10{height:68px !important} /* 4 стр. */
.ckk-books-only .book11{height:70px !important} /* 5 стр. */
.ckk-books-only .book12{height:72px !important} /* 6 стр. */
.ckk-books-only .book13{height:78px !important} /* 10 стр. */
.ckk-books-only .book14{height:74px !important} /* 8 стр. */

/* 10 — управление: приглушённый баклажановый + тёплая латунь. */
.book10 .ckk-spine{
  background:
    radial-gradient(circle at 78% 125%,rgba(191,159,121,.18),transparent 38%),
    linear-gradient(180deg,#624767,#49364d) !important;
  border-color:rgba(205,176,137,.30) !important;
}
.book10 .ckk-spine__authors,.book10 .ckk-spine__title,.book10 .ckk-spine__year{color:#f2e9d7 !important;text-shadow:none !important}

/* 11 — учёт: графит + охра. */
.book11 .ckk-spine{
  background:
    repeating-linear-gradient(90deg,rgba(224,184,116,.025) 0 1px,transparent 1px 5px),
    linear-gradient(180deg,#343633,#242622) !important;
  border-color:rgba(193,143,67,.34) !important;
}
.book11 .ckk-spine__authors,.book11 .ckk-spine__title,.book11 .ckk-spine__year{color:#e2bb78 !important;text-shadow:none !important}

/* 12 — автоматизация: терракота + графит. */
.book12 .ckk-spine{
  background:
    linear-gradient(90deg,#2f3230 0 13%,#9f5037 13% 100%) !important;
  border-color:rgba(245,228,205,.22) !important;
}
.book12 .ckk-spine__authors,.book12 .ckk-spine__title,.book12 .ckk-spine__year{color:#f3e5d1 !important;text-shadow:none !important}

/* 13 — фонды и устойчивость: глубокий сливовый + медь. */
.book13 .ckk-spine{
  background:
    radial-gradient(circle at 72% 120%,rgba(176,114,76,.24),transparent 34%),
    linear-gradient(180deg,#50314d,#382237) !important;
  border-color:rgba(188,128,88,.34) !important;
}
.book13 .ckk-spine__authors,.book13 .ckk-spine__title,.book13 .ckk-spine__year{color:#ead6bd !important;text-shadow:none !important}

/* 14 — выбранная бордово-кремовая обложка гибридных структур. */
.book14 .ckk-spine{
  background:
    linear-gradient(90deg,#efe4cd 0 14%,#681d28 14% 100%) !important;
  border-color:rgba(210,177,109,.34) !important;
}
.book14 .ckk-spine__authors,.book14 .ckk-spine__title,.book14 .ckk-spine__year{color:#f1dfb7 !important;text-shadow:none !important}

.book10 .ckk-spine,.book11 .ckk-spine,.book12 .ckk-spine,.book13 .ckk-spine,.book14 .ckk-spine{
  grid-template-columns:128px minmax(0,1fr) 44px !important;
  gap:14px !important;
  padding:0 19px !important;
}
.book10 .ckk-spine__authors,.book11 .ckk-spine__authors,.book12 .ckk-spine__authors,.book13 .ckk-spine__authors,.book14 .ckk-spine__authors{
  font-size:9px !important;line-height:1.2 !important;
}
.book10 .ckk-spine__title,.book11 .ckk-spine__title,.book12 .ckk-spine__title,.book13 .ckk-spine__title,.book14 .ckk-spine__title{
  font-size:11.6px !important;line-height:1.17 !important;
}
.book10 .ckk-spine__year,.book11 .ckk-spine__year,.book12 .ckk-spine__year,.book13 .ckk-spine__year,.book14 .ckk-spine__year{font-size:9px !important}

#detail-book10 .ckk-book-cover--selected img,
#detail-book11 .ckk-book-cover--selected img,
#detail-book12 .ckk-book-cover--selected img,
#detail-book13 .ckk-book-cover--selected img,
#detail-book14 .ckk-book-cover--selected img{
  max-height:540px !important;
  max-width:430px !important;
  filter:drop-shadow(16px 22px 20px rgba(0,0,0,.32));
}

@media(max-width:900px){
  .ckk-books-only .book10,.ckk-books-only .book11,.ckk-books-only .book12,.ckk-books-only .book13,.ckk-books-only .book14{height:86px !important}
  .book10 .ckk-spine,.book11 .ckk-spine,.book12 .ckk-spine,.book13 .ckk-spine,.book14 .ckk-spine{
    grid-template-columns:108px minmax(0,1fr) 40px !important;padding:0 14px !important;gap:10px !important
  }
  .book10 .ckk-spine__title,.book11 .ckk-spine__title,.book12 .ckk-spine__title,.book13 .ckk-spine__title,.book14 .ckk-spine__title{font-size:10.8px !important}
}
@media(max-width:640px){
  .ckk-books-only .book10,.ckk-books-only .book11,.ckk-books-only .book12,.ckk-books-only .book13,.ckk-books-only .book14{height:102px !important}
  .book10 .ckk-spine,.book11 .ckk-spine,.book12 .ckk-spine,.book13 .ckk-spine,.book14 .ckk-spine{
    grid-template-columns:72px minmax(0,1fr) 34px !important;padding:0 9px !important;gap:7px !important
  }
  .book10 .ckk-spine__authors,.book11 .ckk-spine__authors,.book12 .ckk-spine__authors,.book13 .ckk-spine__authors,.book14 .ckk-spine__authors{font-size:6.8px !important}
  .book10 .ckk-spine__title,.book11 .ckk-spine__title,.book12 .ckk-spine__title,.book13 .ckk-spine__title,.book14 .ckk-spine__title{font-size:8.4px !important;line-height:1.12 !important}
  .book10 .ckk-spine__year,.book11 .ckk-spine__year,.book12 .ckk-spine__year,.book13 .ckk-spine__year,.book14 .ckk-spine__year{font-size:7.5px !important}
}

/* v0.17 — единое отображение обложек в раскрытой карточке.
   Визуальный дизайн сайта и самих обложек не меняем: только размер,
   позицию, наклон и удаление лишнего фона вокруг изображения книги. */

/* На десктопе все раскрытые карточки используют ту же геометрию,
   что и первая книга: слева резерв под миниатюры, справа сама обложка. */
@media (min-width:901px){
  .ckk-preview-grid--single{
    grid-template-columns:54px minmax(0,1fr) !important;
    gap:14px !important;
    width:100% !important;
    align-items:start !important;
  }

  .ckk-preview-grid--single .ckk-book-cover--selected{
    grid-column:2 !important;
  }

  /* Один и тот же экранный размер и один и тот же лёгкий перспективный наклон. */
  .ckk-book-cover--image,
  .ckk-book-cover--selected{
    width:100% !important;
    max-width:none !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    transform:perspective(900px) rotateY(-3deg) !important;
    transform-origin:left center !important;
  }

  .ckk-book-cover--image::before,
  .ckk-book-cover--image::after,
  .ckk-book-cover--selected::before,
  .ckk-book-cover--selected::after{
    display:none !important;
    content:none !important;
  }

  .ckk-book-cover--image img,
  .ckk-book-cover--selected img{
    display:block !important;
    width:100% !important;
    height:390px !important;
    max-width:100% !important;
    max-height:390px !important;
    object-fit:contain !important;
    object-position:center top !important;
    margin:0 auto !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    filter:drop-shadow(16px 20px 18px rgba(0,0,0,.30)) !important;
  }
}

/* На планшете и телефоне сохраняем прежнюю адаптивность,
   но не возвращаем прямоугольный фон вокруг обложки. */
@media (max-width:900px){
  .ckk-preview-grid--single{
    grid-template-columns:1fr !important;
    width:min(100%,330px) !important;
    margin:0 auto !important;
  }
  .ckk-preview-grid--single .ckk-book-cover--selected{
    grid-column:1 !important;
  }
  .ckk-book-cover--image,
  .ckk-book-cover--selected{
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
  }
  .ckk-book-cover--image img,
  .ckk-book-cover--selected img{
    width:100% !important;
    height:420px !important;
    max-height:420px !important;
    max-width:100% !important;
    object-fit:contain !important;
    object-position:center top !important;
    background:transparent !important;
    box-shadow:none !important;
    filter:drop-shadow(14px 18px 16px rgba(0,0,0,.28)) !important;
  }
}

@media (max-width:640px){
  .ckk-book-cover--image img,
  .ckk-book-cover--selected img{
    height:370px !important;
    max-height:370px !important;
  }
}

/* v0.18 — точная унификация положения научных книг в раскрытой карточке.
   Обложки не перерисовываются: меняются только экранная геометрия,
   небольшой перспективный наклон и техническая отделённость от фона. */
@media (min-width:901px){
  /* Научные издания занимают ровно тот же левый визуальный слот,
     что и большая книга с колонкой миниатюр. */
  .ckk-preview-grid--single{
    width:320px !important;
    height:390px !important;
    grid-template-columns:54px 1fr !important;
    gap:14px !important;
    align-items:start !important;
    justify-items:start !important;
    overflow:visible !important;
  }

  .ckk-preview-grid--single .ckk-book-cover--selected{
    grid-column:2 !important;
    width:252px !important;
    height:390px !important;
    min-height:390px !important;
    max-width:none !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    padding:0 !important;
    margin:0 !important;
    overflow:visible !important;
    background:transparent !important;
    box-shadow:none !important;
    transform:perspective(900px) rotateY(-4deg) !important;
    transform-origin:left center !important;
  }

  /* Одинаковая видимая высота и одинаковая верхняя линия.
     Ширину не растягиваем — пропорции каждой обложки сохраняются. */
  .ckk-preview-grid--single .ckk-book-cover--selected img{
    display:block !important;
    width:auto !important;
    height:390px !important;
    max-width:none !important;
    max-height:390px !important;
    object-fit:contain !important;
    object-position:left top !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    filter:drop-shadow(15px 19px 17px rgba(0,0,0,.31)) !important;
  }

  /* Тёмные переплёты не должны растворяться в тёмно-зелёном фоне сайта.
     Это только очень тонкая световая кромка по силуэту PNG. */
  #detail-book4 .ckk-book-cover--selected img,
  #detail-book11 .ckk-book-cover--selected img{
    filter:
      drop-shadow(0 0 1px rgba(236,241,233,.50))
      drop-shadow(15px 19px 17px rgba(0,0,0,.34)) !important;
  }

  /* Книги 8–13 дополнительно фиксируем в одном и том же слоте —
     без индивидуальных сдвигов от старых правил. */
  #detail-book8 .ckk-preview-grid--single,
  #detail-book9 .ckk-preview-grid--single,
  #detail-book10 .ckk-preview-grid--single,
  #detail-book11 .ckk-preview-grid--single,
  #detail-book12 .ckk-preview-grid--single,
  #detail-book13 .ckk-preview-grid--single{
    margin:0 !important;
    transform:none !important;
  }
}

@media (max-width:900px){
  /* На мобильных сохраняем оформление, но убираем старые случайные сдвиги. */
  .ckk-preview-grid--single .ckk-book-cover--selected{
    transform:perspective(900px) rotateY(-3deg) !important;
    transform-origin:left center !important;
  }
  .ckk-preview-grid--single .ckk-book-cover--selected img{
    object-position:center top !important;
  }
}

/* v0.19 — аккаунт, покупки и «Мои книги» (WooCommerce integration) */
.woocommerce{color:var(--text)}
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start}
.woocommerce-MyAccount-navigation{border:1px solid var(--line);border-radius:10px;padding:10px;background:rgba(255,255,255,.025)}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation a{display:block;padding:11px 13px;border-radius:7px;color:var(--muted);font-size:13px}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation a:hover{background:rgba(159,189,113,.10);color:var(--green)}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout,.woocommerce form.lost_reset_password{border:1px solid var(--line);border-radius:12px;padding:24px;background:rgba(255,255,255,.025)}
.woocommerce form .form-row label{color:var(--muted);font-size:12px}
.woocommerce form .input-text,.woocommerce form select,.woocommerce form textarea{width:100%;border:1px solid rgba(255,255,255,.16);background:#0b2a20;color:var(--text);border-radius:8px;padding:11px 12px;min-height:42px}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:999px!important;background:var(--cream)!important;color:#17231d!important;padding:11px 17px!important;font-weight:500!important}
.woocommerce-error,.woocommerce-info,.woocommerce-message{border-top-color:var(--green);background:rgba(255,255,255,.04);color:var(--text)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--green)}
.woocommerce table.shop_table{border-color:var(--line);border-radius:10px;color:var(--text)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)}
.woocommerce-checkout #payment{background:rgba(255,255,255,.04);color:var(--text);border-radius:12px}
.woocommerce-checkout #payment div.payment_box{background:#102f24;color:var(--muted)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#102f24}
.ckk-mybooks__intro h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0 0 8px}.ckk-mybooks__intro p{color:var(--muted)}
.ckk-mybooks__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.ckk-mybook-card{display:grid;grid-template-columns:112px 1fr;gap:18px;border:1px solid var(--line);border-radius:12px;padding:15px;background:rgba(255,255,255,.025)}
.ckk-mybook-card__cover{height:150px;display:flex;align-items:center;justify-content:center}.ckk-mybook-card__cover img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(8px 10px 10px rgba(0,0,0,.28))}
.ckk-mybook-card__body>span{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--green)}
.ckk-mybook-card h3{font-family:Georgia,serif;font-size:18px;line-height:1.15;font-weight:500;margin:8px 0 14px}
.ckk-mybooks__empty{border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:22px}.ckk-mybooks__empty p{color:var(--muted)}
@media(max-width:800px){.woocommerce-account .woocommerce{grid-template-columns:1fr}.ckk-mybooks__grid{grid-template-columns:1fr}}
@media(max-width:520px){.ckk-mybook-card{grid-template-columns:82px 1fr}.ckk-mybook-card__cover{height:118px}}

/* v0.19.1 — аккуратная страница входа/регистрации WooCommerce */
.woocommerce-account:not(.logged-in) .ckk-shell > article{
  max-width:1120px !important;
}
.woocommerce-account:not(.logged-in) .woocommerce{
  display:block !important;
  width:100% !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:34px !important;
  width:100% !important;
  max-width:980px !important;
  margin:0 !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
  float:none !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login h2{
  margin:0 0 14px !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:28px !important;
  line-height:1.15 !important;
  font-weight:500 !important;
  color:var(--text) !important;
}
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register{
  width:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:26px !important;
  border:1px solid var(--line) !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.025) !important;
  box-sizing:border-box !important;
}
.woocommerce-account .woocommerce form .form-row{
  float:none !important;
  width:100% !important;
  margin:0 0 16px !important;
  padding:0 !important;
}
.woocommerce-account .woocommerce form .form-row label{
  display:block !important;
  margin:0 0 7px !important;
  color:#b7c4bc !important;
  font-size:12px !important;
  line-height:1.35 !important;
}
.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row input[type="text"],
.woocommerce-account .woocommerce form .form-row input[type="email"],
.woocommerce-account .woocommerce form .form-row input[type="password"]{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  min-height:44px !important;
  margin:0 !important;
  padding:11px 13px !important;
  border:1px solid rgba(255,255,255,.17) !important;
  border-radius:8px !important;
  background:#0b2a20 !important;
  color:#f1eee4 !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}
.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce form .form-row input[type="email"]:focus,
.woocommerce-account .woocommerce form .form-row input[type="password"]:focus{
  outline:none !important;
  border-color:#9fbd71 !important;
  box-shadow:0 0 0 2px rgba(159,189,113,.12) !important;
}
.woocommerce-account .woocommerce form .password-input{
  display:block !important;
  width:100% !important;
}
.woocommerce-account .woocommerce form .show-password-input{
  right:12px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
}
.woocommerce-account:not(.logged-in) .woocommerce form p,
.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-privacy-policy-text{
  color:#aebbb3 !important;
  font-size:13px !important;
  line-height:1.55 !important;
}
.woocommerce-account .woocommerce form a{
  color:#c7d89b !important;
}
.woocommerce-account .woocommerce form a:hover{
  color:#e0edbd !important;
}
.woocommerce-account .woocommerce form .woocommerce-form-login__rememberme{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:3px 0 16px !important;
}
.woocommerce-account .woocommerce form .woocommerce-form-login__submit,
.woocommerce-account .woocommerce form .woocommerce-Button{
  margin:0 0 14px !important;
}
@media(max-width:760px){
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
  .woocommerce-account:not(.logged-in) .ckk-shell > article{
    max-width:100% !important;
  }
}

/* v0.19.2 — WooCommerce inserts clearfix pseudo-elements into #customer_login.
   In CSS Grid they become extra grid items and push Login/Registration diagonally.
   Remove only those technical pseudo-elements so the two forms occupy one row. */
.woocommerce-account:not(.logged-in) .woocommerce #customer_login::before,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login::after{
  content:none !important;
  display:none !important;
}

@media (min-width:761px){
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1{
    grid-column:1 !important;
    grid-row:1 !important;
  }
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
    grid-column:2 !important;
    grid-row:1 !important;
  }
}

/* v0.19.4 — account guest forms: preserve existing layout, only align frames cleanly */
.woocommerce-account:not(.logged-in) .woocommerce #customer_login{
  align-items:stretch !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
  display:flex !important;
  flex-direction:column !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1 > h2,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2 > h2{
  flex:0 0 auto !important;
}
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register{
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
}
.woocommerce-account:not(.logged-in) main.ckk-section{
  padding-bottom:48px !important;
}
@media(max-width:760px){
  .woocommerce-account:not(.logged-in) main.ckk-section{
    padding-bottom:32px !important;
  }
}

/* v0.19.5 — logged-in account: keep the existing design, only fix WooCommerce clearfix items.
   WooCommerce adds ::before/::after to .woocommerce; in CSS Grid they become real grid items
   and push navigation to the upper-right and account content to the lower-left. */
body.logged-in.woocommerce-account .woocommerce::before,
body.logged-in.woocommerce-account .woocommerce::after{
  content:none !important;
  display:none !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation{
  grid-column:1 !important;
  grid-row:1 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
}

@media(max-width:800px){
  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation,
  body.logged-in.woocommerce-account .woocommerce-MyAccount-content{
    grid-column:1 !important;
    grid-row:auto !important;
  }
}

/* v0.19.6 — компактная главная страница личного кабинета. */
.ckk-account-home{
  max-width:620px;
  padding:24px 26px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}
.ckk-account-home h2{
  margin:0 0 8px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:28px;
  line-height:1.18;
  font-weight:500;
  color:var(--text);
}
.ckk-account-home p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* v0.19.7 — только рамка пустого состояния «Мои книги».
   Не меняем сетку кабинета: добавляем чистый отступ снизу,
   чтобы рамка не прилипала к разделителю футера. */
.ckk-mybooks{
  padding-bottom:36px;
}
.ckk-mybooks__empty{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:22px 0 0 !important;
}


/* v19.7.1 — footer: remove Sections column, give requisites more room */
.ckk-footer__main{
  grid-template-columns:1.55fr .85fr 1.75fr !important;
  gap:64px !important;
}
.ckk-footer__requisites{
  width:100%;
  max-width:420px;
}
.ckk-footer__requisites p{
  max-width:none !important;
  width:100%;
}
@media(max-width:900px){
  .ckk-footer__main{
    grid-template-columns:1.35fr .9fr 1.45fr !important;
    gap:38px !important;
  }
  .ckk-footer__requisites{
    grid-column:auto !important;
    border-top:0 !important;
    padding-top:3px !important;
    max-width:none;
  }
}
@media(max-width:640px){
  .ckk-footer__main{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .ckk-footer__brandblock,
  .ckk-footer__requisites{
    grid-column:auto !important;
  }
  .ckk-footer__requisites{
    border-top:1px solid var(--line) !important;
    padding-top:22px !important;
  }
}

/* v19.7.2 — guest account: one frame at a time + footer pinned to page bottom.
   Default state shows Login only; Registration opens in the same position.
   No changes to logged-in account pages. */
body.woocommerce-account:not(.logged-in){
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
body.woocommerce-account:not(.logged-in) > .ckk-header{
  flex:0 0 auto;
}
body.woocommerce-account:not(.logged-in) > main.ckk-section{
  flex:1 0 auto;
  width:100%;
  padding-bottom:64px !important;
}
body.woocommerce-account:not(.logged-in) > .ckk-footer{
  flex:0 0 auto;
  margin-top:auto !important;
}

.woocommerce-account:not(.logged-in) .woocommerce #customer_login{
  display:block !important;
  width:100% !important;
  max-width:620px !important;
  margin:0 auto !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
  display:block !important;
  width:100% !important;
  max-width:620px !important;
  margin:0 auto !important;
  padding:0 !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
  display:none !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login.ckk-register-mode > .u-column1{
  display:none !important;
}
.woocommerce-account:not(.logged-in) .woocommerce #customer_login.ckk-register-mode > .u-column2{
  display:block !important;
}

/* Keep the original left-hand card exactly as the visual base. */
.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register{
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
}

/* Login + Registration buttons sit next to each other inside the same frame. */
.woocommerce-account:not(.logged-in) .woocommerce form.login .woocommerce-form-login__submit,
.woocommerce-account:not(.logged-in) .woocommerce form.login .ckk-register-toggle,
.woocommerce-account:not(.logged-in) .woocommerce form.register .woocommerce-Button,
.woocommerce-account:not(.logged-in) .woocommerce form.register .ckk-login-toggle{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  vertical-align:middle !important;
  margin:0 8px 14px 0 !important;
}
.woocommerce-account:not(.logged-in) .woocommerce .ckk-register-toggle,
.woocommerce-account:not(.logged-in) .woocommerce .ckk-login-toggle{
  border-radius:999px !important;
  background:transparent !important;
  color:var(--text) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  padding:11px 17px !important;
  font-weight:500 !important;
  cursor:pointer !important;
}
.woocommerce-account:not(.logged-in) .woocommerce .ckk-register-toggle:hover,
.woocommerce-account:not(.logged-in) .woocommerce .ckk-login-toggle:hover{
  border-color:rgba(255,255,255,.38) !important;
}

@media(max-width:640px){
  body.woocommerce-account:not(.logged-in) > main.ckk-section{
    padding-bottom:42px !important;
  }
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login,
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column1,
  .woocommerce-account:not(.logged-in) .woocommerce #customer_login > .u-column2{
    max-width:100% !important;
  }
}


/* v0.19.7.6 — поиск по книгам */
.ckk-book-search{
  padding-right:82px;
  margin:0 0 20px;
}
.ckk-book-search__field{
  position:relative;
  width:min(760px,100%);
  min-height:50px;
  margin:0 auto;
  display:flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(4,25,18,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.ckk-book-search__field:focus-within{
  border-color:rgba(159,189,113,.72);
  background:rgba(7,35,26,.78);
  box-shadow:0 0 0 3px rgba(159,189,113,.07),inset 0 1px 0 rgba(255,255,255,.035);
}
.ckk-book-search__icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  color:#91a398;
  pointer-events:none;
}
.ckk-book-search__icon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
}
.ckk-book-search input{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  height:48px;
  padding:0 8px 0 0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:12.5px;
  letter-spacing:.005em;
}
.ckk-book-search input::placeholder{
  color:#83988d;
  opacity:1;
}
.ckk-book-search input::-webkit-search-cancel-button{
  display:none;
}
.ckk-book-search__clear{
  width:42px;
  height:42px;
  flex:0 0 42px;
  margin-right:4px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#83988d;
  cursor:pointer;
  font-size:11px;
  transition:background .18s ease,color .18s ease;
}
.ckk-book-search__clear:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}
.ckk-book-search__status{
  width:min(760px,100%);
  min-height:17px;
  margin:7px auto 0;
  padding:0 18px;
  color:#7f9388;
  font-size:9px;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.ckk-book-row.is-search-hidden{
  display:none !important;
}
.ckk-book-search__empty{
  width:min(760px,100%);
  margin:12px auto 36px;
  padding:34px 24px 36px;
  border-top:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
  text-align:center;
}
.ckk-book-search__empty span{
  display:block;
  margin-bottom:7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  color:#e9e6dc;
}
.ckk-book-search__empty p{
  margin:0;
  color:#83988d;
  font-size:11px;
}

@media(max-width:900px){
  .ckk-book-search{
    padding-right:0;
    margin-top:4px;
    margin-bottom:16px;
  }
  .ckk-book-search__field,
  .ckk-book-search__status,
  .ckk-book-search__empty{
    width:100%;
  }
}
@media(max-width:640px){
  .ckk-book-search__field{
    min-height:46px;
  }
  .ckk-book-search__icon{
    width:43px;
    height:44px;
    flex-basis:43px;
  }
  .ckk-book-search input{
    height:44px;
    font-size:12px;
  }
  .ckk-book-search__clear{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .ckk-book-search__status{
    padding:0 14px;
  }
}

/* v0.19.7.6.1 — одинаковая толщина всех книг в основном списке.
   Остальное оформление, поиск, обложки, наклоны и карточки не меняем. */
.ckk-books-only .book1,
.ckk-books-only .book2,
.ckk-books-only .book3,
.ckk-books-only .book4,
.ckk-books-only .book5,
.ckk-books-only .book6,
.ckk-books-only .book7,
.ckk-books-only .book8,
.ckk-books-only .book9,
.ckk-books-only .book10,
.ckk-books-only .book11,
.ckk-books-only .book12,
.ckk-books-only .book13,
.ckk-books-only .book14{
  height:96px !important;
}


/* v0.19.7.6.2 — единый шрифт на главной странице и в подвале */
body.home .ckk-hero,
body.home .ckk-hero *,
body.home .ckk-books-wrap,
body.home .ckk-books-wrap *,
.ckk-footer,
.ckk-footer *{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}


/* v0.19.7.6.3 — подвал без дублирования главного экрана: кратко о ЦКК, направления работы и реквизиты */
.ckk-footer__brandblock .ckk-footer__lead{
  max-width:380px;
}
.ckk-footer__brandblock .ckk-footer__desc{
  max-width:380px;
}


/* v0.19.7.6.4 — переработанный подвал: без блока «Направления».
   Вводная часть и ссылки отделены от реквизитов; реквизиты разбиты на понятные группы. */
.ckk-footer__main{
  grid-template-columns:minmax(0,1.65fr) minmax(220px,.75fr) !important;
  gap:84px !important;
  align-items:start;
  padding:46px 0 42px !important;
}
.ckk-footer__brandblock{
  max-width:540px !important;
}
.ckk-footer__brandblock .ckk-footer__lead{
  max-width:470px !important;
  margin-bottom:14px !important;
}
.ckk-footer__brandblock .ckk-footer__desc{
  max-width:470px !important;
}
.ckk-footer__info{
  justify-self:end;
  width:100%;
  max-width:250px;
  padding-top:4px !important;
}
.ckk-footer__requisites{
  width:100% !important;
  max-width:none !important;
  padding:30px 0 34px !important;
  border-top:1px solid var(--line) !important;
}
.ckk-footer__requisites > h4{
  margin:0 0 22px !important;
  color:var(--text);
  font-size:10px !important;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ckk-footer__reqgrid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:54px;
}
.ckk-footer__reqgroup{
  min-width:0;
}
.ckk-footer__reqtitle{
  margin:0 0 13px;
  color:#68736d;
  font-size:11px;
  font-weight:600;
  line-height:1.35;
}
.ckk-footer__reqgroup p{
  max-width:360px !important;
  width:auto !important;
  margin:0 0 8px !important;
  color:#77847c !important;
  font-size:10.5px !important;
  line-height:1.55;
}
.ckk-footer__bottom{
  padding-top:18px !important;
}

@media(max-width:900px){
  .ckk-footer__main{
    grid-template-columns:minmax(0,1fr) minmax(190px,.55fr) !important;
    gap:46px !important;
  }
  .ckk-footer__requisites{
    grid-column:auto !important;
    padding:28px 0 32px !important;
  }
  .ckk-footer__reqgrid{
    grid-template-columns:1fr 1fr;
    gap:28px 40px;
  }
  .ckk-footer__reqgroup:last-child{
    grid-column:1 / -1;
  }
}

@media(max-width:640px){
  .ckk-footer__main{
    grid-template-columns:1fr !important;
    gap:28px !important;
    padding:34px 0 30px !important;
  }
  .ckk-footer__info{
    justify-self:start;
    max-width:none;
    padding-top:2px !important;
  }
  .ckk-footer__requisites{
    border-top:1px solid var(--line) !important;
    padding:26px 0 30px !important;
  }
  .ckk-footer__reqgrid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .ckk-footer__reqgroup:last-child{
    grid-column:auto;
  }
  .ckk-footer__reqgroup + .ckk-footer__reqgroup{
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.07);
  }
}

/* v0.19.7.6.5 — единая типографика на корешках всех книг.
   Цвета и фон каждой книги остаются индивидуальными; выравниваем только шрифт,
   кегль, насыщенность и межстрочный интервал для одинаковых элементов. */
.ckk-books-only .ckk-spine__authors,
.ckk-books-only .ckk-spine__title,
.ckk-books-only .ckk-spine__year{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-style:normal !important;
}
.ckk-books-only .ckk-spine__authors{
  font-size:9px !important;
  line-height:1.2 !important;
  font-weight:500 !important;
}
.ckk-books-only .ckk-spine__title{
  font-size:12px !important;
  line-height:1.18 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
}
.ckk-books-only .ckk-spine__year{
  font-size:9px !important;
  line-height:1 !important;
  font-weight:500 !important;
}

@media(max-width:640px){
  .ckk-books-only .ckk-spine__authors{
    font-size:7px !important;
  }
  .ckk-books-only .ckk-spine__title{
    font-size:9px !important;
    line-height:1.14 !important;
  }
  .ckk-books-only .ckk-spine__year{
    font-size:8px !important;
  }
}



/* v0.19.7.6.7 — remove duplicate lower table of contents */
.ckk-bottom-buy-only{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}
.ckk-bottom-buy-only .ckk-buybox{
  width:min(360px,100%);
}
@media(max-width:900px){
  .ckk-bottom-buy-only{justify-content:stretch;}
  .ckk-bottom-buy-only .ckk-buybox{width:100%;}
}


/* v0.19.7.6.8 — one consistent access card for books, collections and scientific publications */
.ckk-bottom-buy-only .ckk-buybox{
  min-height:190px;
  display:flex;
  flex-direction:column;
}
.ckk-bottom-buy-only .ckk-buybox .ckk-btn{
  margin-top:auto;
  justify-content:center;
}


/* v0.19.7.6.10 — чистая боковая навигация каталога.
   Декоративная шкала под «Книги» убрана. «Статьи» начинаются с позиции 03
   и оформлены тем же размером, шрифтом и логикой, что и «Книги». */
.ckk-books-only .ckk-book-row{
  position:relative;
}
.ckk-book-rail .ckk-mouse-note{
  margin-top:34px;
}
.ckk-library-subsection{
  position:absolute;
  right:calc(100% + 40px);
  top:26px;
  width:200px;
  transform:none;
  pointer-events:none;
}
.ckk-library-subsection__title{
  font-family:Georgia,serif;
  font-size:54px !important;
  line-height:1 !important;
  margin:0 0 16px !important;
  font-weight:500 !important;
  letter-spacing:normal !important;
  color:var(--text);
}
.ckk-library-subsection p{
  font-size:13px;
  color:var(--muted);
  max-width:150px;
  margin:0;
}
.ckk-library-subsection .ckk-mouse-note{
  margin-top:34px;
}
@media(max-width:900px){
  .ckk-library-subsection{
    position:static;
    width:100%;
    transform:none;
    grid-column:1 / -1;
    margin:10px 0 8px;
  }
  .ckk-library-subsection__title{
    font-size:46px !important;
  }
  .ckk-library-subsection p{
    max-width:260px;
  }
}


/* v0.19.7.6.11 — раскрытие карточки сразу под выбранным изданием */
.ckk-books-stage > .ckk-details{
  margin-top:0;
}

/* v0.19.7.6.12 — более плавное раскрытие карточек, вдохновлённое Stripe Press */
.ckk-details{
  display:block !important;
  height:0;
  margin-top:0 !important;
  opacity:0;
  overflow:hidden;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-10px) scale(.997);
  transform-origin:50% 0;
  transition:
    height .68s cubic-bezier(.22,1,.36,1),
    margin-top .68s cubic-bezier(.22,1,.36,1),
    opacity .34s ease,
    transform .68s cubic-bezier(.22,1,.36,1);
  will-change:height,transform,opacity;
}
.ckk-details.is-opening,
.ckk-details.is-open,
.ckk-details.is-closing{
  visibility:visible;
}
.ckk-details.is-open{
  pointer-events:auto;
  animation:none !important;
}
.ckk-details > *{
  opacity:0;
  transform:translateY(9px);
  transition:
    opacity .32s ease,
    transform .58s cubic-bezier(.22,1,.36,1);
}
.ckk-details.is-open > *{
  opacity:1;
  transform:translateY(0);
}
.ckk-details.is-open > .ckk-details-top{transition-delay:.07s}
.ckk-details.is-open > .ckk-detail-grid{transition-delay:.12s}
.ckk-details.is-open > .ckk-bottom-buy-only{transition-delay:.17s}
.ckk-details.is-closing > *{
  transition-delay:0s !important;
  opacity:0;
  transform:translateY(-4px);
}
.ckk-book-object{
  transition:transform .38s cubic-bezier(.22,1,.36,1), filter .38s ease;
}
.ckk-book-object[aria-expanded="true"]{
  transform:translateY(-2px);
  filter:brightness(1.035);
}
@media (prefers-reduced-motion: reduce){
  .ckk-details,
  .ckk-details > *,
  .ckk-book-object{
    transition:none !important;
    animation:none !important;
  }
}


/* v0.19.7.6.13 — ссылки «ЦКК ОКЕАН» на основной сайт Центра */
.ckk-brand--ckk-site strong,
.ckk-brand--ckk-site span,
.ckk-footer__brandlink{
  transition:color .24s ease, opacity .24s ease, transform .24s ease;
}
.ckk-brand--ckk-site:hover strong,
.ckk-brand--ckk-site:focus-visible strong,
.ckk-footer__brandlink:hover,
.ckk-footer__brandlink:focus-visible{
  color:var(--green2);
}
.ckk-brand--ckk-site:hover span,
.ckk-brand--ckk-site:focus-visible span{
  color:var(--text);
}
.ckk-footer__brandlink{
  display:inline-block;
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
}
.ckk-brand--ckk-site:focus-visible,
.ckk-footer__brandlink:focus-visible{
  outline:2px solid var(--green2);
  outline-offset:4px;
  border-radius:3px;
}

/* v0.19.7.6.15 — keep the footer at the bottom on short account pages, including logged-in My Account screens. */
body.woocommerce-account{
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
}
body.woocommerce-account > .ckk-header{
  flex:0 0 auto !important;
  width:100%;
}
body.woocommerce-account > main.ckk-section{
  flex:1 0 auto !important;
  width:100%;
}
body.woocommerce-account > .ckk-footer{
  flex:0 0 auto !important;
  margin-top:auto !important;
  width:100%;
}


/* v0.19.7.6.17 — вторая книга: синхронизируем цвет корешка и обложки: убираем зелёный участок, который сливался с фоном.
   Сохраняем тёмно-синюю основу и золотую типографику, зелёный клин заменяем тёплым бронзовым. */
.ckk-books-only .book2 .ckk-spine{
  background:
    linear-gradient(160deg,transparent 0 67%,rgba(111,68,43,.96) 67% 100%),
    repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0 1px,transparent 1px 7px),
    #102943 !important;
  border-color:rgba(216,184,107,.38) !important;
}
.ckk-books-only .book2 .ckk-spine::after{
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),transparent 25%,rgba(0,0,0,.10)),
    repeating-linear-gradient(90deg,rgba(216,184,107,.03) 0 1px,transparent 1px 5px) !important;
}


/* v0.19.7.6.18 — блок «Статьи» смещён ниже, чтобы заголовок не заезжал на рамку раскрытой карточки. */


/* v0.19.7.6.19 — карточка гарантированно видна при раскрытии */
.ckk-details.is-opening,
.ckk-details.is-open{
  visibility:visible !important;
}
.ckk-details.is-open{
  margin-top:28px !important;
  opacity:1;
  pointer-events:auto;
}


/* v0.19.7.6.20 — книга 1 показывается оригинальным PDF без пересборки текста.
   Так сохраняются исходная верстка, изображения, таблицы и кликабельная навигация PDF. */
.ckk-reader.is-pdf .ckk-reader__controls{display:none!important}
.ckk-reader.is-pdf .ckk-reader__progress{display:none!important}
.ckk-reader.is-pdf .ckk-reader__body{display:block!important;min-height:0;height:100%}
.ckk-reader.is-pdf .ckk-reader__toc{display:none!important}
.ckk-reader.is-pdf .ckk-reader__viewport{height:100%;padding:0!important;overflow:hidden!important;background:#525659!important}
.ckk-reader.is-pdf .ckk-reader__page{width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;max-width:none!important;background:#525659!important;box-shadow:none!important}
.ckk-reader__pdf{display:block;width:100%;height:100%;border:0;background:#525659}
@media(max-width:700px){
  .ckk-reader.is-pdf .ckk-reader__topbar{grid-template-columns:1fr!important}
  .ckk-reader.is-pdf .ckk-reader__booktitle{grid-column:1!important;grid-row:2!important}
}


/* v0.19.7.6.21 — PDF reader loads same-site PDFs through fetch + blob URL for Yandex Browser compatibility. */


/* v0.19.7.6.22 — Book 1 back to the electronic-book reader.
   Source PDF pages 2..290 are converted to selectable positioned HTML,
   preserving the original page margins, type sizes, graphics and source links. */
.ckk-reader.is-fixed-layout .ckk-reader__viewport{padding:28px 18px 70px!important;background:#d8d6d0!important;overflow:auto!important}
.ckk-reader.is-fixed-layout .ckk-reader__page{width:auto!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;font-size:initial!important;line-height:normal!important;font-family:Arial,sans-serif!important;color:#000!important}
.ckk-reader.is-fixed-layout .ckk-reader-section{width:722px;max-width:100%;margin:0 auto!important;padding:0!important;border:0!important;scroll-margin-top:18px}
.ckk-reader.is-fixed-layout .ckk-reader-section+.ckk-reader-section{margin-top:24px!important;padding-top:0!important;border-top:0!important}
.ckk-reader.is-fixed-layout .ckk-reader-section__label{display:none!important}
.ckk-fixed-page-shell{position:relative;width:722px;height:1020px;margin:0 auto 24px;background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.18);overflow:hidden}
.ckk-fixed-page{position:absolute!important;left:0;top:0;width:722px!important;height:1020px!important;transform-origin:top left;background:#fff}
.ckk-fixed-page p{margin:0!important;padding:0!important;text-align:initial!important;hyphens:none!important;text-wrap:initial!important;line-height:inherit}
.ckk-fixed-page img{display:block;position:absolute;inset:0;width:722px!important;height:1020px!important;max-width:none!important;pointer-events:none;user-select:none}
.ckk-fixed-page style{display:none!important}
.ckk-fixed-page a.ckk-source-link{color:#0645ad!important;text-decoration:underline!important;pointer-events:auto;position:relative;z-index:7}
.ckk-pdf-link-overlay{position:absolute;display:block;z-index:10;background:transparent;cursor:pointer;text-decoration:none!important}
.ckk-pdf-link-overlay:hover{background:rgba(159,189,113,.10);outline:1px solid rgba(111,148,88,.18)}
/* Fixed-layout source pages still support the e-book colour controls.
   The page geometry stays intact; only the paper/graphics and overlaid text are recoloured. */
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-reader__viewport{background:#c9bea7!important}
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-fixed-page{background:#f1e3c5!important}
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-fixed-page>img{filter:sepia(.22) brightness(.96) saturate(.9)}
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-fixed-page p{color:#3d3327!important}
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-reader__viewport{background:#101612!important}
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-fixed-page{background:#161d19!important}
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-fixed-page>img{filter:invert(.88) hue-rotate(180deg) brightness(.72) contrast(.92)}
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-fixed-page p{color:#e4e6e1!important}
/* Aa: source fonts are the default. Optional reader families can be selected. */
.ckk-reader.is-fixed-layout[data-fixed-family="serif"] .ckk-fixed-page p{font-family:Georgia,'Times New Roman',serif!important}
.ckk-reader.is-fixed-layout[data-fixed-family="sans"] .ckk-fixed-page p{font-family:Inter,Arial,sans-serif!important}
@media(max-width:820px){
  .ckk-reader.is-fixed-layout .ckk-reader__viewport{padding:18px 8px 50px!important}
  .ckk-reader.is-fixed-layout .ckk-reader-section{width:100%;overflow:hidden}
  .ckk-fixed-page-shell{transform-origin:top left}
}

/* v0.19.7.6.23 — fixed-layout books keep original page spacing/fonts by default, while restoring e-book controls for colour, reading size and font family. */


/* v0.19.7.6.24 — source book behaves like an e-book reader.
   A-/A+ changes only the text layer; the page itself never zooms.
   Paper and viewport use one continuous colour, so there is no dark/dim area
   around the page. Source images/tables keep their original geometry. */
.ckk-reader.is-fixed-layout{
  --fixed-text-scale:1;
}
.ckk-reader.is-fixed-layout .ckk-reader__viewport{
  background:#fffdf7!important;
  padding:28px 18px 70px!important;
}
.ckk-reader.is-fixed-layout .ckk-reader__page{
  background:#fffdf7!important;
}
.ckk-reader.is-fixed-layout .ckk-fixed-page-shell{
  background:#fffdf7!important;
  box-shadow:none!important;
  margin-bottom:0!important;
  border-bottom:1px solid rgba(0,0,0,.035);
}
.ckk-reader.is-fixed-layout .ckk-fixed-page{
  background:#fffdf7!important;
}
/* Font size changes only the selectable text overlay — never the page/image. */
.ckk-reader.is-fixed-layout .ckk-fixed-page p{
  transform:scale(var(--fixed-text-scale));
  transform-origin:left top;
  transition:transform .16s ease;
}
.ckk-reader.is-fixed-layout .ckk-fixed-page p a{
  font-size:inherit!important;
}
/* Do not make the surrounding canvas darker than the paper. */
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-reader__viewport,
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-reader__page,
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-fixed-page-shell,
.ckk-reader.is-fixed-layout[data-theme="sepia"] .ckk-fixed-page{
  background:#f1e3c5!important;
}
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-reader__viewport,
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-reader__page,
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-fixed-page-shell,
.ckk-reader.is-fixed-layout[data-theme="dark"] .ckk-fixed-page{
  background:#161d19!important;
}
@media(max-width:820px){
  .ckk-reader.is-fixed-layout .ckk-reader__viewport{padding-left:8px!important;padding-right:8px!important}
}
\n\n/* v0.19.7.6.25 — Book 1 is now a true reflowable e-book, not a scaled PDF page.\n   A-/A+ changes font size and the text re-wraps naturally. Images and tables remain\n   in the reading flow, while graphical worksheets / QR pages are preserved as figures. */\n.ckk-reader[data-book="book1"] .ckk-reader__viewport{\n  background:#fffdf7!important;\n  padding:34px 28px 80px!important;\n}\n.ckk-reader[data-book="book1"] .ckk-reader__page{\n  width:min(860px,100%)!important;\n  min-height:0!important;\n  padding:54px 64px 90px!important;\n  margin:0 auto!important;\n  background:#fffdf7!important;\n  box-shadow:none!important;\n  overflow:visible!important;\n}\n.ckk-reader[data-book="book1"][data-theme="sepia"] .ckk-reader__viewport,\n.ckk-reader[data-book="book1"][data-theme="sepia"] .ckk-reader__page{background:#f2e6cb!important}\n.ckk-reader[data-book="book1"][data-theme="dark"] .ckk-reader__viewport,\n.ckk-reader[data-book="book1"][data-theme="dark"] .ckk-reader__page{background:#172019!important}\n.ckk-ebook-flow{max-width:100%;}\n.ckk-ebook-page-anchor{height:0;scroll-margin-top:30px}\n.ckk-ebook-p{\n  margin:0 0 1.05em!important;\n  font:inherit!important;\n  line-height:1.72!important;\n  text-align:justify!important;\n  hyphens:auto;\n}\n.ckk-ebook-meta{font-size:.8em!important;opacity:.72}\n.ckk-ebook-h2,.ckk-ebook-h3,.ckk-ebook-h4{font-family:inherit!important;color:inherit;margin-left:0;margin-right:0}\n.ckk-ebook-h2{font-size:1.72em!important;line-height:1.18!important;margin:1.8em 0 .65em!important;font-weight:700!important}\n.ckk-ebook-h3{font-size:1.25em!important;line-height:1.28!important;margin:1.45em 0 .55em!important;font-weight:700!important}\n.ckk-ebook-h4{font-size:1.08em!important;line-height:1.35!important;margin:1.25em 0 .5em!important;font-weight:700!important}\n.ckk-ebook-accent{color:#087b3a!important}\n.ckk-reader[data-theme="dark"] .ckk-ebook-accent{color:#9fbd71!important}\n.ckk-ebook-list{margin:0 0 1.1em 1.35em;padding:0}.ckk-ebook-li{margin:.45em 0;line-height:1.6}\n.ckk-ebook-figure{margin:1.6em auto 2em;text-align:center;clear:both}\n.ckk-ebook-figure img{display:block;max-width:min(100%,460px);height:auto;margin:0 auto;border-radius:4px}\n.ckk-ebook-source-page{margin:2em auto;text-align:center}\n.ckk-ebook-source-page img{display:block;width:min(100%,680px);height:auto;margin:0 auto;border-radius:3px}\n.ckk-ebook-source-links{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:-.6em auto 2em;max-width:680px;font-size:.78em}\n.ckk-ebook-source-links>span{opacity:.65}.ckk-ebook-source-links a{overflow-wrap:anywhere}\n.ckk-ebook-table-wrap{width:100%;overflow-x:auto;margin:1.7em 0 2.1em;border:1px solid rgba(70,65,55,.16);border-radius:10px}\n.ckk-ebook-table{width:100%;border-collapse:collapse;font:inherit;font-size:.82em;line-height:1.45;background:transparent}\n.ckk-ebook-table th,.ckk-ebook-table td{padding:.7em .75em;vertical-align:top;border-right:1px solid rgba(70,65,55,.12);border-bottom:1px solid rgba(70,65,55,.12)}\n.ckk-ebook-table th:last-child,.ckk-ebook-table td:last-child{border-right:0}.ckk-ebook-table tr:last-child td{border-bottom:0}\n.ckk-ebook-table th{font-weight:700;text-align:left;background:rgba(159,189,113,.09)}\n.ckk-ebook-toclink{color:inherit;text-decoration:none;border-bottom:1px dotted rgba(70,80,70,.4)}\n.ckk-ebook-toclink:hover{color:#087b3a}\n.ckk-reader[data-theme="dark"] .ckk-ebook-table-wrap{border-color:rgba(255,255,255,.12)}\n.ckk-reader[data-theme="dark"] .ckk-ebook-table th,.ckk-reader[data-theme="dark"] .ckk-ebook-table td{border-color:rgba(255,255,255,.1)}\n@media(max-width:700px){\n  .ckk-reader[data-book="book1"] .ckk-reader__viewport{padding:12px 0 50px!important}\n  .ckk-reader[data-book="book1"] .ckk-reader__page{padding:34px 20px 70px!important}\n  .ckk-ebook-p{text-align:left!important}\n  .ckk-ebook-table{font-size:.76em}\n}\n
.ckk-reader[data-book="book1"][data-family="sans"] .ckk-reader__page{font-family:Montserrat,Inter,system-ui,sans-serif!important}
.ckk-reader[data-book="book1"][data-family="serif"] .ckk-reader__page{font-family:"IBM Plex Serif",Georgia,serif!important}


/* v0.19.7.6.26 — keep non-text book elements inside the reading column.
   Font controls reflow prose, but images never zoom with A-/A+; contents,
   tables and long links wrap inside the page instead of spilling into the gutter. */
.ckk-reader[data-book="book1"] .ckk-reader__page,
.ckk-reader[data-book="book1"] .ckk-ebook-flow,
.ckk-reader[data-book="book1"] .ckk-reader-section{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}
.ckk-reader[data-book="book1"] .ckk-reader__page{
  overflow-x:hidden!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-p,
.ckk-reader[data-book="book1"] .ckk-ebook-h2,
.ckk-reader[data-book="book1"] .ckk-ebook-h3,
.ckk-reader[data-book="book1"] .ckk-ebook-h4,
.ckk-reader[data-book="book1"] .ckk-ebook-li,
.ckk-reader[data-book="book1"] .ckk-ebook-source-links,
.ckk-reader[data-book="book1"] .ckk-ebook-source-links a{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* Images are illustrations, not text: A-/A+ must never enlarge them. */
.ckk-reader[data-book="book1"] .ckk-ebook-figure,
.ckk-reader[data-book="book1"] .ckk-ebook-source-page{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-figure img{
  display:block!important;
  width:auto!important;
  max-width:min(100%,460px)!important;
  height:auto!important;
  margin-left:auto!important;
  margin-right:auto!important;
  transform:none!important;
  zoom:1!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-source-page img{
  display:block!important;
  width:auto!important;
  max-width:min(100%,680px)!important;
  height:auto!important;
  margin-left:auto!important;
  margin-right:auto!important;
  transform:none!important;
  zoom:1!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-source-links{
  width:min(100%,680px)!important;
  box-sizing:border-box!important;
  padding:0 2px!important;
}

/* Responsive contents: title + flexible dotted leader + page number. */
.ckk-reader[data-book="book1"] .ckk-ebook-tocrow{
  margin:0 0 .72em!important;
  max-width:100%!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-toclink{
  display:grid!important;
  grid-template-columns:minmax(0,auto) minmax(16px,1fr) auto!important;
  gap:.35em!important;
  align-items:end!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  text-decoration:none!important;
  border-bottom:0!important;
  overflow:hidden!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-toc-text{
  min-width:0!important;
  overflow-wrap:anywhere!important;
  line-height:1.45!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-toc-dots{
  min-width:16px!important;
  height:.9em!important;
  border-bottom:2px dotted currentColor!important;
  opacity:.6!important;
  transform:translateY(-.22em)!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-toc-page{
  white-space:nowrap!important;
  align-self:end!important;
}

/* Tables always remain inside the e-book column, even at the largest font size. */
.ckk-reader[data-book="book1"] .ckk-ebook-table-wrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-table{
  width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
  box-sizing:border-box!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-table th,
.ckk-reader[data-book="book1"] .ckk-ebook-table td{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:auto!important;
}

@media(max-width:700px){
  .ckk-reader[data-book="book1"] .ckk-ebook-toclink{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:.5em!important;
  }
  .ckk-reader[data-book="book1"] .ckk-ebook-toc-dots{display:none!important}
  .ckk-reader[data-book="book1"] .ckk-ebook-table{font-size:.72em!important}
  .ckk-reader[data-book="book1"] .ckk-ebook-table th,
  .ckk-reader[data-book="book1"] .ckk-ebook-table td{padding:.58em .52em!important}
}


/* v0.19.7.6.27 — true e-book word wrapping cleanup.
   PDF hard line-break hyphens are removed in Book 1 HTML; prose is no longer justified
   or auto-hyphenated at large font sizes, and words are allowed to wrap naturally. */
.ckk-reader[data-book="book1"] .ckk-ebook-p,
.ckk-reader[data-book="book1"] .ckk-ebook-li{
  text-align:left!important;
  hyphens:none!important;
  -webkit-hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  line-height:1.58!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-h2,
.ckk-reader[data-book="book1"] .ckk-ebook-h3,
.ckk-reader[data-book="book1"] .ckk-ebook-h4{
  hyphens:none!important;
  -webkit-hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-list{
  padding-left:1.35em!important;
  margin-left:0!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-toc-text{
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
.ckk-reader[data-book="book1"] .ckk-ebook-source-links a{
  overflow-wrap:anywhere!important;
}

/* v0.19.7.6.28 — Book 2: complete front matter + Chapter I imported from the original DOCX.
   True e-book reflow. Text scales with A-/A+; images keep a bounded size; tables, contents,
   links and long text always remain inside the reading column. Book 1 is intentionally untouched. */
.ckk-reader[data-book="book2"] .ckk-reader__viewport{
  background:#fffdf7!important;
  padding:34px 28px 80px!important;
}
.ckk-reader[data-book="book2"] .ckk-reader__page{
  width:min(860px,100%)!important;
  min-height:0!important;
  padding:54px 64px 90px!important;
  margin:0 auto!important;
  background:#fffdf7!important;
  box-shadow:none!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  font-family:Arial,Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
.ckk-reader[data-book="book2"][data-family="serif"] .ckk-reader__page{font-family:Georgia,"Times New Roman",serif!important}
.ckk-reader[data-book="book2"][data-family="sans"] .ckk-reader__page{font-family:Arial,Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
.ckk-reader[data-book="book2"][data-theme="sepia"] .ckk-reader__viewport,
.ckk-reader[data-book="book2"][data-theme="sepia"] .ckk-reader__page{background:#f2e6cb!important;color:#3c3328!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-reader__viewport,
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-reader__page{background:#172019!important;color:#d9ddd8!important}
.ckk-reader[data-book="book2"] .ckk-reader-section__label{display:none!important}
.ckk-reader[data-book="book2"] .ckk-reader-section,
.ckk-reader[data-book="book2"] .ckk-book2-flow,
.ckk-reader[data-book="book2"] .ckk-book2-block,
.ckk-reader[data-book="book2"] .ckk-book2-frontmatter,
.ckk-reader[data-book="book2"] .ckk-book2-titlepage{
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-flow p{
  margin:0 0 .92em!important;
  line-height:1.62!important;
  text-align:left!important;
  hyphens:none!important;-webkit-hyphens:none!important;
  word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;
  max-width:100%!important;box-sizing:border-box!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-block>p:not(.ckk-book2-callout):not(.ckk-book2-author-name):not(.ckk-book2-glossary-entry){text-indent:1.35em}
.ckk-reader[data-book="book2"] .ckk-book2-flow h1,
.ckk-reader[data-book="book2"] .ckk-book2-flow h2,
.ckk-reader[data-book="book2"] .ckk-book2-flow h3,
.ckk-reader[data-book="book2"] .ckk-book2-flow h4{
  max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;
  font-family:inherit!important;color:inherit!important;text-indent:0!important;box-sizing:border-box!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-flow h2{font-size:1.55em!important;line-height:1.22!important;margin:1.75em 0 .72em!important;font-weight:700!important}
.ckk-reader[data-book="book2"] .ckk-book2-flow h3{font-size:1.22em!important;line-height:1.3!important;margin:1.5em 0 .65em!important;font-weight:700!important}
.ckk-reader[data-book="book2"] .ckk-book2-flow h4{font-size:1.05em!important;line-height:1.35!important;margin:1.25em 0 .55em!important;font-weight:700!important}

.ckk-reader[data-book="book2"] .ckk-book2-titlepage{
  min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:7vh 4% 8vh!important;margin-bottom:2.2em!important;border-bottom:1px solid rgba(80,70,55,.12);
}
.ckk-reader[data-book="book2"] .ckk-book2-titlepage h1{max-width:660px!important;font-size:1.72em!important;line-height:1.26!important;margin:1.3em auto .9em!important;font-weight:700!important}
.ckk-reader[data-book="book2"] .ckk-book2-titlepage p{text-align:center!important;text-indent:0!important}
.ckk-reader[data-book="book2"] .ckk-book2-title-authors{font-weight:600!important}
.ckk-reader[data-book="book2"] .ckk-book2-title-meta{margin:.15em 0!important}
.ckk-reader[data-book="book2"] .ckk-book2-editorial-note{font-size:.78em!important;opacity:.55;font-style:italic}

.ckk-reader[data-book="book2"] .ckk-book2-frontmatter{margin-bottom:2.4em!important}
.ckk-reader[data-book="book2"] .ckk-book2-frontmatter p{text-indent:0!important}
.ckk-reader[data-book="book2"] .ckk-book2-biblio-code{font-weight:700!important;line-height:1.45!important}
.ckk-reader[data-book="book2"] .ckk-book2-biblio-title{font-weight:700!important}
.ckk-reader[data-book="book2"] .ckk-book2-block{margin:2.4em 0!important}
.ckk-reader[data-book="book2"] .ckk-book2-block>h2:first-child{margin-top:0!important}

/* Illustrations are independent of font zoom. */
.ckk-reader[data-book="book2"] .ckk-book2-figure{
  display:block!important;width:100%!important;max-width:100%!important;margin:1.35em auto 1.75em!important;
  text-align:center!important;overflow:hidden!important;box-sizing:border-box!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-figure p{margin:0!important;text-indent:0!important;text-align:center!important}
.ckk-reader[data-book="book2"] .ckk-book2-figure img{
  display:block!important;width:auto!important;height:auto!important;max-width:100%!important;margin:0 auto!important;
  transform:none!important;zoom:1!important;object-fit:contain!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-barcode img{max-width:min(100%,300px)!important}
.ckk-reader[data-book="book2"] .ckk-book2-author-photos img{max-width:min(100%,190px)!important}
.ckk-reader[data-book="book2"] .ckk-book2-diagram img{max-width:min(100%,760px)!important}

.ckk-reader[data-book="book2"] .ckk-book2-authors-grid{display:grid!important;grid-template-columns:minmax(120px,190px) minmax(0,1fr)!important;gap:28px!important;align-items:start!important;max-width:100%!important}
.ckk-reader[data-book="book2"] .ckk-book2-author-bios{min-width:0!important;max-width:100%!important}
.ckk-reader[data-book="book2"] .ckk-book2-author-name{margin-top:1.1em!important;margin-bottom:.35em!important;text-indent:0!important}
.ckk-reader[data-book="book2"] .ckk-book2-glossary-entry{padding-left:0!important;text-indent:0!important;margin-bottom:.78em!important}

/* Contents wraps instead of crossing the page edge at large font sizes. */
.ckk-reader[data-book="book2"] .ckk-book2-contents{padding:1.35em 1.45em!important;border:1px solid rgba(80,70,55,.16)!important;border-radius:12px!important;box-sizing:border-box!important;overflow:hidden!important}
.ckk-reader[data-book="book2"] .ckk-book2-toc-entry{
  display:block!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:.36em 0!important;
  line-height:1.42!important;color:inherit!important;text-decoration:none!important;overflow-wrap:break-word!important;
  word-break:normal!important;hyphens:none!important;white-space:normal!important;border-bottom:1px dotted rgba(80,70,55,.16)!important;
}
.ckk-reader[data-book="book2"] a.ckk-book2-toc-entry:hover{color:#087b3a!important}
.ckk-reader[data-book="book2"] .ckk-book2-toc-entry.is-sub{padding-left:1.25em!important;font-size:.94em!important}

.ckk-reader[data-book="book2"] .ckk-book2-callout{text-indent:0!important;margin:1.25em 0!important;padding:.9em 1em!important;border-left:4px solid #7f9f55!important;background:rgba(127,159,85,.08)!important;border-radius:0 8px 8px 0!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"] .ckk-book2-list{margin:1em 0 1.25em 1.25em!important;padding-left:1em!important;max-width:calc(100% - 1.25em)!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"] .ckk-book2-list li{margin:.55em 0!important;line-height:1.58!important;max-width:100%!important;overflow-wrap:break-word!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"] .ckk-book2-list p{margin:.15em 0!important;text-indent:0!important}

/* Source table is real HTML and is forced to fit the e-book column. */
.ckk-reader[data-book="book2"] .ckk-book2-table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important;margin:1.2em 0 1.8em!important;border:1px solid rgba(80,70,55,.16)!important;border-radius:10px!important}
.ckk-reader[data-book="book2"] .ckk-book2-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font:inherit!important;font-size:.82em!important;line-height:1.42!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"] .ckk-book2-table col{width:auto!important}
.ckk-reader[data-book="book2"] .ckk-book2-table td,
.ckk-reader[data-book="book2"] .ckk-book2-table th{width:auto!important;min-width:0!important;max-width:100%!important;padding:.66em .7em!important;vertical-align:top!important;border-right:1px solid rgba(80,70,55,.12)!important;border-bottom:1px solid rgba(80,70,55,.12)!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"] .ckk-book2-table tr:last-child td{border-bottom:0!important}
.ckk-reader[data-book="book2"] .ckk-book2-table td:last-child,.ckk-reader[data-book="book2"] .ckk-book2-table th:last-child{border-right:0!important}

.ckk-reader[data-book="book2"] .ckk-book2-flow a{max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;color:#356d56!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-flow a{color:#a6c984!important}
.ckk-reader[data-book="book2"] .ckk-book2-note-line{height:1.2em!important;border-bottom:1px solid rgba(80,70,55,.3)!important;margin:.5em 0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-table-wrap,
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-contents{border-color:rgba(255,255,255,.13)!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-table td,
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-table th{border-color:rgba(255,255,255,.1)!important}

@media(max-width:700px){
  .ckk-reader[data-book="book2"] .ckk-reader__viewport{padding:12px 0 50px!important}
  .ckk-reader[data-book="book2"] .ckk-reader__page{padding:34px 20px 70px!important}
  .ckk-reader[data-book="book2"] .ckk-book2-titlepage{min-height:58vh!important;padding-left:0!important;padding-right:0!important}
  .ckk-reader[data-book="book2"] .ckk-book2-authors-grid{grid-template-columns:1fr!important;gap:12px!important}
  .ckk-reader[data-book="book2"] .ckk-book2-author-photos img{max-width:170px!important}
  .ckk-reader[data-book="book2"] .ckk-book2-contents{padding:1em!important}
  .ckk-reader[data-book="book2"] .ckk-book2-toc-entry.is-sub{padding-left:.7em!important}
  .ckk-reader[data-book="book2"] .ckk-book2-table{font-size:.72em!important}
  .ckk-reader[data-book="book2"] .ckk-book2-table td,.ckk-reader[data-book="book2"] .ckk-book2-table th{padding:.55em .5em!important}
}

.ckk-reader[data-book="book2"] .ckk-ebook-notes-lines{
  width:100%!important;
  max-width:100%!important;
  margin:.8em 0 1.8em!important;
  box-sizing:border-box!important;
}
.ckk-reader[data-book="book2"] .ckk-ebook-note-line{
  height:1.55em!important;
  border-bottom:1px solid rgba(70,65,55,.28)!important;
}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-ebook-note-line{
  border-bottom-color:rgba(255,255,255,.2)!important;
}


/* v0.19.7.6.29 — светлая библиотека + крупнее названия + фильтры */
:root{
  --bg:#f5f4ef;
  --bg2:#ffffff;
  --panel:#ffffff;
  --panel2:#f7f6f1;
  --text:#202923;
  --muted:#68736d;
  --line:rgba(25,42,34,.12);
  --green:#177a45;
  --green2:#2d8c5a;
  --cream:#efe8d8;
}
body{background:var(--bg);color:var(--text)}
.ckk-header{
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid rgba(25,42,34,.10)!important;
  box-shadow:0 4px 18px rgba(25,42,34,.05);
}
.ckk-brand strong{color:#173326}
.ckk-brand span,.ckk-nav a{color:#59655e!important}
.ckk-nav a:hover{color:var(--green)!important}
.ckk-btn{color:var(--text);border-color:rgba(25,42,34,.18)}
.ckk-btn:hover{border-color:rgba(23,122,69,.42)}
.ckk-hero{
  background:
    radial-gradient(ellipse at 82% 38%,rgba(23,122,69,.055),transparent 33%),
    linear-gradient(180deg,#ffffff 0%,#f7f6f1 100%)!important;
  border-bottom-color:var(--line)!important;
}
.ckk-hero::before{
  background-image:
    linear-gradient(rgba(25,42,34,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(25,42,34,.035) 1px,transparent 1px)!important;
}
.ckk-hero h1{color:#183326!important}
.ckk-hero__lead{color:#65716a!important}
.ckk-hero__eyebrow{color:var(--green)!important}
.ckk-hero__textlink{color:#536158!important;border-bottom-color:rgba(25,42,34,.18)}
.ckk-hero__footerline{border-top-color:rgba(25,42,34,.08)!important}
.ckk-hero__footerline span{color:#738078!important;border-left-color:rgba(25,42,34,.08)!important}
.ckk-hero__footerline span:first-child{border-left:0!important}
.ckk-section{border-bottom-color:var(--line)}
.ckk-article{border-right-color:var(--line)}
.ckk-article p,.ckk-side-title p,.ckk-book-rail p,.ckk-mouse-note{color:#68736d}
.ckk-side-title h2,.ckk-book-rail h2{color:#183326}
.ckk-books-stage{perspective:1500px}
.ckk-book-object::before{background:#ebe8de;box-shadow:0 18px 28px rgba(25,42,34,.16)}
.ckk-spine{border-color:rgba(255,255,255,.18);box-shadow:inset 0 0 22px rgba(255,255,255,.06),0 16px 32px rgba(25,42,34,.20)}
.ckk-book-index{color:#69756e}
.ckk-book-index::before{background:rgba(25,42,34,.20)}
.ckk-details{
  background:#ffffff!important;
  border-color:rgba(25,42,34,.13)!important;
  box-shadow:0 24px 60px rgba(25,42,34,.12)!important;
}
.ckk-details-top,.ckk-detail-copy .authors,.ckk-detail-copy p,.ckk-tab-toc__row,.ckk-footer p,.ckk-footer a{color:#68736d}
.ckk-close{color:#68736d}
.ckk-detail-kicker{color:var(--green)!important}
.ckk-meta,.ckk-tabs,.ckk-toc,.ckk-tab-toc,.ckk-tab-authors,.ckk-buybox{border-color:var(--line)!important}
.ckk-tabs button{color:#68736d}
.ckk-tabs button:hover{color:#183326}
.ckk-tabs button.is-active{color:var(--green)}
.ckk-tab-toc__row b,.ckk-tab-toc__row em,.ckk-meta span,.ckk-footer__bottom{color:#77837c}
.ckk-footer{background:#f1f0eb}
.ckk-footer__bottom{border-top-color:var(--line)}
.ckk-book-search{padding-right:0!important}
.ckk-book-search__field{
  border-color:rgba(25,42,34,.16)!important;
  background:#ffffff!important;
  box-shadow:0 8px 22px rgba(25,42,34,.05)!important;
}
.ckk-book-search__field:focus-within{border-color:rgba(23,122,69,.55)!important;background:#fff!important;box-shadow:0 0 0 3px rgba(23,122,69,.08),0 8px 22px rgba(25,42,34,.05)!important}
.ckk-book-search__icon,.ckk-book-search input::placeholder,.ckk-book-search__clear,.ckk-book-search__status{color:#7a857f!important}
.ckk-book-search input{color:#202923!important}
.ckk-book-search__clear:hover{background:rgba(25,42,34,.06);color:#202923}
.ckk-book-search__empty{border-color:var(--line)}
.ckk-book-search__empty span{color:#183326}

.ckk-library-filters{
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
  width:min(900px,100%);
  margin:14px auto 0;
  padding:14px 0 2px;
  border-top:1px solid var(--line);
}
.ckk-library-filter-group{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.ckk-library-filter-label{
  margin-right:3px;
  color:#748078;
  font-size:10px;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.ckk-filter-chip{
  appearance:none;
  border:1px solid rgba(25,42,34,.14);
  background:#fff;
  color:#536158;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  cursor:pointer;
  transition:.2s ease;
}
.ckk-filter-chip:hover{border-color:rgba(23,122,69,.40);color:#183326;transform:translateY(-1px)}
.ckk-filter-chip.is-active{background:#183326;border-color:#183326;color:#fff}

/* Названия на корешках читаются заметно крупнее. */
.ckk-spine__title{font-size:21px!important;line-height:1.18!important;font-weight:650!important}
.ckk-spine__authors{font-size:12px!important}
.ckk-spine__year{font-size:10px!important}
.ckk-detail-copy h3{font-size:34px!important}

@media(max-width:900px){
  .ckk-library-filters{gap:10px 14px}
  .ckk-spine__title{font-size:18px!important}
  .ckk-detail-copy h3{font-size:31px!important}
}
@media(max-width:640px){
  .ckk-library-filters{display:grid;grid-template-columns:1fr;gap:10px}
  .ckk-library-filter-group{align-items:flex-start}
  .ckk-spine__title{font-size:15px!important}
}

/* v19.7.6.32 — restrained editorial infographics for Book 2 */
.ckk-reader[data-book="book2"] .ckk-book2-infographic{
  margin:1.25em auto 1.9em!important;
  padding:.55em!important;
  border:1px solid rgba(44,92,69,.14)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(40,55,45,.07)!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-infographic img{
  width:auto!important;max-width:100%!important;height:auto!important;max-height:680px!important;
  object-fit:contain!important;transform:none!important;zoom:1!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-infographic-wide img{max-height:330px!important}
.ckk-reader[data-book="book2"] .ckk-book2-infographic figcaption{
  margin:.7em .4em .15em!important;text-align:center!important;text-indent:0!important;
  font-size:.72em!important;line-height:1.35!important;opacity:.68!important;
}
.ckk-reader[data-book="book2"][data-theme="sepia"] .ckk-book2-infographic{background:#fffdf8!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-book2-infographic{background:#edf1ec!important;border-color:rgba(255,255,255,.12)!important}
/* DOCX book imports: keep figures/tables readable and inside reader page */
.ckk-reader__page img{display:block;max-width:100%;height:auto!important;margin:1.5em auto;object-fit:contain}
.ckk-reader__page figure{max-width:100%;margin:1.6em auto;text-align:center}
.ckk-reader__page figure img{margin:.4em auto}
.ckk-reader__page figcaption{font:400 .78em/1.45 Inter,system-ui,sans-serif;color:#777166;text-align:center;margin-top:.55em}
.ckk-reader__page table{width:100%!important;max-width:100%;border-collapse:collapse;table-layout:auto;margin:1.5em 0;font:400 .78em/1.4 Inter,system-ui,sans-serif}
.ckk-reader__page th,.ckk-reader__page td{border:1px solid rgba(40,55,46,.2);padding:.55em .65em;vertical-align:top;text-align:left;overflow-wrap:anywhere;word-break:normal;white-space:normal!important}
.ckk-reader__page th{background:#eef4ef;font-weight:600}
.ckk-reader__page h1{font-size:1.9em;line-height:1.2;margin:1.7em 0 .8em;color:#174f3a;font-weight:600}
.ckk-reader__page h1:first-child{margin-top:0}
.ckk-reader__page p{word-spacing:normal!important;letter-spacing:normal!important}


/* v19.7.6.34 — Book 2 authors like Book 1 + live reflow page numbers */
.ckk-reader[data-book="book2"] .ckk-book2-authors-table{
  border:0!important;border-collapse:separate!important;border-spacing:0 26px!important;
  table-layout:fixed!important;margin:1.1em 0 2em!important;font-size:1em!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table thead,
.ckk-reader[data-book="book2"] .ckk-book2-authors-table tbody,
.ckk-reader[data-book="book2"] .ckk-book2-authors-table tr{display:contents!important}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table th,
.ckk-reader[data-book="book2"] .ckk-book2-authors-table td{
  border:0!important;background:transparent!important;padding:0!important;vertical-align:middle!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table img{
  width:145px!important;max-width:145px!important;height:auto!important;margin:0 auto!important;border-radius:0!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table th:nth-child(2),
.ckk-reader[data-book="book2"] .ckk-book2-authors-table td:nth-child(2){padding-left:26px!important}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p{
  margin:.25em 0!important;text-indent:0!important;text-align:left!important;font:inherit!important;color:inherit!important;
  line-height:1.45!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p:first-child{font-weight:700!important;color:#174f3a!important}
.ckk-reader[data-book="book2"] .ckk-live-toc{margin:1em 0 2.2em!important}
.ckk-reader[data-book="book2"] .ckk-live-toc-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:end!important;padding:.38em 0!important;border-bottom:1px dotted rgba(80,70,55,.28)!important;text-decoration:none!important;color:inherit!important}
.ckk-reader[data-book="book2"] .ckk-live-toc-row.is-sub{padding-left:1.25em!important;font-size:.94em!important}
.ckk-reader[data-book="book2"] .ckk-live-toc-row.is-practice{padding-left:1.25em!important;font-style:italic!important}
.ckk-reader[data-book="book2"] .ckk-live-toc-page{font-variant-numeric:tabular-nums!important;min-width:2.2em!important;text-align:right!important;color:#66736c!important}
.ckk-reader[data-book="book2"] .ckk-live-toc-row.is-locked .ckk-live-toc-page{font-size:.85em!important}
@media(max-width:700px){
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table img{width:115px!important;max-width:115px!important}
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table th:nth-child(2),.ckk-reader[data-book="book2"] .ckk-book2-authors-table td:nth-child(2){padding-left:14px!important}
}

/* v19.7.6.35 — robust Book 2 author cards (fix vertical letter collapse) */
.ckk-reader[data-book="book2"] .ckk-book2-authors-table{
  display:table!important;width:100%!important;max-width:760px!important;
  border-collapse:separate!important;border-spacing:0 24px!important;
  table-layout:fixed!important;margin:1.1em auto 2em!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table thead{display:table-header-group!important}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table tbody{display:table-row-group!important}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table tr{display:table-row!important}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table th,
.ckk-reader[data-book="book2"] .ckk-book2-authors-table td{
  display:table-cell!important;border:0!important;background:transparent!important;
  vertical-align:middle!important;min-width:0!important;max-width:none!important;
  overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table th:first-child,
.ckk-reader[data-book="book2"] .ckk-book2-authors-table td:first-child{
  width:175px!important;padding:0!important;text-align:center!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table th:nth-child(2),
.ckk-reader[data-book="book2"] .ckk-book2-authors-table td:nth-child(2){
  width:auto!important;padding:0 0 0 28px!important;text-align:left!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table img{
  display:block!important;width:145px!important;max-width:145px!important;height:auto!important;margin:0 auto!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p{
  display:block!important;width:auto!important;max-width:100%!important;margin:.3em 0!important;
  text-indent:0!important;text-align:left!important;white-space:normal!important;
  word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;line-height:1.45!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p:first-child{color:#174f3a!important;font-weight:700!important}
@media(max-width:620px){
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table{table-layout:auto!important;max-width:100%!important}
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table th:first-child,
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table td:first-child{width:120px!important}
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table img{width:105px!important;max-width:105px!important}
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table th:nth-child(2),
 .ckk-reader[data-book="book2"] .ckk-book2-authors-table td:nth-child(2){padding-left:14px!important}
}


/* v19.7.6.37 — Book 1 live contents matches Book 2 */
.ckk-reader[data-book="book1"] .ckk-live-toc{margin:1em 0 2.2em!important}
.ckk-reader[data-book="book1"] .ckk-live-toc-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:end!important;padding:.38em 0!important;border-bottom:1px dotted rgba(80,70,55,.28)!important;text-decoration:none!important;color:inherit!important}
.ckk-reader[data-book="book1"] .ckk-live-toc-row.is-sub{padding-left:1.25em!important;font-size:.94em!important}
.ckk-reader[data-book="book1"] .ckk-live-toc-row.is-practice{padding-left:1.25em!important;font-style:italic!important}
.ckk-reader[data-book="book1"] .ckk-live-toc-page{font-variant-numeric:tabular-nums!important;min-width:2.2em!important;text-align:right!important;color:#66736c!important}
.ckk-reader[data-book="book1"] .ckk-live-toc-row.is-locked .ckk-live-toc-page{font-size:.85em!important}

/* v19.7.6.38 — Book 2: visible paper sheet, matching Book 1 reading presentation. */
.ckk-reader[data-book="book2"] .ckk-reader__viewport{
  background:#dedbd4!important;
  padding:34px 28px 80px!important;
}
.ckk-reader[data-book="book2"] .ckk-reader__page{
  width:min(860px,calc(100% - 16px))!important;
  min-height:calc(100vh - 150px)!important;
  margin:0 auto!important;
  padding:54px 64px 90px!important;
  background:#fffdf7!important;
  border:1px solid rgba(86,80,69,.18)!important;
  box-shadow:0 14px 38px rgba(45,42,36,.16)!important;
  box-sizing:border-box!important;
}
.ckk-reader[data-book="book2"][data-theme="sepia"] .ckk-reader__viewport{background:#cfc4ad!important}
.ckk-reader[data-book="book2"][data-theme="sepia"] .ckk-reader__page{background:#f2e6cb!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-reader__viewport{background:#101612!important}
.ckk-reader[data-book="book2"][data-theme="dark"] .ckk-reader__page{background:#172019!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 14px 38px rgba(0,0,0,.28)!important}
/* Keep both author descriptions typographically identical. */
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p{
  font-family:inherit!important;font-size:1em!important;font-style:normal!important;
  font-weight:700!important;line-height:1.45!important;color:inherit!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-authors-table p:first-child{
  font-family:inherit!important;font-size:1em!important;font-style:normal!important;
  font-weight:700!important;line-height:1.45!important;color:#174f3a!important;
}
@media(max-width:700px){
  .ckk-reader[data-book="book2"] .ckk-reader__viewport{padding:14px 8px 50px!important}
  .ckk-reader[data-book="book2"] .ckk-reader__page{width:100%!important;padding:34px 20px 70px!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
}

/* v19.7.6.39 — Book 2 compact paper height: content determines sheet height. */
.ckk-reader[data-book="book2"] .ckk-reader__page{
  min-height:0!important;
  height:auto!important;
  padding-bottom:80px!important;
}
@media(max-width:700px){
  .ckk-reader[data-book="book2"] .ckk-reader__page{
    min-height:0!important;
    height:auto!important;
    padding-bottom:58px!important;
  }
}

/* v19.7.6.40 — remove residual empty vertical space.
   1) Catalog/search results must collapse to the actual visible rows.
   2) Book 2 front/title blocks must never reserve viewport-height blank space. */
.ckk-books-only,
.ckk-books-only .ckk-shell,
.ckk-books-only .ckk-books-layout,
.ckk-books-only .ckk-books-stage{
  min-height:0!important;
  height:auto!important;
}
.ckk-books-only .ckk-books-stage{
  padding-bottom:8px!important;
}
.ckk-reader[data-book="book2"] .ckk-book2-titlepage{
  min-height:0!important;
  height:auto!important;
  padding-top:2.2em!important;
  padding-bottom:2.2em!important;
}
.ckk-reader[data-book="book2"] .ckk-reader__viewport{
  min-height:0!important;
}
\n\n/* v19.7.6.41 — book 2 note fields matching book 1 */
.ckk-book2 .ckk-notes-box,
body.ckk-book2 .ckk-notes-box,
.ckk-reader-book2 .ckk-notes-box,
.ckk-notes-box {
  box-sizing: border-box;
  width: min(100%, 620px);
  min-height: 520px;
  margin: 34px auto 42px;
  padding: 26px 30px 30px;
  border: 1.2px solid rgba(66,72,68,.55);
  border-radius: 20px;
  background: rgba(255,255,255,.46);
  overflow: hidden;
}
.ckk-notes-title {
  margin: 0 0 4px;
  font-family: Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #a8aaa7 !important;
  letter-spacing: 0;
}
.ckk-notes-lines {
  height: 430px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 22px,
    rgba(125,130,126,.34) 22px,
    rgba(125,130,126,.34) 23px
  );
}
@media (max-width: 700px) {
  .ckk-notes-box { min-height: 390px; padding: 20px 22px 24px; border-radius: 16px; margin: 26px auto 32px; }
  .ckk-notes-lines { height: 315px; }
}

/* v19.7.6.42 — light WooCommerce account/login/register fields */
.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row input[type="text"],
.woocommerce-account .woocommerce form .form-row input[type="email"],
.woocommerce-account .woocommerce form .form-row input[type="password"],
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select{
  background:#fffdf8 !important;
  color:#203129 !important;
  border:1px solid #d8d7cf !important;
  caret-color:#203129 !important;
  box-shadow:none !important;
}
.woocommerce-account .woocommerce form .form-row input::placeholder,
.woocommerce-account .woocommerce form .form-row textarea::placeholder{
  color:#8b958f !important;
  opacity:1 !important;
}
.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce form .form-row input[type="text"]:focus,
.woocommerce-account .woocommerce form .form-row input[type="email"]:focus,
.woocommerce-account .woocommerce form .form-row input[type="password"]:focus,
.woocommerce-account .woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce form .form-row select:focus{
  outline:none !important;
  border-color:#6f9458 !important;
  box-shadow:0 0 0 2px rgba(111,148,88,.14) !important;
}
.woocommerce-account .woocommerce form .show-password-input{
  color:#52635a !important;
}
