/* Guest-only visual cover for .card__summary. Real text stays in the DOM for layout. */
.card__summary-slot {
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
}

body.mirsad-guest-view .card__summary {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body.mirsad-guest-view .card__summary::after {
  display: none !important;
}

.card__summary-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.card__summary-bar {
  position: absolute;
  inset-inline-start: 0;
  max-width: 100%;
  height: 0.72em;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.22);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.08);
  animation: mirsad-guest-summary-shimmer 1.7s ease-in-out infinite;
  transform-origin: right center;
}

html[dir="ltr"] .card__summary-bar {
  transform-origin: left center;
}

.card__summary-bar:nth-child(2) { animation-delay: .12s; }
.card__summary-bar:nth-child(3) { animation-delay: .24s; }

@keyframes mirsad-guest-summary-shimmer {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  .card__summary-bar {
    animation-duration: 3.2s;
  }
}
