/* 全站花式动效（尊重系统「减少动态效果」）
 * 进场动画避免从 opacity:0 起步，否则切页会出现短暂闪黑 */

html {
  background-color: #0b0f17;
  color-scheme: dark;
  /* 预留滚动条槽，避免内容出现后主栏突然变窄（观感像「猛缩」） */
  scrollbar-gutter: stable;
}

html, body {
  background-color: #0b0f17 !important;
  background-image: none !important;
}

/* 氛围底
 * 电脑：低存在感整页垫底（模糊 + 压暗），不走顶栏大图
 * 手机：site-atmosphere.js 注入顶栏取景（见 site-mobile.css）
 * 不要 isolation:isolate —— 会把 fixed 侧栏困住 */
.wrapper,
.page {
  background-color: #0b0f17 !important;
  background-image: none !important;
  background-attachment: scroll !important;
  position: relative;
}

/* 电脑端：清晰底图 + 压暗（低存在感，参考修改前） */
.wrapper::before,
.page::before {
  content: '' !important;
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url('氛围_有绳.jpg') center 32% / cover no-repeat;
  /* 几乎不糊，只略压一点锐度；亮度留给叠层控制 */
  filter: saturate(0.92) brightness(0.88);
  opacity: 1;
  transform: none;
}

.wrapper::after,
.page::after {
  content: '' !important;
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(11, 15, 23, 0.88) 0%,
      rgba(11, 15, 23, 0.58) 42%,
      rgba(11, 15, 23, 0.72) 72%,
      rgba(11, 15, 23, 0.86) 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 15, 23, 0.45) 0%,
      transparent 16%,
      transparent 78%,
      rgba(11, 15, 23, 0.28) 100%
    );
}

/* 电脑端关掉清晰顶栏氛围；手机再打开 */
.site-atmosphere {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: min(calc(100vw * 1097 / 1920), 72vh, 640px);
  overflow: hidden;
}

.site-atmosphere-photo {
  position: absolute;
  left: 0;
  width: 100%;
  top: -16%;
  height: 132%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.7) 84%,
    rgba(0, 0, 0, 0.25) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.7) 84%,
    rgba(0, 0, 0, 0.25) 94%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.site-atmosphere-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 15, 23, 0.08) 0%,
      rgba(11, 15, 23, 0.12) 55%,
      rgba(11, 15, 23, 0.35) 72%,
      rgba(11, 15, 23, 0.75) 88%,
      #0b0f17 96%,
      #0b0f17 100%
    ),
    linear-gradient(
      90deg,
      rgba(11, 15, 23, 0.3) 0%,
      transparent 14%,
      transparent 86%,
      rgba(11, 15, 23, 0.3) 100%
    );
}

/* 抬过固定氛围层；侧栏保持 sticky，勿改成 relative（否则目录不跟滚） */
.wrapper > aside,
.page > aside {
  position: sticky;
  top: 0;
  z-index: 10;
  align-self: flex-start;
}
.wrapper > main,
.page > .shell {
  position: relative;
  z-index: 1;
}

/* —— 跨页 View Transition ——
 * 资料：
 * - Chrome：https://developer.chrome.com/docs/web-platform/view-transitions/cross-document
 * - Thomas Sweet（DEV, 2025）：自定义动画勿留 plus-lighter；更自然的是新页已在底下、旧层淡出
 * 不做强模糊/放大退场（容易透出底色，观感像「闪黑」） */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition {
    background-color: #0b0f17;
  }

  /* 覆盖浏览器默认 plus-lighter，避免叠层发亮/发闷 */
  ::view-transition-image-pair(root) {
    isolation: auto;
  }

  /* 新页立刻完整呈现；旧页快照盖在上面淡出（稍放慢、更顺的缓动） */
  ::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
  }

  ::view-transition-old(root) {
    z-index: 1;
    animation: site-vt-veil 0.4s cubic-bezier(0.33, 1, 0.68, 1) both;
    mix-blend-mode: normal;
  }
}

@keyframes site-vt-veil {
  to { opacity: 0; }
}

/* VT 被跳过时的兜底：只极轻抬亮，绝不从近 0 起（否则透出 html 底色=闪黑） */
@media (prefers-reduced-motion: no-preference) {
  html.is-soft-enter body {
    opacity: 0.92;
  }
  html.is-soft-enter.is-soft-enter-play body {
    opacity: 1;
    transition: opacity 0.28s cubic-bezier(0.33, 1, 0.68, 1);
  }
}

/* 离场快照减负：价目表/约稿须知例图与大段政策板很多，整页光栅化会卡顿 */
html.is-vt-outgoing .plan-samples,
html.is-vt-outgoing .sample-still,
html.is-vt-outgoing .sample-slot img,
html.is-vt-outgoing .sample-slot canvas,
html.is-vt-outgoing .work-cover img,
html.is-vt-outgoing .portfolio-grid,
html.is-vt-outgoing .pricing-grid .plan:nth-child(n+4),
html.is-vt-outgoing .policy-board,
html.is-vt-outgoing .addon-row,
html.is-vt-outgoing .revise-block,
html.is-vt-outgoing .revise-aside,
html.is-vt-outgoing .flow-tier,
html.is-vt-outgoing .section-grid .panel:nth-child(n+3) {
  visibility: hidden !important;
}

/* file:// / 不支持 VT：离场过渡（过滑翻页会加方向 class） */
body.is-page-leaving {
  opacity: 0.92;
  transition: opacity 0.16s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
body.is-page-leaving-next {
  opacity: 0.55;
  transform: translate3d(0, -22px, 0);
}
body.is-page-leaving-prev {
  opacity: 0.55;
  transform: translate3d(0, 22px, 0);
}

/* 过滑中整页轻跟手 */
html.is-pull-nav .wrapper,
html.is-pull-nav .page {
  transform: translate3d(0, var(--site-pull-y, 0px), 0);
  transition: transform 0.05s linear;
  will-change: transform;
}

/* 难加载板块（仅 data-reveal-ready）：只做透明度，不用位移，避免整块「抽一下」 */
@media (prefers-reduced-motion: no-preference) {
  .is-pending-reveal:not(.is-ready) {
    opacity: 0;
    pointer-events: none;
  }

  .is-pending-reveal.is-ready {
    opacity: 1;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-pending-reveal {
    opacity: 1 !important;
  }
}

@keyframes title-blast {
  /* 可见淡入 + 上移；起点勿用 opacity:0，VT 新快照/入场中途会透底闪黑 */
  0% {
    opacity: 0.88;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes title-underline {
  from { transform: scaleX(0.2); opacity: 0.45; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes pop-in {
  from { opacity: 0.88; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes soft-rise {
  from { opacity: 0.88; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes meta-glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(201, 169, 110, 0);
    border-color: rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow: 0 0 22px rgba(201, 169, 110, 0.35);
    border-color: rgba(201, 169, 110, 0.55);
  }
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 24px 2px rgba(201, 169, 110, 0.45);
    transform: scale(1.045);
  }
}

@keyframes shimmer-sweep {
  0% { transform: translateX(-140%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}

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

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes nav-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(201, 169, 110, 0); }
}

@keyframes wordmark-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(201, 169, 110, 0.45));
  }
}

/* —— 打开性能（有取舍）——
 * 资料：
 * - MDN / web.dev：content-visibility 必须配准 contain-intrinsic-size，估错会 CLS、抽动
 * - WebKit：backdrop-filter 多实例会增加绘制通道
 * 因此：不用 content-visibility（卡片高度不一，估错会黑底+抽一下）
 * 背景保持各页自己的 background-attachment:fixed + cover（改成 scroll 会按整页高度放大，像背景「变大/消失」） */

/* 卡片去掉重 blur，但不要强行铺不透明黑底（会露出「每张卡下面一块黑」） */
.plan,
.work-card,
.hint-card,
.panel,
.rush-panel,
.flow-step,
.channel,
.status-card,
.page-notice,
.revise-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 侧栏只留一层轻模糊 */
aside,
#sidebar {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  background-color: rgba(11, 15, 23, 0.72) !important;
}

/* 首帧 paint-gate：页头略压暗再入场（勿 opacity:0——跨页 VT 新快照会变成一片底色闪黑）
 * 卡片/面板首帧直接到位，不做整页弹入（web.dev CLS：别在首屏改尺寸/重排） */
html:not(.is-motion-ready) .top-meta,
html:not(.is-motion-ready) .page-title,
html:not(.is-motion-ready) .intro,
html:not(.is-motion-ready) .path-tip,
html:not(.is-motion-ready) .filters,
html:not(.is-motion-ready) .result-meta,
html:not(.is-motion-ready) .toc,
html:not(.is-motion-ready) .footer-note,
html:not(.is-motion-ready) .cta-row {
  opacity: 0.9;
  animation: none !important;
}

html:not(.is-motion-ready) .page-title {
  transform: translate3d(0, 10px, 0);
}

html:not(.is-motion-ready) .page-title::after {
  transform: scaleX(0.2);
  animation: none !important;
}

html:not(.is-motion-ready) .page-title::before,
html:not(.is-motion-ready) .price-badge,
html:not(.is-motion-ready) .filter-btn[aria-pressed="true"],
html:not(.is-motion-ready) .vert-nav a[aria-current="page"] span,
html:not(.is-motion-ready) .meta-chip {
  animation: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  html.is-motion-ready .top-meta {
    animation: soft-rise 0.55s ease both;
  }

  html.is-motion-ready .page-title {
    animation: title-blast 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  html.is-motion-ready .page-title::after {
    animation: title-underline 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
  }

  html.is-motion-ready .page-title::before {
    animation: sparkle-twinkle 2.4s ease-in-out 0.5s infinite;
  }

  html.is-motion-ready .intro,
  html.is-motion-ready .path-tip,
  html.is-motion-ready .filters,
  html.is-motion-ready .result-meta,
  html.is-motion-ready .toc,
  html.is-motion-ready .footer-note,
  html.is-motion-ready .cta-row {
    animation: soft-rise 0.55s ease both;
  }

  html.is-motion-ready .intro { animation-delay: 0.06s; }
  html.is-motion-ready .path-tip { animation-delay: 0.1s; }
  html.is-motion-ready .filters,
  html.is-motion-ready .toc { animation-delay: 0.12s; }
  html.is-motion-ready .result-meta { animation-delay: 0.14s; }
  html.is-motion-ready .footer-note { animation-delay: 0.22s; }
  html.is-motion-ready .cta-row { animation-delay: 0.16s; }
}

@media (prefers-reduced-motion: reduce) {
  .top-meta,
  .page-title,
  .intro,
  .path-tip,
  .filters,
  .result-meta,
  .toc,
  .footer-note,
  .cta-row {
    opacity: 1 !important;
    transform: none !important;
  }
}

.page-title {
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, #c9a96e), transparent);
  transform-origin: left center;
}

.page-title::before {
  content: '';
  position: absolute;
  top: -0.35em;
  right: -0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #c9a96e);
  box-shadow:
    -1.2em 0.8em 0 -1px rgba(201, 169, 110, 0.7),
    -0.4em 1.4em 0 -2px rgba(216, 196, 154, 0.5),
    0.5em -0.2em 0 -1.5px rgba(255, 255, 255, 0.45);
}

/* —— 卡片：悬停用 transform；入场见 is-motion-ready —— */
.hint-card,
.plan,
.panel,
.rush-panel,
.flow-step,
.channel,
.status-card {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    background 0.45s ease;
}

/* 作品集卡片：页面内自管入场 */
.work-card {
  animation: none;
}

.channel {
  animation-delay: var(--rise-delay, 0.26s);
}

/* —— 悬停：只上移 + 阴影（不用 scale/rotateX，才能彻底不糊） —— */
.plan:hover,
.work-card:hover,
.channel:hover,
.panel:hover,
.rush-panel:hover,
.status-card:hover,
.hint-card:hover,
.flow-step:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  border-color: rgba(201, 169, 110, 0.35);
}

.flow-step:hover {
  border-color: rgba(201, 169, 110, 0.45);
}

.price-badge {
  animation: none;
}
html.is-motion-ready .price-badge {
  animation: badge-pulse 2.6s ease-in-out 0.6s infinite;
}

.filter-btn,
.toc a,
.meta-chip {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.filter-btn:hover,
.toc a:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(201, 169, 110, 0.28);
}

.filter-btn[aria-pressed="true"] {
  animation: none;
}
html.is-motion-ready .filter-btn[aria-pressed="true"] {
  animation: meta-glow 2.2s ease-in-out infinite;
}

/* CTA 悬停弹跳（不改原底色，用伪元素流光） */
.plan-cta,
.cta-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.plan-cta::before,
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(201, 169, 110, 0.45) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(201, 169, 110, 0.35) 55%,
    transparent 80%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 1;
}

.plan-cta:hover::before,
.cta-primary:hover::before {
  animation: shimmer-sweep 0.75s ease;
}

.plan-cta,
.cta-primary,
.cta-ghost,
.ghost-btn,
.copy-btn {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s, background 0.25s, border-color 0.25s, color 0.25s;
}

.plan-cta:hover,
.cta-primary:hover,
.cta-ghost:hover,
.ghost-btn:hover,
.copy-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(201, 169, 110, 0.35);
}

.vert-nav {
  gap: 1.5rem;
}

.vert-nav a {
  font-size: 0.92rem;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), font-weight 0.3s, text-shadow 0.3s;
}

.vert-nav a span {
  font-size: 0.75rem;
}

.vert-nav a:hover,
.vert-nav a[aria-current="page"] {
  text-shadow: 0 0 20px rgba(201, 169, 110, 0.45);
}

.vert-nav a[aria-current="page"] span {
  color: var(--accent, #c9a96e);
  border-radius: 50%;
}
html.is-motion-ready .vert-nav a[aria-current="page"] span {
  animation: nav-dot-pulse 2s ease-in-out infinite;
}

.logo {
  transition: color 0.3s, text-shadow 0.35s, letter-spacing 0.35s;
}

.logo:hover {
  color: var(--accent-soft, #d8c49a);
  text-shadow: 0 0 24px rgba(201, 169, 110, 0.55);
  letter-spacing: 3.5px;
}

html.is-motion-ready .wordmark {
  /* 首页揭示动画由页面 CSS 接管；此处不再叠 wordmark-glow 抢首帧 */
  animation: none;
}

/* —— 高级感回顶：上滑显现 + 阅读进度环 —— */
.site-backtop {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.86);
  filter: blur(2px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}
.site-backtop.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
.site-backtop__btn {
  position: relative;
  width: 3.15rem;
  height: 3.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #f3e6c4;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(11, 15, 23, 0.72);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(201, 169, 110, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, color 0.25s;
}
.site-backtop__btn:hover {
  color: #fff6df;
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(201, 169, 110, 0.22),
    inset 0 0 0 1px rgba(201, 169, 110, 0.5);
}
.site-backtop__btn:active {
  transform: translateY(-1px) scale(0.97);
}
.site-backtop__btn:focus-visible {
  outline: 2px solid rgba(201, 169, 110, 0.85);
  outline-offset: 3px;
}
.site-backtop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.site-backtop__track,
.site-backtop__progress {
  fill: none;
  stroke-width: 2.2;
}
.site-backtop__track {
  stroke: rgba(255, 255, 255, 0.12);
}
.site-backtop__progress {
  stroke: #c9a96e;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.site-backtop__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .site-backtop {
    transition: opacity 0.2s ease;
    filter: none;
    transform: none;
  }
  .site-backtop.is-visible { transform: none; }
  .site-backtop__btn,
  .site-backtop__btn:hover,
  .site-backtop__btn:active {
    transition: none;
    transform: none;
  }
}

/* —— 右下角合一浮控：上页 / 回顶进度环 / 下页（仅手机） —— */
@media (min-width: 821px) {
  .site-corner-nav,
  .site-pull-hint {
    display: none !important;
  }
}
.site-corner-nav {
  position: fixed;
  right: max(1.05rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 61;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.34rem;
  border-radius: 999px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    rgba(14, 12, 10, 0.78);
  border: 1px solid rgba(235, 233, 219, 0.14);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  -webkit-tap-highlight-color: transparent;
}
.site-corner-nav button {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}
.site-corner-nav button:focus {
  outline: none;
}
body.is-nav-open .site-corner-nav,
body.is-page-leaving .site-corner-nav {
  opacity: 0.28;
  pointer-events: none;
}
.site-corner-nav__btn {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #ebe9db;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease;
}
.site-corner-nav__btn:hover:not(:disabled) {
  color: #fff8ea;
  background: rgba(201, 169, 110, 0.18);
  transform: scale(1.07);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.35);
}
.site-corner-nav__btn:active:not(:disabled) {
  transform: scale(0.96);
}
.site-corner-nav__btn:focus-visible,
.site-corner-nav__hub:focus-visible {
  outline: 2px solid rgba(201, 169, 110, 0.85);
  outline-offset: 2px;
}
.site-corner-nav__btn:disabled {
  opacity: 0.26;
  cursor: not-allowed;
  color: rgba(235, 233, 219, 0.4);
}
.site-corner-nav__glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.site-corner-nav__btn:hover:not(:disabled) .site-corner-nav__glow {
  opacity: 1;
}

.site-corner-nav__hub {
  position: relative;
  width: 3rem;
  height: 3rem;
  margin: 0.08rem 0;
  border: 0;
  border-radius: 50%;
  cursor: default;
  color: #ebe9db;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(11, 15, 23, 0.55);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.22);
  display: grid;
  place-items: center;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background 0.3s ease,
    cursor 0.2s ease;
}
.site-corner-nav.is-can-top .site-corner-nav__hub {
  cursor: pointer;
}
.site-corner-nav.is-can-top .site-corner-nav__hub:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(201, 169, 110, 0.48),
    0 10px 24px rgba(0, 0, 0, 0.28);
  color: #fff6df;
}
.site-corner-nav.is-can-top .site-corner-nav__hub:active {
  transform: scale(0.92);
}
.site-corner-nav__hub.is-click {
  animation: site-corner-hub-pop 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes site-corner-hub-pop {
  0% {
    transform: scale(1);
    box-shadow:
      inset 0 0 0 1px rgba(201, 169, 110, 0.22),
      0 0 0 0 rgba(201, 169, 110, 0);
  }
  35% {
    transform: scale(0.88);
    box-shadow:
      inset 0 0 0 1px rgba(201, 169, 110, 0.55),
      0 0 0 6px rgba(201, 169, 110, 0.18);
    color: #fff8ea;
  }
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 0 0 1px rgba(201, 169, 110, 0.22),
      0 0 0 0 rgba(201, 169, 110, 0);
  }
}
.site-corner-nav__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}
.site-corner-nav__track {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2.1;
}
.site-corner-nav__progress {
  stroke: #c9a96e;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.site-corner-nav__hub-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-corner-nav__hub-page {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05rem;
  opacity: 1;
  transform: scale(1);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  user-select: none;
}
.site-corner-nav__hub-top {
  opacity: 0;
  transform: scale(0.82);
  pointer-events: none;
}
.site-corner-nav.is-can-top .site-corner-nav__hub-page {
  opacity: 0;
  transform: scale(0.82);
  pointer-events: none;
}
.site-corner-nav.is-can-top .site-corner-nav__hub-top {
  opacity: 1;
  transform: scale(1);
}
.site-corner-nav__no {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ebe9db;
}
.site-corner-nav__slash {
  font-size: 0.55rem;
  color: rgba(235, 233, 219, 0.35);
}
.site-corner-nav__of {
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(235, 233, 219, 0.42);
}

@media (max-width: 820px) {
  .site-corner-nav {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    padding: 0.28rem;
    gap: 0.16rem;
  }
  .site-corner-nav__btn {
    width: 2.35rem;
    height: 2.35rem;
  }
  .site-corner-nav__hub {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-corner-nav__btn,
  .site-corner-nav__hub,
  .site-corner-nav__hub-face,
  .site-corner-nav__glow {
    transition: none;
  }
  .site-corner-nav__hub.is-click {
    animation: none;
  }
}

/* legacy pageflip 隐藏（已合并） */
.site-pageflip { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .top-meta,
  .page-title,
  .page-title::before,
  .page-title::after,
  .intro,
  .path-tip,
  .filters,
  .result-meta,
  .toc,
  .footer-note,
  .cta-row,
  .hint-card,
  .pricing-grid .plan,
  .rush-panel,
  .section-grid .panel,
  .flow-step,
  .work-card,
  .channel,
  .status-card,
  .price-badge,
  .filter-btn[aria-pressed="true"],
  .wordmark,
  .vert-nav a[aria-current="page"] span {
    animation: none !important;
  }

  .plan-cta::before,
  .cta-primary::before {
    display: none !important;
  }

  .plan:hover,
  .work-card:hover,
  .channel:hover,
  .panel:hover,
  .rush-panel:hover,
  .status-card:hover,
  .hint-card:hover,
  .flow-step:hover,
  .filter-btn:hover,
  .toc a:hover,
  .plan-cta:hover,
  .cta-primary:hover,
  .cta-ghost:hover,
  .ghost-btn:hover,
  .copy-btn:hover,
  .logo:hover {
    transform: none !important;
  }
}

/* 过滑翻页：环形进度 + 箭头（site-pull-nav.js） */
.site-pull-hint {
  --pull: 0;
  position: fixed;
  left: 50%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px) scale(0.92);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-pull-hint.is-next {
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  top: auto;
}
.site-pull-hint.is-prev {
  top: max(1.35rem, env(safe-area-inset-top, 0px));
  bottom: auto;
  transform: translateX(-50%) translateY(-16px) scale(0.92);
}
.site-pull-hint.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.site-pull-gauge {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}
.site-pull-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.site-pull-ring-track {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 3;
}
.site-pull-ring-prog {
  stroke: #d8c49a;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke 0.15s ease;
}
.site-pull-hint.is-ready .site-pull-ring-prog {
  stroke: #ebe9db;
}
.site-pull-arrow {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ebe9db;
  background: rgba(22, 20, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: rotate(var(--arrow-rot, 0deg)) scale(var(--arrow-scale, 1));
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.site-pull-hint.is-ready .site-pull-arrow {
  background: rgba(201, 169, 110, 0.28);
  border-color: rgba(235, 233, 219, 0.4);
  box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.12);
  animation: site-pull-glow 1s ease-in-out infinite;
}
@keyframes site-pull-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1); }
  50% { box-shadow: 0 0 0 9px rgba(201, 169, 110, 0.2); }
}
.site-pull-caption {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 20, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-pull-hint-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(242, 240, 236, 0.82);
  white-space: nowrap;
}
.site-pull-hint.is-ready .site-pull-hint-label {
  color: #ebe9db;
}

@keyframes site-pull-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1); }
  50% { box-shadow: 0 0 0 9px rgba(201, 169, 110, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .site-pull-hint,
  .site-pull-arrow,
  html.is-pull-nav .wrapper,
  html.is-pull-nav .page,
  body.is-page-leaving,
  body.is-page-leaving-next,
  body.is-page-leaving-prev {
    transition: none !important;
    animation: none !important;
  }
  body.is-page-leaving-next,
  body.is-page-leaving-prev {
    transform: none;
    opacity: 0.85;
  }
}
