:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#f1effa;background:#101628;font-synthesis:none;--muted:#a1a7bf;--accent:#d4c3ff;--border:#ffffff12}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100svh;background:radial-gradient(ellipse at 65% 25%,#51477826,transparent 55%),linear-gradient(#101628e6,#101628f5),url('/portal-assets/wallpaper-star-city-v1.webp') center/cover fixed}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.35;cursor:default}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.glass{border:1px solid var(--border);background:linear-gradient(130deg,#ffffff06,#ffffff02);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.topbar{height:76px;display:flex;align-items:center;gap:22px;padding:0 42px;border-bottom:1px solid var(--border);background:#10162766}.brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;letter-spacing:1px}.brand svg{fill:var(--accent);stroke:none;width:22px;height:22px}.header-divider{height:18px;width:1px;background:#ffffff26}.page-name{font-size:13px;color:#c2bdd7}.back{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.back svg{width:17px}.back:hover{color:#fff}
.workspace{max-width:1440px;padding:40px 42px 28px;margin:auto;display:grid;grid-template-columns:268px minmax(0,1fr);gap:36px}.library{border-radius:20px;display:flex;flex-direction:column;min-height:650px;padding:28px 20px 20px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:#b4a4d7;font-weight:500}.library-heading{padding:0 6px}.library-heading>div{display:flex;align-items:center;gap:12px;margin:18px 0 10px}.library h1{font-size:23px;font-weight:550;letter-spacing:1px;margin:0}.count{font-size:11px;padding:3px 7px;border-radius:6px;background:#ffffff08;color:var(--muted)}.library-heading p{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 24px}.books{display:flex;flex-direction:column;gap:10px}.book-item{display:flex;align-items:center;text-align:left;gap:13px;border:1px solid transparent;border-radius:12px;background:transparent;padding:12px 10px;width:100%}.book-item:hover{background:#ffffff06}.book-item[aria-pressed=true]{background:#c6b3ff10;border-color:#c6b3ff25}.book-item strong{display:block;font-size:13px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.book-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.library-empty{margin:28px 0;display:flex;flex-direction:column;align-items:center;gap:14px;color:#737c99;font-size:11px;padding:35px 0;border:1px dashed #ffffff13;border-radius:12px}.library-empty svg{width:28px;height:28px;opacity:.6}.library-note{margin-top:auto;padding:28px 6px 0;font-size:10px;color:#7e87a3;letter-spacing:1px;display:flex;align-items:center;gap:8px}.tiny-star{color:#b49ed7;font-size:15px}
.stage{min-width:0}.section-caption{display:flex;align-items:center;gap:17px;font-size:10px;letter-spacing:2px;color:#909ab6;padding:6px 0 24px}.section-caption>span:last-child{letter-spacing:1px;font-size:11px}.caption-line{width:38px;height:1px;background:#ffffff24}.empty-state{position:relative;overflow:hidden;min-height:575px;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 24px 46px;background:radial-gradient(ellipse at 50% 25%,#b697f515,transparent 65%),linear-gradient(135deg,#ffffff05,#ffffff01)}.empty-art{position:relative;display:flex;align-items:center;justify-content:center;width:320px;height:255px;max-width:100%;margin-bottom:20px}.art-book{position:relative;width:138px;height:184px;border-radius:5px 12px 12px 5px;background:linear-gradient(140deg,#645483,#383450 70%);border:1px solid #c9b6f64a;box-shadow:7px 5px 0 -2px #24283d,8px 6px 0 -2px #9d90b344,18px 25px 45px #0005,inset 4px 0 12px #f4daff0a;transform:rotate(-10deg);display:flex;align-items:center;flex-direction:column;z-index:2}.book-spine{position:absolute;left:9px;top:0;bottom:0;width:1px;background:#dac9fc28;box-shadow:1px 0 0 #07091944}.art-label{font-size:7px;letter-spacing:1.6px;line-height:1.8;color:#d5c9e8;margin:24px 0 18px}.cover-icon{width:46px;height:46px;color:#d9c8ed;stroke-width:1.05}.cover-wave{display:flex;gap:3px;align-items:center;margin-top:12px;height:20px}.cover-wave i{width:2px;height:5px;background:#c5b1e5aa;border-radius:2px}.cover-wave i:nth-child(2n){height:12px}.cover-wave i:nth-child(3n){height:18px}.cover-wave i:nth-child(5n){height:8px}.art-mark{margin-top:10px;font-size:10px;color:#d1bcea}.orbit{position:absolute;border:1px solid #c5a9ff10;border-radius:50%;width:230px;height:230px}.orbit-two{width:310px;height:310px;border-style:dashed;border-color:#c5a9ff0b}.art-star{position:absolute;color:#ceb6f0}.star-one{top:32px;right:65px;font-size:22px}.star-two{bottom:48px;left:38px;font-size:16px;opacity:.55}.star-three{top:40px;left:65px;font-size:22px;opacity:.65}.empty-eyebrow{font-size:9px;color:#9587b0;letter-spacing:2.8px}.empty-state h2{font-size:29px;font-weight:500;letter-spacing:2px;margin:16px 0}.empty-state p{white-space:pre-line;font-size:13px;line-height:2;color:var(--muted);margin:0}.coming-tag{display:flex;gap:8px;align-items:center;font-size:10px;letter-spacing:2px;color:#b5a5cc;border:1px solid #c8a8ee20;background:#c8a8ee06;border-radius:24px;padding:8px 14px;margin-top:26px}.coming-tag>span{width:4px;height:4px;border-radius:50%;background:#b4a0cd}.stage-footer{display:flex;justify-content:space-between;gap:15px;padding:22px 2px 0;color:#78829d;font-size:10px;letter-spacing:1px}
.book-hero{display:flex;gap:30px;padding:32px;border-radius:20px;align-items:center}.book-cover{position:relative;display:grid;place-items:center;flex-shrink:0;overflow:hidden;background:linear-gradient(145deg,#60507d,#292c48);border:1px solid #ffffff14;border-radius:7px;color:#dccaf1}.book-cover::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 3px 0 0 #0002}.book-cover img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.book-cover svg{width:45%;height:45%;stroke-width:1.2}.small-cover{width:42px;height:57px}.large-cover{width:140px;height:190px;box-shadow:8px 13px 26px #0003}.mini-cover{width:42px;height:54px}.hero-copy{min-width:0}.hero-copy h2{font-size:28px;font-weight:500;line-height:1.4;overflow-wrap:anywhere;margin:12px 0}.hero-copy p{font-size:13px;color:var(--muted);line-height:1.9;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 14px}.chapter-summary{display:block;font-size:11px;color:#949eb8;margin-bottom:20px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border:1px solid #d4c3ff22;border-radius:10px;background:#cbb6f4;color:#24213b;font-size:12px;font-weight:600}.primary svg{width:16px;height:16px;fill:currentColor;stroke:none}.secondary{background:#ffffff08;color:var(--accent);margin-top:24px}.chapters{margin-top:24px;border-radius:20px;padding:24px}.chapters-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.chapters-heading h3{font-size:14px;font-weight:500;display:flex;align-items:center;gap:9px;margin:0}.chapters-heading svg{width:18px;height:18px;color:#b8a3dc}.chapters-heading>span{font-size:11px;color:var(--muted)}.chapters ol{list-style:none;margin:0;padding:0}.chapter-button{display:flex;align-items:center;gap:16px;text-align:left;width:100%;padding:16px 14px;border:0;border-radius:10px;background:transparent;font-size:13px}.chapter-button:hover{background:#ffffff04}.chapter-button[aria-current=true]{background:#c9b3ff0d;color:#d6bfff}.chapter-number{width:24px;color:#939ab2;font-size:11px;font-variant-numeric:tabular-nums}.chapter-title{flex:1;overflow-wrap:anywhere;line-height:1.6}.chapter-duration{color:#8993b0;font-size:11px;font-variant-numeric:tabular-nums}.chapter-button svg{width:16px;height:16px;fill:currentColor;stroke:none}.no-chapters{text-align:center;font-size:13px;color:var(--muted);padding:35px 0}
.player{position:fixed;bottom:0;left:0;right:0;z-index:10;display:grid;grid-template-columns:minmax(160px,1fr) minmax(300px,480px) minmax(160px,1fr);gap:30px;align-items:center;background:#151c32ee;border-top:1px solid #ffffff14;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);padding:16px 36px max(16px,env(safe-area-inset-bottom))}body.has-player .workspace{padding-bottom:140px}.now-playing{display:flex;gap:12px;align-items:center;min-width:0}.now-playing>div:last-child{min-width:0}.now-playing strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.now-playing span{display:block;color:var(--muted);font-size:10px;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transport-buttons{display:flex;justify-content:center;gap:19px;align-items:center}.icon-button,.skip-button{border:0;background:transparent;padding:4px;color:#adb2c8}.icon-button:hover,.skip-button:hover{color:#fff}.icon-button svg{width:18px;height:18px;fill:currentColor;stroke-width:1.2}.skip-button{font-size:25px;position:relative;line-height:1}.skip-button span{font-size:8px;position:absolute;left:50%;top:52%;transform:translate(-50%,-50%)}.play-button{width:38px;height:38px;border:0;border-radius:50%;background:#d1bdf8;color:#24213b;display:grid;place-items:center}.play-button svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:2.5}.play-button use[href='#i-play']{transform:translateX(-1px)}.timeline{display:flex;align-items:center;gap:10px;margin-top:12px}.timeline time{min-width:34px;text-align:center;font-size:10px;font-variant-numeric:tabular-nums;color:#949fbc}input[type=range]{accent-color:#cbb6f4;height:4px;cursor:pointer;min-width:0}.timeline input{width:100%;flex:1}.player-options{display:flex;align-items:center;justify-content:flex-end;gap:20px}.speed-label select{border:1px solid #ffffff16;border-radius:7px;background:#202840;font-size:11px;padding:6px;cursor:pointer}.volume-label{display:flex;align-items:center;gap:9px}.volume-label svg{width:17px;height:17px;color:#a1abc5}.volume-label input{width:70px}.notice{position:fixed;bottom:135px;left:50%;transform:translateX(-50%);z-index:20;max-width:calc(100% - 40px);color:#f1dcff;background:#332941;border:1px solid #ac7ebf44;border-radius:10px;font-size:12px;line-height:1.7;padding:12px 18px;box-shadow:0 10px 25px #0003}.notice:empty{display:none}
@media(min-width:1600px){.workspace{padding-top:60px}.library{min-height:710px}.empty-state{min-height:635px}}
@media(max-width:1000px){.topbar{padding:0 26px}.workspace{padding:30px 26px;grid-template-columns:220px minmax(0,1fr);gap:24px}.library{padding:24px 16px;min-height:620px}.empty-state{min-height:545px}.empty-state h2{font-size:25px}.section-caption{gap:12px}.section-caption>span:last-child{display:none}.book-hero{padding:24px;gap:20px}.large-cover{width:105px;height:144px}.hero-copy h2{font-size:23px}.player{grid-template-columns:minmax(140px,1fr) minmax(270px,1.5fr) auto;padding:16px 24px;gap:18px}.volume-label input{width:50px}.player-options{gap:10px}}
@media(max-width:700px){.topbar{height:64px;padding:0 20px;gap:14px}.brand{font-size:13px;gap:8px}.brand svg{width:20px;height:20px}.page-name{font-size:12px}.back span{display:none}.back svg{width:20px}.workspace{display:block;padding:24px 18px}.library{min-height:0;padding:20px;border-radius:16px}.library-heading .eyebrow{font-size:8px;letter-spacing:2px}.library-heading>div{margin:10px 0 0}.library h1{font-size:20px}.library-heading p,.library-note{display:none}.library-empty{border:0;margin:16px 0 0;padding:0;flex-direction:row;gap:8px;justify-content:flex-start;font-size:11px;padding-left:6px}.library-empty svg{width:17px;height:17px}.books{flex-direction:row;overflow:auto;gap:8px;padding-top:14px}.books:empty{display:none}.book-item{min-width:175px;width:175px;flex-shrink:0;padding:10px}.small-cover{width:36px;height:48px}.book-item strong{font-size:12px}.stage{margin-top:24px}.section-caption{padding:0 3px 15px;font-size:8px;letter-spacing:1.8px}.section-caption>span:last-child{display:inline;font-size:9px}.empty-state{min-height:480px;padding:24px 15px 32px;border-radius:16px}.empty-art{height:220px;margin-bottom:18px}.art-book{width:119px;height:162px}.art-label{margin:19px 0 14px;font-size:6px}.cover-icon{width:39px;height:39px}.orbit-one{width:200px;height:200px}.orbit-two{width:270px;height:270px}.empty-state h2{font-size:23px;letter-spacing:1px;margin:15px 0}.empty-state p{font-size:12px}.empty-eyebrow{font-size:8px;letter-spacing:2px}.coming-tag{margin-top:22px;font-size:9px}.stage-footer{font-size:9px;letter-spacing:0;padding:20px 3px 0}.book-hero{padding:22px 18px;border-radius:16px;gap:18px;align-items:flex-start}.large-cover{width:90px;height:125px}.hero-copy .eyebrow{font-size:8px}.hero-copy h2{font-size:20px;margin:9px 0}.hero-copy p{font-size:12px}.chapter-summary{font-size:10px;margin-bottom:16px}.primary{font-size:11px;padding:10px 13px}.chapters{padding:20px 12px;margin-top:18px;border-radius:16px}.chapters-heading{padding:0 6px}.chapter-button{gap:10px;padding:15px 8px;font-size:12px}.chapter-duration{font-size:10px}.player{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 18px max(14px,env(safe-area-inset-bottom))}.now-playing{grid-column:1;grid-row:1}.mini-cover{width:30px;height:40px}.player-options{grid-column:2;grid-row:1}.volume-label{display:none}.transport{grid-column:1/-1;grid-row:2}.transport-buttons{gap:25px}.play-button{width:36px;height:36px}.timeline{margin-top:10px}.notice{bottom:185px}body.has-player .workspace{padding-bottom:200px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.book-info{color:#c7b7e6!important;font-size:11px!important;letter-spacing:.4px}.book-usage{font-size:10px!important;color:#8e9ab9!important;margin:15px 0 0!important}.reader{border-radius:20px;margin-top:24px;padding:28px 30px}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.reader-toolbar h3{font-size:18px;line-height:1.6;font-weight:500;margin:9px 0 0}.reader-toolbar .eyebrow{font-size:8px}.reader-toolbar .secondary{margin:0;white-space:nowrap;padding:9px 12px;font-size:11px}.reader-toolbar .secondary svg{width:16px;height:16px}.reading-status{font-size:11px;color:#97a2be;line-height:1.8;margin:15px 0 22px}.reading-text{max-height:70svh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#635679 #ffffff03;padding:0 10px 0 0;outline-offset:4px}.reading-paragraph{font-size:16px;line-height:2.15;letter-spacing:.4px;color:#cfd3e2;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 15px;padding:9px 14px;border-left:2px solid transparent;border-radius:0 7px 7px 0}.reading-paragraph.heading1{font-size:12px;color:#a797c2;letter-spacing:1px;padding-bottom:0}.reading-paragraph.heading2{font-size:20px;font-weight:500;color:#ebe5f5;margin-bottom:25px}.reading-paragraph.current-reading{background:#b99ae214;border-left-color:#c1a7eb;color:#f2eafa}.reading-button{display:flex;gap:6px;align-items:center;background:transparent;border:1px solid #ffffff17;border-radius:7px;font-size:10px;padding:7px 9px;color:#cbb8e5;margin-left:4px;white-space:nowrap}.reading-button svg{width:14px;height:14px}.now-playing>div:nth-child(2){min-width:0;flex:1}.reader:has(.reading-text:empty){min-height:160px}
@media(max-width:700px){.reader{border-radius:16px;padding:22px 16px;margin-top:18px}.reader-toolbar{gap:10px}.reader-toolbar h3{font-size:16px}.reader-toolbar .secondary{font-size:10px;padding:8px}.reader-toolbar .secondary svg{display:none}.reading-status{font-size:10px;margin:14px 0 18px}.reading-paragraph{font-size:15px;line-height:2.1;margin-bottom:12px;padding:8px 10px}.reading-paragraph.heading2{font-size:18px}.reading-text{max-height:65svh;padding-right:4px}.reading-button{padding:6px;font-size:9px;gap:4px;margin-left:0}}
