/* Mini game Ghép Tranh Chùa — bàn xếp hình trượt */
.pz-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; }
.pz-thumbs button { width: 76px; height: 57px; border-radius: 10px; border: 2px solid transparent; background-size: cover; background-position: center; padding: 0; cursor: pointer; }
.pz-thumbs button.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,175,55,.35); }
.pz-picname { margin: 4px 0 10px; font-weight: 700; color: var(--gold2); min-height: 1.2em; }
.pz-seg { display: inline-flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
.pz-seg button { border: 1px solid var(--gold); background: transparent; color: inherit; border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.pz-seg button.on { background: var(--gold); color: #231a05; }
.pz-stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 12px; font-size: 1.02rem; }
.pz-board { position: relative; width: min(92vw, 520px); aspect-ratio: 1; margin: 0 auto; border-radius: 14px; overflow: hidden; background: rgba(0,0,0,.35); box-shadow: 0 8px 30px rgba(0,0,0,.35); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.pz-tile { position: absolute; left: 0; top: 0; box-sizing: border-box; border: 1px solid rgba(0,0,0,.35); background-repeat: no-repeat; transition: transform .16s ease; cursor: pointer; }
.pz-num { position: absolute; top: 4px; left: 5px; font-size: 12px; font-weight: 800; color: #fff; background: rgba(0,0,0,.42); border-radius: 6px; padding: 0 5px; line-height: 1.5; text-shadow: 0 1px 2px #000; display: none; }
.pz-board.show-nums .pz-num { display: block; }
.pz-peek { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 5; }
.pz-board.peeking .pz-peek { opacity: 1; }
.pz-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 14px; }
.pz-nums { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; cursor: pointer; }
.pz-win { margin: 14px auto 0; max-width: 520px; text-align: center; border: 1px solid var(--gold); border-radius: 14px; padding: 14px; background: rgba(212,175,55,.10); }
.pz-win h3 { margin: 0 0 6px; }
.pz-win p { margin: 0; }
