/* Hero bottom dock — compact dual marquees (anchored to hero section) */

.page-home {
  --hero-dock-chip-h: 3.45rem;
  --hero-dock-row-gap: 0.5rem;
  --hero-dock-row-pad: 0.3rem;
  --hero-dock-bottom: 0.75rem;
  --hero-dock-h: 9rem;
  --hero-scroll-progress: 0;
}

.page-home .hero-scroll--edge {
  position: relative;
  left: auto;
  bottom: auto;
  flex: 0 0 auto;
  align-self: center;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.26rem;
  width: 0.5rem;
  margin-left: -0.05rem;
  padding: 0;
  text-decoration: none;
  color: var(--text-muted);
  animation: none;
  opacity: calc(1 - min(1, var(--hero-scroll-progress, 0) * 1.55));
  filter: blur(calc(var(--hero-scroll-progress, 0) * 2px));
  transform: translate3d(calc(var(--hero-scroll-progress, 0) * -7px), 0, 0);
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.28s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.32s ease;
  pointer-events: auto;
}

.page-home .hero-scroll--edge.is-hidden {
  opacity: 0 !important;
  visibility: hidden;
  filter: blur(3px);
  transform: translate3d(-10px, 0, 0);
  pointer-events: none;
}

.page-home .hero-scroll--edge:hover:not(.is-hidden) {
  opacity: 1;
  filter: none;
}

.page-home .hero-scroll__stem {
  position: relative;
  width: 1px;
  height: 1.25rem;
  flex-shrink: 0;
}

.page-home .hero-scroll__track {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--text) 16%, transparent);
}

.page-home .hero-scroll__dot {
  position: absolute;
  left: 50%;
  top: calc(var(--hero-scroll-progress, 0) * 100%);
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 7px color-mix(in srgb, var(--accent-2) 55%, transparent);
  transition: top 0.16s ease-out;
}

.page-home .hero-scroll--edge:not(.is-tracking):not(:hover) .hero-scroll__dot {
  animation: heroScrollDotDrift 2.35s ease-in-out infinite;
}

.page-home .hero-scroll__word {
  font-size: 0.38rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
  color: color-mix(in srgb, var(--text) 45%, var(--text-muted));
  opacity: calc(0.68 - var(--hero-scroll-progress, 0) * 0.62);
  transition: color 0.2s ease, opacity 0.25s ease;
}

.page-home .hero-scroll--edge:hover .hero-scroll__word {
  color: var(--accent-2);
  opacity: 1;
}

.page-home .hero-scroll--edge:hover .hero-scroll__track {
  background: color-mix(in srgb, var(--accent-2) 45%, transparent);
}

@keyframes heroScrollDotDrift {
  0%, 100% { top: 10%; }
  50% { top: 90%; }
}

[data-theme="light"] .page-home .hero-scroll__word {
  color: color-mix(in srgb, #0f172a 55%, var(--text-muted));
}

[data-theme="light"] .page-home .hero-scroll__track {
  background: color-mix(in srgb, #0f172a 14%, transparent);
}

@media (max-width: 900px) {
  .page-home .hero-scroll--edge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-scroll--edge {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
    filter: none;
  }

  .page-home .hero-scroll--edge.is-hidden {
    transform: none;
  }

  .page-home .hero-scroll__dot {
    animation: none;
    top: 58%;
  }
}

.page-home .hero-full {
  position: relative;
  min-height: var(--app-vh, 100dvh);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.page-home .hero-full__layout.container {
  flex: 1 1 auto;
  align-self: stretch;
}

.page-home .hero-dock {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  z-index: 6;
  display: flex;
  justify-content: center;
  padding: 0.4rem clamp(0.65rem, 1.6vw, 1.35rem) calc(var(--hero-dock-bottom) + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.page-home .hero-dock__viewport {
  position: relative;
  width: min(1520px, calc(100vw - 2rem));
  display: grid;
  gap: var(--hero-dock-row-gap);
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  pointer-events: none;
  padding-top: 0.55rem;
  perspective: 1200px;
  perspective-origin: 50% 100%;
}

.page-home .hero-dock::before {
  display: none;
}

.page-home .hero-dock__row {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: calc(var(--hero-dock-chip-h) + (var(--hero-dock-row-pad) * 2));
  padding-block: var(--hero-dock-row-pad);
  pointer-events: auto;
  border-radius: calc(var(--radius) + 2px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.page-home .hero-dock__track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  align-items: center;
}

.page-home .hero-dock__row--reviews {
  padding-top: calc(var(--hero-dock-row-pad) + 0.42rem);
}

.page-home .hero-dock__set {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.4rem;
}

/* Shared compact chip */
.page-home .hero-dock-chip {
  --hero-dock-chip-w: 11.75rem;
  position: relative;
  flex: 0 0 var(--hero-dock-chip-w);
  width: var(--hero-dock-chip-w);
  height: var(--hero-dock-chip-h);
  display: flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.38rem 0.55rem 0.38rem 0.42rem;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--glass-border));
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--glass-bg-strong) 90%, rgba(8, 10, 16, 0.94)),
    color-mix(in srgb, var(--glass-bg) 80%, rgba(8, 10, 16, 0.9))
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px color-mix(in srgb, #000 30%, transparent);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.36s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.28s ease,
    box-shadow 0.32s ease;
}

.page-home .hero-dock-chip--product {
  color: inherit;
  text-decoration: none;
  transform-style: preserve-3d;
}

.page-home .hero-dock-chip--product:hover {
  z-index: 8;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 36px color-mix(in srgb, var(--accent) 20%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.32);
}

.page-home .hero-dock-chip--review-linked:hover {
  z-index: 8;
  transform: translateY(-3px) scale(1.03);
}

.page-home .hero-dock-chip--review {
  cursor: default;
  overflow: visible;
  margin-top: 0.18rem;
}

.page-home .hero-dock-chip__heat {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 210deg,
    transparent,
    color-mix(in srgb, var(--accent) 45%, transparent) 22%,
    color-mix(in srgb, var(--accent-2) 35%, transparent) 48%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-dock-chip__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-dock-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--glass-border));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.page-home .hero-dock-chip--product:hover .hero-dock-chip__heat {
  opacity: 1;
}

.page-home .hero-dock-chip:hover .hero-dock-chip__shine {
  transform: translateX(120%);
}

.page-home .hero-dock-chip--review-linked {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.page-home .hero-dock-chip__compact {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  width: 100%;
  min-width: 0;
}

.page-home .hero-dock-chip__compact--review {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  width: 100%;
  min-width: 0;
}

.page-home .hero-dock-chip__popup-source {
  display: none !important;
}

/* ── External hover popup card ── */
.hero-dock-hotview-portal {
  position: fixed;
  z-index: 9999;
  width: min(18.5rem, calc(100vw - 1.25rem));
  pointer-events: none;
  transform: translate(-50%, -100%) scale(0.88) rotateX(10deg);
  transform-origin: center bottom;
  opacity: 0;
  filter: blur(5px);
  transition:
    opacity 0.22s ease,
    transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
    filter 0.26s ease;
}

.hero-dock-hotview-portal.is-visible {
  opacity: 1;
  filter: none;
  transform: translate(-50%, calc(-100% - 0.65rem)) scale(1) rotateX(0deg);
}

.hero-dock-hotview-portal.is-below.is-visible {
  transform: translate(-50%, 0.65rem) scale(1) rotateX(0deg);
}

.hero-dock-hotview-portal__card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.1));
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    linear-gradient(168deg, color-mix(in srgb, var(--glass-bg-strong) 98%, rgba(10, 12, 18, 0.99)), rgba(6, 8, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent),
    0 28px 56px color-mix(in srgb, var(--accent) 22%, transparent),
    0 16px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.hero-dock-hotview-portal__card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.48rem;
  width: 0.95rem;
  height: 0.95rem;
  margin-left: -0.475rem;
  transform: rotate(45deg);
  border-right: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  background: rgba(8, 10, 16, 0.98);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.28);
}

.hero-dock-hotview-portal.is-below .hero-dock-hotview-portal__card::after {
  bottom: auto;
  top: -0.48rem;
  transform: rotate(225deg);
}

.hero-dock-popup {
  display: flex;
  flex-direction: column;
}

.hero-dock-popup__visual {
  position: relative;
  height: 6.75rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.hero-dock-popup__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-dock-popup__visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(4, 6, 12, 0.55) 72%,
    rgba(4, 6, 12, 0.92) 100%
  );
  pointer-events: none;
}

.hero-dock-popup__stock {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-dock-popup__stock--inline {
  position: static;
  align-self: flex-start;
  margin-top: 0.15rem;
}

.hero-dock-popup__stock--success {
  color: #bbf7d0;
  background: color-mix(in srgb, #16a34a 28%, rgba(8, 10, 16, 0.75));
  border-color: color-mix(in srgb, #22c55e 40%, transparent);
}

.hero-dock-popup__stock--warning {
  color: #fde68a;
  background: color-mix(in srgb, #d97706 28%, rgba(8, 10, 16, 0.75));
  border-color: color-mix(in srgb, #f59e0b 40%, transparent);
}

.hero-dock-popup__stock--danger {
  color: #fecaca;
  background: color-mix(in srgb, #dc2626 28%, rgba(8, 10, 16, 0.75));
  border-color: color-mix(in srgb, #ef4444 40%, transparent);
}

.hero-dock-popup__content {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.72rem 0.78rem 0.78rem;
}

.hero-dock-popup__head {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.hero-dock-popup__kicker {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-2) 82%, var(--text-muted));
}

.hero-dock-popup__title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.hero-dock-popup__desc {
  font-size: 0.68rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text-muted) 92%, transparent);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dock-popup__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem 0.55rem;
  padding-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--glass-border) 75%, transparent);
}

.hero-dock-popup__metrics--solo {
  border-top: none;
  padding-top: 0;
}

.hero-dock-popup__price {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent-2);
  line-height: 1;
}

.hero-dock-popup__metric {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--glass-border) 65%, transparent);
}

.hero-dock-popup__metric--rating {
  color: #fde68a;
  background: color-mix(in srgb, #fbbf24 12%, transparent);
  border-color: color-mix(in srgb, #fbbf24 26%, transparent);
}

.hero-dock-popup__metric--rating span {
  opacity: 0.72;
  font-weight: 600;
}

.hero-dock-hotview-portal.is-visible .hero-dock-popup__cta svg {
  transform: translateX(2px);
}

.hero-dock-popup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin-top: 0.12rem;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 92%, #000),
    color-mix(in srgb, var(--accent-2) 78%, var(--accent))
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 20px color-mix(in srgb, var(--accent) 32%, transparent);
}

.hero-dock-popup__cta svg {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.hero-dock-popup--review .hero-dock-popup__review-banner {
  padding: 0.38rem 0.78rem;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fbbf24 88%, #fff);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, #fbbf24 16%, transparent),
    transparent
  );
  border-bottom: 1px solid color-mix(in srgb, #fbbf24 18%, transparent);
}

.hero-dock-popup__review-row {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
}

.hero-dock-popup__thumb {
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--glass-border) 80%, transparent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.hero-dock-popup__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-dock-popup--review .hero-dock-popup__content {
  gap: 0.62rem;
  padding-top: 0.62rem;
}

[data-theme="light"] .hero-dock-hotview-portal__card {
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border-color: color-mix(in srgb, var(--accent) 18%, rgba(15, 23, 42, 0.08));
}

[data-theme="light"] .hero-dock-hotview-portal__card::after {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .hero-dock-popup__metric {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.page-home .hero-dock-chip__star-rail {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.16rem 0.46rem;
  border-radius: 999px;
  transform: translate(-50%, -52%);
  border: 1px solid color-mix(in srgb, #fbbf24 42%, var(--glass-border));
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #1a1408 88%, rgba(8, 10, 16, 0.96)),
    color-mix(in srgb, var(--glass-bg-strong) 92%, rgba(8, 10, 16, 0.98))
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px color-mix(in srgb, #fbbf24 16%, transparent);
  animation: heroDockStarRailGlow 2.4s ease-in-out infinite;
}

.page-home .hero-dock-chip__star {
  display: grid;
  place-items: center;
  width: 0.62rem;
  height: 0.62rem;
  line-height: 1;
  color: color-mix(in srgb, var(--text-muted) 45%, transparent);
  transform-origin: center;
}

.page-home .hero-dock-chip__star svg {
  width: 0.58rem;
  height: 0.58rem;
  display: block;
}

.page-home .hero-dock-chip__star.is-lit {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px color-mix(in srgb, #fbbf24 65%, transparent));
  animation: heroDockStarTwinkle 1.65s ease-in-out infinite;
  animation-delay: calc(var(--star-i, 0) * 0.12s);
}

.page-home .hero-dock-chip--review:hover .hero-dock-chip__star-rail {
  animation-duration: 1.35s;
  border-color: color-mix(in srgb, #fbbf24 58%, var(--glass-border));
}

.page-home .hero-dock-chip--review:hover .hero-dock-chip__star.is-lit {
  animation-duration: 0.95s;
}

.page-home .hero-dock-chip__rating-pill {
  flex-shrink: 0;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  color: #fde68a;
  background: color-mix(in srgb, #fbbf24 14%, transparent);
  border: 1px solid color-mix(in srgb, #fbbf24 28%, transparent);
}

@keyframes heroDockStarRailGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 6px 16px color-mix(in srgb, #fbbf24 14%, transparent);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 8px 22px color-mix(in srgb, #fbbf24 28%, transparent),
      0 0 18px color-mix(in srgb, #fbbf24 12%, transparent);
  }
}

@keyframes heroDockStarTwinkle {
  0%, 100% {
    transform: scale(1) translateY(0) rotate(0deg);
    opacity: 0.76;
    filter: drop-shadow(0 0 4px color-mix(in srgb, #fbbf24 45%, transparent)) brightness(0.95);
  }
  35% {
    transform: scale(1.28) translateY(-2px) rotate(-8deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px color-mix(in srgb, #fbbf24 80%, transparent)) brightness(1.4);
  }
  65% {
    transform: scale(1.12) translateY(-1px) rotate(6deg);
    opacity: 0.95;
    filter: drop-shadow(0 0 8px color-mix(in srgb, #fbbf24 70%, transparent)) brightness(1.2);
  }
}

.page-home .hero-dock-chip__media {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--glass-border) 85%, transparent);
  background: color-mix(in srgb, var(--text) 6%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.page-home .hero-dock-chip--product:hover .hero-dock-chip__media {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent-2) 18%, transparent),
    0 0 16px color-mix(in srgb, var(--accent) 18%, transparent);
}

.page-home .hero-dock-chip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-dock-chip__media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 14%, transparent),
    color-mix(in srgb, var(--accent-2) 8%, transparent)
  );
}

.page-home .hero-dock-chip__media-fallback svg {
  width: 1rem;
  height: 1rem;
}

.page-home .hero-dock-chip__avatar {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-2) 70%, var(--accent)));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 22%, transparent);
}

.page-home .hero-dock-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-dock-chip__avatar--image {
  background: color-mix(in srgb, var(--glass-bg-strong) 55%, rgba(8, 10, 16, 0.9));
  filter: none;
}

.page-home .hero-dock-chip__avatar--t1:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(-8deg); }
.page-home .hero-dock-chip__avatar--t2:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(8deg); }
.page-home .hero-dock-chip__avatar--t3:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(16deg); }
.page-home .hero-dock-chip__avatar--t4:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(-14deg); }
.page-home .hero-dock-chip__avatar--t5:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(22deg); }
.page-home .hero-dock-chip__avatar--t6:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(-20deg); }
.page-home .hero-dock-chip__avatar--t7:not(.hero-dock-chip__avatar--image) { filter: hue-rotate(12deg); }

.page-home .hero-dock-chip__body {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.page-home .hero-dock-chip__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.page-home .hero-dock-chip__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-width: 0;
}

.page-home .hero-dock-chip__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.page-home .hero-dock-chip__price {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}

.page-home .hero-dock-chip__rating {
  font-size: 0.62rem;
  font-weight: 700;
  color: #fbbf24;
}

.page-home .hero-dock-chip__buyer {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.page-home .hero-dock-chip__quote {
  font-size: 0.66rem;
  line-height: 1.25;
  color: color-mix(in srgb, var(--text-muted) 92%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .hero-dock__row.is-static {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-home .hero-dock__row.is-static::-webkit-scrollbar {
  display: none;
}

[data-theme="light"] .page-home .hero-dock-chip {
  background: color-mix(in srgb, #fff 86%, transparent);
  border-color: color-mix(in srgb, var(--accent) 14%, rgba(15, 23, 42, 0.08));
}

[data-theme="light"] .page-home .hero-dock-chip__star-rail {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #fff 92%, transparent),
    color-mix(in srgb, #fff 84%, transparent)
  );
}

@media (max-width: 768px) {
  .page-home {
    --hero-dock-chip-h: 3.1rem;
  }

  .page-home .hero-dock {
    padding-inline: clamp(0.5rem, 3vw, 1rem);
  }

  .page-home .hero-dock__viewport {
    width: min(1520px, calc(100vw - 1.25rem));
  }

  .page-home .hero-dock-chip {
    --hero-dock-chip-w: 10.5rem;
  }
}

@media (max-width: 520px) {
  .page-home {
    --hero-dock-row-gap: 0.38rem;
  }

  .page-home .hero-dock-chip {
    --hero-dock-chip-w: 9.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-dock__track {
    transform: none !important;
  }

  .page-home .hero-dock-chip__shine,
  .page-home .hero-dock-chip__heat {
    display: none;
  }

  .page-home .hero-dock-chip__star.is-lit {
    animation: none;
    opacity: 1;
  }

  .page-home .hero-dock-chip__star-rail {
    animation: none;
  }
}
