/* Детски свят: a paper-and-ink identity within the library's green brand. */
.kids-page,.kids-subpage{--kids-green:#164f3b;--kids-ink:#193d32;--kids-cream:#fff9ed;--kids-yellow:#f6ce59;--kids-violet:#e9e0f5;--kids-teal:#d8eeea;--kids-muted:#51655a}
.kids-main{background:var(--kids-cream);color:var(--kids-ink);font-size:16px;line-height:1.7}
.kids-main [hidden]{display:none!important}.kids-main h1,.kids-main h2,.kids-main h3{color:inherit}.kids-main p{margin-bottom:20px}.kids-main h2{font-size:clamp(36px,5vw,58px);line-height:1.08;letter-spacing:-.04em;margin:0 0 22px}.kids-main h2 em{color:#50774c}.kids-wrap{width:min(1184px,calc(100% - 40px));margin-inline:auto}.kids-section{padding-block:54px;scroll-margin-top:80px}.kids-label{font-size:11px;font-weight:700;letter-spacing:.14em;line-height:1.6;margin:0 0 20px;display:flex;align-items:center;gap:9px}.kids-label svg{width:19px;height:19px}.kids-spark{color:#9160ac;font-size:29px;line-height:1}
.kids-main :is(a,button,input,summary):focus-visible,.kids-subnav a:focus-visible{outline:3px solid #a85119;outline-offset:5px}.kids-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid var(--kids-green);border-radius:9px;background:var(--kids-green);color:#fff;font-size:14px;font-weight:700;line-height:1.4;padding:16px 21px;text-align:center;transition:background .18s,transform .18s}.kids-button:hover{background:#0b3a2b;color:#fff;transform:translateY(-2px)}.kids-button svg{width:20px;height:20px}.kids-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:5px 0;font-size:14px;font-weight:700;line-height:1.5;color:inherit;background:none;border:0}.kids-text-link:hover{text-decoration:underline;text-underline-offset:5px}.kids-text-link svg{width:20px;height:20px}.kids-small-note{font-size:12px;line-height:1.6;color:var(--kids-muted);margin-top:20px}.kids-main .kids-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px}
.kids-hero{padding:18px 0 30px;background:var(--kids-cream);overflow:hidden}.kids-breadcrumb{display:flex;gap:10px;font-size:11px;color:var(--kids-muted);margin-bottom:32px}.kids-breadcrumb a:hover{text-decoration:underline}.kids-hero-grid{display:grid;gap:16px}.kids-hero-copy h1{font-family:var(--serif);font-size:clamp(43px,10.7vw,70px);font-weight:400;line-height:1.04;letter-spacing:-.05em;margin:0 0 24px}.kids-hero-copy h1 em{font-weight:400;color:#447349}.kids-lead{font-size:17px;line-height:1.65;max-width:480px}.kids-welcome{font-size:12px;color:var(--kids-muted);margin-top:22px!important}.kids-hero-art{margin:0 -15px 20px;position:relative}.kids-hero-art img{width:100%;height:auto;mix-blend-mode:multiply}.kids-hero-art figcaption{font-family:var(--serif);font-style:italic;font-size:17px;text-align:right;margin:8px 18px 0;color:#5d6954;transform:rotate(-3deg)}
.kids-age-paths{display:grid;gap:10px}.kids-age-paths>a{display:flex;align-items:center;gap:15px;background:#f5dfa1;border-radius:12px;min-height:94px;padding:17px 18px;border:1px solid #193d3210;transition:transform .18s}.kids-age-paths>a:nth-child(2){background:var(--kids-teal)}.kids-age-paths>a:nth-child(3){background:var(--kids-violet)}.kids-age-paths>a:hover{transform:translateY(-3px)}.kids-age-paths small{display:block;font-size:9px;font-weight:700;letter-spacing:.1em;margin-bottom:2px}.kids-age-paths strong{display:block;font-family:var(--serif);font-size:21px;font-weight:400;line-height:1.15}.kids-age-paths>a>svg{margin-left:auto;width:20px}.age-symbol{width:40px;height:40px;display:grid;place-items:center;flex:none}.age-symbol svg{width:35px;height:35px}
.kids-section-nav{position:sticky;top:0;z-index:15;background:#fffdf8;border-block:1px solid #dfe3d6;box-shadow:0 4px 10px #193d3205}.kids-section-nav>.kids-wrap{display:flex;gap:28px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c4cec1 transparent}.kids-section-nav a{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:700;min-height:62px;flex-shrink:0}.kids-section-nav svg{width:19px;height:19px}.kids-section-nav a:hover{color:#97642a}
.kids-books{background:#f5f6eb}.kids-section-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:20px}.kids-section-heading>p{font-size:14px;color:var(--kids-muted);line-height:1.7;max-width:340px}.kids-filter-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 26px}.kids-filters,.kids-grownup-tabs{display:flex;gap:7px;flex-wrap:wrap}.kids-filters button,.kids-grownup-tabs button{min-height:46px;font-size:13px;font-weight:700;padding:11px 17px;border:1px solid #bac9b8;border-radius:25px;background:transparent;color:var(--kids-green)}.kids-filters button[aria-pressed=true],.kids-grownup-tabs button[aria-pressed=true]{background:var(--kids-green);border-color:var(--kids-green);color:white}.kids-filters button:hover,.kids-grownup-tabs button:hover{box-shadow:0 0 0 2px #164f3b20}.kids-book-count{font-size:12px;color:var(--kids-muted);margin:0!important}.kids-book-shelf{display:grid;gap:28px}.kids-book{display:grid;grid-template-columns:106px 1fr;gap:20px;padding-bottom:26px;border-bottom:1px solid #d5ddcb;min-width:0}.kids-book-image{background:#e6eada;border-radius:5px 18px 5px 5px;padding:12px 8px;align-self:start;display:flex;align-items:center;justify-content:center;min-height:160px}.kids-book-image img{width:auto;max-width:100%;height:auto;max-height:175px;object-fit:contain;box-shadow:5px 7px 9px #123c332b;transform:rotate(-3deg)}.kids-book:nth-child(even) .kids-book-image img{transform:rotate(3deg)}.kids-book-tag{font-size:9px;letter-spacing:.04em;color:#5e6d56;display:block;margin-bottom:7px;font-weight:700}.kids-book h3{font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.16;letter-spacing:-.025em;margin:0 0 10px}.kids-book-author{font-size:12px;color:var(--kids-muted);margin-bottom:9px!important}.kids-book-prompt{border-top:1px solid #d5ddcb;margin-top:16px}.kids-book-prompt summary{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;font-weight:700;cursor:pointer;min-height:44px;list-style:none}.kids-book-prompt summary::-webkit-details-marker{display:none}.kids-book-prompt svg{width:15px;height:15px}.kids-book-prompt[open] svg{transform:rotate(45deg)}.kids-book-prompt p{font-size:12px;margin:0 0 12px;line-height:1.6;color:var(--kids-muted)}.kids-book-reserve{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;border-top:1px solid #d5ddcb}.kids-book-reserve svg{width:18px}.kids-book-reserve:hover{color:#956028}.kids-shelf-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:24px}
.kids-play{background:#e9e0f2;position:relative}.kids-play-grid{display:grid;gap:32px}.kids-play-copy>p:not(.kids-label){max-width:400px;font-size:15px;color:#454b47}.kids-play h2 em{color:#76518d}.kids-play-stamp{font-family:var(--serif);display:inline-block;transform:rotate(-8deg);color:#76518d;font-size:43px;line-height:1;border:1.5px dashed #9778ac;border-radius:50%;padding:14px 20px;text-align:center;margin:8px 0}.kids-play-stamp small{display:block;font-family:var(--sans);font-size:8px;letter-spacing:.06em;margin-top:4px}.kids-story-machine{background:#fffaf0;box-shadow:6px 7px 0 #c9bada;border:1px solid #d0bfdd;border-radius:18px;padding:24px 18px;align-self:center;transform:rotate(1deg)}.story-machine-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.09em;border-bottom:1px dashed #c7c9b8;padding-bottom:18px;gap:12px}.story-machine-top>span:first-child{display:flex;gap:7px;align-items:center;font-weight:700}.story-machine-top svg{width:20px;color:#a56e2a}.story-machine-top b{font-weight:400}.story-pieces{display:grid;grid-template-columns:1fr;gap:10px;margin:22px 0}.story-pieces>div{display:grid;grid-template-columns:36px 1fr;column-gap:15px;align-items:center;background:#f7e5ad;padding:14px;border-radius:10px}.story-pieces>div:nth-child(2){background:#dcece7}.story-pieces>div:nth-child(3){background:#efe2ed}.story-pieces>div>span{font-size:9px;letter-spacing:.12em;font-weight:700;grid-column:2}.story-pieces>div>svg{grid-column:1;grid-row:1/3;width:33px;height:33px}.story-pieces strong{grid-column:2;font-family:var(--serif);font-size:20px;line-height:1.25;font-weight:400;display:block}.story-question{text-align:center;font-size:14px;margin:15px 0 20px}.story-roll{display:flex;width:100%;background:#604777;border-color:#604777}.story-roll:hover{background:#48335e}
.kids-challenge{background:var(--kids-green);color:#fffbed}.kids-challenge h2 em{color:#f6ce59}.kids-challenge-grid{display:grid;gap:32px}.kids-challenge-grid>div>p:not(.kids-label){font-size:15px;max-width:420px;color:#e0e9d8}.kids-progress-card{max-width:400px;margin-top:26px}.kids-progress-card>span{font-size:12px;font-weight:700}.kids-progress-card progress{display:block;width:100%;height:9px;margin:13px 0 15px;border:0;border-radius:20px;overflow:hidden;background:#ffffff30;accent-color:#f6ce59}.kids-progress-card progress::-webkit-progress-bar{background:#ffffff30;border-radius:20px}.kids-progress-card progress::-webkit-progress-value{background:#f6ce59;border-radius:20px}.kids-progress-card progress::-moz-progress-bar{background:#f6ce59;border-radius:20px}.kids-progress-card p{font-size:13px;line-height:1.6;min-height:42px;color:#f6e9bc}.kids-challenge .kids-local-note{font-size:11px!important;color:#d5dfcb!important;max-width:340px!important}.kids-challenge .kids-text-link{color:#fffbed;font-size:11px}.kids-missions{display:grid;gap:10px}.kids-mission{position:relative;display:flex;align-items:center;gap:12px;padding:18px 14px;background:#fffaf0;color:var(--kids-ink);border:2px solid transparent;border-radius:10px;cursor:pointer;transition:background .18s}.kids-mission input{position:absolute;opacity:0;width:22px;height:22px;left:15px;top:50%;transform:translateY(-50%)}.mission-check{border:1.5px solid #9cae9b;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:transparent;flex:none;font-size:14px;font-weight:700}.kids-mission:has(input:checked){background:#f6e9ac;border-color:#f6ce59}.kids-mission input:checked+.mission-check{background:var(--kids-green);border-color:var(--kids-green);color:#fff}.kids-mission:has(input:focus-visible){outline:3px solid #f6ce59;outline-offset:4px}.mission-icon{display:none}.kids-mission strong{display:block;font-size:14px;line-height:1.35;margin-bottom:3px}.kids-mission small{font-size:11px;line-height:1.5;display:block;color:#5b6b60}.mission-number{font-family:var(--serif);font-size:25px;color:#5a775c;margin-left:auto;flex:none;padding-left:7px}
.kids-grownups{background:#fffdf7}.kids-grownup-tabs{margin:24px 0 30px}.kids-grownup-tabs button{border-radius:8px;min-width:130px}.kids-audience-panel{display:grid;gap:28px;border-top:1px solid #dbe1d3;padding-top:30px}.kids-audience-panel+.kids-audience-panel{margin-top:30px}.kids-audience-panel[hidden]+.kids-audience-panel{margin-top:0}.kids-adult-intro h3{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:14px 0 18px}.kids-adult-intro p{color:var(--kids-muted);font-size:14px;max-width:400px}.kids-doodle{display:block;color:#875794}.kids-doodle svg{width:45px;height:45px;transform:rotate(-8deg)}.kids-ideas-list{list-style:none;margin:0;padding:0;display:grid;gap:22px}.kids-ideas-list li{display:flex;gap:20px}.kids-ideas-list li>span{font-size:27px;font-family:var(--serif);color:#90846a;line-height:1.2}.kids-ideas-list h4{font-size:16px;line-height:1.4;margin:0 0 7px}.kids-ideas-list p{font-size:14px;line-height:1.75;color:var(--kids-muted);margin:0;max-width:520px}.kids-resource-links{border-top:1px solid #dbe1d3;margin-top:35px;display:grid}.kids-resource-links a{display:flex;gap:18px;align-items:center;padding:22px 0;border-bottom:1px solid #dbe1d3}.kids-resource-links a>svg:first-child{width:31px;height:31px;color:#805b94}.kids-resource-links a>svg:last-child{margin-left:auto;width:20px}.kids-resource-links strong{display:block;font-size:14px;line-height:1.5;margin-bottom:3px}.kids-resource-links small{font-size:11px;line-height:1.5;color:var(--kids-muted);display:block}.kids-resource-links a:hover strong{text-decoration:underline;text-underline-offset:4px}
.kids-library-life{background:#f5e8cc}.kids-life-grid{display:grid;gap:38px;align-items:center}.kids-life-photo{position:relative;padding:10px 10px 45px;background:#fffdf7;transform:rotate(-2deg);box-shadow:5px 7px 0 #d6c39d;width:calc(100% - 7px)}.kids-life-photo img{width:100%;height:270px;object-fit:cover}.kids-life-photo>span{position:absolute;left:20px;bottom:14px;font-size:10px;letter-spacing:.12em}.kids-life-grid h2{font-size:clamp(35px,4vw,49px)}.kids-life-grid>div>p:not(.kids-label){font-size:15px;color:var(--kids-muted);max-width:420px}.kids-life-grid .kids-text-link{display:flex;max-width:250px;margin-top:13px}
.kids-visit{background:#e3efdf}.kids-visit-grid{display:grid;gap:36px}.kids-visit-name{font-size:14px;max-width:340px}.kids-hours{display:flex;gap:16px;margin:26px 0}.kids-hours svg{width:26px;height:26px}.kids-hours strong,.kids-hours span{display:block;font-size:13px;line-height:1.7}.kids-hours span{margin-top:4px}.kids-visit-details>.kids-small-note{font-size:11px;max-width:360px}.kids-faq h3{font-family:var(--serif);font-weight:400;font-size:27px;letter-spacing:-.025em;margin-bottom:24px}.kids-faq details{border-top:1px solid #bacdb7}.kids-faq details:last-child{border-bottom:1px solid #bacdb7}.kids-faq summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;font-size:14px;font-weight:700;line-height:1.5;list-style:none;cursor:pointer}.kids-faq summary::-webkit-details-marker{display:none}.kids-faq summary svg{width:20px;height:20px}.kids-faq details[open] summary svg{transform:rotate(45deg)}.kids-faq p{font-size:13px;line-height:1.8;color:#42584c}.kids-faq details>a{font-size:13px;text-decoration:underline;text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px;margin-bottom:13px;font-weight:700}.kids-endnote{display:flex;justify-content:center;align-items:center;gap:28px;padding:45px 20px;background:#f8d774}.kids-endnote p{font-family:var(--serif);font-size:24px;line-height:1.3;text-align:center;margin:0}.kids-endnote strong{font-weight:400}.kids-endnote>span{font-size:44px;color:#865fa0;transform:rotate(-13deg)}
/* The same identity continues into the existing seven resource pages. */
.kids-subpage{background:#fffdf7}.kids-subnav{display:flex;align-items:center;gap:24px;overflow-x:auto;padding:16px max(20px,calc((100% - 1184px)/2));border-bottom:1px solid #e0e5d5;background:#fff9ed}.kids-subnav a{font-size:12px;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:8px;font-weight:700;color:#164f3b}.kids-subnav .kids-subbrand{font-family:var(--serif);font-size:23px;margin-right:12px}.kids-subbrand svg{color:#805b94;width:25px;height:25px}.kids-subpage .inner-hero{background:#f3eacc;border:0;border-radius:18px 65px 18px 18px}.kids-subpage .inner-hero h1{color:#164f3b}.kids-subpage .breadcrumbs{margin-top:25px}.kids-subpage .source-document h2,.kids-subpage .source-document h3{color:#164f3b}.kids-subpage .article-toc{background:#e7efde;border-color:#cbdaba}.kids-subpage .scan-gallery{gap:25px}.kids-subpage .scan-gallery figure{background:#f1f3e5;border:0;padding:20px;border-radius:9px}.kids-subpage .scan-gallery img{max-height:300px;object-fit:contain;margin:auto;box-shadow:5px 7px 10px #193d3220}.kids-subpage .page-return{border-color:#cbdaba}
@media(min-width:600px){.kids-wrap{width:min(1184px,calc(100% - 64px))}.kids-age-paths{grid-template-columns:repeat(3,1fr);gap:14px}.kids-age-paths>a{flex-wrap:wrap;gap:9px;padding:18px}.kids-age-paths strong{font-size:20px}.kids-age-paths>a>svg{width:17px}.age-symbol{width:30px;height:30px}.age-symbol svg{width:28px;height:28px}.kids-book-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.kids-book{display:block;border:0;padding:0}.kids-book-image{height:240px;margin-bottom:23px;padding:25px 20px;border-radius:7px 40px 7px 7px}.kids-book-image img{max-height:200px;width:auto;max-width:100%}.kids-book h3{font-size:26px;min-height:63px}.kids-book-tag{font-size:10px}.kids-book-author{min-height:36px;font-size:13px}.kids-book-prompt summary{font-size:12px}.kids-book-reserve{font-size:13px}.kids-age-paths>a>span:nth-child(2){min-height:58px}.story-pieces{grid-template-columns:repeat(3,1fr);gap:10px}.story-pieces>div{display:flex;flex-direction:column;gap:17px;text-align:center;min-height:200px;padding:20px 12px}.story-pieces strong{font-size:21px}.story-pieces>div>svg{width:36px;height:36px}.kids-story-machine{padding:26px}.mission-icon{display:block;color:#6c7765}.mission-icon svg{width:27px;height:27px}.kids-mission{gap:16px;padding:19px}.kids-mission strong{font-size:15px}.kids-mission small{font-size:12px}}
@media(min-width:900px){.kids-wrap{width:min(1184px,calc(100% - 96px))}.kids-section{padding-block:86px;scroll-margin-top:78px}.kids-hero{padding:22px 0 37px}.kids-breadcrumb{margin-bottom:17px}.kids-hero-grid{grid-template-columns:1fr 1.12fr;align-items:center;gap:12px;min-height:430px}.kids-hero-copy{position:relative;z-index:1;padding:25px 0}.kids-hero-copy h1{font-size:clamp(56px,5.2vw,77px);white-space:nowrap}.kids-hero-art{margin:0 -30px 0 0}.kids-hero-art img{width:100%;max-width:none}.kids-hero-art figcaption{margin-top:8px;font-size:19px;margin-right:45px}.kids-lead{font-size:17px;max-width:460px}.kids-welcome{margin:23px 0 0!important}.kids-age-paths{margin-top:26px;gap:22px}.kids-age-paths>a{flex-wrap:nowrap;padding:22px;gap:17px;min-height:100px}.kids-age-paths>a>span:nth-child(2){min-height:0}.kids-age-paths strong{font-size:23px}.age-symbol{width:37px;height:37px}.age-symbol svg{width:34px;height:34px}.kids-section-nav>.kids-wrap{justify-content:space-between;overflow:visible;gap:20px}.kids-section-nav a{font-size:13px;min-height:65px}.kids-section-heading{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:50px;margin-bottom:26px}.kids-section-heading>p{margin-bottom:24px}.kids-book-shelf{gap:42px}.kids-book-image{height:300px}.kids-book-image img{max-height:250px}.kids-book h3{font-size:29px;min-height:70px}.kids-book-author{min-height:0}.kids-book-prompt summary{font-size:13px}.kids-book-prompt p{font-size:13px}.kids-book-reserve{font-size:14px;min-height:50px}.kids-play-grid{grid-template-columns:.85fr 1.15fr;gap:64px;align-items:center}.kids-play-stamp{margin-top:14px}.kids-story-machine{padding:30px}.story-pieces>div{min-height:225px}.story-pieces strong{font-size:23px}.kids-challenge-grid{grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}.kids-audience-panel{grid-template-columns:1fr 1.15fr;gap:80px;padding-top:38px}.kids-adult-intro h3{font-size:35px}.kids-ideas-list{gap:24px}.kids-ideas-list h4{font-size:17px}.kids-ideas-list p{font-size:14px}.kids-resource-links{margin-top:48px}.kids-resource-links a{padding:22px 0;gap:22px}.kids-resource-links strong{font-size:17px}.kids-resource-links small{font-size:12px}.kids-life-grid{grid-template-columns:1fr 1fr;gap:90px}.kids-life-photo img{height:330px}.kids-visit-grid{grid-template-columns:1fr 1.15fr;gap:80px}.kids-faq h3{font-size:32px}.kids-endnote{padding:50px;gap:80px}.kids-endnote p{font-size:32px}.kids-endnote>span{font-size:65px}}
@media(max-width:359px){.kids-wrap{width:calc(100% - 32px)}.kids-hero-copy h1{font-size:39px}.kids-main h2{font-size:33px}.kids-button{font-size:13px;padding-inline:16px}.kids-book{grid-template-columns:88px 1fr;gap:14px}.kids-book h3{font-size:22px}.kids-book-image{min-height:140px}.kids-filters button{padding-inline:12px;font-size:12px}.kids-mission{padding-inline:11px;gap:9px}.mission-number{display:none}}
@media(prefers-reduced-motion:reduce){.kids-main *{scroll-behavior:auto;transition:none!important;animation:none!important}}

.kids-main :is(a,button,input,summary){scroll-margin-top:90px}
@media(min-width:900px) and (max-width:1100px){.kids-hero-copy h1{font-size:clamp(44px,5vw,55px)}.kids-hero-grid{gap:20px}.kids-hero-art{margin-right:-15px}.kids-age-paths strong{font-size:20px}.kids-age-paths>a{gap:11px;padding:18px}}
