@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750&family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600&display=swap');
:root{--bg:#f5f6f2;--panel:#fff;--side:#f0f1ec;--text:#28372e;--muted:#8a9087;--green:#435e4d;--pale:#e9eee5;--line:#e4e7df;--accent:#b17a57;--word-size:68px;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'Golos Text',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button,a,input{outline-offset:5px}button{border:0;background:none}button:hover{filter:brightness(.94)}button:focus-visible,a:focus-visible,input:focus-visible,.word-stage:focus-visible{outline:2px solid var(--green)}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--side);border-right:1px solid var(--line);padding:35px 23px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-size:30px;letter-spacing:-1.7px;font-weight:650;padding-left:10px}.brand-mark{display:flex;align-items:center;justify-content:center;width:37px;height:40px;background:var(--green);color:#fff;border-radius:10px;font-family:Georgia,serif;font-size:40px;font-weight:400;padding-bottom:5px;letter-spacing:-4px;padding-right:5px}.brand-mark span{font-size:23px;align-self:flex-end;margin-bottom:4px}.brand-dot{color:var(--accent)}.side-label{font-size:9px;letter-spacing:1.25px;font-weight:550;color:var(--muted)}.sidebar>.side-label{margin:47px 10px 18px;font-size:8px;letter-spacing:1.15px}nav{display:grid;gap:8px}.nav-item{height:46px;border-radius:7px;display:flex;align-items:center;text-align:left;gap:13px;color:#747d71;padding:0 13px;font-size:13px}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#e2e8dc;color:var(--green);font-weight:550}.active-dot{width:6px;height:6px;border-radius:50%;background:var(--green);margin-left:auto}.nav-count{margin-left:auto;font-size:10px;color:var(--muted)}.sidebar-current{border-top:1px solid #dfe3d9;margin:38px 9px 0;padding-top:26px}.mini-book{display:flex;align-items:center;gap:11px;margin:20px 0}.mini-cover{height:52px;width:37px;background:#63755f;box-shadow:inset 3px 0 0 #3f513a;border-radius:2px 4px 4px 2px;display:grid;place-items:center;color:#d7ddc5;font-family:Georgia,serif;font-size:24px;flex-shrink:0}.mini-book strong{display:block;font-size:11px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.mini-book span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.mini-progress{height:3px;border-radius:4px;background:#dfe4d8;overflow:hidden}.mini-progress span{display:block;height:100%;width:0;background:var(--green)}.side-progress-label{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:10px}.sidebar-bottom{margin-top:auto;display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.8;padding:0 9px;color:#6e7a69}.sidebar-bottom small{font-size:9px;color:#9a9f94}.local-dot{width:5px;height:5px;margin-top:6px;border-radius:50%;background:#88a37b}.main-shell{margin-left:246px}.topbar{height:90px;border-bottom:1px solid var(--line);padding:0 45px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{display:flex;gap:14px;align-items:center;color:#788373;font-size:11px;min-width:0}.breadcrumb svg{width:17px;height:17px}.breadcrumb #headerTitle{color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slash{color:#b5bbaf}.top-actions{display:flex;gap:18px;align-items:center;flex-shrink:0}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:#8b9386}.icon-button:hover{background:var(--pale);color:var(--green)}.upload-button{display:flex;align-items:center;gap:10px;background:var(--green);color:#fff;border-radius:7px;padding:12px 15px;font-size:11px}.upload-button svg{width:16px;height:16px}.file-chip{font-size:9px;border:1px solid #ffffff38;border-radius:3px;padding:2px 4px;color:#d4dfcc;margin-left:2px}main{max-width:1270px;margin:auto;padding:43px 45px 24px}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:31px;gap:15px}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:550;color:#7c8d72;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#7b916e}h1{font-family:'Literata',Georgia,serif;font-weight:400;font-size:34px;letter-spacing:-1.2px;margin:12px 0 9px}h1>span{color:var(--accent)}.intro p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.how-button{display:flex;align-items:center;gap:7px;color:#7a8573;font-size:10px;margin-bottom:4px;white-space:nowrap}.how-button>span{border:1px solid #abb49f;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;font-size:10px}.reader-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 14px #23371903;overflow:hidden}.reader-top{padding:25px 29px;display:flex;justify-content:space-between}.book-type{color:#85947d;font-size:8px;letter-spacing:1.4px;font-weight:500}h2{font-size:16px;letter-spacing:-.35px;font-weight:500;margin:7px 0}.book-meta p{font-size:10px;color:var(--muted);margin:0;line-height:1.5}.reader-actions{display:flex;gap:10px}.reader-actions button:first-child{border-right:1px solid var(--line);border-radius:0;padding-right:18px;width:42px}.reader-actions svg{width:18px;height:18px}.reader-actions .bookmarked{color:var(--accent)}.reader-actions .bookmarked svg{fill:#b17a5722}.word-stage{position:relative;min-height:245px;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;margin:0 20px}.word-line{position:relative;display:flex;align-items:baseline;justify-content:center;width:100%;font-family:'Literata',Georgia,serif;font-size:var(--word-size);letter-spacing:-2px;font-weight:400;white-space:pre;line-height:1.5;height:1.5em}.word-before{position:absolute;right:calc(50% + .3em)}.word-pivot{position:absolute;width:.6em;text-align:center;left:calc(50% - .3em);color:var(--accent)}.word-after{position:absolute;left:calc(50% + .3em)}.focus-tick{position:absolute;left:calc(50% - .5px);width:1px;height:17px;background:#c8d0bf}.focus-tick.top{top:16px}.focus-tick.bottom{bottom:48px}.stage-caption{position:absolute;bottom:11px;left:0;right:0;text-align:center;font-size:10px;color:#a7aea0;letter-spacing:.15px}.reader-bottom{padding:20px 29px 22px}.progress-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:5px}.progress-label span:last-child{color:#64775a}input[type=range]{appearance:none;-webkit-appearance:none;cursor:pointer;accent-color:var(--green);background:linear-gradient(to right,var(--green) 0%,var(--green) var(--fill,0%),var(--line) var(--fill,0%),var(--line) 100%);border-radius:3px;height:3px;margin:8px 0;display:block;width:100%}input[type=range]::-webkit-slider-thumb{appearance:none;width:10px;height:10px;background:var(--green);border-radius:50%}input[type=range]::-moz-range-thumb{width:10px;height:10px;background:var(--green);border:0;border-radius:50%}.seek::-webkit-slider-thumb{opacity:0}.seek:hover::-webkit-slider-thumb,.seek:focus::-webkit-slider-thumb{opacity:1}.playback{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:20px}.saved-status{font-size:9px;display:flex;align-items:center;gap:5px;color:#8f9c83}.saved-status svg{width:13px;height:13px}.transport{display:flex;gap:23px;align-items:center}.skip svg{width:17px;height:17px}.play-button{display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:var(--green);color:white;border-radius:50%;box-shadow:0 3px 6px #344c3910}.play-button svg{width:20px;height:20px;stroke-width:1.5}.play-button #playIcon[href='#i-play']{fill:currentColor}.remaining{font-size:9px;color:var(--muted);text-align:right}.settings{margin-top:21px;border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:1.22fr .9fr 1.05fr;padding:24px 26px;background:#f9faf6}.setting-label{font-size:11px;font-weight:500}.setting-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.speed-setting{padding-right:27px}.speed-value{font-size:20px;color:var(--green);white-space:nowrap;font-weight:500}.speed-value small{font-size:9px;color:var(--muted);font-weight:400}.speed-slider{display:flex;align-items:center;gap:10px;margin-top:14px}.speed-slider>span{font-size:8px;color:var(--muted)}.speed-slider input{flex:1;min-width:0}.speed-presets{display:flex;gap:5px;margin-top:12px}.speed-presets button{font-size:9px;padding:5px 8px;border-radius:4px;color:#89927e}.speed-presets .selected{background:#e7ecdf;color:#4f6741}.appearance-setting{border-right:1px solid var(--line);border-left:1px solid var(--line);padding:4px 27px 0}.font-options{display:flex;gap:6px;margin:13px 0 11px}.font-options button{height:34px;flex:1;max-width:56px;background:#f0f2eb;border:1px solid transparent;border-radius:5px;font-family:Georgia,serif;color:#8c9681}.font-options button:nth-child(1){font-size:15px}.font-options button:nth-child(2){font-size:20px}.font-options button:nth-child(3){font-size:24px}.font-options .selected{background:#e8eee0;color:var(--green);border-color:#cbd6be}.setting-note{font-size:8px;color:#9ba28f}.pause-setting{padding:4px 0 0 26px}.pause-setting p{font-size:10px;color:#8e9784;line-height:1.8;margin:14px 0 11px}.tiny-leaf{font-size:13px;color:#82916c;margin-right:4px}input[role=switch]{appearance:none;width:29px;height:17px;border-radius:20px;background:#c6cdbf;position:relative;cursor:pointer;margin:0;flex-shrink:0}input[role=switch]:after{content:'';position:absolute;left:3px;top:3px;width:11px;height:11px;border-radius:50%;background:white;transition:transform .2s}input[role=switch]:checked{background:#70875e}input[role=switch]:checked:after{transform:translateX(12px)}.bottom-note{display:flex;align-items:center;justify-content:space-between;padding:23px 0 25px;border-bottom:1px solid var(--line);gap:10px}.bottom-note>div{display:flex;gap:10px;align-items:center}.tip-symbol{font-size:20px;color:#879773}.bottom-note p{font-size:9px;color:#939b89;line-height:1.6}.bottom-note p strong{font-weight:500;color:#6c7c60}.bottom-note button{display:flex;align-items:center;gap:10px;font-size:10px;color:#637854;white-space:nowrap}.bottom-note svg{width:16px;height:16px}footer{display:flex;justify-content:space-between;gap:10px;padding-top:20px;font-size:8px;color:#a3aa98}footer>div{display:flex;align-items:center;gap:6px}kbd{font:inherit;font-size:8px;padding:2px 4px;border:1px solid #dfe4d8;border-radius:3px;color:#909a84;background:#f9faf6}footer>div>span{margin:0 5px}dialog{border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:29px;width:600px;max-width:calc(100% - 30px);max-height:85vh;box-shadow:0 20px 100px #22351e22}dialog::backdrop{background:#28382c45;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.dialog-header h2{font-family:'Literata',Georgia,serif;font-size:25px;margin-top:10px}#panelContent{font-size:13px;line-height:1.8}#panelContent p{color:var(--muted)}.panel-upload{width:100%;border:1px dashed #bcc9ad;background:var(--pale);border-radius:8px;padding:20px;color:var(--green);text-align:center;margin-bottom:15px}.panel-upload small{display:block;font-size:10px;color:var(--muted)}.book-row,.bookmark-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.book-open,.bookmark-open{text-align:left;flex:1;min-width:0}.book-open strong,.bookmark-open strong{display:block;font-size:13px;overflow-wrap:anywhere}.book-open small,.bookmark-open small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.row-delete{font-size:11px;color:#ac7a69;padding:8px}.empty-state{padding:25px;text-align:center;color:var(--muted)}.help-steps{padding-left:20px}.help-steps li{padding:5px 0 12px}.help-steps small{display:block;color:var(--muted)}.help-shortcuts{background:var(--bg);border-radius:8px;padding:15px;line-height:2.4;font-size:11px}.drop-overlay{position:fixed;inset:14px;border:2px dashed #829672;border-radius:20px;background:#f1f5eaf5;z-index:100;display:none;align-items:center;justify-content:center;flex-direction:column;color:#435e4d;pointer-events:none}.drop-overlay.visible{display:flex}.drop-overlay svg{width:50px;height:50px}.drop-overlay h2{font-size:28px;margin:20px}.toast{position:fixed;bottom:27px;left:calc(50% + 123px);transform:translate(-50%,20px);padding:13px 21px;border-radius:8px;box-shadow:0 5px 25px #233d2422;background:var(--green);color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:200;max-width:90vw;line-height:1.5}.toast.visible{opacity:1;transform:translate(-50%,0)}.focus-controls{display:none}.is-focus{overflow:hidden}.is-focus .sidebar,.is-focus .topbar,.is-focus .intro,.is-focus .settings,.is-focus .bottom-note,.is-focus footer,.is-focus .reader-top,.is-focus .reader-bottom,.is-focus .stage-caption,.is-focus .focus-tick{display:none}.is-focus .main-shell{margin:0}.is-focus main{padding:0;max-width:none}.is-focus .reader-card{position:fixed;inset:0;border:0;border-radius:0;background:var(--bg)}.is-focus .word-stage{height:100dvh;min-height:100dvh;margin:0;outline:0}.is-focus .focus-controls{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:24px;padding:13px 18px;background:var(--panel);box-shadow:0 4px 40px #23351e0a;border:1px solid var(--line);border-radius:50px;white-space:nowrap;font-size:11px;opacity:1;transition:opacity .4s}.is-focus.focus-idle .focus-controls{opacity:0;pointer-events:none}.focus-play{background:var(--green);color:white;padding:9px 15px;border-radius:20px}.focus-exit{color:var(--muted);font-size:11px}.focus-exit kbd{margin-left:5px}.focus-controls>span{color:var(--muted);font-size:10px}.is-focus .toast{left:50%}body.dark{--bg:#1b231e;--panel:#242e27;--side:#1e2821;--text:#e1e7db;--muted:#8e9d86;--green:#92aa7e;--pale:#34432e;--line:#384335;--accent:#d4a07d;color-scheme:dark}.dark .settings{background:#202a23}.dark .upload-button,.dark .play-button,.dark .focus-play,.dark .toast{color:#182019}.dark .nav-item.active{background:#33452f;color:#c3d8b1}.dark .font-options button,.dark kbd{background:#293525}.dark .font-options .selected,.dark .speed-presets .selected{background:#3d4f33;color:#c6d9b6}.dark .brand-mark{color:#202a1c}.dark .sidebar-current{border-color:var(--line)}.dark .mini-progress{background:var(--line)}
@media(min-width:1500px){main{padding-top:60px}.reader-top{padding:29px 36px}.word-stage{min-height:300px}.reader-bottom{padding:25px 36px}.settings{padding-top:29px;padding-bottom:29px}h1{font-size:39px}}
@media(max-width:1150px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.main-shell{margin-left:210px}.topbar{padding:0 28px}main{padding:35px 28px 24px}h1{font-size:30px}.how-button{font-size:9px}.settings{padding:22px 18px;grid-template-columns:1.2fr .85fr 1fr}.speed-setting{padding-right:17px}.appearance-setting{padding-left:18px;padding-right:18px}.pause-setting{padding-left:18px}.speed-presets button{padding:5px}.toast{left:calc(50% + 105px)}.setting-note{font-size:7px}.bottom-note p{max-width:320px}}
@media(max-width:900px){.sidebar{width:78px;padding:25px 12px}.brand{padding:0;justify-content:center}.brand>span:last-child,.sidebar>.side-label,.sidebar-current,.sidebar-bottom,.nav-item .active-dot,.nav-count{display:none}nav{margin-top:38px}.nav-item{font-size:0;gap:0;justify-content:center;padding:0}.nav-item svg{width:21px;height:21px}.main-shell{margin-left:78px}.topbar{height:78px}.breadcrumb{gap:9px}.toast{left:calc(50% + 39px)}.settings{grid-template-columns:1.2fr 1fr}.pause-setting{grid-column:1/-1;border-top:1px solid var(--line);padding:18px 0 0;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.pause-setting .setting-top{gap:15px}.pause-setting p{margin:0;font-size:9px}.pause-setting .setting-note{display:none}.appearance-setting{border-right:0}.intro{align-items:flex-start}.how-button{margin-top:5px}.word-stage{min-height:220px}.settings{margin-top:15px}}
@media(max-width:650px){.sidebar{position:relative;width:100%;height:68px;padding:0 20px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}.brand{gap:8px;font-size:24px}.brand>span:last-child{display:block}.brand-mark{width:29px;height:31px;font-size:32px;border-radius:8px}.brand-mark span{font-size:18px}nav{display:flex;margin:0;gap:5px}.nav-item{width:40px;height:38px}.main-shell{margin:0}.topbar{height:63px;padding:0 20px}.breadcrumb{font-size:10px;max-width:50%;gap:8px}.breadcrumb>svg,.breadcrumb>span:first-of-type,.slash{display:none}.top-actions{gap:6px}.upload-button{padding:9px 10px;font-size:10px;gap:7px}.file-chip{display:none}.icon-button{width:30px}.top-actions>.icon-button{width:28px}.top-actions svg{width:16px}main{padding:27px 18px 20px}.intro{margin-bottom:22px}.eyebrow{font-size:7px;letter-spacing:1.15px}h1{font-size:27px;letter-spacing:-1px;margin-top:10px}.intro p{font-size:10px}.how-button{font-size:0;gap:0;margin-top:24px}.how-button>span{font-size:11px;width:18px;height:18px}.reader-top{padding:20px}.reader-top h2{font-size:14px;max-width:240px}.reader-actions{gap:3px}.reader-actions button:first-child{padding-right:8px;width:32px}.reader-actions svg{width:16px;height:16px}.book-type{font-size:7px}.book-meta p{font-size:9px;max-width:220px}.word-stage{min-height:220px;margin:0 8px}.reader-bottom{padding:14px 20px 20px}.playback{margin-top:20px;grid-template-columns:1fr auto 1fr}.transport{gap:10px}.saved-status{font-size:8px;gap:3px}.saved-status svg{width:11px}.remaining{font-size:8px;max-width:65px;justify-self:end;line-height:1.6}.play-button{width:48px;height:48px}.progress-label{font-size:8px}.settings{grid-template-columns:1.25fr 1fr;padding:20px 16px}.setting-label{font-size:10px}.speed-value{font-size:18px}.speed-value small{font-size:7px}.speed-setting{padding-right:15px}.speed-presets{gap:0}.speed-presets button{font-size:8px;padding:5px 6px}.speed-slider{gap:7px}.appearance-setting{padding-left:15px;padding-right:0}.font-options{gap:5px}.font-options button{max-width:45px;height:33px}.setting-note{font-size:7px}.pause-setting{gap:12px}.pause-setting .setting-top{gap:9px}.pause-setting p{font-size:8px;line-height:1.6}.bottom-note{padding:16px 0;align-items:flex-start;flex-direction:column;gap:5px}.bottom-note p{font-size:9px;max-width:none;margin:6px 0}.bottom-note button{margin-left:26px;font-size:9px}footer{padding-top:18px;justify-content:center}footer>div{display:none}.toast{left:50%;font-size:11px;min-width:250px;text-align:center}.focus-controls{gap:10px!important;padding:10px!important;bottom:20px!important}.focus-controls>span{display:none}.focus-exit{font-size:10px}dialog{padding:23px}.dialog-header h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.account-button{font-size:10px;color:var(--green);white-space:nowrap;padding:8px 0}.login-form{display:grid;gap:12px}.login-form label{font-size:12px}.login-form input{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font:inherit}.login-form .panel-upload{margin-bottom:0;cursor:pointer;border-style:solid;background:var(--green);color:var(--panel)}.form-error{color:#ac5f4b!important;font-size:11px;margin:0}.row-download{font-size:10px;color:var(--green);white-space:nowrap;text-decoration:none;padding:6px}.book-row{flex-wrap:wrap}.book-open{min-width:150px}.top-actions{gap:14px}button:disabled{opacity:.55;cursor:wait}@media(max-width:650px){.account-button{font-size:9px;max-width:65px;white-space:normal;line-height:1.3}.topbar{gap:8px}.top-actions{gap:7px}.breadcrumb{max-width:30%}.sidebar-bottom{font-size:9px}}
.book-meta{min-width:0}.reader-actions{flex-shrink:0}
.chapter-button{display:flex;align-items:center;gap:7px;max-width:100%;padding:3px 2px;margin:0 -2px;border-radius:4px;color:var(--muted);font-size:10px;line-height:1.6;text-align:left}
.chapter-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:390px}.chapter-button svg{width:13px;height:13px;transition:transform .2s}.chapter-button[aria-expanded=true] svg{transform:rotate(180deg)}.chapter-button:hover{color:var(--green);background:var(--pale)}
.toc-panel{width:560px;max-height:min(80dvh,720px);padding:0;overflow:hidden}.toc-panel[open]{display:flex;flex-direction:column}.toc-panel .dialog-header{padding:26px 26px 20px;margin:0;align-items:flex-start;flex-shrink:0}.toc-panel .dialog-header h2{margin-bottom:7px}.toc-book-title{font-size:11px;color:var(--muted);margin:0;line-height:1.6;overflow-wrap:anywhere}.toc-list{display:block;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 12px 12px;margin:0;scroll-padding:8px}.toc-row{display:flex;align-items:flex-start;gap:15px;width:100%;min-height:64px;padding:14px 15px;text-align:left;border:1px solid transparent;border-radius:7px;margin:3px 0}.toc-row:hover{background:var(--bg)}.toc-row[aria-current=location]{background:var(--pale);border-color:var(--line)}.toc-row:focus-visible{outline-offset:-3px}.toc-number{color:var(--muted);font-size:10px;line-height:23px;min-width:22px;font-variant-numeric:tabular-nums}.toc-row-text{min-width:0}.toc-row strong{display:block;font-size:12px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.toc-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px;line-height:1.6}.toc-row[aria-current=location] strong,.toc-row[aria-current=location] small{color:var(--green)}.toc-hint{font-size:10px;line-height:1.7;color:var(--muted);padding:16px 26px;margin:0;border-top:1px solid var(--line);flex-shrink:0}
@media(max-width:650px){.chapter-button{font-size:9px;max-width:210px}.chapter-button span{max-width:180px}.toc-panel{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:78dvh;border-radius:18px 18px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.toc-panel:before{content:'';display:block;width:36px;height:4px;background:var(--line);border-radius:5px;margin:10px auto 0;flex-shrink:0}.toc-panel .dialog-header{padding:18px 22px}.toc-row{padding:13px 12px;min-height:68px}.toc-row strong{font-size:13px}.toc-row small{font-size:10px}.toc-hint{font-size:10px;padding:15px 22px}}
