@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Berkshire+Swash&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{--paper:#fffaf1;--ink:#372d49;--muted:#736780;--purple:#7446a3;--green:#35966f;--lilac:#eee3fa;--gold:#ffc95b;--coral:#e9a18f;--line:#ebe2ed;--fantasy:'Berkshire Swash',Georgia,serif;--rounded:'Baloo 2','Trebuchet MS',sans-serif;font-family:'Nunito',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button,a{transition:transform .2s,background .2s,box-shadow .2s}button:active{transform:scale(.97)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #b66ee1;outline-offset:4px}button:disabled:active{transform:none}svg{width:23px;height:23px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--rounded);line-height:1.15}img{max-width:100%;display:block}.app-shell{position:relative;max-width:1080px;margin:0 auto;z-index:1}.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 14px;padding-top:max(20px,env(safe-area-inset-top));position:relative}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-art{object-fit:contain;flex-shrink:0;aspect-ratio:1;filter:drop-shadow(0 4px 7px #61379413)}.brand>.brand-art{width:67px;height:67px}.brand>span{font-family:var(--rounded);font-size:27px;line-height:1;font-weight:800;letter-spacing:-1px;color:#6d3899}.brand>span>span{color:#369670}.brand small{display:block;color:#8c779a;font:800 8px 'Nunito',sans-serif;letter-spacing:1.15px;margin-top:8px;white-space:nowrap}.icon-button{width:46px;height:46px;display:inline-grid;place-items:center;background:#f0e7f8;border-radius:16px;flex-shrink:0;color:#73459b}.install-shortcut{width:auto;min-width:46px;gap:2px;display:flex;flex-direction:column;padding:7px 9px;background:#eee3f6}.install-shortcut svg{width:21px;height:21px}.install-shortcut span{font-size:11px;font-weight:800}.icon-button:hover{background:#e3d4f0}main{padding:16px 20px 0}.welcome{margin:8px 0 24px}.eyebrow{font-size:10px;font-weight:900;letter-spacing:1.1px;color:#9273a5;display:block}.welcome .eyebrow{font-size:9px;letter-spacing:.7px}.welcome h1{font-size:35px;font-weight:700;letter-spacing:-1px;margin:10px 0 7px}.welcome p{font-size:16px;line-height:1.5;color:var(--muted);max-width:340px}.featured{border-radius:28px;overflow:hidden;background:#d8ecd6;border:1px solid #c8e1c1;box-shadow:0 8px 0 #c3d9b633}.featured-cover{position:relative;display:block;width:100%;padding:0;background:#c7e1b4;overflow:hidden;aspect-ratio:1.3}.art{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center}.featured-cover .art{height:100%;width:100%;object-fit:cover;aspect-ratio:auto;object-position:50% 48%}.featured-tag{position:absolute;top:16px;left:15px;background:#fffaf1ed;color:#42664a;padding:7px 10px;border-radius:10px;font-size:10px;font-weight:900;letter-spacing:.5px;display:flex;align-items:center;gap:6px;backdrop-filter:blur(5px)}.featured-tag svg{width:15px;height:15px}.featured-copy{padding:21px 23px 24px;position:relative}.story-meta{display:flex;align-items:center;gap:12px;color:#517352;font-size:13px;font-weight:800}.story-meta>span{display:flex;align-items:center;gap:5px}.story-meta>span:first-child{background:#f5faeeb8;padding:4px 10px;border-radius:8px}.story-meta svg{width:16px;height:16px}.featured h2{font-family:var(--fantasy);font-size:36px;font-weight:400;line-height:1.12;letter-spacing:0;color:#32563c;margin:13px 0 12px}.featured p{font-size:16px;color:#4f6e50;line-height:1.6;max-width:370px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:var(--purple);color:white;font-weight:800;font-size:16px;min-height:52px;padding:14px 21px;border-radius:16px;box-shadow:0 4px 0 #4f2d7b25;text-align:center}.primary:hover{background:#633590;box-shadow:0 6px 16px #6840972b}.primary svg{width:21px;height:21px}.featured .primary{margin-top:19px;background:#337d55;box-shadow:0 4px 0 #21573c28;width:100%}.gold{background:#ffd162;color:#5f3c42;box-shadow:0 4px 0 #c68f4038}.gold:hover{background:#ffcb4b}.surprise-card{margin:27px 0 25px;border-radius:27px;background:#7850a3;position:relative;isolation:isolate;overflow:hidden;color:#fff9ff;padding:25px 23px;box-shadow:0 7px 0 #d7c4e955}.surprise-card:before,.surprise-card:after{content:'';position:absolute;z-index:-1;width:180px;height:180px;border:1px solid #d9b7f42e;border-radius:50%;right:-50px;top:-70px}.surprise-card:after{width:240px;height:240px;right:-90px;top:-100px}.surprise-graphic{position:relative;width:68px;height:68px;margin-bottom:12px;background:#ffffff14;display:grid;place-items:center;border-radius:20px;transform:rotate(-8deg)}.surprise-graphic>svg:last-child{width:38px;height:38px;color:#ffda8c}.surprise-graphic>svg:first-child{position:absolute;top:-7px;right:-7px;width:24px;height:24px;color:#ffdb92}.little-star{position:absolute;bottom:0;left:-9px;color:#e1b6ff;font-size:20px}.surprise-card .eyebrow{color:#e9d4ff;font-size:10px}.surprise-card h2{font-size:31px;line-height:1.05;font-weight:700;margin:11px 0 10px;max-width:250px}.surprise-card p{font-size:16px;line-height:1.5;color:#ede0fc;max-width:290px}.surprise-card>.primary{width:100%;margin-top:22px}.install-banner{display:flex;align-items:center;gap:13px;padding:19px 16px;background:#fff0cf;border:1px solid #f1dba8;border-radius:23px;margin:24px 0;position:relative}.install-banner>img{width:55px;height:55px;object-fit:contain;border-radius:14px;flex-shrink:0}.install-banner h2{font-size:20px;line-height:1.1;max-width:200px}.install-banner p{font-size:13px;color:#896950;margin:5px 0}.text-link{background:none;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:900;color:#865599;padding:8px 0;text-align:left;min-height:40px}.text-link svg{width:17px;height:17px}.dismiss{position:absolute;top:7px;right:7px;width:32px;height:32px;display:grid;place-items:center;background:none;border-radius:50%;color:#9b7e59}.dismiss svg{width:17px;height:17px}.resume{display:flex;align-items:center;gap:14px;background:#eae2f6;padding:13px;border-radius:20px;width:100%;text-align:left;margin:26px 0}.resume img{width:60px;height:60px;border-radius:13px;flex-shrink:0}.resume>span{min-width:0}.resume small{display:block;font-size:9px;letter-spacing:1px;color:#997bae;font-weight:900;margin-bottom:4px}.resume strong{font-family:var(--rounded);font-size:20px;line-height:1.1;display:block}.resume>svg{margin-left:auto;width:20px}.library{margin-top:34px;scroll-margin-top:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.section-title .eyebrow{font-size:9px}.section-title h2{font-size:31px;font-weight:700;letter-spacing:-.8px;margin-top:5px}.count{font-size:12px;font-weight:800;color:#8c6d9e;white-space:nowrap;background:#eee3f5;border-radius:10px;padding:7px 9px}.search-controls{display:flex;flex-wrap:wrap;gap:11px}.searchbox{display:flex;align-items:center;gap:10px;min-height:56px;background:#fff;border:1.5px solid #e5d8ed;border-radius:17px;padding:0 15px;width:100%;box-shadow:0 3px 0 #eadff333}.searchbox svg{width:22px;color:#9b78b0}.searchbox input{font-size:16px;border:0;outline:0;min-width:0;flex:1;background:transparent;color:var(--ink);padding:15px 0;width:100%}.searchbox input::placeholder{color:#a28daf}.searchbox:focus-within{border-color:#a575c2;box-shadow:0 0 0 3px #d5b5e644}.search-mode{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;color:#8b7796;width:100%}.search-mode select{border:1px solid #e8dbef;border-radius:11px;min-height:44px;background:#f6eefb;color:#77558d;padding:8px 34px 8px 12px;font-size:15px;font-weight:800;flex:1;max-width:190px}.categories{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:17px -20px 22px;padding:3px 20px 9px}.categories::-webkit-scrollbar{display:none}.chip{white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 15px;background:#f2eaf6;border:1px solid transparent;border-radius:14px;color:#886597;font-size:14px;font-weight:800}.chip svg{width:17px;height:17px}.chip.active{background:#429a76;color:#fff;box-shadow:0 4px 0 #bbd9c647}.chip:hover:not(.active){background:#e5d6f0}.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;align-items:start}.story-card{min-width:0;border-radius:22px;background:#f1e7f9;box-shadow:0 4px 0 #e4d9ee44;overflow:hidden;position:relative;border:1px solid #e6d9ed}.hue-0{background:#e1eedb;border-color:#d3e3ca}.hue-1{background:#f9e6da;border-color:#efdbc9}.hue-2{background:#efe3f8;border-color:#e1d2eb}.hue-3{background:#deeff0;border-color:#cfe4e7}.cover-wrap{position:relative;overflow:hidden}.cover-button{display:block;position:relative;padding:0;width:100%;aspect-ratio:1;overflow:hidden;background:#d9e6cf;border-radius:20px 20px 12px 12px}.cover-button .art{height:100%;width:100%;object-fit:cover;transition:transform .6s}.cover-button:hover .art{transform:scale(1.04)}.duration{position:absolute;bottom:9px;left:9px;padding:5px 8px;font-size:11px;font-weight:800;border-radius:9px;background:#fffaf1ed;color:#5b4c69;display:flex;align-items:center;gap:4px}.duration svg{width:13px;height:13px}.favorite{position:absolute;top:9px;right:9px;width:42px;height:42px;display:grid;place-items:center;color:#80528e;background:#fffaf1ed;border-radius:14px;backdrop-filter:blur(5px)}.favorite svg{width:21px;height:21px}.favorite.selected,.icon-button.selected{color:#c66881;background:#fff0f2}.favorite.selected svg,.icon-button.selected svg{fill:#d87a91;stroke:#b85475}.read-label{position:absolute;top:9px;left:8px;background:#3e8f6c;color:#fff;font-size:10px;font-weight:800;padding:5px 7px;border-radius:8px;display:flex;align-items:center;gap:3px}.read-label svg{width:12px;height:12px}.card-copy{padding:13px 12px 16px;min-height:143px}.category-label{font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:900;color:#8f718d;display:block;margin-bottom:8px}.hue-0 .category-label{color:#6a8b60}.hue-1 .category-label{color:#a47c5f}.hue-3 .category-label{color:#5d8b90}.title-button{display:block;background:none;padding:0;text-align:left;width:100%}.story-card h3{font-family:var(--fantasy);font-weight:400;font-size:22px;line-height:1.18;letter-spacing:0;overflow-wrap:break-word}.card-copy p{font-size:12px;color:#85718c;line-height:1.45;margin-top:10px}.empty{text-align:center;padding:60px 16px}.empty>svg{width:45px;height:45px;margin-bottom:17px;color:#a584bd}.empty h3{font-size:28px}.empty p{font-size:16px;color:var(--muted);margin:15px 0 24px}.app-footer{text-align:center;padding:42px 20px 132px;display:flex;flex-direction:column;align-items:center}.app-footer .brand-art{width:80px;height:80px;margin-bottom:12px}.app-footer p{font-family:var(--rounded);font-size:25px;line-height:1.2;color:#9a7daa}.app-footer .text-link{margin:13px 0}.app-footer>span{font-size:12px;color:#ab95b2}.mobile-nav{display:flex;position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:1080px;z-index:5;justify-content:space-around;align-items:center;gap:4px;border-top:1px solid #e9ddec;background:#fffbf5f2;backdrop-filter:blur(18px);padding:9px 10px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 26px #805a9710}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:64px;min-height:57px;padding:7px 12px;background:none;border-radius:16px;color:#aa91b1;font-size:12px;font-weight:800}.mobile-nav button.active{color:#7a4aa1;background:#efe4f7}.mobile-nav svg{width:23px;height:23px}.mobile-nav button:last-child{color:#b0823b}.skip{position:fixed;top:-100px;left:20px;z-index:50;background:white;padding:15px;border-radius:10px}.skip:focus{top:10px}.modal-open{overflow:hidden}#toast{position:fixed;bottom:calc(96px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);z-index:20;background:#5b367d;color:white;border-radius:16px;padding:15px 20px;max-width:90vw;width:max-content;opacity:0;pointer-events:none;font-size:14px;font-weight:700;transition:opacity .25s,transform .25s;box-shadow:0 8px 22px #361e4d33}#toast.show{opacity:1;transform:translate(-50%,0)}
.magic-particles{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden;contain:strict}.magic-particles i{position:absolute;left:var(--x);top:var(--y);height:var(--size);width:var(--size);background:#f8d67c;border-radius:50%;box-shadow:0 0 8px 3px #eec34a3b;opacity:0;animation:firefly var(--duration) var(--delay) infinite ease-in-out;will-change:transform,opacity}.magic-particles i:nth-child(3n){background:#d7b8ef;box-shadow:0 0 9px 3px #cda9eb44}.magic-particles i:nth-child(4n){background:#b3dfbd;box-shadow:0 0 8px 3px #87c59744}@keyframes firefly{0%,100%{transform:translate(0,20px);opacity:0}20%{opacity:.4}50%{transform:translate(18px,-30px);opacity:.65}80%{opacity:.25}}.page-enter{animation:pageIn .55s both}.animate-cards .story-card{animation:cardIn .5s calc(var(--i)*.045s) both}.chapter-enter{animation:pageIn .4s both}@keyframes pageIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes cardIn{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
dialog{border:0;color:var(--ink);padding:0;background:var(--paper)}dialog::backdrop{background:#352043a6;backdrop-filter:blur(8px)}dialog[open]{animation:dialogIn .38s cubic-bezier(.2,.8,.2,1) both}@keyframes dialogIn{from{opacity:0;transform:translateY(25px) scale(.96)}to{opacity:1;transform:none}}.reader{width:100vw;max-width:760px;height:100dvh;max-height:100dvh;margin:0 auto;border-radius:0;--reader-bg:#fffaf1;--reader-ink:#44364d;background:var(--reader-bg);color:var(--reader-ink);overscroll-behavior:contain;scrollbar-width:thin}.reader-top{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;padding-top:max(12px,env(safe-area-inset-top));background:var(--reader-bg);position:sticky;top:0;z-index:3;border-bottom:1px solid #92729b22;gap:8px}.reader-top .icon-button{width:43px;height:43px}.reader-brand{display:flex;align-items:center;gap:8px}.reader-brand .brand-art{width:42px;height:42px}.reader-brand>span{font-family:var(--rounded);font-size:20px;font-weight:700;color:#9870aa}.reader-scene{position:relative;height:240px;overflow:hidden;background:#d9e7cb}.reader-scene .art{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 42%}.reader-tag{position:absolute;left:20px;bottom:16px;background:#fff8ebeb;border-radius:10px;padding:7px 11px;font-size:13px;font-weight:800;color:#765789;backdrop-filter:blur(5px)}.reading{padding:22px 23px calc(36px + env(safe-area-inset-bottom));position:relative}.reading-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:900;letter-spacing:.5px;color:#9b7fa8}.reading-toolbar>div{display:flex;align-items:center;gap:6px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px;background:none;font-size:14px;font-weight:800;color:#8d64a1}.text-button svg{width:19px;height:19px}.reading-toolbar .icon-button{width:42px;height:42px}.chapter-track{display:flex;gap:6px;margin:16px 0 23px}.chapter-track span{height:5px;background:#ad8bb62b;flex:1;border-radius:5px}.chapter-track .filled{background:#b185c5}.reading-settings{padding:17px 14px;background:#ac8db51a;border:1px solid #ad8bb633;border-radius:20px;margin-bottom:25px}.reading-settings[hidden]{display:none}.reading-settings>div{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;margin:10px 0}.reading-settings>div>span{margin-right:auto}.reading-settings button{min-width:42px;min-height:42px;padding:8px;border-radius:11px;background:#fff9f0;color:#795488}.reading-settings strong{font-size:17px}.reading-settings .swatch{border-radius:50%;height:38px;width:38px;min-height:38px;min-width:38px;border:2px solid transparent}.swatch.cream{background:#fffaf1}.swatch.sepia{background:#d9b592}.swatch.night{background:#30273e}.reading-settings .chosen{border-color:#a171bb;outline:2px solid #a171bb44;outline-offset:2px}.reading-text{font-family:Georgia,'Times New Roman',serif;line-height:1.9;letter-spacing:.05px;overflow-wrap:break-word}.reading-text:focus{outline:none}.chapter-name{display:block;font-family:var(--rounded);font-size:18px;color:#aa84b9}.reading-text h1{font-family:var(--fantasy);font-size:38px;font-weight:400;line-height:1.2;margin:12px 0 28px;color:var(--reader-ink)}.reading-text>p{margin-bottom:1.3em}.reading-text>p:first-of-type:first-letter{float:left;font-family:var(--fantasy);font-size:3em;line-height:.95;padding:7px 8px 0 0;color:#bc8a61}.reader-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #b599bf44;padding-top:23px;margin-top:25px}.reader-pagination .primary{padding:13px 15px;font-size:15px}.reader-pagination .text-button{padding:10px 0;font-size:14px}.story-end{text-align:center;padding:30px 14px;background:#c9a0df14;border-radius:24px;margin:35px 0 20px}.story-end>svg{width:31px;height:31px;color:#cba34c;margin-bottom:15px}.story-end h2{font-family:var(--rounded);font-size:27px;font-weight:600}.story-end p{font:800 13px 'Nunito',sans-serif;color:#a07aad;margin:25px 0 12px}.story-end strong{font:400 22px Georgia,serif;line-height:1.6}.theme-sepia{--reader-bg:#f0dcca;--reader-ink:#624839}.theme-night{--reader-bg:#2e253a;--reader-ink:#eee4f3;color-scheme:dark}.theme-night .reader-top .icon-button,.theme-night .reading-toolbar .icon-button{background:#ffffff12;color:#d7b5eb}.theme-night .reader-brand>span,.theme-night .reading-toolbar,.theme-night .text-button{color:#d6b6e7}.theme-night .reading-settings{background:#fff1}.theme-night .story-end{background:#ffffff07}.theme-night .chapter-name{color:#d2ace4}.theme-night .reader-tag{color:#684a7e}.theme-night .story-end p{color:#d2b1df}
.dialog-close{position:absolute;right:13px;top:13px;z-index:2;background:#ffffff66}.shuffle-dialog,#install{width:calc(100vw - 24px);max-width:460px;max-height:calc(100dvh - 24px);padding:33px 23px 28px;border-radius:30px;text-align:center;overscroll-behavior:contain;overflow-y:auto}.shuffle-dialog{background:radial-gradient(ellipse at 50% 35%,#8953b0 0,#65418e 55%,#50326f 100%);color:#fff7ed;isolation:isolate}.shuffle-dialog .dialog-close{background:#fff1;color:#e9d8f5}.shuffle-stars{color:#ffe7a0;letter-spacing:8px;font-size:22px;margin-bottom:13px}.shuffle-stars>span{font-size:34px}.shuffle-dialog>.eyebrow{color:#d7b8ec;font-size:9px;letter-spacing:1px}.shuffle-dialog>h2{font-family:var(--fantasy);font-size:35px;font-weight:400;line-height:1.2;margin:15px auto;max-width:330px}.shuffle-dialog>p{font-size:16px;color:#e3d1ef;line-height:1.6;max-width:300px;margin:0 auto}.magic-book{height:213px;position:relative;display:grid;place-items:center;margin:12px 0;isolation:isolate}.magic-book .brand-art{width:165px;height:165px;animation:bookFloat 3s infinite ease-in-out}.book-aura{position:absolute;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,#ffe49d66,transparent 67%);filter:blur(10px);inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:-1}.orbit-star{position:absolute;color:#ffe49d;font-size:23px;animation:twinkle 3s infinite alternate}.orbit-star.s1{left:20px;top:38px}.orbit-star.s2{right:25px;top:70px;animation-delay:-1s}.orbit-star.s3{left:60px;bottom:19px;animation-delay:-2s;font-size:15px}.shuffle-dialog>.primary{width:100%;margin-top:10px}.draw-note{font-size:12px;display:block;color:#c8aedb;margin-top:15px}.draw-stage{height:250px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px 0 5px;isolation:isolate}.shuffling-card{width:170px;height:170px;border-radius:23px;overflow:hidden;border:5px solid #ffedc4;box-shadow:0 8px 24px #1c0d3644;animation:cardShuffle .45s infinite alternate;transform-origin:50% 80%}.shuffling-card img{width:100%;height:100%;object-fit:cover}.draw-stage p{font-size:14px;color:#ead7f8;font-weight:800;margin-top:15px}.draw-sparkles{position:absolute;inset:50px 0 auto;color:#ffe59b;display:flex;justify-content:space-between;padding:0 14px;font-size:25px;animation:twinkle .5s infinite alternate}.draw-sparkles span{margin-top:80px}.draw-winner{margin-top:23px;animation:reveal .7s cubic-bezier(.17,.89,.32,1.2) both;position:relative}.draw-winner>.art{width:195px;height:195px;object-fit:cover;margin:0 auto;border:6px solid #fff0c8;border-radius:27px;box-shadow:0 0 30px #ffd88b44}.winner-badge{font:900 9px 'Nunito',sans-serif;letter-spacing:.8px;display:table;margin:-11px auto 18px;position:relative;background:#ffdc88;color:#815b46;border-radius:9px;padding:7px 10px}.draw-winner h3{font-family:var(--fantasy);font-size:29px;font-weight:400;line-height:1.2;margin:0 auto 10px;max-width:310px}.draw-winner p{font-size:14px;color:#d8c1e7;margin-bottom:17px}.draw-winner .primary{width:100%;background:#ffe09b;color:#674547;font-size:15px}.shuffle-dialog .draw-again{display:flex;width:100%;color:#d6bde8;font-size:14px;margin-top:10px}.revealed>.shuffle-stars{display:none}.revealed>h2{font-size:28px;margin-top:10px}.revealed>h2 br{display:none}.revealed>p{display:none}.revealed>.eyebrow{margin-top:12px}.revealed .draw-note{display:none}@keyframes bookFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-10px) rotate(3deg)}}@keyframes twinkle{from{opacity:.3;transform:scale(.8)}to{opacity:1;transform:scale(1.15)}}@keyframes cardShuffle{from{transform:rotate(-7deg) translateY(0)}to{transform:rotate(7deg) translateY(-6px)}}@keyframes reveal{from{opacity:0;transform:translateY(16px) scale(.8)}60%{opacity:1;transform:translateY(-4px) scale(1.03)}to{opacity:1;transform:none}}
#install{background:#fffaf1;padding-top:34px}.install-app-icon{width:88px;height:88px;object-fit:contain;border-radius:23px;margin:0 auto 20px;box-shadow:0 7px 21px #6c3f8a22}#install>.eyebrow{font-size:9px;letter-spacing:.8px}#install h2{font-size:33px;font-weight:700;color:#755090;margin:13px 0}#install>p{font-size:16px;color:#8d7897;line-height:1.6}.install-tabs{display:flex;padding:5px;gap:5px;background:#f0e6f7;border-radius:16px;margin:22px 0}.install-tabs button{flex:1;font-size:15px;font-weight:900;background:transparent;border-radius:12px;min-height:46px;color:#9e80ad}.install-tabs button.active{background:#fff9f2;color:#7d5696;box-shadow:0 2px 6px #5c397611}.install-steps{list-style:none;text-align:left;padding:0;margin:20px 0;display:flex;flex-direction:column;gap:19px}.install-steps li{display:flex;gap:13px;align-items:flex-start;font-size:16px;line-height:1.6;color:#796588}.install-steps li>span{background:#e7d6f2;color:#8258a0;min-width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-weight:900}.install-steps strong{color:#5e4275}#install .install-note{font-size:12px;line-height:1.6;margin:23px 0 0;color:#ad98b5}.native-install{width:100%;margin:0 0 5px}.already-installed{padding:20px;border-radius:18px;background:#e2eedc;font-size:16px;margin-top:24px;color:#4c7850}
@media(min-width:600px){.app-header{padding:24px 32px 18px}.brand>.brand-art{width:82px;height:82px}.brand>span{font-size:34px}.brand small{font-size:10px;letter-spacing:1.5px}.install-shortcut{flex-direction:row;gap:8px;padding:11px 16px}.install-shortcut span{font-size:14px}main{padding:24px 32px 0}.welcome h1{font-size:45px}.welcome .eyebrow{font-size:11px;letter-spacing:1.2px}.welcome p{max-width:none;font-size:18px}.featured{display:grid;grid-template-columns:1fr 1fr;min-height:330px}.featured-cover{aspect-ratio:auto;min-height:100%}.featured-copy{padding:28px}.featured h2{font-size:39px}.featured .primary{width:auto}.surprise-card{display:grid;grid-template-columns:74px 1fr;align-items:center;gap:10px 20px;padding:28px}.surprise-graphic{margin:0}.surprise-card h2{max-width:none;font-size:32px}.surprise-card p{max-width:none}.surprise-card>.primary{grid-column:2;width:auto;justify-self:start;margin-top:8px}.install-banner{max-width:none;padding:21px;gap:18px}.install-banner h2{max-width:none;font-size:25px}.install-banner p{font-size:16px}.install-banner>img{width:65px;height:65px}.library{margin-top:40px}.section-title h2{font-size:38px}.section-title .eyebrow{font-size:11px}.search-controls{flex-wrap:nowrap;align-items:center}.searchbox{flex:1;min-width:0}.search-mode{width:auto;white-space:nowrap}.search-mode select{flex:none;max-width:150px}.categories{margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px}.story-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 19px}.story-card h3{font-size:25px}.card-copy{padding:16px;min-height:155px}.card-copy p{font-size:14px}.category-label{font-size:11px}.duration{font-size:12px}.reader{height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:auto;border-radius:28px}.reader-top{padding:14px 24px}.reader-scene{height:300px}.reading{padding:28px 44px 40px}.reading-text h1{font-size:46px}.reading-text{line-height:1.9}.reader-top .reader-brand>span{font-size:24px}.reader-top .brand-art{width:48px;height:48px}.mobile-nav{border:1px solid #e9ddec;max-width:550px;bottom:14px;border-radius:23px;padding:8px 12px;box-shadow:0 6px 30px #633f7b22}.app-footer{padding-bottom:140px}}@media(min-width:900px){.app-header{padding-left:44px;padding-right:44px}main{padding:25px 44px 0}.featured{min-height:380px;grid-template-columns:1fr 1fr}.featured-copy{padding:34px}.featured h2{font-size:47px}.featured p{font-size:18px}.featured .primary{margin-top:24px}.surprise-card{grid-template-columns:75px 1fr auto}.surprise-card>.primary{grid-column:auto;margin:0}.surprise-card h2{font-size:29px}.surprise-card p{font-size:15px}.story-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 20px}.categories{margin-left:-44px;margin-right:-44px;padding-left:44px;padding-right:44px}.story-card h3{font-size:25px}.card-copy{min-height:160px}}@media(max-width:359px){.app-header{padding-left:16px;padding-right:16px}.brand>.brand-art{width:58px;height:58px}.brand>span{font-size:24px}.brand small{font-size:7px}.welcome h1{font-size:31px}main{padding-left:16px;padding-right:16px}.story-grid{gap:20px 10px}.story-card h3{font-size:21px}.card-copy{padding:12px 10px;min-height:150px}.category-label{font-size:9px}.favorite{width:38px;height:38px}.categories{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.section-title h2{font-size:28px}.count{font-size:11px}.reader-brand>span{font-size:18px}.reading{padding-left:19px;padding-right:19px}.reading-text h1{font-size:34px}.reader-pagination .primary{font-size:14px;padding:12px}.reader-pagination .primary svg{width:18px}.mobile-nav button{min-width:60px;padding:6px 9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.magic-particles{display:none}}

/* Legibilidad y objetivos táctiles móviles. */
.category-label{font-size:11px}.eyebrow{font-size:11px}.welcome .eyebrow{font-size:10px;line-height:1.7}.favorite{width:44px;height:44px}.dismiss{width:44px;height:44px}.install-banner{padding-right:35px}.reading-settings>div{flex-wrap:wrap}.reading-settings>div>span{min-width:110px}
/* Las luciérnagas también acompañan la lectura, lejos del centro del texto. */
.reader::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:2;background-image:radial-gradient(circle at 3% 24%,#f1ce73 0 2px,transparent 6px),radial-gradient(circle at 96% 38%,#d5b1e8 0 2px,transparent 6px),radial-gradient(circle at 4% 72%,#f1ce73 0 2px,transparent 6px),radial-gradient(circle at 95% 89%,#d5b1e8 0 2px,transparent 6px);opacity:.3;animation:readingGlow 9s infinite alternate ease-in-out}
@keyframes readingGlow{from{opacity:.12;transform:translateY(8px)}to{opacity:.45;transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.reader::after{display:none}}

@media(max-width:599px){.featured-cover{aspect-ratio:1.5}}
