/* ==========================================================================
   DOCK — a snap-scrolling row of the 7 animals: pupil glyph + name.
   The pupil shape is the animal's real one (cat slit, cow bar, bee facets…).
   ========================================================================== */

.dock {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px calc(50% - 30px) 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.dock::-webkit-scrollbar { display: none; }

.dock__item {
  flex: 0 0 auto;
  width: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  scroll-snap-align: center;
  transition: transform 0.5s var(--spring);
}
.dock__item:active { transform: scale(0.92); }

.dock__ring {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s;
}
.dock__icon {
  width: 24px; height: 24px;
  color: rgba(244, 242, 238, 0.5);
  transition: color 0.35s;
}
.dock__name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.35s;
}

.dock__item.is-active .dock__ring { border-color: var(--hairline-strong); background: rgba(10, 10, 10, 0.35); }
.dock__item.is-active .dock__icon,
.dock__item.is-active .dock__name { color: var(--ink); }
.dock__item.is-active .dock__ring::after {
  content: "";
  position: absolute; top: 3px; right: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--a);
}
