@font-face{font-family:Nunito;src:url('assets/fonts/Nunito.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
/* Canonical visual layer. Matches the approved six-screen reference, 29 Oct 2026. */
:root{--primary:#6b3dff;--primary-dark:#4215b2;--ink:#25115e;--muted:#746396;--background:#f8f6ff;--surface:#fff;--lavender:#eee8ff;--border:#e9e2ff;--gold:#ffb924;--pink:#f47286;--light-purple:#a786fa;--sky:#e2e6fe;--body:'Nunito',sans-serif;--display:var(--body);--mobile-nav-height:76px;--app-width:430px}
*{box-sizing:border-box}body{margin:0;background:#eeeaf8;font-family:var(--body);color:var(--ink)}button,input,select{font-family:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b58aff;outline-offset:3px}button:disabled{opacity:.45;cursor:default}h1,h2,h3{color:var(--ink);font-weight:850;letter-spacing:-.5px}.icon{width:24px;height:24px}svg.iconsax{stroke-width:initial}.sidebar{display:none}.shell{position:relative;width:min(100%,var(--app-width));min-height:100svh;margin:0 auto;padding:26px 24px calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 24px);background:var(--background);overflow-x:clip}.topbar{display:flex;height:46px;margin:0 0 23px;padding:0;border:0;align-items:center;justify-content:space-between}.breadcrumb,.top-right>.profile{display:none}.mobile-brand{display:flex}.brand{gap:5px;padding:0;width:auto}.brand-icon{width:43px!important;height:43px!important;border-radius:12px!important}.brand-wordmark{display:block!important;width:111px!important;height:51px!important;overflow:visible!important}.brand-wordmark img{display:block!important;width:111px!important;height:51px!important;max-width:none!important;position:static!important;transform:none!important;object-fit:contain!important}.top-right{gap:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:50%;color:var(--primary-dark);background:#ffffffb8;padding:10px}.btn{min-height:54px;border-radius:30px;font-size:16px;font-weight:800;justify-content:center;gap:10px}.btn:not(.secondary):not(.ghost){background:linear-gradient(180deg,#923def,#5e16c8);box-shadow:0 5px 12px #6b3dff26;color:#fff}.btn.secondary{background:var(--surface);border:1px solid var(--border);color:var(--primary)}
/* Persistent navigation owns the single bottom safe area. */
.bottom-nav{display:flex;position:fixed;inset:auto 0 0;width:min(100%,var(--app-width));margin:auto;z-index:30;min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:8px 16px calc(8px + env(safe-area-inset-bottom));gap:2px;align-items:center;justify-content:space-around;background:#fffcff;border-top:1px solid var(--border);box-shadow:0 -2px 15px #6b3dff04}.bottom-nav .nav-item{flex:1;min-width:0;max-width:none;min-height:60px;padding:5px 0;display:flex;flex-direction:column;justify-content:center;gap:4px;align-items:center;background:none;border-radius:10px;color:#8a7db9;font-size:11px;font-weight:650;line-height:1.25}.bottom-nav .nav-item.active{color:#5820ed;background:none;font-weight:900}.bottom-nav .nav-item>.icon{width:26px;height:26px;fill:none;stroke-width:initial}.bottom-nav .nav-item span{white-space:nowrap}.mini-player{position:fixed;z-index:29;left:0;right:0;width:min(calc(100% - 24px),406px);bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 9px);margin:auto;border:1px solid var(--border);background:#fff;padding:8px 10px;border-radius:18px}.mini-player>img{width:40px;height:44px}.mini-player .mini-title{font-size:13px}.mini-player .mini-title small{font-size:10px}.mini-player .icon-button{width:40px;min-width:40px}.toast{z-index:100;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 20px);font-size:13px;max-width:calc(100% - 32px)}body:has(.mini-player) .shell{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 100px)}body:has(.mini-player) .toast{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 85px)}.desktop-badge{position:fixed;bottom:14px;right:18px;color:var(--muted);font-size:11px;z-index:2}
/* Home */
.home-first{min-height:calc(100svh - 195px - env(safe-area-inset-bottom));display:flex;flex-direction:column}.greeting{display:block;margin:0}.greeting .eyebrow{font-size:10px;line-height:1.4;letter-spacing:1.1px;font-weight:900;color:#5420cc;display:flex;align-items:center;gap:7px}.greeting .eyebrow .icon{width:17px;height:17px;color:#f5ae25}.greeting h1{font-size:38px;line-height:1.02;margin:12px 0 7px;max-width:100%;letter-spacing:-1.1px}.greeting .subtitle{font-size:16px;line-height:1.3;margin:0;color:var(--muted)}.home-search{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;margin:14px 0 16px;padding:8px 15px;border:1px solid #e3d9ff;border-radius:17px;background:#ffffffbf;color:var(--muted);text-align:left;font-size:13px}.home-search .icon{width:20px;height:20px}.today-story{position:relative;isolation:isolate;width:100%;flex:1;min-height:245px;max-height:360px;overflow:hidden;border-radius:20px;background:var(--lavender)}.today-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%;z-index:-2}.today-story:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f7eaffdd,transparent 72%),linear-gradient(0deg,#25115e80,transparent 22%)}.today-copy{padding:14px 17px}.today-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:20px;background:#fffffff0;color:var(--ink);font-size:10px;font-weight:950;letter-spacing:.6px}.today-badge .icon{width:14px;height:14px;color:var(--gold)}.today-copy h2{font-size:31px;line-height:1.04;margin:10px 0 16px;letter-spacing:-.9px}.today-play{width:61px;height:61px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#9639fa,#6321cc);color:white;box-shadow:0 4px 14px #5d22ad30}.today-play .icon{width:32px;height:32px}.today-meta{position:absolute;left:17px;bottom:12px;display:flex;align-items:center;gap:5px;color:white;font-size:12px;font-weight:650}.today-meta>.icon{width:14px;height:14px}.home-more{padding-top:30px}.section{margin:0 0 28px}.section-head{margin:0 0 14px;align-items:center}.section-head h2{font-size:23px;line-height:1.15}.section-head .text-link{max-width:none}.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.story-card{padding:0;border:0;background:transparent;box-shadow:none}.cover-button{border-radius:17px;aspect-ratio:1}.cover-category{display:none}.cover-play{width:34px;height:34px}.story-meta{padding:10px 0 0;position:relative}.story-meta h3{font-size:14px;font-weight:850}.story-meta .favorite{position:absolute;right:-8px;top:0;width:40px;min-width:40px;min-height:40px}.card-eyebrow{font-size:9px;padding-right:32px;color:var(--muted)}.story-info{font-size:12px;color:var(--muted)}.story-info .icon{width:13px;height:13px}.story-title{min-height:36px}.continue-strip{padding:12px;margin:0 0 25px;background:#fff;border:1px solid var(--border);border-radius:18px}.continue-strip strong{font-size:14px}.continue-strip span span{font-size:11px}.bottom-note{font-size:12px}.age-pill{font-size:12px;padding:0 8px}.favorite.is-favorite,.is-favorite{color:#f06191!important}
/* Discover is a quiet, compact list; search/filter controls expand on request. */
.discover-screen>.topbar,.library-screen>.topbar,.profiles-screen>.topbar,.player-screen>.topbar,.splash-screen>.topbar{display:none}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 0 19px}.page-heading h1{font-size:29px;margin:0;letter-spacing:-.7px}.explore-categories{display:flex;overflow-x:auto;gap:8px;margin:0 -24px 19px;padding:0 24px;scrollbar-width:none;scroll-padding-inline:24px}.explore-categories::-webkit-scrollbar{display:none}.explore-category{flex:0 0 auto;display:inline-flex;justify-content:center;align-items:center;min-width:0;min-height:40px;margin:0;padding:8px 15px;border:1px solid var(--border);border-radius:15px;background:#f0ebff;color:#7462b2;font-size:12px;font-weight:650;white-space:nowrap}.explore-category.active{color:#6126e2;border-color:#d2bcff;background:#eae0ff}.search-panel{margin-bottom:16px}.search-row{display:flex;margin:0;gap:8px}.searchbar{flex:1;min-width:0;min-height:44px;border-radius:14px;padding:0 10px;background:#fff}.searchbar input{font-size:16px;min-width:0;min-height:44px}.age-segments{margin:0 0 16px;display:grid;grid-template-columns:repeat(4,1fr);gap:0;width:100%;padding:3px}.age-segment{min-height:40px;font-size:11px;padding:8px 3px}.active-filter-note{display:flex;align-items:center;gap:6px;margin:0 0 12px;font-size:12px;color:var(--primary)}.active-filter-note>.icon{width:16px;height:16px}.discovery-list{display:grid;gap:18px}.story-row{display:grid;grid-template-columns:84px minmax(0,1fr) 44px;gap:13px;align-items:center}.row-cover{display:block;width:84px;height:84px;overflow:hidden;border-radius:15px;padding:0}.row-cover img{width:100%;height:100%;object-fit:cover}.row-copy{min-width:0}.row-title{text-align:left;font-size:14px;font-weight:850;line-height:1.35;color:var(--ink);padding:0;min-height:32px}.row-copy p{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;margin:5px 0 0;white-space:nowrap}.row-copy p>.icon{width:13px;height:13px}.row-play{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);color:var(--primary);background:#ffffffa0}.row-play>.icon{width:21px;height:21px}.library-screen>h1{font-size:30px;line-height:1.15}.library-screen>.subtitle{font-size:15px}.library-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:22px 0}.library-tabs .chip{font-size:12px;min-height:42px;padding:8px 12px}.empty{grid-column:1/-1;padding:30px 8px;text-align:center}.empty h2{font-size:22px}.empty p{font-size:14px}
/* Story detail is a full mobile sheet with artwork in its upper half. */
dialog{border:1px solid var(--border);background:var(--background);color:var(--ink);max-width:430px;width:calc(100% - 24px);border-radius:25px;padding:25px;max-height:calc(100svh - 32px);margin:auto}dialog::backdrop{background:#20113c66;backdrop-filter:blur(5px)}dialog:has(.reference-detail){width:min(100%,430px);max-width:430px;height:100svh;max-height:100svh;padding:0;overflow:auto;border:0;border-radius:0;background:var(--background)}dialog:has(.reference-detail)>.modal-head{display:none}.reference-detail{min-height:100%;display:flex;flex-direction:column}.detail-art{position:relative;height:46svh;min-height:280px;max-height:410px;flex-shrink:0}.detail-art>img{width:100%;height:100%;object-fit:cover;object-position:50% 48%;display:block}.detail-back,.detail-heart{position:absolute;top:calc(20px + env(safe-area-inset-top));background:#fffdf8;border:0;box-shadow:0 2px 12px #2f17451a}.detail-back{left:20px}.detail-heart{right:20px;color:var(--primary)}.detail-sheet{position:relative;flex:1;margin-top:-22px;padding:24px 24px calc(16px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:var(--background)}.detail-sheet h2{font-size:28px;line-height:1.14;margin:0 0 7px}.detail-sheet .story-info{display:flex;align-items:center;gap:5px;margin:0;font-size:12px}.detail-description{font-size:16px;color:var(--muted);line-height:1.35;margin:13px 0 21px}.detail-sheet>.btn{width:100%;min-height:58px;font-size:16px;border-radius:32px}.button-play{display:grid;place-items:center;background:#fff;border-radius:50%;width:26px;height:26px;color:#7b26df}.button-play>.icon{width:18px;height:18px}.detail-utilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:22px -7px 0}.detail-utilities button{min-width:0;min-height:77px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;color:var(--primary)}.detail-utilities .icon{width:52px;height:52px;padding:14px;background:#f0ecff;border-radius:50%}.detail-utilities button:first-child{color:#ff5f91}.detail-utilities small{color:var(--muted);font-size:11px;white-space:nowrap}.detail-utilities [aria-pressed=true],.detail-heart[aria-pressed=true]{color:#ef4785}.detail-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:13px;color:var(--muted)}.detail-foot .text-link{font-size:12px;gap:5px}.detail-foot .text-link>.icon{width:16px;height:16px}.detail-foot small{font-size:10px}
/* Audio player: artwork, title, real timeline, transport, four utility controls. */
.player-screen:not(.reader-screen){padding:0 0 calc(16px + env(safe-area-inset-bottom));overflow:hidden}.player-screen:not(.reader-screen)~.bottom-nav{display:none}.audio-hero{position:relative;height:53svh;min-height:280px;max-height:490px}.audio-cover{width:100%;height:100%;object-fit:cover;object-position:50% 55%;display:block;mask-image:linear-gradient(#000 85%,transparent 100%)}.audio-top{position:absolute;top:calc(20px + env(safe-area-inset-top));left:21px;right:21px;display:flex;justify-content:space-between}.audio-top .icon-button{color:white;background:#ffffff22;border:1px solid #ffffff1f}.audio-top .icon-button:first-child>.icon{transform:rotate(-90deg)}.audio-sheet{position:relative;margin-top:-6px;padding:0 28px}.audio-sheet h1{font-size:21px;text-align:center;line-height:1.2;letter-spacing:-.4px;margin:0}.audio-chapters{display:block;margin:4px auto 0;font-size:11px;color:var(--muted);padding:2px 12px;min-height:28px}.audio-timeline{margin-top:18px}#audio-progress{display:block;width:100%;height:22px;margin:0;background:transparent;accent-color:#5723e0;cursor:pointer;appearance:none}#audio-progress::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,#6326ec var(--progress),#e0d8f9 var(--progress))}#audio-progress::-webkit-slider-thumb{appearance:none;width:10px;height:10px;margin-top:-3px;background:#5420ca;border-radius:50%}#audio-progress::-moz-range-track{height:4px;border-radius:4px;background:#e0d8f9}#audio-progress::-moz-range-progress{height:4px;background:#6326ec}#audio-progress::-moz-range-thumb{width:10px;height:10px;border:0;background:#5420ca;border-radius:50%}.audio-timeline .time-row{display:flex;justify-content:space-between;margin-top:1px;color:var(--muted);font-size:11px}.audio-controls{display:flex;align-items:center;justify-content:space-between;padding:0 12px;margin:20px 0 25px}.audio-controls>.icon-button{background:none;border:0;color:#6926f5;width:48px;height:48px}.audio-controls>.icon-button>.icon{width:30px;height:30px}.audio-controls .main-play{width:83px;height:83px;display:grid;place-items:center;background:#ede6ff;color:#4215b2;border:0;border-radius:50%;box-shadow:none}.audio-controls .main-play>.icon{width:38px;height:38px;fill:none}.audio-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0 -12px}.audio-tools .player-tool{display:flex;align-items:center;flex-direction:column;gap:10px;color:#8172b7;min-height:65px;padding:6px 0;border:0}.audio-tools .player-tool>.icon{width:25px;height:25px}.audio-tools .player-tool small{font-size:10px;white-space:nowrap}.audio-tools .player-tool[aria-pressed=true]{color:var(--primary)}.audio-extra{margin:21px 0 0;font-size:11px;color:var(--muted);text-align:center}.audio-extra summary{cursor:pointer;min-height:30px}.audio-extra p{margin:10px 0}.audio-extra .text-link{margin:4px 8px;font-size:12px}.night-mode{background:#211440}.night-mode .audio-sheet h1{color:#f8f3ff}.night-mode .audio-chapters,.night-mode .time-row,.night-mode .audio-tools .player-tool,.night-mode .audio-extra{color:#cabce9}.night-mode .audio-controls .main-play{background:#413067;color:#fff}.night-mode .audio-controls>.icon-button{color:#c7a3ff}.reader-screen .player-layout{display:flex;flex-direction:column;gap:20px}.reader-screen .player-art-wrap{width:100%;max-width:none}.reader-screen .player-cover{width:100%;height:220px;object-fit:cover;border-radius:20px}.reader-screen .player-cover-label{display:none}.reader-screen .player-copy h1{font-size:27px}.reader-screen .player-copy .story-text{font-size:21px;line-height:1.7}.reader-screen .player-tags{display:none}.reader-screen .reading-controls{display:flex}.reader-screen .reading-controls>.btn{flex:1;font-size:13px}.reader-screen .listening-label{display:none}.reader-screen .chapter-row{font-size:12px}.reader-screen .time-row{font-size:11px}
/* Child picker and branded opening. Supplied logo remains a real vector asset. */
.profiles-screen{padding:0;min-height:100svh}.profile-scene{position:relative;min-height:100svh;background:url('assets/illustrations/profile-clouds-v3.png') center bottom/cover no-repeat;padding:130px 20px 190px}.profile-back{position:absolute;top:24px;left:22px;background:transparent}.profile-scene h1{text-align:center;font-size:27px;line-height:1.2;margin:0 0 52px;letter-spacing:-.6px}.child-profiles{display:flex;align-items:flex-start;justify-content:center;gap:19px;flex-wrap:wrap}.child-profile{display:flex;flex-direction:column;align-items:center;width:88px;gap:7px;padding:0;color:var(--ink)}.child-profile>img,.child-profile>span{display:grid;place-items:center;width:80px;height:80px;border:2px solid #ece5ff;border-radius:50%;object-fit:cover;padding:4px;background:#efeaff}.child-profile.selected>img{border:2px solid #a77cfa;background:#e4d2ff}.child-profile strong{font-size:15px;font-weight:900;line-height:1.15;overflow-wrap:anywhere}.child-profile small{font-size:12px;color:var(--muted);margin-top:-2px}.child-profile.selected small{color:var(--primary);font-weight:800}.new-profile{padding-top:8px}.new-profile>span{width:65px;height:65px;padding:16px;margin-bottom:15px;color:var(--primary-dark);background:#f2ecff;border:1px solid #e6ddff}.new-profile small{font-size:12px}.profile-parent{display:flex;gap:6px;align-items:center;margin:40px auto 0;font-size:11px;color:var(--muted)}.profile-parent>.icon{width:15px;height:15px}.profiles-screen~.bottom-nav,.splash-screen~.bottom-nav,.profiles-screen~.mini-player,.splash-screen~.mini-player{display:none}.splash-screen{padding:0;min-height:100svh}.splash-enter{display:block;position:relative;width:100%;height:100svh;min-height:600px;padding:0;overflow:hidden;isolation:isolate;text-align:center}.splash-art{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-1}.splash-brand{position:absolute;top:11%;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:9px}.splash-icon{width:112px;height:112px;border-radius:29px;box-shadow:0 10px 24px #5a25983d}.splash-wordmark{width:200px;height:auto}.splash-hint{position:absolute;bottom:calc(24px + env(safe-area-inset-bottom));left:20px;right:20px;display:flex;justify-content:center;align-items:center;gap:8px;color:#fff;font-size:12px;text-shadow:0 1px 6px #321c4d}.splash-hint>.icon{width:17px;height:17px}.parent-grid{display:grid;grid-template-columns:1fr;gap:18px}.parent-header{display:block}.parent-header h1{font-size:30px}.parent-header .btn{margin-top:15px}.panel{padding:22px;border-radius:24px;background:#fff;border:1px solid var(--border)}.panel h2{font-size:23px}.panel p{font-size:14px}.panel small{font-size:12px}#profile-form select,#profile-form input{width:100%;min-height:48px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff;font-size:16px;color:var(--ink)}#profile-form .field{display:block;margin:18px 0 7px}#profile-form>.btn{margin-top:24px}.account-screen-content h1{font-size:31px}
@media(min-width:761px){.shell{box-shadow:0 0 70px #4a257512}.bottom-nav{box-shadow:0 0 35px #4a25750b}dialog:has(.reference-detail){border-radius:24px;height:min(840px,96svh);max-height:96svh}.detail-art{height:380px;max-height:46svh}}
@media(max-width:760px){.desktop-badge{display:none}.shell{padding-top:calc(26px + env(safe-area-inset-top))}.player-screen:not(.reader-screen),.profiles-screen,.splash-screen{padding-top:0}.home-first{min-height:calc(100svh - 195px - env(safe-area-inset-bottom) - env(safe-area-inset-top))}}
@media(max-width:360px){.shell{padding-inline:20px}.player-screen:not(.reader-screen),.profiles-screen,.splash-screen{padding-inline:0}.greeting h1{font-size:34px}.today-copy h2{font-size:28px}.story-row{grid-template-columns:72px minmax(0,1fr) 40px;gap:10px}.row-cover{width:72px;height:72px}.row-title{font-size:13px}.row-play{width:40px;height:40px}.child-profiles{gap:9px}.detail-sheet{padding-inline:20px}.detail-sheet h2{font-size:25px}.detail-utilities small{font-size:10px}}
@media(max-height:700px){.greeting h1{font-size:32px}.greeting .subtitle{font-size:14px}.home-screen .topbar{margin-bottom:16px}.home-search{margin-block:12px}.today-story{min-height:220px}.today-copy h2{font-size:28px}.today-play{width:52px;height:52px}.audio-controls{margin:12px 0 14px}.audio-controls .main-play{width:68px;height:68px}.audio-hero{height:49svh;min-height:220px}.audio-extra{margin-top:14px}.detail-art{min-height:230px}.detail-description{margin-block:10px 16px}.detail-utilities{margin-top:17px}.detail-foot{padding-top:5px}.profile-scene{padding-top:110px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Native scrolling stays available without a desktop scrollbar inside the app. */
html{scrollbar-width:none;scrollbar-gutter:auto}html::-webkit-scrollbar,body::-webkit-scrollbar,dialog::-webkit-scrollbar{display:none}body,dialog{scrollbar-width:none;scrollbar-gutter:auto}.today-story:after{background:linear-gradient(0deg,#25115e55,transparent 23%)}
.today-story>img{object-position:right center}.greeting h1{font-weight:800}.row-title{font-weight:800}.more-stories{display:flex;align-items:center;justify-content:center;gap:8px;margin:24px auto 0;min-height:44px;color:var(--muted);font-size:12px}.more-stories>.icon{width:16px;height:16px}
.audio-cover{object-position:center top}.audio-top .icon-button:first-child>.icon{transform:none}.profile-scene{background-size:100% 100%}.page-heading h1,.detail-sheet h2,.profile-scene h1{font-weight:800}.audio-sheet h1{font-weight:800}.today-copy h2{font-weight:800}
.profile-back{top:calc(24px + env(safe-area-inset-top))}.profile-scene{padding-top:calc(130px + env(safe-area-inset-top))}
@media(max-height:700px){.profile-scene{padding-top:calc(110px + env(safe-area-inset-top))}}
@media(max-width:360px){.child-profile{width:84px}}
/* Final interaction audit: quiet fields, visible keyboard controls, stable touch layouts. */
input:focus,input:focus-visible,textarea:focus,textarea:focus-visible,select:focus,select:focus-visible{outline:none;box-shadow:none}
#app input:not([type=range]):focus,#modal input:not([type=range]):focus,#modal textarea:focus,#modal select:focus{background-color:#f2eeff;caret-color:var(--primary-dark)}
.searchbar:focus-within{background:#f2eeff}#app .searchbar input:focus{background:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
button:focus:not(:focus-visible),a:focus:not(:focus-visible),summary:focus:not(:focus-visible),dialog:focus{outline:none}
#app input,#app select,dialog input,dialog select,dialog textarea{font-size:16px;scroll-margin-block:24px}
[hidden]{display:none!important}dialog{overscroll-behavior:contain;scroll-padding-block:24px}body:has(dialog[open]){overflow:hidden}
.time-row{font-variant-numeric:tabular-nums}.row-title,.story-title h3,.audio-sheet h1,.detail-sheet h2{overflow-wrap:anywhere}
.desktop-badge{pointer-events:auto}.account-screen-content>.btn{margin-bottom:14px}.inline-error:empty{min-height:0}
.audio-extra summary{min-height:44px;display:list-item;padding-block:10px}
.explore-category,.age-segment{min-height:44px}.child-profile strong{max-width:100%}
#cloud-login-status{font-size:13px;margin-top:12px}.form-error{font-size:13px;color:var(--danger);margin:8px 0}
@media(pointer:coarse){body:has(input:not([type=range]):focus) .bottom-nav,body:has(input:not([type=range]):focus) .mini-player{visibility:hidden}}
@media(forced-colors:active){input:focus,textarea:focus,select:focus{border-color:Highlight}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:Highlight}}

.search-clear{width:44px;min-width:44px;height:44px}
#audio-progress:focus-visible{accent-color:var(--primary-dark);background-color:#e8deff;border-radius:12px}

/* Desktop uses the same story world with space for browsing and listening. */
.desktop-categories{display:none}
.search-panel:not(.is-open),.age-segments:not(.is-open){display:none}
.skip-link{position:fixed;top:12px;left:12px;z-index:100;background:var(--ink);color:#fff;padding:12px 20px;border-radius:12px;transform:translateY(-160%)}
.skip-link:focus{transform:none}#main-content:focus{outline:none}
@media(min-width:900px){
  :root{--desktop-nav-width:224px;--desktop-frame-gap:24px;--desktop-frame-max:1600px;--desktop-frame-inset:max(var(--desktop-frame-gap),calc((100vw - var(--desktop-frame-max))/2));}
  html,body{scrollbar-width:thin;scrollbar-color:#c8b9e8 var(--background)}
  html::-webkit-scrollbar,body::-webkit-scrollbar{display:initial;width:8px}
  body{background:#eeeaf8}
  #app{max-width:var(--desktop-frame-max);margin:0 auto;position:relative}
  #app:has(> .shell){display:flex;align-items:stretch;width:calc(100% - var(--desktop-frame-gap)*2);margin:var(--desktop-frame-gap) auto;min-height:calc(100dvh - var(--desktop-frame-gap)*2);border:1px solid #ddd2ee;border-radius:28px;background:var(--background);box-shadow:0 18px 65px #30115e0d,0 3px 12px #30115e06;overflow:clip}
  .sidebar{display:flex;flex-direction:column;position:sticky;align-self:flex-start;flex:0 0 var(--desktop-nav-width);left:auto;top:var(--desktop-frame-gap);bottom:auto;width:var(--desktop-nav-width);height:calc(100dvh - var(--desktop-frame-gap)*2 - 2px);padding:36px 22px 26px;background:#fff;border-right:1px solid var(--border);z-index:35;overflow-y:auto}
  .sidebar .brand{justify-content:center;margin-bottom:48px;flex-shrink:0}
  .sidebar .brand-app-icon{width:42px;height:42px;border-radius:12px}
  .side-nav{display:flex;flex-direction:column;gap:8px;margin:0}
  .side-nav .nav-item{display:flex;align-items:center;gap:14px;min-height:54px;width:100%;padding:14px 16px;border-radius:16px;font-size:15px;font-weight:750;color:var(--muted);text-align:left}
  .side-nav .nav-item.active{color:var(--primary);background:var(--lavender)}
  .side-nav .nav-item .icon{width:24px;height:24px;flex-shrink:0}
  .side-bottom{position:static;margin-top:auto;padding-top:48px}
  .side-note{display:flex;flex-direction:column;gap:12px;padding:24px 18px;border-radius:24px;background:linear-gradient(150deg,#f5f0ff,#fff7e7);color:var(--ink)}
  .side-note>.icon{color:#d89712;width:28px;height:28px}.side-note p{font-size:15px;line-height:1.6;margin:0;font-weight:700}
  .parent-link{display:flex;gap:12px;align-items:center;padding:20px 8px 0;width:100%;text-align:left;color:var(--muted);font-size:13px}
  .parent-link>.icon{width:22px;flex-shrink:0}.parent-link small{display:block;font-size:11px;margin-top:3px;font-weight:400}
  .shell{flex:1;min-width:0;width:calc(100% - var(--desktop-nav-width));max-width:none;margin:0;padding:30px clamp(28px,3.4vw,56px) 64px;min-height:calc(100dvh - var(--desktop-frame-gap)*2 - 2px);box-shadow:none;overflow:visible}
  .bottom-nav,.desktop-badge{display:none!important}
  .topbar,.discover-screen>.topbar,.library-screen>.topbar,.player-screen>.topbar,.parent>.topbar{display:flex;height:48px;margin:0 0 36px}
  .mobile-brand{display:none}.breadcrumb{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;letter-spacing:0}.breadcrumb span{color:#c7b9df}
  .top-right{gap:18px}.top-right>.profile{display:flex;align-items:center;gap:10px;padding:0;text-align:left;border-radius:14px}
  .desktop-avatar{width:42px;height:42px;border:2px solid #e4d6ff;background:var(--lavender);border-radius:50%;object-fit:cover}
  .profile b{font-size:13px;color:var(--ink)}.profile small{font-size:11px;color:var(--muted);display:block;margin-top:2px}.profile>.icon{width:16px;height:16px;color:var(--muted)}
  .home-first{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.3fr);grid-template-rows:1fr auto;gap:0 40px;min-height:0;padding:0;align-items:center}
  .greeting{grid-column:1;grid-row:1;margin:0;align-self:end;padding-bottom:24px}
  .greeting .eyebrow{font-size:11px;letter-spacing:1.2px;margin-bottom:20px}
  .greeting h1{font-size:clamp(36px,3.2vw,50px);line-height:1.08;letter-spacing:-1.5px}
  .greeting .subtitle{font-size:17px;line-height:1.55;margin-top:18px}.greeting .subtitle br{display:none}
  .home-search{grid-column:1;grid-row:2;margin:0 0 32px;min-height:54px;border-radius:17px;font-size:14px;align-self:start;background:white;padding:14px 18px}
  .today-story{grid-column:2;grid-row:1/span 2;min-height:340px;height:clamp(340px,27vw,400px);max-height:none;border-radius:28px;box-shadow:0 12px 32px #52307a12;align-self:stretch}
  .today-story>img{object-position:right 60%}.today-story:after{background:linear-gradient(90deg,#fff3eaaa,transparent 62%),linear-gradient(0deg,#25115e70,transparent 25%)}
  .today-copy{padding:24px}.today-copy h2{font-size:clamp(30px,2.8vw,40px);line-height:1.08;margin:16px 0 20px;max-width:65%}.today-badge{font-size:10px;padding:6px 10px}.today-meta{left:24px;bottom:20px;font-size:13px}.today-play{width:60px;height:60px}
  .desktop-categories{display:block;margin-top:38px}.section-head h2{font-size:23px;font-weight:800}.section-head{margin-bottom:20px}.text-link{font-size:13px;gap:6px;min-height:36px}
  .desktop-categories .categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .desktop-categories .category{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:9px;min-height:64px;border:1px solid var(--border);background:#fff;border-radius:18px;padding:10px 8px;font-size:12px;font-weight:750}
  .category-art{width:32px;height:32px;flex-shrink:0;border-radius:11px}.category-art>.icon{width:21px;height:21px}.category:hover .category-art{transform:none}
  .home-more{padding-top:38px}.section{margin-bottom:36px}.story-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
  .cover-button{aspect-ratio:1.12;border-radius:22px}.story-meta{padding-top:14px}.story-meta h3{font-size:16px;line-height:1.4;padding-right:10px}.card-eyebrow{font-size:10px;letter-spacing:.7px;margin-bottom:3px}.story-title{min-height:0;padding-right:18px}.story-info{font-size:12px;margin-top:7px}.story-meta .favorite{right:-5px;top:7px}
  .cover-play{width:40px;height:40px}.cover-play>.icon{width:20px;height:20px}
  .published-shelf .story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .published-shelf .story-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;padding:16px;border:1px solid var(--border);border-radius:23px;background:white;align-items:center}
  .published-shelf .cover-button{aspect-ratio:1;border-radius:15px}.published-shelf .story-meta{padding:0}.published-shelf .story-meta h3{font-size:16px}.published-shelf .favorite{top:-10px}
  .continue-strip{max-width:660px;padding:16px 20px;margin:0 0 36px;gap:16px;border-radius:22px}.continue-strip>img{width:56px;height:56px}.continue-strip strong{font-size:16px}.continue-strip small{font-size:10px}.continue-strip span span{font-size:12px}
  .page-heading{margin:0 0 26px}.page-heading h1,.library-screen>h1{font-size:36px}.page-heading [data-action=toggle-search]{display:none}
  .search-panel:not(.is-open),.age-segments:not(.is-open){display:block}
  .search-panel{margin:0 0 24px;max-width:760px}.searchbar{padding:4px 16px;border-radius:16px}.search-row>.icon-button{width:54px;height:54px;border-radius:16px}
  .explore-categories{margin:0 0 18px;padding:0;gap:10px;border:0;overflow:visible;flex-wrap:wrap;justify-content:flex-start}
  .explore-category{font-size:13px;padding:10px 20px}.age-segments,.age-segments:not(.is-open){display:flex;max-width:430px;margin:0 0 26px;padding:4px}.age-segment{flex:1;font-size:12px}.active-filter-note{margin-bottom:18px}
  .discovery-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .story-row{grid-template-columns:108px minmax(0,1fr) 44px;gap:18px;background:white;padding:16px;border:1px solid var(--border);border-radius:24px;align-items:center}
  .row-cover{width:108px;height:108px;border-radius:16px}.row-title{font-size:17px;line-height:1.4}.row-copy p{font-size:12px;margin-top:9px}.row-play{background:var(--lavender);border:0}
  .more-stories{min-width:180px;margin-top:28px;background:#fff;border:1px solid var(--border);padding:10px 20px;border-radius:16px;font-size:13px}
  .empty{padding:64px 30px}.empty h2{font-size:27px}.empty p{font-size:16px}.library-tabs{margin:28px 0}.library-tabs .chip{font-size:14px;padding:12px 20px;border-radius:14px}.library-screen>.subtitle{font-size:16px}
  .mini-player{left:calc(var(--desktop-frame-inset) + var(--desktop-nav-width));right:var(--desktop-frame-inset);bottom:calc(var(--desktop-frame-gap) + 16px);width:min(620px,calc(100% - var(--desktop-frame-inset)*2 - var(--desktop-nav-width) - 64px));margin:0 auto;padding:14px 18px;border-radius:22px;box-shadow:0 10px 40px #25115e20;background:#fff}
  body:has(.mini-player) .shell{padding-bottom:130px}.mini-player .mini-title{font-size:14px}.mini-title small{font-size:12px}.toast{bottom:28px}body:has(.mini-player) .toast{bottom:115px}
  dialog{width:min(480px,calc(100% - 48px));max-width:480px;padding:32px;max-height:calc(100dvh - 64px)}
  dialog:has(.reference-detail){width:min(940px,calc(100% - 80px));max-width:940px;height:min(600px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);border-radius:28px;padding:0}
  .reference-detail{display:grid;grid-template-columns:1fr 1fr;min-height:100%}.detail-art{height:100%;min-height:500px;max-height:none}.detail-art>img{object-position:center}.detail-back,.detail-heart{top:22px}
  .detail-sheet{margin:0;border-radius:0;padding:52px 36px 30px;display:flex;flex-direction:column;justify-content:center}.detail-sheet h2{font-size:34px;line-height:1.15}.detail-sheet .story-info{font-size:13px;margin-top:8px}.detail-description{font-size:17px;line-height:1.55;margin:20px 0 26px}.detail-utilities{margin-top:26px}.detail-utilities small{font-size:12px}.detail-foot{margin-top:16px;flex-wrap:wrap}
  .player-screen:not(.reader-screen){padding:30px clamp(28px,3.4vw,56px) 64px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:0 42px;align-content:start;align-items:center;overflow:visible}
  .player-screen>.topbar{grid-column:1/-1}.audio-hero{height:clamp(420px,41vw,570px);min-height:0;max-height:none;border-radius:28px;overflow:hidden;box-shadow:0 16px 38px #30115615}.audio-cover{mask-image:none;object-position:center}.audio-sheet{margin:0;padding:10px 0;min-width:0}.audio-sheet h1{font-size:32px;line-height:1.2}.audio-chapters{font-size:13px;margin-top:12px;min-height:40px}.audio-timeline{margin-top:28px}.audio-timeline .time-row{font-size:12px}.audio-controls{max-width:320px;margin:28px auto;padding:0}.audio-controls .main-play{width:88px;height:88px}.audio-tools{margin:0;gap:8px}.audio-tools .player-tool{padding:12px 4px;border-radius:16px;min-height:82px}.audio-tools .player-tool small{font-size:12px}.audio-extra{font-size:12px;margin-top:26px}.audio-extra summary{display:none}.audio-extra:not([open])>*:not(summary){display:none}.audio-extra summary{display:list-item}.audio-top{top:22px;left:22px;right:22px}
  .night-mode .breadcrumb,.night-mode .profile b,.night-mode .profile small{color:#d4c5ef}
  .reader-screen .player-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:44px;align-items:start}.reader-screen .player-cover{height:auto;aspect-ratio:.85;max-height:580px;border-radius:26px}.reader-screen .player-copy h1{font-size:32px}.reader-screen .player-copy .story-text{font-size:23px;line-height:1.8;max-width:36em}.reader-screen .reading-controls>.btn{font-size:15px}
  .profiles-screen{padding:28px 36px;display:grid;place-items:center}.profile-scene{width:min(100%,850px);min-height:680px;border:1px solid var(--border);border-radius:32px;padding:140px 48px 180px;background-size:cover;background-position:center bottom}.profile-scene h1{font-size:35px;margin-bottom:48px}.child-profiles{gap:36px}.child-profile{width:112px}.child-profile>img{width:104px;height:104px}.child-profile strong{font-size:17px}.child-profile small{font-size:14px}.new-profile>span{width:88px;height:88px;margin-bottom:14px}.profile-parent{font-size:13px;margin-top:44px}
  .parent-header{display:flex;gap:24px;align-items:center}.parent-header h1{font-size:36px}.parent-header .btn{margin:0;flex-shrink:0}.parent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.panel{padding:28px}.panel p{font-size:15px;line-height:1.6}.panel small{font-size:12px}.account-screen-content{max-width:600px;margin:0 auto;padding:30px 0}.account-screen-content h1{font-size:36px}
  #app:has(.splash-screen) .sidebar{display:none}.splash-screen{width:100%;margin:0;padding:0}.splash-enter{height:100dvh;min-height:680px;background:#eee5ff}.splash-art{width:58%;left:auto;object-position:center 60%}.splash-brand{left:0;right:auto;width:42%;top:30%;gap:24px}.splash-icon{width:145px;height:145px;border-radius:36px}.splash-wordmark{width:260px}.splash-hint{left:0;right:auto;width:42%;bottom:22%;font-size:15px;color:var(--primary-dark);text-shadow:none}
}
@media(min-width:900px) and (max-width:1150px){
  :root{--desktop-nav-width:190px;--desktop-frame-gap:16px}.sidebar{padding-inline:15px}.sidebar .brand-app-icon{width:35px;height:35px}.sidebar .brand-wordmark,.sidebar .brand-wordmark img{width:100px!important}.home-first{gap:0 24px;grid-template-columns:minmax(220px,.85fr) minmax(0,1fr)}.greeting h1{font-size:36px}.greeting .subtitle{font-size:15px}.today-story{height:340px}.today-copy{padding:18px}.today-copy h2{font-size:30px}.desktop-categories .categories{grid-template-columns:repeat(3,minmax(0,1fr))}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.discovery-list{grid-template-columns:1fr}.published-shelf .story-grid{grid-template-columns:1fr}.player-screen:not(.reader-screen){gap:0 26px;grid-template-columns:minmax(0,1fr) minmax(270px,1fr)}.audio-hero{height:430px}.audio-sheet h1{font-size:27px}.audio-tools .player-tool small{font-size:11px}
}
@media(min-width:761px) and (max-width:899px){.shell{--app-width:620px}.bottom-nav{width:620px}.mini-player{width:580px}.home-first{min-height:0}.today-story{min-height:360px}.home-more{padding-top:32px}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:900px) and (hover:hover){
 .side-nav .nav-item:hover,.profile:hover{background:#f4efff}.side-nav .nav-item.active:hover{background:#e7ddff}.category:hover,.story-row:hover{border-color:#cdb8f4;background:#fdfbff}.row-play:hover,.audio-tools .player-tool:hover{background:#e7dcff}.home-search:hover{border-color:#b59be9}.cover-button:hover{box-shadow:0 8px 20px #4d29791c}.parent-link:hover{color:var(--primary)}
}

@media(min-width:1151px){
 .home-more:has(.published-shelf):has(.continue-strip){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
 .home-more:has(.continue-strip) .published-shelf .story-grid{grid-template-columns:1fr}
 .home-more:has(.published-shelf)>.continue-strip{grid-column:2;grid-row:1;align-self:end;min-height:146px;margin-bottom:36px;max-width:none}
 .home-more:has(.published-shelf):has(.continue-strip)>:not(.published-shelf):not(.continue-strip){grid-column:1/-1}
}

/* One official Iconsax transport pair, consistent at every size. */
.today-play{background:#fff;color:var(--primary);box-shadow:0 4px 16px #25115e18;padding:0}
.today-play>.icon{width:100%;height:100%}
.audio-controls .main-play,.main-play{background:transparent;box-shadow:none;color:var(--primary);padding:0}
.audio-controls .main-play>.icon,.main-play>.icon{width:100%;height:100%}
.row-play{background:transparent;border:0;padding:2px;color:var(--primary)}
.row-play>.icon{width:36px;height:36px}
.cover-play,.continue-play{background:#fff;color:var(--primary);box-shadow:0 2px 8px #25115e12;padding:0}
.cover-play>.icon,.continue-play>.icon{width:100%;height:100%}
.button-play{background:transparent;color:inherit;width:26px;height:26px}
.button-play>.icon{width:26px;height:26px}
.mini-player [data-action=play]{background:transparent;border:0;padding:0;color:var(--primary)}
.mini-player [data-action=play]>.icon{width:40px;height:40px}
.night-mode .audio-controls .main-play{background:transparent;color:#c8adff}
@media(hover:hover){.row-play:hover,.audio-controls .main-play:hover{background:transparent;color:var(--primary-dark)}.night-mode .audio-controls .main-play:hover{color:#e1d2ff}}

/* Guest introduction — Figma 26:319 / 335 / 352, 390 × 752 reference. */
.guest-shell{--guest-primary:#7127e9;--guest-ink:#30186b;--guest-muted:#7e6c9f;position:relative;width:100%;max-width:430px;min-height:100svh;margin:0 auto;background:#fcfaff;color:var(--guest-ink);overflow:hidden}
.onboarding-page{min-height:100svh;display:flex;flex-direction:column;background:#fcfaff}
.onboarding-art{height:360px;position:relative;flex:none}
.onboarding-picture{display:block;width:100%;height:360px;object-fit:cover}
.onboarding-cloud{position:absolute;top:301px;left:50%;width:450px;height:141.707px;transform:translateX(-50%);pointer-events:none}
.onboarding-cloud img{display:block;width:450px;height:141.707px;max-width:none}
.onboarding-logo{position:absolute;top:27px;left:50%;transform:translateX(-50%);width:180px;height:auto}
.onboarding-skip{position:absolute;right:24px;top:24px;min-height:44px;padding:0 15px;border-radius:22px;background:#fffffff0;color:var(--guest-primary);font-size:13px;font-weight:800}
.onboarding-copy{position:relative;padding:32px 24px 0;text-align:center}
.onboarding-copy h1{font-size:32px;font-weight:800;line-height:1.25;letter-spacing:0;color:var(--guest-ink);margin:0 0 16px;outline:none}
.onboarding-copy p{font-size:17px;line-height:1.25;color:var(--guest-muted);margin:0}
.onboarding-footer{padding:40px 24px max(14px,env(safe-area-inset-bottom));margin-top:auto;text-align:center}
.onboarding-dots{display:flex;justify-content:center;margin:0 0 24px;gap:0}
.onboarding-dots button{display:grid;place-items:center;width:24px;height:40px;padding:0}
.onboarding-dots button.active{width:32px}
.onboarding-dots span{width:8px;height:8px;background:#e0d5f7;border-radius:4px}
.onboarding-dots .active span{width:24px;background:var(--guest-primary)}
.guest-shell .btn:not(.secondary):not(.ghost){min-height:56px;border-radius:28px;background:var(--guest-primary);box-shadow:none;font-size:17px;font-weight:800;color:#fff}
.onboarding-back{display:block;min-height:42px;margin:0 auto;color:var(--guest-primary);font-size:13px;font-weight:700}
@media(min-height:753px){.onboarding-art,.onboarding-picture{height:clamp(360px,47.87svh,460px)}.onboarding-cloud{top:auto;bottom:-82px}}
@media(max-width:360px){.onboarding-copy{padding-inline:16px}.onboarding-copy h1{font-size:29px}.onboarding-copy p{font-size:15px}.onboarding-footer{padding-inline:20px}.onboarding-art,.onboarding-picture{height:320px}.onboarding-cloud{top:261px;bottom:auto}}
@media(min-width:900px){.guest-shell{margin:24px auto;min-height:752px;border-radius:28px;border:1px solid #e9e2f9;box-shadow:0 4px 18px #6334b30f}.onboarding-page{min-height:752px}.onboarding-art,.onboarding-picture{height:360px}.onboarding-cloud{top:301px;bottom:auto}}

/* Catalog metadata stays public; content access is enforced by Supabase. */
.access-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;font-size:11px;line-height:1.3;font-weight:800;white-space:nowrap;background:#f1ebff;color:#5926b8}
.access-badge>.icon{width:14px;height:14px}
.access-badge.is-free{background:#edf7ef;color:#286442}
.cover-button>.access-badge{position:absolute;left:10px;top:10px;z-index:2;box-shadow:0 2px 8px #25115e10}
.cover-button>.cover-category{top:auto;bottom:10px}
.cover-button .cover-play>.icon[data-iconsax=lock]{width:24px;height:24px;margin:auto}
.cover-button .cover-play:has([data-iconsax=lock]){display:grid;place-items:center}
.row-copy>.access-badge{margin-top:5px;font-size:10px;padding:3px 7px}
.row-copy>.access-badge>.icon{width:12px;height:12px}
.row-play>.icon[data-iconsax=lock]{width:23px;height:23px}
.detail-sheet>.access-badge{margin:4px 0 0}
.membership-note{font-size:12px;color:var(--muted);text-align:center;line-height:1.5;margin:10px 0 0}
.access-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.access-filters .chip{min-height:40px;font-size:12px}
.guest-entry{display:none}
.desktop-catalog{display:none}
@media(min-width:900px){.guest-entry{display:inline-flex;min-height:42px;padding:8px 15px;font-size:13px;gap:8px}.guest-entry>.icon{width:18px;height:18px}.desktop-catalog{display:block;grid-column:1/-1}.personalized-shelf{display:none}.catalog-description{font-size:15px;line-height:1.5;color:var(--muted);margin:-3px 0 24px}.desktop-catalog .section-head{align-items:end}.desktop-catalog .eyebrow{font-size:10px;margin:0 0 8px}.mobile-more{display:none}.access-filters .chip{font-size:13px}.discovery-list .row-copy>.access-badge{font-size:11px}.home-more .published-shelf{display:none}.home-more{grid-template-columns:1fr}.story-grid .cover-button{isolation:isolate}}
/* Figma 26:369–26:603: parent account and authentication. */
.guest-auth-page{--auth-purple:#7127e9;--auth-ink:#30186b;--auth-muted:#7e6c9f;box-sizing:border-box;display:flex;flex-direction:column;min-height:100svh;min-height:100dvh;max-width:430px;margin:0 auto;padding:24px 24px max(18px,env(safe-area-inset-bottom));background:#fcfaff;color:var(--auth-ink);font-family:Nunito,sans-serif}
.guest-auth-header{height:80px;flex-shrink:0;position:relative;display:flex;justify-content:center;align-items:flex-start}
.guest-auth-header>img{width:158px;height:auto;display:block;object-fit:contain}
.guest-auth-back{position:absolute;top:0;left:0;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:var(--auth-purple)}
.guest-auth-back>.icon{width:20px;height:20px}
.guest-auth-page h1{font-family:Nunito,sans-serif;font-size:30px;font-weight:800;letter-spacing:-.6px;line-height:1.25;margin:0;color:var(--auth-ink)}
.guest-auth-page p{margin:0;line-height:1.35}
.guest-auth-heading{margin-top:20px}
.guest-auth-heading>p{margin-top:9px;color:var(--auth-muted);font-size:15px}
#guest-auth-form{display:flex;flex:1;flex-direction:column;min-width:0;margin-top:32px}
.guest-auth-fields{display:grid;gap:24px}
.guest-auth-field{display:grid;gap:10px;font-size:14px;font-weight:700;color:var(--auth-ink)}
.guest-auth-input{position:relative;display:flex;align-items:center}
.guest-auth-input input{width:100%;height:56px;border:1px solid #e7ddf7;border-radius:16px;background:#fff;color:var(--auth-ink);font:400 16px Nunito,sans-serif;padding:0 49px 0 16px;outline:none;box-shadow:none}
.guest-auth-input input::placeholder{color:var(--auth-muted);opacity:1}
.guest-auth-input input:focus{outline:none;box-shadow:none;background:#f7f2ff;border-color:#cab4ed}
.guest-auth-input input[aria-invalid=true]{border-color:#b54761;background:#fff8fa}
.guest-auth-input button,.guest-input-symbol{position:absolute;right:5px;top:6px;width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;color:var(--auth-muted)}
.guest-auth-input .icon{width:22px;height:22px}
.guest-auth-link{border:0;background:transparent;color:var(--auth-purple);font:700 13px Nunito,sans-serif;min-height:36px;padding:7px 0;line-height:1.25}
.guest-auth-forgot{align-self:flex-end;margin-top:7px;font-size:14px}
.guest-auth-note{display:flex;align-items:center;gap:12px;background:#f0e9ff;padding:14px;border-radius:18px;min-height:64px;color:var(--auth-muted);font-size:13px;font-weight:600}
.guest-auth-note>.icon{width:22px;height:22px;flex-shrink:0;color:var(--auth-purple)}
.guest-auth-login .guest-auth-note{margin-top:34px}
.guest-auth-magic .guest-auth-note{margin-top:32px}
.guest-auth-status{color:#b33a54;font-size:13px;line-height:1.4;padding-top:12px;min-height:20px}
.guest-auth-status:empty{padding-top:0;min-height:0}
.guest-auth-footer{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:28px;text-align:center}
.guest-auth-primary,.guest-auth-secondary{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:14px 16px;border:0;border-radius:28px;font:800 17px/1.2 Nunito,sans-serif;cursor:pointer}
.guest-auth-primary{background:var(--auth-purple);color:#fff;box-shadow:none}
.guest-auth-secondary{background:#f0e9ff;color:var(--auth-purple)}
.guest-auth-page button:disabled{opacity:.6;cursor:wait}
.guest-auth-page button:focus-visible{outline:3px solid #a786fa;outline-offset:3px}
.guest-auth-footer small{font-size:12px;color:var(--auth-muted)}
.guest-welcome{display:flex;flex:1;flex-direction:column;align-items:center;text-align:center}
.guest-auth-orb{position:relative;display:grid;place-items:center;width:130px;height:130px;border-radius:50%;background:linear-gradient(#f4eeff,#e8daff);color:var(--auth-purple);flex-shrink:0}
.guest-auth-orb>.icon{width:58px;height:58px}
.guest-welcome>.guest-auth-orb{margin-top:36px;margin-bottom:28px}
.guest-auth-subtitle{font-size:16px;color:var(--auth-muted);margin-top:16px!important;line-height:1.35}
.guest-auth-benefits{width:100%;display:grid;gap:16px;margin:30px 0 0;padding:0;list-style:none;text-align:left;font-size:14px}
.guest-auth-benefits li{display:flex;gap:12px;align-items:center}
.guest-auth-benefits .icon{width:22px;height:22px;color:var(--auth-purple);flex-shrink:0}
.guest-welcome>.guest-auth-footer,.guest-auth-sent>.guest-auth-footer{width:100%}
.guest-parent-confirm{display:flex;gap:12px;align-items:flex-start;color:var(--auth-muted);font-size:13px;line-height:1.3;margin-top:28px}
.guest-parent-confirm input{width:20px;height:20px;flex-shrink:0;accent-color:var(--auth-purple);margin:2px 0 0}
.guest-privacy{align-self:flex-start;margin-left:32px;min-height:30px}
.guest-auth-signup .guest-auth-fields{gap:16px}
.guest-auth-reset #guest-auth-form,.guest-auth-password #guest-auth-form{margin-top:32px}
.guest-auth-orb-small{width:90px;height:90px;align-self:center;background:#f0e9ff}
.guest-auth-orb-small>.icon{width:30px;height:30px}
.guest-reset-copy{text-align:center;color:var(--auth-muted);font-size:16px;margin-top:30px!important;margin-bottom:30px!important}
.guest-auth-reset .guest-auth-note,.guest-auth-password .guest-auth-note{margin-top:24px}
.guest-auth-sent{display:flex;flex-direction:column;flex:1;align-items:center;text-align:center}
.guest-auth-sent>.guest-auth-orb{margin-top:70px;margin-bottom:30px}
.guest-sent-check{position:absolute;right:6px;bottom:6px;background:var(--auth-purple);color:white;width:36px;height:36px;display:grid;place-items:center;border-radius:50%}
.guest-sent-check .icon{width:20px;height:20px}
.guest-auth-sent>.guest-auth-note{margin-top:48px;width:100%;text-align:left}
@media(min-width:900px){.guest-auth-page{min-height:752px;border:1px solid #e9e2f9;border-radius:28px;box-shadow:0 4px 18px #6334b30f}.guest-auth-page .guest-auth-footer{padding-top:28px}}
@media(max-height:700px){.guest-auth-page{min-height:700px}.guest-auth-header{height:64px}.guest-auth-heading{margin-top:14px}.guest-auth-sent>.guest-auth-orb{margin-top:42px}}
@media(max-width:359px){.guest-auth-page{padding-left:20px;padding-right:20px}.guest-auth-page h1{font-size:27px}.guest-auth-header>img{width:145px}.guest-auth-benefits{font-size:13px}.guest-auth-primary,.guest-auth-secondary{font-size:16px}}
