/*
 * 服务流程扩展：六步及以内完全沿用原型；从第七步起在桌面端保持六列视窗并左右滚动。
 * 平板和手机继续使用各原型页面已有的三列/单列响应式规则。
 */

.timeline-scroll-hint {
  display: none;
}

@media (min-width: 1025px) {
  .timeline-container.is-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-color: var(--color-champagne-gold) rgba(20, 52, 88, 0.12);
    scrollbar-width: thin;
  }

  .timeline-container.is-scrollable:focus-visible {
    outline: 2px solid var(--color-champagne-gold);
    outline-offset: 4px;
  }

  .timeline-container.is-scrollable .timeline-line {
    width: var(--timeline-width);
  }

  .timeline-container.is-scrollable .timeline-steps {
    width: var(--timeline-width);
    grid-template-columns: repeat(var(--timeline-step-count), minmax(0, 1fr));
  }

  .timeline-container.is-scrollable .timeline-step {
    scroll-snap-align: start;
  }

  .timeline-scroll-hint {
    display: block;
    max-width: var(--content-width);
    margin: -24px auto 0;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    text-align: right;
  }

  .timeline-scroll-hint span {
    color: var(--color-champagne-gold);
    font-size: 1.2em;
  }

  .timeline-container.is-scrollable::-webkit-scrollbar {
    height: 8px;
  }

  .timeline-container.is-scrollable::-webkit-scrollbar-track {
    background: rgba(20, 52, 88, 0.12);
    border-radius: 999px;
  }

  .timeline-container.is-scrollable::-webkit-scrollbar-thumb {
    background: var(--color-champagne-gold);
    border-radius: 999px;
  }
}
