.help-button{border-radius:50%;width:1.75rem;min-width:1.75rem;height:1.75rem;padding:0;font-weight:700;line-height:1}.timer-screen{--timer-screen-gap:1.5rem;justify-content:center;align-items:center;gap:var(--timer-screen-gap);min-height:calc(100dvh - 6rem);padding:1rem;padding-bottom:calc(1rem + var(--safe-area-inset-bottom,0px));-webkit-user-select:none;user-select:none;touch-action:none;flex-direction:column;display:flex;position:relative}@media (orientation:portrait),(width<=559.98px){.timer-screen:before,.timer-screen:after{content:"";flex:1 0 0}.timer-screen:before{min-height:calc(3.25rem - var(--timer-screen-gap))}}.scramble{font-size:var(--text-scramble);text-align:center;max-width:32rem;line-height:1.6}.case-trainer-scramble,.cross-trainer-scramble{font-size:var(--text-scramble)}.cube-orientation{text-wrap:balance}.scramble-warning{font-size:var(--text-note);color:var(--danger)}.display{font-variant-numeric:tabular-nums;text-align:center;font-size:4rem}.display.holding{color:var(--ink-soft)}.display.ready{color:var(--success)}.timer-actions{z-index:2;gap:1.5rem;display:flex;position:absolute;top:1rem;right:1rem}.smartcube-control{align-items:center;gap:.35rem;display:flex;position:relative}.smartcube-button{width:2.75rem;height:2.75rem;color:inherit;background:inherit;border:1px solid;border-radius:.5rem;place-items:center;display:grid}.smartcube-button[data-connected=true]{background:var(--accent-soft);color:var(--accent-text)}.smartcube-battery-low{font-variant-numeric:tabular-nums;color:var(--danger);font-size:.875rem}.smartcube-button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linejoin:round;width:1.5rem;height:1.5rem}.smartcube-menu,.smartcube-mac-form{z-index:3;background:var(--ground);border:1px solid;border-radius:.5rem;flex-direction:column;gap:.5rem;min-width:max-content;padding:.75rem;display:flex;position:absolute;top:calc(100% + .5rem);right:0}.smartcube-mac-form label{white-space:normal;gap:.35rem;max-width:min(20rem,100vw - 3rem);display:grid}.smartcube-mac-form input{-webkit-user-select:text;user-select:text;touch-action:auto;width:100%}.smartcube-device-picker p{white-space:normal;max-width:min(20rem,100vw - 3rem);margin:0}.smartcube-device-picker ul{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.smartcube-device-picker li button{width:100%}.cube-connect-status,.cube-notice,.cube-discard-hint,.cube-orientation,.cube-ask-solved{text-align:center}.cube-ask-solved{align-items:center;gap:.75rem;display:flex}.cube-reload{flex-direction:column;align-items:center;gap:.5rem;display:flex}.cube-reload p{margin:0}.cube-net{width:min(100%,14rem);height:auto}.cube-view{flex-direction:column;align-items:center;gap:1.5rem;display:flex}.cube-view[hidden]{display:none}.cube-view-controls{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.cube-view-controls button[aria-pressed=true]{border-color:var(--accent);background-color:var(--accent-soft);color:var(--accent-text)}.cube-view-note{text-align:center;margin:0}.cube-view-3d-container{width:min(100%,10.5rem)}.cube-view-3d{aspect-ratio:1;width:100%}.cube-view-3d>*{width:100%;height:100%}.cube-progress [role=listitem]{white-space:nowrap}.cube-progress [data-done=true]{color:var(--ink-soft)}.cube-progress [data-current=true]{text-underline-offset:.2em;text-decoration:underline;text-decoration-thickness:2px;position:relative}.cube-progress [data-testid=cube-undo-move]{color:var(--accent-text)}.cube-progress-remaining{color:var(--ink-soft);white-space:nowrap;font-size:.6em;line-height:1;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.cube-progress-message{text-align:center;font-size:1rem}.scramble.cube-connected,.case-trainer-scramble.cube-connected,.cross-trainer-scramble.cube-connected{line-height:2}.timer-segments{text-align:center;margin-top:.5rem;font-size:1rem}.timer-records{flex-direction:column;align-items:center;gap:.5rem;width:100%;max-width:40rem;display:flex}.timer-records.is-hidden{visibility:hidden}.timer-records-summary{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;gap:.25rem 1rem;margin:0;display:flex}.timer-records-summary div{gap:.35rem;display:flex}.timer-records-summary dt{color:var(--ink-soft)}.timer-records-summary dd{margin:0}.timer-records-strip{direction:rtl;align-items:center;gap:.25rem;width:100%;display:flex}.timer-records-list{scroll-behavior:smooth;scrollbar-width:none;touch-action:pan-x;flex:1;gap:.35rem;min-width:0;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.timer-screen .timer-records.is-inert .timer-records-list{touch-action:none}.timer-records-strip.has-more .timer-records-list{-webkit-mask-image:linear-gradient(to left, var(--ink) calc(100% - 1.5rem), transparent);-webkit-mask-image:linear-gradient(to left, var(--ink) calc(100% - 1.5rem), transparent);mask-image:linear-gradient(to left, var(--ink) calc(100% - 1.5rem), transparent)}.timer-record{border:1px solid var(--line);min-width:4.75rem;color:inherit;background:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr;border-radius:.5rem;flex-direction:column;align-items:center;padding:.25rem .5rem;display:flex}.timer-record.in-ao5{background:var(--accent-soft)}.timer-record.is-latest{border-color:var(--accent);color:var(--accent-text);font-weight:600}.timer-record-index{font-size:var(--text-label);color:var(--ink-soft)}.timer-records-nav{width:2rem;height:2.75rem;color:inherit;direction:ltr;background:0 0;border:none;flex:none;padding:0;font-size:1.25rem}.timer-records-nav[aria-disabled=true]{opacity:.35}.timer-records-nav .glyph-column{display:none}.timer-solve-sheet{box-sizing:border-box;width:min(100%,32rem);max-width:100%;max-height:min(85dvh,36rem);padding:1rem;padding-bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));overscroll-behavior:contain;touch-action:pan-y;color:var(--ink);background:var(--ground);-webkit-user-select:text;user-select:text;border:none;border-radius:.75rem .75rem 0 0;margin:auto auto 0;overflow-y:auto}.timer-solve-sheet::backdrop{background:var(--backdrop)}.timer-solve-sheet-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.timer-solve-sheet-head h2{margin:0;font-size:1.125rem}.timer-solve-sheet p{overflow-wrap:anywhere;margin:.5rem 0}.timer-solve-sheet .timer-solve-sheet-time{font-variant-numeric:tabular-nums;font-size:2rem}.timer-solve-sheet .solve-actions{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}@media (height<=500px) and (width>=560px) and (orientation:landscape){.timer-screen{min-height:calc(100dvh - var(--tabs-height,0px) - 1rem);box-sizing:border-box;padding:.5rem 1rem;padding-bottom:calc(.5rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));gap:.5rem}.timer-screen:not(.with-cube-view)>:not(.timer-actions){max-width:calc(100% - 14rem)}.timer-screen:not(.with-cube-view)>.scramble{max-width:min(32rem,100% - 14rem)}.timer-screen.with-cube-view{padding-right:15rem}.timer-screen .timer-actions{top:.5rem}.timer-screen .cube-view{gap:.5rem;width:12rem;position:absolute;top:3.75rem;right:1rem}.timer-screen .cube-orientation,.timer-screen .cube-view-note,.timer-screen .cube-view .save-error{font-size:.875rem}.timer-screen .cube-net{width:9rem}.timer-screen .cube-view-3d-container{width:6.5rem}}@media (orientation:portrait) and (height<=860px),(width<=559.98px) and (height<=860px){.timer-screen.with-records.with-cube-view{--timer-screen-gap:.75rem}.timer-screen.with-records .cube-view{gap:.5rem}.timer-screen.with-records .cube-net{width:min(100%,9rem)}.timer-screen.with-records .cube-view-3d-container{width:min(100%,7rem)}}@media (orientation:portrait) and (height<=720px),(width<=559.98px) and (height<=720px){.timer-screen.with-records.with-cube-view .cube-net{width:min(100%,7.5rem)}.timer-screen.with-records.with-cube-view .cube-view-3d-container{width:min(100%,6rem)}.timer-screen.with-records.with-cube-view .cube-orientation,.timer-screen.with-records.with-cube-view .timer-segments,.timer-screen.with-records.with-cube-view .timer-records-summary{font-size:.875rem}.timer-screen.with-cube-view:not(.with-records){--timer-screen-gap:.75rem}.timer-screen.with-cube-view:not(.with-records) .cube-view{gap:.5rem}.timer-screen.with-cube-view:not(.with-records) .cube-net{width:min(100%,9rem)}.timer-screen.with-cube-view:not(.with-records) .cube-view-3d-container{width:min(100%,7rem)}}@media (orientation:landscape) and (width>=640px){.timer-screen.with-records{padding-left:10rem}.timer-screen.with-records>.timer-records{top:1rem;bottom:calc(1rem + var(--safe-area-inset-bottom,0px));align-items:stretch;width:8rem;max-width:none;position:absolute;left:1rem}.timer-screen.with-records .timer-records-summary{flex-direction:column;gap:.25rem}.timer-screen.with-records .timer-records-summary div{justify-content:space-between}.timer-screen.with-records .timer-records-strip{direction:ltr;flex-direction:column;flex:1;align-items:stretch;min-height:0}.timer-screen.with-records .timer-records-list{touch-action:pan-y;flex-direction:column;overflow:hidden auto}.timer-screen.with-records .timer-records.is-inert .timer-records-list{touch-action:none}.timer-screen.with-records .timer-records-strip.has-more .timer-records-list{-webkit-mask-image:linear-gradient(to bottom, var(--ink) calc(100% - 1.5rem), transparent);-webkit-mask-image:linear-gradient(to bottom, var(--ink) calc(100% - 1.5rem), transparent);mask-image:linear-gradient(to bottom, var(--ink) calc(100% - 1.5rem), transparent)}.timer-screen.with-records .timer-record{flex-direction:row;justify-content:space-between;width:100%;min-width:0}.timer-screen.with-records .timer-records-nav{width:100%;height:1.75rem}.timer-screen.with-records .timer-records-nav .glyph-row{display:none}.timer-screen.with-records .timer-records-nav .glyph-column{display:inline}.timer-screen.with-records.with-cube-view{padding-right:15rem}.timer-screen.with-records .cube-view{gap:.5rem;width:12rem;position:absolute;top:3.75rem;right:1rem}.timer-screen.with-records .cube-orientation,.timer-screen.with-records .cube-view-note,.timer-screen.with-records .cube-view .save-error{font-size:.875rem}.timer-screen.with-records .cube-net{width:9rem}.timer-screen.with-records .cube-view-3d-container{width:6.5rem}}@media (orientation:landscape) and (width>=560px) and (width<=639.98px){.timer-screen .timer-records-strip{display:none}.timer-records-summary{font-size:.875rem}}@media (orientation:landscape) and (width>=560px) and (height<=500px){.scramble,.case-trainer-scramble,.cross-trainer-scramble{font-size:1rem}.timer-screen.with-records.with-cube-view .display{font-size:3rem}}@media (orientation:landscape) and (width>=640px) and (height>=700px){:root:not(.wide-screen) .timer-screen.with-records.with-cube-view{--cube-column:clamp(12rem, 26vw, 21rem);padding-right:calc(var(--cube-column) + 3rem)}:root:not(.wide-screen) .timer-screen.with-records .cube-view{width:var(--cube-column);gap:1rem;top:50%;transform:translateY(-50%)}:root:not(.wide-screen) .timer-screen.with-records .cube-orientation,:root:not(.wide-screen) .timer-screen.with-records .cube-view-note{font-size:1rem}:root:not(.wide-screen) .timer-screen.with-records .cube-net{width:min(16rem,100%)}:root:not(.wide-screen) .timer-screen.with-records .cube-view-3d-container{width:min(12rem,100%)}}@media (orientation:landscape) and (width>=744px) and (height>=736px){:root.wide-screen .timer-screen.with-records.with-cube-view{--cube-column:clamp(12rem, 26vw, 21rem);padding-right:calc(var(--cube-column) + 3rem)}:root.wide-screen .timer-screen.with-records .cube-view{width:var(--cube-column);gap:1rem;top:50%;transform:translateY(-50%)}:root.wide-screen .timer-screen.with-records .cube-orientation,:root.wide-screen .timer-screen.with-records .cube-view-note{font-size:1rem}:root.wide-screen .timer-screen.with-records .cube-net{width:min(16rem,100%)}:root.wide-screen .timer-screen.with-records .cube-view-3d-container{width:min(12rem,100%)}}@media (orientation:landscape) and (width>=640px) and (width<=759.98px) and (height>=500.02px){.timer-screen.with-records.with-cube-view .display{font-size:3rem}}@media (orientation:landscape) and (width>=744px) and (width<=795.98px) and (height>=500.02px){:root.wide-screen .timer-screen.with-records.with-cube-view .display{font-size:3rem}}.timer-pad{bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));border:2px solid var(--line);touch-action:none;width:8rem;height:6rem;color:var(--muted);border-radius:1rem;justify-content:center;align-items:center;display:flex;position:fixed}.timer-pad-hand{pointer-events:none}.timer-pad-right .timer-pad-hand{transform:scaleX(-1)}.timer-pad-left{left:calc(2rem + var(--safe-area-inset-left,env(safe-area-inset-left)))}.timer-pad-right{right:calc(2rem + var(--safe-area-inset-right,env(safe-area-inset-right)))}@media (orientation:landscape) and (width>=640px){.timer-screen.two-hand.with-records>.timer-records{bottom:calc(8rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)))}}@media (orientation:landscape) and (height<=500px){.timer-screen.two-hand .cube-net{width:6rem}.timer-screen.two-hand .cube-view-3d-container{width:4.5rem}.timer-screen.two-hand .cube-view{max-height:calc(100dvh - var(--tabs-height,0px) - 3.75rem - 8rem - var(--safe-area-inset-bottom,env(safe-area-inset-bottom)))}.timer-screen.two-hand.with-records .timer-records-strip{display:none}}.solve-list{margin:0;padding:0;list-style:none}.solve-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.75rem;padding:.5rem .25rem;display:flex}.solve-index{width:2.5rem;color:var(--ink-soft);font-variant-numeric:tabular-nums}.solve-time{font-variant-numeric:tabular-nums;width:6rem}.solve-smartcube-mark{color:var(--ink-soft);font-size:.8rem;line-height:1}.solve-scramble{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.875rem;overflow:hidden}.solve-actions{gap:.5rem;display:flex}.solve-smartcube-detail{width:100%;color:var(--ink-soft);font-size:.875rem}.solve-pagination{align-items:center;gap:.75rem;padding:.75rem 0;display:flex}.empty{color:var(--ink-soft);padding:1rem 0}.history-chart{border:1px solid var(--line);background:var(--panel);width:100%;max-width:32rem;height:auto}.solve-comment{width:100%;color:var(--ink-soft);font-size:.875rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem 1rem;margin:1rem 0;display:grid}.stats-item dt{color:var(--ink-soft);font-size:.75rem}.stats-item dd{font-variant-numeric:tabular-nums;margin:0}.segment-table{border-collapse:collapse;font-variant-numeric:tabular-nums;margin:0 0 1rem}.segment-table caption{text-align:left;color:var(--ink-soft);font-size:.75rem}.segment-table th,.segment-table td{text-align:right;padding:.125rem 1.5rem .125rem 0;font-weight:400}.segment-table thead th{color:var(--ink-soft);font-size:.75rem}.segment-table th[scope=row]{text-align:left}.habit-table th[scope=rowgroup]{text-align:left;color:var(--ink-soft);padding-top:.5rem;font-size:.75rem}.habit-table th[scope=row]{padding-left:1rem}.weakness-panel>section+section{margin-top:1rem}.weakness-suggestion+.weakness-suggestion{margin-top:.75rem}.weakness-actions{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.weakness-more{margin-top:.5rem}.session-bar{flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.chart-point{fill:var(--ink-soft)}.chart-line{fill:none;stroke:var(--chart-line)}.chart-caption{color:var(--ink-soft);margin:.25rem 0 0;font-size:.75rem}.case-bar-chart{border:1px solid var(--line);background:var(--panel);padding:.5rem;overflow-x:auto}.case-bar-chart-track{align-items:flex-end;gap:.25rem;min-width:max-content;height:8rem;display:flex}.case-bar{cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:flex-end;align-items:center;width:2rem;height:100%;padding:0;display:flex}.case-bar[aria-current=true] .case-bar-fill{background:var(--accent-strong);outline:2px solid var(--accent);outline-offset:-2px}.case-bar-fill{background:var(--ink-soft);width:100%}.case-bar-label{writing-mode:vertical-rl;color:var(--ink-soft);white-space:nowrap;margin-top:.25rem;font-size:.625rem}.case-select{align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.stats-sub-tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:.5rem;padding:.5rem 0;display:flex;overflow-x:auto}.stats-sub-tabs button{white-space:nowrap;flex:none}.stats-sub-tabs button[aria-current=true]{background:var(--accent-soft);color:var(--accent-text);font-weight:700}.ai-report{flex-direction:column;align-items:flex-start;gap:.75rem;display:flex}.ai-report-text{box-sizing:border-box;width:100%;font-size:1rem}.weakness-panel>.weakness-ai{margin-top:1.5rem}.data-transfer{padding:.75rem}.data-transfer button+button{margin-left:.5rem}.data-transfer .save-error{margin:1em 0}.data-transfer .save-error p{margin:0}.data-transfer .save-error ul{margin:.25rem 0 0;padding-left:1.25rem}.data-transfer-file-input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.account-section,.account-section form{flex-direction:column;gap:.5rem;display:flex}.account-section button{align-self:flex-start}.account-section .account-choice{gap:.5rem;display:flex}.account-section .account-primary{background:var(--accent-soft);color:var(--accent-text);font-weight:700}.account-section .account-primary:active:not(:disabled){filter:brightness(.9)}.docs-screen{padding:0 12px 24px}.docs-viewer{z-index:10;background:var(--ground);padding:0;padding-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom));box-sizing:border-box;flex-direction:column;display:flex;position:fixed;inset:0}.docs-viewer iframe{margin-left:var(--safe-area-inset-left,env(safe-area-inset-left));margin-right:var(--safe-area-inset-right,env(safe-area-inset-right));border:0;flex:1;min-height:0}.docs-viewer-header{background:var(--accent-soft);border-bottom:2px solid var(--accent);padding-top:var(--safe-area-inset-top,env(safe-area-inset-top));padding-left:calc(var(--safe-area-inset-left,env(safe-area-inset-left)) + var(--window-controls-left,0px));padding-right:var(--safe-area-inset-right,env(safe-area-inset-right))}.docs-viewer-header>.docs-back{box-sizing:border-box;width:100%;min-height:44px;color:var(--accent-text);background:0 0;border:0;border-radius:0;align-items:center;gap:6px;padding:0 18px;font-size:1rem;font-weight:700;display:flex}.docs-back-icon{flex:none}.docs-viewer-header>.docs-back:active:not(:disabled,[aria-disabled=true]){background:var(--accent-strong);color:var(--ink)}.docs-viewer-header>.docs-back:focus-visible{outline-offset:-2px}.docs-viewer-header>.docs-back:focus-visible:active{outline-color:var(--ink)}.cube-face,.cube-iso{background:var(--diagram-bg)}.cube-face rect[data-color=U]{fill:var(--face-U)}.cube-face rect[data-color=R]{fill:var(--face-R)}.cube-face rect[data-color=F]{fill:var(--face-F)}.cube-face rect[data-color=D]{fill:var(--face-D)}.cube-face rect[data-color=L]{fill:var(--face-L)}.cube-face rect[data-color=B]{fill:var(--face-B)}.cube-face rect[data-color=oriented]{fill:var(--face-oriented)}.cube-face rect[data-color=dim]{fill:var(--face-dim)}.cube-face rect[data-color=ignored]{fill:var(--face-ignored)}.cube-face .pll-arrow{stroke:var(--diagram-stroke);stroke-width:3px;stroke-linecap:round}.cube-face .pll-arrowhead{fill:var(--diagram-stroke)}.cube-iso polygon{stroke:var(--diagram-iso-stroke);stroke-width:1px}.cube-iso polygon[data-color=U]{fill:var(--face-U)}.cube-iso polygon[data-color=R]{fill:var(--face-R)}.cube-iso polygon[data-color=F]{fill:var(--face-F)}.cube-iso polygon[data-color=D]{fill:var(--face-D)}.cube-iso polygon[data-color=L]{fill:var(--face-L)}.cube-iso polygon[data-color=B]{fill:var(--face-B)}.cube-iso polygon[data-color=dim]{fill:var(--face-dim)}.cube-iso-oll{background:var(--diagram-bg)}.cube-iso-oll polygon{stroke:var(--diagram-iso-stroke);stroke-width:1px}.cube-iso-oll polygon[data-color=oriented]{fill:var(--face-oriented)}.cube-iso-oll polygon[data-color=dim]{fill:var(--face-dim)}.recognition-detail{max-width:640px;margin:0 auto}.recognition-detail-top{justify-content:center;align-items:center;gap:32px;margin-bottom:32px;display:flex}.recognition-detail-top>svg{flex:0 136px;width:100%;min-width:0;max-width:136px;height:auto}.recognition-detail-top>.twisty-view{flex:0 220px;min-width:0}.recognition-auf-grid{grid-template-columns:repeat(2,minmax(0,160px));justify-content:center;gap:12px;display:grid}.recognition-auf-grid figure{margin:0}.recognition-same-as{opacity:.75;font-size:.85em;display:block}.recognition-auf-grid svg{width:100%;max-width:160px;height:auto;margin:0 auto;display:block}@media (width>=640px){.recognition-auf-grid{grid-template-columns:repeat(4,minmax(0,160px))}}.recognition-explanation{margin-top:32px}.browse-drill-button{margin-bottom:1rem;margin-left:auto;display:block}.case-tabs{gap:.5rem;margin-bottom:.75rem;display:flex}.case-tabs button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:.25rem;flex:1;padding:.4rem 0}.case-tabs button[aria-current=true]{background:var(--accent-soft);color:var(--accent-text);font-weight:700}.case-scramble-inverse{cursor:pointer;align-items:center;gap:.375rem;padding:.5rem 0;display:flex}.case-scramble-inverse input{margin:0}.case-scramble-row .case-scramble,.case-scramble-row .case-scramble-unavailable,.case-scramble-row .case-scramble-note{margin:0 0 .5rem}.case-scramble-note,.case-scramble-unavailable{font-size:var(--text-note);color:var(--ink-soft)}.finger-cube-progress-heading{font-size:var(--text-note);color:var(--ink-soft);margin:.5rem 0 .25rem}.finger-cube-progress{text-align:center;margin:0;font-size:1rem;line-height:2}.case-tabs--scroll{scrollbar-width:thin;overflow-x:auto}.case-tabs--scroll button{box-sizing:border-box;white-space:nowrap;flex:1 0 auto;min-width:4rem;min-height:2.75rem;padding:.4rem .6rem}.group-toast{height:0}.group-toast-body{left:50%;bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));z-index:10;box-sizing:border-box;border:1px solid var(--accent-text);background:var(--accent-soft);width:max-content;max-width:calc(100vw - 2rem);color:var(--accent-text);text-align:center;pointer-events:none;border-radius:.25rem;padding:.4rem .75rem;font-size:.9rem;font-weight:700;display:inline-block;position:fixed;transform:translate(-50%)}.recognition-screen-detail{max-width:640px;margin:0 auto}.recognition-screen>button{margin:0 .5rem .5rem 0}.zbll-group-filter{gap:.5rem;margin-bottom:.75rem;display:flex}.zbll-group-filter button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:.25rem;flex:1;padding:.4rem 0}.zbll-group-filter button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text);font-weight:700}.case-sort{color:var(--ink-soft);align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.8rem;display:flex}.case-filters{gap:.5rem;margin-bottom:.75rem;display:flex}.case-filters button{font-size:var(--text-label);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:.25rem;flex:1;padding:.3rem 0}.case-filters button[aria-pressed=false]{opacity:.4}.case-empty{color:var(--ink-soft);text-align:center;padding:2rem 0}.case-grid{grid-template-columns:repeat(auto-fill,minmax(6rem,1fr));gap:1.25rem .5rem;max-width:76rem;margin-inline:auto;display:grid}@media (width>=40rem){.case-grid{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:2rem 1.5rem;max-width:83rem}.case-cell .case-label{font-size:.875rem}.case-cell .case-alg{font-size:.85rem}}.case-cell{cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:flex-start;align-items:center;gap:.25rem;padding:.25rem;display:flex}.case-cell svg{width:100%;height:auto}.case-cell svg.cube-face{width:85%}.case-cell[data-group=VLS] svg.cube-face{margin:.35rem 0}.status-dot{vertical-align:middle;border-radius:50%;width:.5rem;height:.5rem;margin-right:.25rem;display:inline-block}.status-dot.new{background:var(--status-new)}.status-dot.learning{background:var(--status-learning)}.status-dot.mastered{background:var(--status-mastered)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.case-label{color:var(--ink-soft);text-align:center;white-space:pre-line;min-height:2.4em;font-size:.7rem;line-height:1.2}.case-subgroup{color:var(--ink-soft);font-size:.6rem}.case-alg{color:var(--ink-soft);overflow-wrap:anywhere;text-align:center;font-family:ui-monospace,monospace;font-size:.7rem}.case-detail{max-width:40rem;margin:0 auto;padding:1rem}.case-detail-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.case-detail-subgroup{color:var(--ink-soft);margin-top:-.75rem;font-size:.875rem}.trainer-hint-row{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:.75rem;display:flex}.trainer-hint-actions{flex-wrap:wrap;gap:.5rem .75rem;display:flex}.trainer-hint-actions>button{white-space:nowrap}.case-detail>svg.cube-face,.case-detail>svg.cube-iso{margin:.5rem auto;display:block}.case-view{flex-direction:column;justify-content:center;align-items:center;min-height:272px;display:flex}.twisty-view{text-align:center}.twisty-view twisty-player{width:220px;max-width:100%;height:220px;margin:0 auto}.twisty-controls{justify-content:center;gap:.25rem;margin-top:.5rem;display:flex}.twisty-controls button{border:1px solid var(--line);min-height:2.75rem;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:.25rem;padding:0 .5rem;font-size:.75rem}.twisty-controls button:disabled{border-color:var(--line);color:var(--fg-disabled);cursor:default}.twisty-controls-play{justify-content:center;align-items:center;min-width:2.75rem;display:inline-flex}.main-alg{font-variant-numeric:tabular-nums;text-align:center;font-size:1.75rem}.main-alg-current{background:var(--accent-strong);outline:2px solid var(--accent);outline-offset:-2px;border-radius:.2rem}.main-reason{color:var(--ink-soft);font-size:.875rem}.alg-candidates{padding:0;list-style:none}.alg-candidates li{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;grid-template-areas:"text actions""tags actions";align-items:center;column-gap:.75rem;padding:.5rem .75rem;display:grid}.alg-candidates li[aria-current=true]{background:var(--accent-soft)}.alg-text{grid-area:text}.alg-tags{color:var(--ink-soft);grid-area:tags;font-size:.75rem}.alg-actions{grid-area:actions;gap:.5rem;display:flex}.save-error{color:var(--danger);font-size:.875rem}.notation-figure polygon{fill:var(--figure-face);stroke:var(--figure-stroke);stroke-width:1px}.notation-figure polygon.arrow-head{fill:var(--figure-arrow);stroke:none}.notation-figure polygon[data-moving=true]{fill:var(--figure-highlight)}.notation-figure line[data-testid=arrow]{stroke:var(--figure-arrow);stroke-width:3.5px;stroke-linecap:round}.alg-candidates-section,.alg-register-section,.alg-compare-section{margin-top:1.125rem}.alg-candidates-section>summary,.alg-register-section>summary,.alg-compare-section>summary{cursor:pointer;width:100%;padding:.75rem 0;font-size:1rem;font-weight:700;display:list-item}.alg-compare-table{border-collapse:collapse;width:100%}.alg-compare-step,.alg-compare-table thead th{white-space:nowrap}.alg-compare-table th,.alg-compare-table td{text-align:left;padding:.25rem .5rem}.alg-compare-stuck{font-size:.875em;font-weight:400;display:block}.alg-compare-stuck mark{color:var(--accent);background:0 0}.register-message{min-height:2.8125rem}.register-message .save-error{margin:0;line-height:1.5}.register-message .capture-notice{margin:0;font-size:.875rem;line-height:1.5}.register-body{flex-direction:column;align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.register-label{flex-direction:column;gap:.25rem;width:100%;display:flex}.register-input{box-sizing:border-box;width:100%;font:inherit}.keypad{width:100%;container-type:inline-size}.keypad-grid{--keypad-key-max:2.35rem;--keypad-font-max:.75rem;--keypad-key-w:var(--keypad-key-max);--keypad-row-gap:.375rem;--keypad-col-gap:1rem;grid-template-columns:repeat(2, calc(4 * var(--keypad-key-w) + 3 * var(--keypad-row-gap)));gap:.625rem var(--keypad-col-gap);width:calc(2 * (4 * var(--keypad-key-w) + 3 * var(--keypad-row-gap)) + var(--keypad-col-gap));max-width:100%;margin-inline:auto;display:grid}.keypad-row{gap:var(--keypad-row-gap,.375rem);display:flex}.keypad-key{min-height:2.25rem;width:var(--keypad-key-w);box-sizing:border-box;font:inherit;font-size:var(--keypad-font-max);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;padding:.25rem .0625rem;font-weight:700}@supports (container-type:inline-size){.keypad-grid{--keypad-key-w:max(1.875rem, min(var(--keypad-key-max), (100cqi - var(--keypad-col-gap) - 6 * var(--keypad-row-gap)) / 8))}.keypad-key{font-size:min(var(--keypad-font-max), (var(--keypad-key-w) - 2px) / 2.8);padding-inline:0}}@container (width<22.05rem){.keypad-grid{--keypad-row-gap:.25rem;--keypad-col-gap:.5rem}}@media not all and (width>=22rem){.case-detail{padding-inline:0}}.keypad-edit{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.alg-register{margin-left:1rem}.cross-practice{text-align:center;flex-direction:column;align-items:center;gap:1rem;padding:1rem;display:flex}.cross-practice>button{min-width:10rem}.cross-practice>.cross-practice-back{align-self:flex-start;min-width:0}.cross-practice-actions{gap:1rem;display:flex}.cross-practice-actions button{min-width:8rem}.case-trainer{flex-direction:column;align-items:center;gap:1rem;max-width:40rem;min-height:calc(100dvh - 6rem);margin:0 auto;padding:1rem;display:flex}.trainer-title{font-size:var(--text-heading);text-align:left;align-self:stretch;margin:0}.trainer-title-short{display:none}@media (width<=374.98px){.trainer-title-has-short .trainer-title-full{display:none}.trainer-title-has-short .trainer-title-short{display:inline}}.case-trainer-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;display:flex}.case-trainer-session-controls{justify-content:flex-start;align-self:stretch}.case-trainer-session-controls .smartcube-control{margin-left:auto}.cross-trainer-controls{justify-content:space-between;align-self:stretch}.case-trainer-solves{width:100%;max-width:20rem;margin:0;padding:0;list-style:none}.case-trainer-solve-row{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:.5rem;padding:.375rem 0;display:flex}.case-trainer-solve-row.finger-trainer-solve-row{display:block}.finger-solve-main{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.finger-solve-main>span:first-child,.finger-solve-main>button{white-space:nowrap;flex-shrink:0}.finger-trainer-per-rep{word-break:keep-all;text-align:center}.finger-rep-block{margin-top:.25rem}.finger-rep-times{grid-template-columns:repeat(auto-fill,minmax(4rem,1fr));gap:.25rem .75rem;margin:.25rem 0 0;padding:0;font-size:.85rem;list-style:none;display:grid}.finger-rep-times li{white-space:nowrap}.finger-rep-times .mistake{color:var(--danger);font-weight:600}.finger-trigger-select{max-width:30.5rem;margin-inline:auto}.finger-trigger-select .case-trainer-controls{justify-content:flex-start;margin-bottom:1rem}.finger-trigger-table{border-collapse:collapse;text-align:left;width:100%}.finger-trigger-table th,.finger-trigger-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:.375rem .25rem}.finger-trigger-table th{font-size:var(--text-label);font-weight:400}.finger-trigger-alg,.finger-trigger-repeat{font-variant-numeric:tabular-nums}.finger-trigger-repeat .finger-trigger-warning{font-size:var(--text-note);display:block}.finger-trigger-open{text-align:left}.finger-trigger-form{flex-direction:column;gap:.5rem;display:flex}.finger-trigger-form label{align-items:center;gap:.5rem;display:flex}.finger-trigger-form label>span{flex:0 0 5rem}.finger-trigger-form label>input,.finger-trigger-form label>textarea{flex:auto;min-width:0}.finger-trigger-form label>input:not(.finger-trigger-alg-input){max-width:8rem}.finger-trigger-alg-input{min-width:0}.finger-trigger-form label.finger-trigger-note-field{align-items:flex-start}.finger-trigger-form-actions{gap:.5rem;margin-bottom:1rem;display:flex}.finger-trigger-form-actions button{padding:.25rem .6rem;font-size:.75rem}.finger-trigger-detail{flex-direction:column;gap:.5rem;display:flex}.finger-trigger-detail-name{font-size:var(--text-subheading);margin:0}.finger-trigger-detail-alg{font-variant-numeric:tabular-nums;margin:0}.finger-trigger-detail-repeat{white-space:nowrap}.finger-trigger-detail .finger-trigger-warning{font-size:var(--text-note);margin:0}.finger-trigger-detail-note{flex-direction:column;gap:.125rem;margin:0;display:flex}.finger-trigger-note-label{font-size:var(--text-note);color:var(--ink-soft)}.finger-trigger-detail-actions{flex-wrap:wrap;gap:.5rem;display:flex}.finger-trigger-detail-back{padding:.25rem .6rem;font-size:.75rem}@media (width>=40rem){.keypad-grid{--keypad-key-max:3.25rem;--keypad-font-max:.9375rem;--keypad-row-gap:.5rem;--keypad-col-gap:1.5rem;gap:.75rem var(--keypad-col-gap)}.keypad-key{min-height:2.5rem}}.finger-trainer-head{text-align:center;flex-direction:column;align-items:center;gap:.25rem;display:flex}.finger-trainer-name{font-size:var(--text-subheading);margin:0;font-weight:700}.finger-trainer-alg{font-size:var(--text-scramble);font-variant-numeric:tabular-nums;margin:0}.finger-trainer-repeat{white-space:nowrap}.finger-trainer-warning{font-size:var(--text-note);margin:0}.finger-trainer-cube-tools{flex-wrap:nowrap;align-items:center;gap:.25rem;margin-left:auto;display:flex}.finger-trainer .cross-trainer-controls{justify-content:flex-start;gap:.25rem}.drill-screen{padding:1rem;padding-bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));text-align:center;max-width:40rem;margin:0 auto}.drill-screen .drill-back-button{width:fit-content;margin-inline-end:auto;display:block}.drill-screen .drill-mode-range{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.drill-screen label select{margin-left:.5rem}.drill-screen .case-id{color:var(--ink-soft);font-size:var(--text-note)}.drill-screen .drill-title{text-align:left;font-size:var(--text-heading);margin:0 0 1rem}.drill-screen .drill-toolbar{align-items:center;gap:1rem;display:flex}.drill-screen .drill-case-figure{margin:2rem 0}.drill-screen .answer{font-size:var(--text-scramble);margin:1rem 0}.drill-screen .grades{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem;display:flex}.drill-screen .drill-grade-emphasis{outline:2px solid var(--accent-text);outline-offset:2px;font-weight:700}.drill-screen .drill-cube-verdict{min-height:1.5em;margin:.5rem 0;font-weight:700}.drill-screen .drill-scramble{font-size:var(--text-scramble)}.drill-screen .drill-scramble.cube-connected{line-height:2}.drill-screen .recognition-drill-choices{grid-template-columns:repeat(auto-fill,minmax(4.25rem,1fr));gap:.4rem;display:grid}.drill-screen .recognition-drill-choices button{white-space:pre-line;min-height:2rem;padding:.125rem;font-size:.75rem;line-height:1.15}.drill-screen .sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.drill-screen .recognition-axis{margin-top:1rem}.drill-screen .recognition-axis-label{margin-bottom:.25rem;font-weight:600}.drill-screen .recognition-axis-description{color:var(--ink-soft);margin-top:0;font-size:.875rem}.drill-status{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:1rem;display:flex}.drill-status p{margin:.25rem 0}@media (width<=40rem){.drill-screen .drill-case-figure>svg,.drill-screen .recognition-case-figure>svg,.drill-screen .cube-iso,.drill-screen .cube-iso-oll,.drill-screen .cube-face{width:112px;height:112px}}.drill-screen .drill-sticky-head{top:var(--tabs-height,var(--safe-area-inset-top,env(safe-area-inset-top)));background:var(--ground);z-index:1;padding-top:.5rem;padding-bottom:2rem;position:sticky}.drill-screen .recognition-case-figure{margin:0;padding:0}@media (height<=640px){.drill-screen .drill-sticky-head{padding-top:.5rem;padding-bottom:.75rem}.drill-screen .recognition-case-figure>svg,.drill-screen .cube-iso,.drill-screen .cube-iso-oll,.drill-screen .cube-face{width:88px;height:88px}}@media (height<=500px){.drill-screen .drill-sticky-head{top:var(--safe-area-inset-top,env(safe-area-inset-top))}}.drill-screen .recognition-axis-choices{grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));gap:.4rem;display:grid}.drill-screen .recognition-axis-choices button{min-height:2.75rem;padding:.5rem .25rem;font-size:.875rem}.drill-screen .recognition-axis-choice-part{word-break:keep-all;overflow-wrap:anywhere;display:inline-block}@media (orientation:landscape) and (width>=560px) and (height<=500px){.drill-screen .drill-scramble{font-size:1rem}}.notation-list{flex-direction:column;gap:1.5rem;display:flex}.notation-introduction{flex-direction:column;gap:.5rem;display:flex}.notation-intro{opacity:.85;margin:0;font-size:.875rem}.notation-orientation{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.notation-face-list{flex:20rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;margin:0;font-size:.875rem;display:grid}.notation-face-list dt{font-weight:700}.notation-face-list dd{margin:0;font-size:.8rem}.notation-orientation-figure{flex:none;width:8rem;height:auto}.notation-orientation-figure polygon{stroke:var(--figure-stroke);stroke-width:1px}.notation-orientation-figure polygon[data-face=U]{fill:var(--face-U)}.notation-orientation-figure polygon[data-face=F]{fill:var(--face-F)}.notation-orientation-figure polygon[data-face=R]{fill:var(--face-R)}.notation-orientation-figure text{fill:var(--diagram-stroke);text-anchor:middle;font-size:18px;font-weight:700}.notation-grid{grid-template-columns:repeat(auto-fill,minmax(5.5rem,1fr));gap:.75rem;display:grid}.notation-list section>h3{margin-bottom:.25rem}.notation-section-hint{opacity:.7;margin:0;font-size:.75rem}.notation-section-hint:last-of-type{margin-bottom:.75rem}@media (width>=40rem){.notation-grid{grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:1rem}.notation-cell .notation-figure{width:7rem;height:auto}}.notation-cell{color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:.375rem;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem;display:flex}.notation-symbol{font-size:1.125rem;font-weight:700}.notation-heading{flex-direction:column;align-items:center;gap:.25rem;display:flex}@media (width>=40rem){.notation-heading{flex-direction:row;align-items:baseline}}.notation-alias{opacity:.6;font-size:.75rem}.notation-label{opacity:.8;text-align:center;font-size:.75rem}.notation-dialog{background:var(--ground);max-width:min(90vw,24rem);color:var(--ink);border:none;border-radius:.5rem;padding:0}.notation-dialog::backdrop{background:var(--backdrop)}.notation-player{flex-direction:column;align-items:center;gap:.5rem;padding:1rem;display:flex}.notation-dialog-close{align-self:flex-end}.course-screen{flex-direction:column;gap:1rem;display:flex}.course-drill-all-button{align-self:flex-end;margin-bottom:1rem}.course-step{border:1px solid;border-radius:.5rem;flex-direction:column;gap:.5rem;padding:1rem;scroll-margin-top:1rem;display:flex}.course-step[data-done=true] h2:before{content:"✓ ";color:var(--success)}.course-summary{opacity:.85;font-size:.875rem}.course-actions{gap:.5rem;display:flex}.cross-viewer-panel{width:min(100%,36rem)}.cross-viewer-row{align-items:center;gap:.75rem;display:flex}.cross-viewer-row>.twisty-view{flex:0 24rem;min-width:0}.cross-viewer-hint{opacity:.85;flex:10rem;margin:0;font-size:.875rem}.cross-regrip-hint{opacity:.85;margin:.5rem 0 0;font-size:.875rem}@media (width<=36rem){.cross-viewer-row{flex-direction:column;align-items:stretch}.cross-viewer-row>.twisty-view{width:100%}}.mode-picker{flex-direction:column;gap:1rem;max-width:32rem;margin:0 auto;padding:2rem 1rem;display:flex}.mode-choice{text-align:left;color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:.5rem;flex-direction:column;gap:.25rem;padding:1rem;display:flex}.mode-choice span,.mode-note{opacity:.8;font-size:.875rem}:root{accent-color:var(--accent);--danger:#c0392b;--danger-bg:#c0392b;--danger-fg:#fff;--success:#27ae60;--status-new:#999;--status-learning:#e0a526;--status-mastered:#2e8b3d;--diagram-bg:transparent;--diagram-stroke:#1a1a1a;--diagram-iso-stroke:#fff;--face-dim:#9a9a9a;--face-ignored:#9ca3af;--figure-face:#d1d5db;--figure-stroke:#374151;--figure-arrow:#dc2626;--figure-highlight:#fbbf24;--chart-line:#2980b9;--backdrop:#00000080;--face-U:#f7d117;--face-R:#e07b26;--face-F:#2e8b3d;--face-D:#f2f2f2;--face-L:#d0342c;--face-B:#2f5fd0;--face-oriented:#f7d117;--text-scramble:1.25rem;--text-heading:1.5rem;--text-subheading:1.375rem;--text-note:.875rem;--text-label:.75rem}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--danger:#ff8a80;--danger-bg:#8c2018;--success:#4ade80;--status-new:#777;--status-mastered:#3fa34d;--face-dim:#6b6b6b;--face-ignored:#4b5563;--figure-face:#4b5563;--figure-stroke:#cbd5e1;--figure-arrow:#f87171;--chart-line:#60a5fa}}:root[data-theme=dark]{--danger:#ff8a80;--danger-bg:#8c2018;--success:#4ade80;--status-new:#777;--status-mastered:#3fa34d;--face-dim:#6b6b6b;--face-ignored:#4b5563;--figure-face:#4b5563;--figure-stroke:#cbd5e1;--figure-arrow:#f87171;--chart-line:#60a5fa}body{background:var(--ground);color:var(--ink);padding-left:var(--safe-area-inset-left,env(safe-area-inset-left));padding-right:var(--safe-area-inset-right,env(safe-area-inset-right))}body,button,input,select,textarea{font-family:var(--sans)}::file-selector-button{font-family:var(--sans)}button,input,select,textarea{font-size:.8125rem}:is(body,h1,h2,h3,h4,h5,h6,button,input,select,textarea):lang(zh-Hans){font-family:PingFang SC,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei,sans-serif}input:lang(zh-Hans)::file-selector-button{font-family:PingFang SC,Noto Sans SC,Noto Sans CJK SC,Microsoft YaHei,sans-serif}:is(body,h1,h2,h3,h4,h5,h6,button,input,select,textarea):lang(zh-Hant){font-family:PingFang TC,Noto Sans TC,Noto Sans CJK TC,Microsoft JhengHei,sans-serif}input:lang(zh-Hant)::file-selector-button{font-family:PingFang TC,Noto Sans TC,Noto Sans CJK TC,Microsoft JhengHei,sans-serif}button{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:6px}::file-selector-button{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:6px}select,textarea,input:not([type]),input[type=text],input[type=number],input[type=email],input[type=password]{background:var(--panel);color:var(--ink);border:1px solid var(--ink-soft);border-radius:6px;padding-inline:.375rem}button:disabled,select:disabled,input:disabled,textarea:disabled{opacity:.5}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}button:active:not(:disabled,[aria-disabled=true]){background:var(--accent-soft)}.storage-warning,.save-error{background:var(--danger-bg);color:var(--danger-fg);padding:.75rem 1rem;font-size:.875rem}.save-error button{margin-left:.75rem}.storage-warning button,.save-error button{border-color:var(--danger-fg)}html{scroll-padding-top:var(--tabs-height,0px)}@media (width>=744px){:root.wide-screen{font-size:112.5%}}.tabs{padding:.5rem;padding-left:calc(.5rem + var(--window-controls-left,0px));padding-top:calc(.5rem + var(--safe-area-inset-top,env(safe-area-inset-top)));border-bottom:1px solid var(--line);scrollbar-width:thin;z-index:5;background:var(--ground);flex-wrap:nowrap;gap:.5rem;display:flex;position:sticky;top:0;overflow-x:auto}:root.window-controls .tabs{padding-top:var(--safe-area-inset-top,env(safe-area-inset-top));min-height:var(--window-controls-height,0px);align-items:center;margin-top:-8px}.algs-screen{padding:1rem;padding-bottom:calc(1rem + var(--safe-area-inset-bottom,0px))}.tabs button{white-space:nowrap;background:0 0;border:none;border-radius:8px;flex:none;padding:.375rem .5rem;font-weight:500}.tabs button[aria-current=true]{background:var(--accent-soft);color:var(--accent-text);font-weight:700}@media (height<=500px){html{scroll-padding-top:0}.tabs{position:static}}.stats-screen,.settings-screen,.crash-screen{padding:1rem;padding-bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));max-width:40rem;margin:0 auto}.app-crash{padding:1rem;padding-top:calc(1rem + var(--safe-area-inset-top,env(safe-area-inset-top)));padding-bottom:calc(1rem + var(--safe-area-inset-bottom,env(safe-area-inset-bottom)));max-width:40rem;margin:0 auto}.crash-details pre{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.settings label{padding:.5rem 0;display:block}.settings fieldset{margin:0 0 1rem}.settings-select{flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 1rem;display:flex}.settings-select label{padding:0}.settings-select .accent-swatch{margin-right:0}.settings-select select{font-size:1rem}.accent-swatch{vertical-align:-.1em;border-radius:50%;width:.9em;height:.9em;margin-right:.3em;display:inline-block}.settings label input[type=number]{width:4rem;margin-left:.5rem}.settings>button{margin-top:.5rem}.range-filter{margin:0 .5rem .5rem 0}.settings>button+button{margin-left:1rem}.help-image img{max-width:100%;margin-top:.5rem;display:block}.help-image .help-image-dark{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .help-image-light{display:none}:root:not([data-theme=light]) .help-image-dark{display:block}}:root[data-theme=dark] .help-image-light{display:none}:root[data-theme=dark] .help-image-dark{display:block}.settings-new-cards-row{flex-direction:column;gap:.5rem;padding:.5rem 0;display:flex}.settings-new-cards-row label{padding:0}.settings-reset{box-sizing:border-box;min-inline-size:0;width:100%}.settings-reset-buttons{grid-template-columns:repeat(2,minmax(0,max-content));justify-content:start;gap:.5rem;display:grid}.settings-reset-buttons>button:last-of-type{color:var(--danger)}.import-confirm p{white-space:pre-wrap}.import-confirm button+button{margin-left:1rem}.settings-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin:2.25rem 0 1.25rem;padding:0 1rem 1rem}.settings-section-heading{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;background:linear-gradient(var(--ground) 1rem, var(--panel) 1rem);width:fit-content;margin:-1rem 0 .5rem -.4rem;padding:0 .4rem;font-size:1.5rem;line-height:2rem}.settings-field-description{margin:0 0 .5rem;padding:0}.settings-card>:last-child,.settings-card>:last-child>:last-child,.settings-card .account-section{margin-bottom:0}@media (width>=387px) and (width<=414.98px){.settings-reset-buttons>button:first-of-type:lang(ja){font-size:.6875rem}}.settings-copyright{border-top:1px solid var(--line);color:var(--ink-soft);text-align:center;margin:1.5rem 0 0;padding-top:.75rem;font-size:.8125rem}
