.kc-board-frame{box-sizing:border-box;background:#36394e;border:1px solid #797c9b5e;border-radius:4px;width:100%;min-width:0;padding:0;position:relative;box-shadow:0 7px 24px #06071225;container-type:inline-size}.kc-board{aspect-ratio:1;isolation:isolate;-webkit-user-select:none;user-select:none;inline-size:100%;box-shadow:none;border-radius:3px;grid-template-rows:repeat(8,minmax(0,1fr));display:grid;position:relative;overflow:hidden}.kc-board-row{grid-template-columns:repeat(8,minmax(0,1fr));min-height:0;display:grid}.kc-cell{min-width:0;min-height:0;display:grid}.kc-board .kc-square{box-sizing:border-box;appearance:none;-webkit-tap-highlight-color:transparent;cursor:pointer;touch-action:manipulation;background-image:none;border:0;border-radius:0;width:100%;height:100%;margin:0;padding:0;display:block;position:relative}.kc-square[data-movable=true]{cursor:grab;touch-action:none}.kc-board .kc-light{color:#171a30;background-color:#757995;background-image:none}.kc-board .kc-dark{color:#f0effc;background-color:#404560;background-image:none}.kc-square:before,.kc-square:after{content:"";z-index:1;pointer-events:none;position:absolute;inset:0}.kc-square.kc-last:before{background:#a897dc60;box-shadow:inset 0 0 0 1px #cfb7ef5e}.kc-square.kc-selected:before{background:#b996fd7a;box-shadow:inset 0 0 0 3px #bfa8ff}html:root[data-room] body .kc-board .kc-square:is(.kc-premove,.kc-planning-selected):before{background:color-mix(in srgb,var(--premove-fill) 65%,transparent);box-shadow:inset 0 0 0 max(2px,.5cqw) color-mix(in srgb,var(--premove-edge) 65%,transparent)}.kc-annotations.kc-premove-arrows line{stroke:var(--premove-edge);opacity:.7}.kc-annotations.kc-premove-arrows path{fill:var(--premove-edge)}.kc-square.kc-checked:before{background:radial-gradient(#df5248bb 5%,#a8201db5 57%,#0000 78%)}.kc-square.kc-target:after{background:#4a3d6db5;border-radius:50%;inset:39%}.kc-dark.kc-target:after{background:#d4c5f7b3}.kc-square.kc-capture:after{border:max(3px,.69cqw) solid #c2a6ff;border-radius:50%;inset:3%}.kc-board .kc-square:focus{outline:0}.kc-board .kc-square:focus-visible{z-index:4;outline-offset:-4px;outline:3px solid #f1e9ff}.kc-piece{z-index:2;object-fit:contain;pointer-events:none;filter:drop-shadow(0 .14cqw .12cqw #14152558);width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.kc-dragging .kc-piece{visibility:hidden}.kc-ghost{z-index:7;pointer-events:none;filter:drop-shadow(0 .8cqw .55cqw #15100975);width:12.5%;max-width:none;height:12.5%;position:absolute;transform:translate(-50%,-50%)scale(1.06)}.kc-coordinate{z-index:3;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:system-ui,sans-serif;font-size:clamp(7px,1.58cqw,12px);font-weight:650;line-height:1;position:absolute}.kc-rank-label{top:4%;left:5%}.kc-file-label{bottom:4%;right:5%}.kc-promotion{box-sizing:border-box;max-width:min(370px,94vw);color:var(--ink);background:var(--panel);border:1px solid var(--line-gold);text-align:center;border-radius:12px;padding:20px;box-shadow:0 18px 50px #0007}.kc-promotion::backdrop{background:#080a16a8}.kc-promotion h3{font:650 23px/1.18 var(--sans);margin:0 0 16px}.kc-promotion-options{gap:6px;margin:0 0 14px;display:flex}.kc-promotion-options button{border:1px solid var(--line);background:var(--panel-deep);width:64px;color:inherit;cursor:pointer;border-radius:6px;padding:2px 0 7px}.kc-promotion-options button:hover,.kc-promotion-options button:focus-visible{background:var(--active-nav)}.kc-promotion-options img{width:100%;display:block}.kc-promotion-options span{text-transform:capitalize;font-size:11px}.kc-promotion-cancel{color:var(--gold);cursor:pointer;background:0 0;border:0;padding:6px 16px;text-decoration:underline}.kc-analysis-tools{width:100%;color:var(--ink);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.kc-analysis-line{overflow-wrap:anywhere;min-width:0;max-height:72px;color:var(--muted);flex:80px;font-size:12px;overflow:auto}html:root:not(#kc-bs) .kc-board *,html:root:not(#kc-bs) .kc-board :before,html:root:not(#kc-bs) .kc-board :after{transition:none}html:root:not(#kc-bs){--kc-board-auto:calc(var(--table-viewport,100svh) - 236px - var(--table-bottom,0px));--kc-board:max(240px,var(--kc-board-user,var(--kc-board-auto)));--kc-fit:calc(var(--table-viewport,100svh) - var(--table-bottom,0px));--kc-table-max:max(min(calc(var(--kc-fit) - 180px),calc((var(--kc-fit) - 72px) / 1.21)),calc(var(--kc-fit) - 240px));--kc-online-max:max(min(calc(var(--kc-fit) - 198px),calc((var(--kc-fit) - 86px) / 1.218)),calc(var(--kc-fit) - 254px))}@media (width<=760px){html:root:not(#kc-bs){--kc-board-auto:calc(var(--table-viewport,100svh) - 250px - var(--table-bottom,0px))}}@media (width>=761px){html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open){max-width:min(100%,calc(min(var(--kc-board),var(--kc-table-max)) + 16px));container-type:inline-size}html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open){max-width:min(100%,calc(min(var(--kc-board),var(--kc-online-max)) + var(--coordinate-gutter,18px) + 16px));container-type:inline-size}}@media (width<=760px){html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open){max-width:min(100%,var(--kc-board))}html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open){max-width:min(100%,calc(var(--kc-board) + var(--coordinate-gutter,17px) + 16px))}}@media (width<=680px){html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open){max-width:min(100%,calc(var(--kc-board) + var(--coordinate-gutter,17px) + 10px))}}@media (width>=761px){html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player{grid-template-columns:clamp(40px,7.8cqw,64px) minmax(0,1fr) auto auto;height:clamp(54px,10.5cqw,84px);min-height:clamp(54px,10.5cqw,84px)}html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat{height:clamp(56px,10.9cqw,84px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player .avatar,html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat .on-seat-icon{width:clamp(40px,7.8cqw,64px);height:clamp(40px,7.8cqw,64px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player .player-name strong,html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat .on-seat-name strong{font-size:clamp(13px,2.55cqw,20px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player .player-rating,html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat .player-rating{font-size:clamp(12px,2.35cqw,18px)}html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat .on-seat-name small{font-size:clamp(11px,2.15cqw,17px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player .player-clock,html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open)>.on-seat .on-clock{min-width:clamp(104px,20.3cqw,165px);height:clamp(40px,7.8cqw,64px);font-size:clamp(21px,4.1cqw,33px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open)>.player .captures img{width:clamp(12px,2.35cqw,19px);height:clamp(12px,2.35cqw,19px)}html:root:not(#kc-bs) .desk-wrap .desk-grid>.table:not(.board-focus-open) .play-board-stage .kc-analysis-tools{bottom:calc(clamp(54px,10.5cqw,84px)/-2 - 17px);right:calc(clamp(104px,20.3cqw,165px) - 4px)}html:root:not(#kc-bs) .on-game-room .on-playing-table:not(.board-focus-open) .play-board-stage .kc-analysis-tools{bottom:calc(clamp(56px,10.9cqw,84px)/-2 - 16px);right:calc(clamp(104px,20.3cqw,165px) - 4px)}}html:root:not(#kc-bs) .up-board-area{width:100%;max-width:min(100%,var(--kc-board));margin-inline:auto}html:root:not(#kc-bs) .daily-board-column{width:min(calc(100% - 16px),var(--kc-board))}@media (width<=760px){html:root:not(#kc-bs) .daily-board-column{width:min(100%,var(--kc-board))}}html:root:not(#kc-bs) .interactive-lesson .lesson-workspace.lesson-focus>div:first-child,html:root:not(#kc-bs) .classic-workspace>div:first-child,html:root:not(#kc-bs) .bot-tv:not(.tv-preview) .tv-board-column,html:root:not(#kc-bs) .ka-replay-layout>.ka-viewer,html:root:not(#kc-bs) .ch-analysis-layout>div:first-child{width:min(100%,var(--kc-board));justify-self:center;min-width:0;max-width:none}html:root:not(#kc-bs) .study-workspace .ka-puzzle-board,html:root:not(#kc-bs) .dy-content>.kc-board-frame,html:root:not(#kc-bs) .pm-studio>.kc-board-frame{width:min(100%,var(--kc-board));max-width:none;margin-inline:auto}html:root:not(#kc-bs) .section-room:has(:is(.up-board-area,.lesson-focus,.classic-workspace,.tv-board-column,.ka-viewer,.study-workspace,.ch-analysis-layout,.inline-daily,.pm-studio)){max-width:max(1100px,calc(var(--kc-board) * 1.7 + 140px))}html:root:not(#kc-bs) .kc-resize-handle{z-index:9;cursor:nwse-resize;touch-action:none;opacity:0;width:22px;height:22px;transition:opacity .15s;display:none;position:absolute;bottom:-14px;right:-14px}html:root:not(#kc-bs) .kc-resize-handle:before{content:"";box-sizing:border-box;width:11px;height:11px;color:var(--muted-foreground,#b9bbd2);border-bottom:2px solid;border-right:2px solid;border-radius:0 0 3px;position:absolute;bottom:4px;right:4px}html:root:not(#kc-bs) .kc-board-frame:hover>.kc-resize-handle,html:root:not(#kc-bs) .kc-resize-handle:hover,html:root:not(#kc-bs).kc-board-resizing .kc-resize-handle{opacity:1}html:root:not(#kc-bs) .kc-resize-handle:hover:before,html:root:not(#kc-bs).kc-board-resizing .kc-resize-handle:before{color:var(--ring,#c2adff)}html:root:not(#kc-bs).kc-board-resizing,html:root:not(#kc-bs).kc-board-resizing *{cursor:nwse-resize!important;-webkit-user-select:none!important;user-select:none!important}@media (hover:hover) and (pointer:fine){html:root:not(#kc-bs) :is(.desk-wrap .desk-grid>.table:not(.board-focus-open),.on-game-room .on-playing-table:not(.board-focus-open),.up-board-area,.daily-board-column,.interactive-lesson .lesson-focus>div:first-child,.classic-workspace>div:first-child,.bot-tv:not(.tv-preview) .tv-board-column,.ka-viewer,.study-workspace .ka-puzzle-board,.ch-analysis-layout>div:first-child,.dy-content,.pm-studio) .kc-board-frame>.kc-resize-handle{display:block}}
