.g32p-wrap{
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  padding:12px;
  background: rgba(255,255,255,.02);
  margin: 16px 0;
}

.g32p-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
}

.g32p-title{ font-weight:700; font-size:16px; }
.g32p-meta{ opacity:.75; font-size:13px; display:flex; gap:10px; align-items:center; }

.g32p-help{
  margin: 6px 0 10px;
  font-size: 13px;
  opacity: .8;
}

.g32p-actions{ display:flex; gap:8px; align-items:center; }

.g32p-btn{
  border:1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.65);
  border-radius:10px;
  padding:6px 10px;
  font-size:13px;
  cursor:pointer;
}
.g32p-btn:hover{ background: rgba(255,255,255,.85); }
.g32p-btn:active{ transform: translateY(1px); }

.g32p-board-wrap{ position: relative; }

.g32p-board{
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  margin: 0 auto;
  display:grid;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  touch-action: none;
  user-select:none;
  background: rgba(0,0,0,.03);
}

.g32p-preview{
  position:absolute;
  inset:0;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  background-size: cover;
  background-position:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
}
.g32p-preview.show{ opacity:1; }

.g32p-tile{
  background-repeat:no-repeat;
  position:relative;
  cursor: grab;
  outline: 1px solid rgba(0,0,0,.06);
  min-width: 0;
  min-height: 0;
}
.g32p-tile:active{ cursor: grabbing; }
.g32p-tile.dragging{ outline: 2px dashed rgba(0,0,0,.35); }

.g32p-done{
  margin-top:10px;
  padding:10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  font-weight:700;
  background: rgba(0, 255, 120, .08);
}

.g32p-wrap.solved .g32p-board{
  box-shadow: 0 0 0 3px rgba(0, 255, 120, .25);
}

.g32p-notice{
  padding:10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
}
