:root {
  --bg: #07080a;
  --bg-elev: #0e1014;
  --bg-card: #12151c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f5f7;
  --muted: #9aa3af;
  --accent: #3dff9a;
  --accent-2: #7cf0ff;
  --accent-dim: rgba(61, 255, 154, 0.14);
  --warn: #ffb86b;
  --radius: 14px;
  --font: "Sora", "Outfit", system-ui, sans-serif;
  --display: "Outfit", "Sora", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: #050608;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 18% 12%, rgba(61, 255, 154, 0.12), transparent 58%),
    radial-gradient(ellipse 60% 45% at 88% 18%, rgba(124, 240, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 70% 85%, rgba(61, 255, 154, 0.06), transparent 60%),
    linear-gradient(180deg, #050608 0%, #07080a 45%, #06070a 100%);
}

.page-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: glowPulse 7s ease-in-out infinite;
}

.page-glow.a {
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(61, 255, 154, 0.2), transparent 68%);
}

.page-glow.b {
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  left: -10%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(124, 240, 255, 0.14), transparent 70%);
  animation-delay: 2.2s;
}

.page-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 78%);
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav,
main,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 10, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  z-index: 20;
}

.nav.is-solid {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 10, 0.92);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  background: transparent;
}

.brand-name {
  font-size: 17px;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #04140c;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}

.nav-cta.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.nav-cta.ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.get-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.get-mask[hidden] {
  display: none !important;
}

.get-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(84vh, 680px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0e1218;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.get-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.get-panel h2 {
  margin: 0 36px 8px 0;
  font-family: var(--display);
  font-size: 22px;
}

.get-lead,
.get-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.get-tip {
  margin-bottom: 12px;
}

.get-tip code {
  font-size: 11px;
  color: var(--accent-2);
}

.get-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.get-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.pkg-list {
  display: grid;
  gap: 8px;
}

.pkg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12171f;
}

.pkg-item strong {
  display: block;
  font-size: 14px;
}

.pkg-item span {
  color: var(--muted);
  font-size: 12px;
}

.pkg-item a {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #04140c;
  font-size: 13px;
  font-weight: 700;
}

.pkg-empty {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12171f;
  font-size: 13px;
}

.contact-list b {
  color: var(--accent-2);
  font-weight: 650;
  word-break: break-all;
}

.contact-list a {
  color: #04140c;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.contact-list .contact-cta {
  align-items: center;
}

.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: center;
  padding: 96px 24px 80px;
}

.hero-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-inner {
  max-width: 560px;
  padding-left: clamp(0px, 2vw, 28px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: var(--display);
  letter-spacing: -0.035em;
}

.hero-title .title-main {
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.02;
  font-weight: 780;
  color: var(--text);
}

.hero-title .title-sub {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  color: rgba(243, 245, 247, 0.88);
}

.hero-brands {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  font-family: var(--display);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
}

.brand-ali {
  color: #7eb6ff;
}

.brand-wx {
  color: #7dffa0;
}

.brand-x {
  color: var(--muted);
  font-weight: 500;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 34em;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #04140c;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-points li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 16, 0.45);
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.hero-orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  margin: 0;
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(124, 240, 255, 0.28);
  animation: orbitSpin 28s linear infinite;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(61, 255, 154, 0.18);
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(61, 255, 154, 0.28), transparent 55%),
    linear-gradient(160deg, #152019, #0c1016);
  border: 1px solid rgba(61, 255, 154, 0.35);
  box-shadow: 0 0 40px rgba(61, 255, 154, 0.12);
}

.orbit-core b {
  font-family: var(--display);
  font-size: 22px;
}

.orbit-core em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.orbit-node {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 22, 0.9);
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(6px);
  animation: nodeFloat 4.8s ease-in-out infinite;
}

.orbit-node.n1 {
  top: 8%;
  left: 38%;
  color: #7eb6ff;
  border-color: rgba(22, 119, 255, 0.4);
}

.orbit-node.n2 {
  top: 42%;
  right: 0;
  color: #7dffa0;
  border-color: rgba(9, 187, 7, 0.4);
  animation-delay: 0.6s;
}

.orbit-node.n3 {
  bottom: 10%;
  left: 42%;
  color: var(--accent-2);
  animation-delay: 1.1s;
}

.orbit-node.n4 {
  top: 44%;
  left: 0;
  color: var(--accent);
  animation-delay: 1.6s;
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pay-spotlight {
  max-width: min(1480px, 100%);
  margin: 0 auto;
  padding: 72px 20px;
}

.channels,
.goods {
  max-width: min(1480px, 100%);
  margin: 0 auto;
  padding: 72px 20px;
}

.pay-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 28px;
}

.pay-duo .flow-block {
  margin-top: 0;
  padding: 20px;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pay-duo .flow-head h3 {
  font-size: clamp(18px, 1.6vw, 22px);
}

.pay-duo .flow-head p {
  font-size: 13px;
}

.pay-duo .flow-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pay-duo .flow-steps li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 6px;
}

.pay-duo .flow-steps li span {
  font-size: 11px;
  line-height: 1.25;
}

.pay-duo .flow-stage {
  max-width: none;
  width: 100%;
  flex: 1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.flow-head strong {
  color: var(--accent);
  font-weight: 700;
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.flow-block {
  margin-top: 28px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 21, 28, 0.72);
  backdrop-filter: blur(10px);
}

.flow-block + .flow-block {
  margin-top: 20px;
}

.flow-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.spot-index {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding-top: 6px;
}

.flow-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
}

.flow-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.flow-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.flow-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0c10;
  color: var(--muted);
  font-size: 12px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.flow-steps li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a2230;
  font-size: 11px;
  flex-shrink: 0;
}

.flow-steps li.on {
  border-color: rgba(61, 255, 154, 0.45);
  background: var(--accent-dim);
  color: var(--text);
}

.flow-steps li.on b {
  background: var(--accent);
  color: #04140c;
}

.flow-steps li.done {
  border-color: rgba(124, 240, 255, 0.28);
  color: var(--accent-2);
}

.flow-steps li.done b {
  background: rgba(124, 240, 255, 0.2);
  color: var(--accent-2);
}

.flow-stage {
  display: grid;
  gap: 12px;
  border-radius: 14px;
  background: #0a0c10;
  border: 1px solid var(--line);
  padding: 16px;
  max-width: 420px;
}

.flow-stage.compact {
  max-width: 480px;
}

.royalty-block {
  margin-top: 20px;
}

.royalty-stage {
  display: grid;
  gap: 12px;
  border-radius: 14px;
  background: #0a0c10;
  border: 1px solid var(--line);
  padding: 16px;
}

.royalty-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  align-items: stretch;
}

.royalty-panel {
  min-height: 360px;
}

.royalty-panel .scene-pane {
  min-height: 280px;
  align-content: start;
}

.roy-section-hd {
  margin-bottom: 12px;
}

.roy-section-hd h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.roy-section-hd p {
  margin: 0;
  font-size: 12px;
  color: #8b93a7;
}

.roy-section-hd em {
  font-style: normal;
  font-weight: 700;
  color: #1c6ef2;
}

.roy-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.roy-lane {
  appearance: none;
  border: 1px solid #d8dee8;
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px;
  font: inherit;
  text-align: left;
  color: #6b7280;
  cursor: default;
  display: grid;
  gap: 4px;
}

.roy-lane b {
  font-size: 13px;
  font-weight: 700;
  color: inherit;
}

.roy-lane span {
  font-size: 11px;
  color: #8b93a7;
}

.roy-lane.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
}

.roy-lane.on span {
  color: #059669;
}

.roy-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #8b93a7;
}

.roy-shop-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.roy-shop {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
}

.roy-shop span {
  color: #8b93a7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.roy-shop i {
  font-style: normal;
  color: #8b93a7;
  font-size: 11px;
}

.roy-shop.on {
  border-color: #93c5fd;
  background: #eff6ff;
}

.roy-shop.on i {
  color: #1c6ef2;
  font-weight: 700;
}

.roy-compose {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.roy-compose-row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.5fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
}

.roy-compose-row.head {
  background: transparent;
  border: none;
  padding: 0 12px 4px;
  color: #8b93a7;
  font-size: 11px;
}

.roy-compose-row.muted {
  opacity: 0.78;
}

.roy-compose-row.on {
  border-color: #93c5fd;
  background: #eff6ff;
}

.roy-compose-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}

.roy-compose-row em {
  font-style: normal;
  font-weight: 800;
  color: #1c6ef2;
  text-align: right;
}

.roy-table {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.roy-tr {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.5fr 0.45fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
}

.roy-tr.head {
  background: transparent;
  border: none;
  padding: 0 12px 4px;
  color: #8b93a7;
  font-size: 11px;
}

.roy-tr em {
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.roy-tr em.muted {
  color: #8b93a7;
}

.roy-tr em.on {
  color: #047857;
}

.roy-tr.is-saved {
  border-color: #86efac;
  background: #ecfdf5;
}

.roy-settle-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  padding: 16px 14px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.roy-settle-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.roy-settle-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef1f6;
  font-size: 12px;
}

.roy-settle-grid label {
  color: #8b93a7;
}

.royalty-side {
  display: grid;
  gap: 12px;
  align-content: stretch;
  min-height: 360px;
  grid-template-rows: auto 1fr;
}

.roy-side-card {
  border-radius: 12px;
  border: 1px solid #eef1f6;
  background: #f8fafc;
  padding: 14px;
  color: #1a1d26;
}

.roy-side-card:last-child {
  display: flex;
  flex-direction: column;
}

.roy-side-card h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.roy-side-card .rule-rows {
  padding: 0;
}

.roy-rec-table {
  display: grid;
  gap: 6px;
  flex: 1;
}

.roy-rec-head,
.roy-rec-row {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1fr;
  gap: 6px;
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 8px;
}

.roy-rec-head {
  color: #8b93a7;
  padding-bottom: 2px;
}

.roy-rec-row {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.roy-rec-row em {
  font-style: normal;
  font-weight: 700;
  color: #047857;
}

.roy-rec-row[hidden],
.roy-rec-empty[hidden],
.roy-records[hidden] {
  display: none !important;
}

.roy-rec-empty {
  padding: 16px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed #d8dee8;
  color: #8b93a7;
  font-size: 12px;
  text-align: center;
}

.roy-records {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px;
  white-space: pre-line;
}

.demo {
  display: grid;
  gap: 12px;
  height: 100%;
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #04140c;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
}

.demo-step {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
}

.scene-phone,
.scene-admin {
  border-radius: 14px;
  border: 1px solid #d8dee8;
  background: #f3f5f9;
  overflow: hidden;
  color: #1a1d26;
  min-height: 260px;
}

.phone-bar,
.admin-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
  font-size: 12px;
  font-weight: 700;
}

.phone-bar i,
.admin-hd::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff9a;
  content: "";
  display: inline-block;
}

.phone-bar.wx i {
  background: #09bb07;
}

.admin-hd.mini {
  margin: -4px -4px 8px;
  border-radius: 10px 10px 0 0;
}

.scene-pane {
  display: none;
  padding: 14px;
  gap: 10px;
}

.scene-pane.is-on {
  display: grid;
}

.form-row,
.order-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
}

.form-row label,
.order-line span {
  color: #8b93a7;
}

.form-row b.on {
  color: #047857;
}

.form-row b.muted {
  color: #8b93a7;
  font-weight: 650;
}

.scene-btn {
  margin-top: 4px;
  justify-self: start;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #1c6ef2, #0d4db8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.scene-btn.ali {
  background: linear-gradient(145deg, #1677ff, #0b5ed7);
}

.scene-btn.pulse {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.scene-toast,
.ledger {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scene-toast.show,
.ledger.show {
  opacity: 1;
  transform: none;
}

.scene-toast.ok {
  color: #047857;
}

.ok-text {
  color: #047857 !important;
}

.ok-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  padding: 20px 14px;
  text-align: center;
}

.ok-card.big {
  padding: 28px 14px 18px;
}

.ok-card h4 {
  margin: 10px 0 4px;
  font-size: 18px;
}

.ok-card > p {
  margin: 0 0 14px;
  color: #8b93a7;
  font-size: 12px;
}

.ok-card .form-row {
  text-align: left;
  margin-top: 8px;
}

.ok-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #10b981;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.ok-mark.wx {
  background: #09bb07;
}

.ok-mark.pop {
  animation: okPop 0.45s ease;
}

@keyframes okPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.switch-card,
.buy-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  padding: 14px;
}

.switch-hd {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef1f6;
  font-size: 13px;
  margin-bottom: 12px;
}

.switch-row em {
  font-style: normal;
  font-weight: 700;
}

.switch-row em.muted {
  color: #8b93a7;
}

.switch-row em.on {
  color: #047857;
}

.buy-goods {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.buy-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #bbf7d0);
  flex-shrink: 0;
}

.buy-thumb.wx {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.buy-goods b {
  display: block;
  font-size: 14px;
}

.buy-goods p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #8b93a7;
}

.pay-sheet,
.order-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  padding: 14px;
}

.pay-sheet-hd,
.order-hd,
.sp-sec {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pay-sheet-amt {
  font-size: 28px;
  font-weight: 800;
}

.pay-sheet-meta {
  margin: 6px 0 12px;
  color: #8b93a7;
  font-size: 12px;
}

.wx-order {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.wx-amt {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

.wx-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wx-tags span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d8dee8;
  color: #6b7280;
  background: #fff;
}

.wx-tags span.on {
  color: #047857;
  border-color: #6ee7b7;
  background: #ecfdf5;
}

.freeze-bar {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.freeze-bar i {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, #09bb07, #34d399);
  transition: width 0.55s ease;
}

.wx-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.wx-step {
  text-align: center;
  font-size: 10px;
  padding: 8px 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eef1f6;
  color: #8b93a7;
}

.wx-step.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
}

.sft-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sft-col {
  border-radius: 10px;
  border: 1px solid #eef1f6;
  background: #fff;
  padding: 10px 8px;
  text-align: center;
}

.sft-col small {
  display: block;
  color: #8b93a7;
  font-size: 11px;
}

.sft-col strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.scene-admin {
  padding: 0 0 12px;
}

.scene-admin .admin-hd {
  margin-bottom: 12px;
}

.rule-rows {
  padding: 0 12px;
  display: grid;
  gap: 8px;
}

.rule-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 13px;
  overflow: hidden;
}

.rule-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--w);
  background: #1c6ef2;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.rule-row.on {
  border-color: #93c5fd;
  background: #eff6ff;
}

.rule-row.on i {
  opacity: 1;
}

.ledger.light {
  margin: 12px;
  opacity: 1;
  transform: none;
  min-height: 48px;
}

.channel-demo-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
}

.channel-demo {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 16, 20, 0.7);
  backdrop-filter: blur(10px);
}

.channel-demo.featured {
  border-color: rgba(61, 255, 154, 0.35);
  background: linear-gradient(180deg, #142019, #0f1411);
}

.channel-demo h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 20px;
}

.qr-tip {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.chan-board {
  display: grid;
  gap: 12px;
  padding: 4px;
  border-radius: 12px;
  background: #f3f5f9;
  border: 1px solid #d8dee8;
  color: #1a1d26;
}

.chan-list {
  display: grid;
  gap: 8px;
  padding: 0 8px;
}

.chan-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #eef1f6;
  background: #fff;
  font-size: 13px;
  transition: border-color 0.25s, background 0.25s;
}

.chan-item em {
  font-style: normal;
  color: #8b93a7;
  font-size: 12px;
}

.chan-item.on {
  border-color: #86efac;
  background: #ecfdf5;
}

.chan-bind {
  margin: 0 8px 8px;
  border-radius: 10px;
  border: 1px dashed #cfd6e4;
  padding: 12px;
  background: #fff;
}

.chan-bind-title {
  font-size: 12px;
  color: #8b93a7;
  margin-bottom: 8px;
}

.chan-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chan-slots span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d8dee8;
  color: #6b7280;
}

.chan-slots span.on {
  color: #fff;
  background: #1c6ef2;
  border-color: #1c6ef2;
}

.chan-pulse {
  margin-top: 10px;
  font-size: 12px;
  color: #0f766e;
  min-height: 18px;
}

.qr-stage {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 14px;
  align-items: start;
}

/* 与商家后台 CollectQr.vue 同款「电商码」海报 */
.mall-poster {
  width: 168px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 40, 80, 0.22);
  background: #7ee07e;
  user-select: none;
}

.mall-poster .poster-head {
  position: relative;
  height: 64px;
  background: #2f8cff;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}

.mall-poster .poster-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1;
}

.mall-poster .poster-body {
  padding: 18px 14px 12px;
  display: flex;
  justify-content: center;
  background: #7ee07e;
}

.mall-poster .poster-qr-frame {
  position: relative;
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mall-poster .poster-qr {
  width: 100%;
  height: 100%;
  display: block;
}

.mall-poster .poster-scan {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  top: 18%;
  background: rgba(28, 110, 242, 0.85);
  box-shadow: 0 0 8px rgba(28, 110, 242, 0.55);
  opacity: 0;
  pointer-events: none;
}

.mall-poster .poster-scan.on {
  opacity: 1;
  animation: beamY 1.6s ease-in-out infinite;
}

@keyframes beamY {
  0%,
  100% {
    top: 18%;
  }
  50% {
    top: 78%;
  }
}

.mall-poster .poster-foot {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 4px 10px;
  background: #e8e8e8;
}

.mall-poster .pay-item {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.mall-poster .ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-flex;
}

.mall-poster .ico svg {
  display: block;
  width: 14px;
  height: 14px;
}

.mall-poster .pay-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.mall-poster .pay-txt b {
  font-size: 8px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.mall-poster .pay-txt small {
  font-size: 6px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}

.shop-pay-phone {
  position: relative;
  border-radius: 14px;
  border: 1px solid #d8dee8;
  background: #f3f5f9;
  overflow: hidden;
  color: #1a1d26;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  opacity: 0.45;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.shop-pay-phone.active {
  opacity: 1;
  transform: none;
}

.sp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
  font-size: 13px;
  font-weight: 700;
}

.sp-top span {
  width: 28px;
  font-size: 22px;
  line-height: 1;
  color: #1a1d26;
}

.sp-top i {
  width: 28px;
}

.sp-scroll {
  padding: 10px 10px 56px;
  flex: 1;
}

.sp-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(22, 40, 80, 0.05);
}

.sp-card.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1c6ef2, #0d4db8);
  color: #fff;
  font-weight: 800;
}

.sp-card.brand h4 {
  margin: 0 0 2px;
  font-size: 15px;
}

.sp-card.brand p {
  margin: 0;
  font-size: 11px;
  color: #8b93a7;
}

.sp-card.amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 28px;
  font-weight: 800;
}

.sp-card.amount strong.cursor {
  color: #c5ccd8;
  font-weight: 500;
}

.sp-card.amount strong.typing {
  color: #1a1d26;
  font-weight: 800;
}

.sp-keypad {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.sp-keypad.show {
  display: grid;
}

.sp-keypad span {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1d26;
}

.sp-keypad span.on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1c6ef2;
}

.sp-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f6;
  font-size: 13px;
  font-weight: 600;
}

.sp-opt:last-child {
  border-bottom: 0;
}

.sp-opt i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #c5ccd8;
  box-sizing: border-box;
}

.sp-opt.on i {
  border-color: #1c6ef2;
  box-shadow: inset 0 0 0 3px #1c6ef2;
}

.sp-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid #eef1f6;
}

.sp-sum {
  font-size: 12px;
  color: #555;
}

.sp-sum b {
  color: #e11d48;
  font-size: 15px;
}

.sp-go {
  border: 0;
  border-radius: 20px;
  padding: 0 14px;
  height: 34px;
  background: linear-gradient(145deg, #1c6ef2, #0d4db8);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.sp-go.pulse {
  filter: brightness(1.1);
}

.sp-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: #0f766e;
  background: #ecfdf5;
  border-top: 1px solid #a7f3d0;
  z-index: 2;
}

.sp-success {
  position: absolute;
  inset: 40px 0 28px;
  display: none;
  place-content: center;
  text-align: center;
  background: rgba(243, 245, 249, 0.96);
  z-index: 3;
  padding: 20px;
}

.sp-success.show {
  display: grid;
}

.sp-success h4 {
  margin: 12px 0 4px;
  font-size: 18px;
  color: #1a1d26;
}

.sp-success p {
  margin: 0;
  font-size: 12px;
  color: #8b93a7;
}

.goods .flow-block {
  margin-top: 0;
}

.collect-phone .scene-pane {
  padding: 14px;
}

.collect-type {
  display: flex;
  gap: 8px;
}

.collect-type span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d8dee8;
  background: #fff;
  font-size: 12px;
  color: #6b7280;
}

.collect-type span.on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1c6ef2;
  font-weight: 700;
}

.collect-hint {
  margin: 12px 0;
  font-size: 12px;
  color: #8b93a7;
}

.collect-link {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
}

.collect-link .lab {
  display: block;
  font-size: 11px;
  color: #8b93a7;
  margin-bottom: 4px;
}

.link-box {
  font-size: 12px;
  color: #1a1d26;
  word-break: break-all;
  min-height: 1.4em;
}

.link-box.typing {
  color: #1c6ef2;
}

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.source-tags span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d8dee8;
  color: #8b93a7;
  background: #fff;
}

.source-tags span.on {
  color: #047857;
  border-color: #6ee7b7;
  background: #ecfdf5;
}

.source-tags span.off {
  color: #9ca3af;
  text-decoration: line-through;
  opacity: 0.7;
}

.collect-preview {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  margin-bottom: 10px;
}

.collect-preview .thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dbeafe, #bbf7d0);
  flex-shrink: 0;
  transition: filter 0.25s ease;
}

.collect-preview .thumb.flash,
.collect-preview.fetching .thumb {
  filter: brightness(1.12);
  animation: thumbPulse 1s ease-in-out infinite;
}

@keyframes thumbPulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

.collect-preview .meta {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.collect-preview b {
  font-size: 13px;
}

.collect-preview span {
  font-size: 11px;
  color: #8b93a7;
}

.foot {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: grid;
  gap: 16px;
  justify-items: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.foot-beian {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.foot-beian a,
.foot-beian > span:not(.foot-sep) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-decoration: none;
}

.foot-beian a:hover {
  color: var(--text);
}

.foot-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}

.beian-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.foot-divider {
  width: min(720px, 100%);
  height: 1px;
  background: var(--line);
  border: 0;
}

.foot-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-copy p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
  font-size: 12px;
}

.foot-yanhuo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.foot-yanhuo:hover {
  opacity: 1;
}

.foot-yanhuo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #05070b;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
  .nav-actions {
    gap: 8px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-shell,
  .channel-demo-grid,
  .qr-stage {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-inner {
    max-width: none;
    padding-left: 0;
  }

  .hero-orbit {
    width: min(280px, 80%);
    margin: 8px auto 0;
  }

  .pay-duo {
    grid-template-columns: 1fr;
  }

  .flow-steps,
  .pay-duo .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .pay-duo .flow-steps li {
    flex-direction: row;
    align-items: center;
  }

  .mall-poster {
    margin: 0 auto;
  }

  .flow-stage {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .royalty-grid {
    grid-template-columns: 1fr;
  }

  .roy-lanes {
    grid-template-columns: 1fr;
  }

  .roy-tr {
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
  }

  .roy-tr.head {
    display: none;
  }
}

/* ——— 搭建教程页 ——— */
.guide-page .nav-cta[aria-current='page'] {
  background: var(--accent);
  color: #04140c;
  border-color: transparent;
}

.guide-main {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px 48px;
}

.guide-hero {
  margin-bottom: 36px;
}

.guide-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.guide-lead {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.guide-lead code {
  font-size: 13px;
  color: var(--accent-2);
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-toc a {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.guide-toc a:hover {
  border-color: rgba(61, 255, 154, 0.45);
  color: var(--text);
}

.guide-block {
  margin-bottom: 40px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(8px);
}

.guide-block-hd {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.guide-block-hd h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.guide-block-hd p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-stage {
  display: grid;
  gap: 12px;
  border-radius: 14px;
  background: #0a0c10;
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 16px;
}

.gflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.guide-stage.is-paused {
  outline: 1px solid rgba(61, 255, 154, 0.28);
}

.gflow-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e1218;
  color: var(--muted);
  font-size: 12px;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.15s;
}

.gflow-node.is-hoverable,
.gon-node.is-hoverable,
.gsite-steps li.is-hoverable,
.flow-steps li.is-hoverable,
.gprep-card.is-hoverable {
  cursor: pointer;
}

.gflow-node.is-hoverable:hover,
.gon-node.is-hoverable:hover {
  transform: translateY(-1px);
}

.gflow-node b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a2230;
  font-size: 11px;
  flex-shrink: 0;
}

.gflow-node.on {
  border-color: rgba(61, 255, 154, 0.45);
  background: var(--accent-dim);
  color: var(--text);
}

.gflow-node.on b {
  background: var(--accent);
  color: #04140c;
}

.gflow-node.done {
  border-color: rgba(124, 240, 255, 0.28);
  color: var(--accent-2);
}

.gflow-edge {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.gflow-cap {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(61, 255, 154, 0.06);
  border: 1px solid rgba(61, 255, 154, 0.18);
  color: var(--accent-2);
  font-size: 13px;
  line-height: 1.5;
}

.guide-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.guide-copy p {
  margin: 0 0 10px;
}

.guide-copy ul {
  margin: 0;
  padding-left: 18px;
}

.guide-copy li {
  margin-bottom: 6px;
}

.guide-copy code,
.guide-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.guide-copy strong {
  color: var(--text);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 13px;
}

.guide-table th,
.guide-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.guide-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 650;
}

.guide-code {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid var(--line);
  overflow: auto;
  color: #a7f3d0;
  font-size: 12px;
  line-height: 1.55;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.guide-code.sm {
  margin: 12px;
  font-size: 11px;
}

.guide-code.pulse-code {
  border-color: rgba(61, 255, 154, 0.55);
  box-shadow: 0 0 0 1px rgba(61, 255, 154, 0.2);
}

.gprep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gprep-card {
  border-radius: 12px;
  border: 1px solid #eef1f6;
  background: #f3f5f9;
  color: #1a1d26;
  padding: 14px;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s;
}

.gprep-card.on {
  opacity: 1;
  border-color: #86efac;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.gprep-card h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.g-ext {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.g-ext li {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
  color: #8b93a7;
}

.g-ext li.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
  font-weight: 650;
}

.gsite-board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
}

.gsite-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.gsite-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e1218;
  color: var(--muted);
  font-size: 12px;
}

.gsite-steps li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a2230;
  font-size: 11px;
}

.gsite-steps li.on {
  border-color: rgba(61, 255, 154, 0.45);
  background: var(--accent-dim);
  color: var(--text);
}

.gsite-steps li.on b {
  background: var(--accent);
  color: #04140c;
}

.gsite-steps li.done {
  color: var(--accent-2);
}

.gsite-panel {
  border-radius: 14px;
  border: 1px solid #d8dee8;
  background: #f3f5f9;
  overflow: hidden;
  color: #1a1d26;
  min-height: 220px;
}

.gsite-panel .scene-pane {
  min-height: 180px;
}

.gsite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.gsite-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
  color: #8b93a7;
}

.gsite-tags span.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
  font-weight: 650;
}

.gsite-tree {
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #374151;
}

.gsite-tree .pad {
  padding-left: 18px;
}

.compact-steps {
  margin-bottom: 0;
}

.grw-layout {
  display: grid;
  gap: 12px;
}

.gext-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 4px;
}

.gext-panel {
  min-height: 300px;
}

.gext-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.gext-order {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.gext-order li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #eef1f6;
  background: #fff;
  font-size: 12px;
  color: #8b93a7;
}

.gext-order li.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
  font-weight: 650;
}

.gext-order li.done {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.mono-sm {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  word-break: break-all;
}

.gins-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.gins-panel {
  min-height: 280px;
}

.gins-checks {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.gins-checks div {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f6;
  font-size: 12px;
  color: #8b93a7;
}

.gins-checks div.on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
  font-weight: 650;
}

.gins-side {
  display: grid;
  gap: 12px;
}

.gins-log {
  min-height: 88px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px;
}

.gcron-board {
  display: grid;
  gap: 12px;
}

.gcron-panel {
  border-radius: 14px;
  border: 1px solid #d8dee8;
  background: #f3f5f9;
  overflow: hidden;
  color: #1a1d26;
  min-height: 200px;
}

.gon-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gon-node {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e1218;
  color: var(--muted);
  display: grid;
  gap: 4px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.gon-node b {
  font-size: 13px;
  color: inherit;
}

.gon-node span {
  font-size: 11px;
  opacity: 0.85;
}

.gon-node.on {
  border-color: rgba(61, 255, 154, 0.45);
  background: var(--accent-dim);
  color: var(--text);
}

.gon-node.done {
  border-color: rgba(124, 240, 255, 0.28);
  color: var(--accent-2);
}

.guide-faq {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.guide-faq details {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0c10;
  padding: 12px 14px;
}

.guide-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  color: var(--text);
}

.guide-faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.guide-faq code {
  color: var(--accent-2);
  font-size: 12px;
}

.guide-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ——— 功能使用教程 ——— */
.umap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.umap-card {
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  background: #fff;
  color: #1a1d26;
  display: grid;
  gap: 6px;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.umap-card.on {
  opacity: 1;
  border-color: #86efac;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.18);
}

.umap-card h4 {
  margin: 0;
  font-size: 14px;
}

.umap-card p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #1c6ef2;
}

.umap-card > span {
  font-size: 12px;
  color: #8b93a7;
  line-height: 1.45;
}

.usage-board {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 4px;
}

.usage-panel {
  min-height: 280px;
}

.usage-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.guide-copy a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .gprep-grid,
  .gsite-board,
  .gext-board,
  .gins-grid,
  .gon-track,
  .umap-grid,
  .usage-board {
    grid-template-columns: 1fr;
  }

  .gflow-edge {
    display: none;
  }
}

@media (max-width: 640px) {
  .guide-main {
    padding-top: 84px;
  }

  .nav-actions .nav-cta {
    padding: 8px 10px;
    font-size: 12px;
  }

  .foot-beian {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 8px;
    justify-content: center;
  }
}
