/* Shared standard-card flip foundation. Used by admin preview now and by all card view points later. */
.bc-flip-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    perspective: 1200px;
    -webkit-perspective: 1200px;
}

.bc-flip-card {
    position: relative;
    box-sizing: border-box;
    width: var(--bc-flip-card-width, 82%);
    height: var(--bc-flip-card-height, 72%);
    min-width: 0;
    min-height: 0;
    transform: translateZ(0);
}

.bc-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}

.bc-flip-face {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bc-flip-face-front { transform: rotateY(0deg); }
.bc-flip-face-back { transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
    .bc-flip-card-inner { transition: none !important; }
}
