.effects-layout {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  align-items: stretch;
}

.effects-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.effect-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  position: relative;
  scroll-margin-top: 92px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
  cursor: pointer;
}

.effect-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.effect-card.is-target {
  border-color: #f1dfb1 !important;
  background: rgba(241, 223, 177, 0.07);
  box-shadow: 0 0 0 1px rgba(241, 223, 177, 0.35), 0 12px 20px rgba(0, 0, 0, 0.25);
}
.effect-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.effect-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 48px;
}

.effect-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.effect-fallback {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.effect-title {
  font-size: 16px;
  font-weight: 700;
  color: #f3c25b;
}

.effect-type {
  font-size: 12px;
  color: var(--muted);
}

.effect-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
  min-height: calc(1.35em * 6);
  max-height: calc(1.35em * 6);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.effect-card.is-expanded .effect-desc {
  max-height: none;
  -webkit-line-clamp: unset;
}

.effect-expand {
  margin-top: 8px;
  background: none;
  border: 0;
  color: #f8a219;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.effects-aside {
  width: 260px;
  height: 100%;
}

.effects-aside-card {
  height: 100%;
}

.effects-aside-card h3 {
  margin: 0 0 10px;
}

.effects-anchor-group {
  margin-top: 12px;
}

.effects-anchor-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.effects-anchor-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.effects-anchor-group a {
  color: #9ec1ff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.1;
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.effects-anchor-group a:hover {
  text-decoration: underline;
}

.effects-anchor-group a.is-active {
  border-color: #f1dfb1 !important;
  color: #f1dfb1;
  background: rgba(241, 223, 177, 0.08);
  box-shadow: 0 0 0 1px rgba(241, 223, 177, 0.25);
}

.effects-anchor-group li.is-active > a {
  border-color: #f1dfb1 !important;
  color: #f1dfb1 !important;
  background: rgba(241, 223, 177, 0.12) !important;
  box-shadow: 0 0 0 1px rgba(241, 223, 177, 0.32) !important;
}

@media (max-width: 980px) {
  .effects-layout {
    flex-direction: column;
  }

  .effects-aside {
    width: 100%;
  }

  .effects-grid {
    grid-template-columns: 1fr;
  }
}
