.gk-room{--surface:#fbf6e6;--sunk:#ede4c8;--ink:#2a2418;--muted:#6a604a;--line:#d5c9a6;--accent:#2c3e73;--accent-ink:#fff;--sun:#966700;--good:#2c7738;--bad:#b3322b;--info:#2c3e73;--good-tint:#e2efd9;--bad-tint:#f7deda;--warn-tint:#fbf0c8;--info-tint:#e1e5f2;--shadow:0 1px 0 #3c321414, 0 8px 20px -10px #3c321473;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink)}.gk-room.play-screen,.gk-room>.play-screen{color:var(--ink);background-color:#d9cf9c;background-image:linear-gradient(#2e3a2a 0 10px,#0000 10px calc(100% - 10px),#2e3a2a calc(100% - 10px)),repeating-linear-gradient(90deg,#5a501e1a 0 1px,#0000 1px 4px),repeating-linear-gradient(0deg,#ffffff1f 0 2px,#786e320f 2px 5px),linear-gradient(90deg,#d6cc97,#ded5a6 50%,#d3c893);border-radius:6px;margin-block:18px 28px;padding-top:10px;padding-bottom:10px;box-shadow:0 1px #0000000f,0 18px 40px -22px #0000008c,inset 0 0 0 1px #3c32142e}.gk-room .play-bar .backlink,.gk-room .play-bar .title small,.gk-room .hint{color:var(--muted)}.gk-room .chip-btn:not([aria-pressed=true]){background:var(--surface)}.gk-room .panel{box-shadow:var(--shadow)}.gk-room .howto-btn{background:var(--surface);border-color:#bfb389}:where(.gk-room) div.gk-room:not(.play-screen){flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.gk-room .bv-status{font-family:var(--f-word);justify-content:center;align-items:center;gap:8px;font-size:18px;font-weight:400;display:flex}:where(.gk-room) .gk-tok{flex:none;width:20px;height:20px;display:inline-block}:where(.gk-room) .gk-folded{flex-wrap:wrap;align-items:center;gap:8px;display:flex}:where(.gk-room) .gk-folded>span{color:var(--muted);margin-right:auto;font-size:14px}@media (max-width:480px){:where(.gk-room) .gk-folded>span{flex-basis:100%;font-size:13px}:where(.gk-room) .gk-folded .btn{margin-left:auto}}:where(.play-screen:not(.gk-room)) .gk-board{aspect-ratio:1;border:3px solid var(--ink);border-radius:var(--radius);background:#e8c27a;width:min(100%,520px,max(240px,100svh - 470px));margin:0 auto;display:grid}:where(.gk-room) .gk-board{--gk-line:#1e1408d1;aspect-ratio:1;background-color:#e3b76a;background-image:repeating-linear-gradient(91deg,#965f1e1a 0 2px,#0000 2px 9px,#965f1e12 9px 10px,#0000 10px 23px),radial-gradient(120% 30% at 30% 40%,#ffe6aa40,#0000 70%),linear-gradient(#e8be74,#ddaf62);border-radius:3px;width:min(100%,560px,max(260px,100svh - 380px));margin:0 auto 12px;padding:1.5%;display:grid;position:relative;box-shadow:inset 0 1px #fff0c899,0 3px #c3924a,0 7px #a9783a,0 9px 2px #00000040,0 22px 30px -12px #281e0a8c}.gk-cell{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;min-width:0;min-height:0;padding:0;display:flex;position:relative}:where(.gk-room) .gk-cell:before,:where(.gk-room) .gk-cell:after{content:"";background:var(--gk-line);pointer-events:none;position:absolute}:where(.play-screen:not(.gk-room)) .gk-cell:before{content:"";background:linear-gradient(#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px)),linear-gradient(90deg,#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px));position:absolute;inset:0}:where(.gk-room) .gk-cell:before{height:1px;top:calc(50% - .5px);left:0;right:0}:where(.gk-room) .gk-cell:after{width:1px;top:0;bottom:0;left:calc(50% - .5px)}:where(.gk-room) .gk-cell.l:before{left:50%}:where(.gk-room) .gk-cell.r:before{right:50%}:where(.gk-room) .gk-cell.t:after{top:50%}:where(.gk-room) .gk-cell.b:after{bottom:50%}:where(.gk-room) .gk-cell.t:before,:where(.gk-room) .gk-cell.b:before{height:2px;top:calc(50% - 1px)}:where(.gk-room) .gk-cell.l:after,:where(.gk-room) .gk-cell.r:after{width:2px;left:calc(50% - 1px)}:where(.gk-room) .gk-hoshi{z-index:0;background:#2a1f14;border-radius:50%;width:18%;min-width:5px;max-width:8px;height:18%;min-height:5px;max-height:8px;position:absolute}.gk-cell:disabled{cursor:default}:where(.play-screen:not(.gk-room)) .gk-cell:focus-visible{outline:3px solid var(--accent);outline-offset:-3px;z-index:2}:where(.gk-room) .gk-cell:focus-visible{outline-offset:-2px;z-index:3;border-radius:50%;outline:2px solid #2c3e73}@media (hover:hover){:where(.gk-room) .gk-board[data-turn="0"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#11111180 0 40%,#0000 42%)}:where(.gk-room) .gk-board[data-turn="1"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#ffffffb3 0 40%,#0000 42%)}}:where(.play-screen:not(.gk-room)) .gk-stone{z-index:1;border:2px solid #0009;border-radius:50%;width:82%;height:82%;position:relative}:where(.gk-room) .gk-stone{z-index:2;border-radius:50%;width:90%;height:90%;animation:.14s ease-out gk-place;position:relative;box-shadow:1px 2px 2px #28190573}:where(.play-screen:not(.gk-room)) .gk-stone.d0{background:radial-gradient(circle at 35% 30%,#555,#111)}:where(.gk-room) .gk-stone.d0{background:radial-gradient(circle at 34% 28%,#7a7a7a 0,#2b2b2b 30%,#0b0b0b 70%)}:where(.play-screen:not(.gk-room)) .gk-stone.d1{background:radial-gradient(circle at 35% 30%,#fff,#d9d4c5)}:where(.gk-room) .gk-stone.d1{background:radial-gradient(circle at 34% 28%,#fff 0,#f3f0e8 35%,#d6d0c2 100%);box-shadow:1px 2px 2px #28190566,inset 0 -1px 2px #786e5a40}:where(.gk-room) .gk-cell.last .gk-stone:after{content:"";border:2px solid #c8372d;border-radius:50%;position:absolute;inset:32%}:where(.play-screen:not(.gk-room)) .gk-cell.win .gk-stone{box-shadow:0 0 0 3px var(--good), 0 0 10px var(--good)}:where(.gk-room) .gk-cell.win .gk-stone{box-shadow:0 0 0 2px #fff6d8,0 0 0 4px #c8372d,0 0 10px 3px #ffdc8ccc}:where(.gk-room) .gk-stone.gk-tok{width:20px;height:20px;animation:none}@keyframes gk-place{0%{opacity:.6;transform:scale(1.12)}}@media (prefers-reduced-motion:reduce){:where(.gk-room) .gk-stone{animation:none}}@media (max-width:760px){.gk-room.play-screen,.gk-room>.play-screen{width:auto;margin-inline:8px;padding-inline:10px}}@media (max-width:420px){:where(.gk-room) .gk-cell.l:after,:where(.gk-room) .gk-cell.r:after{width:1.5px}:where(.gk-room) .gk-cell.t:before,:where(.gk-room) .gk-cell.b:before{height:1.5px}}@media (max-width:480px){.gk-room .bv-bar .tx-opts:nth-child(2){grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.gk-room .bv-bar .tx-opts:nth-child(2) .chip-btn{grid-column:span 2;justify-content:center;padding-inline:6px}.gk-room .bv-bar .tx-opts:nth-child(2) .chip-btn:nth-child(n+4){grid-column:span 3}}:where(.play-screen:not(.gk-room)) .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#00000047 0 22%,#0000 24%)}:where(.play-screen:not(.gk-room)) .gk-cell.last .gk-stone{box-shadow:0 0 0 3px var(--accent)}@media (min-width:1024px) and (min-height:600px){.play-screen.desk:has(.gk-board){--desk-ratio:1}}@media (prefers-color-scheme:dark){:where(:root:not([data-theme=light])) .gk-room{--surface:#2b271b;--sunk:#211b0a;--ink:#f2eada;--muted:#bbb098;--line:#544d37;--accent:#9db6f4;--accent-ink:#101524;--sun:#e0ae5d;--good:#81cc88;--bad:#fe968a;--info:#9db6f4;--good-tint:#2d3a22;--bad-tint:#482e2a;--warn-tint:#413400;--info-tint:#303545;--shadow:0 1px 0 #0000004d, 0 8px 22px -10px #000000b3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:where(:root:not([data-theme=light])) .gk-room.play-screen,:where(:root:not([data-theme=light])) .gk-room>.play-screen{color:var(--ink);background-color:#383211;background-image:linear-gradient(#2e3a2a 0 10px,#0000 10px calc(100% - 10px),#2e3a2a calc(100% - 10px)),repeating-linear-gradient(90deg,#5a501e1a 0 1px,#0000 1px 4px),repeating-linear-gradient(0deg,#1f1f1f1f 0 2px,#786e320f 2px 5px),linear-gradient(90deg,#393312,#362f0f 50%,#3b3414)}:where(:root:not([data-theme=light])) .gk-room .play-bar .backlink,:where(:root:not([data-theme=light])) .gk-room .play-bar .title small,:where(:root:not([data-theme=light])) .gk-room .hint{color:var(--muted)}:where(:root:not([data-theme=light])) .gk-room .chip-btn:not([aria-pressed=true]){background:var(--surface)}:where(:root:not([data-theme=light])) .gk-room .howto-btn{background:var(--surface);border-color:#544d34}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-folded>span{color:var(--muted)}:where(:root:not([data-theme=light])) :where(.play-screen:not(.gk-room)) .gk-board{border:3px solid var(--ink);background:#403113}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-board{background-color:#453517;background-image:repeating-linear-gradient(91deg,#965f1e1a 0 2px,#0000 2px 9px,#965f1e12 9px 10px,#0000 10px 23px),radial-gradient(120% 30% at 30% 40%,#32260540,#0000 70%),linear-gradient(#423215,#49371a)}:where(:root:not([data-theme=light])) .gk-cell{background:0 0;border:0}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-cell:before,:where(:root:not([data-theme=light])) :where(.gk-room) .gk-cell:after{background:var(--gk-line)}:where(:root:not([data-theme=light])) :where(.play-screen:not(.gk-room)) .gk-cell:before{background:linear-gradient(#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px)),linear-gradient(90deg,#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px))}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-hoshi{background:#2a1f14}:where(:root:not([data-theme=light])) :where(.play-screen:not(.gk-room)) .gk-cell:focus-visible{outline:3px solid var(--accent)}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-cell:focus-visible{outline:2px solid #b2bdd8}@media (hover:hover){:where(:root:not([data-theme=light])) :where(.gk-room) .gk-board[data-turn="0"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#11111180 0 40%,#0000 42%)}:where(:root:not([data-theme=light])) :where(.gk-room) .gk-board[data-turn="1"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#1f1f1fb3 0 40%,#0000 42%)}}:where(:root:not([data-theme=light])) :where(.play-screen:not(.gk-room)) .gk-stone.d1,:where(:root:not([data-theme=light])) :where(.gk-room) .gk-stone.d1{--surface:#fbf6e6;--sunk:#ede4c8;--ink:#2a2418;--muted:#6a604a;--line:#d5c9a6;--accent:#2c3e73;--accent-ink:#fff;--sun:#966700;--good:#2c7738;--bad:#b3322b;--info:#2c3e73;--good-tint:#e2efd9;--bad-tint:#f7deda;--warn-tint:#fbf0c8;--info-tint:#e1e5f2;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink)}:where(:root:not([data-theme=light])) :where(.play-screen:not(.gk-room)) .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#00000047 0 22%,#0000 24%)}}:where(:root[data-theme=dark]) .gk-room{--surface:#2b271b;--sunk:#211b0a;--ink:#f2eada;--muted:#bbb098;--line:#544d37;--accent:#9db6f4;--accent-ink:#101524;--sun:#e0ae5d;--good:#81cc88;--bad:#fe968a;--info:#9db6f4;--good-tint:#2d3a22;--bad-tint:#482e2a;--warn-tint:#413400;--info-tint:#303545;--shadow:0 1px 0 #0000004d, 0 8px 22px -10px #000000b3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:where(:root[data-theme=dark]) .gk-room.play-screen,:where(:root[data-theme=dark]) .gk-room>.play-screen{color:var(--ink);background-color:#383211;background-image:linear-gradient(#2e3a2a 0 10px,#0000 10px calc(100% - 10px),#2e3a2a calc(100% - 10px)),repeating-linear-gradient(90deg,#5a501e1a 0 1px,#0000 1px 4px),repeating-linear-gradient(0deg,#1f1f1f1f 0 2px,#786e320f 2px 5px),linear-gradient(90deg,#393312,#362f0f 50%,#3b3414)}:where(:root[data-theme=dark]) .gk-room .play-bar .backlink,:where(:root[data-theme=dark]) .gk-room .play-bar .title small,:where(:root[data-theme=dark]) .gk-room .hint{color:var(--muted)}:where(:root[data-theme=dark]) .gk-room .chip-btn:not([aria-pressed=true]){background:var(--surface)}:where(:root[data-theme=dark]) .gk-room .howto-btn{background:var(--surface);border-color:#544d34}:where(:root[data-theme=dark]) :where(.gk-room) .gk-folded>span{color:var(--muted)}:where(:root[data-theme=dark]) :where(.play-screen:not(.gk-room)) .gk-board{border:3px solid var(--ink);background:#403113}:where(:root[data-theme=dark]) :where(.gk-room) .gk-board{background-color:#453517;background-image:repeating-linear-gradient(91deg,#965f1e1a 0 2px,#0000 2px 9px,#965f1e12 9px 10px,#0000 10px 23px),radial-gradient(120% 30% at 30% 40%,#32260540,#0000 70%),linear-gradient(#423215,#49371a)}:where(:root[data-theme=dark]) .gk-cell{background:0 0;border:0}:where(:root[data-theme=dark]) :where(.gk-room) .gk-cell:before,:where(:root[data-theme=dark]) :where(.gk-room) .gk-cell:after{background:var(--gk-line)}:where(:root[data-theme=dark]) :where(.play-screen:not(.gk-room)) .gk-cell:before{background:linear-gradient(#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px)),linear-gradient(90deg,#0000 calc(50% - 1px),#0009 calc(50% - 1px) calc(50% + 1px),#0000 calc(50% + 1px))}:where(:root[data-theme=dark]) :where(.gk-room) .gk-hoshi{background:#2a1f14}:where(:root[data-theme=dark]) :where(.play-screen:not(.gk-room)) .gk-cell:focus-visible{outline:3px solid var(--accent)}:where(:root[data-theme=dark]) :where(.gk-room) .gk-cell:focus-visible{outline:2px solid #b2bdd8}@media (hover:hover){:where(:root[data-theme=dark]) :where(.gk-room) .gk-board[data-turn="0"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#11111180 0 40%,#0000 42%)}:where(:root[data-theme=dark]) :where(.gk-room) .gk-board[data-turn="1"] .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#1f1f1fb3 0 40%,#0000 42%)}}:where(:root[data-theme=dark]) :where(.play-screen:not(.gk-room)) .gk-stone.d1,:where(:root[data-theme=dark]) :where(.gk-room) .gk-stone.d1{--surface:#fbf6e6;--sunk:#ede4c8;--ink:#2a2418;--muted:#6a604a;--line:#d5c9a6;--accent:#2c3e73;--accent-ink:#fff;--sun:#966700;--good:#2c7738;--bad:#b3322b;--info:#2c3e73;--good-tint:#e2efd9;--bad-tint:#f7deda;--warn-tint:#fbf0c8;--info-tint:#e1e5f2;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink)}:where(:root[data-theme=dark]) :where(.play-screen:not(.gk-room)) .gk-cell:not(:disabled):hover{background:radial-gradient(circle,#00000047 0 22%,#0000 24%)}
