/* A short shared-reading ritual: large text and an evening that gradually settles. */
.theme-kto-jeszcze-nie-spi{background:#112b40;color:#f8f4e9}
.theme-kto-jeszcze-nie-spi .book-opening{background:radial-gradient(ellipse at 20% 45%,#3b5860,transparent 62%),linear-gradient(145deg,#19384c,#122338);gap:65px}
.theme-kto-jeszcze-nie-spi .cover-volume{max-width:440px}.theme-kto-jeszcze-nie-spi .standard-cover-type{background:#19354b}.theme-kto-jeszcze-nie-spi .standard-cover-title{font-family:Literata,Georgia,serif;font-size:clamp(2.3rem,4vw,3.6rem);font-weight:550;line-height:1.15;letter-spacing:-.035em}.theme-kto-jeszcze-nie-spi .standard-cover-art{aspect-ratio:1.05;height:auto}.theme-kto-jeszcze-nie-spi .standard-cover-art img{object-position:center 45%}.theme-kto-jeszcze-nie-spi .open-book{background:linear-gradient(110deg,#f7df9f,#eac387);color:#122c40}
.theme-kto-jeszcze-nie-spi .reader-top{background:#142d43f5;backdrop-filter:blur(16px)}.theme-kto-jeszcze-nie-spi .reader-top h1{font-family:Literata,serif;font-weight:550}.theme-kto-jeszcze-nie-spi .story-title{display:none}
.theme-kto-jeszcze-nie-spi .reading-page{margin:0;max-width:none;border:0;padding:0;background:#f5f3ed;color:#153349;overflow:hidden;transition:background 1.2s}.theme-kto-jeszcze-nie-spi .page-art{max-width:1450px;margin:0 auto;gap:0;grid-template-columns:1fr 1fr;align-items:center}.theme-kto-jeszcze-nie-spi .page-art>img{width:100%;height:auto;max-height:none;object-fit:contain;margin:0;transition:filter 1.4s}.theme-kto-jeszcze-nie-spi .page-transcript{width:100%;font-family:Literata,Georgia,serif;font-size:calc(clamp(1.8rem,2.5vw,2.5rem) * var(--reader-text-scale));font-weight:450;line-height:1.65;padding:60px clamp(30px,5vw,75px) 85px;min-height:0;color:inherit}.theme-kto-jeszcze-nie-spi .page-transcript>p{margin:0 0 .8em}.theme-kto-jeszcze-nie-spi #strona-2{background:#e4eced}.theme-kto-jeszcze-nie-spi #strona-3{background:#dae3e9}.theme-kto-jeszcze-nie-spi #strona-4{background:#233f50;color:#f4f1e7}.theme-kto-jeszcze-nie-spi #strona-5{background:#1b344a;color:#f4f1e7}.theme-kto-jeszcze-nie-spi #strona-6{background:#14293e;color:#f4f1e7}
.bedtime-moment{margin-top:28px;padding-top:22px;border-top:1px solid #879ca24d;font:500 1rem/1.65 WorldSans,sans-serif}.theme-kto-jeszcze-nie-spi .bedtime-touch{display:inline-flex;align-items:center;gap:14px;border:1px solid #56778b60;border-radius:5px;padding:14px 18px;color:inherit;min-height:52px;background:linear-gradient(110deg,#ffffff50,#ffffff12);font:650 1rem/1.4 WorldSans,sans-serif;text-align:left;touch-action:manipulation}.theme-kto-jeszcze-nie-spi .bedtime-touch:focus-visible{outline:3px solid #c9a553;outline-offset:5px}.theme-kto-jeszcze-nie-spi .bedtime-touch[aria-pressed=true]{background:#d6b97c;color:#173448;border-color:#d6b97c}.bedtime-response{min-height:3.3em;margin:16px 0 0;opacity:.8;font:400 1rem/1.65 WorldSans,sans-serif}.theme-kto-jeszcze-nie-spi .bedtime-settled .page-art>img{filter:brightness(.72) saturate(.9)}.theme-kto-jeszcze-nie-spi #strona-5.bedtime-settled .page-art>img{filter:brightness(.52)}.theme-kto-jeszcze-nie-spi #strona-6.bedtime-settled .page-art>img{filter:brightness(.38)}.theme-kto-jeszcze-nie-spi #strona-6.bedtime-settled{background:#0d1b2c}.theme-kto-jeszcze-nie-spi .printed-page-number{color:inherit;opacity:.6}
.theme-kto-jeszcze-nie-spi .book-leaf{padding:60px 28px 100px;background:#eff2f1}.theme-kto-jeszcze-nie-spi .book-leaf h2{font-family:Literata,Georgia,serif;font-weight:500;letter-spacing:-.035em}.theme-kto-jeszcze-nie-spi .original-book-logo{width:170px}.theme-kto-jeszcze-nie-spi .closing-leaf,.theme-kto-jeszcze-nie-spi .back-leaf{background:#152a3e;color:#f4f1e7}.theme-kto-jeszcze-nie-spi .closing-leaf .leaf-kicker{color:#d8c59e}.theme-kto-jeszcze-nie-spi .book-activities{background:transparent;color:inherit;margin-top:30px}.theme-kto-jeszcze-nie-spi .book-activities h2{font-size:1.5rem}
.reader-quiet .theme-kto-jeszcze-nie-spi .reading-page{background:#132a3d;color:#eeeade}.reader-text-view .theme-kto-jeszcze-nie-spi .page-transcript{max-width:760px}
@media(min-width:1000px){.theme-kto-jeszcze-nie-spi #strona-2 .page-art>img,.theme-kto-jeszcze-nie-spi #strona-4 .page-art>img{grid-area:1/2}.theme-kto-jeszcze-nie-spi #strona-2 .page-transcript,.theme-kto-jeszcze-nie-spi #strona-4 .page-transcript{grid-area:1/1}}
@media(max-width:800px){.theme-kto-jeszcze-nie-spi .book-opening{padding:26px 26px 42px;gap:26px}.theme-kto-jeszcze-nie-spi .standard-cover-title{font-size:2.25rem}.theme-kto-jeszcze-nie-spi .reader-top h1{font-size:.95rem}.theme-kto-jeszcze-nie-spi .reader-menu>summary>span{display:none}.theme-kto-jeszcze-nie-spi .page-art{display:flex;flex-direction:column}.theme-kto-jeszcze-nie-spi .page-transcript{padding:34px 26px 86px;font-size:calc(1.8rem * var(--reader-text-scale));line-height:1.65}.theme-kto-jeszcze-nie-spi .book-leaf h2{font-size:calc(2.2rem * var(--reader-text-scale))}.theme-kto-jeszcze-nie-spi .story-sound{max-width:calc(100vw - 130px)}.theme-kto-jeszcze-nie-spi .sound-state{display:none}.theme-kto-jeszcze-nie-spi .sound-label{font-size:.875rem}.theme-kto-jeszcze-nie-spi .page-transcript p{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.theme-kto-jeszcze-nie-spi *{transition:none!important;animation:none!important}}
