/* ==YYW-GAIDIAN-FLOW-STEPS-20261202==
 * /gaidian/ page 12 only: the four remote-service steps were rendered as
 * table headers (top rules, vertical dividers and a short dash per item).
 * Turn them into a lightweight numbered timeline with the existing page
 * accent. Desktop is horizontal, tablet is 2x2, phone is vertical.
 *
 * Scope: #gaidian-route #arrival-v2 .av-remote .av-steps only.
 * No HTML, copy, form, header, footer or other page is changed.
 */

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-steps {
  counter-reset: yyw-flow-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step {
  counter-increment: yyw-flow-step;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: none !important;
  color: #0b1f3a;
  font-size: 14.5px;
  line-height: 1.55;
}

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step::before {
  content: counter(yyw-flow-step, decimal-leading-zero) !important;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid rgba(138, 90, 22, 0.58);
  border-radius: 50%;
  background: #f4f7f9 !important;
  color: #8a5a16 !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step::after {
  content: " " !important;
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 26px;
  right: -31px;
  display: block !important;
  height: 1px;
  background: rgba(11, 31, 58, 0.15);
  pointer-events: none;
}

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step:last-child::after {
  display: none !important;
}

html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step span {
  display: block;
  color: #0b1f3a;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

@media (max-width: 1199px) {
  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step::after {
    right: -39px;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step:nth-child(even)::after {
    display: none !important;
  }
}

@media (max-width: 560px) {
  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    padding: 8px 0;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step::before {
    margin: 0;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step::after {
    display: block !important;
    top: 13px;
    right: auto;
    left: 13px;
    width: 1px;
    height: 100%;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step:nth-child(even)::after {
    display: block !important;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step:last-child::after {
    display: none !important;
  }

  html body .yyw-page.p-gaidian #gaidian-route #arrival-v2 .av-remote .av-step span {
    font-size: 14.5px;
    line-height: 26px;
  }
}
