:root{color-scheme:dark;font:16px system-ui,sans-serif;background:#10131d;color:#f7f5ff}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#cbc6dd;text-underline-offset:4px}a:hover{color:#fff}button{font:inherit;color:inherit;background:#32294a;border:1px solid #5b4e78;border-radius:12px;min-height:44px;padding:8px 12px;cursor:pointer}:focus-visible{outline:2px solid #c4b5fd;outline-offset:3px}.shell{width:min(100% - 32px,1024px);margin-inline:auto}.site-header{border-bottom:1px solid #3c3657;background:#191626;padding:18px 0}.brand{display:inline-flex;align-items:center;gap:8px;font-size:1.35rem;font-weight:800;text-decoration:none;line-height:1}.brand-name{display:inline-flex;gap:.18em;align-items:baseline;letter-spacing:-.045em}.brand-number{color:#f7f5ff}.brand-word{color:#fb923c}.brand-mark{width:34px;height:32px;object-fit:contain;flex:none}nav{display:flex;flex-wrap:wrap;gap:12px 20px;margin-block:12px}form[role=search]{display:flex;gap:8px;max-width:430px}form input{min-width:0;flex:1;background:#10131d;color:inherit;border:1px solid #5b4e78;border-radius:12px;padding:8px 12px;font:inherit}main.shell{margin-block:36px 64px;min-height:65vh}h1{margin:8px 0 24px;font-size:clamp(2rem,7vw,3.5rem);letter-spacing:-.04em;line-height:1.12}h2{font-size:1.35rem}#readingBooks ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px;padding:0;list-style:none}#readingBooks li a{display:block;height:100%;padding:14px;background:#201b32;border:1px solid #3c3657;border-radius:12px;text-decoration:none}#readingBooks li a:hover{background:#29233e;border-color:#756392}.site-footer{padding:12px 0;border-top:1px solid #3c3657}.site-footer nav{margin:0}article{max-width:760px;margin:2rem auto;line-height:1.8;font-family:Georgia,'Times New Roman',serif;font-size:1.12rem}article section{margin-block:2rem;padding:clamp(16px,4vw,28px);border:1px solid #3c3657;border-radius:16px;background:#201b32}article h2,article h3{line-height:1.3;scroll-margin-top:1rem}article p{overflow-wrap:anywhere}article .verse{white-space:pre-line}article table{display:block;max-width:100%;overflow-x:auto}main details{margin-block:1.5rem;padding:16px;border:1px solid #3c3657;border-radius:12px;background:#201b32}main summary{cursor:pointer;color:#c4b5fd}main details ol{line-height:1.8}main>nav{margin-bottom:1rem}main>nav a{display:inline-block;padding:8px 12px;border:1px solid #5b4e78;border-radius:12px;background:#32294a;text-decoration:none}main>p{color:#cbc6dd}.book-text-credit{margin-top:2rem;color:#cbc6dd}
main>nav a.home-button{background:#493766;border-color:#8b75b2;color:#fff;font-weight:700}main>nav a.home-button:hover{background:#5c477d}
:root{color-scheme:light;background:#fff;color:#202536}
body{background:#fff;color:#202536}
a{color:#203b78}
a:hover{color:#e85b22}
.site-header{background:#fff;border-bottom-color:#e5e7eb}
.brand-number{color:#18346b}.brand-word{color:#ef5a24}
nav a{color:#203b78}
button{color:#202536;background:#fff;border-color:#cfd5df}
article section,main details,#readingBooks li a{background:#f8f9fc;border-color:#e5e7eb;color:#202536}
main summary{color:#e85b22}
main>p{color:#4b5567}
.site-footer{border-color:#e5e7eb}
main>nav a{background:#fff;border-color:#cfd5df;color:#203b78}
main>nav a.home-button{background:#18346b;border-color:#18346b;color:#fff}
main>nav a.home-button:hover{background:#ef5a24;border-color:#ef5a24}
.site-header form[role="search"]{width:min(100%,760px);max-width:760px;min-height:42px;display:flex;align-items:stretch;gap:0;padding:2px;border:2px solid #14277b;border-radius:13px;background:#fff}
.site-header form[role="search"]:focus-within{box-shadow:0 0 0 3px #14277b20}
.site-header form[role="search"] input{min-width:0;min-height:36px;flex:1;padding:7px 11px;border:0;border-radius:9px;background:transparent;color:#202536;box-shadow:none}
.site-header form[role="search"] input:focus{outline:none}
.site-header form[role="search"] input::placeholder{color:#858da7;opacity:1}
.site-header form[role="search"] button{min-height:36px;padding:0 16px;border:0;border-radius:10px;background:#10247b;color:#fff;font-weight:700}
.site-header form[role="search"] button:hover{background:#213991}
@media(max-width:520px){.site-header form[role="search"]{width:100%;max-width:none}.site-header form[role="search"] button{padding-inline:12px}}
.site-header .shell{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account" "nav nav" "search search";align-items:center;gap:12px 20px}
.site-header .brand{grid-area:brand;justify-self:start}
.site-header .header-account-link{grid-area:account;justify-self:end;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 15px;border:0;border-radius:11px;background:#14277b;color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.site-header .header-account-link:hover{background:#263b9d;color:#fff}
.site-header .header-account-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header nav{grid-area:nav;margin:0;gap:10px 20px}
.site-header form[role="search"]{grid-area:search;margin:0}
@media(max-width:520px){.site-header .shell{gap:11px 10px}.site-header .brand{font-size:1.2rem}.site-header .brand-mark{width:30px;height:28px}.site-header .header-account-link{min-height:40px;padding:7px 11px}.site-header nav{gap:8px 14px;font-size:14px}}
.cookie-banner{position:fixed;z-index:1000;right:16px;bottom:16px;display:grid;gap:14px;width:min(448px,calc(100vw - 32px));padding:16px;border-radius:15px;background:#2c3459;color:#fff;box-shadow:0 8px 28px #11182740;font:14px/1.4 Arial,Helvetica,sans-serif}
.cookie-banner p{margin:0;color:#fff}
.cookie-banner a{color:#b9b4ff;font-weight:700;text-decoration:none}
.cookie-banner a:hover{text-decoration:underline}
.cookie-banner button{width:100%;min-height:38px;padding:8px 14px;border:0;border-radius:10px;background:#efefff;color:#4438c5;font:inherit;font-weight:700;cursor:pointer}
.cookie-banner button:hover{background:#dedcff}
@media(max-width:520px){.cookie-banner{right:12px;bottom:12px;width:calc(100vw - 24px);padding:14px}}
.site-footer{margin-top:0;padding:0;border-top:0;background:#18346b;color:#fff}
.site-footer .shell{display:flex;align-items:center;flex-wrap:wrap;gap:8px 0;width:min(100% - 32px,1180px);min-height:72px;margin-inline:auto;padding-block:14px}
.site-footer .footer-copy{margin-right:8px;color:#fff;font-size:14px;white-space:nowrap}
.site-footer nav a:not(.footer-top){padding:4px 0;color:#ffb21c;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.site-footer nav a:not(.footer-top):hover{color:#fff}
.site-footer nav a:not(.footer-top):not(:first-of-type)::before{content:"|";margin:0 9px;color:#fff}
.site-footer .footer-top{display:grid;place-items:center;flex:none;width:34px;height:34px;margin-left:auto;border:2px solid #afc0df;border-radius:2px;color:#fff;text-decoration:none}
.site-footer .footer-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:square;stroke-linejoin:miter}
@media(max-width:760px){.site-footer .shell{gap:8px 0}.site-footer .footer-copy{flex-basis:100%;white-space:normal}.site-footer nav a:not(.footer-top){font-size:13px}.site-footer .footer-top{margin-left:auto}}
/* Единая типографика сайта */
body{font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}
h1{margin:8px 0 20px;color:#18346b;font-size:clamp(28px,3vw,36px);font-weight:700;line-height:1.2;letter-spacing:-.025em}
h2{font-size:24px;font-weight:700;line-height:1.3;letter-spacing:-.015em}
h3{font-size:20px;font-weight:700;line-height:1.35}
article{font-family:Georgia,'Times New Roman',serif;font-size:1.12rem;line-height:1.8}
@media(max-width:600px){h1{font-size:28px}h2{font-size:21px}}

.book-overview{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);gap:20px;align-items:start;margin:24px 0}.reading-book-cover{display:block;width:100%;max-width:150px;height:auto;border-radius:8px;object-fit:cover}.description-text.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}.description-toggle{margin-top:8px;color:#14277b;background:transparent;border:0;padding:4px 0;min-height:32px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.description-toggle:hover{background:transparent;color:#e85b22}@media(max-width:520px){.book-overview{grid-template-columns:90px minmax(0,1fr);gap:14px}.reading-book-cover{max-width:90px}}
