:root{--paper:#f7f8f2;--white:#fff;--ink:#163c34;--muted:#76867b;--line:#e5e9df;--lime:#d9ef9d;--soft:#edf1e7;--orange:#b9623a;--safe:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9bbd73;outline-offset:3px}button{touch-action:manipulation}#app{max-width:1080px;margin:auto}.topbar{height:90px;padding:24px 26px 16px;display:flex;align-items:center;justify-content:space-between;padding-top:calc(24px + env(safe-area-inset-top,0px));height:calc(90px + env(safe-area-inset-top,0px))}.brand{display:flex;gap:11px;align-items:center}.brand strong{font-size:21px;letter-spacing:2px;line-height:1.3}.brand strong span{display:block;font-size:8px;letter-spacing:1.8px;font-weight:500;margin-top:3px;color:var(--muted)}.brandmark{width:38px;height:38px;position:relative;display:inline-block}.brandmark i,.brandmark b{display:block;position:absolute;border-radius:12px;background:var(--ink);width:28px;height:26px;top:2px;left:0}.brandmark i:after{content:"";position:absolute;bottom:-4px;left:5px;border:5px solid transparent;border-left-color:var(--ink)}.brandmark b{background:#aac96a;left:13px;top:14px;width:23px;height:21px;border:3px solid var(--paper)}.icon-btn{height:44px;width:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.topbar>.icon-btn{background:var(--soft)}main{padding:14px 24px calc(115px + var(--safe));min-height:75vh}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:680;letter-spacing:-.8px;line-height:1.35}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:16px;line-height:1.5;font-weight:620}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--muted);font-weight:650;margin-bottom:9px}.intro{margin-bottom:25px}.intro p:last-child{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.7}.random-card{position:relative;overflow:hidden;background:var(--ink);border-radius:26px;color:#fff;padding:25px 24px;min-height:224px}.random-card .eyebrow{color:#bbd2b3;font-size:9px}.random-card h2{font-size:29px;letter-spacing:-.7px;margin:15px 0 9px;position:relative;z-index:1}.random-card p{color:#c8d5c4;font-size:12px;max-width:205px;line-height:1.8;position:relative;z-index:1}.random-card .primary{margin-top:22px;background:var(--lime);color:var(--ink);height:44px;font-size:13px;padding:0 18px;position:relative;z-index:1}.primary{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:14px;background:var(--ink);color:white;font-weight:600;min-height:46px;padding:12px 19px}.primary svg{width:18px}.random-art{position:absolute;width:180px;height:180px;right:-37px;top:14px;border:1px solid #46654b;border-radius:50%;transform:rotate(-18deg)}.random-art:before{content:"";position:absolute;inset:25px;border:1px dashed #73926b;border-radius:50%}.random-art:after{content:"";position:absolute;width:63px;height:75px;left:43px;top:47px;background:#dbedaa;border-radius:14px;box-shadow:14px 8px 0 #5c7860}.random-art span{position:absolute;left:58px;top:59px;color:#173e36;z-index:1;font-size:38px;transform:rotate(12deg)}.random-tools{display:flex;align-items:center;justify-content:space-between;margin:10px 1px 25px}.random-tools span{color:var(--muted);font-size:11px}.text-btn{min-height:44px;font-size:12px;display:inline-flex;align-items:center;gap:5px;padding:8px 3px}.text-btn svg{width:15px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 14px}.section-head .text-btn{color:var(--muted)}.topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.topic{padding:0;display:flex;flex-direction:column;align-items:center;gap:9px;min-height:82px;font-size:12px}.topic-icon{display:grid;place-items:center;width:57px;height:57px;background:#e9eddf;border-radius:20px}.topic:nth-child(2) .topic-icon{background:#f4e8da;color:#96633d}.topic:nth-child(3) .topic-icon{background:#e6ede6}.topic:nth-child(4) .topic-icon{background:#e6eaf0;color:#567580}.topic-icon svg{width:25px;height:25px}.scene-list{display:grid;gap:10px}.scene-card{display:flex;align-items:center;gap:13px;padding:17px 16px;background:white;border:1px solid #edf0e7;border-radius:18px;width:100%;text-align:left;min-height:89px}.scene-num{align-self:flex-start;min-width:30px;padding-top:3px;font-size:10px;letter-spacing:1px;color:#a1b097}.scene-card .scene-copy{flex:1;min-width:0}.scene-card small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.scene-card h3{font-size:14px}.scene-card .sample{font-size:11px;color:#879286;margin-top:6px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.scene-card>svg{width:17px;color:#a8b19e}.note{font-size:11px;color:var(--muted);line-height:1.8}.home-note{text-align:center;letter-spacing:1px;margin:27px 0 0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;height:calc(75px + var(--safe));padding:10px 14px calc(8px + var(--safe));background:rgba(247,248,242,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #e3e7db;display:flex;justify-content:space-around}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#91a08f;font-size:10px;min-width:64px;min-height:48px;border-radius:15px}.bottom-nav a svg{width:22px;height:22px}.bottom-nav a.active{color:var(--ink);font-weight:650}.bottom-nav a.active:after{content:"";width:4px;height:4px;border-radius:50%;background:var(--ink);position:absolute;bottom:calc(7px + var(--safe))}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:15px;margin:21px 0 14px;padding:0 14px;height:49px}.search svg{color:#8d9d89;width:19px}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px;height:46px}.filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:2px 0 12px;margin-bottom:6px}.filters::-webkit-scrollbar{display:none}.chip{border-radius:22px;padding:10px 14px;white-space:nowrap;color:#83917e;background:#edf0e7;font-size:12px;min-height:40px}.chip.selected{background:var(--ink);color:#fff}.result-count{font-size:11px;color:var(--muted);margin:4px 0 15px}.empty{padding:45px 22px;text-align:center;color:var(--muted);font-size:14px;line-height:1.9;border:1px dashed #d1dbc9;border-radius:20px}.empty svg{height:34px;width:34px;display:block;margin:0 auto 15px}.load-more{width:100%;border:1px solid var(--line);border-radius:15px;padding:13px;margin-top:13px;font-size:13px}.reader .topbar{display:none}.reader main{padding-top:0}.reader .bottom-nav{display:none}.reader-bar{position:sticky;top:0;background:rgba(247,248,242,.97);backdrop-filter:blur(15px);z-index:15;margin:0 -12px 18px;padding-top:env(safe-area-inset-top,0px);display:flex;align-items:center;justify-content:space-between;min-height:62px}.reader-bar .reader-location{font-size:11px;color:var(--muted)}.reader-controls{display:flex;align-items:center;gap:4px}.reader-head{margin-bottom:24px}.reader-head h1{font-size:27px;line-height:1.45;margin-top:8px}.badge{display:inline-flex;align-items:center;border-radius:8px;background:#e8eddf;color:#667c5c;font-size:10px;padding:5px 8px}.reader-caption{font-size:11px;color:var(--muted);margin:12px 0 18px;line-height:1.7}.reader-actions{display:flex;gap:9px;flex-wrap:wrap}.reader-actions .primary{font-size:12px;min-height:43px;border-radius:12px;padding:10px 14px}.secondary{border:1px solid #dce2d3;border-radius:12px;min-height:43px;padding:10px 13px;font-size:12px;display:inline-flex;align-items:center;gap:7px}.secondary svg{width:17px;height:17px}.read-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:19px;gap:23px}.read-tabs button{padding:14px 1px;font-size:13px;color:var(--muted);border-bottom:2px solid transparent}.read-tabs button.active{color:var(--ink);font-weight:650;border-color:var(--ink)}.turn{background:white;border:1px solid #e9ede3;border-radius:19px;padding:16px;margin:11px 0;transition:background .15s}.turn.me{background:#f0f4e8;border-color:#e2e8d8;margin-left:17px}.turn.playing{border-color:#8eae67;background:#f2f8e5}.turn-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.speaker{font-size:11px;color:var(--muted)}.turn-buttons{display:flex;gap:5px}.mini-btn{width:34px;height:34px;min-width:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.mini-btn svg{width:17px;height:17px}.turn-buttons [data-audio]{background:#edf2e6}.mini-btn.saved{color:#75964b;background:#e7f2d4}.turn .en{font-size:17px;line-height:1.65;letter-spacing:.05px;overflow-wrap:anywhere}.turn .zh{font-size:13px;line-height:1.8;color:#7b8777;margin-top:8px}.turn details{margin-top:10px}.turn summary{color:#87967e;font-size:11px;cursor:pointer;padding:5px 0;min-height:32px}.branch-label{font-size:11px;color:#89997e;margin:20px 0 7px}.word-row{padding:17px 0;border-bottom:1px solid var(--line)}.word-row .word-title{display:flex;align-items:center;justify-content:space-between;font-size:17px}.word-row p{font-size:13px;margin-top:7px;color:#7a8971;line-height:1.7}.reader-foot{font-size:11px;color:#8b9881;line-height:1.8;margin-top:25px}.listen-box{padding:30px 22px;background:#edf3e3;border-radius:22px;text-align:center;margin-top:12px}.listen-box>.round-play{height:65px;width:65px;margin:15px auto 20px}.listen-box h3{font-size:17px}.listen-box p{font-size:13px;line-height:1.8;margin:10px 0}.listen-hint{background:white;border-radius:15px;padding:16px;margin:17px 0;text-align:left}.listen-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.listen-actions .secondary{font-size:11px}.player-dock{position:fixed;bottom:calc(75px + var(--safe));left:12px;right:12px;z-index:24;border:1px solid #dce3d1;border-radius:19px;background:#f9fbf4;box-shadow:0 8px 35px #183b3420;padding:5px 13px 10px;backdrop-filter:blur(14px)}.player-dock[hidden]{display:none}.reader .player-dock,.reader~.player-dock{bottom:calc(12px + var(--safe))}body.reader #dock{bottom:calc(12px + var(--safe))}body.has-player main{padding-bottom:calc(225px + var(--safe))}.playing-top{display:flex;justify-content:space-between;align-items:center;height:25px;font-size:9px;color:#8b987f}.playing-top .mini-btn{height:28px;width:28px}.playing-main{display:flex;align-items:center;gap:10px}.round-play{background:var(--ink);color:var(--lime);border-radius:50%;height:42px;width:42px;min-width:42px;display:flex;align-items:center;justify-content:center}.round-play svg{width:19px;height:19px}.playing-copy{flex:1;min-width:0}.playing-copy p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}.playing-copy input{width:100%;accent-color:var(--ink);height:14px;display:block;margin:0;touch-action:pan-y}.playing-copy span{display:block;font-size:9px;color:#87967d;margin-top:2px}.rate-btn{font-size:12px;width:37px;height:42px;white-space:nowrap}#dock .icon-btn{width:29px}.setting-card{background:white;border:1px solid var(--line);border-radius:20px;padding:8px 18px;margin-top:15px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px;width:100%;text-align:left;min-height:62px}.setting-row:last-child{border:0}.setting-row small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:5px}.setting-row svg{width:18px}.setting-row select{max-width:145px;border:1px solid var(--line);border-radius:9px;background:var(--paper);font-size:12px;padding:8px;color:var(--ink)}.setting-note{font-size:12px;color:var(--muted);line-height:1.9;margin:18px 3px}.info-box{border-radius:17px;background:#ecf1e3;padding:17px;font-size:12px;line-height:1.9;margin-top:15px}.info-box strong{display:block;font-size:14px;margin-bottom:5px}.saved-expression{background:white;border-radius:17px;padding:17px;margin-bottom:11px;border:1px solid var(--line)}.saved-expression p{font-size:16px;line-height:1.65;overflow-wrap:anywhere}.saved-expression small{font-size:12px;color:var(--muted);display:block;margin:8px 0;line-height:1.8}.saved-actions{display:flex;justify-content:space-between;align-items:center}.saved-actions .text-btn{font-size:11px}dialog{padding:20px 24px calc(26px + var(--safe));border:0;border-radius:28px 28px 0 0;width:min(100%,520px);max-height:85dvh;overflow:auto;position:fixed;inset:auto 0 0;margin:0 auto;background:var(--paper);color:var(--ink);box-shadow:0 -15px 80px #163c3422}dialog::backdrop{background:#142c3960;backdrop-filter:blur(3px)}.sheet-grip{width:35px;height:4px;background:#d1dac8;border-radius:6px;margin:0 auto 24px}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-head h2{font-size:22px}.field{display:block;margin:24px 0}.field span{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.field select{width:100%;padding:14px;border:1px solid #dce3d4;border-radius:12px;background:white;color:var(--ink);font-size:16px}.wide{width:100%}.sheet-note{font-size:12px;line-height:1.9;color:var(--muted);margin:14px 0 20px}#toast{position:fixed;bottom:calc(100px + var(--safe));left:50%;transform:translateX(-50%);max-width:90vw;width:max-content;border-radius:13px;background:#193b33;color:#f4f7e9;font-size:12px;padding:13px 18px;z-index:70;opacity:0;pointer-events:none;transition:opacity .2s;line-height:1.7}#toast.visible{opacity:1}.reader #toast{bottom:calc(138px + var(--safe))}.backlink{display:flex;align-items:center;font-size:12px;min-height:44px}.backlink svg{width:19px}.smallcaps{font-size:9px;letter-spacing:1.5px;color:#8b9b7c}.resume{background:#eef2e5;border-radius:16px;padding:16px;width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;margin-top:22px}.resume small{color:var(--muted);font-size:10px;display:block;margin-bottom:5px}.resume strong{font-size:13px}.resume svg{width:18px}@media(min-width:700px){main{padding:25px 42px 130px}.topbar{padding-left:42px;padding-right:42px}.home-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px}.intro h1{font-size:42px}.intro{margin-bottom:30px}.random-card{min-height:250px}.scene-list{grid-template-columns:repeat(2,minmax(0,1fr))}.reader main{max-width:720px;margin:auto}.reader .scene-list{display:block}.bottom-nav{max-width:540px;left:50%;transform:translateX(-50%);border-radius:22px 22px 0 0}.player-dock{max-width:610px;left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 24px)}.setting-card,.info-box,.setting-note{max-width:650px}.random-art{right:-7px}.scene-card h3{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.random-art{top:95px;right:-75px}.turn-buttons .mini-btn{width:44px;height:44px;min-width:44px}.icon-btn.saved{background:#e7f2d4;color:#75964b}.filters[aria-label="大类"]{flex-wrap:wrap;overflow:visible}.random-card h2{font-size:27px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.turn-buttons [data-audio],.word-title [data-audio]{width:auto;min-width:58px;gap:4px;padding:0 10px;font-size:12px}.native-audio{margin-top:9px;border-top:1px solid var(--line);padding-top:6px}.native-audio summary{font-size:11px;padding:6px 0;color:var(--muted);cursor:pointer}.native-audio audio{width:100%;height:40px;display:block}.native-audio a{display:inline-block;font-size:12px;padding:8px 0;text-decoration:underline}body.has-player main{padding-bottom:calc(340px + var(--safe))}
