.gkp-layout{--gkp-red:#b3261e;--gkp-gold:#c99a2e;--gkp-green:#3f7a52;--puzzle-hint:#2fd0e0;--puzzle-hint-soft:#2fd0e080;--puzzle-hint-edge:#0e2228b3}.gkp-panel .game-panel-share,.gkp-panel .game-control-settings:empty{display:none}@media (width>=851px) and (orientation:landscape),(width>=812px) and (height<=500px){.game-layout .gkp-board-frame{width:var(--fitted-board-size);margin-inline:auto}}@media (width<=850px),(orientation:portrait){.game-layout .gkp-board-frame{width:min(100%, var(--board-fit-height));margin-inline:auto}}.gkp-board-frame{position:relative}.gkp-board-frame.gkp-wrong{box-shadow:inset 0 0 0 3px #b3261eb8,inset 0 0 28px #b3261e33}.gkp-good-badge{z-index:9;aspect-ratio:1;color:#fff;width:clamp(14px,42%,22px);font:800 11px/1 var(--font-app-sans);pointer-events:none;background:#2e8b57;border-radius:50%;place-items:center;display:grid;position:absolute;top:-6%;right:-6%;box-shadow:0 1px 3px #00000059,0 0 0 2px #fffdf7}.gkp-finish-mark{z-index:4;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.gkp-finish-mark>.gomoku-forbidden-mark{animation:1.1s ease-in-out infinite alternate gkp-finish-pulse;transform:scale(1.45)}.gkp-finish-mark>.gomoku-forbidden-mark>i:before,.gkp-finish-mark>.gomoku-forbidden-mark>i:after{background:#c0392b;height:max(2px,.09em)}@keyframes gkp-finish-pulse{0%{opacity:1}to{opacity:.45}}@media (prefers-reduced-motion:reduce){.gkp-finish-mark>.gomoku-forbidden-mark{animation:none}}.gkp-goal-row.bk-seat{align-items:center;gap:10px;min-height:56px;padding-block:7px;display:flex}.gkp-panel .gkp-goal-row.bk-seat{border:1px solid var(--line);border-radius:10px}.gkp-goal-row.bk-seat.is-to-move{background:#f7efdd;box-shadow:inset 3px 0 #c99a2e}.gkp-goal-who{flex:none;place-items:center;display:grid}.gkp-goal-who>.stone-mini{--stone-mini:22px}.gkp-goal-text{gap:1px;min-width:0;display:grid}.gkp-goal-small{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;line-height:1.3;overflow:hidden}.gkp-goal-small.is-solved{color:var(--gkp-green);font-weight:650}.gkp-goal-stars{color:#a07a2a;font-variant-numeric:tabular-nums}.gkp-goal-time{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-weight:500}.gkp-goal-big{color:var(--gkp-red);white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:750;line-height:1.3;overflow:hidden}.gkp-goal-big.is-wrong{color:#b3261e}.gkp-goal-big.is-solved{color:var(--gkp-green)}.gkp-goal-side-inline,html[lang=en] .gkp-goal-side{display:none}html[lang=en] .gkp-goal-side-inline{display:inline}.gkp-note{min-width:0;color:var(--ink-soft);flex:1 1 0;font-size:14px;line-height:1.4}.gkp-retry.secondary-button{flex:none;min-height:32px;padding:0 12px;font-size:13px}.gkp-more{max-width:100%;color:var(--ink-soft);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:2px;padding:2px 0;font-size:13px;line-height:1.35;display:inline-flex}.gkp-more:hover{color:var(--ink);text-decoration:underline}.gkp-more>svg{flex:none;width:14px;height:14px}@media (width>=851px) and (orientation:landscape),(width>=812px) and (height<=500px){.gkp-panel.is-daily .game-status-panel>.game-panel-prompt-slot{order:3;gap:4px;margin:0;display:grid}.gkp-panel.is-daily .game-status-panel>.game-panel-prompt-slot:empty{display:none}.gkp-panel.is-daily .game-status-panel>.game-panel-prompt-slot>.gkp-more{width:100%}}.gkp-topic-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;display:grid}.gkp-topic-chips>button{min-height:34px;color:var(--ink);font:600 13.5px/1.2 var(--font-app-sans);white-space:nowrap;cursor:pointer;background:#fffdf7;border:1px solid #483d312e;border-radius:9px;padding:0 8px;box-shadow:0 1px #5c3c160f}.gkp-topic-chips.is-en>button{padding:0 6px;font-size:12.5px}.gkp-topic-chips>button:hover{border-color:#483d318c}.gkp-topic-chips>button[aria-pressed=true]{border-color:var(--gkp-gold);color:#4a3519;background:#f3e3bb;font-weight:700}.gkp-topic-chips:not(.is-strip)>.gkp-chip-mix{grid-column:1/-1}.segmented-control.gkp-steps{grid-auto-columns:minmax(0,1fr);width:100%}.segmented-control.gkp-steps>button{gap:2px;min-height:42px;padding:4px 0 3px}.segmented-control.gkp-steps>button>strong{font-size:14px;line-height:1.1}.gkp-steps-count{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:11px;font-weight:500;line-height:1}.gkp-step-short{display:none}.gkp-drawer-extra{gap:4px;padding:10px 0 2px;display:grid}.gkp-bar-menu{grid-auto-columns:minmax(max-content,1fr);grid-auto-flow:column;gap:6px;display:grid}.gkp-bar-menu>.secondary-button{min-width:0;min-height:40px;box-shadow:none;color:#5c462c;white-space:nowrap;background:#855e2e17;border-color:#0000;border-radius:10px;place-items:center;padding:0 4px;font-size:14px;font-weight:650;text-decoration:none;display:grid}.gkp-bar-row{gap:6px;min-width:0;display:flex}.gkp-bar-note{min-width:0;color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;flex:1 1 0;align-self:center;font-size:14px;overflow:hidden}.segmented-control.gkp-steps.is-bar{flex:1 1 0;width:auto;min-width:0;padding:3px}.segmented-control.gkp-steps.is-bar>button{min-height:32px;padding:0 2px}.segmented-control.gkp-steps.is-bar>button>strong{font-size:14px;font-weight:650;line-height:1}@media (width<=811px),(width<=850px) and (height>=501px),(orientation:portrait){.board-column.gkp-board-column{--board-chrome:121px;row-gap:4px}.gkp-layout[data-view=tactics] .board-column.gkp-board-column{--board-chrome:138px}.gkp-under{box-sizing:border-box;width:var(--bk-board-width,100%);justify-self:center;max-width:100%;min-height:117px}.gkp-under>.gkp-goal-row.bk-seat{min-height:48px;padding-block:4px}.gkp-under .gkp-goal-big{font-size:15px}:is(.narrow-action-bar-prompt:has(>.gkp-bar-menu),.narrow-action-bar-prompt:has(>.gkp-bar-row)){padding:6px 10px 2px}.gkp-topic-chips.is-strip{overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;gap:6px;padding:4px 10px 2px;display:flex;overflow-x:auto}.gkp-topic-chips.is-strip::-webkit-scrollbar{display:none}.gkp-topic-chips.is-strip>button{border-radius:999px;flex:none;min-height:30px;padding:0 11px;font-size:13.5px}.gkp-topic-chips.is-strip>button.is-all{color:var(--ink-soft);align-items:center;gap:1px;display:inline-flex}.gkp-topic-chips.is-strip>button.is-all>svg{width:14px;height:14px}}@media (width<=340px){.gkp-steps.is-bar .gkp-step-long{display:none}.gkp-steps.is-bar .gkp-step-short{display:inline}.gkp-bar-menu>.secondary-button{font-size:13px}}.board-column.gkp-board-column{position:relative}.gkp-picker{z-index:20;color:var(--ink);background:linear-gradient(#f7f1e4,#f2e9d6);outline:none;grid-template-rows:auto minmax(0,1fr);display:grid;position:absolute;inset:0}.gkp-picker-head{background:linear-gradient(#7b5638,#63432a);grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:9px 16px;display:grid;box-shadow:inset 0 -1px #0000002e,0 2px 6px #3c26122e}.gkp-picker-back{min-height:34px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;background:#fffaf0;border:1px solid #ffffffb3;border-radius:999px;justify-self:start;align-items:center;gap:6px;padding:0 14px 0 10px;font-size:14px;font-weight:700;display:inline-flex}.gkp-picker-title{color:#fff8ea;letter-spacing:.06em;white-space:nowrap;margin:0;font-size:18px;font-weight:750;line-height:1.2}.gkp-picker-total{color:#5c462c;font-variant-numeric:tabular-nums;white-space:nowrap;background:#fffaf0f2;border-radius:999px;justify-self:end;padding:4px 12px;font-size:14px;font-weight:700}.gkp-picker-body{-webkit-overflow-scrolling:touch;min-height:0;padding:16px;overflow-y:auto}.gkp-picker [aria-current=true],.gkp-picker [aria-current=true]:hover{border-color:var(--gkp-gold);box-shadow:0 0 0 2px var(--gkp-gold)}.gkp-topics{grid-template-columns:repeat(3,minmax(0,170px));justify-content:center;gap:12px;display:grid}.gkp-topic{min-width:0;color:var(--ink);font:inherit;text-align:start;cursor:pointer;background:#fffdf7;border:1px solid #855e2e38;border-radius:12px;grid-template-rows:auto auto auto;align-content:start;gap:6px;padding:8px 8px 10px;display:grid;box-shadow:0 1px #5c3c1614,0 4px 12px #5c3c160f}.gkp-topic:hover{border-color:#855e2e99}.gkp-topic-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 6px;min-width:0;display:flex}.gkp-topic-row>strong{min-width:0;font-size:15px;font-weight:700;line-height:1.25}.gkp-topic-row>small{color:var(--ink-soft);font-variant-numeric:tabular-nums;font-size:12px}.gkp-meter{background:#855e2e1f;border-radius:2px;height:4px;display:block;overflow:hidden}.gkp-meter>i{background:var(--gkp-green);border-radius:2px;height:100%;display:block}.gkp-topic-plain{text-align:center;grid-template-rows:minmax(0,1fr) auto auto;justify-items:center}.gkp-topic-plain>.gkp-topic-row{justify-content:center}.gkp-topic-big{color:#8a6a3f;font-variant-numeric:tabular-nums;align-self:center;padding:18px 0 8px;font-size:36px;font-weight:800;line-height:1}.gkp-topic-plain.is-missed .gkp-topic-big{color:var(--gkp-red);font-size:44px}.gkp-topic-note{color:var(--ink-soft);font-size:12px;line-height:1.3}.gkp-mini{width:100%;height:auto;display:block}.gkp-mini-wood{fill:#e9c88f;stroke:#b98a4a;stroke-width:1px}.gkp-mini-lines line{stroke:#5c3c1673;stroke-width:.5px}.gkp-mini-black{fill:#1f1b18}.gkp-mini-white{fill:#fbf7ee;stroke:#3c32288c;stroke-width:.6px}.gkl-list{gap:6px;max-width:420px;margin:0 auto;padding:0;list-style:none;display:grid}.gkl-row{width:100%;min-height:40px;color:var(--ink);font:inherit;text-align:start;cursor:pointer;background:#fffdf7;border:1px solid #855e2e38;border-radius:10px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:4px 12px 4px 8px;display:grid}.gkl-row>strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:15px;font-weight:650;overflow:hidden}.gkl-row>small{color:var(--ink-soft);font-size:12px}.gkl-row>em{color:var(--gkp-red);font-size:12px;font-style:normal;font-weight:700}.gkl-tick{color:#5c462c;background:#855e2e1f;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.gkl-tick.is-done{background:var(--gkp-green);color:#fff}@media (width<=811px),(width<=850px) and (height>=501px),(orientation:portrait){.gkp-picker{inset:var(--gkp-top,44px) 0 0 0;z-index:60;position:fixed}.gkp-picker-body{padding:10px 10px calc(16px + env(safe-area-inset-bottom,0px))}.gkp-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}@media (width<=340px){.gkp-picker-back{padding:0 10px 0 8px}.gkp-picker-total{display:none}.gkp-picker-head{grid-template-columns:auto minmax(0,1fr)}.gkp-picker-title{text-align:end;font-size:16px}}@media (width>=851px) and (orientation:landscape),(width>=812px) and (height<=500px){.game-layout.gkl-layout .gkp-board-frame{--gkl-board:min(var(--fitted-board-size), calc(100% - 192px));width:var(--gkl-board);margin-left:min(calc((100% - var(--gkl-board)) / 2), calc(100% - var(--gkl-board) - 184px));justify-self:start;margin-right:0}}.gkl-coach{z-index:6;box-sizing:border-box;width:170px;color:var(--ink);background:#fffdf7;border:1px solid #855e2e42;border-radius:12px;gap:8px;padding:12px 12px 14px;display:grid;position:absolute;top:0;left:calc(100% + 10px);box-shadow:0 2px 10px #5c3c161a}.gkl-coach-top{color:var(--ink-soft);justify-content:space-between;align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.gkl-dots{gap:4px;display:inline-flex}.gkl-dots>i{background:#855e2e33;border-radius:50%;width:7px;height:7px}.gkl-dots>i.is-on{background:var(--gkp-gold)}.gkl-dots>i.is-done{background:var(--gkp-green)}.gkl-coach-text{margin:0;font-size:15px;line-height:1.5}.gkl-why{color:var(--gkp-green);margin:0;font-size:13.5px;font-weight:600;line-height:1.4}.gkl-why.is-wrong{color:var(--gkp-red)}.gkl-next.primary-button{white-space:normal;width:100%;min-height:38px;padding:0 8px;font-size:14px;line-height:1.2}.gkl-coach.is-under{width:auto;box-shadow:none;border-radius:10px;gap:3px;padding:5px 10px 6px;position:static}.gkl-coach.is-under .gkl-coach-top>.gkl-why{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;overflow:hidden}.gkl-coach.is-under .gkl-coach-text{font-size:14px;line-height:1.45}.gkl-coach.is-under .gkl-why{font-size:13px}.gkl-bar-pick.secondary-button{border-radius:10px;flex:1 1 0;align-items:center;gap:8px;min-width:0;min-height:40px;padding:4px 12px;font-size:14px;font-weight:500;display:flex}.gkl-bar-pick>b{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:700;overflow:hidden}.gkl-bar-word{color:var(--ink-soft);white-space:nowrap;flex:none;font-size:13px}.gkl-caret{flex:none;margin-inline-start:auto;font-style:normal}@media (width<=340px){html[lang=en] .gkl-bar-word{display:none}}.gko-group{max-width:776px;margin:0 auto 12px}.gko-group-title{color:#5c462c;margin:0 0 6px;font-size:15px;font-weight:750;line-height:1.3}.gko-grid{grid-template-columns:repeat(7,minmax(0,104px));gap:8px;display:grid}.gkp-topic.gko-card{text-align:center;justify-items:center;gap:4px;padding:7px 6px 6px}.gko-card>.gkp-mini{width:100%;max-width:72px}.gko-card>strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;font-size:14.5px;font-weight:700;line-height:1.2;overflow:hidden}.gko-layout .stone-board[data-numbers]{--stone-cell:calc(100cqw / 15)}.gko-panel .gko-play.primary-button{white-space:nowrap}.gko-name{min-width:0;color:var(--ink);white-space:nowrap;align-items:baseline;gap:8px;font-size:17px;font-weight:750;line-height:1.3;display:flex;overflow:hidden}.gko-name-other{min-width:0;color:var(--ink-soft);text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}@media (width<=811px),(width<=850px) and (height>=501px),(orientation:portrait){.gko-group{max-width:none}.gko-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:6px}.gko-card>strong{font-size:13.5px}}
