.g-kings-in-the-corner{--cw:64px;--ch:90px;--hw:56px;--hh:78px;--card-face:#fbfaf6;--card-ink:#1d2320;--card-red:#c0392b;padding:6px;border-radius:8px;background:var(--accent-soft);outline-offset:2px;touch-action:manipulation}.g-kings-in-the-corner .kc-opps{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.g-kings-in-the-corner .kc-seat{display:grid;justify-items:center;gap:2px;padding:4px 10px;min-width:88px;border-radius:8px;border:2px solid transparent;font-size:13px;line-height:1.2;color:var(--ink)}.g-kings-in-the-corner .kc-seat.is-turn,.g-kings-in-the-corner .kc-you.is-turn{border-color:var(--gold);background:rgba(242,193,78,.22)}.g-kings-in-the-corner .kc-seat.is-last .kc-back span{background:var(--danger)}.g-kings-in-the-corner .kc-name{font-size:14px}.g-kings-in-the-corner .kc-back{width:34px;height:46px;border-radius:4px;border:2px solid #f3f1ea;display:grid;place-items:center;color:#fff;font-weight:700;font-size:14px;background:repeating-linear-gradient(45deg,#2c6b8c 0 3px,#245a76 3px 6px);box-shadow:2px 2px 0 -1px #245a76,0 1px 2px rgba(0,0,0,.3)}.g-kings-in-the-corner .kc-back span{background:rgba(0,0,0,.55);border-radius:999px;padding:0 6px}.g-kings-in-the-corner .kc-table{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 6px;margin:8px 0 6px;align-items:start;justify-items:center}.g-kings-in-the-corner .kc-cell{display:grid;justify-items:center;align-content:start;min-height:var(--ch)}.g-kings-in-the-corner .kc-center{align-content:center;gap:4px}.g-kings-in-the-corner .kc-stocklabel{font-size:12px;color:var(--ink-2)}.g-kings-in-the-corner .kc-stock{border-radius:calc(var(--cw) * .1);border:2px solid #f3f1ea;position:relative;color:#fff;display:grid;place-items:center;box-sizing:border-box;background:repeating-linear-gradient(45deg,#2c6b8c 0 4px,#245a76 4px 8px);box-shadow:3px 3px 0 -1px #245a76,0 1px 3px rgba(0,0,0,.35)}.g-kings-in-the-corner .kc-stock.is-empty{background:0 0;border:2px dashed var(--line);box-shadow:none;color:var(--ink-2)}.g-kings-in-the-corner .kc-count{background:rgba(0,0,0,.55);border-radius:999px;padding:0 7px;font-weight:700;font-size:14px}.g-kings-in-the-corner .kc-pile{appearance:none;position:relative;padding:0;margin:0;border:0;background:0 0;cursor:pointer;font:inherit;border-radius:calc(var(--cw) * .1)}.g-kings-in-the-corner .kc-pile:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.g-kings-in-the-corner .kc-pile.is-empty{border:2px dashed var(--line);box-sizing:border-box}.g-kings-in-the-corner .kc-pile.is-corner.is-empty{border-color:var(--gold)}.g-kings-in-the-corner .kc-slot{position:absolute;inset:0;display:grid;place-items:center;align-content:center;color:var(--ink-2);font-size:calc(var(--cw) * .5);line-height:1}.g-kings-in-the-corner .kc-slot small{font-size:11px;color:var(--ink-2)}.g-kings-in-the-corner .kc-pile.is-target{box-shadow:0 0 0 3px var(--gold),0 3px 8px rgba(0,0,0,.35);animation:kc-pulse 1.2s ease-in-out infinite}.g-kings-in-the-corner .kc-pile.is-sel{box-shadow:0 0 0 3px var(--focus),0 3px 6px rgba(0,0,0,.35)}.g-kings-in-the-corner .kc-pile.is-hint{box-shadow:0 0 0 3px var(--gold),0 3px 6px rgba(0,0,0,.35)}.g-kings-in-the-corner .kc-pile.is-hintdst{box-shadow:0 0 0 3px var(--gold),0 3px 8px rgba(0,0,0,.35)}@keyframes kc-pulse{50%{box-shadow:0 0 0 5px rgba(242,193,78,.55),0 3px 8px rgba(0,0,0,.35)}}.g-kings-in-the-corner .kc-card{box-sizing:border-box;border-radius:calc(var(--cw) * .1);border:1px solid #8e9791;font-weight:700;line-height:1;color:var(--card-ink);background:var(--card-face);box-shadow:0 1px 2px rgba(0,0,0,.3);overflow:hidden;user-select:none;-webkit-user-select:none}.g-kings-in-the-corner .kc-card.red{color:var(--card-red)}.g-kings-in-the-corner .kc-ix{position:absolute;left:.2em;top:.16em;white-space:nowrap;letter-spacing:-.04em;font-size:1.2em}.g-kings-in-the-corner .kc-ix i{font-style:normal;margin-left:.04em}.g-kings-in-the-corner .kc-mid{position:absolute;left:0;right:0;bottom:8%;text-align:center;font-size:2.1em;line-height:1}.g-kings-in-the-corner .kc-pile .kc-card{position:absolute;left:0;width:var(--cw);height:var(--ch);font-size:calc(var(--cw) * .27)}.g-kings-in-the-corner .kc-you{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:2px auto 4px;padding:2px 10px;width:fit-content;border:2px solid transparent;border-radius:8px;font-size:14px;color:var(--ink)}.g-kings-in-the-corner .kc-yourturn{font-weight:700}.g-kings-in-the-corner .kc-hand{display:grid;justify-content:center;gap:6px;padding-top:14px}.g-kings-in-the-corner .kc-row{position:relative;margin:0 auto}.g-kings-in-the-corner .kc-hand .kc-card{position:absolute;top:0;width:var(--hw);height:var(--hh);font-size:calc(var(--hw) * .27);cursor:pointer;transition:transform .08s;touch-action:manipulation}.g-kings-in-the-corner .kc-hand .kc-card:hover{transform:translateY(-4px)}.g-kings-in-the-corner .kc-hand .kc-card.is-dim{filter:brightness(.62)saturate(.7);cursor:default}.g-kings-in-the-corner .kc-hand .kc-card.is-dim:hover{transform:none}.g-kings-in-the-corner .kc-hand .kc-card.is-sel{transform:translateY(-14px);box-shadow:0 0 0 3px var(--focus),0 3px 6px rgba(0,0,0,.35);z-index:3}.g-kings-in-the-corner .kc-hand .kc-card.is-new{box-shadow:0 0 0 2px var(--gold),0 1px 2px rgba(0,0,0,.3)}.g-kings-in-the-corner .kc-hand .kc-card.is-hint{box-shadow:0 0 0 3px var(--gold),0 3px 6px rgba(0,0,0,.35);transform:translateY(-8px);z-index:4}.g-kings-in-the-corner .kc-hand .kc-card.is-cursor{outline:3px solid var(--focus);outline-offset:-1px;z-index:5}.g-kings-in-the-corner .is-shake{animation:kc-shake .35s}@keyframes kc-shake{20%{margin-left:-4px}40%{margin-left:4px}60%{margin-left:-3px}80%{margin-left:3px}}.g-kings-in-the-corner .kc-actions{display:flex;justify-content:center;margin:8px 0 2px;min-height:40px}.g-kings-in-the-corner .kc-rules{margin:0 0 8px;padding:10px 12px;border-radius:8px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:14px;line-height:1.45}.g-kings-in-the-corner .kc-rules h3{margin:0 0 4px;font-size:16px}.g-kings-in-the-corner .kc-rules p{margin:0 0 8px}@media(max-width:420px){.g-kings-in-the-corner{padding:4px}.g-kings-in-the-corner .kc-opps{gap:4px}.g-kings-in-the-corner .kc-seat{padding:2px 4px;min-width:76px;font-size:12px}.g-kings-in-the-corner .kc-table{gap:6px 4px}}@media(prefers-reduced-motion:reduce){.g-kings-in-the-corner .kc-hand .kc-card,.g-kings-in-the-corner .is-shake,.g-kings-in-the-corner .kc-pile.is-target{transition:none;animation:none}}