/* Shared mobile layout, hero, actions, section rhythm and inspection list
   come from lovigo-goofish-page.css. Platform-specific components reuse
   the same palette, type, spacing scale and card radii. */
.zhuanzhuan-page .zhuanzhuan-report-original {
  margin-top: 8px;
  color: #a1a7b0;
  font-size: 12px;
  line-height: 1.5;
}

.zhuanzhuan-inspection-note p + p {
  margin-top: 12px;
}

.zhuanzhuan-order-notes {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.zhuanzhuan-order-notes p + p {
  margin-top: 12px;
}

@media (min-width: 641px) {
  /* Match JD's unframed hero. The existing opaque raster uses #fefefe;
     lift that near-white backdrop to white so it has no rectangular edge. */
  .zhuanzhuan-page .goofish-hero {
    background: #fff;
  }

  .zhuanzhuan-page .goofish-hero .hero-blend {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .zhuanzhuan-page .goofish-hero .hero-blend::before {
    content: none;
  }

  .zhuanzhuan-page .goofish-hero .hero-art {
    width: 100%;
    max-width: 100%;
    filter: brightness(1.005);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .zhuanzhuan-desktop-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    grid-auto-rows: 1fr;
    align-items: stretch;
  }

  .zhuanzhuan-desktop-category-grid > .fit-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }

  .zhuanzhuan-desktop-category-art {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--soft);
  }

  .zhuanzhuan-desktop-category-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .zhuanzhuan-desktop-category-copy .zhuanzhuan-desktop-category-examples {
    margin-top: 8px;
    color: #8a93a1;
    font-size: 13px;
    line-height: 1.5;
  }

  .zhuanzhuan-desktop-category-note {
    margin-top: 28px;
    text-align: center;
  }

  .zhuanzhuan-delivery-duration {
    white-space: nowrap;
  }

  .zhuanzhuan-desktop-order-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .zhuanzhuan-desktop-order-flow::before {
    content: "";
    position: absolute;
    /* Four equal columns place the outer circle centers at 1/8 and 7/8. */
    inset-inline: 12.5%;
    top: 22px;
    height: 1px;
    background: var(--line);
  }

  .zhuanzhuan-desktop-order-step {
    text-align: center;
  }

  .zhuanzhuan-desktop-order-marker {
    display: grid;
    place-items: center;
    margin-bottom: 20px;
  }

  .zhuanzhuan-desktop-order-marker span {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--orange);
    background: var(--soft-orange);
    font-size: 16px;
    font-weight: 560;
  }

  .zhuanzhuan-desktop-order-step h3 {
    padding-inline: 14px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 560;
  }

  .zhuanzhuan-desktop-order-step > p {
    margin-top: 12px;
    padding-inline: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .zhuanzhuan-desktop-order-step--decision .zhuanzhuan-desktop-order-marker span {
    color: #fff;
    background: var(--orange);
  }

  .zhuanzhuan-desktop-order-notes {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  .zhuanzhuan-desktop-report-figure {
    margin: 0;
  }

  .zhuanzhuan-desktop-report-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.03);
  }

  .zhuanzhuan-desktop-report-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 560;
  }

  .zhuanzhuan-desktop-report-example {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .zhuanzhuan-desktop-report-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--soft);
  }

  .zhuanzhuan-desktop-report-icon {
    width: 24px;
    height: 27px;
    color: var(--green);
  }

  .zhuanzhuan-desktop-report-translation {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.5;
  }

  .zhuanzhuan-desktop-report-issue {
    background: var(--soft-orange);
  }

  .zhuanzhuan-desktop-report-issue .zhuanzhuan-desktop-report-icon,
  .zhuanzhuan-desktop-report-issue .zhuanzhuan-desktop-report-translation {
    color: var(--orange);
  }

  .zhuanzhuan-desktop-inspection-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--line);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.03);
  }

  .zhuanzhuan-desktop-inspection-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 28px;
    background: #fff;
  }

  .zhuanzhuan-desktop-inspection-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--soft-orange);
    color: var(--orange);
  }

  .zhuanzhuan-desktop-inspection-icon svg {
    width: 28px;
    height: 28px;
    display: block;
  }

  .zhuanzhuan-desktop-inspection-item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
  }

  .zhuanzhuan-desktop-inspection-notes {
    max-width: none;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
  }

  .zhuanzhuan-desktop-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 48px;
    align-items: start;
  }

  .zhuanzhuan-desktop-faq-intro {
    position: sticky;
    /* Keep the 86px desktop navigation height plus a 24px breathing gap. */
    top: calc(86px + 24px);
    text-align: left;
  }

  .zhuanzhuan-desktop-faq-intro p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
  }

  .zhuanzhuan-desktop-faq-intro a {
    color: var(--orange-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .zhuanzhuan-desktop-faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .zhuanzhuan-desktop-useful-link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    transition: border-color 180ms ease;
  }

  .zhuanzhuan-desktop-useful-link > .platform-useful-icon {
    width: 24px;
    height: 24px;
    align-self: start;
    color: var(--orange);
  }

  .zhuanzhuan-desktop-useful-arrow {
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    text-align: center;
  }

  .zhuanzhuan-desktop-useful-link h3 {
    transition: color 180ms ease;
  }

  .zhuanzhuan-desktop-useful-link:hover,
  .zhuanzhuan-desktop-useful-link:focus-visible {
    border-color: var(--orange);
  }

  .zhuanzhuan-desktop-useful-link:hover h3,
  .zhuanzhuan-desktop-useful-link:focus-visible h3 {
    color: var(--orange);
  }

  .zhuanzhuan-desktop-useful-link:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
  }
}

@media (max-width: 640px) {
  .zhuanzhuan-page .page-breadcrumb {
    display: none;
  }

  .zhuanzhuan-report-card {
    padding: 18px;
    border-radius: 20px;
    background: #fff;
  }

  .zhuanzhuan-report-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 620;
    line-height: 1.5;
  }

  .zhuanzhuan-report-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .zhuanzhuan-report-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 12px;
    background: var(--soft);
  }

  .zhuanzhuan-report-row > .goofish-icon {
    height: 24px;
    color: var(--green);
  }

  .zhuanzhuan-report-translation {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
  }

  .zhuanzhuan-report-row--issue {
    background: var(--soft-orange);
  }

  .zhuanzhuan-report-row--issue > .goofish-icon,
  .zhuanzhuan-report-row--issue .zhuanzhuan-report-translation {
    color: var(--orange);
  }

  .zhuanzhuan-order {
    background: var(--soft);
  }

  .zhuanzhuan-order-cards {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }

  .zhuanzhuan-order-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
  }

  .zhuanzhuan-order-number {
    color: var(--muted);
    opacity: 0.55;
    font-size: 32px;
    font-weight: 620;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
  }

  .zhuanzhuan-order-copy h3 {
    color: var(--ink);
    font-size: 18px;
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -0.006em;
  }

  .zhuanzhuan-order-copy p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .zhuanzhuan-order-card--decision {
    border-color: color-mix(in srgb, var(--orange) 25%, #fff);
    background: var(--soft-orange);
  }

  .zhuanzhuan-order-card--decision .zhuanzhuan-order-number {
    color: var(--orange);
    opacity: 1;
  }

}
