:root{color-scheme:dark;--ink:#101327;--panel:#191d36;--gold:#f0d197;--text:#f6f1e9;--muted:#c3c5d7;--line:#ffffff23;font-family:Arial,Helvetica,sans-serif;font-size:16px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--ink);color:var(--text);line-height:1.65}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:6px}a:hover{color:var(--gold)}.skip{position:fixed;top:-100px;left:20px;background:#fff;color:#000;padding:12px;z-index:9}.skip:focus{top:12px}.preview{text-align:center;font-size:.75rem;letter-spacing:.16em;padding:9px;background:#20213a;color:#e4d8c5}.preview span{margin:0 12px;color:var(--gold)}header{height:96px;max-width:1320px;padding:0 6%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:2rem Georgia,serif;letter-spacing:.17em;color:var(--gold)}nav{display:flex;gap:32px;align-items:center;font-size:.875rem}.nav-button{border:1px solid #d8bd8066;border-radius:5px;padding:10px 18px}.nav-button span{margin-left:18px}.hero{position:relative;min-height:660px;display:flex;align-items:center;isolation:isolate;overflow:hidden}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-3}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101327f5 0%,#101327c0 32%,#10132708 72%),linear-gradient(0deg,#101327,transparent 25%);z-index:-1}.hero-copy{width:min(1320px,100%);margin:auto;padding:80px 6% 100px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;color:var(--gold);font-weight:600}.hero h1{font:clamp(3.1rem,5.2vw,5rem)/1.1 Georgia,serif;letter-spacing:-.035em;margin:25px 0;max-width:620px}.hero h1 em{font-weight:normal;color:var(--gold)}.hero-copy>p:not(.eyebrow){max-width:420px;color:#e0dfeb;font-size:1.0625rem}.actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:32px}.button{border:1px solid var(--gold);background:var(--gold);color:#1b1c2c;border-radius:5px;padding:13px 23px;font-size:.9375rem;display:inline-flex;justify-content:center;gap:24px;align-items:center;font-weight:600}.button:hover{background:#ffe4b1;color:#141526}.button.secondary{background:transparent;color:var(--text);border-color:#d9d8e655}.text-link{font-size:.9375rem;border-bottom:1px solid #ffffff55;padding-bottom:3px}.hero-note{margin-top:28px;font-size:.8125rem;color:var(--muted)}.container{max-width:1200px;margin:auto;padding:80px 36px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:32px}h2{font:clamp(2rem,3.4vw,3rem)/1.18 Georgia,serif;letter-spacing:-.025em;margin:12px 0 18px}h3{font:1.65rem/1.25 Georgia,serif;margin:15px 0}.section-heading>p{color:var(--muted);max-width:330px;margin:0 0 4px}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.story-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.cover{height:240px;background:linear-gradient(135deg,#252d51,#52436b);display:flex;justify-content:center;align-items:center;position:relative}.cover.two{background:linear-gradient(140deg,#193b50,#32315f)}.cover img{width:100%;height:100%;object-fit:cover}.cover-number{font:6rem Georgia,serif;color:#efdbb67a}.cover-label{position:absolute;left:22px;top:18px;background:#11172be8;border:1px solid #ffffff33;border-radius:40px;padding:5px 13px;font-size:.75rem;letter-spacing:.04em}.card-copy{padding:24px 28px 28px}.card-copy p{color:var(--muted);margin:0 0 24px}.card-link{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;color:var(--gold);font-size:.9375rem}.private-note{color:var(--muted);font-size:.8125rem;margin-top:20px}.parents{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#15182e}.intro{max-width:650px}.intro>p{color:var(--muted)}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:50px}.number{font-size:.8125rem;color:var(--gold);border-bottom:1px solid #cbb58366;padding-bottom:10px}.benefits h3{font-size:1.4rem}.benefits p{font-size:.9375rem;color:var(--muted)}.membership{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}.membership p{color:var(--muted)}.value-list{padding:32px;border:1px solid #e6ca883d;border-radius:12px;background:linear-gradient(125deg,#26223c,#171c33)}.value-list ul{list-style:none;margin:0;padding:0}.value-list li{padding:17px 0;border-bottom:1px solid var(--line)}.value-list li:last-child{border:0}.value-list li:before{content:'✓';color:var(--gold);margin-right:15px}.trust-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;background:#20243d;border-radius:14px;padding:40px}.trust-row p{color:var(--muted)}.trust-row h2{font-size:2rem}.trust-row details{border-bottom:1px solid var(--line);padding:16px 0}.trust-row summary{cursor:pointer;font-size:.9375rem}.trust-row details p{font-size:.875rem}.about-band{text-align:center;max-width:700px;margin:auto;padding:70px 30px 100px}.about-band p{color:var(--muted)}footer{max-width:1320px;padding:45px 6% 25px;margin:auto;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:30px;justify-content:space-between}footer p{font-size:.8125rem;color:var(--muted)}footer nav{gap:22px;flex-wrap:wrap}.fine{flex-basis:100%;font-size:.75rem}.page{max-width:850px;min-height:60vh;margin:auto;padding:60px 30px 90px}.page h1{font:clamp(2.5rem,5vw,4rem)/1.15 Georgia,serif}.page p{color:var(--muted)}.page h2{font-size:1.75rem;margin-top:35px}.callout{padding:22px 25px;background:var(--panel);border-left:2px solid var(--gold);border-radius:4px;margin:30px 0}.back{color:var(--gold);font-size:.875rem}.reader{max-width:800px;margin:40px auto;padding:45px;background:#f5efdf;color:#242438;border-radius:8px}.reader p{color:inherit;font-family:Georgia,serif;font-size:var(--reading-size,1.25rem);line-height:1.9}.reader-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}.reader-controls button{padding:8px 15px;border:1px solid #686277;border-radius:5px;background:transparent;color:inherit;min-height:44px}.reader-controls button:disabled{opacity:.4;cursor:default}audio{width:100%;margin-top:20px}.reader-status{font-size:.875rem!important}.placeholder-reader{text-align:center;padding:50px 20px}.placeholder-reader h2{color:#242438}.placeholder-reader p{font-size:1.1rem}.reader .eyebrow{color:#65512d}@media(min-width:1600px){.hero{min-height:740px}}@media(max-width:760px){header{height:auto;min-height:90px;padding:20px 6%;flex-wrap:wrap;gap:15px}header nav{width:100%;justify-content:space-between;gap:15px}header .nav-button{display:none}.brand{font-size:1.7rem}.hero{min-height:660px;align-items:flex-end}.hero-image{object-position:68% center}.hero:after{background:linear-gradient(0deg,#101327 2%,#101327e6 35%,#10132724 100%)}.hero-copy{padding:230px 7% 55px}.hero h1{font-size:3.25rem;max-width:430px}.hero-copy>p:not(.eyebrow){font-size:1rem}.container{padding:55px 24px}.section-heading{display:block}.section-heading>p{max-width:none}.story-grid,.benefits,.membership,.trust-row{grid-template-columns:1fr;gap:26px}.cover{height:210px}.benefits{margin-top:35px}.membership{gap:30px}.trust-row{padding:28px}.about-band{padding:30px 25px 60px}.reader{padding:26px 20px}.page{padding:35px 24px 60px}footer nav{gap:18px}.preview{font-size:.7rem;letter-spacing:.09em}.actions{gap:22px}.hero-note{font-size:.75rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}} 



.cast-image{width:100%;height:auto;border-radius:14px;margin-top:20px}.cast-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.cast-grid p{color:var(--muted)}.book-page{max-width:1160px}.book-page>h1{max-width:850px}.book-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:30px 0 15px}.book-toolbar select,.book-toolbar button{font:inherit;padding:10px;border-radius:6px;background:var(--panel);color:var(--text);border:1px solid var(--line);max-width:100%;min-height:44px}.book-spread{background:#f7f0e1;color:#242438;border-radius:14px;overflow:hidden;display:grid;grid-template-columns:1.2fr 1fr;align-items:center}.book-spread img{width:100%;height:auto}.book-text{padding:25px 32px}.book-text p{font:1.15rem/1.65 Georgia,serif;color:#242438}.book-spread.large p{font-size:1.5rem}.book-nav{align-items:center;margin:20px 0 36px}.audio-panel{padding:20px 28px;background:var(--panel);border-radius:12px}.audio-panel h2{margin-top:0}.audio-panel p{font-size:.9rem}.locked-cover{width:100%;max-height:460px;object-fit:cover;border-radius:14px;margin:15px 0 30px}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.plan-grid small{font:1rem Arial}.button:disabled{opacity:.6;cursor:default}.transcript{border-top:1px solid var(--line);padding:25px 0}.transcript summary{cursor:pointer;color:var(--gold)}@media(max-width:760px){.cast-grid,.plan-grid{grid-template-columns:1fr 1fr}.book-spread{grid-template-columns:1fr}.book-toolbar{align-items:stretch;flex-direction:column}.book-text{padding:20px 25px}.book-page{padding-left:16px;padding-right:16px}.plan-grid{grid-template-columns:1fr}}



/* ORELZI wordmark: upright sculpted serif, warm gold, restrained light. */

.brand{display:inline-block;flex-shrink:0;font-family:'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif;font-size:2.65rem;font-weight:700;font-style:normal;line-height:1.15;letter-spacing:.13em;color:#f0d197;text-shadow:0 2px 14px #d7a34d20;}

@supports ((background-clip:text) or (-webkit-background-clip:text)){

.brand{background:linear-gradient(175deg,#fff0c6 8%,#eac780 47%,#c4964b 70%,#f3dca5 96%);background-clip:text;-webkit-background-clip:text;color:transparent;}

.brand:hover{color:transparent;filter:brightness(1.12);}

}

footer .brand{font-size:2.3rem;}

@media(max-width:760px){header .brand{font-size:2.3rem;}footer .brand{font-size:2.1rem;}}

@media(forced-colors:active){.brand,.brand:hover{background:none;color:LinkText;text-shadow:none;filter:none;}}



.auto-pages{display:flex;align-items:center;gap:12px;min-height:44px;margin-top:16px;cursor:pointer}.auto-pages input{width:20px;height:20px;accent-color:var(--gold)}.auto-pages input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}



.reading-modes{border:0;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:12px}.reading-modes legend{margin-bottom:10px}.reading-modes label{display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;cursor:pointer;min-height:44px}.reading-modes label:has(input:checked){border-color:var(--gold);background:#f0d19715}.reading-modes input{accent-color:var(--gold);width:18px;height:18px}.compact-membership{padding-top:40px;padding-bottom:40px}.compact-membership>.button{justify-self:end}@media(max-width:760px){header .nav-button{display:inline-flex;padding:6px 10px}header nav{gap:10px;font-size:.8rem}.compact-membership>.button{justify-self:start}.reading-modes label{flex:1;white-space:nowrap}}



/* Storybook typography: readable, warm, and quietly playful. */

.book-text{padding:clamp(24px,3vw,42px);background:linear-gradient(145deg,#fff9eb,#f7eedc);align-self:stretch;display:flex;flex-direction:column;justify-content:center}

.book-text p{font-family:'Trebuchet MS','Verdana',sans-serif;font-size:clamp(1.3rem,1.65vw,1.5rem);font-weight:500;line-height:1.65;letter-spacing:.005em;color:#302844;margin:0 0 .85em}

.book-text p:last-child{margin-bottom:0}

.book-spread.large .book-text p{font-size:clamp(1.65rem,2.1vw,1.9rem)}

.story-spark{font-family:inherit;font-size:1.12em;font-weight:800;color:#754318;letter-spacing:.035em;background:linear-gradient(transparent 70%,#edcb8466 70%);white-space:nowrap}

.book-spread{grid-template-columns:1.1fr 1fr;border:1px solid #ead7ae;box-shadow:0 16px 45px #0002}

.book-page .audio-panel{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:10px 24px;align-items:center;padding:16px 22px}

.book-page .audio-panel h2{font-size:1.45rem;margin:0}

.book-page .audio-panel audio{width:100%;margin:0;height:42px}

.book-page .reading-modes{margin:0;grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}

.book-page .reading-modes legend{font-size:.85rem;margin-bottom:6px}

.book-page .audio-panel #reading-mode{grid-column:1/-1;margin:0;font-size:.85rem}

.book-toolbar{margin-top:22px}

@media(max-width:760px){.book-spread{grid-template-columns:1fr}.book-text{padding:25px 24px}.book-text p{font-size:1.3rem;line-height:1.65}.book-page .audio-panel{grid-template-columns:1fr;padding:16px}.book-page .audio-panel h2{font-size:1.3rem}.book-toolbar{gap:10px}.book-toolbar select{max-width:100%}}



.owner-review-entry{position:relative;z-index:100;background:#fff0cc;color:#302340;text-align:center;padding:12px 18px;font:700 16px/1.5 sans-serif}.owner-review-entry a{color:#302340;text-decoration:underline;text-underline-offset:3px}.owner-review-entry a:focus-visible{outline:3px solid #563180;outline-offset:4px}



/* Clear page-to-page navigation */

a.back,a.text-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;margin:8px 0;border:2px solid #b698d2;border-radius:14px;background:#eee2ff;color:#38204f;font-weight:700;text-decoration:none}a.back:hover,a.text-link:hover{text-decoration:underline;text-underline-offset:4px}a.back:focus-visible,a.text-link:focus-visible{outline:3px solid #f2c45e;outline-offset:4px}



/* ORELZI portal + wordmark, private review edition. */

a.brand{display:inline-flex;align-items:center;gap:.3em;white-space:nowrap}a.brand::before{content:'';display:inline-block;flex:0 0 auto;width:1.25em;height:1.25em;background:url('/assets/orelzi-symbol.png') center/contain no-repeat} @media print{a.brand::before{display:none}}



/* Approved dream portal artwork, private website integration */

a.brand{background:none;color:var(--gold);line-height:1;letter-spacing:0}a.brand::before{display:none}.brand-art{display:block;width:92px;height:92px;object-fit:contain;border-radius:12px}header{height:112px}footer .brand-art{width:140px;height:140px}.hero-brand-art{position:absolute;right:3%;top:50%;transform:translateY(-50%);width:min(45vw,570px);height:auto;z-index:0;mask-image:radial-gradient(ellipse,black 52%,transparent 73%)}.hero-copy{position:relative;z-index:1;pointer-events:none}.hero-copy a{pointer-events:auto}.hero h1{max-width:53%}@media(max-width:760px){header{height:auto}.brand-art{width:84px;height:84px}.hero{display:flex;flex-direction:column;align-items:stretch}.hero-brand-art{position:relative;right:auto;top:auto;transform:none;width:min(100%,390px);margin:0 auto -35px}.hero-copy{padding:0 7% 55px}.hero h1{max-width:100%;font-size:clamp(2.6rem,9vw,3.25rem)}}

/* Give the detailed dream logo a consistent, readable presence. */

header .brand-art,footer .brand-art{width:144px;height:144px}header{height:156px}

@media(max-width:760px){header{height:auto;min-height:132px;padding-top:10px;padding-bottom:16px}header .brand-art,footer .brand-art{width:120px;height:120px}}



/* Subscription-compliance preview */

.renewal-summary{padding:18px 20px;border:2px solid var(--gold);border-radius:12px;background:#f0d19710;color:var(--text)}

.tax-note{font-size:.95rem;color:var(--muted);margin:14px 0 22px}

.checkout-grid{display:grid;grid-template-columns:1fr minmax(260px,.7fr);gap:28px;margin:30px 0;padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}

.checkout-grid h2{margin-top:0}.order-total{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:12px;background:#0c0f20}.order-total strong{font-size:1.55rem;color:var(--gold)}

.consent-panel,.confirmation-card,.cancel-card{margin:28px 0;padding:clamp(22px,4vw,38px);border:2px solid #b698d2;border-radius:18px;background:linear-gradient(145deg,#171a35,#11142b)}

.consent-panel h2,.confirmation-card h2,.cancel-card h2{margin-top:0;overflow-wrap:anywhere}.consent-check{display:flex;align-items:flex-start;gap:14px;margin:20px 0;padding:17px;border:1px solid var(--line);border-radius:12px;background:#ffffff08;cursor:pointer}.consent-check input{flex:0 0 auto;width:22px;height:22px;margin-top:2px;accent-color:var(--gold)}.consent-check:focus-within{outline:3px solid var(--gold);outline-offset:3px}.consent-panel .button{margin-top:8px}

.button.danger{background:#f2c5cf;color:#3f1720;border-color:#f2c5cf}.button.danger:hover{background:#ffd8df}

.confirmation-card dl{margin:25px 0}.confirmation-card dl div{display:grid;grid-template-columns:minmax(150px,.45fr) 1fr;gap:18px;padding:15px 0;border-bottom:1px solid var(--line)}.confirmation-card dt{font-weight:700;color:var(--gold)}.confirmation-card dd{margin:0}

@media(max-width:760px){.checkout-grid{grid-template-columns:1fr;padding:20px}.confirmation-card dl div{grid-template-columns:1fr;gap:6px}}

@media print{.preview,header,footer,.back,.confirmation-card .button,.owner-review-entry{display:none!important}.page{max-width:none;padding:0}.confirmation-card{border:1px solid #333;background:#fff;color:#111}.confirmation-card h2,.confirmation-card dt{color:#111}}



/* Keep the page back-link separate from the page label. */

.page > a.back{display:flex;width:max-content;max-width:100%;margin-bottom:24px}





/* Keep the hero statement in two deliberate lines and separate the closing message. */

.hero h1{font-size:clamp(3rem,4.3vw,4.4rem);max-width:none}

.hero-line{display:block;white-space:nowrap}

.hero-copy>p:not(.eyebrow){max-width:500px;line-height:1.55;margin:24px 0 0}

.compact-membership p{margin:0}

.compact-membership .coming-soon{margin-top:10px;color:var(--text);font-weight:600}

@media(max-width:760px){.hero h1{font-size:clamp(2.45rem,8vw,3.25rem)}.hero-line{white-space:normal}.hero-copy>p:not(.eyebrow){margin-top:20px}}



.member-story-list{list-style:none;margin:22px 0 28px;padding:0;border-top:1px solid var(--line)}.member-story-list li{padding:14px 0;border-bottom:1px solid var(--line)}.member-story-list a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.member-story-list span{color:var(--muted);font-size:.875rem}



/* Give the collection introduction an intentional two-line rhythm. */

.section-heading>.story-intro{max-width:420px;flex:0 1 420px}

.story-intro span{display:block}

.story-intro span+span{margin-top:4px}



.launch-pricing{margin:2.5rem 0}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.plan-grid article{padding:1.5rem;border:1px solid #77768e;border-radius:18px}.plan-price{font-size:2rem!important;font-weight:700}.plan-price span{font-size:1rem;font-weight:400}@media(max-width:600px){.plan-grid{grid-template-columns:1fr}}



/* Approved primary tagline, October 2. */

.hero-copy > .orelzi-tagline,.page > .orelzi-tagline{font-family:Georgia,serif;font-size:clamp(1.05rem,2vw,1.3rem);line-height:1.5;color:var(--gold);max-width:100%;margin:16px 0 20px;}



/* Approved brand lockup and family storytelling copy. */

.hero-brand-lockup{position:absolute;right:3%;top:50%;transform:translateY(-50%);width:min(45vw,570px);text-align:center;z-index:0}

.hero-brand-lockup .hero-brand-art{position:static;transform:none;width:100%;margin:0;display:block}

.hero-tagline{font:clamp(1.2rem,1.7vw,1.7rem)/1.4 Georgia,serif;color:var(--gold);margin:-36px 10px 0;text-wrap:balance;text-shadow:0 2px 8px #101327}

.footer-brand{text-align:center;max-width:340px}.footer-brand .brand{display:flex;justify-content:center}.footer-brand .footer-tagline{font:1.1rem/1.5 Georgia,serif;color:var(--gold);margin:10px 0 0;text-wrap:balance}

.brand-introduction{max-width:870px;text-align:center;padding-bottom:30px}.brand-introduction>p:not(.eyebrow){color:var(--muted);max-width:700px;margin:20px auto 24px}

@media(max-width:760px){.hero-brand-lockup{position:relative;right:auto;top:auto;transform:none;width:min(100%,390px);margin:0 auto 35px}.hero-tagline{font-size:1.3rem;margin:-24px 22px 0}.footer-brand{width:100%;margin:auto}footer nav{justify-content:center;width:100%}}

/* ORELZI shared reader revision: readable text, reversible sizes, compact mobile pages. */

.book-toolbar{gap:10px;flex-wrap:wrap;scroll-margin-top:12px}.book-toolbar label{font-size:14px}.book-toolbar select,.book-toolbar button{min-height:44px}.book-toolbar #reader-play{background:#494166;color:#fff;border-radius:10px}

.book-spread{align-items:stretch;scroll-margin-top:12px}.book-spread img{height:100%;max-height:600px;object-fit:contain;background:#eee4d4;cursor:pointer}.book-text{padding:20px 24px;cursor:pointer}.book-text p{font:500 20px/1.45 'Trebuchet MS',Verdana,sans-serif;margin:0 0 .55em}.book-spread.large .book-text p{font-size:24px}.book-spread.extra .book-text p{font-size:28px}.book-nav{margin:10px 0 22px;gap:8px}.book-nav button{min-height:44px}.book-text p:last-child{margin-bottom:0}

@media(max-width:760px){.book-toolbar{flex-direction:row;align-items:end;margin:16px 0 10px}.book-toolbar>label:first-child{flex:1 1 100%}.book-toolbar>label{display:flex;flex-direction:column;gap:4px}.book-spread{grid-template-columns:1fr;grid-template-rows:auto auto;height:auto}.book-spread img{height:auto;min-height:0;max-height:none;object-fit:contain}.book-text{padding:12px 16px}.book-text p{font-size:18px;line-height:1.4;margin-bottom:.45em}.book-spread.large .book-text p{font-size:22px}.book-spread.extra .book-text p{font-size:26px}.book-nav{flex-wrap:nowrap}.book-nav span{font-size:13px}}







/* Story character doorway and quick name reference. */

.story-friends{margin:1.2rem 0;padding:1rem;border:1px solid #d9dbcf;border-radius:18px;background:#faf8ef;color:#233e35}

.story-friends h2{font-size:1.2rem;margin:0 0 .7rem;line-height:1.3}.friend-list{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0;margin:0}.friend-list li{color:#233e35;flex:1 1 145px;padding:.65rem .8rem;border-radius:12px;background:#fff;line-height:1.4}.friend-list strong{display:block;font-size:1rem;color:#26483a}.friend-list span{font-size:.9rem}.friend-list small{display:block;font-size:.85rem;margin-top:.2rem}.friends-reference{margin:.5rem 0;font-size:1rem;flex-basis:100%}.friends-reference summary{cursor:pointer;padding:.45rem .1rem;font-weight:600}.friends-reference .friend-list{padding:.5rem 0}.friends-reference summary:focus-visible{outline:3px solid #395c49;outline-offset:3px}





/* ORELZI shared interface - October 7 */

:root{--orelzi-night:#101327;--orelzi-panel:#191d36;--orelzi-cream:#f7efd9;--orelzi-gold:#efd096;--orelzi-lavender:#ccb6ed;--orelzi-line:#77768e;--orelzi-card-radius:24px;--orelzi-control-radius:12px}

@media screen{

body{font-family:'Trebuchet MS',Arial,sans-serif;background-color:var(--orelzi-night)}

h1,h2,h3{font-family:Georgia,serif}

body button,body select,body input,body .button,body .reader-entry{font-family:'Trebuchet MS',Arial,sans-serif}

body button,body select,body .button,body .reader-entry{border-radius:var(--orelzi-control-radius);min-height:48px;box-sizing:border-box}

body .button,body .reader-entry{display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none}

body button:focus-visible,body select:focus-visible,body a:focus-visible,body input:focus-visible,body summary:focus-visible{outline:3px solid var(--orelzi-gold);outline-offset:4px}

.library-card,.value-list,.trust-row,.plan-grid article,.audio-panel,.narration-controls,.controls,.consent-panel,.confirmation-card,.cancel-card{border-radius:var(--orelzi-card-radius);border:1px solid var(--orelzi-line);padding:24px}

.library-card{background:linear-gradient(145deg,#24213d,var(--orelzi-panel))}

.library-card .button{border-radius:var(--orelzi-control-radius);min-height:48px;padding:12px 20px}

.library-card nav{gap:14px}

.book-spread,.spread{border-radius:20px}

.reader-playbar,.book-toolbar{gap:12px;flex-wrap:wrap}

.reader-playbar button,.book-toolbar button,body .page-nav button,body .book-nav button{border-radius:var(--orelzi-control-radius);min-height:48px;padding:10px 18px;font-size:17px}

.orelzi-member-brand{display:flex;align-items:center;gap:18px;margin:0 auto 24px;padding:20px 24px;max-width:1100px;background:none;border:0;height:auto}

.orelzi-member-brand .brand{display:block!important;line-height:0;letter-spacing:0;background:none;color:var(--orelzi-gold);text-decoration:none}

.orelzi-member-brand .brand::before{display:none!important}

.orelzi-member-brand img{display:block;width:92px;height:92px;object-fit:contain}

.orelzi-member-brand p{font:18px/1.5 Georgia,serif;color:var(--orelzi-gold);margin:0;max-width:300px}

.story-friends{background:linear-gradient(120deg,#25213d,#202e32);color:var(--orelzi-cream);border:1px solid var(--orelzi-line);border-radius:var(--orelzi-card-radius);padding:24px;margin:24px 0}

.story-friends h2{font:700 23px/1.3 Georgia,serif;color:var(--orelzi-gold);margin:0 0 18px}

.story-friends>p{color:var(--orelzi-cream)}

.story-friends .friend-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;list-style:none;padding:0;margin:0}

.story-friends .friend-list li{display:flex;align-items:center;gap:14px;padding:14px;background:#171b31;color:var(--orelzi-cream);border:1px solid #ccb6ed66;border-top:3px solid var(--friend-color,#ccb6ed);border-radius:16px;min-width:0;flex:unset}

.story-friends .friend-portrait{flex:0 0 74px;width:74px;height:106px;border-radius:12px;background:#f7f0df;border:1px solid #efd096;overflow:hidden}

.story-friends .friend-copy{min-width:0}

.story-friends .friend-list strong{display:block;color:var(--friend-color,#ccb6ed);font:700 25px/1.2 Georgia,serif;overflow-wrap:anywhere}

.story-friends .friend-list span{display:inline-block;color:var(--orelzi-cream);font:700 14px/1.4 'Trebuchet MS',Arial,sans-serif;margin:8px 0 5px}

.story-friends .friend-list small{display:block;color:#ede6dc;font:16px/1.45 'Trebuchet MS',Arial,sans-serif}

.family-screen main>section,.family-screen .card{border-radius:var(--orelzi-card-radius);padding:24px;border-width:1px}

.family-screen .eyebrow{letter-spacing:.12em}

.family-screen nav a,.family-screen main>a:not(.brand),.family-screen .activity-link{border-radius:var(--orelzi-control-radius);box-shadow:none}

.family-screen .button{border-radius:var(--orelzi-control-radius)}

@media(max-width:600px){.orelzi-member-brand{padding:16px 18px;gap:14px;margin-bottom:12px}.orelzi-member-brand img{width:72px;height:72px}.orelzi-member-brand p{font-size:16px}.story-friends{padding:18px}.story-friends .friend-list{grid-template-columns:1fr}.story-friends .friend-portrait{width:64px;height:92px;flex-basis:64px}.story-friends .friend-list strong{font-size:24px}.library-card,.value-list,.trust-row,.plan-grid article,.audio-panel,.narration-controls,.controls{padding:20px}.family-screen main>section,.family-screen .card{padding:20px}}

}

@media print{.orelzi-member-brand{display:none!important}}



/* Centered ORELZI logo and tagline - October 7 */

@media screen{

.orelzi-logo-block,.footer-brand,.library-brand,.account-brand{display:flex;flex-direction:column;align-items:center;gap:12px;width:240px;max-width:100%;text-align:center;flex-shrink:0}

.orelzi-logo-block .brand,.footer-brand .brand,.library-brand .brand,.account-brand .brand{display:block;line-height:0;margin:0}

.orelzi-logo-block .brand-art,.footer-brand .brand-art,.library-brand img,.account-brand img{width:144px;height:144px;object-fit:contain}

.brand-tagline,.footer-tagline,.library-tagline,.account-brand .tagline{font:17px/1.45 Georgia,serif!important;color:#efd096!important;text-align:center!important;margin:0!important;width:100%;max-width:none!important}

body .orelzi-member-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:240px;max-width:calc(100% - 36px);margin:20px auto 24px 24px;padding:0;text-align:center;background:none;border:0;height:auto}

.orelzi-member-brand img{width:144px;height:144px}

.orelzi-member-brand p{font:17px/1.45 Georgia,serif;text-align:center;margin:0;max-width:none;width:100%}

.hero-brand-lockup{ text-align:center }.hero-tagline{text-align:center!important}

body>header:not(.orelzi-member-brand){height:auto;min-height:190px;padding-top:16px;padding-bottom:16px;gap:24px}

@media(max-width:600px){.orelzi-logo-block,.footer-brand,.library-brand,.account-brand{width:220px;gap:10px}.orelzi-logo-block .brand-art,.footer-brand .brand-art,.library-brand img,.account-brand img{width:120px;height:120px}.brand-tagline,.footer-tagline,.library-tagline,.account-brand .tagline{font-size:16px!important}body .orelzi-member-brand{width:220px;margin:18px auto 22px 18px;gap:10px}.orelzi-member-brand img{width:120px;height:120px}.orelzi-member-brand p{font-size:16px}body>header:not(.orelzi-member-brand){min-height:0}}

}



/* Final brand spacing and character accents */

@media screen{.orelzi-logo-block,.footer-brand,.library-brand,.account-brand{width:300px}.orelzi-member-brand p{font-weight:400!important}body .orelzi-member-brand{width:300px;margin-left:max(24px,calc((100% - 1100px)/2))}.story-friends .friend-brumwick{--friend-color:#efd096}.story-friends .friend-fennovi{--friend-color:#ccb6ed}.story-friends .friend-orribun{--friend-color:#a3d1b3}.story-friends .friend-pebbilo{--friend-color:#9ccfd2}@media(max-width:600px){.orelzi-logo-block,.footer-brand,.library-brand,.account-brand{width:280px}body .orelzi-member-brand{width:280px;margin-left:18px}}}



/* Remove legacy miniature symbol from centered logo blocks */

.library-brand .brand::before,.account-brand .brand::before,.orelzi-logo-block .brand::before,.footer-brand .brand::before{display:none!important}



/* About page: breathing room before the story invitation */

.about-copy h2{margin-top:40px}.about-copy p{line-height:1.7}.about-actions{margin-top:32px;padding-top:8px;display:flex;flex-wrap:wrap;gap:16px}.about-actions .button{margin:0}@media(max-width:600px){.about-copy h2{margin-top:32px}.about-actions{margin-top:28px}}



/* Mobile illustrations retain their full width and original proportions at every text size. */

@media(max-width:760px){ .book-spread{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;height:auto;min-height:0}.book-spread img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain}}



/* ORELZI consistent action palette and touch sizing - October 8 */

@media screen{

:root{--orelzi-action:#efd096;--orelzi-action-ink:#242138;--orelzi-secondary:#302946;--orelzi-secondary-ink:#f7efd9;--orelzi-action-line:#9b87b4}

body :is(button,select,.button,.nav-button,.reader-entry,.status-link,.activity-menu a,.family-screen nav a){box-sizing:border-box;border-radius:12px!important;min-height:48px;min-width:0;font-family:'Trebuchet MS',Arial,sans-serif;font-size:16px;line-height:1.3;padding:12px 18px;box-shadow:none!important}

body :is(button,select,.button.secondary,.nav-button,.activity-menu a,.family-screen nav a){background:var(--orelzi-secondary)!important;color:var(--orelzi-secondary-ink)!important;border:1px solid var(--orelzi-action-line)!important}

body :is(.button:not(.secondary):not(.danger),.reader-entry,.status-link,#reader-play,#next,button[type=submit][value=signin],button[type=submit]:not([value]),button[data-test-plan],#print-activities){background:var(--orelzi-action)!important;color:var(--orelzi-action-ink)!important;border:1px solid var(--orelzi-action)!important}

body :is(.button,.nav-button,.reader-entry,.status-link,.activity-menu a,.family-screen nav a){display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}

body :is(button,.button,.nav-button,.reader-entry,.status-link,.activity-menu a,.family-screen nav a):not(:disabled):hover{filter:brightness(1.1)}

body :is(button,select,.button,.nav-button,.reader-entry,.status-link,.activity-menu a,.family-screen nav a):focus-visible{outline:3px solid var(--orelzi-action)!important;outline-offset:4px}

body .choices button:disabled{background:#304846!important;color:#eff8ef!important;border-color:#77b3a1!important;opacity:1}

body :is(button[aria-pressed=true],button.selected){border-color:var(--orelzi-action)!important;outline:2px solid var(--orelzi-action);outline-offset:2px}

body .button.danger{background:#f2c5cf!important;color:#3f1720!important;border-color:#f2c5cf!important}

body .reading-modes label{border-radius:12px;background:var(--orelzi-secondary);color:var(--orelzi-secondary-ink);border:1px solid var(--orelzi-action-line);min-height:48px}

body .reading-modes label:has(input:checked){background:#40324f;border-color:var(--orelzi-action)}

@media(max-width:760px){body :is(.book-nav,.page-nav) :is(button,select){font-size:14px!important;padding:10px 8px!important;min-height:48px}.activity-menu{gap:12px}}

}



/* Bring legacy back/parent/activity bubbles into the shared secondary palette. */

@media screen{body :is(a.back,a.text-link,a.activity-link){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;font:700 16px/1.3 "Trebuchet MS",Arial,sans-serif;border-radius:12px!important;background:var(--orelzi-secondary,#302946)!important;color:var(--orelzi-secondary-ink,#f7efd9)!important;border:1px solid var(--orelzi-action-line,#9b87b4)!important;box-shadow:none!important}body :is(a.back,a.text-link,a.activity-link):focus-visible{outline:3px solid #efd096;outline-offset:4px}}



/* Compact, optional wider ORELZI character guide. */

.universe-guide{margin-top:24px;text-align:left;border:1px solid #9b87b4;border-radius:12px;background:#302946;color:#f7efd9;overflow:hidden}

.universe-guide>summary{box-sizing:border-box;min-height:48px;padding:14px 18px;font:700 17px/1.4 "Trebuchet MS",Arial,sans-serif;cursor:pointer;color:#efd096}

.universe-guide>summary:focus-visible{outline:3px solid #efd096;outline-offset:-4px}

.universe-guide>p{padding:0 18px;color:#f7efd9;font:16px/1.5 "Trebuchet MS",Arial,sans-serif}

.universe-guide .universe-friends-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0 16px 16px}

.universe-guide .universe-friends-list>li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0;padding:14px 8px;border-radius:12px;background:#211d33}

.universe-guide .universe-portrait{display:block;width:72px;height:100px;max-width:100%;border-radius:12px;background:#f7f0df;flex-shrink:0}

.universe-guide .universe-friend-copy{min-width:0;font-family:"Trebuchet MS",Arial,sans-serif}

.universe-guide .universe-friend-copy strong{display:block;font-size:20px;line-height:1.3;color:var(--friend-color,#efd096)}

.universe-guide .universe-friend-copy span{display:block;font-size:15px;line-height:1.5;color:#f7efd9}

.universe-guide .universe-friend-copy small{display:block;margin-top:5px;font-size:14px;line-height:1.5;color:#ded3eb}

.universe-guide .friend-brumwick{--friend-color:#efd096}.universe-guide .friend-fennovi{--friend-color:#ccb6ed}.universe-guide .friend-orribun{--friend-color:#a3d1b3}.universe-guide .friend-pebbilo{--friend-color:#9ccfd2}

@media(max-width:760px){.universe-guide .universe-friends-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media print{.universe-guide{display:none}}



/* Cast-first homepage and full guide use the same approved portraits. */

.home-companions{padding-top:40px;padding-bottom:40px}.home-companions>h2{margin-bottom:24px}.home-companions>.button{margin-top:22px}

:is(.home-companions,.character-guide) .universe-friends-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;gap:16px;padding:0;margin:24px 0}

:is(.home-companions,.character-guide) .universe-friends-list>li{display:flex;align-items:center;gap:14px;min-width:0;border:1px solid #9b87b4;border-radius:14px;background:#211d33;padding:16px 12px}

:is(.home-companions,.character-guide) .universe-portrait{display:block;width:68px;height:94px;max-width:100%;background:#f7f0df;border-radius:12px;flex-shrink:0}

:is(.home-companions,.character-guide) .universe-friend-copy{min-width:0;font-family:"Trebuchet MS",Arial,sans-serif}

:is(.home-companions,.character-guide) .universe-friend-copy strong{display:block;font-size:21px;line-height:1.3;color:var(--friend-color,#efd096)}

:is(.home-companions,.character-guide) .universe-friend-copy span{display:block;color:#f7efd9;font-size:15px;line-height:1.5}

:is(.home-companions,.character-guide) .universe-friend-copy small{display:block;color:#ded3eb;font-size:14px;line-height:1.5;margin-top:5px}

:is(.home-companions,.character-guide) .friend-brumwick{--friend-color:#efd096}:is(.home-companions,.character-guide) .friend-fennovi{--friend-color:#ccb6ed}:is(.home-companions,.character-guide) .friend-orribun{--friend-color:#a3d1b3}:is(.home-companions,.character-guide) .friend-pebbilo{--friend-color:#9ccfd2}

.character-guide .universe-friends-list>li{flex-direction:column;text-align:center}.character-guide .universe-portrait{width:96px;height:132px}.character-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}.character-roles>article{padding:16px;border:1px solid var(--line);border-radius:14px}.character-roles h2{font-size:24px}

@media(max-width:1000px){:is(.home-companions,.character-guide) .universe-friends-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:760px){.home-companions{padding-top:28px;padding-bottom:28px}.home-companions .universe-friends-list{gap:12px}.home-companions .universe-friends-list>li{flex-direction:column;text-align:center;padding:14px 8px}.home-companions .universe-friend-copy strong{font-size:20px}.character-roles{grid-template-columns:1fr}}



/* Public activity sampler and actual School supporting characters. */

.sample-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.sample-grid>section{margin:0;padding:24px;border:1px solid #9b87b4;border-radius:14px;background:#211d33}.sample-word h2{color:#efd096;font-size:32px}.sample-word .word-play{border-top:1px solid #9b87b4;margin-top:20px;padding-top:16px}.sample-word .word-play strong{display:block;color:#efd096;margin-bottom:8px}.sample-membership{margin-top:32px}.free-activity-sample>.button{white-space:normal;text-align:center}

.school-supporting-friends{margin:24px 0}.school-supporting-friends>h3{font-size:22px;color:#efd096}.school-supporting-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:12px;padding:0;margin:16px 0}.school-supporting-list>li{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0;padding:16px 10px;border:1px solid #9b87b4;border-radius:12px;background:#211d33;color:#f7efd9}.supporting-portrait{width:76px;height:124px;max-width:100%;border-radius:12px;background:#f7f0df}.school-supporting-list strong{display:block;font:700 18px/1.4 "Trebuchet MS",Arial,sans-serif;color:#ccb6ed}.school-supporting-list span{display:block;font:15px/1.5 "Trebuchet MS",Arial,sans-serif}.school-supporting-list small{display:block;margin-top:6px;font:14px/1.5 "Trebuchet MS",Arial,sans-serif;color:#ded3eb}

@media(max-width:760px){.sample-grid{grid-template-columns:1fr}.school-supporting-list{grid-template-columns:1fr}.school-supporting-list>li{flex-direction:row;text-align:left;justify-content:flex-start;padding:14px}.supporting-portrait{flex-shrink:0}}

@media print{.school-supporting-friends{display:none}}



/* Free picture-game excerpt: generous pictures on narrow screens. */

.sample-picture-play{margin:32px 0;padding:24px;border:1px solid #9b87b4;border-radius:14px;background:#211d33}.sample-picture-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.sample-picture-pair figure{margin:0;min-width:0}.sample-picture-pair figcaption{font-weight:700;color:#efd096;margin-bottom:10px}.sample-picture-pair svg,.sample-picture-pair img{display:block;width:100%;height:auto;border-radius:14px}.sample-picture-play details{margin:14px 0;border:1px solid #9b87b4;border-radius:14px;padding:0 16px}.sample-picture-play summary{cursor:pointer;min-height:48px;display:list-item;padding:14px 0;font-weight:700;color:#efd096}.sample-picture-play details p,.sample-picture-play details ol{padding-bottom:12px}.sample-picture-play summary:focus-visible{outline:3px solid #efd096;outline-offset:3px}.sample-print-note{margin-top:24px}@media(max-width:760px){.sample-picture-pair{grid-template-columns:1fr}.sample-picture-play{padding:18px}}



/* October 12 approved reading layout: balance short text vertically, retain left alignment and natural overflow. */

.book-spread .book-text,#reader .paper{align-self:stretch;display:flex;flex-direction:column;justify-content:center;text-align:left;min-width:0;height:auto;max-height:none;overflow:visible}

@media(max-width:760px){.book-spread .book-text,#reader .paper{min-height:clamp(240px,42svh,420px);height:auto;max-height:none}}



/* Keep logo and tagline together, with clear space before the page content. */

@media screen{

:root{--orelzi-brand-gap:8px;--orelzi-brand-clearance:40px}

body :is(.orelzi-logo-block,.footer-brand,.library-brand,.account-brand,.orelzi-member-brand){gap:var(--orelzi-brand-gap)}

body :is(.account-brand,.library-brand,.orelzi-member-brand){margin-bottom:var(--orelzi-brand-clearance)}

body .account-brand>a{display:block;line-height:0}

body .account-brand img{display:block}

body>header:not(.orelzi-member-brand):has(.orelzi-logo-block){padding-bottom:32px;column-gap:32px;row-gap:32px}

body footer:has(.footer-brand){column-gap:32px;row-gap:32px}

body .hero-tagline{margin-top:-40px}

@media(max-width:760px){body .hero-brand-lockup{margin-bottom:var(--orelzi-brand-clearance)}body .hero-tagline{margin-top:-28px}}

@media(max-width:600px){:root{--orelzi-brand-gap:6px;--orelzi-brand-clearance:32px}body>header:not(.orelzi-member-brand):has(.orelzi-logo-block){padding-bottom:24px}}

}



/* Controls stay with the story without covering its illustration or text. */

.reader-listening-dock{position:sticky;top:0;z-index:5;box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;align-items:center;background:#fffaf0;color:#252036;border:1px solid #d9cbb6;border-radius:12px;padding:8px 12px;margin:14px 0 10px;box-shadow:0 3px 12px #0002;max-width:100%;padding-top:max(8px,env(safe-area-inset-top))}

.reader-listening-label{font:700 15px/1.3 'Trebuchet MS',Arial,sans-serif}

.reader-listening-audio{min-width:0}.reader-listening-dock audio{display:block;width:100%;height:40px;margin:0}

.reader-listening-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}

body .reader-listening-actions button{min-height:44px!important;min-width:0;padding:8px 12px!important;font:700 14px/1.2 'Trebuchet MS',Arial,sans-serif!important;background:#443454!important;color:#fff!important;border:1px solid #443454!important;border-radius:10px!important;cursor:pointer}

.reader-listening-actions button:focus-visible{outline:3px solid #bf672f;outline-offset:2px}

@media(max-width:600px){.reader-listening-dock{grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 8px;padding-top:max(6px,env(safe-area-inset-top))}.reader-listening-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.reader-listening-actions{gap:6px;flex-wrap:nowrap}.reader-listening-actions button{flex:1;padding:8px 4px!important;font-size:13px!important}}

@media(max-height:450px) and (min-width:601px){.reader-listening-dock{grid-template-columns:minmax(160px,1fr) auto}.reader-listening-label{display:none}.reader-listening-actions{grid-column:auto}}

@media print{.reader-listening-dock{display:none!important}}



/* Separate each character's animal type from their personality description. */

.story-friends .friend-copy small,.universe-friend-copy small{margin-top:10px!important}



/* Optional online story joke/riddle; existing printable layouts stay unchanged. */

.story-giggle{padding:20px;margin:20px 0;border:1px solid #9e8aa5;border-radius:14px;line-height:1.5}

.story-giggle summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:700}

@media print{.story-giggle{display:none!important}}



/* Child-facing online activity text; print sizes and adult notices are separate. */

@media screen{

:is(.activities-page main,.activities-page .sheet,.activities-page .story-giggle,.free-activity-sample .sample-grid,.free-activity-sample .story-giggle) p:not(.eyebrow):not(.kicker):not(.footer):not(.private-note):not(.membership-status),

:is(.activities-page main,.activities-page .sheet,.activities-page .story-giggle,.free-activity-sample .sample-grid,.free-activity-sample .story-giggle) :is(li,summary,.card,.note){font-size:20px!important;line-height:1.55!important}

.activities-page .sheet{height:auto;min-height:0}

}



/* Separate the question, revealed answer and optional follow-up invitation. */

@media screen{

.story-giggle>p:first-of-type{margin:14px 0 18px!important}

.story-giggle details{margin:0!important}

.story-giggle details>p{font-weight:700;margin:14px 0 0!important;padding:16px 18px;border-left:4px solid #9e8aa5;border-radius:0 8px 8px 0}

.story-giggle>p:last-child{margin:32px 0 0!important;padding-top:20px;border-top:1px solid #9e8aa566}

}



/* Clear meaning / example / play groups in on-screen Word Magic cards. */

@media screen{

.word-magic-part{margin:24px 0!important}

.word-part-label{display:block!important;font-weight:700;margin:0 0 8px!important;font-style:normal}

}

@media print{.word-part-label{display:none!important}}



/* A warm reveal color marks the answer, alongside its label and bold type. */

@media screen{

.story-giggle details>p{background:#fff0c2!important;color:#3a2c21!important;border-left-color:#b47c28!important}

}



/* Consistent activity reading face and Word Magic label hierarchy. */

@media screen{

.word-magic-part,.story-giggle p,.story-giggle summary,

:is(.activities-page main,.activities-page .sheet,.free-activity-sample .sample-grid) :is(p:not(.eyebrow):not(.kicker):not(.footer):not(.private-note):not(.membership-status),li,summary,.card,.note),

.match-friend,.match-action{font-family:'Trebuchet MS',Arial,sans-serif!important;font-size:20px!important;line-height:1.55!important}

.word-magic-part{font-weight:400!important;margin:24px 0!important}

.word-magic-part>.word-part-label{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;font-weight:700!important;display:block!important;margin:0 0 8px!important}

.story-giggle details>p{font-weight:700!important}

}



/* Character names start on one line across a row, independent of bio length. */

.story-friends .friend-list>li{align-items:flex-start}

.story-friends .friend-copy{align-self:flex-start}

@media(min-width:761px){.home-companions .universe-friends-list>li{align-items:flex-start}}



/* Equal field typography and adequate card width prevent long-name drift. */

.story-friends .friend-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:16px!important}

.story-friends .friend-copy>strong{display:block!important;font:700 25px/1.2 Georgia,serif!important;margin:0!important}

.story-friends .friend-copy>span{display:block!important;font:700 14px/1.4 'Trebuchet MS',Arial,sans-serif!important;margin:8px 0 5px!important}

.story-friends .friend-copy>small{display:block!important;font:400 16px/1.45 'Trebuchet MS',Arial,sans-serif!important;margin:10px 0 0!important}

.story-friends .friend-portrait{flex:0 0 74px!important;width:74px!important;height:106px!important}

@media(max-width:600px){.story-friends .friend-list{grid-template-columns:1fr!important}.story-friends .friend-copy>strong{font-size:24px!important}.story-friends .friend-portrait{flex-basis:64px!important;width:64px!important;height:92px!important}}



/* Shared design consistency: matching character fields and vocabulary rhythm. */

@media screen{

.story-friends .friend-copy>span{padding:0!important;border:0!important;border-radius:0!important}

.word-card .word-magic-part{margin:24px 0!important;padding:0!important;border:0!important;color:inherit!important}

.word-card .word-magic-part>.word-part-label{color:inherit!important;letter-spacing:normal!important}

}



/* Equal character-card tracks at every breakpoint, including stacked phones. */

@media screen{

.story-friends .friend-list,.universe-guide .universe-friends-list{grid-auto-rows:1fr!important;align-items:stretch!important}

.story-friends .friend-list>li,.universe-guide .universe-friends-list>li{align-self:stretch!important;box-sizing:border-box!important}

}



/* Shared Kippit card accent, matching the approved reader design. */

.friend-kippit{--friend-color:#f4a6c1}



/* Additional friends reuse the story introduction cards and exclude its cast. */

.universe-guide>.more-friends-list{margin:0 16px 16px!important}

.friend-kippit{--friend-color:#f4a6c1}



/* Free story entry and parent invitation use existing button/card styles. */

.story-start-action{margin:24px 0 32px}.book-page #reading-view{scroll-margin-top:120px}.free-story-membership{margin:32px 0}



/* Returning members: direct account entry. Hero actions share one size. */

header nav[aria-label="Main navigation"]{flex-wrap:wrap;justify-content:flex-end;gap:16px 24px}

header nav .nav-signin{white-space:nowrap}

.hero .actions{gap:16px;align-items:stretch}

.hero .actions>a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 1 240px;width:240px;max-width:100%;height:52px;min-height:52px;margin:0;padding:12px 18px;font-size:16px;line-height:1.3;font-weight:700;text-align:center;border-radius:12px;-webkit-text-size-adjust:100%;text-size-adjust:100%}

@media(max-width:760px){header nav[aria-label="Main navigation"]{gap:12px;justify-content:center}.hero .actions>a{flex:0 1 240px}}



/* Membership and Sign in share one header-button size. */

header nav[aria-label="Main navigation"]>a.nav-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 132px;width:132px;min-height:48px;height:48px;padding:10px 12px;text-align:center;white-space:nowrap;font-size:16px;line-height:1.3}



/* Owner-approved action emphasis: Membership primary, Sign in secondary. */

body header nav[aria-label="Main navigation"]>a.nav-button[href="/membership/"]{background:var(--orelzi-action,#efd096)!important;color:var(--orelzi-action-ink,#242138)!important;border-color:var(--orelzi-action,#efd096)!important}

body header nav[aria-label="Main navigation"]>a.nav-signin{background:var(--orelzi-secondary,#302946)!important;color:var(--orelzi-secondary-ink,#f7efd9)!important;border-color:var(--orelzi-action-line,#9b87b4)!important}


/* ORELZI shared story picture and text standard, November 5, 2026.
   3:2 artwork fills its own frame. Text must never determine picture height. */
@media screen {
 .book-spread, #reader {
  box-sizing:border-box;width:min(1100px,calc(100vw - 64px));max-width:100%;
  margin-left:auto;margin-right:auto;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  align-items:start;height:auto;min-height:0;border:1px solid transparent;background:transparent;
 }
 .book-spread > img, #reader > #art {
  display:block;box-sizing:border-box;align-self:start;justify-self:stretch;
  width:100%;height:auto;aspect-ratio:3 / 2;min-width:0;min-height:0;
  max-width:none;max-height:none;object-fit:contain;object-position:center;
  margin:0;padding:0;border:0;border-radius:14px;background:transparent;
 }
 .book-spread .book-text, #reader .paper {background:#fff9eb;border-radius:14px}
 .book-spread .book-text p, #reader #words p {
  font-family:'Trebuchet MS',Verdana,sans-serif;font-size:20px;line-height:1.45;
 }
 .book-spread.large .book-text p, .large #reader #words p {font-size:24px}
 .book-spread.extra .book-text p, .extra #reader #words p {font-size:28px}
 @media(min-width:761px) { .book-spread, #reader {width:min(1100px,calc(100vw - 80px))} }
 @media(max-width:760px) {
  .book-spread, #reader {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;background:#fff9eb;border-color:#dfd4be}
  .book-spread > img, #reader > #art {border-radius:0}
  .book-spread .book-text, #reader .paper {border-radius:0}
  .book-spread .book-text p, #reader #words p {font-size:18px;line-height:1.4}
  .book-spread.large .book-text p, .large #reader #words p {font-size:22px}
  .book-spread.extra .book-text p, .extra #reader #words p {font-size:26px}
 }
}


/* Small character reminders and a stationary three-column page navigation row. */
@media screen {
 .friends-reference .friend-list li{display:flex;align-items:center;gap:8px;min-width:0}
 .friends-reference .friend-portrait{display:block;width:32px;height:44px;flex:0 0 32px;max-width:32px;border-radius:6px;object-fit:contain}
 .friends-reference .friend-copy{min-width:0}
 .book-nav,.page-nav{box-sizing:border-box;display:grid!important;grid-template-columns:104px minmax(0,1fr) 104px;align-items:center;gap:8px;width:min(1100px,calc(100vw - 80px));max-width:100%;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;min-height:48px}
 .book-nav>button,.page-nav>button{box-sizing:border-box;width:104px;height:48px;min-height:48px;white-space:nowrap;justify-self:stretch;padding:10px 8px!important}
 .book-nav>span{text-align:center;font-variant-numeric:tabular-nums;min-width:0}
 .page-nav>label{justify-self:center;min-width:0;max-width:100%;margin:0!important}
 .page-nav>label select{width:100%;min-width:0;max-width:160px}
 @media(max-width:760px){.book-nav,.page-nav{width:calc(100vw - 64px)}}
 @media(max-width:600px){.book-nav,.page-nav{grid-template-columns:80px minmax(0,1fr) 80px;gap:6px}.book-nav>button,.page-nav>button{width:80px;font-size:14px!important}.page-nav>label{width:100%!important}.page-nav>label select{max-width:100%;padding-left:2px!important;padding-right:2px!important}}
}


/* Clear, equivalent reading-mode choices with help directly under each label. */
@media screen {
 fieldset.orelzi-reading-modes{box-sizing:border-box;display:block!important;width:min(1040px,calc(100vw - 96px));max-width:100%;padding:0;margin:0 auto 16px;min-width:0}.orelzi-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:16px}
 fieldset.orelzi-reading-modes legend{margin-bottom:12px;font:16px/1.4 'Trebuchet MS',Arial,sans-serif}
 fieldset.orelzi-reading-modes label.orelzi-mode-option{display:flex;align-items:flex-start;gap:10px;min-width:0;min-height:90px;margin:0!important;padding:14px 16px;border:1px solid #9b87b4;border-radius:12px;white-space:normal}
 .orelzi-mode-option input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:#efd096}
 .orelzi-mode-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
 .orelzi-mode-copy strong{font:700 16px/1.3 'Trebuchet MS',Arial,sans-serif}
 .orelzi-mode-help{display:block;font:15px/1.45 'Trebuchet MS',Arial,sans-serif;color:inherit}
 @media(max-width:600px){.orelzi-mode-options{grid-template-columns:minmax(0,1fr);gap:12px}fieldset.orelzi-reading-modes label.orelzi-mode-option{min-height:96px}}
}


/* One compact playback strip directly beneath the illustration. */
@media screen {
 .reader-art-column{box-sizing:border-box;min-width:0;align-self:start;width:100%;padding:0;margin:0}
 .book-spread .reader-art-column>img,#reader .reader-art-column>#art{display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;max-height:none;max-width:none;aspect-ratio:3/2;object-fit:contain;object-position:center;margin:0;padding:0;border:0;border-radius:14px;background:transparent}
 .reader-art-column .reader-listening-dock{position:static;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;margin:10px 0 0;padding:8px;gap:6px;border-radius:12px;box-shadow:none}
 .reader-art-column .reader-listening-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .reader-art-column .reader-listening-actions{grid-column:1/-1;gap:6px;flex-wrap:nowrap}
 .reader-art-column .reader-listening-actions button{flex:1;min-width:0;padding:8px 4px!important;font-size:13px!important}
 @media(max-width:760px){.book-spread .reader-art-column>img,#reader .reader-art-column>#art{border-radius:0}.reader-art-column .reader-listening-dock{margin-top:0;border-radius:0;border-left:0;border-right:0}}
}


/* Equal public story invitations: same type and action sizes, clear book title. */
@media screen {
 .member-preview-invite>p{font:18px/1.6 'Trebuchet MS',Arial,sans-serif}
 .member-preview-invite .private-note{font:18px/1.6 'Trebuchet MS',Arial,sans-serif;color:inherit;margin:18px 0}
 .member-preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:14px;margin-top:20px}
 .member-preview-actions>a.button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;margin:0!important;padding:10px 14px!important;text-align:center;font:700 16px/1.4 'Trebuchet MS',Arial,sans-serif!important;white-space:normal}
 @media(max-width:600px){.member-preview-actions{grid-template-columns:minmax(0,1fr)}}
}

/* Shared friend-section heading: neutral cream, distinct from character identities. */
.story-friends>h2,.story-friends>h3,.story-friends>summary,.universe-guide>summary{color:#f7efd9!important}

/* Keep the art and its controls available alongside enlarged text, within the story. */
@media screen and (min-width:761px){
 .book-spread,#reader{overflow:visible}
 .reader-art-column.reader-art-follows{position:sticky;top:16px}
}
@media screen{
 .reader-art-column .reader-listening-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .reader-art-column .reader-listening-actions button{min-height:44px;width:100%;font-size:14px!important;line-height:1.3;padding:8px 6px!important}
 .reader-listening-actions [data-reader-action="play"]{background:#efd096;color:#242138;border-color:#efd096}
 .reader-listening-actions [data-reader-action="play"] span{margin-right:4px}
}

@media screen{.reader-art-column .reader-listening-actions [data-reader-action=play]{background:#efd096!important;color:#242138!important;border-color:#efd096!important}}
@media screen and (min-width:1000px){.reader-art-column .reader-listening-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}


/* One readable story-title identity across public and protected books. */
@media screen{
 main .orelzi-story-label{font:700 12px/1.5 'Trebuchet MS',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#efd096;margin:24px 0 12px}
 main h1.orelzi-story-title{font:400 clamp(2.2rem,4.6vw,3.8rem)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#f7efd9;margin:0 0 24px;max-width:100%;overflow-wrap:normal;text-wrap:balance}
 main h1.orelzi-story-title:after{content:'';display:block;width:72px;height:2px;background:#efd096;margin-top:20px}
}

/* Enlarged reading uses the full text width instead of an uneven pair of columns. */
@media screen and (min-width:761px){
 .book-spread.large,.book-spread.extra,body.large #reader,body.extra #reader{grid-template-columns:minmax(0,1fr);gap:18px}
 .book-spread.large .reader-art-column,.book-spread.extra .reader-art-column,body.large #reader .reader-art-column,body.extra #reader .reader-art-column{position:static!important;width:52.380952%;justify-self:center}
 .book-spread.large .book-text,.book-spread.extra .book-text,body.large #reader .paper,body.extra #reader .paper{width:100%}
}
@media screen{
 .book-toolbar{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:20px;align-items:end}
 .book-toolbar>label{display:flex!important;flex-direction:column;align-items:stretch;gap:10px;min-width:0;margin:0;line-height:1.5}
 .book-toolbar>label>select{width:100%;min-width:0;max-width:100%;margin:0}
 .book-toolbar>#reader-play{align-self:end}
 .bottom>label{display:flex;flex-direction:column;gap:10px;margin:0;line-height:1.5}
}
@media screen and (max-width:760px){
 .book-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:16px}
 .book-toolbar>label:first-child{grid-column:1/-1}
}

@media screen and (min-width:761px){.book-spread.large .book-text,.book-spread.extra .book-text,body.large #reader .paper,body.extra #reader .paper{justify-content:flex-start!important;align-content:start!important}}


/* One centered, continuous book panel for enlarged reading. Supersedes wide-text v2. */
@media screen and (min-width:761px){
 .book-spread.large,.book-spread.extra,body.large #reader,body.extra #reader{width:min(720px,calc(100vw - 80px));grid-template-columns:minmax(0,1fr);gap:0;background:#fff9eb;border-color:#dfd4be;border-radius:14px;overflow:hidden}
 .book-spread.large .reader-art-column,.book-spread.extra .reader-art-column,body.large #reader .reader-art-column,body.extra #reader .reader-art-column{width:100%;justify-self:stretch;position:static!important}
 .book-spread.large .reader-art-column>img,.book-spread.extra .reader-art-column>img,body.large #reader .reader-art-column>#art,body.extra #reader .reader-art-column>#art{border-radius:0}
 .book-spread.large .reader-listening-dock,.book-spread.extra .reader-listening-dock,body.large #reader .reader-listening-dock,body.extra #reader .reader-listening-dock{margin-top:0;border-radius:0;border-left:0;border-right:0}
 .book-spread.large .book-text,.book-spread.extra .book-text,body.large #reader .paper,body.extra #reader .paper{border-radius:0;justify-content:flex-start!important;align-content:start!important}
}

@media screen and (min-width:761px){.book-spread.large~.book-nav,.book-spread.extra~.book-nav,body.large .page-nav,body.extra .page-nav{width:min(720px,calc(100vw - 80px))}}


/* Stacked text panels fit their own content rather than the book's longest page. */
@media screen and (min-width:761px){.book-spread.large .book-text,.book-spread.extra .book-text,body.large #reader .paper,body.extra #reader .paper{min-height:0!important;height:auto!important}}
@media screen and (max-width:760px){.book-spread .book-text,#reader .paper{min-height:0!important;height:auto!important;justify-content:flex-start!important}}

/* Approved primary narration action: centered own row before the cast reminder. */
@media screen{.book-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.book-toolbar>#reader-play{grid-column:1/-1;justify-self:center;margin:4px 0 10px}.reader-playbar{display:flex;flex-direction:column;align-items:center;gap:12px;margin:20px 0}.reader-playbar>button{margin:0}.reader-playbar>span{text-align:center}body #reader-play{box-sizing:border-box;width:150px!important;height:48px!important;min-height:48px!important;background:#efd096!important;color:#242138!important;border:1px solid #efd096!important;border-radius:10px;font-weight:700}}
@media screen and (max-width:760px){.book-toolbar{grid-template-columns:minmax(0,1fr)}.book-toolbar>label{grid-column:1/-1}}


/* Site-wide choices expand in document flow: never cover another control. */
@media screen{
 select[hidden]{display:none!important}
 .orelzi-choice-menu{display:block;box-sizing:border-box;position:static!important;width:100%;min-width:0;margin:0!important;padding:0!important;border:1px solid #77768e!important;border-radius:10px;background:#302946;color:#f7efd9;font:16px/1.4 'Trebuchet MS',Arial,sans-serif;overflow:hidden}
 .orelzi-choice-menu>summary{display:block;box-sizing:border-box;position:relative;list-style:none;cursor:pointer;padding:12px 38px 12px 12px;min-height:48px;margin:0!important;color:#f7efd9;font:inherit;white-space:normal;overflow-wrap:anywhere}
 .orelzi-choice-menu>summary::-webkit-details-marker{display:none}
 .orelzi-choice-menu>summary:after{content:'⌄';position:absolute;right:12px;top:12px;color:#efd096}
 .orelzi-choice-menu[open]>summary:after{content:'⌃'}
 .orelzi-choice-options{position:static!important;display:grid;grid-template-columns:minmax(0,1fr);max-height:240px;overflow:auto;overscroll-behavior:contain;border-top:1px solid #77768e;padding:6px;gap:4px}
 .orelzi-choice-options>button{display:block;box-sizing:border-box;width:100%!important;max-width:none!important;height:auto!important;min-height:44px;padding:10px 12px!important;margin:0!important;text-align:left;white-space:normal;border:1px solid transparent!important;border-radius:6px;background:#302946!important;color:#f7efd9!important;font:16px/1.4 'Trebuchet MS',Arial,sans-serif!important}
 .orelzi-choice-options>button[aria-pressed=true]{background:#efd096!important;color:#242138!important}
 .orelzi-choice-options>button:hover{border-color:#efd096!important}
 .orelzi-choice-menu>summary:focus-visible,.orelzi-choice-options>button:focus-visible{outline:3px solid #efd096;outline-offset:-4px}
 .book-toolbar{align-items:start}
 .page-nav .orelzi-choice-menu{font-size:14px}
}

/* Shared plain-story view: distinct readable pages, not one long text block. */
@media screen{
 details.orelzi-story-text>summary{font:700 21px/1.4 'Trebuchet MS',Arial,sans-serif;color:#efd096;padding:12px 0;cursor:pointer}
 .story-text-intro{font:18px/1.5 'Trebuchet MS',Arial,sans-serif;color:#f7efd9;margin:12px 0 24px}
 .story-text-pages{display:grid;gap:32px;margin:0 auto;max-width:840px}
 .story-text-page{border:1px solid #77768e;border-radius:14px;padding:24px;background:#191d36;color:#f7efd9}
 .story-text-page>h2,.story-text-page>h3{font:700 23px/1.4 Georgia,serif;color:#efd096;margin:0 0 20px}
 .story-text-page>p{font:20px/1.6 'Trebuchet MS',Arial,sans-serif;color:#f7efd9;margin:0 0 16px}
 .story-text-page>p:last-child{margin-bottom:0}
}
@media screen and (max-width:600px){.story-text-pages{gap:24px}.story-text-page{padding:20px}.story-text-page>p{font-size:18px}.story-text-page>h2,.story-text-page>h3{font-size:21px}}
@media print{.story-text-page{color:#000;background:#fff;border:1px solid #aaa;padding:6mm;margin:0 0 8mm;break-inside:avoid}.story-text-page>h2,.story-text-page>h3{color:#000;break-after:avoid}.story-text-page>p{color:#000;font:12pt/1.45 Arial,sans-serif;orphans:3;widows:3}}

/* Both playback labels fit the same fixed button; never wrap Pause below Play. */
@media screen{
 body #reader-play{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap!important;padding:8px 10px!important;font:700 16px/1.2 'Trebuchet MS',Arial,sans-serif!important;text-align:center}
 .reader-listening-actions [data-reader-action=play]{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.2}
 .reader-listening-actions [data-reader-action=play]>span{display:inline-flex;align-items:center;line-height:1}
}

/* Owner-approved larger story sizes, November 5: same steps in every book. */
@media screen{
 :root{--orelzi-story-standard:22px;--orelzi-story-large:26px;--orelzi-story-extra:30px}
 .book-spread .book-text p,#reader #words p{font-size:var(--orelzi-story-standard);line-height:1.45}
 .book-spread.large .book-text p,.large #reader #words p{font-size:var(--orelzi-story-large)}
 .book-spread.extra .book-text p,.extra #reader #words p{font-size:var(--orelzi-story-extra)}
 .story-text-page>p{font-size:var(--orelzi-story-standard);line-height:1.6}
}
@media screen and (max-width:760px){
 :root{--orelzi-story-standard:20px;--orelzi-story-large:24px;--orelzi-story-extra:28px}
 .book-spread .book-text p,#reader #words p{line-height:1.4}
}

/* Preserve a clear heading hierarchy with the approved larger story text. */
@media screen{details.orelzi-story-text>summary{font-size:24px}.story-text-page>h2,.story-text-page>h3{font-size:26px}}
@media screen and (max-width:760px){details.orelzi-story-text>summary{font-size:22px}.story-text-page>h2,.story-text-page>h3{font-size:24px}}


/* Shared row height keeps Standard text and picture/audio outlines level. */
@media screen and (min-width:761px){
 .book-spread:not(.large):not(.extra),body:not(.large):not(.extra) #reader{align-items:stretch!important}
 .book-spread:not(.large):not(.extra)>.reader-art-column,body:not(.large):not(.extra) #reader>.reader-art-column{align-self:stretch!important;position:static!important;display:flex;flex-direction:column;height:auto;min-height:0;background:#fff9eb;border-radius:14px;overflow:hidden}
 .book-spread:not(.large):not(.extra)>.reader-art-column>img,body:not(.large):not(.extra) #reader>.reader-art-column>#art{flex:0 0 auto;border-radius:14px 14px 0 0}
 .book-spread:not(.large):not(.extra) .reader-art-column>.reader-listening-dock,body:not(.large):not(.extra) #reader .reader-art-column>.reader-listening-dock{flex:1 0 auto;align-content:center;margin-top:0;border-radius:0 0 14px 14px}
 .book-spread:not(.large):not(.extra)>.book-text,body:not(.large):not(.extra) #reader>.paper{align-self:stretch!important;height:auto}
}

/* Match the compact character reminder to the shared rounded brand controls. */
@media screen{.book-toolbar>.friends-reference{grid-column:1/-1;width:100%;min-width:0}.friends-reference{box-sizing:border-box;max-width:100%}.friends-reference>summary{box-sizing:border-box;border:1px solid #77768e;border-radius:12px;background:#302946;color:#f7efd9;padding:12px 16px!important;min-height:48px;font:700 16px/1.4 'Trebuchet MS',Arial,sans-serif;list-style-position:inside;overflow-wrap:anywhere}.friends-reference>summary::marker{color:#efd096}.friends-reference>summary::-webkit-details-marker{color:#efd096}.friends-reference>summary:focus-visible{outline:none!important;box-shadow:0 0 0 3px #efd096;border-radius:12px}.friends-reference>summary:hover{border-color:#efd096}.friends-reference[open]>summary{margin-bottom:12px}}


/* Mode cards contain the instructions; keep the live status for useful updates only. */
@media screen{
 p#reading-mode,p#status{text-align:center}
 p#reading-mode:empty,p#status:empty{margin:0!important;padding:0!important;min-height:0;height:0;overflow:hidden}
}

@media screen{.orelzi-storytime-heading{font:700 24px/1.3 Georgia,serif!important;color:#f7efd9!important;margin:0 0 16px!important;text-align:left}#reading-mode,#status{text-align:center}#reading-mode:empty,#status:empty{margin:0!important;padding:0!important;min-height:0;height:0;overflow:hidden}}
@media screen and (max-width:760px){.orelzi-storytime-heading{font-size:22px!important}}

/* Owner-approved Standard paragraph spacing, November 5, 2026. */
@media screen{
 .book-spread:not(.large):not(.extra) .book-text p,body:not(.large):not(.extra) #reader #words p{margin-top:0!important;margin-bottom:.8em!important}
}

/* iPhone card consistency and optional narration follow, November 9. */
@media screen{
 .friends-reference .friend-list{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:1fr;align-items:stretch!important;gap:10px!important}
 .friends-reference .friend-list>li{box-sizing:border-box;grid-column:span 2;max-width:none;min-width:0;display:flex;align-items:center}
 .reader-follow-option{display:none}
}
@media screen and (max-width:760px){
 .friends-reference .friend-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .friends-reference .friend-list>li:last-child:nth-child(odd){grid-column:2 / span 2}
}
@media screen and (min-width:761px){.friends-reference .friend-list>li:last-child:nth-child(3n+1){grid-column:3 / span 2}.friends-reference .friend-list>li:nth-last-child(2):nth-child(3n+1){grid-column:2 / span 2}}
@media screen and (max-width:760px),screen and (max-width:1000px) and (max-height:500px){
 .reader-follow-option{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:10px;margin:14px auto 20px;padding:8px 12px;min-height:44px;color:#f7efd9;font:16px/1.4 'Trebuchet MS',Arial,sans-serif}
 .reader-follow-option input{appearance:auto;-webkit-appearance:checkbox;accent-color:#efd096;width:20px;height:20px;margin:0;flex:0 0 20px}
}

/* Explicit mobile navigation tracks prevent Safari wrapping the auth actions apart. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media screen and (max-width:1000px){
 header{height:auto;min-height:90px;flex-wrap:wrap;gap:16px}
 header nav[aria-label="Main navigation"]{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;width:100%;align-items:center;justify-content:normal}
 header nav[aria-label="Main navigation"]>a:not(.nav-button){grid-column:span 2;text-align:center;justify-self:center}
 header nav[aria-label="Main navigation"]>a.nav-button{grid-column:span 3;width:min(132px,100%)!important;max-width:100%;height:48px;min-height:48px;flex:none}
 header nav[aria-label="Main navigation"]>a[href="/membership/"]{justify-self:end}
 header nav[aria-label="Main navigation"]>a.nav-signin{justify-self:start}
}

/* Narration controls: external rules permitted by the existing CSP. */
.reader-narration-choice-row .orelzi-choice-menu>summary{height:46px!important;min-height:46px!important;box-sizing:border-box}
.reader-clear-progress{min-width:0;width:100%;color:#252036}.reader-progress-times{display:flex;justify-content:space-between;gap:12px;font:14px/1.4 "Trebuchet MS",Arial,sans-serif;font-variant-numeric:tabular-nums}.reader-progress-seek{display:block;box-sizing:border-box;width:100%;height:44px;margin:0;padding:0!important;appearance:none;-webkit-appearance:none;background:transparent!important;cursor:pointer;touch-action:pan-y}.reader-progress-seek::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(to right,#443454 0%,#443454 var(--played,0%),#d9cbb6 var(--played,0%),#d9cbb6 100%)}.reader-progress-seek::-moz-range-track{height:6px;border-radius:6px;background:linear-gradient(to right,#443454 0%,#443454 var(--played,0%),#d9cbb6 var(--played,0%),#d9cbb6 100%)}.reader-progress-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin-top:-6px;border:2px solid #443454;border-radius:50%;background:#f0d197}.reader-progress-seek::-moz-range-thumb{width:14px;height:14px;border:2px solid #443454;border-radius:50%;background:#f0d197}.reader-progress-seek:focus-visible{outline:3px solid #443454;outline-offset:3px;border-radius:6px}.reader-progress-seek:disabled{opacity:.55;cursor:default}

/* Consistent catalogue cards: keep complete titles/copy and align the action row. */
.story-grid{grid-auto-rows:1fr}
.story-grid>.story-card{display:flex;flex-direction:column;min-width:0}
.story-grid>.story-card>.cover{flex:none}
.story-grid>.story-card>.card-copy{display:flex;flex-direction:column;flex:1;min-width:0}
.story-grid>.story-card>.card-copy>h3{min-height:2.5em}
.story-grid>.story-card>.card-copy>.card-link{margin-top:auto}

/* Collection invitation: separate value, audience, access and availability. */
.collection-invitation{display:grid;gap:12px;max-width:760px;margin:32px auto 0;padding:12px 16px 4px;text-align:center}
.collection-invitation p{margin:0;line-height:1.65}
.collection-invitation-lead{font-size:18px;font-weight:600;color:var(--text)}
.collection-invitation-age{font-size:16px;color:var(--muted)}
.collection-invitation-access{font-size:16px;color:var(--text)}
.collection-invitation-availability{display:block;margin-top:8px;font-size:15px;color:var(--muted)}
@media(max-width:600px){.collection-invitation{margin-top:28px;padding:8px 4px 0;gap:14px}.collection-invitation-lead{font-size:18px}}

/* Clear, separate welcome details at every screen size. */
.hero-note{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:28px;font-size:14px;line-height:1.6}.hero-note span{display:block}@media(max-width:600px){.hero-note{display:grid;grid-template-columns:1fr;gap:12px;margin-top:24px}}

/* Matched parent information links; retain established 48px height. */
.parent-link-pair{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px}.parent-link-pair a.text-link{box-sizing:border-box;width:152px;height:48px;min-height:48px;margin:0;padding:10px 12px;flex:0 0 152px}

/* Four invitation lines share one spacing and color rule. */
.collection-invitation{gap:16px}.collection-invitation p{color:var(--text);margin:0;line-height:1.65}.collection-invitation-lead{font-size:18px}.collection-invitation-age,.collection-invitation-availability{font-size:16px}.collection-invitation-access{font-size:20px;font-weight:600}

/* Boxed actions use consistent states; ordinary text links keep their own cues. */
body :is(a.button,a.text-link,a.back,a.activity-link,a.nav-button):is(:link,:visited,:hover,:focus,:active){text-decoration:none!important}
body :is(a.button,a.text-link,a.back,a.activity-link,a.nav-button):focus-visible{outline:3px solid #efd096;outline-offset:4px}

/* Gold action outline: no layout change; hover only for a precise pointer. */
@media (hover:hover) and (pointer:fine){body :is(a.button,a.text-link,a.back,a.activity-link,a.nav-button):hover{outline:3px solid #efd096;outline-offset:4px}}
body :is(a.button,a.text-link,a.back,a.activity-link,a.nav-button):focus-visible{outline:3px solid #efd096;outline-offset:4px}

/* Readable, understated legal details; disclosure text is retained. */
.page .privacy-legal-heading{font-size:18px;line-height:1.4}.page .privacy-legal-note{font-size:15px;line-height:1.7;color:var(--text)}

/* Story format labels share one treatment across catalogue and readers. */
.rhyming-genre,.story-genre{color:var(--gold,#efd096);font-size:1rem;line-height:1.5;margin:.5rem 0 1rem}.card-copy .story-genre{font-size:.9rem;margin:.4rem 0 .7rem}

/* Parent ideas use existing card/button tokens and dimensions. */
.parent-ideas{margin-top:28px}.parent-ideas h3{font-size:1.5rem;line-height:1.3;margin:10px 0 16px}.parent-ideas>p:not(.private-note){max-width:58ch;line-height:1.65}.parent-ideas .private-note{font-size:1rem;line-height:1.6;margin-top:20px}

/* Separate idea sentences, with natural mobile wrapping and no forced single line. */
.parent-ideas>p.idea-invitation-line{max-width:none;margin:0 0 10px;line-height:1.65}

/* ORELZI approved paired narration controls, November 17, 2026. */
@media screen{
 .reader-art-column .reader-listening-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .reader-art-column .reader-listening-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;min-height:44px;box-sizing:border-box;white-space:nowrap}
 .reader-listening-actions [data-reader-action="back"]::before,.reader-listening-actions [data-reader-action="forward"]::before{content:"";display:inline-block;flex:0 0 16px;width:16px;height:16px;background-position:center;background-size:contain;background-repeat:no-repeat}
 .reader-listening-actions [data-reader-action="back"]::before{background-image:url('/assets/reader-back-10.svg')}
 .reader-listening-actions [data-reader-action="forward"]::before{background-image:url('/assets/reader-forward-10.svg')}
}

/* Keep paired narration labels intact on narrow phones without reducing type. */
@media screen and (max-width:400px){
 .reader-art-column .reader-listening-actions button{padding-left:6px!important;padding-right:6px!important;gap:4px}
 .reader-listening-actions [data-reader-action="back"]::before,.reader-listening-actions [data-reader-action="forward"]::before{flex-basis:12px;width:12px;height:12px}
}

@media screen and (max-width:360px){.reader-art-column .reader-listening-actions button{padding-left:0!important;padding-right:0!important;gap:2px}.reader-listening-actions [data-reader-action=back]::before,.reader-listening-actions [data-reader-action=forward]::before{flex-basis:10px;width:10px;height:10px}}
