.puzzle-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;max-width:820px;margin:auto}.puzzle-frame,.puzzle-tray{display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);aspect-ratio:1;width:100%}.puzzle-frame{background-size:100% 100%;border:4px solid #c7b3db;border-radius:16px;overflow:hidden}.puzzle-slot{background:#faf8f3e8;border:2px dashed #c4b3d2;padding:0;min-width:0;min-height:0}.puzzle-slot.filled{opacity:1;border:0;background-color:#faf8f3}.puzzle-piece{background-color:#faf8f3;border:2px solid #fff;border-radius:10px;min-width:0;min-height:0;padding:0;box-shadow:0 4px 0 #79628c22;cursor:grab}.puzzle-piece.placed{visibility:hidden}.puzzle-tray{gap:8px}.puzzle-layout .hint-symbol{margin-bottom:8px}@media(max-width:650px){.puzzle-layout{grid-template-columns:1fr;gap:16px;max-width:260px}.puzzle-layout .hint-symbol{display:none}}
