:root{color-scheme:light;--bg:oklch(1 0 0);--surface:oklch(.978 .003 270);--ink:oklch(.245 .028 270);--muted:oklch(.47 .028 270);--primary:oklch(.4 .15 270);--primary-soft:oklch(.946 .025 270);--accent:oklch(.92 .07 88);--line:oklch(.91 .009 270);--error:oklch(.43 .17 25);--z-sticky:10;--z-player:20;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:1px solid var(--line);background:var(--bg);transition:background .15s,color .15s}button:hover{background:var(--primary-soft)}:focus-visible{outline:3px solid var(--primary);outline-offset:4px}h1,h2,h3{margin:0;text-wrap:balance}p{margin:0;text-wrap:pretty}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;gap:14px}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:650;letter-spacing:.02em}.brand-icon{height:41px;width:41px;border-radius:11px;background:var(--primary);color:white;display:grid;place-items:center}.brand-icon svg{width:23px;height:23px}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px;letter-spacing:.02em}.voice-badge{border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--muted);font-size:12px;white-space:nowrap}.voice-badge>span{color:var(--primary);font-size:9px;margin-right:5px}.layout{max-width:1360px;margin:auto;display:grid;grid-template-columns:241px minmax(0,1fr);min-height:calc(100vh - 85px)}.sidebar{background:var(--surface);padding:36px 21px 140px 24px;border-right:1px solid var(--line)}.sidebar-top{font-weight:600;font-size:13px;display:flex;justify-content:space-between;align-items:center;padding:0 12px 22px}.sidebar-top span:last-child{color:var(--muted);font-weight:400;font-size:11px}.nav-group-label{color:var(--muted);font-size:11px;margin:18px 12px 8px}.nav-link{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;border-radius:7px;margin:2px 0;line-height:1.35;transition:background .15s}.nav-link:hover{background:var(--primary-soft)}.nav-link.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.nav-link span:last-child{font-size:11px;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums}.sidebar-note{color:var(--muted);font-size:11px;padding:26px 12px}main{padding:43px 58px 150px;min-width:0;max-width:1000px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}h1{font-size:29px;font-weight:650;letter-spacing:-.025em;line-height:1.3}.title-dot{color:var(--primary)}.intro p{color:var(--muted);margin-top:11px;font-size:13px}.accent-mark{font-size:48px;font-family:Georgia,serif;font-style:italic;color:var(--primary);letter-spacing:-.04em;position:relative;margin-right:16px;opacity:.85}.accent-mark span{position:absolute;top:-10px;right:-15px;font-family:serif;font-size:24px;transform:rotate(12deg);color:oklch(.52 .1 75)}.toolbar{display:flex;gap:14px;align-items:center}.search{display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);padding:0 14px;height:44px;border-radius:8px;flex:1;min-width:0}.search svg{color:var(--muted);width:18px;height:18px}.search:focus-within{border-color:var(--primary)}input[type=search]{width:100%;min-width:0;background:transparent;border:0;outline:0;height:100%;color:var(--ink);font-size:13px}input::placeholder{color:var(--muted)}.speed-label{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:8px;white-space:nowrap}select{height:43px;padding:0 27px 0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}.reading-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin:17px 0 35px}.reading-hint>span{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.reading-hint svg{width:14px;height:14px}.hint-divider{color:oklch(.7 .02 270);margin:0 2px}.word-toggle{display:flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer}.word-toggle input{accent-color:var(--primary);width:14px;height:14px;margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:21px;border-bottom:1px solid var(--line)}h2{font-size:21px;font-weight:620;letter-spacing:-.01em}.section-heading p{color:var(--muted);font-size:12px;margin-top:8px}.count-badge{background:var(--surface);border:1px solid var(--line);padding:5px 9px;border-radius:5px;color:var(--muted);font-size:11px;white-space:nowrap}.entry{padding:25px 0 26px;border-bottom:1px solid var(--line);transition:background .18s;scroll-margin-top:28px}.entry-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.entry-index{font-variant-numeric:tabular-nums;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px}.part-tag{border-radius:4px;background:var(--surface);padding:3px 5px;font-size:10px}.read-button{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border-radius:6px;font-size:11px;color:var(--primary);border-color:transparent;background:var(--primary-soft)}.read-button svg{width:14px;height:14px}.entry.is-playing .read-button{background:var(--primary);color:white}.english{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:21px;line-height:1.95;font-weight:450;max-width:70ch;overflow-wrap:anywhere;word-break:normal;cursor:pointer;touch-action:manipulation}.word{border-radius:3px;outline-offset:2px;transition:background .12s;position:relative}.word:hover{background:var(--primary-soft);color:var(--primary)}.word.spoken{background:var(--accent);color:var(--ink)}.sentence.selected{color:var(--primary)}.inline-note{font-family:inherit;font-size:12px;color:var(--muted);line-height:1.5;margin:0 3px;font-weight:400;cursor:default}.translation{margin-top:11px;color:var(--muted);font-size:13px;line-height:1.8}.content-footnote{font-size:11px;line-height:1.95;color:var(--muted);margin-top:28px}.player{position:fixed;bottom:0;left:0;right:0;z-index:var(--z-player);background:var(--bg);border-top:1px solid var(--line);padding:18px 38px calc(18px + env(safe-area-inset-bottom));}.player-inner{display:flex;align-items:center;gap:19px;max-width:1130px;margin:auto}.player-main{width:43px;height:43px;border:0;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:var(--primary);color:white}.player-main:hover{background:oklch(.33 .14 270)}.player-main svg{width:21px;height:21px;fill:currentColor;stroke:none}.player-info{flex:1;min-width:0}.player-caption{display:flex;align-items:center;gap:13px;margin-bottom:5px}.player-caption strong{font-size:12px;font-weight:600}.player-caption>span{font-size:10px;color:var(--muted)}.player-info p{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:9px}.progress{height:3px;background:var(--line);border-radius:3px;overflow:hidden}.progress>div{height:100%;background:var(--primary);width:0}.player-time{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;min-width:30px}.stop-button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:64px;min-height:38px;padding:8px 10px;border-radius:7px;color:var(--muted);font-size:11px}.stop-button svg{width:13px;height:13px;fill:currentColor;stroke:none}.empty-state,.loading{padding:38px 0;color:var(--muted);line-height:1.8}.error{color:var(--error)}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;left:10px;top:10px;background:var(--bg);padding:12px;z-index:30}
@media(min-width:1450px){main{padding-left:76px;padding-right:76px}.topbar{padding-left:max(42px,calc((100vw - 1280px)/2));padding-right:max(42px,calc((100vw - 1280px)/2))}}
@media(max-width:1000px){main{padding-left:30px;padding-right:30px}.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:15px;padding-right:15px}.topbar{padding:0 28px}.reading-hint{align-items:flex-start;flex-direction:column;gap:12px}.english{font-size:20px}.intro h1{font-size:26px}.accent-mark{font-size:40px;margin-right:6px}}
@media(max-width:700px){.topbar{height:74px;padding:0 19px}.brand{font-size:17px;gap:10px}.brand-icon{height:35px;width:35px;border-radius:9px}.brand-icon svg{height:20px;width:20px}.brand small{font-size:10px;margin-top:3px}.voice-badge{font-size:10px;padding:6px 8px}.layout{display:block}.sidebar{padding:14px 0 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar-top,.nav-group-label,.sidebar-note{display:none}#navigation{display:flex;gap:5px;overflow-x:auto;padding:0 15px 13px;scrollbar-width:thin}.nav-link{flex-shrink:0;margin:0;padding:9px 12px;font-size:12px}.nav-link span:last-child{display:none}main{padding:28px 21px 143px}.intro{margin-bottom:23px}.intro h1{font-size:25px}.intro p{font-size:12px;margin-top:9px}.accent-mark{font-size:39px;margin-right:15px}.toolbar{gap:9px}.search{height:43px;padding:0 10px;gap:7px}.speed-label{font-size:0;gap:0}.speed-label select{font-size:12px;width:99px;padding-left:10px}.reading-hint{font-size:10px;margin:14px 0 27px;flex-direction:row;flex-wrap:wrap;gap:12px}.word-toggle{font-size:10px}.reading-hint>span{gap:5px}h2{font-size:20px}.section-heading{padding-bottom:19px}.section-heading p{font-size:11px}.count-badge{font-size:10px}.entry{padding:20px 0 23px}.entry-head{margin-bottom:9px}.english{font-size:20px;line-height:1.95}.read-button{min-height:36px;font-size:10px;padding:7px 10px}.translation{font-size:12px}.player{padding:14px 16px calc(14px + env(safe-area-inset-bottom))}.player-inner{gap:12px}.player-main{width:40px;height:40px}.player-caption{gap:8px}.player-caption strong{font-size:11px}.player-caption>span{display:none}.player-info p{font-size:11px}.stop-button{min-width:37px;width:37px;height:37px;padding:9px}.stop-button span{display:none}.player-time{font-size:10px;min-width:27px}.inline-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
