.executor-carousel-host { margin: 48px 0 64px; }
.executor-carousel {
  position: relative;
  height: var(--ec-stage-h, 520px);
  perspective: 1800px;
  perspective-origin: 50% 42%;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  border: 0;
  border-radius: 26px;
  background: transparent;
}
.executor-carousel::before {
  content: none;
}
.executor-carousel-stage { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; pointer-events: none; }
.executor-carousel-camera { position: relative; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.executor-carousel-ring { position: absolute; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.executor-carousel-card {
  position: absolute;
  left: calc(var(--ec-card-w, 220px) / -2);
  top: calc(var(--ec-card-h, 293px) / -2);
  width: var(--ec-card-w, 220px);
  height: var(--ec-card-h, 293px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-2);
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity .24s ease, border-color .24s ease, box-shadow .24s ease;
  will-change: transform, opacity;
}
.executor-carousel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
  opacity: calc(var(--ec-depth, 0) * .62);
  pointer-events: none;
  border-radius: inherit;
}
.executor-carousel-card.is-active {
  box-shadow: 0 28px 70px #000b, 0 0 55px color-mix(in srgb, var(--acid) 16%, transparent);
}
.executor-carousel-cover { position: absolute; inset: 0; display: block; background: linear-gradient(145deg, var(--surface-2), var(--bg)); }
.executor-carousel-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.executor-carousel-cover > img.is-fallback { object-fit: contain; padding: 28%; }
.executor-carousel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, #06100bcc 78%, #030806f2 100%); }
.executor-carousel-mark {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--acid) 38%, transparent);
  border-radius: 10px;
  background: #07110ce6;
  backdrop-filter: blur(8px);
}
.executor-carousel-mark img { width: 20px; height: 20px; object-fit: contain; }
.executor-carousel-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-shadow: 0 2px 14px #000;
}
.executor-carousel-meta strong { font: 900 clamp(20px, 2vw, 27px)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.executor-carousel-meta small { color: #c2d3c4; font: 700 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.executor-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 76%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px #0009;
}
.executor-carousel-nav { width: 36px; height: 36px; border-radius: 50%; }
.executor-carousel-back { transform: rotate(180deg); }
.executor-carousel-caption { min-width: 150px; text-align: center; }
.executor-carousel-caption strong { display: block; font: 900 13px var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.executor-carousel-caption small { display: block; color: var(--muted); font: 700 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.executor-carousel-count { color: var(--acid); font: 800 10px var(--mono); letter-spacing: .08em; white-space: nowrap; }
.executor-carousel-hint { position: absolute; left: 0; right: 0; bottom: 76px; z-index: 2; margin: 0; text-align: center; color: #9eb1a3; font: 10px var(--mono); letter-spacing: .02em; pointer-events: none; }
.executor-carousel-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.executor-carousel[data-dragging] { cursor: grabbing; }
.executor-carousel { cursor: grab; }
@media (max-width: 600px) {
  .executor-carousel-host { margin-top: 24px; }
  .executor-carousel { border-radius: 18px; }
  .executor-carousel-controls { gap: 8px; padding: 6px 8px; bottom: 12px; }
  .executor-carousel-caption { min-width: 116px; }
  .executor-carousel-caption strong { font-size: 11px; }
  .executor-carousel-caption small { display: none; }
  .executor-carousel-count { font-size: 9px; }
  .executor-carousel-hint { bottom: 62px; font-size: 9px; padding: 0 14px; }
}
html[data-motion="off"] .executor-carousel-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .executor-carousel-card { transition: none; }
}
