/* r744 — loading skeletons for the seller and buyer panels (bd-skeleton.js).
 * A bare spinner, or a «در حال بارگذاری...» line, is swapped for grey shapes
 * that match what is coming; numbers still showing «—» shimmer in place.
 * The panel's own code replaces the container's content when the data
 * arrives, which removes the skeleton by itself. */
.bsk { position: relative; overflow: hidden; background: var(--gray-100, #f3f4f6); border-radius: 8px; }
.bsk::after {
    content: ''; position: absolute; inset: 0; transform: translateX(100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: bskShimmer 1.4s ease-in-out infinite;
}
@keyframes bskShimmer { to { transform: translateX(-100%); } }

.bsk-wrap { display: flex; flex-direction: column; gap: 16px; }
.bsk-card {
    background: var(--white, #fff); border: 1px solid var(--gray-100, #f3f4f6);
    border-radius: var(--r-card, 24px); padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
}
.bsk-row { display: flex; align-items: center; gap: 12px; }
.bsk-av { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.bsk-ls { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.bsk-l { height: 12px; }
.bsk-h { height: 16px; width: 38%; }
.bsk-big { height: 34px; width: 52%; border-radius: 10px; }
.bsk-btn { height: 44px; width: 100%; border-radius: var(--r-btn, 14px); }
.bsk-sm { padding: 6px 0; }

/* a number still «—» */
.bsk-num {
    display: inline-block !important; vertical-align: middle;
    min-width: 56px; height: 1em; color: transparent !important;
    border-radius: 6px; background: rgba(15, 23, 42, .08);
}

@media (prefers-reduced-motion: reduce) { .bsk::after { animation: none; } }

/* r754: the previous content shown while a tab reloads keeps its own layout
   (its children stay the container's grid/flex items) */
.bsk-prev { display: contents; }
/* r755: the kept content is dimmed a little while the new one loads */
.bsk-prev > * { opacity: .6; transition: opacity .15s; pointer-events: none; }
