html[data-stage] body{padding-bottom:0}html[data-stage] .mast{border-bottom-color:#0000}@media (width<=1023px){html[data-stage] .mast{display:none}}.tool--motion [data-when]{display:none}html:not([data-motion=off]) .tool--motion [data-when=on],html[data-motion=off] .tool--motion [data-when=off]{display:grid}html[data-motion=off] .tool--motion .tool__label:after{content:" (ndalur)"}@media (width>=1024px){.tool--motion{display:none!important}}.stage{height:calc(100svh - var(--tab-h) - env(safe-area-inset-bottom));isolation:isolate;--ticker-h:3.75rem;--inset-top:6.25rem;--inset-bottom:17.75rem;--inset-left:.5rem;--inset-right:.5rem;background:radial-gradient(52% 46% at 50% 42%,#3d5444 0%,#24342a 46%,#111a14 78%,#090d0a 100%);min-height:34rem;position:relative;overflow:hidden}.stage:after{content:"";z-index:0;pointer-events:none;background:radial-gradient(85% 70% at 50% 40%,#0000 55%,#00000073 100%);position:absolute;inset:0}.stage .board{z-index:1;aspect-ratio:auto;width:100%;height:100%;position:absolute;inset:0}.stage .board[data-kind="2d"] .board-svg{left:var(--inset-left);top:var(--inset-top);width:calc(100% - var(--inset-left) - var(--inset-right));height:calc(100% - var(--inset-top) - var(--inset-bottom))}.stage .board-plate{display:none}.stage .board:focus-visible{outline:2px solid var(--pointer);outline-offset:-4px}.bug,.lower,.ticker,.tools{z-index:2;position:absolute}.caps{font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.05em;font-weight:860;line-height:1}.bug--live{align-items:stretch;max-width:calc(100% - 5rem);display:flex;top:.75rem;left:.75rem}.bug__live{background:var(--pointer);color:var(--ink);font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;align-items:center;gap:.4rem;padding:.35rem .55rem .4rem;font-size:.6875rem;font-weight:880;line-height:1;display:inline-flex}.bug__live:before{content:"";background:var(--ink);width:.45rem;height:.45rem;animation:1.6s steps(2,jump-none) infinite live}@keyframes live{50%{opacity:.25}}.bug__status{background:var(--stone);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;align-items:center;min-width:0;padding:.35rem .6rem .4rem;font-size:.8125rem;font-weight:720;line-height:1.1;display:inline-flex;overflow:hidden}html[data-mode=study] .bug__live:before{animation:none}.bug--score{min-width:11.5rem;max-width:calc(100% - 1.5rem);display:grid;top:2.6rem;left:.75rem}.score__row{min-height:1.6rem;color:var(--stone);background:#14110ee6;justify-content:space-between;align-items:center;gap:.75rem;padding:.1rem .55rem;font-size:.75rem;font-weight:640;display:flex}.score__row+.score__row{border-top:1px solid #e6e5e124}.score__name{white-space:nowrap;padding-inline-start:.7rem;position:relative}.score__name:before{content:"";border:1px solid;width:.35rem;height:.35rem;position:absolute;top:50%;left:0;translate:0 -50%}.score__row[data-turn] .score__name{font-weight:820}.score__row[data-turn] .score__name:before{background:var(--pointer);border-color:var(--pointer)}.score__taken{align-items:center;min-height:1rem;display:flex}.cap{--piece-edge-b:#8a8580;width:1rem;height:1rem;margin-inline-start:-.3rem}.cap:first-child{margin-inline-start:0}.adv{margin-inline-start:.3rem;font-weight:800}.score__clock{text-align:end;min-width:3.4rem;margin-inline-start:.5rem;font-size:.875rem;font-weight:820}.score__clock[hidden]{display:none}.score__row[data-turn] .score__clock{color:#fff}.score__clock[data-low]{color:var(--pointer-ink)!important}.tools{justify-items:end;gap:.25rem;display:grid;top:.5rem;right:.5rem}.tool{min-width:44px;height:44px;color:var(--stone);white-space:nowrap;transition:transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease;background:#14110edb;align-items:center;gap:.75rem;padding:0 .7rem;font-size:.9375rem;font-weight:680;display:flex}.tool__icon{place-items:center;display:grid}a.tool,a.cue{text-decoration:none}.tool--menu{justify-content:center;width:44px;padding:0}.tools__list{display:none}.tools[data-open] .tools__list{transform-origin:100% 0;min-width:15rem;animation:menu-in .16s var(--ease-out);background:#e6e5e11f;gap:1px;display:grid}@keyframes menu-in{0%{opacity:0;transform:scale(.96)}}.tools__list .tool{background:#15120f;width:100%;height:48px}.tools[data-open] .tool--menu{background:var(--stone);color:var(--ink)}@media (width>=1024px){.tool--menu{display:none}.tools__list,.tools[data-open] .tools__list{background:0 0;gap:.25rem;min-width:0;animation:none;display:flex}.tools__list .tool{background:#14110edb;justify-content:center;width:44px;height:44px;padding:0}.tool__label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.tool:active{transform:scale(.95)}.tool:disabled{opacity:.4;cursor:not-allowed}.tool[hidden]{display:none}.tool[aria-pressed=true]{background:var(--stone);color:var(--ink)}@media (hover:hover) and (pointer:fine){.tool:not(:disabled):hover{background:#28221cf2}}.lower{left:.75rem;right:.75rem;bottom:calc(var(--ticker-h) + .6rem);justify-items:start;display:grid}.lower__tag{background:var(--pointer);color:var(--ink);font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.08em;padding:.32rem .6rem .36rem;font-size:.75rem;font-weight:900;line-height:1}.lower__head{background:var(--stone);width:100%;color:var(--ink);grid-template-columns:auto minmax(0,1fr);align-items:stretch;display:grid}.lower__head .lower__tag{place-items:center;padding-inline:.6rem;display:grid}.lower__headline{flex-wrap:wrap;align-items:baseline;gap:.1rem .75rem;min-width:0;padding:.3rem .75rem .4rem;display:flex}.lower__glyph{white-space:nowrap;transition:color .32s var(--ease-out);margin-inline-start:-.03em;font-size:clamp(2.25rem,1.6rem + 3.2vw,4rem)}.lower__glyph .fig{vertical-align:-.04em;width:.8em;height:.8em;transition:color .32s var(--ease-out)}.lower__glyph .san{font-weight:inherit}.lower__glyph .ann{margin-inline-start:.04em}.lower__title{font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.03em;text-wrap:balance;font-size:1rem;font-weight:860;line-height:1.05}.lower__title:empty{display:none}.lower[data-state=intro] .lower__glyph,.lower[data-state=note] .lower__glyph,.lower[data-state=end] .lower__glyph,.lower[data-state=solved] .lower__glyph,.lower[data-state=wrong] .lower__glyph,.lower[data-state=good] .lower__glyph{white-space:normal;text-wrap:balance;font-size:clamp(1.5rem,1.1rem + 1.8vw,2.5rem);line-height:.95}.lower__headline{overflow:hidden}.lower[data-state=thinking] .lower__glyph{color:#0000;-webkit-text-stroke:1.5px var(--ink)}.lower[data-state=thinking] .lower__glyph .fig{color:#0000;stroke:var(--ink);stroke-width:5px}.lower[data-grade=inaccuracy] .ann,.lower[data-grade=mistake] .ann,.lower[data-grade=blunder] .ann{color:#c8460f}.lower__body{width:100%;color:var(--stone);background:#110e0bf0;padding:.6rem .75rem .75rem}.lower__reasons{gap:.3rem;max-width:56ch;font-size:.9375rem;line-height:1.42;display:grid}.lower__reasons .san{color:#fff}.lower__warning{color:var(--pointer-ink);margin-top:.45rem;font-size:.9375rem;font-weight:680}.lower__warning[hidden]{display:none}.lower__actions{flex-wrap:wrap;gap:.4rem;margin-top:.65rem;display:flex}.lower__actions [hidden]{display:none}.cue{min-height:44px;color:var(--stone);font-variation-settings:"wdth" 115;text-transform:uppercase;letter-spacing:.04em;transition:transform var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease;white-space:nowrap;border:1px solid #e6e5e16b;align-items:center;gap:.45rem;padding:0 .8rem;font-size:.8125rem;font-weight:780;display:inline-flex}.cue .icon{width:1.05rem;height:1.05rem}.cue:active{transform:scale(.97)}.cue:disabled{opacity:.4;cursor:not-allowed}.cue--on{background:var(--stone);color:var(--ink);border-color:var(--stone)}.cue--quiet{text-underline-offset:.25em;border-color:#0000;padding-inline:.5rem;text-decoration:underline}@media (hover:hover) and (pointer:fine){.cue:not(.cue--on):not(:disabled):hover{background:#e6e5e11a}.cue--on:hover{background:#fff}}.study{display:none}.lower[data-mode=study] .study{display:block}.lower[data-mode=study] .lower__actions[data-actions],.lower[data-mode=study] .lower__warning{display:none}.study__line{counter-reset:st;flex-wrap:wrap;gap:.25rem .9rem;margin-top:.45rem;font-size:.9375rem;display:flex}.study__line li{counter-increment:st;color:#e6e5e18c}.study__line li:before{content:counter(st) ". ";color:var(--pointer-ink);font-size:.75rem;font-weight:800}.study__line li[data-done]{color:var(--stone)}.study__bar{flex-wrap:wrap;gap:.4rem;margin-top:.6rem;display:flex}.study__switch{flex-wrap:wrap;gap:.25rem;margin-top:.25rem;display:flex}.study__switch [hidden],.end[hidden]{display:none}.end__acc{color:#e6e5e1bf;margin-top:.4rem}.end__acc b{color:var(--stone);font-size:1.25rem;font-weight:820}.end__counts{flex-wrap:wrap;gap:.2rem 1rem;margin-top:.3rem;font-size:.875rem;display:flex}.end__counts .ann{color:var(--pointer-ink);font-weight:820}.end__tag{color:#e6e5e1b3;margin-top:.3rem;font-size:.8125rem}.lower[data-state=end] .lower__glyph{color:var(--pointer)}.ticker{height:var(--ticker-h);--ticker-h:3.75rem;grid-template-rows:1.25rem 1fr;display:grid;bottom:0;left:0;right:0}.ticker__rail{grid-template-columns:repeat(var(--slots,80), minmax(0, 1fr));background:#110e0beb linear-gradient(#e6e5e129,#e6e5e129) .75rem calc(100% - 3px)/calc(100% - 1.5rem) 1px no-repeat;align-items:end;column-gap:2px;padding:3px .75rem;display:grid;overflow:hidden}.ticker__rail:empty{visibility:hidden}.ticker__rail i{background:#e6e5e152;height:3px}.ticker__rail i[data-g=pending]{background:#e6e5e199;height:5px}.ticker__rail i[data-g=best],.ticker__rail i[data-g=good],.ticker__rail i[data-g=book],.ticker__rail i[data-g=forced],.ticker__rail i[data-g=brilliant]{background:#e6e5e1c7;height:6px}.ticker__rail i[data-g=inaccuracy]{background:var(--stone);height:9px}.ticker__rail i[data-g=mistake]{background:var(--stone);height:11px}.ticker__rail i[data-g=blunder]{background:var(--pointer);height:13px}.ticker__rail i[data-now]{box-shadow:0 -3px 0 var(--stone)}.ticker__band{background:var(--stone);color:var(--ink);align-items:center;display:flex;overflow:hidden}.ticker__track{white-space:nowrap;font-variation-settings:"wdth" 112;text-transform:uppercase;letter-spacing:.03em;animation:crawl var(--crawl,40s) linear infinite;flex:none;gap:0;font-size:.8125rem;font-weight:700;display:flex}.ticker__track span{align-items:center;display:inline-flex}.ticker__track span:after{content:"";background:var(--pointer);width:.4rem;height:.4rem;margin-inline:1.1rem}@keyframes crawl{to{transform:translate(-50%)}}.ticker__band:hover .ticker__track{animation-play-state:paused}html[data-motion=off] .ticker__track{animation:none}@media (prefers-reduced-motion:reduce){.ticker__track{animation:none}}.promo{z-index:4;background:#0b0907b8;flex-wrap:wrap;place-content:center;align-items:center;gap:.5rem;display:flex;position:absolute;inset:0}.promo[hidden]{display:none}.promo button{background:var(--sq-light);min-width:4.5rem;color:var(--ink);font-size:var(--step-small);justify-items:center;gap:.25rem;padding:.5rem;font-weight:700;display:grid}.promo svg{width:3rem;height:3rem}.promo .promo__cancel{background:var(--stone);place-content:center;align-self:stretch;min-width:3rem}.record{padding:var(--space-l) var(--gutter) calc(var(--tab-h) + var(--space-xl));max-width:40rem}.record__title{font-size:var(--step-title);font-weight:820}.record__opening{color:var(--text-2);margin-top:.25rem}.record__opening[hidden]{display:none}.sheet{margin-top:var(--space-s);display:grid}.sheet li{border-bottom:1px solid var(--rule);grid-template-columns:2.5rem minmax(0,1fr) minmax(0,1fr);align-items:center;display:grid}.mv-n{font-size:var(--step-small);color:var(--text-2)}.mv{text-align:start;min-height:44px;color:var(--text-2);align-items:center;gap:.125rem;padding-inline:.375rem;font-weight:600;display:inline-flex}.mv--mine{color:var(--text)}.mv[aria-current=true]{box-shadow:inset 0 -2px 0 var(--pointer)}.mv .ann{color:var(--text-2);font-weight:800}.mv .ann[data-grade=mistake],.mv .ann[data-grade=blunder],.mv .ann[data-grade=inaccuracy]{color:var(--pointer-ink)}.sheet-empty{padding:var(--space-xs) 0;color:var(--text-2);border:0!important;display:block!important}@media (hover:hover) and (pointer:fine){.mv:hover{background:var(--well)}}.record__actions{gap:var(--space-xs);margin-top:var(--space-m);flex-wrap:wrap;display:flex}.setup{width:min(100% - 1rem,34rem);max-height:calc(100svh - 2rem);color:var(--stone);background:#15120f;border:0;margin:auto auto .5rem;padding:0}@media (width>=640px){.setup{margin:auto}}.setup::backdrop{background:#0009}.setup[open]{animation:sheet-in .24s var(--ease-out)}@keyframes sheet-in{0%{opacity:0;transform:translateY(1.5rem)}}.setup__form{gap:var(--space-m);padding:var(--space-m);display:grid}.setup__title{font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.01em;font-size:1.75rem;font-weight:900}.setup fieldset{border:0;min-width:0;padding:0}.setup legend{margin-bottom:var(--space-2xs);font-weight:700}.segmented{border:1.5px solid var(--stone);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.segmented--4{grid-template-columns:repeat(4,minmax(0,1fr))}.segmented label{cursor:pointer;text-align:center;place-items:center;min-height:48px;padding-inline:.25rem;font-weight:660;display:grid;position:relative}.segmented label+label{border-inline-start:1.5px solid var(--stone)}.segmented input{opacity:0;cursor:pointer;position:absolute;inset:0}.segmented label:has(input:checked){background:var(--stone);color:var(--ink)}.segmented label:has(input:focus-visible){outline:2px solid var(--pointer);outline-offset:2px}.choices{display:grid}.choice{gap:var(--space-xs);cursor:pointer;border-bottom:1px solid #e6e5e124;align-items:flex-start;padding:.7rem 0;display:flex}.choice input{width:1.25rem;height:1.25rem;accent-color:var(--pointer);flex:none;margin-top:.125rem}.choice__body{gap:.125rem;display:grid}.choice__body span{color:#e6e5e1b3;font-size:.9375rem}.setup__actions{gap:var(--space-xs);flex-wrap:wrap;display:flex}.setup .btn{border-color:var(--stone);color:var(--stone)}.setup .btn--solid{background:var(--stone);color:var(--ink)}.setup .btn--quiet{border-color:#0000}@media (width>=1024px){.stage{height:calc(100svh - var(--mast-h));--inset-top:1.25rem;--inset-bottom:4rem;--inset-left:23.5rem;--inset-right:4.5rem;--ticker-h:4rem}.bug--live{max-width:none;top:1.25rem;left:1.5rem}.bug__live{padding:.45rem .7rem;font-size:.75rem}.bug__status{padding-inline:.8rem;font-size:.9375rem}.bug--score{min-width:18rem;top:3.6rem;left:1.5rem}.score__row{min-height:2.1rem;padding-inline:.75rem;font-size:.875rem}.cap{width:1.25rem;height:1.25rem}.tools{display:flex;top:1rem;right:1.5rem}.lower{align-content:start;width:min(21rem,30vw);inset:9.25rem auto auto 1.5rem}.lower__glyph{font-size:clamp(2.5rem,1rem + 2.6vw,4.25rem)}.lower__reasons{font-size:1rem}.ticker__track{font-size:.875rem}.record{max-width:48rem;margin-inline:auto}}@media (width>=1400px){.stage{--inset-left:28.5rem}.lower{width:25rem}}.intro{z-index:6;color:var(--stone);background:#0b0907;place-content:center;justify-items:start;gap:.75rem;padding:1.5rem;display:grid;position:absolute;inset:0}.intro[hidden]{display:none}.intro__mark{margin-inline-start:-.05em;font-size:clamp(5rem,1rem + 26vw,16rem);line-height:.8}.intro__line{font-variation-settings:"wdth" 125;text-transform:uppercase;letter-spacing:.06em;align-items:baseline;gap:.75rem;font-size:.875rem;font-weight:860;display:flex}.intro__line span{background:var(--pointer);color:var(--ink);padding:.3rem .55rem}.intro__line b{letter-spacing:0;font-size:1.5rem}.bug--sheet{display:none}@media (width>=1024px){.bug--sheet:not(:empty){left:1.5rem;bottom:calc(var(--ticker-h) + 1.25rem);width:min(21rem,30vw);color:var(--stone);background:#110e0beb;font-size:.875rem;display:grid}.bug--sheet li{grid-template-columns:2rem 1fr 1fr;align-items:center;min-height:2rem;padding-inline:.6rem;display:grid}.bug--sheet li+li{border-top:1px solid #e6e5e11a}.bug--sheet .n{color:#e6e5e18c;font-variant-numeric:tabular-nums}.bug--sheet .ann{color:var(--pointer-ink);font-weight:800}}.review{margin-top:var(--space-m);border-top:1px solid var(--rule)}.review__sum{cursor:pointer;font-variation-settings:"wdth" 118;align-items:center;min-height:48px;font-size:1.0625rem;font-weight:800;list-style:none;display:flex}.review__sum::-webkit-details-marker{display:none}.review__sum:after{content:"+";margin-inline-start:auto;font-weight:700}.review[open] .review__sum:after{content:"−"}.review__fig{margin:0 0 var(--space-s)}.review__svg{cursor:pointer;touch-action:manipulation;width:100%;height:9rem}.review__bg{fill:#1d1915}.review__area{fill:var(--stone)}.review__mid{stroke:#e6e5e159;stroke-width:1px;stroke-dasharray:6 6;vector-effect:non-scaling-stroke}.review__mark{stroke:var(--pointer);stroke-width:2.5px;vector-effect:non-scaling-stroke}.review__now{stroke:var(--stone);stroke-width:1.5px;vector-effect:non-scaling-stroke}.review__cap{color:var(--text-2);max-width:60ch;margin-top:.5rem}.review [data-turning]{margin-bottom:var(--space-s)}.review [data-turning][hidden]{display:none}
