.deadman-dock{position:relative;background:#fbfaf8;border-radius:12px;padding:16px;box-shadow:0 4px 12px #0000001a;border:1px solid #E3E1DA;max-width:calc(100vw - 48px);min-width:320px}.track-container{position:relative;display:flex;align-items:center;gap:8px;height:44px;outline:none}.track-container:focus-visible{box-shadow:0 0 0 2px #0f766e;border-radius:8px}.edge-well{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:transparent;border:1px solid #E3E1DA;color:#55534c;cursor:pointer;transition:all .12s ease}.edge-well:hover{background:#e7e5de;border-color:#0f766e}.edge-well:active,.edge-well.active{background:#0f766e;color:#ecfdf8;transform:scale(.95)}.chevron{font-size:16px;font-weight:600;line-height:1}.track{position:relative;flex:1;height:6px;border-radius:3px;background:#e7e5de;overflow:visible}.track-bg{position:absolute;top:0;left:0;right:0;height:100%;border-radius:inherit}.track-ticks{position:absolute;top:50%;left:0;right:0;height:1px;transform:translateY(-50%)}.track-tick{position:absolute;width:1px;height:10px;background:#9b988f;transform:translateY(-50%)}.track-fill{position:absolute;top:0;left:0;height:100%;background:#0f766e;border-radius:inherit}.thumb{position:absolute;top:50%;transform:translate(-50%) translateY(-50%);width:28px;height:28px;display:flex;align-items:center;border-radius:50%;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease,transform .12s ease;justify-content:center;white-space:nowrap}.thumb.stopped{background:#e3f1ef;border:1px solid #0F766E;color:#0f5a54}.thumb.reading{background:#0f766e;border:1px solid #0F766E;color:#ecfdf8}.thumb.dragging{transform:translate(-50%) translateY(-50%) scale(1.05);box-shadow:0 2px 8px #0f766e4d}.thumb:hover{transform:translate(-50%) translateY(-50%) scale(1.02)}@media (max-width: 768px){.thumb{width:48px;height:48px;border-radius:50%}.thumb-label{font-size:18px}}.thumb-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;line-height:1}.dock-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px}@media (max-width: 480px){.deadman-dock{bottom:16px;left:16px;right:16px;transform:none;max-width:none}.dock-footer{flex-direction:column;align-items:flex-start;gap:8px}.status-line{align-self:stretch;text-align:left}}@media (prefers-reduced-motion: reduce){.thumb,.track-fill,.edge-well{transition:none}.thumb.dragging,.thumb:hover{transform:translate(-50%) translateY(-50%)}.edge-well:active,.edge-well.active{transform:none}}.buttons-dock{position:relative;background:#fbfaf8;border-radius:12px;padding:16px;box-shadow:0 4px 12px #0000001a;border:1px solid #E3E1DA;max-width:calc(100vw - 48px);min-width:320px}.dock-content{display:flex;flex-direction:column;gap:12px}.buttons-row{display:flex;align-items:center;justify-content:center;gap:8px}.ctrl-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:transparent;border:1px solid #E3E1DA;color:#55534c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:18px;font-weight:600;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;transition:background-color .12s ease,border-color .12s ease,color .12s ease,transform .12s ease}.ctrl-button:hover{background:#e7e5de;border-color:#0f766e}.ctrl-button:active,.ctrl-button.active{background:#0f766e;color:#ecfdf8;transform:scale(.95)}.ctrl-button:focus-visible{outline:none;box-shadow:0 0 0 2px #0f766e}.chevron{font-size:20px;font-weight:600}.read-stop{width:auto;min-width:88px;padding:0 20px;border-radius:22px;font-size:14px}.read-stop.stopped{background:#e3f1ef;border:1px solid #0F766E;color:#0f5a54}.read-stop.reading{background:#0f766e;border:1px solid #0F766E;color:#ecfdf8}.dock-footer{display:flex;align-items:center;justify-content:flex-end}.status-line{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:11px;color:#9b988f;line-height:1;text-align:right;white-space:nowrap}@media (max-width: 480px){.buttons-dock{bottom:16px;left:16px;right:16px;transform:none;max-width:none}.buttons-row{gap:6px}.dock-footer{justify-content:flex-start}.status-line{text-align:left}}@media (prefers-reduced-motion: reduce){.ctrl-button{transition:none}.ctrl-button:active,.ctrl-button.active{transform:none}}.joystick-dock{position:relative;background:#fbfaf8;border-radius:12px;padding:16px;box-shadow:0 4px 12px #0000001a;border:1px solid #E3E1DA;max-width:calc(100vw - 48px);min-width:320px}.joystick-dock .dock-content{display:flex;flex-direction:column;align-items:center;gap:12px}.joystick-ring{position:relative;width:140px;height:140px;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}.ring-circle{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;border:2px dashed #0F766E;background:#e3f1ef;transition:box-shadow .12s ease}.joystick-ring.zone-inner .ring-circle{box-shadow:0 2px 6px #0f766e40}.joystick-ring.zone-continuous .ring-circle{box-shadow:0 2px 10px #0f766e73}.joystick-ring:focus-visible .ring-circle{outline:none;box-shadow:0 0 0 2px #0f766e}.joystick-knob{position:absolute;top:50%;left:50%;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:none;transition:transform .2s cubic-bezier(.34,1.56,.64,1),background-color .12s ease,border-color .12s ease,color .12s ease}.joystick-knob.touching{transition:background-color .12s ease,border-color .12s ease,color .12s ease}.joystick-knob.stopped{background:#e3f1ef;border:1px solid #0F766E;color:#0f5a54}.joystick-knob.reading{background:#0f766e;border:1px solid #0F766E;color:#ecfdf8}.joystick-knob.zone-continuous{width:46px;height:46px}.knob-glyph{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1}.joystick-knob.zone-continuous .knob-glyph{font-size:18px}.ring-chevron{position:absolute;display:flex;flex-direction:column;align-items:center;color:#0f766e;font-size:14px;font-weight:600;line-height:1}.ring-chevron .micro-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:9px;font-weight:400;color:#9b988f;margin-top:2px;text-transform:lowercase}.ring-chevron.active{color:#0f5a54}.ring-chevron.active .micro-label{color:#0f766e}.ring-chevron-up{top:-26px;left:50%;transform:translate(-50%)}.ring-chevron-down{bottom:-26px;left:50%;transform:translate(-50%)}.ring-chevron-left{left:-26px;top:50%;transform:translateY(-50%)}.ring-chevron-right{right:-26px;top:50%;transform:translateY(-50%)}.joystick-dock .dock-footer{display:flex;align-items:center;justify-content:center}.joystick-dock .status-line{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:11px;color:#9b988f;line-height:1;text-align:center;white-space:nowrap}@media (max-width: 480px){.joystick-dock{bottom:16px;left:16px;right:16px;transform:none;max-width:none}.joystick-dock .status-line{white-space:normal}.knob-glyph{font-size:18px}.joystick-knob.zone-continuous .knob-glyph{font-size:20px}}@media (prefers-reduced-motion: reduce){.ring-circle,.joystick-knob{transition:none}}.options-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;z-index:2000}.options-sheet{position:fixed;top:0;right:0;bottom:0;width:min(360px,100vw);background:var(--raised-surface);border-left:1px solid var(--hairline);box-shadow:-4px 0 16px #0000001f;z-index:2001;display:flex;flex-direction:column;overflow-y:auto}@media (max-width: 768px){.options-sheet{top:auto;right:0;left:0;bottom:0;width:auto;max-height:80vh;border-left:none;border-top:1px solid var(--hairline);border-radius:16px 16px 0 0;box-shadow:0 -4px 16px #0000001f}}.options-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--hairline);flex:0 0 auto}.options-sheet-header h2{margin:0;font-size:15px;font-weight:600}.options-close-button{width:44px;height:44px;min-width:44px;border-radius:50%;border:1px solid var(--hairline);background:transparent;color:var(--ink);font-size:16px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.options-close-button:hover{background:var(--recessed-fill)}.options-sheet-body{padding:1rem;overflow-y:auto;flex:1 1 auto}.scroll-tuning-panel{position:fixed;top:1rem;left:1rem;z-index:3000;background:var(--raised-surface);border:1px solid var(--hairline);border-radius:8px;padding:.75rem 1rem;font-size:11px;width:220px;box-shadow:0 2px 8px #00000026}.scroll-tuning-panel h3{margin:0 0 .5rem;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--ui-secondary)}.scroll-tuning-panel label{display:block;margin-bottom:.5rem;font-size:10px;color:var(--ui-muted);text-transform:none;font-weight:400;letter-spacing:normal}.scroll-tuning-panel input[type=range]{width:100%;margin-top:2px}.scroll-feel-settings{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--hairline)}.scroll-feel-settings summary{cursor:pointer;font-size:11px;font-weight:600;color:var(--ui-secondary);text-transform:uppercase;letter-spacing:.5px;list-style:none}.scroll-feel-settings summary::-webkit-details-marker{display:none}.scroll-feel-settings summary:before{content:"▸";display:inline-block;margin-right:.4em;transition:transform var(--auto-hide-transition-ms, .2s) ease}.scroll-feel-settings[open] summary:before{transform:rotate(90deg)}@media (prefers-reduced-motion: reduce){.scroll-feel-settings summary:before{transition:none}}html[data-reduced-motion=true] .scroll-feel-settings summary:before{transition:none}.scroll-feel-body{margin-top:.75rem}.scroll-feel-note{font-size:11px;color:var(--ui-muted);margin:0 0 .75rem}.scroll-feel-field{display:block;margin-bottom:.85rem}.scroll-feel-field-header{display:flex;justify-content:space-between;align-items:baseline;font-size:11px;font-weight:600;color:var(--ui-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem}.scroll-feel-percent{font-weight:400;text-transform:none;letter-spacing:normal;color:var(--ui-muted);font-variant-numeric:tabular-nums}.scroll-feel-field input[type=range]{width:100%;accent-color:var(--accent-teal)}.scroll-feel-field-ends{display:flex;justify-content:space-between;font-size:10px;color:var(--hint);text-transform:none;font-weight:400;letter-spacing:normal;margin-top:.1rem}.scroll-feel-reset{width:100%;margin-top:.25rem;background:var(--raised-surface);color:var(--ink);border:1px solid var(--hairline)}:root{--canvas: #F5F4F0;--raised-surface: #FBFAF8;--hairline: #E3E1DA;--recessed-fill: #E7E5DE;--ink: #23272E;--ui-secondary: #55534C;--ui-muted: #76746C;--hint: #9B988F;--accent-teal: #0F766E;--accent-wash: #E3F1EF;--accent-on-wash: #0F5A54;--text-on-accent: #ECFDF8;--auto-hide-transition-ms: .2s}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--canvas);color:var(--ink);line-height:1.6}#root{min-height:100vh;min-height:100dvh}.reading-content{height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;font-family:Georgia,Charter,Times New Roman,serif;font-size:17px;line-height:2;color:var(--ink);max-width:68ch;margin:0 auto;padding:2rem}@media (max-width: 768px){.reading-content{padding-top:4rem}}.options-button{position:fixed;top:1rem;right:1rem;z-index:1500;width:44px;height:44px;min-width:44px;border-radius:50%;border:1px solid var(--hairline);background:transparent;color:var(--ink);font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:1;transition:opacity var(--auto-hide-transition-ms, .2s) ease}.options-button:hover{background:var(--recessed-fill)}.options-button.auto-hidden{opacity:0;pointer-events:none}@media (prefers-reduced-motion: reduce){.options-button{transition:none}}html[data-reduced-motion=true] .options-button{transition:none}.dock-zone{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:1000;display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(420px,calc(100vw - 48px));opacity:1;transition:opacity var(--auto-hide-transition-ms, .2s) ease}.dock-zone.auto-hidden{opacity:0;pointer-events:none}@media (prefers-reduced-motion: reduce){.dock-zone{transition:none}}html[data-reduced-motion=true] .dock-zone{transition:none}.progress-bar{width:100%;height:4px;padding:0;border:none;border-radius:2px;background:var(--recessed-fill);accent-color:var(--accent-teal);cursor:pointer}.control-group{margin-bottom:.75rem}.control-group:last-child{margin-bottom:0}label{display:block;font-size:11px;font-weight:600;color:var(--ui-secondary);margin-bottom:.25rem;text-transform:uppercase;letter-spacing:.5px}input,select,textarea,button{width:100%;padding:.5rem;border:1px solid var(--hairline);border-radius:8px;background:var(--raised-surface);color:var(--ink);font-size:13px}button{background:var(--accent-teal);color:var(--text-on-accent);border:none;cursor:pointer;font-weight:500}button:hover{opacity:.9}button:disabled{opacity:.5;cursor:not-allowed}textarea{min-height:100px;resize:vertical;font-family:inherit}.scheme-toggle{display:flex;gap:.5rem}.scheme-toggle button{flex:1;background:var(--raised-surface);color:var(--ink);border:1px solid var(--hairline)}.scheme-toggle button[aria-pressed=true]{background:var(--accent-teal);color:var(--text-on-accent);border-color:var(--accent-teal)}.status{font-size:11px;color:var(--ui-muted);margin-top:.25rem}.content-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.25rem}.content-actions .status{margin-top:0}.content-actions button{flex-shrink:0;min-height:32px;padding:.25rem .6rem;font-size:12px}.checkbox-label{display:flex;align-items:center;gap:.5rem;text-transform:none;font-weight:400;letter-spacing:normal;font-size:13px;color:var(--ink)}.checkbox-label input[type=checkbox]{width:auto}.keyboard-shortcuts{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--hairline)}.keyboard-shortcuts h4{margin:0 0 .5rem;font-size:11px;font-weight:600;color:var(--ui-secondary);text-transform:uppercase;letter-spacing:.5px}.shortcut-grid{display:grid;grid-template-columns:auto 1fr;gap:.25rem .75rem;font-size:11px}.shortcut-grid span:nth-child(odd){font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-weight:500;color:var(--ink);background:var(--recessed-fill);padding:2px 4px;border-radius:3px;border:1px solid var(--hairline);text-align:center;min-width:2.5rem;font-size:10px}.shortcut-grid span:nth-child(2n){color:var(--ui-muted)}
