.yhgn_G_grid{border-radius:var(--gm-board-radius,12px);background:var(--gm-board);touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;display:grid;position:relative;overflow:hidden;container-type:inline-size}.yhgn_G_grid:after{z-index:7;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--gm-rule);content:"";pointer-events:none;transition:box-shadow .4s;position:absolute;top:0;bottom:0;left:0;right:0}.yhgn_G_grid[data-solved=true]:after{box-shadow:inset 0 0 0 2px var(--gm-good)}.yhgn_G_cell{aspect-ratio:1;min-width:0;box-shadow:inset 1px 0 0 0 var(--gm-hair), inset 0 1px 0 0 var(--gm-hair);touch-action:none;-webkit-tap-highlight-color:transparent;border-radius:0;padding:0;display:block;position:relative}.yhgn_G_grid[data-locked=true] .yhgn_G_cell{cursor:default}.yhgn_G_cell:focus-visible{z-index:6;outline:3px solid var(--hz-ink);outline-offset:-6px}.yhgn_G_block,.yhgn_G_preview,.yhgn_G_token,.yhgn_G_cursor,.yhgn_G_hintRing{pointer-events:none;position:absolute}.yhgn_G_block,.yhgn_G_preview{--nest:max(6px, calc(var(--gm-board-radius,12px) - 3px));border:1.5px solid;border-radius:6px}.yhgn_G_grid [data-corner~=tl]{border-top-left-radius:var(--nest)}.yhgn_G_grid [data-corner~=tr]{border-top-right-radius:var(--nest)}.yhgn_G_grid [data-corner~=bl]{border-bottom-left-radius:var(--nest)}.yhgn_G_grid [data-corner~=br]{border-bottom-right-radius:var(--nest)}.yhgn_G_block{animation:.2s cubic-bezier(.2,1.2,.4,1) both yhgn_G_place}.yhgn_G_empty{border-style:dashed}.yhgn_G_bad{background-image:linear-gradient(135deg, var(--gm-bad-hatch) 0 8%, transparent 8% 50%, var(--gm-bad-hatch) 50% 58%, transparent 58%), linear-gradient(var(--gm-bad-wash), var(--gm-bad-wash));background-size:10px 10px,auto;border-style:dashed}.yhgn_G_grid[data-solved=true] .yhgn_G_block{animation:.5s ease-out both yhgn_G_settle}.yhgn_G_token{z-index:3;color:var(--gm-on-deep);font-family:var(--hz-font-display);font-variant-numeric:lining-nums tabular-nums;justify-content:center;align-items:center;font-weight:600;line-height:1;display:flex}.yhgn_G_preview{border-style:dashed}.yhgn_G_size{z-index:6;box-shadow:0 0 0 1.5px var(--gm-board);color:var(--gm-on-deep);font-family:var(--hz-font-display);font-variant-numeric:lining-nums tabular-nums;white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:14px;font-weight:600;line-height:1.3;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%)}.yhgn_G_size[data-at=below]{top:calc(100% + 7px);bottom:auto}.yhgn_G_size[data-at=inside]{top:6px;bottom:auto}.yhgn_G_size[data-align=start]{left:-1.5px;transform:none}.yhgn_G_size[data-align=end]{left:auto;right:-1.5px;transform:none}.yhgn_G_cursor{z-index:5;box-shadow:inset 0 0 0 3px var(--hz-ink);top:3px;bottom:3px;left:3px;right:3px}.yhgn_G_hintRing{--nest:max(8px, calc(var(--gm-board-radius,12px) - 2px));z-index:5;box-shadow:inset 0 0 0 1px var(--gm-rule), inset 0 0 0 3.5px var(--gm-gold), inset 0 0 0 4.5px var(--gm-rule);border-radius:8px;animation:1.5s ease-in-out infinite yhgn_G_hint}@keyframes yhgn_G_place{0%{opacity:0;transform:scale(.94)}}@keyframes yhgn_G_settle{40%{transform:scale(.95)}}@keyframes yhgn_G_hint{50%{opacity:.5}}@media (prefers-reduced-motion:reduce){.yhgn_G_grid:after{transition:none}.yhgn_G_block,.yhgn_G_grid[data-solved=true] .yhgn_G_block,.yhgn_G_hintRing{animation:none}}
