/* หน้าตาเฉพาะเกม peek (จ๊ะเอ๋คำศัพท์) · ขนาดตามจอด้วย vmin เหมือนการ์ดของเกมอื่น
   ระยะห่าง/มุม/สี ใช้ตัวแปรจาก /play/_engine/stage.css */
.peek-container {
    position: relative;
    width: clamp(180px, min(56vmin, 70vw), 340px);
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
}
.peek-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* ผ้าคลุม: สีอ่อนนุ่ม ไม่มีเครื่องหมายคำถาม (เด็ก 1-2 ขวบยังไม่รู้จักสัญลักษณ์) ใช้ลายจุดแทน */
.cloth {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background-color: #FFC9D4;
    background-image: radial-gradient(rgba(255, 255, 255, .55) 18%, transparent 19%);
    background-size: clamp(28px, 6vmin, 44px) clamp(28px, 6vmin, 44px);
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .08), 0 8px 0 rgba(31, 61, 52, .08);
    transition: transform .5s cubic-bezier(.4, 0, .2, 1), opacity .5s ease;
}
.cloth.open {
    transform: translateY(-12%) scale(1.04);
    opacity: 0;
    pointer-events: none;
}
#next-btn {
    display: none;
    min-width: clamp(160px, 40vmin, 260px);
}
#next-btn.visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.peek-container.is-static { pointer-events: none; }
.target-card.is-plain { background: none; box-shadow: none; border-color: transparent; padding: 0; }
@media (prefers-reduced-motion: reduce) {
    .cloth { transition: opacity .2s ease; }
    .cloth.open { transform: none; }
}
/* ภาพต้องเต็มกรอบผ้าคลุม · กฎกลาง .target-card img (ขนาดภาพโจทย์ของเกมอื่น) เคยชนะ ทำให้ภาพเล็กชิดมุม (เจ้าของเจอบน iPhone) */
.target-card .peek-img { width: 100%; height: 100%; max-width: none; }
