.surface-card {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(12, 21, 37, 0.92) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.surface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, var(--white-alpha-06) 0%, transparent 24%);
  opacity: 0.8;
}

.surface-card > * {
  position: relative;
}

.interactive-card {
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.interactive-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: var(--shadow-lg), var(--glow-blue-sm);
}

.card-panel {
  padding: var(--panel-padding);
}

.card-title {
  color: var(--text-h1);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.card-divider {
  border-top: 1px solid var(--border-subtle);
}

.label-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}

.label-value-row span {
  white-space: nowrap;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  white-space: nowrap;
}

.stat-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.stat-badge__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: var(--icon-stroke-card);
}

.stat-badge__number {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  font-family: var(--font-data);
  color: var(--gold-light);
  white-space: nowrap;
}

.stat-badge__label {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-secondary);
  white-space: nowrap;
}

.thumb-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, var(--blue-alpha-20) 0%, transparent 30%),
    linear-gradient(135deg, var(--bg-tag) 0%, var(--bg-input) 100%);
}

.thumb-scene::before,
.thumb-scene::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  pointer-events: none;
}

.thumb-scene::before {
  width: 100%;
  height: 68%;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg-overlay) 100%),
    repeating-linear-gradient(90deg, transparent 0 12px, var(--white-alpha-03) 12px 13px);
  opacity: 0.8;
}

.thumb-scene::after {
  left: 12%;
  right: 8%;
  bottom: 18%;
  height: 28%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, transparent 0%, currentColor 100%);
  opacity: 0.16;
  filter: blur(18px);
}

.favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-tag);
  color: #7f98ba;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.favorite-btn svg {
  width: var(--icon-size-button);
  height: var(--icon-size-button);
  stroke-width: var(--icon-stroke-button);
  flex-shrink: 0;
}

.favorite-btn:hover,
.favorite-btn.is-active {
  color: var(--gold-light);
  border-color: var(--gold-alpha-20);
  background: var(--gold-alpha-10);
  transform: translateY(-1px);
}

.favorite-btn.is-active svg {
  fill: currentColor;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 28px;
  text-align: center;
}

.empty-state strong {
  color: var(--text-h1);
  font-size: 18px;
  font-weight: 700;
}

.empty-state p {
  max-width: 420px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}
