/* 飞象传媒网站。配色 A：杏白 + 焦橙。全站只有一个强调色，不用渐变。
   只用系统字体：中文网页字体动辄几 MB，微信里打开会慢。 */

:root {
  color-scheme: light;
  --bg: #fff8f0;
  --panel: #fcebd9;
  --soft: #f4a261;
  --accent: #c8440f;
  --text: #2a1d14;
  --muted: #6f5b4b;
  --line: #e9d5bf;
  --white: #fff;

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  /* 数字用窄体，账单上的数字才有分量 */
  --num: "DIN Condensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", var(--sans);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --section: clamp(64px, 10vw, 136px);
  --bar: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  /* 很淡的纸纹，让底色不是一块死白 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .36 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--text);
  color: var(--white);
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-lead {
  max-width: 38em;
  margin-top: 16px;
  color: var(--muted);
}

/* 页头 */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 24px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 16px var(--gutter) 6px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 22px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--soft);
}

.site-header .header-cta {
  display: none;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-block: 22px;
  }

  .site-nav {
    grid-column: auto;
    justify-content: flex-end;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .site-header .header-cta {
    display: inline-flex;
  }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--accent);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--text);
  border-color: var(--text);
}

.btn-line:hover {
  background: var(--accent);
  color: var(--white);
}

.header-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

/* 首屏 */
.hero {
  padding-block: clamp(36px, 7vw, 96px) clamp(56px, 8vw, 112px);
}

.hero-grid {
  display: grid;
  gap: 44px;
}

.hero h1 {
  font-size: clamp(2rem, 10vw, 5.25rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--soft);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

.hero-intro {
  max-width: 27em;
  margin-top: 26px;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.hero-name {
  font-size: 1.25em;
  font-weight: 800;
}

.hero-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82em;
}

.hero-meta a {
  margin-left: 10px;
  white-space: nowrap;
  text-decoration: none;
}

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

.crumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.crumb a {
  text-underline-offset: 3px;
}

.page-hero h1 {
  font-size: clamp(2rem, 8.4vw, 4.5rem);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
  }

  .page-hero h1 {
    font-size: clamp(2.9rem, 4.8vw, 4.5rem);
  }
}

/* 首页轨道：环、圆点、节点都按同一套百分比定位，手机上椭圆跟着舞台变高，节点还在环上 */
.orbit-hero {
  padding-block: clamp(8px, 3vw, 32px) clamp(48px, 7vw, 88px);
}

.orbit-wrap {
  position: relative;
  margin-block: clamp(30px, 7vw, 84px) clamp(16px, 7.6vw, 104px);
}

.orbit {
  position: relative;
  aspect-ratio: 1 / 1.14;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ring-soft {
  stroke: var(--soft);
  stroke-width: 1.5;
}

/* 手机上舞台被拉高，横竖比例差 2.48 倍，光点要反过来补偿才是圆的 */
.ring-light {
  fill: var(--accent);
  rx: 8px;
  ry: 3.2px;
}

.orbit-dot,
.orbit-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  translate: -50% -50%;
}

.orbit-dot {
  width: clamp(12px, 1.7vw, 22px);
  aspect-ratio: 1;
  background: var(--accent);
  border: 3px solid var(--bg);
  border-radius: 50%;
}

.orbit-title {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: clamp(1.5rem, 7.7vw, 4.4rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-align: center;
  pointer-events: none;
}

.orbit-title em {
  color: var(--accent);
  font-style: normal;
}

.orbit-node {
  --size: clamp(70px, 10vw, 118px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  color: var(--white);
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.orbit-node-lg {
  --size: clamp(82px, 11.8vw, 138px);
}

.orbit-node-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(4px, 0.7vw, 8px) rgb(200 68 15 / 14%);
  animation: bob 6s ease-in-out infinite;
  transition: background-color 0.18s ease;
}

.orbit-node-in.is-late {
  animation-delay: -2s;
}

.orbit-node-in.is-later {
  animation-delay: -4s;
}

.orbit-node:hover .orbit-node-in {
  background: var(--text);
}

.orbit-node svg {
  width: 44%;
  height: auto;
}

@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}

.orbit-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
  margin-top: 46px;
}

.orbit-stats li {
  padding-top: 12px;
  border-top: 2px solid var(--text);
}

.orbit-stats b {
  display: block;
  color: var(--accent);
  font-family: var(--num);
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.orbit-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.orbit-intro {
  max-width: 40em;
  margin: 44px auto 0;
  text-align: center;
}

.orbit-intro .hero-intro {
  max-width: none;
  margin-top: 0;
  text-wrap: balance;
}

.orbit-intro .hero-actions {
  justify-content: center;
}

@media (min-width: 860px) {
  .orbit {
    aspect-ratio: 1000 / 460;
  }

  .ring-light {
    rx: 4.5px;
    ry: 4.5px;
  }

  .orbit-title {
    font-size: clamp(2.5rem, 5.1vw, 4.4rem);
  }

  .orbit-stats {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
  }

  .orbit-stats li {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: max-content;
    padding: 0;
    border: 0;
  }

  .orbit-stats li.is-end {
    translate: -100% 0;
    text-align: right;
  }

  .orbit-stats b {
    font-size: clamp(2.6rem, 4.4vw, 3.75rem);
  }

  .orbit-stats span {
    font-size: 15px;
  }
}

/* 图片占位：浅灰色块，等真实图片 */
.ph {
  display: grid;
  place-items: center;
  background: #e6e4e1;
  border-radius: 4px;
  color: #5e574f;
  font-size: 14px;
}

.ph-shot {
  height: 120px;
  margin-top: 16px;
}

.ph-portrait {
  aspect-ratio: 4 / 5;
  width: min(100%, 300px);
  margin-top: 24px;
}

.ph-wide {
  aspect-ratio: 3 / 1;
  margin-top: 28px;
}

/* 结果单 */
.ticket {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--panel);
  border-radius: 4px;
}

.ticket-who {
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--soft);
  font-size: 16px;
  font-weight: 700;
}

/* 撕票口：虚线两端的半圆缺口 */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 58px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
}

.ticket::before {
  left: -9px;
}

.ticket::after {
  right: -9px;
}

.ticket-num {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-top: 20px;
  color: var(--accent);
  font-family: var(--num);
  font-size: clamp(4rem, 13vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.ticket-num small {
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.ticket-how {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.tickets {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 720px) {
  .tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.small-print {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* 你现在卡在哪 */
.stuck {
  margin-top: 36px;
  border-top: 2px solid var(--text);
}

.stuck-row {
  display: grid;
  gap: 10px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.22s ease, background-color 0.22s ease;
}

.stuck-q {
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.stuck-a {
  color: var(--muted);
  line-height: 1.65;
}

.stuck-a b {
  display: block;
  color: var(--accent);
  font-weight: 700;
}

.stuck-go {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

@media (min-width: 860px) {
  .stuck-row {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 40px;
    align-items: center;
    gap: 32px;
    padding: 34px 8px;
  }

  .stuck-row:hover {
    padding-left: 22px;
    background: var(--panel);
  }

  .stuck-go {
    justify-self: end;
  }
}

/* 数字 */
.stats {
  display: grid;
  gap: 22px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px solid var(--text);
}

.stat-num {
  font-family: var(--num);
  font-size: clamp(3.25rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
}

.stat-num small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* 关于我 */
.about {
  display: grid;
  gap: 28px;
}

.about-name {
  font-size: clamp(3rem, 11vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-body p + p {
  margin-top: 14px;
}

.principle {
  margin-top: 30px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--soft);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
}

.principle-tag {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
}

/* 三栏：团队、合作方式、资源 */
.trio {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.trio > * {
  padding-top: 18px;
  border-top: 2px solid var(--text);
}

.trio h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.trio p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 860px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
}

.partners {
  margin-top: 36px;
  font-size: 16px;
}

.partners b {
  font-weight: 700;
}

/* 三种合作方式 */
.role {
  color: var(--text);
  font-weight: 700;
}

.deals {
  margin-top: 36px;
  border-top: 2px solid var(--text);
}

.deal {
  display: grid;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.deal h3 {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
}

.deal-sub {
  color: var(--muted);
  font-size: 15px;
}

.deal-role {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

@media (min-width: 860px) {
  .deal {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 48px;
    padding: 36px 0;
  }
}

/* 五步 */
.steps {
  counter-reset: step;
  display: grid;
  margin-top: 36px;
  border-top: 2px solid var(--text);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  color: var(--accent);
  font-family: var(--num);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.steps h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}

.steps p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    padding-top: 22px;
    border-bottom: 1px solid var(--line);
  }

  .steps li {
    display: block;
    padding: 0 0 26px;
    border-bottom: 0;
  }

  .steps li::before {
    display: block;
    margin-bottom: 8px;
    font-size: 44px;
  }
}

/* 海陆空 */
.triad {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.triad-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border-radius: 4px;
}

.triad-item .triad-word {
  color: var(--accent);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.triad-item h3 {
  font-size: 18px;
  font-weight: 800;
}

.triad-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 860px) {
  .triad {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* GEO：问 AI 的示意 */
.chat {
  padding: 24px;
  background: var(--panel);
  border-radius: 4px;
}

.chat-q {
  width: fit-content;
  margin-left: auto;
  padding: 10px 16px;
  background: var(--text);
  border-radius: 16px 16px 2px 16px;
  color: var(--white);
  font-weight: 600;
}

.chat-a {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 16px 16px 16px 2px;
  line-height: 2;
}

.chat-a mark {
  padding: 2px 8px;
  background: var(--accent);
  border-radius: 3px;
  color: var(--white);
  font-weight: 700;
}

.chat figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* 过去和现在 */
.compare {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.compare > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.compare .is-now {
  background: var(--panel);
  border-color: var(--panel);
}

.compare h3 {
  font-size: 19px;
  font-weight: 800;
}

.compare p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.compare .is-now p {
  color: var(--text);
}

@media (min-width: 720px) {
  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 24px;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
}

.names li:last-child {
  color: var(--muted);
  font-weight: 500;
}

/* 联系 */
.contact {
  background: var(--accent);
  color: var(--white);
}

.contact :focus-visible {
  outline-color: var(--white);
}

.contact h2 {
  font-size: clamp(2.5rem, 9vw, 5.5rem);
}

.contact-lead {
  max-width: 28em;
  margin-top: 14px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.contact-phone {
  display: block;
  width: fit-content;
  margin-top: 30px;
  font-family: var(--num);
  font-size: clamp(3rem, 13vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.contact-note {
  margin-top: 6px;
  font-size: 15px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact .btn {
  border-color: var(--white);
  color: var(--white);
}

.contact .btn-solid {
  background: var(--white);
  color: var(--accent);
}

.contact .btn:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

.contact-price {
  max-width: 34em;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 45%);
}

/* 页脚 */
.site-footer {
  padding-block: 30px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
}

.site-footer a {
  text-underline-offset: 3px;
}

/* 手机底部常驻操作条 */
.action-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.action-bar .btn {
  min-height: 50px;
  padding: 0 10px;
}

@media (min-width: 720px) {
  .action-bar {
    display: none;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar) + 18px + env(safe-area-inset-bottom));
  z-index: 25;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  background: var(--text);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 720px) {
  .toast {
    bottom: 28px;
  }
}

/* 进场：文字依次上来，结果单落下，最后盖章 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.rise {
  animation: rise 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
