/* 杏吧 xbapp.autos — orchard stream theme */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Syne:wght@600;700;800&display=swap");

:root {
  --orb-ink: #12252f;
  --orb-deep: #0a3d4d;
  --orb-teal: #14888a;
  --orb-mint: #2ec4b6;
  --orb-apricot: #ff6b3d;
  --orb-glow: #ffb347;
  --orb-mist: #eef5f7;
  --orb-foam: #f7fbfd;
  --orb-line: rgba(18, 37, 47, 0.1);
  --orb-glass: rgba(255, 255, 255, 0.72);
  --orb-shadow: 0 18px 48px rgba(10, 61, 77, 0.14);
  --orb-radius: 22px;
  --orb-nav-h: 64px;
  --orb-stick-h: 0px;
  --orb-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --orb-display: "Syne", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--orb-font);
  color: var(--orb-ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(46, 196, 182, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 107, 61, 0.12), transparent 55%),
    linear-gradient(180deg, #f4fafb 0%, var(--orb-mist) 45%, #e8f1f4 100%);
  line-height: 1.75;
  min-height: 100vh;
  padding-top: var(--orb-nav-h);
  overflow-x: hidden;
}

body.orb-stick-on {
  padding-top: calc(var(--orb-nav-h) + 78px);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--orb-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orb-apricot);
}

ul {
  list-style: none;
}

.orb-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* top promo */
.orb-promo {
  background: linear-gradient(90deg, rgba(10, 61, 77, 0.06), rgba(255, 107, 61, 0.08));
  border-bottom: 1px solid var(--orb-line);
  padding: 10px 0 4px;
}

.orb-promo #ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 4px;
  background: transparent;
  margin: 6px 0;
}

.orb-promo #ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

.orb-promo #ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  border: none;
  background: #fff;
}

.orb-promo #ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

.orb-promo #ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

.orb-promo #ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* navigation */
.orb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--orb-nav-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(247, 251, 253, 0.82);
  border-bottom: 1px solid var(--orb-line);
}

.orb-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.orb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--orb-ink);
}

.orb-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(20, 136, 138, 0.25);
}

.orb-brand span {
  font-family: var(--orb-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--orb-deep), var(--orb-apricot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orb-menu {
  display: none;
  gap: 8px 18px;
  align-items: center;
}

.orb-menu a {
  text-decoration: none;
  color: var(--orb-ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.orb-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orb-mint), var(--orb-apricot));
  transition: width 0.25s ease;
}

.orb-menu a:hover::after,
.orb-menu a.orb-active::after {
  width: 100%;
}

.orb-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--orb-line);
  border-radius: 12px;
  background: var(--orb-glass);
  display: grid;
  place-items: center;
  cursor: pointer;
  gap: 5px;
}

.orb-burger i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--orb-ink);
  border-radius: 2px;
  transition: 0.25s ease;
}

.orb-burger.is-open i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.orb-burger.is-open i:nth-child(2) {
  opacity: 0;
}

.orb-burger.is-open i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.orb-drawer {
  position: fixed;
  inset: var(--orb-nav-h) 0 auto 0;
  background: rgba(247, 251, 253, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--orb-line);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: 0.28s ease;
  z-index: 999;
  padding: 18px 0 24px;
}

.orb-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.orb-drawer a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--orb-line);
  color: var(--orb-ink);
}

/* sticky download rail */
.orb-stick {
  position: fixed;
  top: var(--orb-nav-h);
  left: 0;
  right: 0;
  z-index: 980;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--orb-line);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: 0.28s ease;
  padding: 8px 0 6px;
}

.orb-stick.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.orb-stick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
}

.orb-stick-grid a {
  text-decoration: none;
  width: 100%;
  max-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.orb-stick-grid img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.orb-stick-grid span {
  font-size: 10px;
  color: #667;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* hero */
.orb-hero {
  position: relative;
  padding: 36px 0 28px;
  overflow: hidden;
}

.orb-hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 61, 0.28), transparent 70%);
  filter: blur(8px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-hero::after {
  content: "";
  position: absolute;
  inset: auto auto 0 -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.25), transparent 70%);
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

.orb-hero-panel {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 28px 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55)),
    linear-gradient(120deg, rgba(20, 136, 138, 0.12), rgba(255, 107, 61, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--orb-shadow);
  backdrop-filter: blur(18px);
}

.orb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orb-deep);
  margin-bottom: 12px;
}

.orb-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orb-apricot);
  box-shadow: 0 0 0 6px rgba(255, 107, 61, 0.18);
  animation: orb-pulse 2s ease infinite;
}

@keyframes orb-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 61, 0.05);
  }
}

.orb-hero h1 {
  font-size: clamp(1.55rem, 5.4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.orb-lead {
  font-size: 1rem;
  color: rgba(18, 37, 47, 0.82);
  max-width: 42em;
}

.orb-hero-visual {
  margin-top: 22px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(10, 61, 77, 0.16);
  transform: perspective(900px) rotateX(2deg);
  animation: orb-rise 1s ease both;
}

@keyframes orb-rise {
  from {
    opacity: 0;
    transform: translateY(24px) perspective(900px) rotateX(6deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) perspective(900px) rotateX(2deg);
  }
}

.orb-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

/* crumbs */
.orb-crumb {
  padding: 18px 0 6px;
  font-size: 0.88rem;
  color: rgba(18, 37, 47, 0.65);
}

.orb-crumb a {
  text-decoration: none;
  color: var(--orb-deep);
  font-weight: 600;
}

.orb-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* sections */
.orb-section {
  padding: 28px 0;
}

.orb-section h2 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.35;
}

.orb-section h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--orb-deep);
}

.orb-section p {
  margin-bottom: 14px;
  color: rgba(18, 37, 47, 0.9);
  font-size: 0.98rem;
}

.orb-prose p + p {
  text-indent: 0;
}

.orb-glass-box {
  background: var(--orb-glass);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--orb-radius);
  padding: 22px 18px;
  box-shadow: 0 10px 30px rgba(10, 61, 77, 0.08);
  backdrop-filter: blur(12px);
}

.orb-split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.orb-split.reverse .orb-media {
  order: -1;
}

.orb-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--orb-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}

.orb-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.orb-media:hover img {
  transform: scale(1.03);
}

.orb-grid-2,
.orb-grid-3 {
  display: grid;
  gap: 14px;
}

.orb-tile {
  background: linear-gradient(160deg, #fff, rgba(238, 245, 247, 0.9));
  border: 1px solid var(--orb-line);
  border-radius: 18px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.orb-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--orb-shadow);
}

.orb-tile h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.orb-tile img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 12px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.orb-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.orb-chip {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 136, 138, 0.1);
  color: var(--orb-deep);
  border: 1px solid rgba(20, 136, 138, 0.18);
}

.orb-cta-band {
  margin: 10px 0 24px;
  padding: 22px 18px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(10, 61, 77, 0.94), rgba(20, 136, 138, 0.9)),
    linear-gradient(90deg, var(--orb-apricot), var(--orb-glow));
  color: #fff;
  box-shadow: var(--orb-shadow);
  display: grid;
  gap: 14px;
  align-items: center;
}

.orb-cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.orb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--orb-apricot), #ff8f4a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 61, 0.35);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.orb-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 107, 61, 0.42);
}

.orb-btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.orb-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 72%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.orb-rail > * {
  scroll-snap-align: start;
}

.orb-quote {
  border-left: 4px solid var(--orb-apricot);
  padding: 8px 0 8px 14px;
  margin: 16px 0;
  color: rgba(18, 37, 47, 0.78);
  font-weight: 500;
}

.orb-list {
  margin: 10px 0 16px;
  padding-left: 0;
}

.orb-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.orb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orb-mint), var(--orb-apricot));
}

.orb-timeline {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.orb-timeline article {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--orb-line);
}

.orb-timeline strong {
  color: var(--orb-apricot);
  display: block;
  margin-bottom: 4px;
}

/* legal */
.orb-legal h1 {
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  margin: 8px 0 16px;
  font-weight: 900;
}

.orb-legal h2 {
  margin-top: 26px;
}

/* error pages */
.orb-error {
  min-height: calc(100vh - var(--orb-nav-h) - 180px);
  display: grid;
  place-items: center;
  padding: 40px 0;
  text-align: center;
}

.orb-error .code {
  font-family: var(--orb-display);
  font-size: clamp(3.5rem, 16vw, 6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--orb-deep), var(--orb-apricot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orb-error h1 {
  margin: 10px 0;
  font-size: 1.4rem;
}

.orb-error p {
  margin-bottom: 18px;
  color: rgba(18, 37, 47, 0.75);
}

/* footer */
.orb-foot {
  margin-top: 40px;
  padding: 28px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(10, 61, 77, 0.08));
  border-top: 1px solid var(--orb-line);
}

.orb-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.orb-foot-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--orb-ink);
  font-size: 0.92rem;
}

.orb-copy {
  font-size: 0.85rem;
  color: rgba(18, 37, 47, 0.62);
}

/* reveal */
.orb-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.orb-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .orb-burger {
    display: none;
  }

  .orb-menu {
    display: flex;
  }

  .orb-stick-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .orb-hero-panel {
    padding: 40px 44px;
  }

  .orb-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }

  .orb-split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .orb-split.reverse .orb-media {
    order: 0;
  }

  .orb-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .orb-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .orb-cta-band {
    grid-template-columns: 1.4fr auto;
    padding: 28px 32px;
  }

  .orb-rail {
    grid-auto-columns: minmax(200px, 28%);
  }
}

@media (min-width: 1024px) {
  body {
    padding-top: 72px;
  }

  :root {
    --orb-nav-h: 72px;
  }

  .orb-hero {
    padding: 48px 0 36px;
  }
}
