/* 杏吧 xbapp.lol — 移动端优先品牌站 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #14221f;
  --ink-soft: #3a4a45;
  --mist: #eef6f3;
  --paper: #f8fcfa;
  --leaf: #0f6b5c;
  --leaf-deep: #0a4a40;
  --apricot: #e86a2e;
  --apricot-soft: #ffb089;
  --sand: #d9ebe4;
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(15, 107, 92, 0.14);
  --shadow: 0 18px 48px rgba(20, 34, 31, 0.1);
  --radius: 22px;
  --max: 1080px;
  --nav-h: 64px;
  --promo-gap: 0px;
  --font-display: "Syne", "Noto Serif SC", serif;
  --font-serif: "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 106, 46, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(15, 107, 92, 0.1), transparent 50%),
    linear-gradient(180deg, #f4faf7 0%, var(--paper) 35%, #eef5f2 100%);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

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

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

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

.orb-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.orb-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* —— Top promo —— */
.orb-promo {
  background: linear-gradient(90deg, #0a4a40, #135f52 40%, #1a7262);
  color: #fff;
  padding: 10px 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.orb-promo-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.orb-promo-label {
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 4px;
}

.orb-promo #ads,
.orb-dock #ads-dock {
  display: grid;
  justify-items: center;
  align-items: start;
  background: transparent;
  margin: 6px 0;
}

.orb-promo #ads {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.orb-dock #ads-dock {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
}

.orb-promo #ads > div,
.orb-dock #ads-dock > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 72px;
  box-sizing: border-box;
}

.orb-promo #ads a,
.orb-dock #ads-dock a {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.orb-promo #ads a {
  width: 60px;
  height: 60px;
}

.orb-dock #ads-dock > div {
  max-width: none;
}

@media (min-width: 880px) {
  .orb-dock #ads-dock a {
    width: 60px;
    max-width: 60px;
    height: 60px;
  }
}

@media (max-width: 879px) {
  .orb-dock #ads-dock a {
    width: 100%;
    max-width: 54px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.orb-promo #ads img,
.orb-dock #ads-dock img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #fff;
}

.orb-promo #ads a:hover,
.orb-dock #ads-dock a:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.orb-promo .caption,
.orb-dock .caption {
  height: 15px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.orb-promo #ads figure,
.orb-dock #ads-dock figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orb-dock .caption {
  color: var(--ink-soft);
}

/* —— Nav —— */
.orb-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}

.orb-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.orb-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(232, 106, 46, 0.25);
}

.orb-brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.orb-brand-text span {
  color: var(--apricot);
}

.orb-menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

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

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

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

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

.orb-links {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: rgba(248, 252, 250, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 18px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}

.orb-nav.is-open .orb-links {
  display: flex;
}

.orb-links a {
  text-decoration: none;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
}

.orb-links a:hover,
.orb-links a.is-active {
  background: var(--sand);
  color: var(--leaf-deep);
}

@media (min-width: 880px) {
  .orb-menu-btn {
    display: none;
  }

  .orb-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 2px;
  }

  .orb-links a {
    padding: 8px 12px;
    font-size: 0.92rem;
  }
}

/* —— Sticky dock —— */
.orb-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  z-index: 35;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  background: rgba(248, 252, 250, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px 6px;
  box-shadow: 0 8px 24px rgba(20, 34, 31, 0.08);
}

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

.orb-dock-label {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

@media (min-width: 880px) {
  .orb-promo #ads,
  .orb-dock #ads-dock {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px 10px;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
  }

  .orb-promo #ads > div,
  .orb-dock #ads-dock > div {
    max-width: 76px;
  }
}

body.has-dock {
  padding-top: 0;
}

/* —— Layout —— */
.orb-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.orb-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.orb-crumb a {
  text-decoration: none;
  color: var(--leaf);
}

.orb-crumb span {
  opacity: 0.45;
}

/* —— Hero —— */
.orb-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px 22px 40px;
  margin-bottom: 36px;
  background:
    linear-gradient(135deg, rgba(15, 107, 92, 0.92), rgba(10, 74, 64, 0.88) 55%, rgba(232, 106, 46, 0.75)),
    url("feat-video-vault.jpg") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.orb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 176, 137, 0.35), transparent 40%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.25));
  z-index: -1;
  animation: orbGlow 8s ease-in-out infinite alternate;
}

@keyframes orbGlow {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

.orb-hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.orb-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 700;
  max-width: 18em;
}

.orb-hero-lead {
  margin: 0;
  max-width: 34em;
  font-size: 0.98rem;
  opacity: 0.92;
}

.orb-hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orb-chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
}

/* —— Sections —— */
.orb-block {
  margin-bottom: 42px;
  animation: orbRise 0.7s ease both;
}

@keyframes orbRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.orb-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  margin: 0 0 14px;
  color: var(--leaf-deep);
  line-height: 1.4;
}

.orb-block h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin: 22px 0 10px;
  color: var(--ink);
}

.orb-block p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.orb-block p strong {
  color: var(--ink);
  font-weight: 700;
}

.orb-lede {
  font-size: 1.02rem;
  color: var(--ink);
}

/* text + media */
.orb-split {
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 800px) {
  .orb-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
  }

  .orb-split.is-flip {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .orb-split.is-flip .orb-media {
    order: -1;
  }
}

.orb-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sand);
}

.orb-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
  transition: transform 0.6s ease;
}

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

.orb-media-glow {
  position: absolute;
  inset: auto -20% -20% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 106, 46, 0.45), transparent 70%);
  pointer-events: none;
}

/* cards */
.orb-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .orb-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

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

.orb-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(20, 34, 31, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.orb-card h3 {
  margin-top: 0;
  color: var(--leaf-deep);
}

.orb-card p:last-child {
  margin-bottom: 0;
}

.orb-card-media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--sand);
}

.orb-card-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  max-height: 280px;
}

.orb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.orb-pill {
  background: var(--sand);
  color: var(--leaf-deep);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 500;
}

.orb-quote {
  border-left: 4px solid var(--apricot);
  padding: 8px 0 8px 16px;
  margin: 18px 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.orb-cta-band {
  margin: 40px 0;
  padding: 28px 20px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--leaf-deep), #147a68 55%, #c85a28);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.orb-cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.orb-cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36em;
  margin: 0 auto 18px;
}

.orb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--leaf-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.orb-btn:hover {
  transform: translateY(-2px);
  color: var(--apricot);
}

.orb-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: rgba(15, 107, 92, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
}

.orb-list {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.orb-list li {
  margin-bottom: 8px;
}

/* legal pages */
.orb-legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 0 0 16px;
  color: var(--leaf-deep);
}

.orb-legal .orb-updated {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* error pages */
.orb-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.orb-error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--leaf), var(--apricot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.orb-error h1 {
  font-family: var(--font-serif);
  margin: 8px 0 12px;
}

.orb-error p {
  color: var(--ink-soft);
  max-width: 28em;
  margin: 0 auto 22px;
}

/* footer */
.orb-foot {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 28px 16px 40px;
}

.orb-foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.orb-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.orb-foot-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.orb-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

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

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

.orb-copy {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 800px) {
  .orb-hero {
    padding: 56px 48px;
  }

  .orb-wrap {
    padding: 32px 24px 80px;
  }
}
