@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.contents{display:contents}.hidden{display:none}.table{display:table}.rounded{border-radius:.25rem}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#e7eae4;font-synthesis:none;--bg:#111512;--panel:#181d19;--raised:#202720;--line:#2b342c;--text:#e7eae4;--muted:#94a095;--accent:#c0ee83;--danger:#f49987;color-scheme:dark;background:#111512;font-family:Segoe UI Variable,Segoe UI,sans-serif}:root[data-theme=light]{--bg:#f5f6ef;--panel:#fff;--raised:#e9eddf;--line:#d5dccd;--text:#20291d;--muted:#64705c;--accent:#49751c;--danger:#b63728;color-scheme:light;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{transition:color .16s,background .16s}button{cursor:pointer;border:1px solid var(--line);background:var(--raised);color:var(--text);border-radius:var(--radius-control);justify-content:center;align-items:center;gap:8px;padding:9px 13px;font-size:13px;font-weight:500;display:inline-flex}button:hover{background:var(--line)}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit;text-decoration:none}input,select,textarea{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-control);outline:none;padding:10px 12px}input:focus,textarea:focus{border-color:var(--accent)}select{cursor:pointer}textarea{resize:none;min-height:85px}label{color:var(--muted);flex-direction:column;gap:9px;font-size:13px;display:flex}:focus-visible{outline:1px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){:focus-visible{outline:1px solid color-mix(in srgb,var(--accent) 65%,transparent)}}:focus-visible{outline-offset:2px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1px;font-size:30px;font-weight:550;line-height:1.3}h1>span{color:var(--accent)}h2{font-size:16px;font-weight:550}h3{font-size:14px}small{font-size:11px}.muted{color:var(--muted)}.app-shell{max-width:1480px;margin:0 auto;padding:0 52px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:76px;display:flex}.brand{align-items:center;gap:10px;display:flex}.brand>svg{color:var(--accent)}.brand>span{letter-spacing:-1.2px;font-size:25px;font-weight:650}.brand>span>span{color:var(--accent);font-weight:450}.brand>small{letter-spacing:1px;border:1px solid var(--line);color:var(--muted);margin-left:8px;padding:3px 5px;font-family:Consolas,monospace;font-size:9px}.header-controls{align-items:center;gap:12px;display:flex}.puzzle-select{background:var(--panel);justify-content:space-between;min-width:125px}.puzzle-select svg:first-child{color:var(--accent)}.mode-select{color:var(--muted);background:0 0;border:0;font-size:12px}.icon-button{color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;padding:8px;display:inline-flex}.icon-button:hover{color:var(--accent);background:var(--raised)}.navigation-row{justify-content:space-between;align-items:center;padding:16px 0 0;display:flex}.navigation-tabs{background:var(--panel);border:1px solid var(--line);border-radius:30px;gap:4px;padding:4px;display:flex}.navigation-tabs a{color:var(--muted);border-radius:25px;align-items:center;gap:9px;padding:10px 21px;font-size:13px;display:flex}.navigation-tabs a.active{color:var(--bg);background:var(--accent);font-weight:600}.secondary-nav{color:var(--muted);gap:26px;font-size:12px;display:flex}.secondary-nav a{align-items:center;gap:7px;display:flex}.secondary-nav a.active{color:var(--accent)}.page-heading{justify-content:space-between;align-items:center;gap:20px;padding:24px 0 20px;display:flex}.eyebrow{letter-spacing:1.8px;color:var(--muted);margin-bottom:10px;font-family:Consolas,monospace;font-size:10px;display:block}.session-select{align-items:center;gap:3px;display:flex}.session-select select{color:var(--muted);background:0 0;border:0;max-width:210px;font-size:12px}.timer-layout{grid-template-columns:minmax(0,1fr) 270px;gap:25px;display:grid}.timer-workspace{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.scramble-section{border-bottom:1px solid var(--line);padding:19px 26px 21px}.section-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;font-size:11px;display:flex}.section-heading>span:first-child{letter-spacing:1.3px;font-family:Consolas,monospace}.section-heading>div{align-items:center;gap:8px;display:flex}.scramble{word-break:break-word;letter-spacing:.6px;color:var(--text);font-family:Consolas,Courier New,monospace;font-size:16px;line-height:1.8}.text-button{color:var(--muted);background:0 0;border:0;padding:4px;font-size:11px}.text-button.active{color:var(--accent)}.timer-center{grid-template-columns:45% 55%;align-items:center;min-height:300px;padding:18px 22px;display:grid}.viewer{width:100%;min-width:0;position:relative}.player-host{justify-content:center;align-items:center;width:100%;height:270px;display:flex}.player-host twisty-player{width:100%;height:100%}.viewer-label{letter-spacing:1.3px;color:var(--muted);align-items:center;gap:7px;padding:6px 8px;font-family:Consolas,monospace;font-size:9px;display:flex}.viewer-label>span:last-child{letter-spacing:0;margin-left:auto;font-size:9px}.status-dot{background:var(--accent);border-radius:50%;width:5px;height:5px;display:inline-block}.viewer-toolbar{justify-content:space-between;align-items:center;gap:5px;padding:5px 4px;display:flex}.viewer-toolbar select{width:99px;color:var(--muted);background:0 0;border:0;padding:6px;font-size:11px}.viewer-toolbar>div{display:flex}.viewer-toolbar .icon-button{padding:6px}.playback{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.playback button{background:0 0;border:0;padding:6px}.playback select{padding:3px;font-size:11px}.timer-surface{text-align:center;-webkit-user-select:none;user-select:none;touch-action:none;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:240px;display:flex}.timer-state{letter-spacing:2px;color:var(--muted);margin-bottom:15px;font-family:Consolas,monospace;font-size:9px}.timer-digits{font-variant-numeric:tabular-nums;letter-spacing:-3px;font-family:Bahnschrift,Consolas,monospace;font-size:clamp(50px,6.8vw,100px);font-weight:350;line-height:1.15}.timer-surface p{color:var(--muted);margin-top:18px;font-size:12px}.timer-shortcuts{color:var(--muted);align-items:center;gap:10px;margin-top:20px;font-size:10px;display:flex}kbd{background:var(--raised);border:1px solid var(--line);border-bottom-width:2px;border-radius:4px;padding:3px 8px;font-family:Consolas,monospace;font-size:10px}.timer-surface.ready .timer-digits,.timer-surface.ready .timer-state{color:var(--accent)}.timer-surface.holding .timer-digits{color:var(--danger)}.timer-surface.running .timer-state{color:var(--accent)}.timer-surface.running .timer-shortcuts{visibility:hidden}.stats-summary{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.stats-summary.compact{border:0;border-top:1px solid var(--line);background:var(--raised);border-radius:0}@supports (color:color-mix(in lab,red,red)){.stats-summary.compact{background:color-mix(in srgb,var(--raised) 40%,var(--panel))}}.stats-summary>div{border-right:1px solid var(--line);flex-direction:column;gap:9px;padding:20px 27px;display:flex}.stats-summary>div:last-child{border-right:0}.stats-summary span{color:var(--muted);font-size:11px}.stats-summary strong{font-variant-numeric:tabular-nums;font-family:Bahnschrift,Consolas,monospace;font-size:24px;font-weight:400}.session-panel{padding:14px 0}.session-panel .section-heading{border-bottom:1px solid var(--line);padding:0 7px 9px}.solve-row{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:5px;align-items:center;gap:20px;width:100%;padding:13px 10px;display:flex}.solve-row strong{min-width:75px;font-family:Consolas,monospace;font-size:16px;font-weight:400}.solve-row .muted{white-space:nowrap;font-size:11px}.solve-number{color:var(--muted);min-width:15px;font:10px Consolas,monospace}.solve-scramble{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font:11px Consolas,monospace;overflow:hidden}.compact .solve-row{gap:14px}.compact .solve-row .muted{margin-left:auto}.history-link{color:var(--accent);justify-content:center;align-items:center;gap:9px;padding:18px;font-size:11px;display:flex}.empty{text-align:center;color:var(--muted);padding:55px 15px;font-size:13px}.empty p{margin:12px 0 6px}.empty-symbol{color:var(--accent);font-size:30px}.practice-note{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:10px;margin-top:35px;padding:22px 8px;font-size:11px;line-height:1.9;display:flex}.practice-note svg{color:var(--accent);flex-shrink:0}.practice-note span{font-size:10px}.workspace-footer{color:var(--muted);justify-content:space-between;align-items:center;margin:21px 2px;font:10px Consolas,monospace;display:flex}.workspace-footer .status-dot{margin-right:7px}.app-footer{border-top:1px solid var(--line);color:var(--muted);letter-spacing:1px;justify-content:space-between;margin-top:45px;padding:22px 0;font:9px Consolas,monospace;display:flex}.app-footer>span>span{color:var(--accent);padding:0 8px}.app-footer a{letter-spacing:0;align-items:center;gap:6px;display:flex}.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}.primary:hover{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.primary:hover{background:color-mix(in srgb,var(--accent) 85%,white)}}.button-row{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.segmented{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-control);gap:3px;padding:4px;display:flex}.segmented button{color:var(--muted);white-space:nowrap;background:0 0;border:0}.segmented button.active{color:var(--accent);background:var(--raised)}.playground-layout{grid-template-columns:minmax(0,1fr) 340px;gap:30px;display:grid}.playground-stage{background:var(--panel);border:1px solid var(--line);border-radius:12px;align-self:start;padding:20px}.stage-status{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:20px;margin-top:15px;padding:18px 4px 3px;font-size:12px;display:flex}.stage-status>span{align-items:center;gap:8px;display:flex}.stage-status .solved{color:var(--accent)}.stage-status strong{margin-left:auto;font:24px Consolas,monospace}.playground-controls{padding:6px 0}.playground-controls form .primary{width:100%;margin-top:10px}.move-pad{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:15px;display:grid}.move-pad button{padding:10px;font:14px Consolas,monospace}.control-hint{color:var(--muted);margin-top:15px;font-size:10px;line-height:1.9}.move-history{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:18px;padding:16px 0}.move-history p{color:var(--muted);word-break:break-word;max-height:120px;font:12px/1.8 Consolas,monospace;overflow:auto}.move-history .text-button{margin-top:10px}.virtual-controls p{color:var(--muted);margin-bottom:16px;font-size:12px;line-height:1.7}.virtual-result{color:var(--accent);flex-direction:column;gap:8px;padding:18px;font-size:12px;display:flex}.chart-section{border:1px solid var(--line);border-radius:12px;margin-top:30px;padding:26px}.chart{width:100%;height:auto}.chart line{stroke:var(--line);stroke-width:1px}.chart text{fill:var(--muted);font:10px Consolas,monospace}.chart .data-line{stroke:var(--accent);stroke-width:2px}.chart circle{fill:var(--accent)}.stats-explanation{color:var(--muted);margin:22px 0;font-size:12px;line-height:1.8}.settings-layout{grid-template-columns:1.3fr 1fr;gap:80px;display:grid}.setting-row{border-bottom:1px solid var(--line);color:var(--text);flex-direction:row;justify-content:space-between;align-items:center;padding:22px 0}.setting-row small{color:var(--muted);margin-top:7px;display:block}.setting-row input[type=number]{width:95px}.setting-row input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.setting-row select{min-width:95px}.keyboard-mapper{margin-top:35px}.keyboard-mapper>p,.data-settings>p{color:var(--muted);margin:12px 0 22px;font-size:12px;line-height:1.8}.mapping-form{align-items:end;gap:9px;display:flex}.mapping-form label{min-width:0}.mapping-form input{width:100%}.keybinding-list{grid-template-columns:repeat(3,1fr);gap:8px;max-height:250px;margin:18px 0;display:grid;overflow:auto}.keybinding-list>div{align-items:center;gap:8px;padding:5px 0;font:11px Consolas,monospace;display:flex}.button-stack{flex-direction:column;gap:10px;display:flex}.button-stack button{justify-content:flex-start}.danger-zone{border-top:1px solid var(--line);flex-direction:column;gap:10px;margin-top:40px;padding-top:25px;display:flex}.danger-zone h3{margin-bottom:8px}.danger-zone button{background:0 0;justify-content:flex-start}.danger{color:var(--danger);background:0 0}.error{color:var(--danger);padding:10px 0;font-size:12px;line-height:1.7}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.modal{background:var(--panel);border:1px solid var(--line);border-radius:15px;width:600px;max-width:100%;max-height:88dvh;padding:25px;overflow:auto;box-shadow:0 15px 50px #0004}.modal>header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.modal form>.primary{margin-top:18px}.search{background:var(--bg);border:1px solid var(--line);border-radius:7px;flex-direction:row;align-items:center;padding-left:12px;display:flex}.search input{background:0 0;border:0;width:100%}.category-tabs{white-space:nowrap;gap:7px;padding:18px 0;display:flex;overflow:auto}.category-tabs button{background:0 0;font-size:11px}.category-tabs button.active{color:var(--accent);border-color:var(--accent)}.puzzle-list{max-height:400px;overflow:auto}.puzzle-list>div{border-radius:8px;align-items:center;padding:3px;display:flex}.puzzle-list>div.selected{background:var(--raised)}.puzzle-option{text-align:left;background:0 0;border:0;flex:1;justify-content:flex-start;gap:16px;padding:14px}.puzzle-option svg{color:var(--accent)}.puzzle-option span{flex-direction:column;gap:6px;display:flex}.puzzle-option small{color:var(--muted)}.detail-time{margin-bottom:10px;font:55px Bahnschrift,Consolas,monospace}.modal>.segmented{width:fit-content;margin-top:18px}.detail-scramble{margin-top:20px;font-size:13px}.modal label{margin:20px 0}.spin{animation:1s linear infinite spin}fieldset{border:0;min-width:0;margin:0;padding:0}.player-host:fullscreen{background:var(--bg);width:100vw;height:100dvh}.player-host:fullscreen twisty-player{width:100%;height:100%}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1500px){.timer-center{min-height:420px}.player-host{height:310px}}@media(max-width:1100px){.app-shell{padding:0 30px}.timer-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.timer-center{grid-template-columns:1fr;min-height:0;padding:15px}.player-host{height:235px}.timer-surface{min-height:235px}.timer-digits{font-size:86px}.viewer-toolbar{max-width:300px;margin:auto}.viewer-label{max-width:350px;margin:auto}.playground-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.viewer.large .player-host{height:400px}.settings-layout{gap:35px}.keybinding-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.app-shell{padding:0 18px}.app-header{height:78px}.brand>span{font-size:22px}.brand>small{display:none}.brand>svg{width:23px}.header-controls{gap:4px}.puzzle-select{min-width:105px;padding:9px}.mode-select{max-width:92px;padding:5px;font-size:10px}.header-controls>.icon-button{display:none}.navigation-row{gap:12px;padding-top:18px}.navigation-tabs{gap:0}.navigation-tabs a{gap:5px;padding:9px 12px;font-size:11px}.navigation-tabs svg{width:14px}.secondary-nav{gap:12px}.secondary-nav a{gap:0;font-size:0}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:15px;padding:27px 0 22px}h1{font-size:25px}.eyebrow{font-size:9px}.timer-layout{flex-direction:column;display:flex}.timer-center{flex-direction:column;padding:14px;display:flex}.timer-center>.viewer{order:2}.timer-surface{order:1;width:100%;min-height:225px}.timer-digits{font-size:85px}.player-host{height:255px}.viewer-label{width:100%}.timer-shortcuts{margin-top:14px}.scramble-section{padding:15px 18px}.scramble{font-size:13px;line-height:1.9}.scramble-section .section-heading{margin-bottom:8px}.text-button{font-size:10px}.stats-summary>div{padding:16px 15px}.stats-summary strong{font-size:22px}.session-panel{padding:10px 0}.practice-note{display:none}.workspace-footer{gap:20px;font-size:9px}.workspace-footer>span:last-child{display:none}.app-footer{letter-spacing:.5px;margin-top:25px;font-size:8px}.app-footer>span>span{padding:0 2px}.app-footer a{font-size:8px}.playground-layout{flex-direction:column;display:flex}.playground-stage{width:100%;padding:12px}.viewer.large .player-host{height:330px}.playground-controls{width:100%}.playground-controls form{align-items:end;gap:10px;display:flex}.playground-controls form>label{flex:1}.playground-controls form .primary{width:auto;height:85px;margin:0;font-size:11px}.page-heading>.segmented{width:100%}.segmented button{flex:1;font-size:11px}.stats-summary:not(.compact){grid-template-columns:repeat(3,1fr)}.chart-section{padding:15px}.chart-section h2{font-size:12px}.chart-section select{font-size:11px}.settings-layout{flex-direction:column;gap:40px;display:flex}.keybinding-list{grid-template-columns:repeat(3,1fr)}.solve-row{gap:12px}.solve-row .muted{font-size:9px}.solve-scramble{display:none}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:18px 18px 0 0;width:100%;max-height:90dvh;padding:23px}.timer-workspace{border-radius:12px}.timer-layout .session-panel .empty{padding:25px}.timer-center .viewer-toolbar{width:100%}}@media(prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}:root{--radius-control:10px;--radius-panel:16px;--radius-pill:999px}html{scrollbar-gutter:stable}*{scrollbar-width:thin;scrollbar-color:var(--line) transparent}button,input,textarea{min-width:0}textarea{height:96px;min-height:96px;max-height:96px;line-height:1.6;overflow:auto}input:focus-visible,textarea:focus-visible{box-shadow:0 0 0 2px var(--accent);outline:none}@supports (color:color-mix(in lab,red,red)){input:focus-visible,textarea:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent)}}.search:focus-within{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.search:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}}.search:focus-within{box-shadow:0 0 0 2px var(--accent)}@supports (color:color-mix(in lab,red,red)){.search:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 8%,transparent)}}.search input:focus-visible{box-shadow:none}.select-trigger{background:var(--panel);min-height:38px;color:var(--text);border:1px solid var(--line);border-radius:var(--radius-control);justify-content:space-between;align-items:center;gap:12px;max-width:100%;padding:8px 12px;font-size:12px;display:inline-flex}.select-trigger>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.select-trigger[data-state=open]{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.select-trigger[data-state=open]{border-color:color-mix(in srgb,var(--accent) 55%,var(--line))}}.select-content{z-index:210;min-width:var(--radix-select-trigger-width);max-width:min(320px,100vw - 24px);max-height:min(320px,var(--radix-select-content-available-height));border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:hidden;box-shadow:0 12px 36px #0005}.select-viewport{padding:5px}.select-item{color:var(--muted);cursor:pointer;border-radius:8px;outline:none;justify-content:space-between;align-items:center;gap:18px;padding:10px 12px;font-size:12px;display:flex}.select-item[data-highlighted]{background:var(--raised);color:var(--text)}.select-item[data-state=checked]{color:var(--accent);background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.select-item[data-state=checked]{background:color-mix(in srgb,var(--accent) 7%,var(--panel))}}.select-scroll{justify-content:center;padding:4px;display:flex}.language-button{color:var(--muted);background:0 0;border-color:#0000;gap:6px;padding:9px;font-size:11px}.mode-select{min-width:105px}.segmented,.category-tabs{border-radius:var(--radius-pill);border:1px solid var(--line);background:var(--panel);gap:3px;padding:4px}.segmented button,.category-tabs button{border-radius:var(--radius-pill);border:0;padding:8px 14px;font-size:12px}.segmented button.active,.category-tabs button.active{background:var(--accent);color:var(--bg);border-color:#0000}.viewer-toolbar .select-trigger{background:0 0;min-height:30px;padding:6px 9px;font-size:10px}.playback .select-trigger{border:1px solid var(--line);padding:4px 8px;font-size:11px}.scramble-section{padding:14px 20px}.scramble-section .section-heading{margin-bottom:10px}.scramble-section .scramble,.playground-scramble{max-height:78px;font-size:14px;overflow:auto}.timer-center{padding:12px 18px}.stats-summary.compact>div{gap:6px;padding:14px 20px}.session-panel .empty{min-height:210px}.playground-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:24px}.playground-stage{border-radius:var(--radius-panel);padding:16px}.viewer.large .player-host{height:clamp(260px,100dvh - 430px,480px)}.playground-controls{scrollbar-gutter:stable;max-height:max(470px,100dvh - 260px);padding:4px 6px 4px 0;overflow-y:auto}.playground-controls .section-heading{margin-bottom:12px}.playground-controls .button-row{margin:10px 0}.move-tabs{margin-top:12px}.move-tabs button{flex:1;padding:7px 8px}.move-pad{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.move-pad button{min-height:38px;padding:8px}.control-hint{margin-top:12px;font-size:10px;line-height:1.65}.move-history{margin-top:12px;padding:10px 0}.move-history .section-heading{margin-bottom:6px}.move-history p{overflow-wrap:anywhere;min-height:22px;max-height:62px}.stage-status{margin-top:10px;padding-top:12px}.catalog-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin:16px 0 10px;display:flex}.category-tabs{white-space:normal;display:flex;overflow:visible}.category-tabs button{padding:8px 12px}.filter-button{background:0 0;padding:9px 11px}.filter-button.active{color:var(--accent);background:var(--raised)}.catalog-filters{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 0 10px;display:grid}.catalog-filters button{background:0 0;justify-content:space-between;padding:8px 10px;font-size:11px}.catalog-filters button.active{color:var(--accent);background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.catalog-filters button.active{background:color-mix(in srgb,var(--accent) 8%,var(--panel))}}.catalog-filters button.active{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.catalog-filters button.active{border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}}.catalog-filters small{opacity:.65}.catalog-count{color:var(--muted);margin:0 0 8px;font-size:10px}.modal:has(.puzzle-list){flex-direction:column;height:min(660px,100dvh - 48px);display:flex;overflow:hidden}.modal:has(.puzzle-list)>header,.modal .search{flex-shrink:0}.puzzle-list{overscroll-behavior:contain;flex:1;min-height:0;max-height:none;padding-right:4px;overflow:hidden auto}.puzzle-option{min-width:0;padding:12px}.puzzle-option span{min-width:0}.puzzle-option small{font-size:10px}.modal>header{margin-bottom:16px}.settings-tabs{width:fit-content;margin-bottom:20px}.settings-layout{max-width:860px;display:block}.settings-layout>[hidden]{display:none}.setting-row{padding:16px 0}.setting-row .select-trigger{min-width:142px}.setting-row input{width:142px}.switch{border-radius:var(--radius-pill);background:var(--raised);justify-content:flex-start;width:44px;height:25px;padding:3px}.switch span{background:var(--muted);border-radius:50%;width:17px;height:17px;transition:transform .15s}.switch[aria-checked=true]{background:var(--accent);border-color:var(--accent)}.switch[aria-checked=true] span{background:var(--bg);transform:translate(17px)}.keybinding-list{max-height:300px;padding-right:5px;overflow:auto}.confirm-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:220;background:#0009;position:fixed;inset:0}.confirm-dialog{z-index:221;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-panel);width:min(460px,100vw - 32px);padding:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 15px 50px #0005}.confirm-dialog h2{margin-bottom:12px}.confirm-dialog p{color:var(--muted);font-size:13px;line-height:1.7}.confirm-dialog .button-row{justify-content:flex-end;margin-bottom:0}@media(min-width:761px)and (max-width:1100px){.timer-center{grid-template-columns:45% 55%}.timer-surface{min-height:260px}.player-host{height:225px}.timer-digits{font-size:clamp(54px,7.6vw,86px)}.viewer-toolbar{max-width:100%}.playground-layout{grid-template-columns:minmax(0,1fr) 300px}.app-shell{padding:0 24px}}@media(max-width:760px){html{scrollbar-gutter:auto}.app-shell{padding:0 16px}.app-header{flex-wrap:wrap;gap:10px;height:auto;min-height:72px;padding:12px 0}.brand>span{font-size:21px}.brand>svg{width:22px}.brand{gap:7px}.header-controls{gap:5px}.puzzle-select{min-width:84px;max-width:130px;padding:8px;font-size:11px}.puzzle-select span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mode-select{min-width:85px;max-width:105px;padding:8px;font-size:10px}.language-button{padding:8px 5px}.language-button svg{display:none}.navigation-row{gap:8px;padding-top:12px}.navigation-tabs{flex:1;max-width:370px}.navigation-tabs a{flex:1;justify-content:center;gap:5px;padding:9px 10px;font-size:11px}.secondary-nav{gap:8px}.secondary-nav a{padding:7px 3px}.page-heading{gap:12px;padding:20px 0 16px}.eyebrow{margin-bottom:7px;font-size:8px}h1{letter-spacing:-.7px;font-size:24px}.timer-center{padding:8px 12px}.timer-surface{min-height:195px}.timer-digits{font-size:76px}.timer-state{margin-bottom:10px}.timer-surface p{margin-top:10px;font-size:11px}.timer-shortcuts{margin-top:12px}.timer-center .player-host{height:180px}.timer-center .viewer-label{padding-top:4px}.scramble-section{padding:12px 16px}.scramble-section .scramble{max-height:66px;font-size:12px}.scramble-section .text-button{font-size:10px}.stats-summary.compact>div{padding:12px 14px}.stats-summary.compact strong{font-size:21px}.session-panel{padding-top:8px}.session-panel .empty{min-height:140px;padding:22px 0}.practice-note{display:none}.playground-layout{flex-direction:column;gap:16px;display:flex}.playground-stage,.playground-controls{width:100%}.playground-stage{padding:12px}.viewer.large .player-host{height:clamp(240px,40dvh,340px)}.playground-controls{max-height:none;padding:0;overflow:visible}.playground-controls .move-pad{grid-template-columns:repeat(3,1fr)}.page-heading .segmented{width:100%}.page-heading .segmented button{flex:1;padding:8px 9px;font-size:11px}.control-hint{font-size:10px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);padding:18px}.modal:has(.puzzle-list){height:min(620px,100dvh - 24px)}.catalog-toolbar{gap:6px}.category-tabs{gap:0}.category-tabs button{padding:8px 9px;font-size:10px}.filter-button{gap:5px;padding:8px;font-size:10px}.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.setting-row{gap:16px}.setting-row .select-trigger,.setting-row input{width:122px;min-width:122px}.setting-row small{line-height:1.6}.app-footer{padding:16px 0;font-size:8px}}@media(max-width:400px){.app-header{column-gap:4px}.brand>span{font-size:18px}.brand>svg{width:18px}.brand{gap:5px}.header-controls{gap:3px}.mode-select{min-width:74px;max-width:80px;padding:7px}.puzzle-select{min-width:80px;max-width:102px}.navigation-tabs a{padding:8px 7px;font-size:10px}.navigation-tabs a svg{width:13px}.language-button{font-size:10px}}.guide-toggle,.session-toggle{display:none}@media(min-width:761px){.timer-center{min-height:285px}.timer-center .player-host{height:clamp(200px,100dvh - 500px,280px)}}@media(max-width:760px){.modal-backdrop{align-items:center}.modal{border-radius:var(--radius-panel)}.viewer.large .player-host{height:clamp(220px,29dvh,280px)}.playground-controls form{display:block}.playground-controls form .primary{width:100%;height:auto;min-height:38px;margin-top:8px;font-size:12px}.playground-controls textarea{height:76px;min-height:76px;max-height:76px}.playground-controls .move-pad{grid-template-columns:repeat(6,minmax(0,1fr))}.playground-controls .move-pad button{font-size:12px}.guide-toggle,.session-toggle{display:inline-flex}.control-hint{display:none}.control-hint.expanded{display:block}.session-panel:not(.expanded)>:not(.section-heading){display:none}.session-panel .section-heading{margin-bottom:0}.session-panel.expanded .section-heading{margin-bottom:12px}.session-toggle{margin-left:auto}.app-footer{margin-top:14px}}.number-stepper{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-control);align-items:center;width:142px;padding:3px;display:flex}.number-stepper button{background:0 0;border:0;min-height:30px;padding:6px}.setting-row .number-stepper input{text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;flex:1;width:62px;min-width:0;padding:7px 2px}@media(max-width:760px){.number-stepper{width:122px;min-width:122px}}.workspace-recovery{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:300px;padding:32px;display:flex}.workspace-recovery>svg{color:var(--accent)}.workspace-recovery p{color:var(--muted);max-width:400px;font-size:13px;line-height:1.7}.turn-toolbar{color:var(--muted);justify-content:space-between;align-items:center;margin-top:10px;font-size:10px;display:flex}.turn-modifiers{padding:2px}.turn-modifiers button{width:32px;min-height:30px;padding:4px;font-family:Consolas,monospace}@media(min-width:761px){.playground-stage:has(.playground-scramble) .player-host{height:clamp(240px,100dvh - 500px,420px)}}.app-footer{margin-top:24px;padding:18px 0}.algorithm-toggle{display:none}@media(max-width:760px){.algorithm-toggle{margin-bottom:6px;display:inline-flex}.playground-controls[data-editor=closed] .algorithm-editor,.playground-controls>.section-heading,.move-history:has(.section-heading button:disabled){display:none}.timer-surface{min-height:160px}.timer-digits{font-size:68px}.timer-shortcuts{display:none}.timer-center .player-host{height:145px}.timer-center .viewer-label{display:none}.app-footer{margin-top:10px;padding:14px 0}}@media(max-width:350px){.navigation-row{flex-wrap:wrap;gap:5px}.navigation-tabs{flex-basis:100%}.navigation-tabs a{padding:8px 6px}.secondary-nav{justify-content:flex-end;width:100%}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
