.kok-game-menu{box-sizing:border-box;background:var(--kok-paper);width:calc(100% - 32px);max-width:960px;color:var(--kok-ink);border:var(--kok-frame);box-shadow:var(--kok-shadow);font:700 14px/1.3 var(--kok-font);border-radius:18px;margin:14px auto 12px;padding:10px;position:relative}.kok-game-menu .kok-game-heading{align-items:center;gap:8px;margin-bottom:9px;display:flex}.kok-game-menu .kok-game-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:1.05rem;font-weight:800}.kok-action-icon{font:800 .9em/1 system-ui,sans-serif}.kok-game-menu .kok-game-modes button,.kok-together-options button{gap:5px}.kok-game-menu button.kok-game-together{background:#d9eeee}.kok-game-menu button.kok-game-rank{background:#f9e7ab}.kok-together-dialog{width:min(440px,100% - 28px);max-height:calc(100dvh - 28px);padding:16px;overflow:auto}.kok-together-dialog h2{margin:0 0 13px}.kok-together-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,152px),1fr));gap:9px;display:grid}.kok-together-options button{text-align:left;justify-content:flex-start;align-items:center;min-height:48px;padding:8px 11px;font-weight:800;display:flex}.kok-together-options .kok-action-icon{color:var(--kok-teal)}.kok-together-dialog form{justify-content:flex-end;margin-top:15px;display:flex}.kok-game-menu .kok-game-modes{background:0 0;flex-wrap:wrap;align-items:stretch;gap:7px;margin:0;padding:0;display:flex}.kok-game-menu button,.kok-game-page .kok-game-back{appearance:none;border:var(--kok-frame);background:var(--kok-paper);min-height:38px;color:var(--kok-ink);font:inherit;box-shadow:0 3px 0 var(--kok-ink);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;margin:0;padding:5px 10px;display:inline-flex}.kok-game-page .kok-game-back{white-space:nowrap;background:var(--kok-teal);color:#fff;font-weight:800;text-decoration:none}.kok-game-menu button.kok-game-primary{background:var(--kok-teal);color:#fff;font-weight:800}.kok-game-menu button:hover:not(:disabled){background:var(--kok-pale)}.kok-game-menu button.kok-game-primary:hover:not(:disabled),.kok-game-page .kok-game-back:hover{background:#1b696a}.kok-game-menu button:active:not(:disabled),.kok-game-page .kok-game-back:active{box-shadow:none;translate:0 3px}.kok-game-menu button:disabled{opacity:.55;cursor:default}.kok-game-menu #mode-name{color:var(--kok-muted);margin:6px 0 0;display:block}#mode-name.kok-mode-redundant,.kok-game-menu #mode-name:empty,[data-kok-menu-original],body>header[hidden]{display:none!important}.kok-game-feedback{opacity:0;pointer-events:none;background:currentColor;border-radius:0 0 7px 7px;height:3px;position:absolute;inset:0 11px auto}.kok-controls-guide{width:min(440px,100% - 28px);color:var(--kok-ink);padding:16px 20px}.kok-controls-guide h2{margin:0 0 13px;font-size:1.25rem;font-weight:800}.kok-controls-guide ol{margin:0 0 16px;padding-inline-start:1.3em;line-height:1.6}.kok-controls-guide li+li{margin-top:7px}.kok-controls-guide form{justify-content:flex-end;display:flex}.kok-controls-guide button{min-height:44px;padding:5px 16px}.kok-game-menu nav[hidden],.kok-game-stages [hidden]{display:none}.kok-game-stages{border:2px solid var(--kok-ink);background:var(--kok-pale);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;width:min(860px,100% - 24px);margin:0 auto 12px;padding:8px 12px;display:flex}.kok-game-stages>div:first-child{flex:210px}.kok-game-stages p{margin:2px 0 0;font-size:.8rem}.kok-stage-actions{flex-wrap:wrap;align-items:center;gap:7px;font-size:.79rem;display:flex}.kok-stage-actions button{border:2px solid var(--kok-ink);background:var(--kok-teal);color:#fff;min-height:42px;font:700 1em var(--kok-font);cursor:pointer;border-radius:9px;padding:4px 9px}.kok-stage-actions a{color:var(--kok-ink)}@media (pointer:coarse){.kok-game-menu button,.kok-game-page .kok-game-back{min-height:44px}}@media (width<=520px){.kok-game-menu{border-radius:14px;width:calc(100% - 16px);margin-top:8px;padding:7px;font-size:.76rem}.kok-game-menu .kok-game-heading{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:7px;display:grid}.kok-game-menu .kok-game-name{grid-area:1/1/auto/-1;font-size:.94rem}.kok-game-menu button,.kok-game-page .kok-game-back{text-align:center;min-height:44px;padding:4px 5px}.kok-game-menu .kok-game-back{white-space:normal}}
