:root{--bg:#1c1b19;--panel:#272522;--panel-2:#312f2b;--panel-3:#3b3834;--border:#45413b;--text:#ece9e4;--muted:#a39f97;--faint:#77736c;--primary:#5f9e3a;--primary-hover:#6fb345;--primary-shadow:#43722a;--accent:#4a8fe0;--danger:#e5484d;--warning:#f0a33a;--success:#46b06d;--radius:10px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background-color:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Segoe UI,system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;line-height:1.45}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);min-width:320px;min-height:100vh}#root{min-height:100vh}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{background:var(--panel-3);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:.45rem;padding:.6rem 1rem;font-weight:600;transition:background-color .15s,transform 50ms;display:inline-flex}.btn:hover:not(:disabled){background:#48443e}.btn:active:not(:disabled){transform:translateY(1px)}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 4px 0 var(--primary-shadow)}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-primary:active:not(:disabled){box-shadow:0 1px 0 var(--primary-shadow);transform:translateY(3px)}.btn-big{width:100%;padding:.9rem 1.4rem;font-size:1.25rem}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#f05a5f}.btn-ghost{color:var(--muted);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--panel-2);color:var(--text)}.panel{background:var(--panel);border-radius:var(--radius)}.segmented{background:var(--panel-2);border-radius:8px;gap:3px;padding:3px;display:flex}.segmented button{color:var(--muted);border-radius:6px;flex:1;padding:.5rem .6rem;font-weight:600}.segmented button:hover{color:var(--text)}.segmented button.active{background:var(--panel-3);color:var(--text);box-shadow:0 1px 2px #0000004d}.stone-icon{border-radius:50%;flex-shrink:0;width:1em;height:1em;display:inline-block}.stone-icon.black{background:radial-gradient(circle at 35% 30%,#5a5a5a,#111 60%);box-shadow:0 0 0 1px #000}.stone-icon.white{background:radial-gradient(circle at 35% 30%,#fff,#cfccc4 75%);box-shadow:0 0 0 1px #8e8a82}.stone-icon.random{background:linear-gradient(90deg,#111 50%,#eee 50%);box-shadow:0 0 0 1px #777}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:.45rem 0;font-size:.92rem;display:flex}.switch-row input{appearance:none;background:var(--panel-3);cursor:pointer;border-radius:10px;flex-shrink:0;width:34px;height:20px;transition:background .15s;position:relative}.switch-row input:after{content:"";background:#ddd;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch-row input:checked{background:var(--primary)}.switch-row input:checked:after{transform:translate(14px)}.muted{color:var(--muted)}.home{grid-template-columns:1fr 440px;align-items:start;gap:28px;max-width:1080px;margin:0 auto;padding:24px 16px 48px;display:grid}.home-hero{flex-direction:column;gap:24px;display:flex}.hero-board{aspect-ratio:1;border-radius:8px;width:min(100%,420px,100vh - 340px);min-width:220px;overflow:hidden;box-shadow:0 16px 40px #00000073}.hero-board svg{width:100%;height:100%;display:block}.hero-text h1{margin-bottom:8px;font-size:2.6rem;line-height:1.1}.hero-text>p{max-width:44ch;font-size:1.05rem}.hero-actions{flex-direction:column;gap:14px;max-width:420px;margin-top:20px;display:flex}.hero-actions .btn-big{flex-direction:column;gap:2px}.btn-note{opacity:.85;font-size:.78rem;font-weight:500}.continue-btn{background:#2c3a4d}.continue-btn:hover:not(:disabled){background:#33455c}.setup{flex-direction:column;gap:18px;padding:20px;display:flex}.setup h2{font-size:1.3rem}.field{flex-direction:column;gap:8px;display:flex}.field>label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.8rem;font-weight:700}.field-note{color:var(--faint);font-size:.8rem}.size-options{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.size-option{background:var(--panel-2);border:2px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;display:flex}.size-option span{color:var(--muted);font-size:.72rem}.size-option:hover{background:var(--panel-3)}.size-option.active{border-color:var(--primary);background:#2b3125}.mini-grid{width:44px;height:44px}.bot-options{flex-direction:column;gap:6px;display:flex}.bot-option{background:var(--panel-2);text-align:left;border:2px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:8px 10px;display:flex}.bot-option:hover{background:var(--panel-3)}.bot-option.active{border-color:var(--primary);background:#2b3125}.bot-avatar{background:var(--panel-3);border-radius:8px;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:1.6rem;display:grid}.bot-text{flex-direction:column;flex:1;min-width:0;display:flex}.bot-text strong em{color:var(--muted);margin-left:4px;font-size:.78rem;font-style:normal;font-weight:500}.bot-text>span{color:var(--muted);font-size:.8rem}.bot-record{color:var(--muted);white-space:nowrap;font-size:.75rem;font-weight:700}@media (width<=900px){.home{grid-template-columns:1fr}.hero-board{display:none}.hero-text h1{font-size:2rem}.hero-actions{max-width:none}}.ranks{flex-direction:column;grid-column:1;gap:12px;padding:18px 20px;display:flex}.ranks h2{font-size:1.1rem}.rank-row{align-items:center;gap:12px;display:flex}.rank-size{width:52px;color:var(--muted);font-size:.9rem;font-weight:700}.rank-main{flex-direction:column;flex:1;gap:4px;display:flex}.rank-top{justify-content:space-between;align-items:baseline;gap:8px;font-size:.85rem;display:flex}.rank-top strong{font-size:1rem}.rank-bar-fill{background:linear-gradient(90deg, var(--primary), var(--primary-hover));border-radius:4px;height:100%}.rated-row>span{flex-direction:column;display:flex}.setup{grid-area:1/2/span 2}@media (width<=900px){.setup,.ranks{grid-area:auto}}.puzzles-btn{background:#4a3a5c}.puzzles-btn:hover:not(:disabled){background:#57456b}.board-frame{aspect-ratio:1;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:repeating-linear-gradient(87deg,#7846140d 0 2px,#0000 2px 7px),repeating-linear-gradient(93deg,#ffe6aa0f 0 1px,#0000 1px 11px),linear-gradient(135deg,#e8bf72 0%,#dcab58 45%,#d19d4a 100%);border-radius:6px;width:100%;box-shadow:0 10px 30px #00000073,inset 0 0 0 1px #00000040}.board-svg{width:100%;height:100%;display:block}.grid line{stroke:#3b2a14;stroke-width:.035px}.grid-border{fill:none;stroke:#3b2a14;stroke-width:.06px}.star{fill:#3b2a14}.coords text{fill:#5a3f1c;text-anchor:middle;dominant-baseline:central;font-family:inherit;font-weight:600}.stone-shadow{fill:#00000052}.stone-black{stroke:#000;stroke-width:.02px}.stone-white{stroke:#9c988e;stroke-width:.02px}.stone-dead{opacity:.38}.ghost{opacity:.5;pointer-events:none}.crosshair line{stroke:#0b6bcb;stroke-width:.05px;opacity:.7}.last-move{fill:none;stroke-width:.07px}.last-move.on-black{stroke:#fff}.last-move.on-white{stroke:#111}.ko-mark{fill:none;stroke:#3b2a14;stroke-width:.06px}.territory-black{fill:#111}.territory-white{fill:#fff;stroke:#555;stroke-width:.02px}.atari-ring{fill:none;stroke:#e5484d;stroke-width:.07px;stroke-dasharray:.18 .1;pointer-events:none;transform-box:fill-box;transform-origin:50%;animation:3s linear infinite atari-spin}@keyframes atari-spin{to{transform:rotate(360deg)}}.move-num{text-anchor:middle;dominant-baseline:central;pointer-events:none;font-weight:700}.move-num.on-black{fill:#fff}.move-num.on-white{fill:#111}.captured-stone{transform-box:fill-box;transform-origin:50%;pointer-events:none;animation:.75s ease-in forwards captured}@keyframes captured{0%{opacity:.95;transform:scale(1)}35%{opacity:.9;transform:scale(1.08)}to{opacity:0;transform:scale(.3)}}.capture-line{stroke:#e5484d;stroke-width:.09px;stroke-linecap:round;pointer-events:none;animation:1.6s ease-out forwards capture-line}@keyframes capture-line{0%{opacity:0}15%{opacity:1}70%{opacity:1}to{opacity:0}}.hint-mark circle{fill:#0b6bcb40;stroke:#0b6bcb;stroke-width:.07px;pointer-events:none}.hint-mark .hint-pulse{fill:none;transform-box:fill-box;transform-origin:50%;animation:1.4s ease-out infinite hint-pulse}@keyframes hint-pulse{0%{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.7)}}.target-mark{fill:#30a46c33;stroke:#30a46c;stroke-width:.07px;stroke-dasharray:.15 .08;pointer-events:none}.shape-mark{fill:none;stroke-width:.07px;pointer-events:none}.shape-mark.on-black{stroke:#fff}.shape-mark.on-white,.shape-mark.on-empty{stroke:#111}.cross-mark line{stroke:#e5484d;stroke-width:.1px;stroke-linecap:round;pointer-events:none}.label-bg{fill:#dcab58}.label-mark{text-anchor:middle;dominant-baseline:central;pointer-events:none;font-weight:700}.label-mark.on-black{fill:#fff}.label-mark.on-white,.label-mark.on-empty{fill:#111}@media (prefers-reduced-motion:reduce){.atari-ring,.hint-mark .hint-pulse{animation:none}}.last-move-review{fill:none;stroke-width:.1px;pointer-events:none}.learn{flex-direction:column;gap:18px;max-width:900px;margin:0 auto;padding:24px 16px 48px;display:flex}.learn-header{align-items:center;gap:16px;display:flex}.learn-header h1{font-size:1.8rem}.progress-track{background:var(--panel-2);border-radius:5px;height:10px;overflow:hidden}.progress-fill{background:var(--primary);border-radius:5px;height:100%;transition:width .4s}.lesson-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.lesson-card{text-align:left;border-radius:var(--radius);background:var(--panel);border:2px solid #0000;align-items:center;gap:14px;padding:16px;transition:transform .12s,background-color .12s;display:flex;position:relative}.lesson-card:hover{background:var(--panel-2);transform:translateY(-2px)}.lesson-card.next{border-color:var(--primary)}.lesson-icon{background:var(--panel-3);border-radius:50%;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:1.4rem;display:grid}.lesson-card.done .lesson-icon{background:var(--primary);color:#fff;font-weight:800}.lesson-text{flex-direction:column;gap:2px;font-size:.88rem;display:flex}.lesson-text strong{font-size:1.02rem}.lesson-num{text-transform:uppercase;letter-spacing:.06em;color:var(--faint);font-size:.72rem;font-weight:700}.lesson-badge{text-transform:uppercase;background:var(--primary);color:#fff;border-radius:10px;padding:2px 8px;font-size:.7rem;font-weight:800;position:absolute;top:10px;right:10px}.lesson{--board:min(calc(100vh - 90px), calc(100vw - 440px), 760px);justify-content:center;align-items:flex-start;gap:20px;padding:16px;display:flex}.lesson-board{width:var(--board);min-width:0}.lesson-panel{flex-direction:column;gap:12px;width:380px;padding:14px;display:flex}.lesson-panel h2{font-size:1.3rem}.lesson-step-count{color:var(--muted);font-size:.85rem;font-weight:600}.step-dots{gap:6px;display:flex}.step-dots span{background:var(--panel-3);border-radius:3px;flex:1;height:6px}.step-dots span.done{background:var(--primary)}.step-dots span.current{background:var(--primary-hover);opacity:.6}.coach-bubble-big{background:var(--panel-2);border-radius:10px;gap:12px;padding:14px;font-size:1rem;line-height:1.55;display:flex}.coach-face{font-size:2rem;line-height:1}.your-move{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);align-items:center;gap:6px;margin-bottom:4px;font-size:.78rem;font-weight:700;display:inline-flex}.feedback{border-radius:8px;padding:10px 12px;font-size:.95rem;font-weight:600;animation:.25s ease-out slide-in}.feedback.good{color:#7ee2a2;background:#46b06d26}.feedback.bad{color:#ff9a9d;background:#e5484d21;animation:.4s shake}.hint-note{color:var(--muted);font-weight:500}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.lesson-actions{gap:8px;display:flex}.lesson-continue{flex:1}.lesson-complete{place-items:center;padding:48px 16px;display:grid}.complete-card{text-align:center;flex-direction:column;gap:10px;width:min(420px,100%);padding:28px;display:flex}.complete-icon{font-size:3.5rem;animation:.4s cubic-bezier(.2,1.4,.5,1) pop-in}.complete-actions{flex-direction:column;gap:10px;margin-top:10px;display:flex}@media (width<=900px){.lesson{--board:min(calc(100vw - 32px), 600px);flex-direction:column;align-items:center}.lesson-panel{width:var(--board)}}.play{--board:min(calc(100vh - 225px), calc(100vw - 440px), 900px);justify-content:center;align-items:flex-start;gap:20px;padding:16px;display:flex}.play-board-col{width:var(--board);flex-direction:column;gap:10px;min-width:0;display:flex}.board-row{align-items:stretch;gap:10px;display:flex}.board-holder{flex:1;min-width:0}.player-card{background:var(--panel);border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;min-height:52px;padding:6px 10px;transition:border-color .2s,background-color .2s;display:flex}.player-card.to-move{border-color:var(--primary);background:#2b3125}.player-avatar{background:var(--panel-3);border-radius:6px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:1.4rem;display:grid}.player-info{flex:1;min-width:0}.player-name{align-items:baseline;gap:8px;font-weight:700;display:flex}.player-sub{color:var(--muted);font-size:.8rem;font-weight:500}.player-meta{color:var(--muted);align-items:center;gap:10px;font-size:.8rem;display:flex}.to-move-badge{text-transform:uppercase;letter-spacing:.05em;color:var(--primary-hover);font-size:.72rem;font-weight:700}.thinking{gap:4px;display:flex}.thinking span{background:var(--muted);border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite bounce}.thinking span:nth-child(2){animation-delay:.15s}.thinking span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.eval-bar{background:#eeece6;border-radius:4px;flex-shrink:0;width:22px;position:relative;overflow:hidden}.eval-bar.loading{opacity:.8}.eval-fill{background:#171615;transition:height .6s;position:absolute;bottom:0;left:0;right:0}.eval-label{text-align:center;writing-mode:vertical-rl;font-size:.6rem;font-weight:800;position:absolute;left:0;right:0;transform:rotate(180deg)}.eval-label.bottom{color:#eee;bottom:6px}.eval-label.top{color:#222;top:6px}.play-panel{flex-direction:column;flex-shrink:0;gap:10px;width:360px;max-height:calc(100vh - 84px);padding:12px;display:flex;position:sticky;top:68px}.panel-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.panel-title{color:var(--muted);text-align:right;font-size:.92rem;font-weight:700}.review-banner{color:#cfe0f5;text-align:left;background:#2c3a4d;border-radius:8px;padding:8px 10px;font-size:.88rem}.review-banner:hover{background:#33455c}.coach{background:var(--panel-2);border-left:4px solid var(--accent);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:.9rem;animation:.25s ease-out slide-in;display:flex}.coach p{flex:1}.coach-warn{border-left-color:var(--warning)}.coach-good{border-left-color:var(--success)}.coach-avatar{font-size:1.2rem;line-height:1.2}.coach-close{color:var(--muted);padding:0 2px;font-size:1.2rem;line-height:1}.coach-close:hover{color:var(--text)}@keyframes slide-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.counting{background:var(--panel-2);border-radius:8px;flex-direction:column;gap:10px;padding:12px;font-size:.9rem;display:flex}.counting h3{font-size:1rem}.counting-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.score-table{flex-direction:column;gap:6px;display:flex}.score-table>div{background:var(--panel-3);border-radius:6px;align-items:center;gap:8px;padding:6px 10px;display:flex}.score-table strong{margin-left:auto;font-size:1.05rem}.score-table small{color:var(--muted);font-size:.75rem;font-weight:400}.move-list{background:var(--panel-2);font-variant-numeric:tabular-nums;border-radius:8px;flex:1;min-height:120px;font-size:.88rem;overflow-y:auto}.move-list-empty{color:var(--faint);text-align:center;padding:14px}.move-row{grid-template-columns:42px 1fr 1fr;align-items:center;padding:1px 4px;display:grid}.move-row.odd{background:#ffffff06}.move-row-num{color:var(--faint);padding-left:6px}.move{text-align:left;border-radius:4px;align-items:center;gap:6px;padding:3px 8px;font-weight:600;display:flex}.move .stone-icon{width:.75em;height:.75em}.move:hover{background:var(--panel-3)}.move.active{background:#4b5e3a}.move-cap{color:var(--danger);font-size:.72rem;font-weight:700}.nav-buttons{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.nav-buttons .btn{padding:.5rem}.action-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.final-result{text-align:center;grid-column:1/-1;padding:4px;font-weight:700}.confirm-resign{grid-template-columns:1fr auto;gap:4px;display:grid}.settings{background:var(--panel-2);border-radius:8px;padding:8px 12px}.settings summary{cursor:pointer;color:var(--muted);font-size:.9rem;font-weight:600}.settings[open] summary{margin-bottom:4px}.modal-backdrop{z-index:50;background:#0000008c;place-items:center;padding:16px;animation:.2s ease-out fade-in;display:grid;position:fixed;inset:0}.modal{background:var(--panel);text-align:center;border-radius:14px;flex-direction:column;gap:12px;width:min(380px,100%);padding:24px;animation:.25s cubic-bezier(.2,1.4,.5,1) pop-in;display:flex;box-shadow:0 20px 60px #00000080}.result-modal h2{font-size:1.8rem}.result-modal.win h2{color:var(--primary-hover)}.result-trophy{font-size:3rem}.modal-actions{flex-direction:column;gap:8px;margin-top:6px;display:flex}.modal-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:scale(.9)}}@media (width<=900px){.play{--board:min(calc(100vw - 32px), 640px);flex-direction:column;align-items:center;padding:12px 16px}.play-panel{width:var(--board);max-height:none;position:static}.move-list{max-height:180px}}.rating-progress{background:var(--panel-2);text-align:left;border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.rating-line{align-items:baseline;gap:10px;display:flex}.rating-rank{font-size:1.15rem;font-weight:800}.rating-delta{font-weight:800}.rating-number{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto}.rating-number small{font-size:.72rem}.rank-bar{background:var(--panel-3);border-radius:6px;height:12px;overflow:hidden}.rank-bar-fill{background:linear-gradient(90deg, var(--primary), var(--primary-hover));border-radius:6px;height:100%;transition:width 1.1s cubic-bezier(.3,.9,.4,1)}.rank-bar-labels{color:var(--muted);justify-content:space-between;font-size:.75rem;display:flex}.rank-up{color:var(--primary-hover);flex-direction:column;align-items:center;gap:2px;padding:6px 0 4px;display:flex}.rank-up strong{font-size:1.3rem}.rank-up span{color:var(--text);font-size:.9rem}.rank-up-burst{font-size:2rem;animation:.5s cubic-bezier(.2,1.6,.5,1) pop-in}.ranked-up{box-shadow:0 0 0 2px var(--primary)}.rank-down{color:var(--muted);font-size:.8rem}.clock{font-variant-numeric:tabular-nums;background:var(--panel-3);color:var(--muted);text-align:right;border-radius:6px;min-width:84px;padding:4px 12px;font-size:1.35rem;font-weight:800}.clock.active{color:#1b1a18;background:#e9e7e2}.clock.low.active{background:var(--danger);color:#fff}.play-panel.reviewing{overflow-y:auto}.play-panel.reviewing .move-list{flex:none;max-height:160px}.review-start{grid-column:1/-1}.review-loading{background:var(--panel-2);border-radius:8px;flex-direction:column;gap:6px;padding:12px;font-size:.9rem;display:flex}.review{flex-direction:column;gap:10px;display:flex}.review-accuracy{grid-template-columns:1fr 1fr;gap:8px;display:grid}.review-acc{background:var(--panel-2);border-radius:8px;flex-direction:column;align-items:center;padding:10px;display:flex}.review-acc.you{box-shadow:inset 0 0 0 2px var(--primary)}.review-acc-name{align-items:center;gap:6px;font-size:.85rem;font-weight:700;display:flex}.review-acc-value{font-variant-numeric:tabular-nums;font-size:2rem;font-weight:800;line-height:1.2}.review-acc-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.7rem}.review-counts{border-collapse:collapse;width:100%;font-size:.85rem}.review-counts th,.review-counts td{text-align:center;padding:3px 6px}.review-counts thead th{color:var(--muted);font-size:.75rem;font-weight:600}.review-counts tbody th{text-align:left;align-items:center;gap:8px;font-weight:600;display:flex}.review-counts td{font-variant-numeric:tabular-nums;font-weight:700}.cat-badge{color:#fff;border-radius:11px;flex-shrink:0;place-items:center;min-width:22px;height:22px;padding:0 4px;font-size:.72rem;font-weight:800;display:inline-grid}.review-graph{flex-direction:column;gap:4px;display:flex}.review-graph figcaption{color:var(--muted);justify-content:space-between;gap:8px;font-size:.78rem;display:flex}.review-graph-tip{color:var(--text);font-variant-numeric:tabular-nums}.rg-plot{position:relative}.rg-plot svg{cursor:crosshair;touch-action:none;border-radius:6px;width:100%;height:110px;display:block}.rg-bg{fill:#77726a}.rg-black{fill:#161514}.rg-white{fill:#f1efea}.rg-zero{stroke:#00000059;stroke-width:1px}.rg-line{fill:none;stroke:#8f8a82;stroke-width:2px}.rg-current{stroke:var(--accent);stroke-width:2px}.rg-hover{stroke:#fff9;stroke-width:1px;stroke-dasharray:3 3}.rg-markers{pointer-events:none;position:absolute;inset:0}.rg-marker{border-radius:50%;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #77726a}.rg-axis{color:var(--faint);justify-content:space-between;font-size:.7rem;display:flex}.review-move{background:var(--panel-2);border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;font-size:.9rem;display:flex}.review-move-head{align-items:center;gap:8px;display:flex}.review-move-eval{font-variant-numeric:tabular-nums;color:var(--muted);margin-left:auto;font-weight:700}.review-next{margin-top:4px}.review-key{flex-direction:column;gap:4px;display:flex}.review-key h4{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.8rem}.review-key-row{text-align:left;border-radius:6px;align-items:center;gap:8px;padding:5px 8px;font-size:.88rem;font-weight:600;display:flex}.review-key-row:hover{background:var(--panel-2)}.review-key-row.active{background:#4b5e3a}.review-key-lost{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto}.review-credit{color:var(--faint);font-size:.72rem}.review-error{flex-wrap:wrap;align-items:center}.puzzles{--board:min(calc(100vh - 90px), calc(100vw - 420px), 720px);justify-content:center;align-items:flex-start;gap:20px;padding:16px;display:flex}.puzzle-board{width:var(--board);min-width:0}.puzzle-board .board-frame{max-height:calc(100vh - 90px);margin:0 auto}.puzzle-panel{flex-direction:column;gap:12px;width:340px;padding:14px;display:flex}.puzzle-streak{font-size:1.05rem;font-weight:800}.puzzle-rating{background:var(--panel-2);border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:10px;display:flex}.puzzle-rating-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.75rem;font-weight:700}.puzzle-rating-value{font-variant-numeric:tabular-nums;align-items:baseline;gap:8px;font-size:2.2rem;font-weight:800;display:flex}.puzzle-rating-value .rating-delta{font-size:1.05rem}.rating-delta.up{color:var(--primary-hover)}.rating-delta.down{color:var(--danger)}.puzzle-goal{background:var(--panel-2);border-left:4px solid var(--accent);border-radius:10px;padding:14px}.puzzle-goal p{color:var(--muted);margin-top:4px;font-size:.9rem}.goal-title{align-items:center;gap:8px;font-size:1.2rem;font-weight:800;display:flex}.goal-solved{border-left-color:var(--success);background:#46b06d1f}.goal-solved .goal-title{color:#7ee2a2}.goal-failed{border-left-color:var(--danger);background:#e5484d1a;animation:.4s shake}.goal-failed .goal-title{color:#ff9a9d}.puzzle-message{background:var(--panel-2);border-radius:8px;padding:8px 10px;font-size:.88rem}.puzzle-actions{flex-wrap:wrap;gap:8px;display:flex}.puzzle-next{flex:1}.puzzle-meta{font-size:.78rem}@media (width<=900px){.puzzles{--board:min(calc(100vw - 32px), 560px);flex-direction:column;align-items:center}.puzzle-panel{width:var(--board)}}.rush-ready{flex-direction:column;gap:12px;font-size:.9rem;display:flex}.rush-kinds{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rush-kind{background:var(--panel-2);color:var(--muted);border:2px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;font-size:.75rem;display:flex}.rush-kind strong{color:var(--text);font-size:1rem}.rush-kind.active{border-color:var(--primary);background:#2b3125}.rush-best{color:var(--text);margin-top:2px;font-weight:700}.rush-status{background:var(--panel-2);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.rush-top{justify-content:space-between;align-items:center;display:flex}.rush-clock{font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:800}.rush-clock.low{color:var(--danger)}.rush-score{color:var(--primary-hover);font-variant-numeric:tabular-nums;font-size:2.2rem;font-weight:800}.rush-strikes{gap:8px;font-size:1.3rem;font-weight:800;display:flex}.rush-strikes span{color:var(--panel-3)}.rush-strikes span.hit{color:var(--danger)}.rush-over{text-align:center;flex-direction:column;gap:8px;padding-top:6px;display:flex}.rush-over h3{font-size:1.3rem}.topbar{z-index:20;background:#151412;border-bottom:1px solid #2a2825;align-items:center;gap:24px;height:52px;padding:0 16px;display:flex;position:sticky;top:0}.brand{letter-spacing:.02em;align-items:center;gap:10px;font-size:1.25rem;font-weight:800;display:flex}.brand-stones{display:inline-flex}.brand-stones .stone-icon{width:18px;height:18px}.brand-stones .stone-icon+.stone-icon{margin-left:-6px}.topbar nav{gap:4px;display:flex}.topbar nav button{color:var(--muted);border-radius:6px;padding:6px 14px;font-weight:600}.topbar nav button:hover{color:var(--text);background:var(--panel)}.topbar nav button.active{color:var(--text);background:var(--panel-2)}
