:root{--bg:#f4f1e8;--paper:#fbf9f1;--ink:#272d28;--muted:#6c7065;--line:#deded0;--green:#344b3e;--soft:#e8ecdf;--accent:#a34e35;--shadow:0 18px 60px #242c2110;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a07836;outline-offset:4px}.skip{position:fixed;top:-80px;background:var(--green);color:#fff;padding:12px;z-index:100}.skip:focus{top:10px}.loading{padding:25vh 20px;text-align:center;font-family:Georgia,serif;font-size:24px}.header{border-bottom:1px solid var(--line);height:90px;display:flex;align-items:center;gap:32px;padding:0 max(30px,calc((100vw - 1370px)/2));background:var(--bg)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brandmark{display:grid;place-items:center;border:1px solid #56634e;width:42px;height:44px;border-radius:14px 14px 3px 3px;font-family:Georgia,serif;font-size:32px;color:var(--green)}.brand strong{font-family:Georgia,serif;letter-spacing:-.6px;font-size:25px;font-weight:500}.brand small{display:block;text-transform:uppercase;font-size:9px;letter-spacing:2.1px;margin-top:4px;color:var(--muted)}.headernav{display:flex;gap:25px;font-size:14px;margin-left:24px}.headernav a.active{border-bottom:2px solid var(--green);padding:34px 0}.head-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.btn{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:550;transition:background .15s}.btn:hover{background:var(--soft)}.btn.primary{background:var(--green);border-color:var(--green);color:#fffdf5}.btn.primary:hover{background:#223c2d}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:#9e382d}.btn.small{padding:8px 12px;font-size:13px}.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}.layout{max-width:1430px;margin:auto;display:grid;grid-template-columns:226px minmax(0,1fr);padding:32px 30px 50px;gap:38px;min-height:calc(100vh - 90px)}.sidebar{border-right:1px solid var(--line);padding-right:24px}.overline{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:650;color:var(--muted);margin:10px 0 19px}.side-list{display:grid;gap:6px}.side-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;border-radius:6px;padding:13px 12px;text-align:left;width:100%;font-size:14px}.side-item.active{background:var(--soft);color:var(--green);font-weight:650}.side-item:hover{background:#e8e9df}.count{margin-left:auto;font-size:11px;color:var(--muted)}.side-rule{height:1px;background:var(--line);margin:25px 0}.side-note{padding:20px 16px;background:#ecebdf;border-radius:7px;margin-top:30px}.side-note h4{font-family:Georgia,serif;margin:0 0 9px;font-weight:500;font-size:19px}.side-note p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 14px}.sidebar-bottom{font-size:11px;color:var(--muted);line-height:1.8;margin-top:38px}.sidebar-bottom a{text-decoration:underline}.topline{display:flex;justify-content:space-between;align-items:center;margin:2px 0 19px}.breadcrumb{color:var(--muted);font-size:12px;display:flex;gap:10px;align-items:center}.quiet-label{font-size:11px;letter-spacing:.5px;color:var(--muted);display:flex;align-items:center;gap:7px}.dot{height:6px;width:6px;background:#7d8f68;border-radius:50%}.hero{display:grid;grid-template-columns:1.35fr .8fr;min-height:308px;overflow:hidden;border-radius:11px;background:#293c34;color:#fbf4e4;position:relative}.hero-copy{padding:37px 40px;position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:500;letter-spacing:2px;text-transform:uppercase;color:#bdcab5;display:flex;align-items:center;gap:9px}.eyebrow:before{content:'';width:20px;height:1px;background:currentColor}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:44px;line-height:1.16;letter-spacing:-1.6px;font-weight:400;margin:19px 0 15px}.hero h1 em{font-weight:400;color:#d5dbb6}.hero p{font-size:13px;line-height:1.8;color:#d1dacb;max-width:380px;margin:0 0 24px}.hero .btn{background:#ede8d6;border-color:#ede8d6;color:#293c34}.hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:280px;background:radial-gradient(ellipse at 50% 90%,#7b8d6b55,transparent 65%)}.arch{width:180px;height:232px;border-radius:100px 100px 0 0;background:#70857433;border:1px solid #91a28d44;position:absolute;top:34px}.moon{height:58px;width:58px;border-radius:50%;background:#e2dfb6;position:absolute;top:28px;left:60px;box-shadow:0 0 60px #f6edb41c}.hills{position:absolute;bottom:0;width:100%;height:90px;background:#536d58;clip-path:polygon(0 50%,25% 30%,45% 56%,70% 10%,100% 40%,100% 100%,0 100%)}.hills:after{content:'';position:absolute;inset:30px 0 0;background:#8c9974;clip-path:polygon(0 100%,25% 40%,60% 20%,100% 80%,100% 100%)}.book-stack{position:absolute;bottom:29px;width:230px;height:25px;background:#c5bd95;border-radius:3px;transform:rotate(-4deg);border-left:10px solid #ae895f;box-shadow:0 10px 25px #10251f60}.book-stack:before{content:'';position:absolute;left:12px;top:-27px;width:205px;height:24px;background:#d9dbc1;border-radius:3px;border-left:10px solid #758678;transform:rotate(8deg)}.book-stack:after{content:'';position:absolute;left:35px;top:-52px;width:170px;height:22px;background:#a87b61;border-radius:3px;border-left:12px solid #b49470;transform:rotate(-1deg)}.star{position:absolute;top:27px;right:27px;color:#d2d7b8;font-size:23px;font-weight:200}.hero-caption{position:absolute;bottom:13px;font-size:9px;letter-spacing:2px;color:#bec8b6}.benefits{display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding:19px 0 22px;font-size:11px;color:var(--muted)}.benefits span{display:flex;align-items:center;gap:7px}.benefits .icon{width:16px;height:16px}.library-heading{display:flex;align-items:center;justify-content:space-between;margin:27px 0 20px}.library-heading h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.5px;margin:0}.library-heading small{font-family:system-ui;font-size:11px;color:var(--muted);margin-left:12px}.search{display:flex;gap:8px;align-items:center;border:1px solid var(--line);background:var(--paper);border-radius:6px;padding:9px 12px}.search input{width:170px;background:transparent;border:0;outline:none;font-size:12px;color:var(--ink)}.filters{display:flex;gap:23px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:22px}.filter{border:0;background:transparent;padding:0 0 13px;font-size:12px;color:var(--muted)}.filter.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:600}.filters .result-count{margin-left:auto;font-size:11px;color:var(--muted);padding-bottom:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 22px}.story-card{min-width:0}.cover{height:206px;border-radius:6px;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:23px;transition:transform .2s;isolation:isolate}.story-card:hover .cover{transform:translateY(-3px)}.cover:before{content:'';position:absolute;inset:0 0 0 7px;border-left:1px solid #ffffff38;z-index:-1}.cover:after{content:'';position:absolute;width:150px;height:150px;border:1px solid #ffffff40;border-radius:50%;bottom:-45px;right:-24px;z-index:-1;box-shadow:0 0 0 22px #ffffff0a,0 0 0 45px #ffffff09}.cover.c0{background:#a4ae8f;color:#273e32}.cover.c1{background:#344a50;color:#e2e1cd}.cover.c2{background:#d5af73;color:#493b27}.cover.c3{background:#b98873;color:#452f2c}.cover.c4{background:#777a91;color:#f6eadc}.cover.c5{background:#b7bc9f;color:#344331}.cover-cat{font-size:8px;text-transform:uppercase;letter-spacing:2px;opacity:.85}.cover-title{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;line-height:1.15;letter-spacing:-.5px;max-width:190px;display:block;margin:auto 0 12px}.cover-author{font-size:9px;letter-spacing:1.5px;opacity:.85}.cover-symbol{position:absolute;right:19px;top:19px;font-size:25px;font-family:Georgia;opacity:.7}.card-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:14px 0 8px}.tag{color:var(--green);font-size:10px}.story-card h3{font-family:Georgia,serif;font-size:21px;line-height:1.35;font-weight:500;margin:0 0 6px}.story-card .author{font-size:11px;color:var(--muted)}.story-card p{font-size:12px;line-height:1.7;color:var(--muted);margin:9px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sample{font-size:9px;color:var(--muted);border:1px solid var(--line);padding:2px 5px;border-radius:3px;margin-left:6px}.empty{padding:55px 20px;text-align:center;border:1px dashed var(--line);border-radius:8px;color:var(--muted);grid-column:1/-1}.empty h3{font-family:Georgia;font-size:24px;color:var(--ink);font-weight:400}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;margin-top:38px;padding-top:22px;font-size:11px;color:var(--muted)}.footer span:first-child{font-family:Georgia;font-size:16px;color:var(--green)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#2d4436;color:#fff;padding:14px 22px;border-radius:8px;box-shadow:var(--shadow);max-width:90vw;width:max-content;font-size:14px;opacity:0;pointer-events:none;z-index:100;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:12px;width:min(680px,calc(100vw - 32px));max-height:90vh;padding:0;color:var(--ink);background:var(--paper);box-shadow:var(--shadow)}dialog::backdrop{background:#16221bcc;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line)}.modal-head h2{font-family:Georgia;font-size:27px;font-weight:400;margin:0}.modal-body{padding:24px 27px}.intro{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:grid;gap:8px;margin-bottom:18px;font-size:13px}.field label{font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:12px;background:var(--paper);color:var(--ink)}.field textarea{line-height:1.7;resize:vertical}.field small{color:var(--muted);font-size:11px;line-height:1.6}.dropzone{display:block;border:1px dashed #a5ae9b;border-radius:8px;background:#f2f3e9;padding:23px;text-align:center;font-size:13px;cursor:pointer;margin-bottom:20px;color:var(--green)}.dropzone .icon{display:block;margin:0 auto 9px;width:26px;height:26px}.dropzone small{display:block;font-size:11px;margin-top:7px;color:var(--muted)}.dropzone input{display:block;max-width:100%;margin:12px auto 0;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.form-error{color:#9d3027;font-size:13px;line-height:1.7}.hp{position:absolute;left:-9999px;height:0;overflow:hidden}.checkrow{display:flex;gap:9px;font-size:12px;line-height:1.7;margin:14px 0;color:var(--muted)}.checkrow input{accent-color:var(--green)}.reader{--read-bg:#f4f0e5;--read-ink:#292d27;background:var(--read-bg);color:var(--read-ink);min-height:100vh}.reader[data-theme=light]{--read-bg:#faf9f4;--read-ink:#242b27}.reader[data-theme=dark]{--read-bg:#18242d;--read-ink:#f0e9da}.reader-top{position:sticky;top:0;z-index:10;background:var(--read-bg);border-bottom:1px solid #8885;display:flex;align-items:center;justify-content:space-between;padding:14px 30px;gap:12px}.reader-top .btn{color:var(--read-ink);background:transparent;border-color:#8886}.reader-name{font-size:12px;max-width:35vw;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;opacity:.7}.reader-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:center;padding:17px 20px;border-bottom:1px solid #8883;background:var(--read-bg)}.reader-tools .control{display:flex;align-items:center;gap:6px;font-size:12px}.reader-tools button,.reader-tools select{border:1px solid #8886;background:transparent;color:var(--read-ink);border-radius:5px;padding:8px 10px;font-size:12px}.reader-tools option{color:#222;background:#fffdf5}.reader-tools button.selected{background:#88926b44;outline:1px solid #8d946b}.size-control{display:flex;align-items:center;gap:8px}.size-control span{font-size:12px;min-width:35px;text-align:center}.theme-circle{width:29px;height:29px;border-radius:50%!important;padding:0!important}.theme-circle.paper{background:#eee5cf}.theme-circle.light{background:#faf9f4}.theme-circle.dark{background:#26332a}.reader-article{max-width:760px;margin:0 auto;padding:50px 28px 100px}.reader-article header{text-align:center;padding-bottom:29px;margin-bottom:27px;border-bottom:1px solid #8884}.reader-article h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(32px,4vw,43px);font-weight:500;line-height:1.35;letter-spacing:-.6px;margin:14px 0}.reader-article header p{font-size:13px;opacity:.75}.reader-content{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.9;overflow-wrap:anywhere}.reader-content p{margin:0 0 1.2em;white-space:pre-wrap}.reading-progress{position:fixed;left:0;top:0;height:3px;background:#9a9a6d;z-index:30;width:0}.reader-end{text-align:center;border-top:1px solid #8884;margin-top:40px;padding-top:30px;font-size:14px;opacity:.8}.reader-bottom{display:flex;justify-content:center;gap:10px;padding:20px}.resume-note{background:var(--soft);padding:15px;border-radius:8px;font-size:12px;margin-bottom:18px;line-height:1.7}.page-title{font-family:Georgia;font-size:36px;font-weight:400;margin:4px 0 10px}.page-sub{font-size:13px;color:var(--muted);margin:0 0 27px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:23px 0 28px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font-family:Georgia;font-weight:400;font-size:36px;margin-top:12px}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.admin-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--paper)}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#efefe4;color:var(--muted);font-size:10px;letter-spacing:.6px;font-weight:600;text-transform:uppercase}td,th{padding:16px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td strong{font-size:14px;font-weight:550}td small{display:block;margin-top:6px;color:var(--muted)}.status{padding:5px 9px;border-radius:20px;font-size:10px;white-space:nowrap}.status.published{background:#e2eadb;color:#3e5e36}.status.pending{background:#f3e6c5;color:#7b5f1f}.status.rejected{background:#f1dfd6;color:#99442f}.row-actions{display:flex;gap:6px;justify-content:flex-end}.login-panel{max-width:450px;margin:70px auto;padding:35px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.login-panel h1{font-family:Georgia;font-weight:400;font-size:32px}.category-grid{display:grid;gap:15px}.category-row{display:flex;align-items:center;gap:15px;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:8px}.category-row h3{margin:0 0 7px;font-size:15px}.category-row p{margin:0;font-size:12px;color:var(--muted)}.category-row .row-actions{margin-left:auto}.admin-notice{background:#ecefe3;border:1px solid #d9dfcd;padding:14px 18px;font-size:12px;border-radius:7px;line-height:1.7}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1550px){.cover{height:235px}.hero{min-height:340px}.hero-copy{padding:42px 45px}.hero h1{font-size:48px}.hero-art{transform:scale(1.05)}}
@media(max-width:1100px){.header{padding:0 24px;gap:18px}.headernav{margin-left:0;gap:18px}.layout{grid-template-columns:180px minmax(0,1fr);gap:25px;padding:25px 24px}.sidebar{padding-right:16px}.hero-copy{padding:28px}.hero h1{font-size:37px}.hero-art{transform:scale(.85)}.hero{grid-template-columns:1.2fr .7fr}.cover{padding:20px;height:190px}.cover-title{font-size:25px}.benefits{gap:14px;font-size:10px}.head-actions .btn{padding:10px 12px}.cards{gap:22px 17px}.brand strong{font-size:22px}.headernav a{font-size:12px}}
@media(max-width:800px){.header{height:78px;padding:0 18px}.headernav{display:none}.brand small{font-size:8px}.head-actions{gap:2px}.head-actions .local-label{display:none}.head-actions .btn{padding:10px}.layout{display:block;padding:22px 18px}.sidebar{border:0;padding:0}.sidebar .overline,.side-rule,.side-note,.sidebar-bottom,.sidebar .saved-link,.sidebar .admin-back{display:none}.side-list{display:flex;overflow:auto;gap:6px;margin-bottom:24px;padding-bottom:3px}.side-item{width:auto;white-space:nowrap;padding:10px 12px;background:#ebece1;font-size:12px}.side-item.active{background:#dce5d3}.side-item .count{margin-left:5px}.sidebar .admin-menu{display:flex}.hero{min-height:290px}.hero-copy{padding:27px}.hero h1{font-size:36px}.hero-art{transform:scale(.8);margin-left:-20px}.hero p{font-size:12px}.quiet-label{display:none}.benefits{justify-content:space-between;gap:10px;font-size:10px}.benefits span:last-child{display:none}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 15px}.cover{height:185px;padding:17px}.cover-title{font-size:24px}.library-heading h2{font-size:25px}.search input{width:130px}.reader-top{padding:11px 15px}.reader-name{display:none}.reader-tools{padding:12px 10px;gap:7px}.reader-article{padding:35px 22px 70px}.stats{gap:12px}.stat{padding:17px}.footer{font-size:10px}.admin-toolbar{flex-wrap:wrap}}
@media(max-width:540px){.brandmark{width:33px;height:36px;font-size:27px}.brand{gap:8px}.brand strong{font-size:19px}.brand small{font-size:7px;letter-spacing:1.3px}.head-actions .btn{font-size:11px;padding:9px}.head-actions .btn .icon{width:16px}.hero{grid-template-columns:1fr;min-height:295px}.hero-copy{padding:27px 25px}.hero h1{font-size:37px}.hero p{max-width:260px;margin-bottom:20px}.hero-art{position:absolute;right:-85px;bottom:-25px;width:250px;height:250px;min-height:0;opacity:.25;transform:scale(.9)}.hero-copy{z-index:2}.hero .btn{position:relative;z-index:3}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.cover{height:193px;padding:18px}.cover-title{font-size:26px}.library-heading{align-items:flex-start;gap:13px;flex-direction:column;margin-top:25px}.search{width:100%}.search input{width:100%}.library-heading small{font-size:10px}.benefits{font-size:9px;justify-content:flex-start;gap:20px}.filters{gap:21px}.filters .result-count{font-size:10px}.story-card h3{font-size:19px}.story-card p{font-size:11px}.footer{flex-direction:column}.form-grid{grid-template-columns:1fr;gap:0}.modal-head{padding:19px}.modal-body{padding:21px 19px}.modal-head h2{font-size:24px}.reader-tools .control{font-size:10px}.reader-tools select{max-width:120px}.reader-tools .control.font{display:none}.reader-top .btn{font-size:11px;padding:9px}.reader-article{padding-left:20px;padding-right:20px}.stats{gap:8px}.stat{padding:14px 11px}.stat span{font-size:10px}.stat strong{font-size:29px}.page-title{font-size:30px}.category-row{padding:16px;flex-wrap:wrap}.category-row .row-actions{margin-left:0}.login-panel{margin:25px auto;padding:25px}.row-actions .btn{padding:7px}.card-meta{font-size:9px}.sample{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.vip-cover{position:absolute;right:12px;bottom:12px;background:#eee2b7;color:#554426;border-radius:4px;padding:4px 7px;font-size:9px;letter-spacing:1px}.price{display:inline-block;color:#8d602a;font-size:11px;margin-left:9px}.vip-badge{display:inline-flex;align-items:center;gap:6px;background:#ded2a740;color:inherit;border:1px solid #a99b6e77;padding:5px 10px;border-radius:5px;font-size:10px;letter-spacing:1px;vertical-align:middle}.vip-badge .icon{width:13px;height:13px}.demo-notice{display:flex;gap:9px;align-items:center;font-size:12px;padding:12px 15px;margin-bottom:28px;border-left:2px solid #9e9665;background:#a8986020}.paywall{border-top:1px solid #8884;margin-top:30px;padding-top:35px;text-align:center}.paywall h2{font-family:Georgia;font-size:29px;font-weight:400;line-height:1.4}.paywall>p{font-size:14px;line-height:1.9;opacity:.85}.paywall-body{border:1px solid #8884;background:#87916e0b;display:flex;gap:25px;padding:23px;border-radius:9px;margin-top:24px;text-align:left;align-items:flex-start}.qr-block{width:200px;flex-shrink:0}.qr-block img{display:block;width:100%;height:auto;background:#fff;border-radius:7px;min-height:200px;color:#222;font-size:12px}.qr-block small{display:block;font-size:9px;line-height:1.6;opacity:.65;margin-top:8px}.payment-info{flex:1;min-width:0}.payment-info p{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.payment-info .field input{background:transparent;color:inherit;border-color:#8887}.payment-info .btn{font-size:12px}.payment-note{font-size:10px!important;line-height:1.8;opacity:.7}.vip-fields{border:1px solid var(--line);border-radius:8px;margin:15px 0;padding:17px}.vip-fields legend{font-size:12px;padding:0 8px;color:var(--green)}.vip-fields>small{font-size:11px;color:var(--muted)}.payment-form{max-width:700px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:28px;margin-top:24px}.reader[data-theme=dark] .paywall-body{background:#e1e7c907}.reader[data-theme=dark] .payment-info .btn.primary{background:#cfdbba;color:#26342a;border-color:#cfdbba}
@media(max-width:800px){.qr-block{width:175px}.paywall-body{gap:18px;padding:18px}}
@media(max-width:540px){.paywall-body{flex-direction:column;align-items:center}.payment-info{width:100%}.qr-block{width:210px}.paywall h2{font-size:26px}.payment-form{padding:20px}}
.headernav{align-items:center}.reader .tag{color:inherit;opacity:.8}
@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url('/nunito-400.woff') format('woff')}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url('/nunito-600.woff') format('woff')}@font-face{font-family:Nunito;font-style:normal;font-weight:700 900;font-display:swap;src:url('/nunito-700.woff') format('woff')}
:root{font-family:Nunito,'Segoe UI',sans-serif;--bg:#f6f3e9;--paper:#fffdf7;--green:#064e42;--soft:#e5edde;--line:#dce1d3;--ink:#28332d;--muted:#626f60}.brand-logo{display:block;width:215px;height:auto;max-height:74px;object-fit:contain}.header{height:96px;gap:24px}.headernav{margin-left:8px;font-size:15px}.headernav a.active{padding:36px 0}.btn{border-radius:999px;padding:12px 20px;font-weight:700}.btn.small{padding:8px 13px}.hero{border-radius:25px;background:#25483c}.hero h1{font-family:Nunito,sans-serif;font-weight:700;font-size:42px;letter-spacing:-1px;line-height:1.23}.hero h1 em{font-style:normal;color:#e5d89b;font-weight:700}.hero p{font-size:14px}.hero .btn{border-radius:999px}.side-item{border-radius:14px;font-size:15px}.side-note{border-radius:20px;background:#e9eddd}.side-note h4{font-family:Nunito;font-weight:700;font-size:20px}.side-note p{font-size:13px}.library-heading h2{font-family:Nunito;font-weight:700;font-size:27px;letter-spacing:-.5px}.library-heading small{display:block;margin:6px 0 0;font:400 12px Nunito;color:var(--muted)}.search{border-radius:999px;padding:11px 17px}.search input{font-size:13px}.cover{border-radius:19px}.cover-title{font-family:Nunito,sans-serif;font-weight:700;letter-spacing:-.6px;font-size:29px}.cover-cat{font-size:9px}.cover-author{font-size:10px}.story-card h3{font-family:Nunito;font-weight:700;font-size:21px}.story-card p{font-size:13px}.story-card .author{font-size:12px}.card-meta{font-size:11px}.tag{font-size:11px}.modal-head h2,.page-title,.login-panel h1{font-family:Nunito;font-weight:700}.modal-head{padding:24px 27px}.modal-head .btn{padding:8px}dialog{border-radius:25px}.field input,.field select,.field textarea{border-radius:13px;padding:13px;font-size:15px}.field{font-size:14px}.dropzone{border-radius:18px}.checkrow{font-size:13px}.reader-content{font-family:Nunito,'Segoe UI',sans-serif}.reader-article h1{font-family:Nunito,sans-serif;font-weight:700}.reader-tools button,.reader-tools select{border-radius:10px}.paywall-body{border-radius:20px}.reader .btn{border-radius:999px}.reader-article header p{font-size:14px}.reader-tools .control{font-size:13px}.reader-tools select,.reader-tools button{font-size:13px}.commercial-section{background:#edf2e5;border:1px solid #d5dfc7;border-radius:21px;padding:20px;margin:24px 0;color:#294135}.commercial-title{display:flex;gap:9px;align-items:center;font-size:15px;font-weight:700;margin-bottom:17px}.commercial-toggle{display:flex;align-items:flex-start;gap:13px;cursor:pointer}.commercial-toggle input{accent-color:var(--green);width:20px;height:20px;margin-top:2px;flex-shrink:0}.commercial-toggle strong{display:block;font-size:15px}.commercial-toggle small{display:block;font-size:12px;color:var(--muted);line-height:1.7;margin-top:5px}.commercial-section fieldset{border:0;padding:22px 0 0;margin:14px 0 0;border-top:1px solid #d1dcc5;min-width:0}.commercial-section fieldset[hidden]{display:none}.commercial-section legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.fee-card{background:#fffdf4;border:1px solid #d8dfc8;border-radius:15px;padding:15px 17px;font-size:12px;margin:0 0 24px;line-height:1.6}.fee-card>div{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:9px 0}.fee-card strong{font-size:15px;white-space:nowrap}.fee-net{padding-top:10px;border-top:1px solid #dee3d3;color:#1f5c43;font-weight:700}.fee-net strong{font-size:20px}.commerce-note{font-size:12px;line-height:1.9;color:#50634f}.thank-you{font-size:13px;color:#486747;text-align:center;margin:18px 0 0}.direct-badge{display:inline-block;background:#e2ecd3;color:#315a39;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:700;margin-bottom:6px}.reader[data-theme=dark] .direct-badge{background:#40553d;color:#e4eccf}.reader[data-theme=dark] .tag{color:#d2ddbf}.stats .stat,.category-row,.payment-form,.admin-table-wrap,.login-panel{border-radius:20px}.stat strong{font-family:Nunito;font-weight:700}.footer span:first-child{font-family:Nunito;font-weight:700}.overline{font-size:11px}.hero-caption{font-size:8px}.cover-symbol{filter:grayscale(.5)}
@media(max-width:1100px){.brand-logo{width:195px}.hero h1{font-size:37px}.headernav{gap:15px;font-size:13px}.cover-title{font-size:25px}}
@media(max-width:800px){.header{height:84px;gap:12px}.brand-logo{width:185px;max-height:65px}.side-item{font-size:13px;border-radius:999px}.hero h1{font-size:35px}.cover-title{font-size:25px}.reader-tools .control{font-size:11px}.reader-tools select{font-size:12px}}
@media(max-width:540px){.header{height:82px;padding:0 14px;gap:8px}.brand-logo{width:160px;max-height:59px}.head-actions .btn{font-size:12px;padding:10px 13px}.head-actions .ghost{padding:9px}.head-actions{gap:4px}.hero{border-radius:24px}.hero h1{font-size:35px}.hero-copy{padding:27px 24px}.hero p{font-size:13px}.cover{border-radius:18px}.cover-title{font-size:25px}.story-card h3{font-size:19px}.commercial-section{padding:17px}.fee-card{padding:13px}.fee-card>div{align-items:flex-start}.fee-card span{max-width:65%}.fee-card strong{font-size:14px}.fee-net strong{font-size:18px}.field{font-size:13px}}
.admin-qr-reference{display:flex;align-items:center;gap:20px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px;margin-top:24px;max-width:700px}.admin-qr-reference img{width:160px;height:auto;max-height:180px;object-fit:contain;border-radius:13px}.admin-qr-reference p{font-size:13px;color:var(--muted);line-height:1.9}@media(max-width:540px){.admin-qr-reference{flex-direction:column;text-align:center}}
.customer-button{max-width:175px}.customer-label{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hashtags{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.hashtag{border:1px solid #cfdcc6;background:#edf1e4;border-radius:999px;padding:4px 9px;color:#476441;font:600 10px Nunito;cursor:pointer}.hashtag:hover{background:#dde8d4}.account-hero{display:flex;align-items:center;gap:18px;margin:10px 0 25px}.account-hero .page-title{font-size:30px}.account-hero .page-sub{margin:5px 0 0}.account-hero>.btn{margin-left:auto}.avatar{width:57px;height:57px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#dfe8d0;color:#375939;font-size:25px;font-weight:700;flex-shrink:0}.avatar.small{width:31px;height:31px;font-size:14px}.account-tabs{display:flex;align-items:center;gap:24px;overflow:auto;white-space:nowrap;border-bottom:1px solid var(--line);margin:0 0 27px}.account-tabs .filter{font-size:14px;padding-bottom:13px}.account-tabs+.intro{margin-bottom:18px}.timeline{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px}.timeline-item{display:flex;gap:15px;padding:12px 0 23px;border-bottom:1px solid var(--line);margin-bottom:12px}.timeline-item:last-child{border:0;margin:0;padding-bottom:7px}.timeline-dot{background:#7d936b;width:10px;height:10px;border-radius:50%;margin-top:7px;flex-shrink:0}.timeline-item p{font-size:13px;line-height:1.8;color:var(--muted);margin:7px 0}.timeline-item small{font-size:11px;color:var(--muted);display:block;margin:6px 0 12px}.order-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.order-heading h3{font-size:23px;line-height:1.4;margin:10px 0}.order-heading .overline{font-size:11px;letter-spacing:.6px}.order-total{font-size:35px;font-weight:700;margin:10px 0}.order-payment{display:flex;gap:25px;margin:23px 0;align-items:flex-start;background:#f2f2e5;border-radius:20px;padding:21px}.order-payment p{font-size:13px;line-height:1.9;margin:3px 0 15px}.order-payment .qr-block{width:200px}.order-code{letter-spacing:1px;overflow-wrap:anywhere}.success-note{display:flex;gap:10px;align-items:center;padding:18px;border-radius:15px;background:#e5eed9;color:#345d32;font-size:14px;line-height:1.8;margin:24px 0}.status.submitted{background:#f3e6c5;color:#78581e}.status.paid{background:#e2eadb;color:#3e5e36}.status.refunded,.status.rejected{background:#f1dfd6;color:#99442f}.status.cancelled{background:#e8e8df;color:#666}.private-bank{background:#f0f2e9;padding:17px;border-radius:14px;margin-bottom:23px;font-size:13px;line-height:1.9}.private-bank p{margin:8px 0}.data-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:23px 0}.data-filters label{display:grid;gap:7px;font-size:12px;font-weight:600}.data-filters input,.data-filters select{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:11px;padding:10px 12px;min-height:42px;font:400 13px Nunito;max-width:100%}.data-filters form{display:flex;align-items:flex-end;gap:8px}.data-filters input[type=month]{width:166px}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin:23px 0;font-size:12px}.revenue-table{margin-top:25px}.selected-row{background:#edf1e4}.stat strong{font-size:clamp(17px,2vw,29px);overflow-wrap:anywhere}.comment-cell{min-width:200px;max-width:380px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.comment-cell p{margin:7px 0}.mini-badge{font-size:9px;border:1px solid #b2c5a1;padding:3px 6px;border-radius:20px;color:#4c7040;display:inline-flex;white-space:nowrap}.mini-badge.pinned{background:#e9e4c9;color:#6e632d;border-color:#c6bd8b}.community{border-top:1px solid #8884;margin-top:45px;padding-top:30px}.community h2{font-size:26px;line-height:1.5;font-weight:700}.community-heading p{font-size:13px;opacity:.8}.stars{color:#b18b37;font-size:20px}.community-login{border:1px solid #8884;border-radius:18px;padding:20px;font-size:14px;margin:20px 0}.review-form{border:1px solid #8884;border-radius:20px;padding:22px;margin:25px 0;background:#87916e09}.review-form .field textarea{background:transparent;color:inherit;border-color:#8886;font-size:16px}.review-form .field label,.review-label{font-size:13px;font-weight:700}.star-picker{display:flex;gap:8px;margin:8px 0 20px}.star-choice{background:transparent;border:0;font-size:33px;line-height:1.4;padding:0 4px;cursor:pointer;color:#9999}.star-choice.selected{color:#b4913e}.comment{padding:23px 0;border-bottom:1px solid #8883}.comment-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px}.comment-meta time{margin-left:auto;font-size:10px;opacity:.65}.comment>p{font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0 8px}.comment>small{font-size:10px;opacity:.65}.reader .hashtags{justify-content:center}.reader .hashtag{background:#82956822;color:inherit;border-color:#8885}.reader-header-actions{display:flex;align-items:center;gap:7px}.reader-content{scroll-margin-top:100px}.chapter-title{font:700 26px/1.6 Nunito;color:inherit;margin:25px 0}.chapter-nav{display:flex;align-items:center;gap:10px;margin:23px 0 7px}.chapter-nav label{flex:1;min-width:0}.chapter-nav select{width:100%;padding:11px 12px;border-radius:13px;border:1px solid #8886;background:transparent;color:inherit;font:600 14px Nunito}.chapter-nav option{background:#f5f1e5;color:#27372b}.chapter-nav .btn,.chapter-bottom .btn{background:transparent;color:inherit;border-color:#8886}.chapter-count{text-align:center;font-size:11px;opacity:.65;margin-bottom:26px}.chapter-bottom{display:flex;justify-content:space-between;gap:15px;margin:34px 0}.legacy-unlock{margin:28px 0;text-align:left;border:1px solid #8885;border-radius:16px;padding:18px;font-size:13px}.legacy-unlock summary{cursor:pointer;font-weight:600;line-height:1.8}.legacy-unlock form{padding-top:20px}.legacy-unlock input{background:transparent;color:inherit;border-color:#8885}.chapter-preview{border:1px solid var(--line);border-radius:13px;padding:15px;margin:13px 0 23px;font-size:12px;line-height:1.9;background:#f0f2e7}.chapter-preview summary{font-weight:700;cursor:pointer}.chapter-preview ol{max-height:220px;overflow:auto;padding-left:25px}.reader[data-theme=dark] .mini-badge{color:#c4dbad;border-color:#81906b}.reader[data-theme=dark] .mini-badge.pinned{color:#e7d99a;background:#625c2b44}.reader[data-theme=dark] .review-form .btn.primary,.reader[data-theme=dark] .paywall>.btn.primary{background:#cfdbba;color:#26342a;border-color:#cfdbba}
@media(max-width:1100px){.customer-label{max-width:85px}.head-actions{gap:5px}.headernav{display:none}.head-actions .btn{padding:11px 14px}.account-hero .page-title{font-size:25px}.row-actions{flex-wrap:wrap}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.account-hero{flex-wrap:wrap}.account-hero .page-title{font-size:25px}.account-hero .page-sub{font-size:12px}.account-tabs{gap:20px}.reader-header-actions .btn{font-size:11px;padding:8px 10px}.reader-header-actions .btn[data-action=download]{display:none}.order-payment{gap:17px;padding:17px}.order-payment .qr-block{width:170px}.community h2{font-size:24px}}
@media(max-width:540px){.customer-label{display:none}.brand-logo{width:145px}.head-actions .customer-button{padding:9px}.head-actions .btn{font-size:11px;padding:10px 11px}.header{gap:4px}.head-actions .ghost[data-action=local-open]{display:none}.order-payment{flex-direction:column;align-items:center}.order-payment .qr-block{width:215px}.order-payment>div:last-child{width:100%}.order-heading{flex-direction:column}.order-total{font-size:30px}.account-hero{gap:13px}.account-hero .avatar{width:45px;height:45px;font-size:21px}.account-hero .page-title{font-size:22px}.account-hero>.btn{margin-left:58px;padding:8px 14px;font-size:12px}.account-tabs{gap:20px}.account-tabs .filter{font-size:12px}.chapter-nav{gap:7px}.chapter-nav .btn{padding:8px}.chapter-nav .btn span{display:none}.chapter-nav select{font-size:12px;padding:10px 8px}.chapter-title{font-size:23px}.chapter-bottom .btn{padding:10px 12px;font-size:12px}.review-form{padding:17px}.comment-meta time{width:100%;margin-left:40px}.comment>p{font-size:15px}.data-filters{align-items:stretch}.data-filters>label,.data-filters>form{max-width:100%}.data-filters form label{flex:1;min-width:0}.data-filters input{min-width:0;width:100%}.hashtags{gap:5px}.hashtag{font-size:9px;padding:4px 7px}.reader-top{padding:10px}.reader-top>.btn{font-size:10px;padding:8px}.reader-header-actions .btn{padding:8px;font-size:10px}.reader-header-actions{gap:4px}.revenue-table td,.revenue-table th{padding:12px}.timeline{padding:17px}}

.purchase-entry { min-width: 0; }
.purchase-credential { border: 1px solid var(--line); border-radius: 15px; margin-top: 12px; padding: 13px; background: var(--paper); }
.purchase-credential label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 7px; }
.purchase-credential p { margin: 9px 0; color: var(--muted); font-size: 13px; }
.purchase-password { display: flex; align-items: center; gap: 6px; }
.purchase-password input { min-width: 0; flex: 1; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: var(--bg); padding: 7px; font: 13px ui-monospace, monospace; }
.purchase-password .btn { flex-shrink: 0; }
.purchase-unlock { max-width: 510px; margin-left: auto; margin-right: auto; }
.purchase-unlock .field { margin-top: 0; }
.chapter-nav input { width: 100%; padding: 10px 12px; border: 1px solid #8886; border-radius: 13px; color: inherit; background: transparent; }

.filters{flex-wrap:wrap;column-gap:16px;row-gap:4px}
.hot-period{padding-bottom:8px}.hot-period select{font:inherit;font-size:12px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:3px 7px}

.payment-notice-button{display:block;width:100%;text-align:left;cursor:pointer;font:inherit;margin:0 0 22px;border:1px solid #d0dac4;border-radius:14px;color:#31533e}.payment-notice-button[hidden]{display:none}.admin-menu [data-payment-count][hidden]{display:none}#demo-preview{margin:10px 0 0;font-size:13px}#demo-chapters{max-width:180px}

.welcome-notice{display:grid;gap:22px;padding:4px 0 6px}.welcome-symbol{width:58px;height:58px;border-radius:19px;background:#e6efdf;display:grid;place-items:center;color:#28563f}.welcome-symbol .icon{width:29px;height:29px}.welcome-message{font-size:18px;line-height:1.85;color:#344233;overflow-wrap:anywhere}.welcome-message a{font-weight:700;color:#0c6654;text-underline-offset:4px}.welcome-transfer{border:1px dashed #b9ccad;border-radius:18px;padding:18px 22px;background:#f0f4e8;display:flex;align-items:center;justify-content:space-between;gap:18px}.welcome-transfer span{font-size:14px;color:#637357}.welcome-transfer strong{font-size:27px;letter-spacing:2px;color:#204c37;overflow-wrap:anywhere}.welcome-close{justify-self:stretch;justify-content:center;border-radius:999px}@media(max-width:520px){.welcome-message{font-size:17px}.welcome-transfer{align-items:flex-start;flex-direction:column;gap:5px}.welcome-transfer strong{font-size:24px}}

.short-unlock-code{text-transform:uppercase;letter-spacing:3px;font-size:22px;font-weight:700;max-width:260px}

/* Catalogue: visible access sections and title search on desktop and mobile. */
.catalog-access{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 20px}
.access-pill{border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--green);padding:11px 18px;font-size:14px;font-weight:650;line-height:1.4}
.access-pill:hover{background:var(--soft)}
.access-pill.active{background:var(--green);border-color:var(--green);color:#fffdf5}
.catalog-access+.library-heading{margin-top:0;align-items:flex-end;gap:20px;flex-wrap:wrap}
.library-heading h2 small{display:block;margin:9px 0 0;line-height:1.6;max-width:480px}
.catalog-search{display:grid;gap:8px;font-size:12px;font-weight:650;min-width:270px;max-width:100%}
.catalog-search .search{width:100%;padding:12px 14px;border-radius:14px}
.catalog-search input{width:100%;min-width:0;font-size:14px}
@media(max-width:650px){.catalog-access{gap:7px}.access-pill{font-size:13px;padding:10px 13px}.catalog-search{width:100%;min-width:0}.catalog-access+.library-heading{align-items:stretch}.catalog-access+.library-heading h2{width:100%}}

/* v7: one complete story per horizontal row, at every screen width. */
.cards{grid-template-columns:minmax(0,1fr);gap:0;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:0 22px;overflow:hidden}
.story-card.story-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;column-gap:22px;padding:23px 0;border-bottom:1px solid var(--line);min-width:0}
.story-card.story-row:last-child{border-bottom:0}
.story-row-cover{display:block;align-self:start;border-radius:10px;overflow:hidden}
.story-row .cover{width:96px;height:130px;padding:13px 12px;border-radius:10px}
.story-row .cover:before{left:5px}
.story-row .cover:after{width:90px;height:90px;bottom:-35px;right:-35px}
.story-card.story-row:hover .cover{transform:none}
.story-row .cover-symbol{right:11px;top:8px;font-size:23px}
.story-row .cover-title{font-size:15px;line-height:1.35;letter-spacing:0;max-width:100%;margin:auto 0 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.story-row-body{min-width:0}
.story-row-top{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin-bottom:8px;font-size:11px;line-height:1.5}
.story-access{display:inline-flex;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.story-access.free{color:#28503a;background:#eaf1e3}
.story-access.paid{color:#78520c;background:#f8edce}
.story-row-category{color:var(--muted)}
.story-row-minutes{margin-left:auto;color:var(--muted);white-space:nowrap}
.story-card.story-row h3{font-size:22px;font-weight:800;line-height:1.4;margin:0 0 7px;overflow-wrap:anywhere}
.story-card.story-row h3 a:hover{color:#285d47;text-decoration:underline;text-underline-offset:4px}
.story-card.story-row p.story-row-excerpt{font-size:14px;line-height:1.7;margin:0 0 9px;-webkit-line-clamp:2;overflow-wrap:anywhere}
.story-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 16px;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.story-row-author strong{color:var(--ink);font-weight:650}
.story-row-meta time{font-size:11px;white-space:nowrap}
.story-row-meta .sample{margin:0}
.story-row .hashtags{margin:10px 0 0;gap:5px}
.story-row .hashtag{max-width:100%;font-size:11px;padding:3px 8px;white-space:normal;overflow-wrap:anywhere}
.story-row-open{justify-self:end;white-space:nowrap;border-radius:999px;padding:9px 13px!important;color:var(--green)}
.purchase-entry{padding:23px 0;border-bottom:1px solid var(--line)}
.purchase-entry:last-child{border-bottom:0}
.purchase-entry .story-card.story-row{padding:0;border:0}
.purchase-entry .purchase-credential{margin-left:118px;margin-top:16px}
@media(max-width:1000px){.story-card.story-row{grid-template-columns:88px minmax(0,1fr);column-gap:18px}.story-row .cover{width:88px;height:122px}.story-row-open{display:none}.purchase-entry .purchase-credential{margin-left:106px}}
@media(max-width:600px){.cards{grid-template-columns:minmax(0,1fr);border-radius:15px;padding:0 13px}.story-card.story-row{grid-template-columns:70px minmax(0,1fr);column-gap:13px;padding:19px 0;align-items:start}.story-row .cover{width:70px;height:100px;padding:10px 9px;border-radius:8px}.story-row .cover-symbol{font-size:19px;top:5px;right:9px}.story-row .cover-title{font-size:12px;-webkit-line-clamp:4}.story-row-top{gap:5px 7px;margin-bottom:6px;font-size:10px}.story-access{font-size:10px;padding:2px 7px}.story-row-minutes{display:none}.story-card.story-row h3{font-size:18px;line-height:1.45;margin-bottom:6px}.story-card.story-row p.story-row-excerpt{font-size:12px;line-height:1.65;margin-bottom:7px}.story-row-meta{font-size:11px;gap:3px 10px}.story-row-meta time{font-size:10px}.story-row .hashtags{margin-top:8px}.story-row .hashtag{font-size:10px;padding:3px 6px}.purchase-entry{padding:19px 0}.purchase-entry .purchase-credential{margin-left:0}.cards>.empty{margin:16px 0}}

/* Forest is the new default. Paper and light remain selectable. */
:root{--bg:#18242d;--paper:#22313b;--ink:#f0e9da;--muted:#b7c5c9;--line:#425761;--green:#a9d5c3;--soft:#294148;--accent:#f3be88;--shadow:0 18px 60px #0a141a55;color-scheme:dark}
:root[data-ui-theme=paper]{--bg:#f4f1e8;--paper:#fbf9f1;--ink:#272d28;--muted:#6c7065;--line:#deded0;--green:#344b3e;--soft:#e8ecdf;--accent:#a34e35;color-scheme:light}
:root[data-ui-theme=light]{--bg:#f8faf5;--paper:#ffffff;--ink:#253127;--muted:#647060;--line:#dce4d6;--green:#305843;--soft:#eaf2e5;--accent:#886526;color-scheme:light}
html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink)}
.header{height:88px;background:var(--bg);position:relative;z-index:2}
.library-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 34px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(ellipse at 100% 0%,var(--soft),transparent 72%),var(--paper);overflow:hidden;margin:10px 0 28px}
.library-intro .eyebrow{margin:0 0 14px;font-size:10px;letter-spacing:2px;color:var(--muted)}
.library-intro h1{font-size:38px;line-height:1.2;letter-spacing:-1px;margin:0 0 15px;font-weight:800;color:var(--ink)}
.library-intro h1 em{font-style:normal;color:var(--green)}.library-intro p:last-child{font-size:14px;line-height:1.8;margin:0;color:var(--muted)}
.intro-book{display:flex;align-items:center;justify-content:center;position:relative;width:155px;height:155px;border:1px solid var(--line);border-radius:45px;transform:rotate(-8deg);background:var(--bg);color:var(--green);flex-shrink:0}
.intro-book .icon{width:90px;height:90px;stroke-width:.8}.intro-book span{position:absolute;right:22px;bottom:17px;font-size:21px;font-weight:800;color:var(--muted)}
.library-heading h2{font-family:inherit;font-size:28px;font-weight:800;letter-spacing:-.5px}.catalog-search .search{border-radius:999px}.catalog-search input{font-size:14px;line-height:1.5}
.catalog-access{margin-top:20px}.access-pill{transition:background .15s,color .15s,transform .15s}.access-pill:hover{transform:translateY(-1px)}
.catalog-filter-panel{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:17px 19px;margin-bottom:22px}
.catalog-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 18px}.catalog-controls>label:not(.audio-filter){display:grid;gap:7px;font-size:11px;font-weight:700;color:var(--muted);flex:1;min-width:180px}
.catalog-controls select,.tag-search-label input{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:11px;padding:10px 12px;font:inherit;font-size:13px}
.audio-filter{display:flex;align-items:center;gap:7px;padding:11px 0;font-size:13px;cursor:pointer}.audio-filter input{accent-color:var(--green);width:16px;height:16px}.audio-filter .icon{width:16px;height:16px}
.tag-browser{margin-top:15px;border-top:1px solid var(--line);padding-top:14px}.tag-browser summary{cursor:pointer;font-size:13px;font-weight:750}.tag-browser summary span{font-size:10px;font-weight:500;color:var(--muted);margin-left:10px}.tag-search-label{display:block;margin:13px 0 11px}.tag-search-label input{max-width:420px}
.tag-options{display:flex;flex-wrap:wrap;gap:7px;max-height:180px;overflow:auto;padding:2px 2px 6px}.tag-option{font-size:12px!important;padding:6px 10px!important;background:var(--bg)!important;color:var(--ink)!important;max-width:100%;overflow-wrap:anywhere}.tag-option small{font-size:10px;color:var(--muted);margin-left:4px}.tag-option.selected{background:var(--green)!important;color:var(--bg)!important;border-color:var(--green)!important}.tag-option.selected small{color:inherit}.tag-help,.facet-empty{font-size:11px;color:var(--muted);line-height:1.8}
.active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.active-chip{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--ink);padding:5px 9px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.active-chip .icon{width:12px;height:12px}.clear-filters{border:0;background:transparent;color:var(--green);font-size:12px;padding:7px;text-decoration:underline;text-underline-offset:3px}
.cards.story-text-list{display:block!important;grid-template-columns:none!important;padding:0 24px;border:1px solid var(--line);border-radius:20px;background:var(--paper);overflow:hidden}
.story-card.story-text-row{display:block!important;width:100%;padding:24px 0;border:0;border-bottom:1px solid var(--line);box-sizing:border-box}.story-card.story-text-row:last-child{border-bottom:0}
.story-text-row .cover,.story-text-row .story-row-cover{display:none!important}.story-card.story-text-row h3{font:800 22px/1.45 Nunito,"Segoe UI",sans-serif;margin:0 0 8px;color:var(--ink);overflow-wrap:anywhere}
.story-card.story-text-row h3 a:hover{color:var(--green);text-decoration:underline;text-underline-offset:5px}.story-card.story-text-row p.story-row-excerpt{font-size:14px;line-height:1.75;margin:0 0 11px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.story-text-row .story-row-meta{display:flex;flex-wrap:wrap;gap:5px 18px;align-items:center;color:var(--muted);font-size:12px;line-height:1.7}.story-text-row .story-row-meta strong{color:var(--ink)}.story-text-row time{margin-left:auto;font-size:11px}.meta-label{font-size:10px;font-weight:800;letter-spacing:.6px;color:var(--muted);margin-right:6px}
.story-text-row .story-row-top{display:flex;gap:8px;align-items:center;margin:8px 0 0;font-size:12px;color:var(--muted)}.story-text-row .hashtags{margin-top:9px}.story-text-row .hashtag{color:var(--green);background:var(--soft);border-color:var(--line);font-size:11px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.story-row-footer{display:flex;flex-wrap:wrap;align-items:center;gap:9px 15px;margin-top:14px;font-size:11px;color:var(--muted)}.story-row-footer .icon{width:14px;height:14px}.story-row-footer>.reading-estimate,.audio-indicator{display:inline-flex;align-items:center;gap:5px}.story-row-footer .story-row-open{display:inline-flex!important;align-items:center;gap:7px;margin-left:auto;border-radius:999px;padding:8px 14px!important;font-size:12px}
.quick-favorite{display:inline-flex;align-items:center;gap:5px;font-size:11px;border:0;background:transparent;color:var(--muted);padding:6px 0}.quick-favorite[aria-pressed=true]{color:var(--green)}.quick-favorite[aria-pressed=true] .icon{fill:var(--soft)}
.story-access.free{color:#d7e7b8;background:#354934}.story-access.paid{color:#e8d29b;background:#50452d}.purchase-entry .purchase-credential{margin-left:0}.purchase-entry .story-text-row{padding:0!important}
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:21px 0}.catalog-pagination>p{font-size:12px;color:var(--muted);margin:0}.catalog-pagination strong{color:var(--ink)}.page-buttons{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}.page-number,.page-step{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:37px;height:37px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);font-size:12px}.page-number.active{background:var(--green);border-color:var(--green);color:var(--bg);font-weight:800}.page-step:disabled{opacity:.35;cursor:default}.page-step .icon{width:14px;height:14px}.page-gap{font-size:13px;padding:0 4px;color:var(--muted)}
html[data-ui-theme=forest] .brand{background:#f4f1e8;border-radius:14px;padding:5px 10px}html[data-ui-theme=forest] .brand-logo{height:51px;width:185px;object-fit:contain}
html[data-ui-theme=forest] .btn.primary{background:#a9d5c3;color:#18242d;border-color:#a9d5c3}html[data-ui-theme=forest] .btn.primary:hover{background:#c1e3d4}html[data-ui-theme=forest] .access-pill.active{color:#18242d}html[data-ui-theme=forest] .side-item:hover{background:#2e444e}
html[data-ui-theme=forest] .side-note,html[data-ui-theme=forest] .chapter-preview,html[data-ui-theme=forest] .dropzone,html[data-ui-theme=forest] .purchase-credential,html[data-ui-theme=forest] .review-form,html[data-ui-theme=forest] .community-login,html[data-ui-theme=forest] .account-hero,html[data-ui-theme=forest] .timeline,html[data-ui-theme=forest] .qr-caption{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-ui-theme=forest] table th,html[data-ui-theme=forest] .admin-table-wrap th,html[data-ui-theme=forest] .data-table th{background:#2d424b;color:var(--muted)}html[data-ui-theme=forest] table tr:hover td{background:#2b414b}
html[data-ui-theme=forest] .stat,html[data-ui-theme=forest] .stat-card,html[data-ui-theme=forest] .admin-notice,html[data-ui-theme=forest] .info-card,html[data-ui-theme=forest] .admin-note,html[data-ui-theme=forest] .seller-note,html[data-ui-theme=forest] .order-payment,html[data-ui-theme=forest] .order-summary,html[data-ui-theme=forest] .approval-code,html[data-ui-theme=forest] .customer-order-table{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-ui-theme=forest] .welcome-symbol,html[data-ui-theme=forest] .welcome-transfer{background:var(--soft);color:var(--ink);border-color:var(--line)}html[data-ui-theme=forest] .welcome-message,html[data-ui-theme=forest] .welcome-message a,html[data-ui-theme=forest] .welcome-transfer strong{color:var(--ink)}html[data-ui-theme=forest] .welcome-transfer span{color:var(--muted)}
html[data-ui-theme=forest] .reader{--read-bg:#18242d;--read-ink:#f0e9da}html[data-ui-theme=forest] .reader[data-theme=paper]{--read-bg:#f4f0e5;--read-ink:#292d27}html[data-ui-theme=forest] .reader[data-theme=light]{--read-bg:#faf9f4;--read-ink:#242b27}
:root[data-ui-theme=paper] .story-access.free,:root[data-ui-theme=light] .story-access.free{background:#eaf1e3;color:#28503a}:root[data-ui-theme=paper] .story-access.paid,:root[data-ui-theme=light] .story-access.paid{background:#f8edce;color:#78520c}
@media(max-width:800px){.intro-book{width:110px;height:125px;border-radius:32px}.intro-book .icon{width:70px}.library-intro{padding:25px}.library-intro h1{font-size:31px}.catalog-pagination{justify-content:center}.catalog-pagination>p{width:100%;text-align:center}.page-buttons{gap:5px}}
@media(max-width:600px){.header{height:76px}.head-actions{gap:3px}html[data-ui-theme=forest] .brand{padding:3px 6px;border-radius:11px}html[data-ui-theme=forest] .brand-logo{width:124px;height:42px}.library-intro{padding:22px;border-radius:18px;margin-bottom:20px}.library-intro h1{font-size:28px}.library-intro p:last-child{font-size:12px}.intro-book{display:none}.catalog-controls{gap:12px}.catalog-controls>label:not(.audio-filter){min-width:140px}.catalog-filter-panel{padding:14px;border-radius:15px}.audio-filter{font-size:12px;padding:2px 0}.tag-search-label input{font-size:12px}.tag-browser summary span{font-size:9px}.cards.story-text-list{padding:0 16px;border-radius:16px}.story-card.story-text-row{padding:20px 0}.story-card.story-text-row h3{font-size:19px}.story-card.story-text-row p.story-row-excerpt{font-size:13px;line-height:1.7}.story-text-row time{margin-left:0}.story-row-footer{gap:8px 12px}.story-row-footer .reading-estimate{display:none}.story-row-footer .story-row-open{padding:7px 11px!important}.library-heading h2{font-size:25px}.catalog-search input{font-size:13px}.filters{column-gap:14px}.filter{font-size:11px}.filters .result-count{width:100%;margin-left:0}.quiet-label{display:none}.access-pill{font-size:12px;padding:10px 12px}}

.admin-story-search{display:grid;gap:15px;padding:21px;border:1px solid var(--line);border-radius:18px;background:var(--paper);margin:22px 0 4px}.admin-story-search label{display:grid;gap:7px;font-size:12px;font-weight:650;color:var(--muted)}.admin-story-search input,.admin-story-search select{width:100%;min-width:0;padding:11px 12px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px;font:inherit;font-size:13px}.admin-search-main input{font-size:15px;padding:13px 15px}.admin-search-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.admin-search-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.admin-search-actions .audio-filter{display:flex;align-items:center;gap:7px;margin-right:auto}.admin-search-actions input[type=checkbox]{width:16px;height:16px;margin:0}.admin-search-actions .btn{font-size:12px}html[data-ui-theme=forest] .form-error,html[data-ui-theme=forest] .btn.danger{color:#efaaa0}html[data-ui-theme=forest] .payment-notice-button{background:var(--soft);color:var(--ink);border-color:var(--line)}@media(max-width:850px){.admin-search-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.admin-story-search{padding:15px}.admin-search-options{grid-template-columns:minmax(0,1fr)}.admin-search-actions .audio-filter{width:100%}.admin-search-actions .btn{padding:10px 12px}}


.catalog-sections {
 display:flex;
 flex-wrap:wrap;
 gap:8px;
 margin:0 0 22px;
}
.catalog-sections .access-pill {
 border-radius:10px;
 padding:9px 13px;
}
.catalog-sections + .library-heading {
 margin-top:0;
 align-items:flex-end;
 gap:20px;
 flex-wrap:wrap;
}
.ranking-caption {
 font-size:12px;
 font-weight:700;
 color:var(--muted);
 padding:0 0 10px;
}
.story-ranked-title {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px 10px;
}
.story-ranked-title > a {
 min-width:0;
 overflow-wrap:anywhere;
}
.chapter-count-badge {
 display:inline-flex;
 align-items:center;
 vertical-align:middle;
 padding:4px 9px;
 border:1px solid var(--line);
 border-radius:999px;
 background:var(--soft);
 color:var(--ink);
 font:800 .75rem/1.3 Nunito,"Segoe UI",sans-serif;
 white-space:nowrap;
}
.chapter-count-badge[hidden] {display:none}
.reader-article h1 .chapter-count-badge {margin-inline-start:9px}
.story-rank {
 display:inline-flex;
 align-items:center;
 gap:5px;
 padding:3px 8px;
 border:1px solid var(--line);
 border-radius:999px;
 font:700 11px/1.4 Nunito,"Segoe UI",sans-serif;
 white-space:nowrap;
}
.story-rank-hot {
 color:#773b24;
 background:#f3e0cf;
 border-color:#e0bea2;
}
.story-rank-hot.rank-1 {
 background:#f0d5bd;
 border-color:#dcb08e;
}
.story-rank-sales {
 color:#42553f;
 background:#e8edde;
 border-color:#ccd7c0;
}
html[data-ui-theme=forest] .story-rank-hot {
 color:#f3c5a4;
 background:#493b31;
 border-color:#685344;
}
html[data-ui-theme=forest] .story-rank-hot.rank-1 {
 background:#514134;
 border-color:#82664d;
}
html[data-ui-theme=forest] .story-rank-sales {
 color:#d0dfbd;
 background:#3a483a;
 border-color:#55674e;
}
.rank-flame {
 display:inline-grid;
 place-items:center;
 position:relative;
 font-size:14px;
 line-height:1;
 filter:drop-shadow(0 0 3px #ef92548c);
}
.rank-flame > span {
 transform-origin:center bottom;
}
.rank-1 .rank-flame {filter:drop-shadow(0 0 5px #ffac64b0)}
.rank-flame::before, .rank-flame::after {
 content:"";
 position:absolute;
 top:3px;
 left:65%;
 width:3px;
 height:3px;
 border-radius:50%;
 background:#ffc085;
 opacity:0;
}
.rank-flame::after {
 left:30%;
 width:2px;
 height:2px;
}

.story-row-actions {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px;
 margin-left:auto;
}
.story-row-actions .story-row-open {margin-left:0}
.purchase-offer {
 display:inline-flex;
 flex-wrap:wrap;
 align-items:center;
 gap:8px 14px;
 max-width:100%;
}
.purchase-prices {
 display:grid;
 text-align:left;
 line-height:1.2;
 font-variant-numeric:tabular-nums;
}
.purchase-reference {
 font-size:.75rem;
 white-space:nowrap;
}
.purchase-amount {
 color:var(--ink);
 font-size:clamp(1.25rem,3vw,1.6rem);
 font-weight:900;
 white-space:nowrap;
}
.reader .purchase-amount {color:var(--read-ink)}
.paywall .purchase-offer {justify-content:center}
.btn.purchase-button {
 min-height:46px;
 padding:10px 18px;
 border:1px solid #e2a469;
 border-radius:999px;
 background:#ffc589;
 color:#35230d;
 font-size:1rem;
 font-weight:900;
 line-height:1.25;
 box-shadow:0 2px 7px #20160d24;
}
.btn.purchase-button:hover {background:#ffd8b1}
.btn.purchase-button:disabled {opacity:.7;cursor:wait}
.purchase-button .icon, .audio-listen .icon {
 width:18px;
 height:18px;
 flex:none;
}
.purchase-button:focus-visible, .audio-listen:focus-visible {
 outline:2px solid currentColor;
 outline-offset:-4px;
}
.audio-panel {
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:12px 18px;
 padding:16px 20px;
 margin:0 0 24px;
 border:1px solid #a9c6b9;
 border-radius:16px;
 background:#e6f1e9;
 color:#173f35;
}
.reader[data-theme=dark] .audio-panel {
 background:#25413e;
 border-color:#486d62;
 color:#e5f3e9;
}
.audio-panel h2 {
 margin:0;
 font-size:1.1rem;
 font-weight:850;
}
.audio-panel p {
 margin:3px 0 0;
 font-size:.8rem;
}
.btn.audio-listen {
 min-height:44px;
 padding:9px 16px;
 border-radius:999px;
 border:1px solid #1a5746;
 background:#1a5746;
 color:#f2fcf5;
 font-size:.95rem;
 font-weight:800;
}
.btn.audio-listen:hover {background:#247059}
.reader[data-theme=dark] .btn.audio-listen {
 border-color:#a5ddc3;
 background:#a5ddc3;
 color:#173d32;
}
.checkout-page {
 width:min(860px,calc(100% - 32px));
 margin:clamp(24px,5vw,56px) auto;
}
.checkout-links {
 display:flex;
 flex-wrap:wrap;
 gap:8px;
 margin-bottom:14px;
}
.checkout-panel {
 padding:clamp(16px,4vw,32px);
 background:var(--paper);
 border:1px solid var(--line);
 border-radius:18px;
}
.checkout-panel h1 {
 margin:0 0 22px;
 font-size:clamp(24px,4vw,34px);
}
.checkout-panel .order-heading h3 {
 margin:5px 0;
 overflow-wrap:anywhere;
}
.checkout-panel .modal-actions {flex-wrap:wrap}
@media(max-width:540px) {
 .story-row-actions {flex-basis:100%}
 .btn.purchase-button {padding-inline:14px}
 .audio-panel {padding:14px}
 .audio-panel .audio-listen {width:100%;justify-content:center}
 .checkout-links .btn {font-size:12px}
}

.btn.purchased-link, .btn.purchased-read {
 background:#b6e0d0;
 border:1px solid #8cb9a9;
 color:#173b32;
 min-height:44px;
 padding:9px 15px;
 border-radius:999px;
 font-size:.94rem;
 font-weight:850;
 line-height:1.25;
 text-align:center;
}
.btn.purchased-link:hover, .btn.purchased-read:hover {background:#ccebe0}
.purchased-link:focus-visible, .purchased-read:focus-visible,
.site-theme-button:focus-visible, .account-purchased-tab:focus-visible {
 outline:2px solid currentColor;
 outline-offset:-4px;
}
.btn.purchased-link {
 min-height:48px;
 padding:11px 19px;
 background:#baf2d8;
 border-color:#75b69d;
 font-size:1rem;
 font-weight:900;
 box-shadow:0 2px 10px #173b3229;
}
.btn.purchased-link .icon {width:19px;height:19px;flex:none}
.btn.purchased-link:hover {background:#cef8e4}
.purchased-spotlight {
 display:grid;
 grid-template-columns:auto minmax(0,1fr) auto;
 align-items:center;
 gap:clamp(10px,2.4vw,20px);
 width:100%;
 min-height:94px;
 margin:0 0 20px;
 padding:clamp(14px,2.7vw,24px);
 border:1px solid #7bbca5;
 border-radius:20px;
 background:linear-gradient(108deg,#caf8e1,#9ddfc5);
 color:#143b31;
 text-decoration:none;
 box-shadow:0 7px 19px #101d2530;
}
.purchased-spotlight:hover {background:#d1f9e8;color:#143b31}
.purchased-spotlight:focus-visible {outline:3px solid #143b31;outline-offset:-6px}
.spotlight-book, .spotlight-arrow {
 display:grid;
 place-items:center;
 border-radius:12px;
 background:#143b3117;
}
.spotlight-book {width:clamp(37px,6vw,56px);aspect-ratio:1}
.spotlight-arrow {width:clamp(30px,5vw,43px);aspect-ratio:1}
.spotlight-book .icon {width:clamp(21px,3vw,29px);height:auto}
.spotlight-arrow .icon {width:19px;height:19px}
.spotlight-text {display:grid;gap:4px;min-width:0}
.spotlight-text strong {font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.15;font-weight:900}
.spotlight-text small {font-size:clamp(.79rem,1.7vw,.95rem);line-height:1.45}
.header.customer-header {gap:clamp(10px,1.4vw,22px)}
.header > .purchased-link {flex:none}
.btn.site-theme-button {
 min-height:44px;
 flex:none;
 padding:8px 12px;
 border:1px solid var(--line);
 border-radius:999px;
 background:var(--soft);
 color:var(--ink);
 font-size:.86rem;
 font-weight:800;
 white-space:nowrap;
}
.btn.site-theme-button .icon {width:17px;height:17px;flex:none}
.btn.site-theme-button:hover {background:var(--paper);border-color:var(--green)}
.reader-header-actions {justify-content:flex-end;flex-wrap:wrap}
.reader-top .purchased-link {flex:none;white-space:nowrap}
.purchased-hero {
 padding:clamp(18px,4vw,34px);
 border:1px solid var(--green);
 border-radius:22px;
 background:linear-gradient(120deg,var(--soft),var(--paper) 80%);
}
.account-hero.purchased-hero .page-title, .purchased-login h1 {
 font-size:clamp(2rem,5vw,2.9rem);
 font-weight:900;
 line-height:1.12;
}
html[data-ui-theme=forest] .account-hero.purchased-hero {
 background:linear-gradient(120deg,var(--soft),var(--paper) 80%);
 border-color:#669989;
}
.purchased-hero .page-sub {max-width:52ch}
.purchased-hero .avatar {background:#baf2d8;color:#173b32;flex:none}
.purchased-hero .avatar .icon {width:26px;height:26px}
.account-navigation {gap:8px;flex-wrap:wrap;overflow:visible}
.account-navigation .filter {
 display:inline-flex;
 align-items:center;
 min-height:42px;
 padding:9px 12px;
 border-radius:10px 10px 0 0;
}
.account-navigation [aria-current="page"] {background:var(--soft);font-weight:850}
.account-navigation .account-purchased-tab {
 flex:1 0 100%;
 gap:8px;
 min-height:58px;
 padding:12px 16px;
 background:#baf2d8;
 border:1px solid #75b69d;
 border-radius:12px;
 color:#173b32;
 font-size:1.2rem;
 font-weight:900;
}
.account-navigation .account-purchased-tab .icon {width:17px;height:17px;flex:none}
.account-navigation .account-purchased-tab:hover {background:#cef8e4}
.account-navigation .account-purchased-tab[aria-current="page"] {box-shadow:inset 0 -3px #519e83}
.purchase-shelf {display:grid;gap:16px}
.purchase-shelf .purchase-entry {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:start;
 gap:clamp(16px,3vw,26px);
 padding:clamp(16px,3vw,26px);
 border:1px solid var(--line);
 border-radius:18px;
 background:var(--paper);
}
.purchase-title h2 {
 margin:0 0 7px;
 font-size:clamp(1.3rem,3vw,1.75rem);
 line-height:1.3;
 overflow-wrap:anywhere;
}
.purchase-title h2 a:hover {text-decoration:underline;text-underline-offset:4px}
.purchase-title p {margin:0 0 12px;color:var(--muted);overflow-wrap:anywhere}
.purchase-status {
 display:inline-flex;
 padding:4px 9px;
 border-radius:999px;
 background:var(--soft);
 color:var(--ink);
 font-size:.8rem;
 font-weight:750;
}
.purchase-shelf .purchase-credential {
 min-width:0;
 margin:0;
 padding:0;
 border:0;
}
.purchase-credential label {font-size:.9rem}
.purchase-password {gap:8px;margin-bottom:12px}
.purchase-password input {
 min-height:45px;
 padding:8px 10px;
 font-size:clamp(1.15rem,2.3vw,1.35rem);
 font-weight:750;
}
.purchase-password .btn {
 min-height:45px;
 padding:7px 10px;
 font-size:.85rem;
}
.purchase-shelf .purchased-read {width:100%}
.chapter-picker {
 max-width:660px;
 margin:12px auto 15px;
 padding:12px;
 border:1px solid var(--line);
 border-radius:15px;
 background:var(--soft);
 text-align:left;
}
.chapter-picker-summary {
 display:flex;
 align-items:baseline;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:3px 10px;
 padding:0 2px 9px;
 font-size:.92rem;
}
.chapter-picker .chapter-count {
 margin:0;
 color:var(--muted);
 opacity:1;
 font-size:.78rem;
 text-align:left;
}
.chapter-picker .chapter-nav {margin:0}
.chapter-picker .chapter-nav :is(select,input,.btn) {
 min-height:44px;
 background:var(--paper);
 border-color:var(--line);
}
.chapter-picker .chapter-nav :is(select,input) {font-size:.9rem}
@media(max-width:960px) {
 .purchase-shelf .purchase-entry {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1280px) {
 .customer-header .headernav {display:none}
}
@media(max-width:1100px) {
 .header.customer-header {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  height:auto;
  padding-block:9px;
  gap:7px;
 }
 .customer-header .brand {width:max-content;max-width:100%;min-width:0}
 .customer-header .brand-logo {max-width:100%}
 .customer-header > .purchased-link {grid-column:1;grid-row:2;width:100%}
 .library-header > .points-link {grid-column:1;grid-row:2;width:100%}
 .customer-header > .site-theme-button {grid-column:2;grid-row:2;width:100%}
}
@media(max-width:650px) {
 .reader-top {flex-wrap:wrap}
 .reader-header-actions {margin-left:auto}
 .reader-top .purchased-link {font-size:.8rem;min-height:39px;padding:7px 10px}
 .reader-top .purchased-link .icon {width:13px;height:13px}
 .purchased-hero > .btn {margin-left:0}
}
@media(max-width:540px) {
 .customer-header > .purchased-link {padding:8px;font-size:.94rem}
 .customer-header > .site-theme-button {padding-inline:8px}
 .chapter-picker {padding:9px}
 .chapter-picker .chapter-nav select {font-size:.82rem}
}
@media(prefers-reduced-motion:no-preference) {
 .rank-flame > span {animation:flame-flicker 1.4s ease-in-out infinite alternate}
 .rank-flame::before, .rank-flame::after {animation:flame-spark 1.9s ease-out infinite}
 .rank-flame::after {animation-delay:.8s}
 .library-intro, .checkout-panel, .purchased-hero, .reader-article > header,
 .purchase-shelf > .purchase-entry:nth-child(-n+5) {
  animation:page-reveal .32s ease-out both;
 }
 .purchase-shelf > .purchase-entry:nth-child(2) {animation-delay:35ms}
 .purchase-shelf > .purchase-entry:nth-child(3) {animation-delay:70ms}
 .purchase-shelf > .purchase-entry:nth-child(4) {animation-delay:105ms}
 .purchase-shelf > .purchase-entry:nth-child(5) {animation-delay:140ms}
 .btn.purchase-button, .btn.purchased-link, .btn.purchased-read, .btn.audio-listen {
  transition:background .18s ease,transform .18s ease;
 }
 .btn.purchase-button:active, .btn.purchased-link:active, .btn.purchased-read:active, .btn.audio-listen:active {
  transform:scale(.97);
 }
 @media(hover:hover) {
  .intro-book {transition:transform .35s ease}
  .library-intro:hover .intro-book {transform:rotate(-3deg) translateY(-4px)}
 }
}
@media(prefers-reduced-motion:reduce) {
 html {scroll-behavior:auto}
}
@keyframes flame-flicker {
 0%, 100% {transform:rotate(-5deg) scale(.94,1.04)}
 38% {transform:rotate(7deg) scale(1.04,.98)}
 68% {transform:rotate(-2deg) scale(.98,1.08)}
}
@keyframes flame-spark {
 0%, 16% {opacity:0;transform:translate(0,3px) scale(.7)}
 32% {opacity:.95}
 76%, 100% {opacity:0;transform:translate(3px,-9px) scale(.4)}
}
@keyframes page-reveal {
 from {opacity:0;transform:translateY(7px)}
 to {opacity:1;transform:translateY(0)}
}

.library-header .points-link {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:6px;
 min-height:44px;
 min-width:0;
 border-color:var(--green);
 background:var(--soft);
 color:var(--ink);
 font-size:.86rem;
 font-weight:800;
 text-align:center;
 white-space:normal;
}
.points-link .icon {width:15px;height:15px;flex:none}
.loyalty-summary, .loyalty-offer {
 padding:clamp(14px,3vw,24px);
 border:1px solid var(--line);
 border-radius:16px;
 background:var(--soft);
 color:var(--ink);
}
.loyalty-summary {margin-bottom:22px}
.loyalty-summary h2, .loyalty-offer h3 {margin:0 0 6px}
.loyalty-summary p, .loyalty-offer p {margin:8px 0 0;line-height:1.55}
.points-balance {
 font-size:clamp(1.8rem,5vw,2.8rem);
 font-weight:900;
 font-variant-numeric:tabular-nums;
}
.loyalty-history {
 list-style:none;
 margin:0;
 padding:0 14px;
 border:1px solid var(--line);
 border-radius:15px;
 background:var(--paper);
}
.loyalty-history li {
 display:flex;
 flex-wrap:wrap;
 justify-content:space-between;
 gap:6px 12px;
 padding:11px 0;
 overflow-wrap:anywhere;
}
.loyalty-history li + li {border-top:1px solid var(--line)}
.loyalty-history small {display:block;color:var(--muted)}
.loyalty-history li > span {color:var(--green);font-weight:800}
.loyalty-offer {margin:0 0 18px}
.loyalty-offer form {margin-top:10px}
.loyalty-offer .checkrow {margin:0 0 8px}
.loyalty-offer .btn {min-height:44px}
.loyalty-offer a {text-decoration:underline;text-underline-offset:2px}
@media(max-width:540px) {
 .library-header .points-link {padding-inline:7px;font-size:.8rem}
 .purchased-spotlight {min-height:84px;border-radius:16px}
}

.purchased-fire {
 position:relative;
 isolation:isolate;
 overflow:hidden;
 border:2px solid #e95e37;
 background:linear-gradient(110deg,#681b17,#8c2b18 55%,#60180e);
 color:#fff1dc;
 box-shadow:0 0 0 2px #ed6a3828,0 0 14px #e94c3345;
}
.side-item.purchased-fire {font-weight:900;margin:5px 0;padding-block:11px}
.purchased-fire:hover,html[data-ui-theme=forest] .side-item.purchased-fire:hover {
 background:#96351d;color:#fff5e6;
}
.purchased-fire .spotlight-book,.purchased-fire .spotlight-arrow {background:#fff5dd22}
.purchased-fire::after {
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:linear-gradient(112deg,transparent 36%,#ffe3ac30 49%,transparent 60%);
 transform:translateX(-110%);
}
@media(prefers-reduced-motion:no-preference) {
 .purchased-fire::after {animation:purchase-glimmer 4.8s ease-in-out infinite}
}
@keyframes purchase-glimmer {0%,55%{transform:translateX(-110%)} 84%,100%{transform:translateX(110%)}}
.cart-link {min-height:44px;white-space:nowrap;font-weight:850}
.cart-count {padding:1px 6px;border-radius:999px;background:var(--soft);color:var(--ink)}
.cart-add {min-height:44px;border-color:#e19d66;font-weight:850}
.cart-add:disabled {opacity:.75}
.cart-list {list-style:none;padding:0;margin:12px 0}
.cart-list li {display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:12px 0}
.cart-list li div {min-width:0;overflow-wrap:anywhere}
.cart-list li span {display:block;color:var(--muted)}
.cart-list button {flex:none}
.cart-tiers {display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cart-tiers span {background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:5px 9px}
.cart-bill {background:var(--soft);border-radius:13px;padding:13px;margin:16px 0}
.cart-bill div {display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;padding:4px 0}
.cart-bill dd {margin:0;font-weight:850}
.cart-bill div:last-child {font-size:1.1rem;border-top:1px solid var(--line);margin-top:6px;padding-top:9px}
.cart-cta {min-height:50px;width:100%;font-size:1.03rem;margin-bottom:8px}
.audio-status {display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.audio-available {color:var(--green);font-weight:750}
.audio-status .icon {width:14px;height:14px}
.reader-audio-status {font-size:.9rem}
@media(max-width:1100px){
 .customer-header > .cart-link {grid-column:1 / -1;grid-row:3;width:100%}
}

.purchased-fire:focus-visible {outline:2px solid #ffe3ac;outline-offset:-4px}

/* v22: readable account action and compact mobile navigation. */
.header.customer-header .head-actions .customer-button {
  min-height:44px;
  border:2px solid #e95e37;
  border-radius:14px;
  background:linear-gradient(110deg,#681b17,#8c2b18 55%,#60180e);
  color:#fff1dc;
  box-shadow:0 0 0 2px #ed6a3828,0 0 14px #e94c3345;
  font-weight:850;
  gap:8px;
}
.header.customer-header .head-actions .customer-button:hover {
  background:#96351d;
  color:#fff5e6;
}
.header.customer-header .customer-button .icon {flex:none;width:18px;height:18px}
.header.customer-header .customer-label {display:inline;min-width:0}
.catalog-sections [data-value="spacepacer"] {
  max-width:100%;
  white-space:normal;
  line-height:1.4;
  text-align:left;
}
@media(max-width:800px) {
  html[data-ui-theme="forest"] .side-list .side-item {
    background:var(--paper);
    color:var(--ink);
    border:1px solid var(--line);
  }
  html[data-ui-theme="forest"] .side-list .side-item.active {
    background:var(--soft);
    color:var(--ink);
    border-color:#8ac6b5;
    font-weight:850;
  }
}
@media(max-width:600px) {
  .header.customer-header {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    height:auto;
    gap:8px;
    padding:11px 14px;
  }
  .header.customer-header .brand {grid-column:1;grid-row:1;justify-self:start;min-width:0}
  .header.customer-header .head-actions {display:contents}
  .header.customer-header .head-actions > .btn {
    width:100%;
    min-width:0;
    max-width:none;
    min-height:44px;
    margin:0;
    padding:9px 10px;
    justify-content:center;
    font-size:13px;
  }
  .header.customer-header .head-actions > .customer-button {grid-column:2;grid-row:1;min-height:46px}
  .header.customer-header .customer-button .customer-label {
    display:inline;
    max-width:calc(100% - 26px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .header.customer-header .head-actions > [data-action="local-open"] {display:none}
  .header.customer-header .head-actions > [data-action="submit-open"] {grid-column:2;grid-row:2}
  .header.customer-header > .points-link,
  .header.customer-header > .purchased-link {grid-column:1;grid-row:2;width:100%;min-width:0}
  .header.customer-header > .site-theme-button {grid-column:1;grid-row:3;width:100%;min-width:0;font-size:13px}
  .header.customer-header > .cart-link {grid-column:2;grid-row:3;width:100%;min-width:0;font-size:13px;padding:9px 8px}
}

/* v23: large reader controls, ownership labels and clear sign-in options. */
.reader-article {padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
.reader-content {scroll-margin-top:24px}
.reader-bottom-nav.chapter-bottom {
  position:fixed;
  z-index:80;
  left:0;
  right:0;
  bottom:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
  width:min(100%,900px);
  margin:0 auto;
  padding:9px 14px calc(10px + env(safe-area-inset-bottom,0px));
  border:1px solid var(--line);
  border-bottom:0;
  border-radius:18px 18px 0 0;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 -5px 22px #101d2528;
}
.reader-bottom-status {grid-column:1 / -1;margin:0;text-align:center;font-size:13px;font-weight:750;line-height:1.35}
.reader-bottom-nav .btn {min-width:0;min-height:56px;padding:12px;font-size:17px;font-weight:850;justify-content:center;gap:8px;white-space:nowrap;border-width:2px}
.reader-bottom-nav .btn .icon {width:19px;height:19px;flex:none}
.reader-bottom-nav .btn:disabled {opacity:.5;cursor:default}
body:has(.reader-bottom-nav) #toast {bottom:calc(120px + env(safe-area-inset-bottom,0px))}
.owned-badge,.purchase-status.owned-badge {display:inline-flex;align-items:center;gap:5px;background:#c5efda;color:#12452d;border:1px solid #82b99d;font-size:13px;font-weight:850;padding:5px 10px;border-radius:999px;white-space:nowrap}
.owned-badge .icon {width:16px;height:16px;flex:none}
.owned-access-note {margin:8px 0 12px;color:var(--muted);font-size:14px;line-height:1.65}
.story-row-footer .owned-access-note {margin:0;font-size:12px}
.btn.owned-read-button,.btn.purchased-read {display:inline-flex!important;min-height:48px;padding:11px 20px;align-items:center;justify-content:center;gap:8px;background:#b6ebd4;color:#143c30;border:2px solid #80b99e;font-size:16px;font-weight:850;white-space:nowrap}
.btn.owned-read-button:hover,.btn.purchased-read:hover {background:#d2f7e6;color:#123c2e}
.auth-password-tools {display:flex;justify-content:flex-start;margin:-3px 0 14px}
.auth-password-tools .btn {min-height:44px;font-size:14px}
.remember-login {display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--soft);margin:12px 0;color:var(--ink);line-height:1.5;cursor:pointer}
.remember-login input {flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:#3d7c61}
.remember-login strong {display:block;font-size:15px}
.remember-login small {display:block;font-size:12px;color:var(--muted);margin-top:4px}
.password-recovery {margin:15px 0;padding:13px 15px;border:1px solid var(--line);border-radius:13px;line-height:1.65}
.password-recovery summary {font-size:15px;font-weight:800;cursor:pointer;min-height:30px}
.password-recovery p {font-size:14px;margin:10px 0}
.auth-submit {width:100%;min-height:50px;font-size:17px}
@media(max-width:600px){.reader-bottom-nav.chapter-bottom{border-radius:14px 14px 0 0;padding-inline:10px;gap:6px 8px}.reader-bottom-nav .btn{min-height:54px;font-size:15px;padding:10px 7px;gap:6px}.reader-bottom-nav .btn .icon{width:17px;height:17px}.btn.owned-read-button,.btn.purchased-read{width:100%}.owned-access-note{font-size:13px}}

/* v24: animated brand, story submission and interface motion. */
.header .brand.brand-yinyang {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:5px 8px 5px 3px;
  background:transparent;
  color:var(--ink);
  border-radius:14px;
}
html[data-ui-theme] .header .brand.brand-yinyang {background:transparent}
.brand-symbol {
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  flex:none;
  width:53px;
  aspect-ratio:1;
}
.brand-symbol::before,.brand-symbol::after {
  content:"";
  position:absolute;
  pointer-events:none;
}
.brand-symbol::before {
  z-index:-1;
  inset:-5px;
  background:radial-gradient(circle,#bd87fb80 0%,#8752ed45 41%,transparent 71%);
}
.brand-symbol::after {
  inset:3px;
  border:1px solid #bd8ffc66;
  border-top-color:#e8ccff;
  border-bottom-color:transparent;
  border-left-color:transparent;
  border-radius:50%;
  rotate:-38deg;
}
.brand-disc {
  display:block;
  width:70%;
  height:70%;
  overflow:visible;
  transform-origin:center;
  filter:drop-shadow(0 0 5px #aa75f799);
}
.brand-wordmark {
  white-space:nowrap;
  font-size:clamp(17px,1.6vw,24px);
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.045em;
}
.brand-wordmark b {color:#7245b4;font-weight:900}
html[data-ui-theme=forest] .brand-wordmark b {color:#d4adff}
.header .brand.brand-yinyang:focus-visible,.submit-cta:focus-visible {
  outline:3px solid #b487ef;
  outline-offset:3px;
}

.sidebar .side-note.submission-card {
  position:relative;
  isolation:isolate;
  padding:17px 14px 15px;
  overflow:hidden;
  color:#fff5ff;
  border:1px solid #aa7ee2;
  border-radius:22px;
  background:radial-gradient(ellipse at 92% 4%,#9259ba82,transparent 60%),
    linear-gradient(150deg,#43265e,#2c1a45 68%);
  box-shadow:0 10px 26px #150d2b35,inset 0 1px 0 #f2d0ff33;
}
.submission-card::before,.submission-card::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
}
.submission-card::before {
  inset:6px;
  border:1px solid #f4cfff22;
  border-radius:16px;
}
.submission-card::after {
  width:126px;
  height:126px;
  top:-53px;
  right:-30px;
  border-radius:50%;
  border:1px solid #dfb3ff42;
  box-shadow:0 0 0 9px #ce9dff18,0 0 0 19px #ce9dff0e;
}
.submission-card .submission-emblem {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  margin-bottom:10px;
  border:1px solid #e1b6ff65;
  border-radius:12px;
  background:#eac5ff20;
  color:#f7dbff;
}
.submission-emblem .icon {width:19px;height:19px}
.sidebar .submission-card h4 {
  margin:0 0 6px;
  font:900 clamp(20px,1.8vw,25px)/1.18 Nunito,"Segoe UI",sans-serif;
  letter-spacing:-.035em;
}
.sidebar .submission-card p {
  margin:0 0 13px;
  color:#ebd8f6;
  font-size:13px;
  line-height:1.55;
}
.header.customer-header .head-actions > .submit-cta,
.sidebar .submission-card .submit-cta,
#modal[data-variant=submission] .submit-cta {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:51px;
  padding:10px 16px;
  border:1px solid #c697fc;
  border-radius:14px;
  background:linear-gradient(115deg,#6f36bd,#542396 78%);
  color:#fff;
  box-shadow:0 5px 14px #1a082d47,inset 0 1px 0 #f0d1ff55;
  font-size:16px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
}
.sidebar .submission-card .submit-cta {width:100%;min-height:53px;padding-inline:9px;font-size:17px}
.submit-cta .icon {width:17px;height:17px;flex:none}
.header.customer-header .head-actions > .submit-cta:hover,
.sidebar .submission-card .submit-cta:hover,
#modal[data-variant=submission] .submit-cta:hover {
  background:linear-gradient(115deg,#8046cc,#652fa5 78%);
  color:#fff;
  border-color:#e1bdff;
}
#modal[data-variant=submission] {
  width:min(780px,calc(100% - 28px));
  border-color:#ad80dc;
  box-shadow:0 24px 80px #15082790,0 0 0 1px #b789e928;
}
#modal[data-variant=submission] .modal-head {
  color:#fff5ff;
  background:radial-gradient(ellipse at right top,#814bae,transparent 65%),#3a2059;
  border-color:#a776cf;
}
#modal[data-variant=submission] .modal-head .btn {color:inherit}
#modal[data-variant=submission] .modal-head h2 {
  font-size:clamp(23px,4.8vw,31px);
  line-height:1.15;
  font-weight:900;
}
#modal[data-variant=submission] .dropzone {border-color:#a67bcf}
#modal[data-variant=submission] .dropzone:hover {background:#9865ce19}
#modal[data-variant=submission] .submit-cta:disabled {opacity:.68}

.library-intro {position:relative;isolation:isolate}
.library-intro::before {
  content:"";
  position:absolute;
  z-index:-1;
  width:64%;
  height:170%;
  right:-11%;
  top:-50%;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(ellipse,#9b72d32c,transparent 68%);
}
.reading-progress {
  background:linear-gradient(90deg,#8055c9,#c39cf2);
  box-shadow:0 0 7px #ad78e388;
}

@media(max-width:1100px) {
  .brand-symbol {width:46px}
}
@media(max-width:800px) {
  .sidebar .side-note.submission-card {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    margin:0 0 20px;
    padding:12px;
    border-radius:17px;
  }
  .submission-card::before {border-radius:12px}
  .submission-card .submission-emblem {margin:0}
  .sidebar .submission-card h4 {font-size:19px;margin-bottom:3px}
  .sidebar .submission-card p {margin:0;font-size:12px}
  .sidebar .submission-card .submit-cta {width:auto;min-height:46px;padding-inline:12px;font-size:15px}
}
@media(max-width:600px) {
  .header .brand.brand-yinyang {gap:6px;padding:0}
  .brand-symbol {width:39px}
  .brand-wordmark {font-size:clamp(14px,4.45vw,21px)}
  .header.customer-header .head-actions > .submit-cta {min-height:49px;font-size:16px;padding-inline:8px}
}
@media(max-width:420px) {
  .sidebar .side-note.submission-card {grid-template-columns:auto minmax(0,1fr)}
  .sidebar .submission-card .submit-cta {grid-column:1/-1;width:100%}
}

@media(prefers-reduced-motion:no-preference) {
  .brand-disc {animation:brand-spin 12s linear var(--brand-phase,0ms) infinite}
  .brand-symbol::after {animation:brand-spin 8s linear var(--brand-phase,0ms) infinite reverse}
  .brand-symbol::before {animation:brand-breathe 4.8s ease-in-out var(--brand-phase,0ms) infinite}
  .library-intro::before {animation:intro-light 9s ease-in-out infinite alternate}
  .sidebar .submission-card, .catalog-filter-panel, .purchased-spotlight,
  .login-panel, .account-hero, .chapter-title, .comment-list {
    animation:interface-enter .34s cubic-bezier(.21,.75,.35,1) both;
  }
  #modal[open] {animation:dialog-enter .24s cubic-bezier(.2,.8,.25,1) both}
  #modal[open]::backdrop {animation:backdrop-enter .24s ease-out both}
  #modal[data-variant=submission] .modal-body {animation:interface-enter .32s ease-out both}
  .reading-progress {transition:width .13s ease-out}
  .submit-cta,.side-item,.access-pill,.page-step,.page-number,.reader-bottom-nav .btn {
    transition:background-color .18s ease,border-color .18s ease,box-shadow .22s ease,transform .18s ease;
  }
  .submit-cta:not(:disabled):active,.access-pill:active,.page-step:not(:disabled):active,
  .page-number:active,.reader-bottom-nav .btn:not(:disabled):active {transform:scale(.97)}
  @media(hover:hover) {
    .submit-cta .icon,.side-item .icon,.story-row-actions a .icon {transition:transform .24s ease}
    .submit-cta:hover .icon,.side-item:hover .icon,.story-row-actions a:hover .icon {transform:translateX(3px)}
    .sidebar .submission-card .submit-cta:hover {box-shadow:0 5px 20px #ad76fb52,inset 0 1px 0 #f0d1ff55}
  }
}
@keyframes brand-spin {to {transform:rotate(1turn)}}
@keyframes brand-breathe {
  0%,100% {opacity:.65;transform:scale(.92)}
  50% {opacity:1;transform:scale(1.13)}
}
@keyframes intro-light {to {transform:translate(-12%,14%) scale(1.12);opacity:.65}}
@keyframes interface-enter {from {opacity:.68;transform:translateY(7px)}}
@keyframes dialog-enter {from {opacity:0;transform:translateY(10px) scale(.98)}}
@keyframes backdrop-enter {from {opacity:0}}

/* v25: domain wordmark and customer navigation icon motion. */
.brand-wordmark {font-size:clamp(17px,1.55vw,24px)}
@media(max-width:600px) {
  .brand-wordmark {font-size:clamp(13px,4vw,20px)}
}
@media(max-width:360px) {
  .header .brand.brand-yinyang {gap:4px}
  .brand-symbol {width:34px}
}

@media(prefers-reduced-motion:no-preference) {
  .sidebar .reader-menu .side-item > .icon {
    flex:none;
    overflow:visible;
    transform-origin:center;
    animation:menu-icon-sway 5.6s ease-in-out infinite;
  }
  .sidebar .reader-menu .side-item:nth-child(even) > .icon {animation-delay:-1.8s}
  .sidebar .reader-menu .side-item:nth-child(3n) > .icon {animation-delay:-3.1s}
  .sidebar .reader-menu [data-action=category][data-value=""] > .icon {
    animation:menu-icon-home 4.2s ease-in-out infinite;
  }
  .sidebar .reader-menu [data-action=access-filter][data-value=free] > .icon {
    animation:menu-icon-book 4.8s ease-in-out -1.1s infinite;
  }
  .sidebar .reader-menu [data-action=access-filter][data-value=paid] > .icon {
    animation:menu-icon-lock 5.1s ease-in-out -2.3s infinite;
  }
  .sidebar .reader-menu .side-item:is(:hover,:focus-visible) > .icon {
    filter:drop-shadow(0 0 3px currentColor);
  }
  @keyframes menu-icon-home {
    0%, 35%, 100% {transform:translateY(0)}
    12% {transform:translateY(-4px)}
    22% {transform:translateY(-1.5px)}
  }
  @keyframes menu-icon-book {
    0%, 43%, 100% {transform:rotate(0)}
    13% {transform:rotate(-13deg) translateY(-1px)}
    29% {transform:rotate(11deg) translateY(-1px)}
  }
  @keyframes menu-icon-lock {
    0%, 38%, 100% {transform:rotate(0)}
    8%, 24% {transform:rotate(-13deg)}
    16% {transform:rotate(13deg)}
  }
  @keyframes menu-icon-sway {
    0%, 42%, 100% {transform:translateY(0) rotate(0)}
    13% {transform:translateY(-2.5px) rotate(-9deg)}
    29% {transform:translateY(-1px) rotate(8deg)}
  }
}

/* v26: beveled brand and dimensional interface icons. */
.brand-symbol .brand-disc {
  width:88%;
  height:88%;
  filter:drop-shadow(0 2px 2px #0d071a9c) drop-shadow(0 0 4px #ac74e88f);
}
.brand-symbol::after {inset:0}
.brand-wordmark {text-shadow:0 1px 1px #15092326}
html[data-ui-theme=forest] .brand-wordmark {text-shadow:0 2px 2px #100b19}
html[data-ui-theme=forest] .brand-wordmark b {
  color:#e5c4ff;
  text-shadow:0 1px 1px #211036,0 0 10px #ac73f063;
}

svg.icon {overflow:visible;stroke-linecap:round;stroke-linejoin:round}
.icon.icon-sculpted {
  stroke:none;
  filter:drop-shadow(0 .65px .38px #12101b76);
}
.icon-sculpted .icon-volume {
  stroke:var(--icon-edge,#422b69);
  stroke-width:.85;
  paint-order:stroke fill;
}
.icon-mint {--icon-edge:#245e56;--icon-dark:#194d47;--icon-shine:#effff6}
.icon-gold {--icon-edge:#8a4c28;--icon-dark:#60351e;--icon-shine:#fff3c1}
.icon-lilac {--icon-edge:#5a377e;--icon-dark:#422466;--icon-shine:#f1ddff}
.icon-ice {--icon-edge:#2e6084;--icon-dark:#26516d;--icon-shine:#e6faff}
.icon-sculpted .icon-accent {
  stroke:var(--icon-edge);
  stroke-width:.58;
}
.icon-sculpted :is(.icon-detail,.icon-ray,.icon-highlight) {
  fill:none;
  paint-order:normal;
}
.icon-sculpted .icon-detail {
  stroke:var(--icon-dark);
  stroke-width:1.15;
}
.icon-sculpted .icon-ray {
  stroke:var(--icon-shine);
  stroke-width:1.7;
}
.icon-sculpted .icon-cut {fill:var(--icon-dark);stroke:none}
.icon-sculpted .icon-highlight {
  stroke:var(--icon-shine);
  stroke-width:.95;
  opacity:.85;
}
.icon.icon-beveled {fill:none;stroke-width:1.45}
.icon-beveled .icon-depth {stroke:#181022;stroke-width:2.25;opacity:.44}
.icon-beveled .icon-front {stroke:currentColor}
.icon-beveled .icon-light {stroke:#fff;stroke-width:.64;opacity:.37}
html[data-ui-theme=paper] .icon-beveled .icon-depth,
html[data-ui-theme=light] .icon-beveled .icon-depth {opacity:.26}

.sidebar .side-item .icon {width:21px;height:21px;flex:none}
.submission-card .submission-emblem,
.library-intro .intro-book {
  box-shadow:inset 0 1px 0 #e9c5fd55,inset 0 -2px 0 #32194a48,0 7px 18px #150c2d42;
}
.library-intro .intro-book {
  background:radial-gradient(ellipse at 35% 12%,#916cc243,transparent 62%),var(--bg);
  border-color:#9678bc80;
}
.library-intro .intro-book .icon {filter:drop-shadow(0 4px 3px #101d266e)}
.library-intro .intro-book span {
  bottom:11px;
  right:15px;
  color:#f7edff;
  background:linear-gradient(145deg,#7a4dae,#513174);
  border:1px solid #bb9ae6;
  box-shadow:inset 0 1px 0 #f0dcff45,0 2px 3px #25143e66;
  padding:1px 7px;
  border-radius:8px;
  font-size:16px;
}
.rank-flame .icon {display:block;width:15px;height:15px}
.stars .icon,.mini-badge .icon {vertical-align:-.15em}
.mini-badge .icon {width:13px;height:13px}
.reader-end > .icon {width:28px;height:28px}
.star-choice .icon {width:28px;height:28px;vertical-align:middle}
.star-choice:not(.selected) .icon {filter:grayscale(1) opacity(.67)}

@media(max-width:800px) {
  .sidebar .side-item .icon {width:19px;height:19px}
}
