.app-feature-other.app-feature-other--shelf {
  display: block;
  min-width: 0;
}

.app-related-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 44px;
}

.app-related-controls {
  display: flex;
  gap: 8px;
}

.app-feature-other--shelf [hidden] {
  display: none;
}

.app-related-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}

.app-related-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.app-related-viewport {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 6px;
  scrollbar-width: thin;
  scrollbar-color: #b8bbc1 transparent;
  -webkit-overflow-scrolling: touch;
}

.app-feature-other--shelf .app-related-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 6px 6px 12px;
  list-style: none;
}

.app-related-item {
  flex: 0 0 128px;
  width: 128px;
  scroll-snap-align: start;
}

.app-feature-other--shelf .app-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 148px;
  padding: 12px 8px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.45;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.app-feature-other--shelf .app-related-card img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 15px;
}

.app-related-name {
  display: block;
  min-height: 2.9em;
  overflow-wrap: anywhere;
}

.app-related-status {
  color: #6e6e73;
  font-size: 0.72rem;
  font-weight: 500;
}

.app-related-name--long {
  font-size: 0.75rem;
}

.app-related-card:hover {
  border-color: #c8cbd0;
  background: #fafafb;
}

.app-related-viewport:focus-visible,
.app-related-card:focus-visible,
.app-related-controls button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .app-feature-other--shelf .app-related-card {
    transition: none;
  }
}
