.hpd-carousel{--ink:#f6f3fa;--muted:#bab1c7;--accent:#9de3e9;position:relative;isolation:isolate;line-height:1.4}
.hpd-carousel .stage{height:510px;position:relative;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;perspective:1600px;isolation:isolate;border-radius:20px}
.hpd-carousel .stage.dragging{cursor:grabbing}
.hpd-carousel .scene{position:absolute;inset:0;transform-style:preserve-3d}
.hpd-carousel .card{position:absolute;left:50%;top:50%;width:208px;height:312px;margin:-156px 0 0 -104px;transform-style:preserve-3d;will-change:transform;outline:none;cursor:pointer}
.hpd-carousel .frame{position:relative;width:100%;height:100%;border:1px solid #60767c80;border-radius:16px;overflow:hidden;clip-path:inset(0 round 16px);background:#18161c;transform:scale(1);box-shadow:none;will-change:transform;transition:border-color .3s;backface-visibility:hidden}
.hpd-carousel .card.selected .frame{border-color:var(--accent);box-shadow:0 18px 48px #000a,0 0 24px #a4e8ed18}
.hpd-carousel .card img,.hpd-carousel .card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hpd-carousel .card video{opacity:0;transition:opacity .22s}
.hpd-carousel .card video.ready{opacity:1}
.hpd-carousel .card::after{content:"";position:absolute;inset:0;pointer-events:none}
.hpd-carousel .caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:32px 12px 13px;background:linear-gradient(transparent,#09090be8);font-size:14px;letter-spacing:.02em;text-shadow:0 1px 4px #000}
.hpd-carousel .caption small{font-size:10px;color:#cdf6f5}
.hpd-carousel .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.hpd-carousel .controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:12px auto 0;position:relative;z-index:2}
.hpd-carousel .arrow{width:36px;height:36px;display:grid;place-items:center;background:transparent;border:1px solid #42444c;border-radius:50%;flex-shrink:0}
.hpd-carousel .arrow svg{width:18px;height:18px}
.hpd-carousel .arrow:hover{background:#a4e8ed15;border-color:#81c9cf}
.hpd-carousel .model-nav{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.hpd-carousel .model-nav button{border:1px solid transparent;border-radius:50%;background:transparent;width:30px;height:30px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;transition:background .2s,color .2s}
.hpd-carousel .model-nav button[aria-current="true"]{color:#e1fbff;border-color:#76cbd45c;background:#9de3e91b}
.hpd-carousel .model-nav button:hover{background:#ffffff12;color:white}
.hpd-carousel button{font:inherit;color:inherit;cursor:pointer;background-color:transparent;-webkit-tap-highlight-color:transparent}
.hpd-carousel button:focus-visible,.hpd-carousel .stage:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:700px){.hpd-carousel .stage{height:390px;perspective:1000px}.hpd-carousel .card{width:144px;height:216px;margin:-108px 0 0 -72px}.hpd-carousel .frame{border-radius:12px}.hpd-carousel .caption{font-size:12px;padding:24px 9px 10px}.hpd-carousel .caption small{font-size:8px}.hpd-carousel .controls{gap:6px;margin-top:0}.hpd-carousel .model-nav{gap:0}.hpd-carousel .model-nav button{width:21px;height:28px;font-size:11px}.hpd-carousel .arrow{width:28px;height:28px}}
