.effect-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 6px;
}

.effect-filter-group {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.effect-filter {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.effect-filter:hover {
  background: #eef3f8;
  color: var(--text);
}

.effect-filter.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.effect-filter-status {
  margin-left: auto;
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  align-items: stretch;
  gap: 16px;
}

.effect-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.effect-card:hover {
  border-color: #8294aa;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.effect-card.active {
  border-color: #111111;
  box-shadow: inset 0 0 0 1px #111111;
}

.effect-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.effect-card-title {
  min-width: 0;
}

.effect-card h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.effect-card .badge {
  flex: 0 0 auto;
  white-space: nowrap;
}

