@import "https://fonts.cdnfonts.com/css/digital-7-mono";:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%;min-height:100vh}body{color:#e5e7eb;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#09101d;font-family:Arial,sans-serif;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button,input,select,textarea{border:none;outline:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #7aa2d6}.app-state,.focus-mode{color:#e5e7eb;background:#09101d;justify-content:center;align-items:center;min-height:100vh;display:flex}.app-loading,.app-state-auth{text-align:center}.auth-shell,.focus-mode-timer{width:min(92vw,560px)}.loading-message{color:#f8fafc;font-size:1.1rem;font-weight:600}.app{background:#09101d;grid-template-rows:78px minmax(0,1fr);grid-template-columns:270px minmax(0,1fr) 170px;width:100vw;max-width:100vw;height:100vh;min-height:100vh;display:grid;position:relative;overflow:hidden}.panel{min-width:0;min-height:0;box-shadow:none;border:1px solid #243047;border-radius:0}.app-header,.scramble-panel,.app-mode-panel,.stats-panel,.sessions-panel,.solves-panel{background:#1a2232}.timer-panel{background:#12335d;border-color:#2b5586}.app-header{z-index:2;grid-area:1/1;justify-content:center;align-items:center;padding:.4rem .75rem;display:flex;position:relative}.app-title{letter-spacing:.08em;text-transform:uppercase;text-align:center;color:#f8fafc;font-size:2rem;font-weight:900;line-height:.92}.scramble-panel{text-align:center;pointer-events:none;z-index:1;grid-area:1/1/auto/-1;justify-content:center;align-items:center;padding:.35rem 170px .35rem 270px;display:flex;position:relative;overflow:hidden}.scramble-text{text-align:center;color:#eff6ff;word-break:break-word;pointer-events:auto;justify-content:center;align-items:center;width:100%;max-width:720px;margin:0 auto;font-size:1rem;line-height:1.25;display:flex;transform:translate(90px)}summary.scramble-text{list-style:none}summary.scramble-text::-webkit-details-marker{display:none}.app-mode-panel{z-index:2;grid-area:1/3;justify-content:stretch;align-items:stretch;padding:0;display:flex;position:relative}.app-mode-panel>*{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.app-mode-badge{flex-direction:column;justify-content:center;align-items:center;gap:.2rem;display:inline-flex}.app-mode-badge__label{background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex}.app-mode-badge__text{color:#f4f8ffd1;margin:0;font-size:.78rem;font-weight:500;line-height:1}.app-mode-badge__button{color:#f4f8ff;background:#ffffff0a;border:1px solid #ffffff24;border-radius:6px;min-height:30px;padding:.2rem .6rem;font-size:.82rem;font-weight:600;line-height:1;transition:background .16s,border-color .16s,transform .16s}.app-mode-badge__button:hover,.app-mode-badge__button:focus-visible{background:#ffffff14;border-color:#ffffff3d;transform:translateY(-1px)}.app-layout{grid-area:2/1/auto/-1;grid-template-rows:220px minmax(0,1fr) 150px;grid-template-columns:270px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.stats-panel{grid-area:1/1;padding:.65rem .7rem;overflow:hidden auto}.stats-panel>*{width:100%}.stats-panel table{table-layout:fixed;border-collapse:collapse;width:100%}.stats-panel thead th{z-index:1;background:#1a2232;position:sticky;top:0}.stats-panel th,.stats-panel td{white-space:nowrap;color:#f1f5f9;padding:.22rem .2rem;font-size:.78rem;line-height:1.25}.stats-panel th{font-weight:700}.stats-panel td{font-weight:500}.stats-panel th:first-child,.stats-panel td:first-child{text-align:left;width:34%}.stats-panel th:nth-child(2),.stats-panel td:nth-child(2),.stats-panel th:nth-child(3),.stats-panel td:nth-child(3){text-align:center;width:33%}.solves-panel{grid-area:2/1;padding:.65rem .8rem;overflow:hidden}.solves-panel table{border-collapse:separate;border-spacing:0 .18rem;table-layout:auto;width:100%}.solves-panel th,.solves-panel td{white-space:nowrap;color:#f3f6fb;padding:.1rem .38rem;font-size:.78rem;line-height:1.35}.solves-panel th{padding-bottom:.3rem;font-weight:700}.solves-panel td{font-weight:500}.solves-panel th:first-child,.solves-panel td:first-child{text-align:right;width:16%;padding-right:.48rem}.solves-panel th:nth-child(2),.solves-panel td:nth-child(2),.solves-panel th:nth-child(3),.solves-panel td:nth-child(3),.solves-panel th:nth-child(4),.solves-panel td:nth-child(4){text-align:left}.solves-panel tbody tr:hover{background:#ffffff08}.sessions-panel{grid-area:3/1;padding:.55rem .7rem;overflow:hidden auto}.sessions-tool{flex-direction:column;gap:.6rem;display:flex}.session-create-button{color:#f8fafc;background:#2a3850;border:1px solid #42516c;width:100%;min-height:36px;padding:.5rem .75rem;font-size:.92rem;font-weight:700;line-height:1.1;transition:background .16s,border-color .16s}.session-create-button:hover,.session-create-button:focus-visible{background:#355079;border-color:#5b7aa8}.session-list{flex-direction:column;gap:.45rem;list-style:none;display:flex}.session-item{cursor:pointer;background:#ffffff05;border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;gap:.6rem;min-width:0;padding:.45rem .5rem;transition:background .16s,border-color .16s;display:flex}.session-item:hover,.session-item:focus-within{background:#ffffff0f;border-color:#3f4f69}.session-content{flex:1;min-width:0}.session-name{color:#f8fafc;white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;font-weight:700;line-height:1.2;overflow:hidden}.session-meta{color:#c7d2e3;margin-top:.15rem;font-size:.78rem;line-height:1.2}.session-input{color:#f8fafc;background:#0f1724;border:1px solid #5c7296;border-radius:6px;width:100%;min-height:34px;padding:.4rem .55rem}.session-actions{opacity:0;pointer-events:none;align-items:center;gap:.35rem;transition:opacity .16s,transform .16s;display:flex;transform:translate(4px)}.session-item:hover .session-actions,.session-item:focus-within .session-actions{opacity:1;pointer-events:auto;transform:translate(0)}.session-icon-button{color:#f8fafc;background:#243247;border:1px solid #4a5d79;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.95rem;font-weight:700;line-height:1;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.session-icon-button:hover,.session-icon-button:focus-visible{background:#324766;border-color:#6b85ac;transform:translateY(-1px)}.session-icon-button-danger{color:#ffd7dc;background:#3b2630;border-color:#75505a}.session-icon-button-danger:hover,.session-icon-button-danger:focus-visible{background:#523240;border-color:#a16a78}.scroll-panel{height:100%;overflow:hidden auto}.scroll-panel::-webkit-scrollbar{width:8px}.stats-panel::-webkit-scrollbar{width:8px}.sessions-panel::-webkit-scrollbar{width:8px}.solves-panel::-webkit-scrollbar{width:8px}.scroll-panel::-webkit-scrollbar-track{background:#101827}.stats-panel::-webkit-scrollbar-track{background:#101827}.sessions-panel::-webkit-scrollbar-track{background:#101827}.solves-panel::-webkit-scrollbar-track{background:#101827}.scroll-panel::-webkit-scrollbar-thumb{background:#41506a;border-radius:999px}.stats-panel::-webkit-scrollbar-thumb{background:#41506a;border-radius:999px}.sessions-panel::-webkit-scrollbar-thumb{background:#41506a;border-radius:999px}.solves-panel::-webkit-scrollbar-thumb{background:#41506a;border-radius:999px}.timer-panel{text-align:center;flex-direction:column;grid-area:1/2/4;justify-content:flex-start;align-items:center;padding:.75rem 1.25rem 1rem;display:flex;overflow:hidden}.timer-panel>div:first-child{text-align:center;letter-spacing:-.018em;font-kerning:none;font-variant-ligatures:none;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum";white-space:pre;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;margin-top:.9rem;margin-bottom:.9rem;font-family:Digital-7 Mono,monospace;font-size:clamp(6.4rem,15.5vw,13rem);font-weight:400;line-height:.88;display:flex}.timer-panel>div:first-child span{text-align:center;min-width:4.16ch;font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-kerning:inherit;font-variant-ligatures:inherit;font-variant-numeric:inherit;font-feature-settings:inherit;white-space:inherit;backface-visibility:hidden;display:inline-block;transform:none}.summary-strip{background:#ffffff14;border-radius:8px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:1.2rem;margin-top:.2rem;margin-left:auto;margin-right:auto;padding:.7rem 1.1rem;display:inline-flex}.summary-item{color:#f8fbff;white-space:nowrap;font-size:2rem;font-weight:800}.solve-tool-inline{width:100%;margin-top:auto;padding-top:1rem}.solve-tool{flex-direction:column;align-items:center;gap:.32rem;width:100%;display:flex}.solve-tool__time{color:#f4f8ff;margin:0;font-size:1.12rem;font-weight:700;line-height:1}.solve-tool__actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.14rem;display:inline-flex}.solve-tool__comment{flex-direction:column;align-items:stretch;width:min(100%,320px);display:flex}.solve-tool__comment-row{grid-template-columns:1fr auto;gap:.18rem;width:100%;display:grid}.solve-tool__input{color:#f8fbff;background:#16263f;border:1px solid #5a6f92;border-radius:8px;width:100%;min-height:32px;padding:.34rem .52rem;font-size:.88rem}.solve-tool__input::placeholder{color:#9cb0ca;opacity:1}.solve-tool__input:focus{background:#1a2d49;border-color:#7aa2d6;box-shadow:0 0 0 2px #7aa2d62e}.solve-tool__button{color:#f4f8ff;background:#243247;border:1px solid #5a6f92;border-radius:8px;min-height:32px;padding:.3rem .56rem;font-size:.84rem;font-weight:700;line-height:1;transition:background .16s,border-color .16s,transform .16s}.solve-tool__button:hover,.solve-tool__button:focus-visible{background:#314661;border-color:#7aa2d6;transform:translateY(-1px)}.solve-tool__button--icon{min-width:32px;padding:.3rem .46rem}.focus-mode{padding:0}.focus-mode-timer{justify-content:center;align-items:center;width:100%;min-height:100vh;display:flex}.focus-mode-timer>div:first-child{letter-spacing:-.018em;font-kerning:none;font-variant-ligatures:none;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum";white-space:pre;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;justify-content:center;align-items:center;font-family:Digital-7 Mono,monospace;font-size:clamp(7.4rem,18.5vw,14.5rem);font-weight:400;line-height:.86;display:flex}.focus-mode-timer>div:first-child span{text-align:center;min-width:4.16ch;font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:inherit;font-kerning:inherit;font-variant-ligatures:inherit;font-variant-numeric:inherit;font-feature-settings:inherit;white-space:inherit;backface-visibility:hidden;display:inline-block;transform:translate(-.5ch)translateZ(0)}.session-modal{background:0 0;border:none;width:min(92vw,460px);max-width:460px;max-height:fit-content;margin:auto;padding:0;position:fixed;inset:0;overflow:visible}.session-modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050a14b8}.session-modal__card{background:#1a2232;border:1px solid #31425f;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px #0000006b}.session-modal__header{border-bottom:1px solid #ffffff14;padding:1.15rem 1.2rem .8rem}.session-modal__title{color:#f8fafc;font-size:1.25rem;font-weight:800;line-height:1.1}.session-modal__subtitle{color:#c7d2e3;margin-top:.45rem;font-size:.92rem;line-height:1.4}.session-modal__form{flex-direction:column;gap:1rem;padding:1rem 1.2rem 1.2rem;display:flex}.session-modal__field{flex-direction:column;gap:.4rem;display:flex}.session-modal__label{color:#e7edf7;font-size:.85rem;font-weight:700}.session-modal__input,.session-modal__select{color:#f8fafc;background:#0f1724;border:1px solid #5a6f92;border-radius:8px;width:100%;min-height:42px;padding:.7rem .8rem;font-size:.95rem;transition:border-color .16s,box-shadow .16s,background .16s}.session-modal__input::placeholder{color:#8fa1bb}.session-modal__input:focus,.session-modal__select:focus{background:#111b2a;border-color:#7aa2d6;box-shadow:0 0 0 3px #7aa2d62e}.session-modal__actions{justify-content:flex-end;gap:.65rem;margin-top:.25rem;display:flex}.session-modal__button{border:1px solid #0000;border-radius:8px;min-width:108px;min-height:40px;padding:.65rem .95rem;font-size:.92rem;font-weight:800;line-height:1;transition:background .16s,border-color .16s,transform .16s}.session-modal__button:hover,.session-modal__button:focus-visible{transform:translateY(-1px)}.session-modal__button--ghost{color:#eef4ff;background:#243247;border-color:#4b607d}.session-modal__button--ghost:hover,.session-modal__button--ghost:focus-visible{background:#314661;border-color:#6885ac}.session-modal__button--primary{color:#f8fbff;background:#3b5f91;border-color:#6089c0}.session-modal__button--primary:hover,.session-modal__button--primary:focus-visible{background:#4b74ad;border-color:#81a8db}.auth-page{background:radial-gradient(circle at top,#4a74ad29,#0000 32%),linear-gradient(#173764 0%,#122b4d 100%);justify-content:center;align-items:center;min-height:100dvh;padding:2rem 1rem;display:flex}.auth-page__shell{justify-content:center;width:100%;display:flex}.auth-page__card{background:#1a2232;border:1px solid #31425f;border-radius:16px;width:min(100%,460px);overflow:hidden;box-shadow:0 20px 60px #00000059}.auth-page__header{border-bottom:1px solid #ffffff14;padding:1.4rem 1.4rem 1rem}.auth-page__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#8fb2df;margin:0 0 .45rem;font-size:.82rem;font-weight:800}.auth-page__title{color:#f8fbff;margin:0;font-size:1.8rem;font-weight:800;line-height:1.1}.auth-page__subtitle{color:#c6d2e3;margin:.55rem 0 0;font-size:.95rem;line-height:1.45}.auth-form{flex-direction:column;gap:1rem;padding:1.2rem 1.4rem 1rem;display:flex}.auth-form__field{flex-direction:column;gap:.42rem;display:flex}.auth-form__label{color:#e8eef8;font-size:.88rem;font-weight:700}.auth-form__input{color:#f8fbff;background:#0f1724;border:1px solid #576d92;border-radius:10px;width:100%;min-height:46px;padding:.78rem .9rem;font-size:.96rem;transition:border-color .16s,box-shadow .16s,background .16s}.auth-form__input:focus{background:#111b2a;border-color:#7aa2d6;box-shadow:0 0 0 3px #7aa2d633}.auth-form__password-row{grid-template-columns:1fr auto;align-items:center;gap:.55rem;display:grid}.auth-form__input--password{min-width:0}.auth-form__toggle{color:#edf4ff;white-space:nowrap;background:#243247;border:1px solid #4f6487;border-radius:10px;min-height:46px;padding:0 .95rem;font-size:.9rem;font-weight:700;transition:background .16s,border-color .16s,transform .16s}.auth-form__toggle:hover,.auth-form__toggle:focus-visible{background:#314661;border-color:#6b8bb6;transform:translateY(-1px)}.auth-form__error{color:#ff9aa9;margin:.1rem 0 0;font-size:.85rem;font-weight:600}.auth-form__server-error{color:#ffd4da;background:#781c2d47;border:1px solid #ff9aa959;border-radius:10px;padding:.8rem .9rem;font-size:.9rem;line-height:1.4}.auth-form__submit{color:#f8fbff;background:#3b5f91;border:1px solid #6089c0;border-radius:10px;min-height:48px;margin-top:.25rem;font-size:.98rem;font-weight:800;transition:background .16s,border-color .16s,transform .16s}.auth-form__submit:hover,.auth-form__submit:focus-visible{background:#4b74ad;border-color:#81a8db;transform:translateY(-1px)}.auth-page__footer{flex-direction:column;gap:.7rem;padding:0 1.4rem 1.4rem;display:flex}.auth-page__switch,.auth-page__guest{border-radius:10px;min-height:44px;font-size:.93rem;font-weight:700;transition:background .16s,border-color .16s,transform .16s}.auth-page__switch{color:#eef4ff;background:#243247;border:1px solid #4b607d}.auth-page__switch:hover,.auth-page__switch:focus-visible{background:#314661;border-color:#6885ac;transform:translateY(-1px)}.auth-page__guest{color:#c9d6e8;background:0 0;border:1px dashed #ffffff38}.auth-page__guest:hover,.auth-page__guest:focus-visible{color:#f4f8ff;background:#ffffff0a;transform:translateY(-1px)}.timer-panel,.focus-mode-timer{touch-action:manipulation;-webkit-user-select:none;user-select:none}@media (hover:none){.session-actions{opacity:1;pointer-events:auto;transform:none}}@media (width<=1200px){.app{grid-template-columns:240px minmax(0,1fr) 140px}.scramble-panel{padding:.35rem 140px .35rem 240px}.app-layout{grid-template-rows:220px minmax(0,1fr) 140px;grid-template-columns:240px minmax(0,1fr)}.app-title{font-size:1.7rem}.summary-item{font-size:1.35rem}.stats-panel th,.stats-panel td,.solves-panel th,.solves-panel td{font-size:.72rem}.timer-panel>div:first-child{font-size:clamp(5.5rem,13vw,10.2rem)}}@media (width<=920px){body{overflow:auto}.app{grid-template-rows:auto auto auto auto;grid-template-columns:1fr;width:100%;max-width:100%;height:auto;min-height:100vh;display:grid;overflow:visible}.app-header,.scramble-panel,.app-mode-panel{grid-column:1}.app-header{min-height:76px}.scramble-panel{pointer-events:auto;grid-area:auto/1;padding:.65rem 1rem .75rem;overflow:visible}.scramble-text{white-space:normal;word-break:break-word;max-width:100%;font-size:.92rem;line-height:1.35;transform:none}.app-mode-panel{min-height:58px}.app-layout{grid-area:auto/1;grid-template-rows:auto auto auto auto;grid-template-columns:1fr;display:grid;overflow:visible}.timer-panel,.stats-panel,.solves-panel,.sessions-panel{grid-area:auto/1;width:100%}.timer-panel{order:1;min-height:460px;padding:1rem .9rem 1.25rem}.stats-panel{order:2;min-height:220px;max-height:none;padding:.85rem .9rem}.solves-panel{order:3;min-height:260px;padding:.85rem .9rem}.sessions-panel{order:4;min-height:240px;max-height:none;padding:.85rem .9rem 1rem}.scroll-panel{max-height:none}.timer-display--inspection .timer-display-time,.timer-display--running .timer-display-time{position:relative;left:.5ch}.timer-panel>div:first-child{justify-content:center;align-items:center;margin-top:.5rem;margin-bottom:.65rem;font-size:clamp(4.8rem,20vw,7.4rem);display:flex}.timer-panel>div:first-child span{margin-left:auto;margin-right:auto;width:auto!important;min-width:0!important;transform:none!important}.summary-strip{flex-wrap:wrap;gap:.75rem;padding:.55rem .8rem}.summary-item{font-size:1.15rem}.stats-panel th,.stats-panel td,.solves-panel th,.solves-panel td{font-size:.8rem}.focus-mode-timer>div:first-child{font-size:clamp(6rem,24vw,11rem)}}@media (width<=640px){.app-mode-badge{gap:.15rem}.app-mode-badge__text{font-size:.74rem}.app-mode-badge__button{min-height:28px;padding:.18rem .5rem;font-size:.78rem}.solve-tool{gap:.28rem}.solve-tool__time{font-size:1rem}.solve-tool__actions{gap:.12rem}.solve-tool__comment{width:min(100%,300px)}.auth-page{align-items:stretch;padding:1rem .85rem}.auth-page__shell{align-items:center}.auth-page__card{width:100%}.auth-page__header{padding:1.15rem 1rem .9rem}.auth-page__title{font-size:1.55rem}.auth-form{padding:1rem}.auth-page__footer{padding:0 1rem 1rem}.auth-form__password-row{grid-template-columns:1fr}.auth-form__toggle{width:100%}.session-modal{width:min(94vw,420px)}.session-modal__header{padding:1rem 1rem .75rem}.session-modal__form{padding:.95rem 1rem 1rem}.session-modal__actions{flex-direction:column-reverse}.session-modal__button{width:100%}}
