/* 👑 3D 引擎核心 CSS */
.xzm-3d-scene {
    width: 100%; max-width: 320px; aspect-ratio: 2 / 3;
    margin: 20px auto 30px; perspective: 1200px;
    cursor: pointer; z-index: 10; position: relative;
}
.xzm-3d-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    transform-style: preserve-3d; border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.xzm-3d-scene.is-flipped .xzm-3d-inner { transform: rotateY(180deg); }

.xzm-3d-front, .xzm-3d-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 12px; overflow: hidden;
}
.xzm-3d-front img { width: 100%; height: 100%; object-fit: cover; }

.xzm-front-rating-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #facc15; padding: 4px 10px; border-radius: 20px;
    font-size: 0.85rem; font-weight: bold;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0; transform: translateY(-10px);
    transition: all 0.5s ease;
}
.xzm-front-rating-badge.show-badge { opacity: 1; transform: translateY(0); }

.xzm-flip-hint {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    color: #facc15; text-align: center; padding: 30px 10px 15px;
    font-size: 0.85rem; font-weight: bold; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    animation: hint-breathe 2s infinite alternate;
}
@keyframes hint-breathe { 0% { opacity: 0.7; } 100% { opacity: 1; } }

.xzm-3d-back {
    background: rgba(24, 24, 27, 0.95); transform: rotateY(180deg);
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start; padding: 25px 15px;
    border: 1px solid rgba(255,255,255,0.08);
}
.xzm-back-title { color: #fff; font-size: 1.1rem; font-weight: bold; margin-bottom: 8px; text-align: center; }
.xzm-back-subtitle { color: #a1a1aa; font-size: 0.85rem; margin-bottom: 25px; text-align: center; line-height: 1.5; }
.xzm-back-buttons-area { width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; flex: 1; }

.xzm-3d-back .pan-hider-wrapper, .xzm-3d-back .link-feedback-report-btn { margin: 0 !important; width: 85% !important; }
.xzm-3d-back .pan-hider-button, .xzm-3d-back .link-feedback-report-btn { width: 100% !important; justify-content: center !important; padding: 10px !important; }

/* 👑 勾引动画：轻微翘起 20 度，然后归位 */
@keyframes xzm-nudge-hint {
    0% { transform: rotateY(0deg); }
    30% { transform: rotateY(25deg); } 
    60% { transform: rotateY(0deg); }
    100% { transform: rotateY(0deg); }
}
.xzm-nudge-active .xzm-3d-inner {
    animation: xzm-nudge-hint 1.5s ease-in-out;
}