:root{--bg:#121212;--fg:#e7e2d8;--muted:#9a958c;--chrome-bg:#181818f5;--panel-bg:#1c1c1c;--line:#333;--btn-bg:#242424;--accent:#f5c451;--hl-bg:#f5c451;--hl-fg:#121212;--font-size:19px;--line-height:1.55;--font-family:Georgia, "Iowan Old Style", "Times New Roman", serif;--margin-x:22px;--safe-top:env(safe-area-inset-top,0px);--top:calc(env(safe-area-inset-top,0px) + 56px);--bottom:calc(env(safe-area-inset-bottom,0px) + 72px)}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;color:var(--fg);margin:0}html,body{touch-action:manipulation}body{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}svg.icon{fill:currentColor;width:22px;height:22px;margin:auto;display:block}svg.icon.line{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}button,select,input,textarea{font:inherit;color:inherit}input,select,textarea{-webkit-user-select:text;user-select:text;font-size:max(16px,1em)}.muted{color:var(--muted)}.small{font-size:13px}.pad{padding:16px}.btn{border:1px solid var(--line);background:var(--btn-bg);min-width:44px;min-height:44px;color:var(--fg);cursor:pointer;border-radius:22px;padding:0 14px}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);color:#121212;border-color:var(--accent);font-weight:600}.btn.small{min-width:32px;min-height:32px;padding:0 10px;font-size:13px}.btn.ghost{background:0 0}.btn.icon{width:44px;padding:0;font-size:20px}.btn:focus-visible,select:focus-visible,input:focus-visible,.toc-item:focus-visible,.book-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.badge{border:1px solid var(--muted);color:var(--muted);white-space:nowrap;border-radius:10px;padding:2px 8px;font-size:12px}.badge.ok{color:#5fbf77;border-color:#5fbf77}.badge.bad{color:#e2655b;border-color:#e2655b}.loading,.fatal{text-align:center;color:var(--muted);padding:32px 20px}.overlay{inset:var(--top) 0 var(--bottom) 0;z-index:5;background:var(--bg);position:fixed}.library{min-height:100%;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}.library.dragging{outline:3px dashed var(--accent);outline-offset:-8px}.lib-header{z-index:5;background-color:var(--bg);padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 8px;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.lib-header h1{letter-spacing:.02em;margin:0;font-size:24px}.lib-header-actions{gap:10px;display:flex}.lib-header .screen-title{flex:1;margin-left:8px;font-size:20px}.account-screen #account-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.lib-tools{gap:8px;padding:6px 16px 8px;display:flex}.lib-tools input,.lib-tools select{border:1px solid var(--line);background:var(--btn-bg);border-radius:10px;min-height:40px;padding:0 10px}.lib-tools input{flex:1;min-width:0}.toasts{z-index:22;padding:0 calc(env(safe-area-inset-right,0px) + 16px) calc(env(safe-area-inset-bottom,0px) + 16px) calc(env(safe-area-inset-left,0px) + 16px);pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.toast{pointer-events:auto;align-items:flex-start;gap:8px;animation:.22s cubic-bezier(.2,.8,.2,1) toast-in;display:flex;box-shadow:0 8px 24px #00000073}.toast.leaving{pointer-events:none;animation:.2s ease-in forwards toast-out}.toast-body{flex:1;min-width:0}.btn.icon.toast-close{flex:none;width:36px;min-width:36px;height:36px;min-height:36px;margin:-4px -4px 0 0}.btn.icon.toast-close svg.icon{width:20px;height:20px}@keyframes toast-in{0%{opacity:0;transform:translateY(16px)}}@keyframes toast-out{to{opacity:0;transform:translateY(16px)}}@media (prefers-reduced-motion:reduce){.toast{animation:.12s ease-out fade-in}.toast.leaving{animation:.12s ease-in forwards fade-out}}.job{border:1px solid var(--line);background:var(--panel-bg);border-radius:12px;padding:10px 12px;font-size:14px}.job.error{border-color:#e2655b}.job.done{border-color:#5fbf77}.job-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.job-progress{color:var(--muted);align-items:center;gap:8px;margin-top:4px;display:flex}.job-progress progress{flex:1}.job-msg{margin:4px 0 0}.job-dup p{margin:6px 0}.job-dup .btn{margin:4px 6px 0 0}.empty{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:18vh 24px 40px;display:flex}.empty svg.icon{stroke-width:1.5px;width:56px;height:56px;color:var(--muted)}.empty p{margin:0;font-size:18px}.books{margin:0;padding:0 8px 120px;list-style:none}.book{border-bottom:1px solid var(--line);align-items:center;gap:4px;display:flex}.book-open{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;padding:12px 8px;display:flex}.cover{object-fit:cover;background:var(--btn-bg);border-radius:4px;flex:none;width:52px;height:74px}.cover.placeholder{color:#fff;flex-direction:column;justify-content:center;align-items:center;font-family:Georgia,serif;font-size:22px;display:flex}.cover.placeholder small{opacity:.8;font-family:system-ui,sans-serif;font-size:10px}.fmt-pdf{background:#8c3b34}.fmt-epub{background:#2f5d7c}.fmt-txt{background:#4c5a3a}.book-meta{flex:1;min-width:0}.book-title{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.book-author,.book-info{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.bar{background:var(--line);border-radius:2px;height:3px;margin-top:6px}.bar>div,.progress>div{background:var(--accent);border-radius:2px;height:100%}.lib-notes{padding:8px 20px 24px;font-size:12px}.reader{position:fixed;inset:0;overflow:hidden}#viewport{top:var(--top);bottom:var(--bottom);left:calc(env(safe-area-inset-left,0px) + var(--margin-x));right:calc(env(safe-area-inset-right,0px) + var(--margin-x));touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:text;user-select:text;position:fixed;overflow:hidden}.flow{z-index:1;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);-webkit-hyphens:auto;hyphens:auto;text-align:justify;will-change:transform;overflow-wrap:break-word;position:relative}.flow h2{break-after:avoid;text-align:left;margin:0 0 .8em;font-size:1.2em;line-height:1.3}.flow p{text-indent:1.2em;margin:0 0 .6em}.flow code{font-family:ui-monospace,Consolas,monospace;font-size:.9em}.hl-overlay{z-index:0;pointer-events:none;position:absolute;inset:0}.hl-box{background:var(--hl-bg);border-radius:3px;position:absolute;top:0;left:0}::highlight(readx-word){background-color:var(--hl-bg);color:var(--hl-fg)}.chrome{z-index:10;background:var(--chrome-bg);padding-left:calc(env(safe-area-inset-left,0px) + 8px);padding-right:calc(env(safe-area-inset-right,0px) + 8px);transition:opacity .2s;position:fixed;left:0;right:0}.chrome.top{height:var(--top);padding-top:env(safe-area-inset-top,0px);align-items:center;gap:4px;display:flex;top:0}.status-fill{height:var(--safe-top);z-index:11;background:var(--bg);pointer-events:none;position:fixed;top:0;left:0;right:0}.chrome.bottom{height:var(--bottom);padding-bottom:env(safe-area-inset-bottom,0px);bottom:0}.reader.chrome-hidden .chrome{opacity:0;pointer-events:none}.titles{flex:1;min-width:0;padding:0 4px}.title,.chapter,.subtitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title{font-size:15px;font-weight:600;line-height:18px}.chapter,.subtitle{color:var(--muted);font-size:12px;line-height:15px}.progress{background:var(--line);height:3px;margin:0 -8px}.player{justify-content:space-between;align-items:center;gap:6px;max-width:460px;margin:6px auto 0;display:flex}.btn.play{background:var(--accent);border-color:var(--accent);color:#121212;border-radius:50%;flex:none;width:56px;height:56px;padding:0;font-size:20px;font-weight:700}.btn.play svg.spinner{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-dasharray:42 100;transform-box:fill-box;transform-origin:50%;animation:.9s linear infinite spin}.chrome.bottom .mock-badge{top:8px;left:calc(env(safe-area-inset-left,0px) + 8px);margin:0;position:absolute}@keyframes spin{to{transform:rotate(360deg)}}.notice{left:12px;right:12px;bottom:calc(var(--bottom) + 10px);z-index:25;background:var(--panel-bg);border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex;position:fixed}.panel{z-index:20;background:var(--panel-bg);border-top:1px solid var(--line);max-height:80vh;padding:12px calc(env(safe-area-inset-right,0px) + 18px) calc(env(safe-area-inset-bottom,0px) + 18px) calc(env(safe-area-inset-left,0px) + 18px);border-radius:16px 16px 0 0;position:fixed;bottom:0;left:0;right:0;overflow:auto;box-shadow:0 -8px 24px #00000059}.panel-head{justify-content:space-between;align-items:center;display:flex}.panel h2{margin:4px 0;font-size:17px}.panel h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:18px 0 6px;font-size:12px}.row{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.row.col{flex-direction:column;align-items:stretch;gap:4px;padding:6px 0}.row input[type=range]{width:100%}.row select{border:1px solid var(--line);background:var(--btn-bg);border-radius:10px;max-width:100%;min-height:40px;padding:0 8px}.row input[type=checkbox]{width:24px;height:24px}.themes{flex-wrap:wrap;justify-content:flex-start;gap:8px}.btn.selected{outline:2px solid var(--accent)}.theme-dark{color:#e7e2d8;background:#121212}.theme-light{color:#1d1b18;background:#fbfaf7}.theme-sepia{color:#4a3b2a;background:#f4ecd8}.toc{margin:8px 0 0;padding:0;list-style:none}.toc-item{text-align:left;border:0;border-bottom:1px solid var(--line);cursor:pointer;background:0 0;width:100%;min-height:44px;padding:12px 4px}.toc-item.current{border-left:3px solid var(--accent);padding-left:10px;font-weight:700}@media (prefers-reduced-motion:reduce){.chrome{transition:none}}input.search{border:1px solid var(--line);background:var(--btn-bg);border-radius:10px;flex:1;min-height:44px;padding:0 12px}.results .toc-item{font-size:14px;line-height:1.4}.results mark{background:var(--hl-bg);color:var(--hl-fg);border-radius:2px}.backup{border-top:1px solid var(--line);margin:8px 16px 0;padding:12px 0 0}.backup h2{margin:0 0 4px;font-size:15px}.backup-actions{flex-wrap:wrap;gap:8px;display:flex}.backup .error{color:#e2655b}.pc-backups{margin:8px 0 0;padding:0;list-style:none}.notify-switch p{margin:0 0 8px}.account-form{gap:8px;max-width:420px;margin:8px 0;display:grid}.account-form label{gap:4px;font-size:13px;display:grid}.account-form input{border:1px solid var(--line);background:0 0;border-radius:8px;min-height:44px;padding:8px 10px}.account-form .account-name{opacity:0;pointer-events:none;border:0;width:1px;height:1px;min-height:0;padding:0;position:absolute}.admin-panel h3{margin:12px 0 6px;font-size:14px}.admin-users{gap:10px;margin:0;padding:0;list-style:none;display:grid}.admin-users li{border-top:1px solid var(--line);padding:8px 0}.admin-user-head{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chip{border:1px solid var(--line);border-radius:999px;padding:1px 8px;font-size:12px}.chip.pending{color:#d9a441;border-color:#d9a441}.chip.suspended,.chip.blocked{color:#e2655b;border-color:#e2655b}.admin-panel .toggle{align-items:center;gap:6px;min-height:44px;display:inline-flex}.pdf-stage{top:var(--top);bottom:var(--bottom);z-index:2;background:var(--bg);position:fixed;left:0;right:0}.pdf-original{-webkit-overflow-scrolling:touch;padding:0 env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);position:absolute;inset:0;overflow:auto}.pdf-canvas{background:#fff;margin:0 auto;display:block}.zoom-controls{gap:6px;display:flex;position:absolute;bottom:12px;right:12px}.zoom-controls .btn{background:var(--chrome-bg)}::highlight(readx-selection){background-color:#0a84ff61}@supports selector(::highlight(x)){#viewport ::selection{background-color:#0000}}::highlight(readx-note){background-color:#ffc40052}.selection-bar{left:12px;right:12px;bottom:calc(var(--bottom) + 10px);z-index:26;background:var(--panel-bg);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;justify-content:center;gap:8px;padding:8px;display:flex;position:fixed}.tabs{border-bottom:1px solid var(--line);gap:4px;margin:4px 0 10px;display:flex}.panel.toc-panel{height:50vh;flex-direction:column;height:50dvh;max-height:none;padding-bottom:0;display:flex;overflow:hidden}.toc-panel .panel-head,.toc-panel .tabs{flex:none}.toc-panel .tabs{margin-bottom:0}.panel-body{overscroll-behavior:contain;min-height:0;margin:0 calc(-1 * (env(safe-area-inset-right,0px) + 18px)) 0 calc(-1 * (env(safe-area-inset-left,0px) + 18px));padding:10px calc(env(safe-area-inset-right,0px) + 18px) calc(env(safe-area-inset-bottom,0px) + 18px) calc(env(safe-area-inset-left,0px) + 18px);flex:1;overflow-y:auto}.tab{min-height:40px;color:var(--muted,inherit);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:1;font-size:14px}.tab.on{color:var(--fg);border-bottom-color:var(--accent)}.tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.note-item{border-bottom:1px solid var(--line);margin-bottom:6px;padding-bottom:6px}.note-item q{font-style:italic}.note-text{white-space:pre-wrap;margin:4px 8px}.note-actions{gap:6px}.notes-tab textarea,.export-text{box-sizing:border-box;background:var(--bg);width:100%;color:var(--fg);border:1px solid var(--line);font:inherit;border-radius:8px;padding:8px;font-size:16px}.row.wrap{flex-wrap:wrap;gap:8px}.stats{padding-left:18px;line-height:1.7}.sync-offer{left:12px;right:12px;top:calc(var(--top) + 8px);z-index:26;background:var(--panel-bg);border:1px solid var(--accent);border-radius:12px;align-items:center;gap:8px;padding:8px 10px;font-size:14px;display:flex;position:fixed}.sync-offer span{flex:1}.panel details.more{border-top:1px solid var(--line);margin-top:18px}.panel details>summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;list-style:none;display:flex}.panel details>summary::-webkit-details-marker{display:none}.panel details>summary:after{content:"";opacity:.6;border-bottom:2px solid;border-right:2px solid;width:8px;height:8px;margin-left:auto;transform:rotate(45deg)}.panel details[open]>summary:after{transform:rotate(-135deg)}.panel details.more>summary{font-weight:600}.panel details.hint-line>summary{color:var(--muted);font-size:13px}.credit a{color:var(--accent);white-space:nowrap}.transfer .code{letter-spacing:2px;margin:6px 0;font:600 28px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.transfer .code-input{letter-spacing:1px;text-transform:uppercase;background:var(--bg);min-height:40px;color:var(--fg);border:1px solid var(--line);border-radius:8px;flex:1;padding:0 10px;font:600 18px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.transfer-list{max-height:260px;margin:6px 0;padding:0;list-style:none;overflow:auto}.transfer-list .row,.transfer-pick>.row{justify-content:flex-start;gap:8px}.transfer .error{color:#e2655b}.book-open{-webkit-touch-callout:none}.sheet-backdrop{z-index:30;background:#00000080;position:fixed;inset:0}.panel.sheet{z-index:31;flex-direction:column;gap:8px;max-width:560px;max-height:90vh;margin:0 auto;display:flex}.edit-cover{align-items:center;gap:16px;padding:8px 0;display:flex}.edit-cover .cover{width:84px;height:120px}.edit-cover-actions{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.sheet input[type=text]{border:1px solid var(--line);background:var(--btn-bg);border-radius:10px;min-height:44px;padding:0 12px}.btn.wide{width:100%}.btn.danger{color:#ff7a6e;margin-top:12px}.edit-error{color:#ff7a6e;margin:0}.sheet .btn.with-icon{justify-content:center;align-items:center;gap:8px;display:flex}.sheet .btn.with-icon svg.icon{width:20px;height:20px;margin:0}@keyframes sheet-in{0%{transform:translateY(100%)}}@keyframes sheet-out{to{transform:translateY(100%)}}@keyframes fade-in{0%{opacity:0}}@keyframes fade-out{to{opacity:0}}.panel{animation:.26s cubic-bezier(.2,.8,.2,1) sheet-in}.panel.leaving{pointer-events:none;animation:.22s cubic-bezier(.4,0,1,1) forwards sheet-out}.sheet-backdrop{animation:.26s ease-out fade-in}.sheet-backdrop.leaving{pointer-events:none;animation:.22s ease-in forwards fade-out}@media (prefers-reduced-motion:reduce){.panel,.sheet-backdrop{animation:.12s ease-out fade-in}.panel.leaving,.sheet-backdrop.leaving{animation:.12s ease-in forwards fade-out}}::view-transition-old(root){mix-blend-mode:normal;animation-duration:.3s;animation-timing-function:cubic-bezier(.25,.8,.3,1)}::view-transition-new(root){mix-blend-mode:normal;animation-duration:.3s;animation-timing-function:cubic-bezier(.25,.8,.3,1)}html[data-nav=forward]::view-transition-old(root){animation-name:screen-out-left}html[data-nav=forward]::view-transition-new(root){animation-name:screen-in-right}html[data-nav=back]::view-transition-old(root){z-index:1;animation-name:screen-out-right}html[data-nav=back]::view-transition-new(root){animation-name:screen-in-left}@keyframes screen-in-right{0%{transform:translate(100%)}}@keyframes screen-out-right{to{transform:translate(100%)}}@keyframes screen-out-left{to{opacity:.5;transform:translate(-30%)}}@keyframes screen-in-left{0%{opacity:.5;transform:translate(-30%)}}.summaries-tab{flex-direction:column;gap:10px;display:flex}.seg{border:1px solid var(--line);border-radius:22px;display:flex;overflow:hidden}.seg-item{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:1;font-size:14px}.seg-item+.seg-item{border-left:1px solid var(--line)}.seg-item.on{background:var(--btn-bg);color:var(--fg);box-shadow:inset 0 -2px 0 var(--accent);font-weight:600}.seg-item:disabled{opacity:.4;cursor:default}.seg-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.style-cards{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;display:grid}.style-card{border:1px solid var(--line);background:var(--btn-bg);border-radius:12px;position:relative}.style-card.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.style-card.custom{grid-column:1/-1}.style-card-main{width:100%;min-height:80px;color:var(--fg);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 40px 10px 12px;display:flex}.style-card.custom .style-card-main{min-height:60px}.style-card-main strong{font-size:15px}.style-card-main span{color:var(--muted);font-size:12.5px;line-height:1.3}.style-card-main:disabled{opacity:.5;cursor:default}.style-card-info{width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:0;position:absolute;top:2px;right:2px}.style-card-info svg.icon{width:20px;height:20px}.style-card-go{color:var(--muted);pointer-events:none;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.style-card-main:focus-visible,.style-card-info:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.custom-page{flex-direction:column;gap:14px;display:flex}.custom-head{align-items:center;gap:4px;margin-left:-8px;display:flex}.custom-head h3,.score-top h3{color:var(--fg);text-transform:none;letter-spacing:normal;margin:0;font-size:16px}.choice-group{border:0;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;display:flex}.choice-group.grid{grid-template-columns:1fr 1fr;display:grid}.choice-group legend{color:var(--muted);margin-bottom:6px;padding:0;font-size:14px;font-weight:600}.choice{border:1px solid var(--line);background:var(--btn-bg);cursor:pointer;border-radius:10px;align-items:center;gap:10px;min-height:44px;padding:7px 12px;display:flex}.choice.on{border-color:var(--accent)}.choice input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0}.choice span{flex-direction:column;gap:2px;min-width:0;display:flex}.choice strong{font-size:14px;font-weight:600;line-height:1.25}.choice small{color:var(--muted);font-size:12.5px}.choice-group:disabled .choice{opacity:.5;cursor:default}.score-backdrop{z-index:50;padding:calc(var(--safe-top) + 12px) 12px calc(env(safe-area-inset-bottom,0px) + 12px);background:#0000008c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.score-sheet{border:1px solid var(--line);background:var(--panel-bg);width:100%;max-width:420px;max-height:100%;color:var(--fg);border-radius:16px;flex-direction:column;padding:10px 0 0;display:flex;overflow:hidden}.score-top{flex:none;justify-content:space-between;align-items:center;padding:0 8px 0 16px;display:flex}.score-body{overscroll-behavior:contain;flex:1;min-height:0;padding:0 16px 14px;overflow-y:auto}.score-top h3{font-size:18px}.score-overall{align-items:baseline;gap:4px;margin:0;display:flex}.score-overall strong{font-size:30px;line-height:1.1}.score-tagline{margin:4px 0 2px}.score-rival{margin:10px 0 4px}.score-rival .link{color:var(--fg);font:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.score-table{border-collapse:collapse;width:100%;margin:4px 0 8px;font-size:13.5px}.score-table th,.score-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:5px 0;font-weight:400}.score-table thead th{color:var(--muted);white-space:nowrap;vertical-align:bottom;font-size:12px}.score-table td,.score-table thead th+th{text-align:right;font-variant-numeric:tabular-nums;width:1%;padding-left:12px}.score-bars{flex-direction:column;gap:2px;margin-top:5px;display:flex}.score-bars i{border-radius:0 4px 4px 0;height:4px;display:block}.score-sheet .me{background:var(--accent)}.score-sheet .rival{background:var(--muted)}.swatch{border-radius:2px;width:9px;height:9px;margin-right:5px;display:inline-block}.summary-create{z-index:1;background:var(--panel-bg);margin:0 -2px;padding:8px 2px;position:sticky;bottom:0}.summary-create:after{content:"";height:calc(env(safe-area-inset-bottom,0px) + 18px);background:var(--panel-bg);position:absolute;top:100%;left:0;right:0}.summary-hint{text-align:center;color:var(--muted);margin:6px 0 0;font-size:.8rem}.summaries-tab .error{color:#e2655b}.summary{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:10px 12px}.summary-meta{margin-bottom:4px}.summary-actions{justify-content:flex-start;min-height:0;margin-top:8px}.md{overflow-wrap:anywhere;line-height:1.55}.md p{margin:8px 0}.md h4{margin:14px 0 6px;font-size:16px}.md h4.md-h1{font-size:17px}.md ul,.md ol{margin:6px 0;padding-left:22px}.md li{margin:3px 0}.summary-list{margin:0;padding:0;list-style:none}
