/* Full n×n board. The still images fill every cell even during a bounded drag. */
.gift-puzzle{position:relative;display:block!important;box-sizing:border-box;width:100%;padding:0!important;margin:0;isolation:isolate;overflow:visible;border:0!important;border-radius:16px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;}
.puzzle-grid{position:relative;display:grid;width:100%;aspect-ratio:1;gap:0;padding:0;border:0;border-radius:16px;}
.gift-puzzle-piece{position:relative!important;left:auto;top:auto;display:block;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;aspect-ratio:auto;border:0!important;outline:0;background-color:#fff;background-repeat:no-repeat;background-origin:border-box;box-shadow:none;cursor:grab;touch-action:none;font:inherit;line-height:1;-webkit-user-drag:none;}
.gift-puzzle-piece::after{content:"";position:absolute;inset:0;pointer-events:none;box-sizing:border-box;border-style:solid;border-color:#ffffffb3;border-width:var(--edge-t,1px) var(--edge-r,1px) var(--edge-b,1px) var(--edge-l,1px);border-radius:inherit;}
.gift-puzzle-piece.is-selected::after,.gift-puzzle-piece.is-drop-target::after{border:3px solid var(--puzzle-selection,#b9705c);}
.gift-puzzle-piece.is-drag-source{cursor:grabbing;}
.gift-puzzle-piece.is-drag-source::after{border:2px dashed var(--puzzle-selection,#b9705c);}
.gift-puzzle-piece:focus-visible{outline:2px solid var(--puzzle-selection,#b9705c)!important;outline-offset:-4px;z-index:2;}
.puzzle-drag-proxy{position:absolute;z-index:20;pointer-events:none;box-sizing:border-box;cursor:grabbing;opacity:.92;}
.puzzle-drag-proxy>span{background-repeat:no-repeat;background-origin:border-box;outline:1px solid var(--puzzle-selection,#b9705c);outline-offset:-1px;box-sizing:border-box;}
.puzzle-drag-proxy[hidden]{display:none!important;}
.gift-puzzle.is-complete .gift-puzzle-piece{cursor:default;}
.gift-puzzle.is-complete .gift-puzzle-piece::after{border:0;}
.gift-puzzle-live{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
