:root{color:#283249;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17223b;--ink-soft:#34405a;--paper:#fffdf9;--cream:#f7f1e8;--sand:#e8dccb;--gold:#efb75c;--coral:#e4775e;--sage:#7d9a8a;--muted:#737889;--shadow:0 24px 70px #262a3a1a;background:#f7f1e8;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;min-width:320px;min-height:100%}body{background:var(--cream);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #e4775e4d}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);letter-spacing:-.035em}p{line-height:1.7}.brand{color:#fff;align-items:center;gap:12px;display:inline-flex}.brand__moon{color:#ffd37a;background:#ffffff12;border:1px solid #ffffff3d;border-radius:15px;place-items:center;width:45px;height:45px;font:30px/1 Georgia,serif;display:grid}.brand strong{letter-spacing:.08em;font-family:Georgia,Songti SC,serif;font-size:21px;display:block}.brand small{color:#ffffff94;letter-spacing:.1em;text-transform:uppercase;margin-top:2px;font-size:10px;display:block}.brand--compact{color:var(--ink)}.brand--compact .brand__moon{width:38px;height:38px;color:var(--gold);background:var(--paper);border-color:#17223b1c}.brand--compact strong{font-size:18px}.eyebrow{color:var(--coral);letter-spacing:.17em;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:800}.muted{color:var(--muted)}.fine-print{color:var(--muted);margin:16px 0 0;font-size:11px;line-height:1.6}.mobile-brand{display:none}.button{border:0;border-radius:13px;min-height:44px;padding:0 20px;font-weight:750;transition:transform .18s,box-shadow .18s,background .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:wait;opacity:.7}.button--primary{color:#fff;background:var(--ink);box-shadow:0 10px 25px #17223b29}.button--primary:hover:not(:disabled){box-shadow:0 13px 30px #17223b3d}.button--light{color:var(--ink);background:#fff;box-shadow:0 12px 28px #0000001f}.button--quiet{color:var(--ink-soft);box-shadow:none;background:#ffffff8c;border:1px solid #ded6ca}.button--quiet.active{color:#9e3d4d;background:#fff1ef;border-color:#e8a6a6}.button--wide{width:100%}.icon-button{color:#b44755;background:#fff1ef;border:0;border-radius:50%;width:42px;height:42px;font-size:21px}.notice{border-radius:12px;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 14px;font-size:13px;line-height:1.55;display:flex}.notice--error{color:#883d44;background:#fff2ef;border:1px solid #efc5c1}.notice button{color:inherit;background:0 0;border:0;font-size:19px;line-height:1}.auth-shell{grid-template-columns:minmax(430px,1.1fr) minmax(420px,.9fr);min-height:100vh;display:grid}.auth-story{color:#fff;background:radial-gradient(circle at 76% 70%,#7189ac59,#0000 23%),linear-gradient(145deg,#111b31,#24324e 62%,#34425e);flex-direction:column;padding:clamp(32px,5vw,76px);display:flex;position:relative;overflow:hidden}.auth-story:after{aspect-ratio:1;content:"";border:1px solid #ffffff14;border-radius:50%;width:75%;position:absolute;bottom:-24%;right:-13%}.auth-story__copy{z-index:1;max-width:650px;margin:auto 0;position:relative}.auth-story__copy .eyebrow{color:#f5c77e}.auth-story__copy h1{color:#fff;letter-spacing:-.04em;margin:0 0 26px;font-family:Georgia,Songti SC,serif;font-size:clamp(42px,5.6vw,76px);font-weight:500;line-height:1.16}.auth-story__copy>p:last-child{color:#ffffffb8;max-width:540px;font-size:17px}.auth-story__privacy{z-index:1;color:#ffffff7a;letter-spacing:.06em;margin:0;font-size:11px;position:relative}.night-orbit{border:1px solid #ffffff14;border-radius:50%;width:260px;height:260px;position:absolute;bottom:8%;right:7%}.night-orbit__moon{color:#ffd37a;text-shadow:0 0 45px #ffd37a2b;font:100px/1 Georgia,serif;position:absolute;bottom:50px;right:28px;transform:rotate(-13deg)}.star{color:#fff0c3;animation:3s ease-in-out infinite shimmer;position:absolute}.star--one{font-size:18px;top:27px;left:55px}.star--two{animation-delay:.8s;top:90px;right:15px}.star--three{animation-delay:1.5s;bottom:50px;left:4px}@keyframes shimmer{50%{opacity:.25;transform:scale(.7)}}.auth-panel{background:var(--paper);place-items:center;padding:40px;display:grid}.auth-panel__inner{width:min(440px,100%)}.auth-panel h2{margin-bottom:8px;font-family:Georgia,Songti SC,serif;font-size:36px;font-weight:600}.auth-tabs{border-bottom:1px solid #e6ded3;gap:22px;margin:33px 0 24px;display:flex}.auth-tabs button{color:var(--muted);background:0 0;border:0;padding:0 2px 12px;font-weight:700;position:relative}.auth-tabs button.active{color:var(--ink)}.auth-tabs button.active:after{background:var(--coral);content:"";border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.form-stack{flex-direction:column;gap:17px;display:flex}.form-stack label,.creator-form>label,.field-row label{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}label>span,fieldset legend{color:var(--ink-soft);letter-spacing:.02em;font-size:12px;font-weight:750}label>span small{color:var(--muted);font-weight:500}input,select,textarea{width:100%;color:var(--ink);background:#fffdfb;border:1px solid #ddd5c9;border-radius:12px;transition:border .18s,box-shadow .18s}input,select{min-height:48px;padding:0 14px}textarea{resize:vertical;padding:13px 14px;line-height:1.6}input:hover,select:hover,textarea:hover,input:focus,select:focus,textarea:focus{border-color:#bba999;box-shadow:0 0 0 3px #d8c7b42b}::placeholder{color:#aaa7a2}.field-row{gap:14px;display:flex}.launch-screen{background:var(--ink);align-content:center;place-items:center;gap:28px;min-height:100vh;display:grid}.launch-screen__pulse{background:#ffffff1f;border-radius:3px;width:34px;height:3px;overflow:hidden}.launch-screen__pulse:after{border-radius:inherit;background:var(--gold);content:"";width:45%;height:100%;animation:1.2s ease-in-out infinite loading;display:block}@keyframes loading{50%{transform:translate(42px)}}.app-shell{min-height:100vh}.topbar{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f7f1e8e8;border-bottom:1px solid #34405a1a;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;padding:0 max(28px,50vw - 660px);display:grid;position:sticky;top:0}.topbar nav{gap:8px;height:100%;display:flex}.topbar nav button{color:#737789;background:0 0;border:0;padding:0 14px;font-size:13px;font-weight:700;position:relative}.topbar nav button.active{color:var(--ink)}.topbar nav button.active:after{background:var(--coral);content:"";height:2px;position:absolute;bottom:0;left:14px;right:14px}.account-menu{justify-content:flex-end;align-items:center;gap:8px;display:flex}.account-menu>span{color:#fff;background:var(--sage);border-radius:50%;place-items:center;width:35px;height:35px;font-size:13px;font-weight:800;display:grid}.account-menu button{color:var(--muted);background:0 0;border:0;font-size:12px}.workspace{width:min(1320px,100% - 56px);margin:0 auto;padding:42px 0 80px}.page-stack{flex-direction:column;gap:34px;display:flex}.content-narrow{width:min(780px,100%);margin:0 auto}.page-header{max-width:700px}.page-header h1{margin-bottom:10px;font-family:Georgia,Songti SC,serif;font-size:clamp(36px,5vw,56px);font-weight:500}.page-header>p:last-child{color:var(--muted)}.hero-card{color:#fff;min-height:310px;box-shadow:var(--shadow);background:linear-gradient(125deg,#17223b,#30405f);border-radius:28px;align-items:center;padding:clamp(30px,5vw,65px);display:flex;position:relative;overflow:hidden}.hero-card>div:first-child{z-index:1;max-width:650px;position:relative}.hero-card .eyebrow{color:#f5c77e}.hero-card h1{color:#fff;margin:0 0 12px;font-family:Georgia,Songti SC,serif;font-size:clamp(38px,5vw,62px);font-weight:500}.hero-card p:not(.eyebrow){color:#ffffffad}.hero-card .button{margin-top:12px}.hero-card__sky{width:300px;height:260px;position:absolute;right:5%}.hero-card__sky span{color:#ffd37a;font:160px/1 Georgia,serif;position:absolute;bottom:5px;right:40px;transform:rotate(-10deg)}.hero-card__sky i{color:#fff0c3;font-style:normal;position:absolute}.hero-card__sky i:first-of-type{top:30px;left:30px}.hero-card__sky i:nth-of-type(2){top:80px;right:20px}.hero-card__sky i:nth-of-type(3){bottom:40px;left:10px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:34px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px;display:flex}.section-heading h2,.section-heading h3{margin:0;font-family:Georgia,Songti SC,serif;font-size:25px;font-weight:600}.section-heading h3{font-size:21px}.pill{color:#5c6f64;background:#edf2eb;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.story-grid--wide{grid-template-columns:repeat(3,minmax(0,1fr))}.story-card{text-align:left;background:var(--paper);border:1px solid #413c3414;border-radius:18px;min-height:225px;padding:22px;transition:transform .2s,box-shadow .2s,border .2s;box-shadow:0 9px 30px #2b29260d}.story-card:hover{border-color:#e4775e40;transform:translateY(-3px);box-shadow:0 15px 35px #2b292617}.story-card__topline{color:var(--coral);letter-spacing:.1em;text-transform:uppercase;justify-content:space-between;margin-bottom:28px;font-size:10px;font-weight:800;display:flex}.story-card strong{color:var(--ink);margin-bottom:9px;font-family:Georgia,Songti SC,serif;font-size:21px;line-height:1.3;display:block}.story-card p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:19px;font-size:12px;line-height:1.65;display:-webkit-box;overflow:hidden}.story-card time{color:#a09b94;font-size:10px}.catalog-story-card small{color:#8a857d;font-size:10px}.library-tabs{background:#e9e3da;border-radius:14px;gap:4px;width:fit-content;padding:4px;display:flex}.library-tabs button{color:var(--muted);background:0 0;border:0;border-radius:11px;padding:10px 15px;font-size:12px;font-weight:750}.library-tabs button.active{color:var(--ink);background:var(--paper);box-shadow:0 4px 12px #322d2814}.library-tabs span{color:var(--coral);margin-left:6px}.usage-card{background:#fffdf99e;border:1px solid #ded6ca;border-radius:20px;padding:25px}.meter{background:#dedbd2;border-radius:10px;height:7px;margin:27px 0 12px;overflow:hidden}.meter span{border-radius:inherit;background:linear-gradient(90deg, var(--coral), var(--gold));height:100%;display:block}.usage-card__stats{color:var(--muted);flex-direction:column;gap:6px;font-size:11px;display:flex}.usage-card__stats strong{color:var(--ink)}.empty-state{text-align:center;background:#ffffff47;border:1px dashed #cec2b3;border-radius:20px;align-content:center;place-items:center;min-height:260px;padding:35px;display:grid}.empty-state__icon{width:45px;height:45px;color:var(--gold);background:#fff;border-radius:50%;place-items:center;margin-bottom:10px;display:grid}.empty-state h3{margin-bottom:4px}.empty-state p{color:var(--muted);font-size:13px}.panel{background:var(--paper);border:1px solid #463d3214;border-radius:22px;padding:clamp(24px,4vw,40px);box-shadow:0 20px 55px #322d2812}.profile-list{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.profile-chip{background:#ffffff7a;border:1px solid #e2dacf;border-radius:16px;align-items:center;gap:14px;padding:18px;display:flex}.profile-chip>span{color:#fff;background:var(--sage);border-radius:15px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.profile-chip strong,.profile-chip small{display:block}.profile-chip small{color:var(--muted);margin-top:4px}.creator-layout{grid-template-columns:minmax(280px,.75fr) minmax(520px,1.25fr);align-items:start;gap:clamp(38px,7vw,100px);padding:25px 0;display:grid}.creator-intro{padding-top:35px;position:sticky;top:125px}.creator-intro h1{font-family:Georgia,Songti SC,serif;font-size:clamp(42px,5vw,64px);font-weight:500;line-height:1.2}.creator-intro>p:not(.eyebrow){max-width:450px;color:var(--muted)}.creator-promise{align-items:center;gap:12px;margin-top:22px;display:flex}.creator-promise>span{color:#527060;background:#e7efe9;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.creator-promise p,.creator-promise small{margin:0;display:block}.creator-promise strong{color:var(--ink);font-size:13px}.creator-promise small{color:var(--muted);font-size:11px}.creator-form{flex-direction:column;gap:25px;display:flex}.creator-form fieldset{border:0;min-width:0;padding:0}.creator-form legend{margin-bottom:10px}.choice-row{flex-wrap:wrap;gap:10px;display:flex}.choice-card{cursor:pointer;background:#fff;border:1px solid #e0d8cd;border-radius:14px;grid-template-columns:31px 1fr;align-items:center;gap:0 9px;min-width:100px;padding:13px;display:grid}.choice-card input,.segmented input{opacity:0;width:1px;height:1px;position:absolute}.choice-card>span{color:#fff;background:var(--sage);border-radius:10px;grid-row:1/3;place-items:center;width:31px;height:31px;font-size:11px;display:grid}.choice-card strong{color:var(--ink);font-size:12px}.choice-card small{color:var(--muted);font-size:9px}.choice-card.selected{border-color:var(--coral);box-shadow:0 0 0 2px #e4775e1a}.segmented{background:#efebe4;border-radius:13px;grid-template-columns:repeat(4,1fr);gap:3px;padding:4px;display:grid}.segmented label{text-align:center;color:var(--muted);cursor:pointer;border-radius:10px;padding:10px 5px;font-size:11px;font-weight:700}.segmented label.selected{color:var(--ink);background:#fff;box-shadow:0 3px 9px #37332e14}details{border-top:1px solid #e6dfd5}details summary{color:var(--ink-soft);cursor:pointer;padding:17px 0 0;font-size:12px;font-weight:700}.details-fields{padding-top:17px}.generating-line{justify-content:center;gap:4px;height:8px;margin-top:-16px;display:flex}.generating-line span{background:var(--coral);border-radius:50%;width:4px;height:4px;animation:1.1s infinite bounce}.generating-line span:nth-child(2){animation-delay:.15s}.generating-line span:nth-child(3){animation-delay:.3s}@keyframes bounce{50%{opacity:.4;transform:translateY(-4px)}}.library-tools{justify-content:space-between;gap:14px;display:flex}.library-tools input{width:min(470px,100%)}.reader-shell{width:min(940px,100% - 40px);margin:0 auto;padding:30px 0 80px}.reader-toolbar{justify-content:space-between;margin-bottom:22px;display:flex}.reader-toolbar>div{gap:8px;display:flex}.reader-paper{background:var(--paper);box-shadow:var(--shadow);border:1px solid #463d3212;border-radius:24px;padding:clamp(32px,7vw,90px)}.reader-paper>.eyebrow{text-align:center}.reader-paper h1{text-align:center;max-width:700px;margin:6px auto 18px;font-family:Georgia,Songti SC,serif;font-size:clamp(36px,6vw,59px);font-weight:500;line-height:1.2}.reader-lesson{text-align:center;color:var(--sage);margin-bottom:45px;font-size:12px}.story-prose{color:#343a48;max-width:690px;margin:0 auto;font-family:Georgia,Songti SC,serif;font-size:clamp(18px,2.4vw,22px);line-height:2.05}.story-prose p{margin-bottom:1.4em}.classic-source{max-width:690px;color:var(--muted);border-top:1px solid #e5ddd2;margin:55px auto 0;padding-top:25px;font-size:12px;line-height:1.7}.classic-source strong{color:var(--ink-soft);margin-bottom:5px;display:block}.classic-source p{margin:0 0 5px}.classic-source a{color:var(--coral)}.classic-source small{font-size:10px}.reader-title-input{text-align:center;min-height:65px;margin-bottom:20px;font-family:Georgia,Songti SC,serif;font-size:40px}.reader-editor{min-height:560px;margin-bottom:18px;font-family:Georgia,Songti SC,serif;font-size:18px;line-height:1.9}.audio-dock{background:#eee5d9;border:1px solid #463d3214;border-radius:20px;margin-top:24px;padding:27px 30px}.audio-dock h2{margin-bottom:0;font-family:Georgia,Songti SC,serif}.audio-dock__controls{gap:10px;margin-top:18px;display:flex}.audio-dock__controls select{flex:1}.audio-player{width:100%;accent-color:var(--coral);margin-top:20px}.mobile-nav{display:none}.skeleton{background:linear-gradient(90deg,#e8e1d7,#f5f0e8,#e8e1d7) 0 0/200% 100%;border-radius:20px;animation:1.4s linear infinite skeleton}.skeleton--card{min-height:220px}@keyframes skeleton{to{background-position:-200% 0}}@media (width<=950px){.auth-shell{grid-template-columns:1fr}.auth-story{display:none}.auth-panel{min-height:100vh}.mobile-brand{margin-bottom:45px;display:block}.dashboard-grid,.creator-layout{grid-template-columns:1fr}.creator-intro{padding-top:0;position:static}.creator-intro h1{font-size:45px}.story-grid--wide{grid-template-columns:repeat(2,1fr)}.hero-card__sky{opacity:.45}}@media (width<=720px){.topbar{grid-template-columns:1fr auto;height:64px;padding:0 18px;position:static}.topbar nav,.account-menu button{display:none}.workspace{width:calc(100% - 28px);padding:22px 0 96px}.hero-card{align-items:flex-start;min-height:360px;padding:30px 24px}.hero-card h1{font-size:40px}.hero-card__sky{bottom:-40px;right:-35px;transform:scale(.8)}.story-grid,.story-grid--wide{grid-template-columns:1fr}.story-card{min-height:195px}.field-row,.library-tools,.audio-dock__controls{flex-direction:column}.profile-list{grid-template-columns:1fr}.creator-layout{gap:24px;padding-top:0}.creator-intro h1{font-size:38px}.creator-promise{display:none}.panel{padding:22px 18px}.segmented{grid-template-columns:repeat(2,1fr)}.reader-shell{width:calc(100% - 22px);padding-top:15px}.reader-paper{padding:35px 22px}.story-prose{font-size:18px;line-height:1.95}.audio-dock{padding:22px 18px}.mobile-nav{z-index:20;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#17223bf2;border:1px solid #fff3;border-radius:20px;grid-template-columns:repeat(4,1fr);height:67px;padding:6px;display:grid;position:fixed;bottom:10px;left:12px;right:12px;box-shadow:0 15px 40px #17223b4d}.mobile-nav button{color:#ffffff8c;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:18px;display:flex}.mobile-nav button.active{color:#ffd37a;background:#ffffff14}.mobile-nav small{font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
