/* Skeleton / shimmer (estilo Facebook) */
@keyframes sk-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-shimmer {
  background: linear-gradient(
    90deg,
    #e4ebe7 0%,
    #f2f6f4 45%,
    #e4ebe7 90%
  );
  background-size: 200% 100%;
  animation: sk-shimmer 1.15s ease-in-out infinite;
  border-radius: 8px;
}

[data-theme="dark"] .sk-shimmer {
  background: linear-gradient(
    90deg,
    #1e2a24 0%,
    #2a3830 45%,
    #1e2a24 90%
  );
  background-size: 200% 100%;
}

.estate-card--skeleton {
  pointer-events: none;
  box-shadow: none;
}

.estate-card--skeleton .estate-card__media.sk-block {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.estate-card--compact.estate-card--skeleton .estate-card__media.sk-block {
  aspect-ratio: 2.2 / 1;
}

.sk-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.sk-line--title {
  height: 16px;
  width: 72%;
  margin-bottom: 10px;
}

.sk-line--sub {
  width: 48%;
  height: 10px;
  margin-bottom: 14px;
}

.sk-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 14px;
  border-top: 1px solid #eef2ef;
  border-bottom: 1px solid #eef2ef;
}

[data-theme="dark"] .sk-metrics {
  border-color: rgba(255, 255, 255, 0.08);
}

.sk-metric {
  display: block;
  height: 36px;
  border-radius: 8px;
}

.sk-btn {
  height: 44px;
  border-radius: 12px;
}

.sk-text {
  display: inline-block !important;
  min-width: 140px;
  height: 28px;
  border-radius: 8px;
  color: transparent !important;
  vertical-align: middle;
}

.balance-card__yield-value.sk-text {
  min-width: 100px;
  height: 18px;
}

.yield-row--skeleton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2ef;
}

.yield-row__left {
  flex: 1;
  min-width: 0;
}

.sk-line--amt {
  width: 72px;
  height: 14px;
  margin: 0;
  flex-shrink: 0;
}

.extrato-card--skeleton {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2ef;
  pointer-events: none;
}

.sk-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.extrato-card--skeleton .extrato-card__body {
  flex: 1;
  min-width: 0;
}
