html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}.ulugo-board{--ulugo-board-border-width: .15em;--ulugo-board-border-color: #ca933a;--ulugo-board-background-color: #f1b458;--ulugo-board-foreground-color: #5e2e0c;--ulugo-black-background-color: #222;--ulugo-black-foreground-color: #eee;--ulugo-white-background-color: #eee;--ulugo-white-foreground-color: #222;position:relative;border:var(--ulugo-board-border-width) solid var(--ulugo-board-border-color);color:var(--ulugo-board-foreground-color)}.ulugo-board:not(.ulugo-coordinates){padding:.25em}.ulugo-board-image{background:url(./board-BAJl8K1P.webp) var(--ulugo-board-background-color)}.ulugo-board-golden{--ulugo-board-border-color: #ca933a;--ulugo-board-background-color: #f1b458}.ulugo-board-natural{--ulugo-board-border-color: #b69064;--ulugo-board-background-color: #dcb081;background-image:url(./board-grey-BE7c7AAp.webp)}.ulugo-board-flat{--ulugo-board-border-color: #cec8c0;--ulugo-board-background-color: #ffffff;--ulugo-board-foreground-color: #111111;--ulugo-white-background-color: #ffffff;background-image:none}.ulugo-coordx span,.ulugo-coordy span{font-size:.6em}.ulugo-vertex div{left:0;top:0;width:100%;height:100%}.ulugo-board:after{content:"";position:absolute;top:calc(-1 * var(--ulugo-board-border-width));left:calc(-1 * var(--ulugo-board-border-width));bottom:calc(-1 * var(--ulugo-board-border-width));right:calc(-1 * var(--ulugo-board-border-width));background:linear-gradient(to bottom,rgba(234,220,192,.1),transparent),linear-gradient(to bottom,transparent,rgba(23,10,2,.05));pointer-events:none;z-index:3}.ulugo-board-flat:after{display:none}.ulugo-gridline,.ulugo-hoshi{fill:var(--ulugo-board-foreground-color)}.ulugo-gridline{stroke:var(--ulugo-board-foreground-color);stroke-width:1}.ulugo-vertex .ulugo-stone{top:.04em;left:.04em;width:calc(100% - .08em);height:calc(100% - .08em)}.ulugo-vertex.ulugo-sign_0 .ulugo-stone{pointer-events:none}.ulugo-vertex:not(.ulugo-sign_0) .ulugo-stone:before{content:"";display:block;position:absolute;inset:0;border-radius:50%;background:#170a0266;box-shadow:0 .1em .2em #170a0266}.ulugo-vertex .ulugo-inner{text-indent:-9999rem}.ulugo-stone-image{background-repeat:no-repeat;background-size:100% 100%}.ulugo-stone-image.ulugo-sign_1{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='43'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3clinearGradient%20id='b'%3e%3cstop%20offset='0'%20stop-color='%23636363'%20stop-opacity='.4'/%3e%3cstop%20offset='1'%20stop-color='%23636363'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='a'%3e%3cstop%20offset='0'%20stop-color='%230b0b0b'/%3e%3cstop%20offset='1'%20stop-color='%23443432'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='0'%20x2='0'%20y1='43'%20y2='0'%20xlink:href='%23a'%20gradientUnits='userSpaceOnUse'/%3e%3clinearGradient%20id='d'%20x1='0'%20x2='0'%20y1='2.38'%20y2='19.27'%20xlink:href='%23b'%20gradientUnits='userSpaceOnUse'/%3e%3c/defs%3e%3cg%3e%3ccircle%20cx='21.5'%20cy='21.5'%20r='20.5'%20fill='url(%23c)'%20stroke='%23000'%20stroke-width='1'/%3e%3ccircle%20cx='21.5'%20cy='21.5'%20r='18.5'%20fill='url(%23d)'%20/%3e%3c/g%3e%3c/svg%3e")}.ulugo-stone-image.ulugo-sign_-1{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='43'%20height='43'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3clinearGradient%20id='b'%3e%3cstop%20offset='0'%20stop-color='%23eee'%20stop-opacity='.8'/%3e%3cstop%20offset='1'%20stop-color='%23eee'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='a'%3e%3cstop%20offset='0'%20stop-color='%23C9D1FF'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='0'%20x2='0'%20y1='43'%20y2='0'%20xlink:href='%23a'%20gradientUnits='userSpaceOnUse'%20/%3e%3clinearGradient%20id='d'%20x1='0'%20x2='0'%20y1='40.65'%20y2='30.65'%20xlink:href='%23b'%20gradientUnits='userSpaceOnUse'/%3e%3c/defs%3e%3cg%3e%3ccircle%20cx='21.5'%20cy='21.5'%20r='20.5'%20fill='url(%23c)'%20stroke='%23c3c3c3'%20stroke-width='1'/%3e%3ccircle%20cx='21.5'%20cy='21.5'%20r='18.5'%20fill='url(%23d)'%20/%3e%3c/g%3e%3c/svg%3e")}.ulugo-board-flat .ulugo-vertex:not(.ulugo-sign_0) .ulugo-stone:before{display:none}.ulugo-board-flat .ulugo-stone-image{box-sizing:border-box;border-radius:50%;background-image:none}.ulugo-board-flat .ulugo-stone-image.ulugo-sign_1{background:var(--ulugo-black-background-color)}.ulugo-board-flat .ulugo-stone-image.ulugo-sign_-1{border:.04em solid var(--ulugo-white-foreground-color);background:var(--ulugo-white-background-color)}.ulugo-board-flat .ulugo-vertex.ulugo-sign_1 .ulugo-selection{box-shadow:0 0 0 1px #000}.ulugo-board-flat .ulugo-vertex.ulugo-sign_-1 .ulugo-selection{border-color:var(--ulugo-black-foreground-color);box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000}.ulugo-board-flat .ulugo-vertex.ulugo-nextmove-sign_-1 .ulugo-movehint-next{border-color:#111}.ulugo-board-flat .ulugo-vertex.ulugo-ownership_-1 .ulugo-ownership{border:.01em solid rgba(0,0,0,.2)}.ulugo-vertex .ulugo-marker{left:.04em;top:.04em;width:calc(100% - .08em);height:calc(100% - .08em);text-align:center;fill:var(--ulugo-board-background-color);stroke:var(--ulugo-board-foreground-color);stroke-width:.07em;pointer-events:none;z-index:2}.ulugo-vertex.ulugo-sign_1 .ulugo-marker,.ulugo-vertex.ulugo-sign_-1 .ulugo-marker{left:0;top:0;width:100%;height:100%;fill:none}.ulugo-vertex.ulugo-sign_1 .ulugo-marker{stroke:var(--ulugo-black-foreground-color)}.ulugo-vertex.ulugo-sign_-1 .ulugo-marker{stroke:var(--ulugo-white-foreground-color)}.ulugo-vertex.ulugo-marker_point .ulugo-marker{stroke:none;fill:var(--ulugo-board-foreground-color)}.ulugo-vertex.ulugo-marker_point.ulugo-sign_1 .ulugo-marker{fill:var(--ulugo-black-foreground-color)}.ulugo-vertex.ulugo-marker_point.ulugo-sign_-1 .ulugo-marker{fill:var(--ulugo-white-foreground-color)}.ulugo-vertex.ulugo-marker_label .ulugo-marker{display:inline-block;width:auto;height:auto;left:50%;top:50%;max-width:1.67em;max-height:1.67em;overflow:hidden;background:var(--ulugo-board-background-color);color:var(--ulugo-board-foreground-color);font-size:.6em;line-height:1.26;text-align:center;text-overflow:ellipsis;white-space:pre;transform:translate(-50%,-50%)}.ulugo-vertex.ulugo-marker_label.ulugo-sign_1 .ulugo-marker{background:transparent;color:var(--ulugo-black-foreground-color)}.ulugo-vertex.ulugo-marker_label.ulugo-sign_-1 .ulugo-marker{background:transparent;color:var(--ulugo-white-foreground-color)}.ulugo-vertex.ulugo-smalllabel .ulugo-marker{max-height:2.7em;max-width:2.7em;font-size:.36em}.ulugo-vertex .ulugo-hot-zone{box-sizing:border-box;left:5%;top:5%;width:90%;height:90%;border:.05em solid transparent;opacity:var(--ulugo-hot-zone-opacity);box-shadow:0 0 .12em #fff;pointer-events:none}.ulugo-vertex.ulugo-hot-zone_loss .ulugo-hot-zone{border-color:#0878ff}.ulugo-vertex.ulugo-hot-zone_gain .ulugo-hot-zone{border-color:#762}.ulugo-vertex .ulugo-ownership{left:40%;top:40%;width:20%;height:20%;opacity:var(--ulugo-ownership-opacity);background:transparent;pointer-events:none;z-index:2}.ulugo-vertex.ulugo-ownership_1 .ulugo-ownership{background:var(--ulugo-black-background-color)}.ulugo-vertex.ulugo-ownership_-1 .ulugo-ownership{background:var(--ulugo-white-background-color)}.ulugo-vertex .ulugo-analysis-overlay{top:50%;left:50%;margin-left:-.3em;margin-top:-.3em;border-radius:50%;width:.6em;height:.6em;opacity:0;pointer-events:none}.ulugo-vertex .ulugo-analysis-dot{top:50%;left:50%;width:var(--ulugo-analysis-dot-size, .5em);height:var(--ulugo-analysis-dot-size, .5em);margin-left:var(--ulugo-analysis-dot-offset, -.25em);margin-top:var(--ulugo-analysis-dot-offset, -.25em);border-radius:50%;opacity:.9;pointer-events:none;z-index:1}.ulugo-vertex.ulugo-analysis-strength_6 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_6{background:#1e9600;box-shadow:0 0 .1em .1em #1e9600;opacity:.8}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_6{background:#1e9600}.ulugo-vertex.ulugo-analysis-strength_5 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_5{background:#abde2e;box-shadow:0 0 .1em .1em #abde2e;opacity:.7}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_5{background:#abde2e}.ulugo-vertex.ulugo-analysis-strength_4 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_4{background:#f2f200;box-shadow:0 0 .1em .1em #f2f200;opacity:.8}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_4{background:#f2f200}.ulugo-vertex.ulugo-analysis-strength_3 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_3{background:#e6661a;box-shadow:0 0 .1em .1em #e6661a;opacity:.7}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_3{background:#e6661a}.ulugo-vertex.ulugo-analysis-strength_2 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_2{background:#c00;box-shadow:0 0 .1em .1em #c00;opacity:.8}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_2{background:#c00}.ulugo-vertex.ulugo-analysis-strength_1 .ulugo-analysis-overlay,.ulugo-vertex .ulugo-analysis-overlay.ulugo-analysis-strength_1{background:#72216b;box-shadow:0 0 .1em .1em #72216b;opacity:.7}.ulugo-vertex .ulugo-analysis-dot.ulugo-analysis-strength_1{background:#72216b}.ulugo-vertex .ulugo-analysis-label{display:inline-block;height:auto;top:50%;left:50%;overflow:hidden;color:#fff;font-size:.36em;line-height:1;text-align:center;text-overflow:clip;text-shadow:0 0em .2em #000000;white-space:pre;opacity:.9;transform:translate(-50%,-50%);pointer-events:none}.ulugo-vertex .ulugo-analysis-label_multiline{font-size:.32em}.ulugo-vertex .ulugo-selection{box-sizing:border-box;top:.04em;left:.04em;width:calc(100% - .08em);height:calc(100% - .08em);border:.05em solid var(--ulugo-board-foreground-color);border-radius:50%;background:transparent;pointer-events:none}.ulugo-vertex.ulugo-sign_1 .ulugo-selection{border-color:var(--ulugo-black-foreground-color)}.ulugo-vertex.ulugo-sign_-1 .ulugo-selection{border-color:var(--ulugo-white-foreground-color)}.ulugo-vertex.ulugo-selectedleft .ulugo-selection{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.ulugo-vertex.ulugo-selectedright .ulugo-selection{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.ulugo-vertex.ulugo-selectedtop .ulugo-selection{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.ulugo-vertex.ulugo-selectedbottom .ulugo-selection{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.ulugo-vertex .ulugo-movehint{box-sizing:border-box;top:.04em;left:.04em;width:calc(100% - .08em);height:calc(100% - .08em);border-radius:50%;pointer-events:none}.ulugo-vertex .ulugo-movehint-best{border:.075em solid #0878ff}.ulugo-vertex .ulugo-movehint-next{border:.075em dotted var(--ulugo-board-foreground-color)}.ulugo-vertex.ulugo-nextmove_main .ulugo-movehint-next{border-style:dashed}.ulugo-vertex.ulugo-nextmove-sign_1 .ulugo-movehint-next{border-color:#111}.ulugo-vertex.ulugo-nextmove-sign_-1 .ulugo-movehint-next{border-color:#fff}@media print{.ulugo-board,.ulugo-board *{print-color-adjust:exact;-webkit-print-color-adjust:exact}.ulugo-board:after,.ulugo-vertex:not(.ulugo-sign_0) .ulugo-stone:before{display:none!important}.ulugo-stone-image{box-sizing:border-box;border-radius:50%;background-image:none!important}.ulugo-stone-image.ulugo-sign_1{border:.04em solid #000000;background:#000!important}.ulugo-stone-image.ulugo-sign_-1{border:.04em solid #000000;background:#fff!important}}@font-face{font-family:Ulugo Noto Sans;font-style:normal;font-weight:400;font-display:swap;src:local("Noto Sans Regular"),local("Noto Sans"),url(./NotoSans-Regular-Dpf_lrdO.ttf) format("truetype");unicode-range:U+0000-00FF,U+0100-024F,U+0300-036F,U+0400-052F,U+1E00-1EFF,U+2000-206F,U+20A0-20CF,U+2100-214F,U+2190-22FF,U+FEFF,U+FFFD}html,body,#root,.app-shell{position:absolute;width:100%;height:100%;inset:0;margin:0;overflow:hidden}body{background:#f5f5f5;font-family:var( --ulugo-font-family, "Noto Sans", "Ulugo Noto Sans", "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans Symbols", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif );user-select:none;-webkit-user-select:none}input,textarea,[contenteditable=true],.ant-input,.ant-input-number-input,.katago-console-log,.katago-console-log *{user-select:text;-webkit-user-select:text}.app-shell{color:#262626}.app-header{display:flex;align-items:stretch;gap:16px;height:auto;padding:8px 12px;background:#fff;border-bottom:1px solid #d9d9d9;line-height:1.2}.app-header-left{flex:0 1 auto;position:relative}.app-header-middle{display:flex;flex:1 0 auto;align-items:center;justify-content:center}.app-header-right{display:flex;flex:0 0 auto;flex-direction:column;justify-content:space-between;gap:8px}.app-header-right{align-items:flex-end}.app-title{position:absolute;min-width:150px;font-size:16px;font-weight:700;color:#111}.app-menu-buttons{justify-content:flex-end}.print-preview-modal .ant-modal-body{display:flex;max-height:min(78vh,900px);flex-direction:column;min-height:0;padding:0;background:#f5f5f5}.print-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.print-preview-title-input{width:220px}.print-preview-pages{flex:1 1 auto;min-height:0;padding:24px;overflow:auto;color:#111}.print-preview-page{display:flex;flex-direction:column;align-items:center;width:min(100%,820px);min-height:1060px;margin:0 auto 24px;padding:36px 32px;background:#fff;box-shadow:0 2px 12px #0000001f;break-after:page}.print-preview-page:last-child{break-after:auto}.print-preview-page-title{width:100%;margin:0 0 18px;text-align:center}.print-preview-page-title h1{margin:0;font-size:20px;font-weight:700;line-height:1.3}.print-preview-page-title div{margin-top:4px;font-size:14px;font-weight:600;line-height:1.25}.print-preview-board-wrap{container-type:inline-size;display:flex;justify-content:center;width:100%}.print-preview-board{--ulugo-board-border-width: 0;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-preview-repeated-moves{display:flex;flex-wrap:wrap;gap:5px 10px;width:100%;margin-top:18px;font-size:13px;line-height:1}.print-preview-repeated-move{display:inline-flex;align-items:center;gap:6px}.print-preview-repeated-stone{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:999px;border:1px solid #111111;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-preview-repeated-stone.black{background:#111;color:#fff}.print-preview-repeated-stone.white{background:#fff;color:#111}.app-settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.app-settings-scale-row{display:flex;align-items:center;gap:12px}.app-settings-scale-row .ant-slider{flex:1;min-width:0}.app-settings-scale-row .ant-input-number-group-wrapper{width:100px}.app-settings-inline-help-row{display:flex;align-items:center;gap:8px}.app-settings-inline-help{color:#8c8c8c;font-size:12px}.app-language-option{display:flex;align-items:center;height:22px;gap:8px}.app-language-flag{width:18px;height:18px;flex:0 0 auto;border:1px solid rgba(0,0,0,.16);border-radius:999px}.app-language-dropdown-button{justify-content:center;width:22px;padding-inline:0}.ant-modal{padding-bottom:0}.ant-modal .ant-modal-content{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:hidden}.ant-modal .ant-modal-body{flex:1;max-height:calc(100dvh - 112px);min-height:0;overflow-y:auto}.keyboard-shortcuts-list{display:grid;gap:6px;max-height:62vh;overflow:auto}.tips-dialog-content{height:120px;display:flex;align-items:center;justify-content:center;overflow-y:auto;white-space:pre-line}.tips-dialog-footer,.keyboard-shortcuts-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.keyboard-shortcuts-label{min-width:0}.keyboard-shortcuts-key{min-width:132px}.keyboard-shortcuts-footer{display:flex;justify-content:space-between;gap:12px}.editor-toolbar{display:flex;flex-wrap:wrap-reverse;place-content:flex-start flex-end;align-items:center;gap:10px;row-gap:5px;height:61px;margin-top:-4px}.navigation-tools{flex:0 0 auto;z-index:10;background:#fff}.navigation-tools .ant-btn{width:30px;font-size:16px}.analysis-toolbar-options{gap:12px;font-size:12px;white-space:nowrap}.mode-toolbar-options,.analysis-toolbar-option-group{display:inline-flex;align-items:center;gap:4px}.mode-toolbar-options{display:flex;flex-direction:column;margin:-7px 12px;gap:0}.mode-toolbar-options>span{width:70%;padding:4px 20px;text-align:center;border:1px solid #d9d9d9;border-radius:12px;margin-bottom:-8px;background:#fff;pointer-events:none;z-index:10}.mode-toolbar-options .ant-radio-button-wrapper{display:inline-flex;align-items:center;justify-content:center;height:54px;padding-inline:12px;line-height:1}.mode-button-content{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:42px;text-align:center}.mode-button-content .anticon{font-size:22px}.minimal-control{position:absolute;top:8px;right:8px;z-index:100}.minimal-control .anticon{font-size:22px}.minimal-control.black-next{color:#fff;background:#111;border-color:#111}.minimal-control.black-next:hover,.minimal-control.black-next:focus,.minimal-control.black-next:focus-visible,.minimal-control.black-next:active,.minimal-control.black-next.ant-btn-color-default.ant-btn-variant-outlined:not(:disabled):not(.ant-btn-disabled):hover,.minimal-control.black-next.ant-btn-color-default.ant-btn-variant-outlined:not(:disabled):not(.ant-btn-disabled):active{color:#ffb65f;background:#111}.minimal-control-checkbox{pointer-events:none}.analysis-toolbar-option-group>.ant-segmented-shape-round .ant-segmented-item-label{width:24px;height:24px;padding:0}.analysis-toolbar-options .ant-checkbox-wrapper{font-size:12px}.play-edit-tools{display:flex;flex:0 0 auto;align-items:center;gap:8px}.edit-tools{flex:0 0 auto}.pass-tool{flex-shrink:0}.edit-tools .ant-btn{min-width:30px}.label-tool .ant-input{width:40px;text-align:center}.auto-tool-icon{position:relative;display:inline-block;width:24px;height:16px;vertical-align:-3px}.auto-stone{position:absolute;top:1px;width:14px;height:14px;border-radius:50%;border:1px solid #262626}.auto-stone-white{left:1px;background:#fff}.auto-stone-black{right:1px;background:#111827}.auto-tool-icon.black-next .auto-stone-black,.auto-tool-icon.white-next .auto-stone-white{z-index:2;width:16px;height:16px;top:0}.auto-tool-icon.black-next .auto-stone-white,.auto-tool-icon.white-next .auto-stone-black{z-index:1}.palm-icon{width:15px;height:15px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tool-stone{display:inline-block;width:14px;height:14px;vertical-align:-2px}.tool-stone{border-radius:50%;border:1px solid #262626}.tool-stone.black{background:#111827}.tool-stone.white{background:#fff}.app-content{display:flex;flex:1;min-height:0;overflow:hidden}.left-panel{display:flex;flex:0 0 360px;flex-direction:column;width:360px;min-height:0;border-right:1px solid #d9d9d9;background:#fff;color:#262626}.left-panel-hidden{display:none}.katago-console-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #f0f0f0}.katago-console-header h2{margin:0;color:#1f343f;font-size:12px;font-weight:700}.katago-console-log{flex:1 1 auto;min-height:0;padding:8px 10px 12px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.35;white-space:pre-wrap;word-break:break-word}.katago-console-empty{color:#8c8c8c}.katago-console-line{padding:1px 0}.katago-console-meta{display:flex;gap:6px}.katago-console-line.error{color:#991b1b}.katago-console-line.warning{color:#92400e}.katago-console-time{color:#8c8c8c}.katago-console-source{font-weight:700;text-transform:uppercase}.katago-console-source.ulugo{color:#cf8926}.katago-console-source.katago{color:#274967}.katago-console-text{padding-left:16px}.board-region{container-type:size;position:relative;display:flex;flex:1 1 420px;align-items:center;justify-content:center;min-width:420px;min-height:0}.right-region{display:flex;flex:0 0 clamp(360px,22vw,400px);flex-direction:column;width:clamp(360px,22vw,400px);min-height:0;border-left:1px solid #d9d9d9;background:#fff}body.minimal .app-content>.right-region{flex-basis:250px;width:250px}.capture-summary{flex-shrink:0;display:flex;align-items:center;gap:16px;min-height:30px;padding:4px 12px;border-bottom:1px solid #f0f0f0;color:#595959;font-size:12px}body.minimal .app-content>.right-region .capture-summary{flex-direction:column;gap:8px;align-items:start}.minimal-basic-tools{display:flex;flex:0 0 auto;align-items:center;justify-content:end;gap:10px;padding:8px 20px;border-bottom:1px solid #f0f0f0}.capture-player{display:inline-flex;align-items:center;min-width:0}.capture-name{overflow:hidden;max-width:130px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.capture-loss{color:#6f3f3c;font-variant-numeric:tabular-nums;margin:0 2px 0 7px}.capture-count{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1}.capture-count-black{border:1px solid #111827;background:#111827;color:#f8fafc}.capture-count-white{border:1px solid #9ca3af;background:#fff;color:#111827}.side-panel{min-height:0;padding:12px;overflow:auto}.side-panel h2{margin:0 0 8px;font-size:13px;font-weight:700;color:#334752}.tree-panel{position:relative;display:flex;flex:1 1 auto;flex-direction:column;min-height:0;padding:0;overflow:hidden}.tree-panel-header{position:absolute;right:20px;border-radius:0 0 0 12px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0 6px 8px;border-left:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background:#fff;z-index:10}.tree-panel-header .ant-space-compact{margin-left:auto}.tree-scroll{flex:1 1 auto;min-height:0;padding:0;overflow:auto}.comments-panel{display:flex;flex:0 0 277px;flex-direction:column;border-bottom:1px solid #f0f0f0;overflow:hidden}.comments-panel-header{flex:0 0 auto;display:flex;align-items:center;justify-content:end;gap:8px;margin-bottom:8px}.comments-panel-header h2{margin:0}.comments-panel-body{flex:1 1 auto;min-height:0;overflow:hidden}.comments-panel textarea{height:100%!important;min-height:100%!important;resize:none!important}.web-left-panel{gap:6px;padding:12px;overflow:hidden}.desktop-download-callout{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:4px 2px 6px;background:#fff;color:#111}.desktop-download-callout-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:28px}.desktop-download-callout>div{flex:1 1 auto;text-align:center;min-width:0;font-size:14px;font-weight:700;line-height:1.25}.desktop-download-callout-accent{flex:0 0 auto;color:#8c959f;font-size:15px}.desktop-release-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #d9d9d9;border-radius:4px;background:#fff}.desktop-release-state{display:flex;flex:1 1 auto;align-items:center;justify-content:center;padding:12px}.desktop-release-header{display:flex;flex:0 0 auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #d8dee4}.desktop-release-header>.anticon{flex:0 0 auto;color:#24292f;font-size:28px}.desktop-release-header>div{display:flex;min-width:0;flex-direction:column;gap:2px}.desktop-release-header a{color:#0969da;font-size:15px;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desktop-release-header span{color:#6e7781;font-size:12px}.desktop-release-body{flex:1 1 auto;min-height:0;padding:10px 12px 0;overflow:auto;color:#24292f;font-size:12px;line-height:1.45;word-break:break-word}.desktop-release-body.plain{white-space:pre-wrap}.desktop-release-body h1,.desktop-release-body h2,.desktop-release-body h3{margin:12px 0 6px;padding-bottom:4px;border-bottom:1px solid #d8dee4;font-size:14px;line-height:1.3}.desktop-release-body p,.desktop-release-body ul,.desktop-release-body ol{margin:0 0 8px}.desktop-release-body ul,.desktop-release-body ol{padding-left:20px}.desktop-release-body code{padding:.1em .3em;border-radius:4px;background:#eff1f3;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px}.desktop-release-body pre{padding:8px;overflow:auto;border-radius:4px;background:#f6f8fa}.desktop-release-body pre code{padding:0;background:transparent}.desktop-release-body a{color:#0969da}.desktop-release-assets{flex:0 0 auto;display:grid;gap:8px;padding:10px 12px 12px;background:#fff}.desktop-release-download-button.ant-btn{justify-content:space-between;height:auto;min-width:0;padding:8px 10px;text-align:left}.desktop-release-download-button .ant-btn-icon{flex:0 0 auto;color:#0969da}.desktop-release-download-button.ant-btn>span:not(.ant-btn-icon):not(.desktop-release-asset-size){flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:600}.desktop-release-asset-size{flex:0 0 auto;color:#6e7781;font-size:11px}.policy-links{display:flex;align-items:end;flex:2 0 auto;justify-content:center;gap:8px}.analysis-empty{padding-top:36px}.analysis-chart-wrap{display:grid;gap:8px}.analysis-chart{display:block;width:100%;height:190px;overflow:visible;background:#f4b458;border:1px solid #a35f18;border-radius:6px;cursor:pointer}.analysis-chart-label.score{fill:#14513c}.analysis-chart-label.winrate{fill:#243f8f}.analysis-chart-label{fill:#553214;font-size:9px}.analysis-chart-grid{stroke:#46260d38;stroke-width:1}.analysis-chart-axis{stroke:#46260d85;stroke-width:1}.analysis-chart-selected{stroke:#2f1b0d;stroke-width:1;stroke-dasharray:3 3;opacity:.82}.analysis-chart-hover{stroke:#2f1b0d;stroke-width:.75;opacity:.5}.analysis-chart-line{fill:none;stroke-width:2}.analysis-chart-line.score{stroke:#129568}.analysis-chart-line.winrate{stroke:#5580fb}.analysis-chart-point-loss{stroke-width:2;stroke-linecap:round}.analysis-chart-point-loss.black{stroke:#1a1209}.analysis-chart-point-loss.white{stroke:#fff7e1}.analysis-chart-summary{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700}.analysis-chart-scorebox{display:flex;align-items:center;justify-content:space-between;flex-grow:1;gap:8px;min-width:0;padding:5px 8px;border-radius:14px}.analysis-chart-scorebox:first-child,.analysis-chart-scorebox:last-child{width:35%;flex-grow:0;border-radius:4px}.analysis-chart-scorebox.black{background:#111827;color:#f8fafc}.analysis-chart-scorebox.white{border:1px solid #cbd5e1;background:#fff;color:#111827}.move-tree{position:relative;display:grid;grid-auto-rows:36px;align-items:center;min-width:max-content;padding:4px 0 12px;pointer-events:none}.tree-panel-header .ant-btn-sm{width:30px;font-size:16px}.move-tree-connectors{position:absolute;top:4px;left:0;z-index:0;overflow:visible;pointer-events:none}.move-tree-connectors path{fill:none;stroke:#00000040;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.move-row-number{position:relative;z-index:1;grid-column:1;padding-right:8px;color:#8c8c8c;font-size:12px;font-variant-numeric:tabular-nums;text-align:right}.move-row-cells{position:relative;z-index:1;display:grid;grid-column:2 / -1;grid-row:span 1;height:36px;align-items:center}.move-tree-node{position:relative;display:inline-flex;align-items:center;justify-content:center;justify-self:center;width:26px;height:26px;padding:0;border:1px solid rgba(0,0,0,.35);border-radius:50%;box-shadow:0 1px 2px #00000029;cursor:pointer;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;pointer-events:visible}.move-tree-node-text{position:relative;display:inline-block;min-width:12px}.move-tree-node.black{color:#fff;background:#171b22}.move-tree-node.white{color:#151a20;background:#f8f7f1}.move-tree-node.root{color:#f8fafc;background:#8c8c8c}.move-tree-node.setup{font-size:14px}.move-tree-node.score{border-radius:0;width:18px;height:18px;transform:rotate(45deg)}.move-tree-node.has-comment{border-bottom-left-radius:0}.move-tree-node.has-drawing{border-top-right-radius:0}.move-tree-node.selected{outline:3px solid #f4b458;outline-offset:1px}.move-tree-node:hover{border-color:#274967}.board-frame{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;background:#999;overflow:hidden}.board-frame-flat{background:#f8f8f8}.board-surface{position:relative;display:inline-block}.board-surface:before{position:absolute;right:calc(25% + 25cqw);content:" ";width:100%;height:100%;background-image:url(./logo-512-BgxCOl88.webp);background-size:contain;opacity:.05;z-index:0}.board-surface:after{position:absolute;left:calc(25% + 25cqw);content:" ";width:100%;height:100%;background-image:url(./logo-512-BgxCOl88.webp);background-size:contain;transform:scalex(-1);opacity:.05;filter:invert(1);z-index:0}.board-surface-flat:before,.board-surface-flat:after{display:none}.ulugo-board{--ulugo-board-foreground-color: #503819;--ulugo-black-background-color: #161a1f;--ulugo-black-foreground-color: #f5f7fa;--ulugo-white-background-color: #fbfaf4;--ulugo-white-foreground-color: #14171a;box-shadow:0 12px 30px #0000002e;z-index:1}.ulugo-board-flat{--ulugo-board-foreground-color: #111111;--ulugo-white-background-color: #ffffff;box-shadow:none}.ulugo-board .ulugo-vertex.ulugo-marker_label .ulugo-marker{font-size:.5em;font-weight:700}.ulugo-board .ulugo-vertex.ulugo-smalllabel .ulugo-marker{font-size:.4em}@media print{html,body,#root,.app-shell{position:static!important;width:auto!important;height:auto!important;inset:auto!important;overflow:visible!important;background:#fff!important}.app-header,.left-panel,.right-region,.analysis-button,.left-panel-toggle,.minimal-control{display:none!important}.app-content,.board-region,.board-frame{display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;overflow:visible!important;background:#fff!important}.board-region,.board-surface,.ulugo-board{break-inside:avoid;page-break-inside:avoid}.board-surface{display:block;width:max-content;margin:0 auto}.board-surface:before,.board-surface:after{display:none!important}.ulugo-board{box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}body.print-preview-open .app-shell,body.print-preview-open .ant-modal-mask,body.print-preview-open .ant-modal-header,body.print-preview-open .ant-modal-close,body.print-preview-open .ant-modal-footer{display:none!important}body.print-preview-open .ant-modal-root,body.print-preview-open .ant-modal-wrap,body.print-preview-open .print-preview-modal,body.print-preview-open .print-preview-modal .ant-modal-content,body.print-preview-open .print-preview-modal .ant-modal-body,body.print-preview-open .print-preview-pages{position:static!important;display:block!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;box-shadow:none!important;transform:none!important}.ant-modal-container{box-shadow:none!important}body.print-preview-open .print-preview-page{width:auto!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important;break-after:page;page-break-after:always}body.print-preview-open .print-preview-page:last-child{break-after:auto;page-break-after:auto}body.print-preview-open .print-preview-page-title{margin-bottom:12px}}.game-info-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.settings-help{display:block;margin-bottom:12px}.katago-settings-header{display:flex;justify-content:space-between;width:100%;margin-bottom:12px}.path-field{width:100%}.katago-download-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.katago-download-control{width:100%}.katago-download-control .ant-select{min-width:0;flex:1 1 auto}.katago-download-progress{margin-bottom:12px}.katago-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.hidden-file-input{display:none}.ant-btn.analysis-button{position:absolute;right:min(8px,abs(20cqw - 20cqh));bottom:min(8px,abs(20cqw - 20cqh));border-radius:20px;transition:background .5s;z-index:10}button.ant-btn.analysis-button-active{color:#fff;background:linear-gradient(100deg,#6253e1,#04befe,#1677ff,#6253e1);background-size:400%}button.ant-btn.analysis-button-deep{background:linear-gradient(100deg,#fa7161,#f0ae42,#e43603,#fa7161);background-size:400%}button.ant-btn.analysis-button-idle{background:linear-gradient(100deg,#40c057,#12b886,#2f9e44,#40c057);background-size:400%}button.ant-btn.analysis-button-active>*{z-index:2}button.ant-btn.analysis-button-active:before{content:"";position:absolute;background:inherit;inset:-2px;border-radius:20px;filter:blur(2px);transition:opacity .5s;opacity:1;z-index:1;animation:glow 8s linear infinite}@keyframes glow{0%{background-position:0%}to{background-position:-400%}}.ant-btn-color-primary{font-weight:550;text-shadow:1px 1px 3px #ae6705}button.ant-btn.left-panel-toggle{position:absolute;left:-1px;top:0;font-size:16px;border-top:none;border-left:none;border-radius:0 0 10px;z-index:10}@media(orientation:portrait){body.platform-web.minimal{position:absolute;inset:0 auto auto 0;width:100dvh;height:100dvw;transform:rotate(90deg) translateY(-100%);transform-origin:top left}body.platform-web.minimal .minimal-control-dropdown{position:fixed!important;inset:52px 12px auto auto!important;min-width:max-content!important}}@media print{body.platform-web.minimal{position:static!important;inset:auto!important;width:auto!important;height:auto!important;transform:none!important;transform-origin:initial!important}body.platform-web.minimal .minimal-control-dropdown{position:static!important;inset:auto!important;min-width:0!important}}@media(max-width:1200px){.app-header,.app-content{overflow:auto}.app-content>*{min-height:256px}.left-panel,.left-panel-toggle{display:none}.right-region{flex-basis:250px;width:250px}.comments-panel{max-height:30%}}
