/* =========================================================
   Luxury Watch Feed — 1:1 抖音式全屏刷视频
   ========================================================= */
:root {
  --red: #fe2c55;
  --dy-bg: #161823;
  --gold-1: #fff3d6;
  --gold-2: #f1cf86;
  --gold-3: #b98a3e;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --cur-accent: #c9a25a;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', 'Segoe UI', Roboto,
    'Noto Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: var(--font);
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input,
textarea {
  font: inherit;
}
svg {
  display: block;
}
img {
  -webkit-user-drag: none;
  user-select: none;
}

/* ---------- 舞台 / 容器 ---------- */
.stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #000;
}
.app {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint;
}
.desk-side {
  display: none;
}

/* ---------- 视频流 ---------- */
.feed {
  position: absolute;
  inset: 0;
  touch-action: none;
  transition: opacity 0.16s ease;
}
.feed.jump {
  opacity: 0;
}
.v-track {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.v-slide {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--v) * 100%), 0, 0);
  overflow: hidden;
}
.h-track {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.panel {
  position: absolute;
  inset: 0;
  transform: translate3d(0, calc(var(--h) * 100%), 0);
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 30%, var(--c2) 0%, var(--c1) 60%, #000 100%);
}
.media {
  position: absolute;
  inset: 0;
}
.backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.backdrop .wm {
  width: 46%;
  max-width: 220px;
  opacity: 0.22;
  filter: grayscale(0.2) drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
  animation: wm-breathe 2.4s ease-in-out infinite;
}
@keyframes wm-breathe {
  50% {
    opacity: 0.34;
    transform: scale(1.03);
  }
}
.vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.panel.ready .vid {
  opacity: 1;
}
.shade {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.shade-t {
  top: 0;
  height: 140px;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}
.shade-b {
  bottom: 0;
  height: 46%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.62));
}
.panel.expanded .shade-b {
  height: 75%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.85));
}

/* 暂停图标 */
.play-ind {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: scale(1.6);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}
.panel.paused .play-ind {
  opacity: 1;
  transform: scale(1);
}
.err-ind {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 40px);
  font-size: 13px;
  color: var(--text-3);
  display: none;
}
.panel.error .err-ind {
  display: block;
}

/* 抖音式缓冲线 */
.loading-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--safe-b);
  height: 2px;
  pointer-events: none;
  opacity: 0;
}
.panel.buffering .loading-bar {
  opacity: 1;
}
.loading-bar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) scaleX(0);
  animation: load-line 0.9s ease-in infinite;
}
@keyframes load-line {
  0% {
    transform: translateX(-50%) scaleX(0);
    opacity: 1;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0;
  }
}

/* ---------- 顶部标签 ---------- */
.topbar {
  position: absolute;
  z-index: 10;
  top: calc(var(--safe-t) + 6px);
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  transition: opacity 0.2s;
}
.topbar > * {
  pointer-events: auto;
}
.top-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.top-icon svg {
  width: 24px;
  height: 24px;
}
.top-icon.muted {
  animation: nudge 2.6s ease-in-out 1.5s 3;
}
@keyframes nudge {
  0%,
  100% {
    transform: none;
  }
  10% {
    transform: rotate(-12deg) scale(1.1);
  }
  20% {
    transform: rotate(10deg) scale(1.1);
  }
  30% {
    transform: none;
  }
}
.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: calc(100% - 90px);
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  position: relative;
  flex: none;
  height: 36px;
  padding: 0 9px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.tab.on {
  color: #fff;
  font-weight: 600;
  transform: scale(1.06);
}
.tab::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 20px;
  height: 2.5px;
  margin-left: -10px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.tab.on::after {
  transform: scaleX(1);
}

/* ---------- 右侧操作栏 ---------- */
.side {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: calc(var(--safe-b) + 34px);
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sb-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  overflow: visible;
  cursor: pointer;
}
.sb-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  padding: 7px;
}
.sb-follow {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.3s, opacity 0.3s;
}
.sb-follow span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 0.4s, opacity 0.3s;
}
.sb-follow svg {
  width: 12px;
  height: 12px;
}
.sb-follow .f-check {
  opacity: 0;
  transform: rotate(-90deg);
  color: var(--red);
}
.sb-follow.done {
  background: #fff;
  transform: rotate(360deg);
}
.sb-follow.done .f-plus {
  opacity: 0;
}
.sb-follow.done .f-check {
  opacity: 1;
  transform: none;
}
.sb-follow.gone {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.sb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.sb-ic {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}
.sb-ic svg {
  width: 38px;
  height: 38px;
}
.sb-num {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-like.on .sb-ic {
  color: var(--red);
}
.sb-like.pop .sb-ic svg {
  animation: like-pop 0.45s cubic-bezier(0.3, 1.8, 0.5, 1);
}
@keyframes like-pop {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
.sb-like.pop .sb-ic::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: like-ring 0.5s ease-out forwards;
}
@keyframes like-ring {
  from {
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}
.sb-comment .sb-ic svg {
  width: 36px;
  height: 36px;
}
.sb-consult .sb-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 243, 214, 0.28), rgba(0, 0, 0, 0.25) 70%);
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.55) inset;
}
.sb-consult .sb-ic svg {
  width: 30px;
  height: 30px;
}
.sb-consult .sb-ic::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(241, 207, 134, 0.85);
  animation: consult-pulse 2.2s ease-out infinite;
}
@keyframes consult-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.38);
    opacity: 0;
  }
}
.sb-consult .sb-num {
  font-weight: 600;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}
.sb-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--red);
  border: 1.5px solid #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  color: #fff;
}
.sb-disc {
  position: relative;
  width: 48px;
  height: 48px;
  margin-top: 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, #1c1c1c, #3a3a3a, #1c1c1c, #3a3a3a, #1c1c1c);
  box-shadow: 0 0 0 7px rgba(25, 25, 25, 0.85) inset;
  animation: spin 6s linear infinite;
  cursor: pointer;
}
.panel.paused .sb-disc,
.panel:not(.ready) .sb-disc {
  animation-play-state: paused;
}
.sb-disc img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 左下文案（图文介绍） ---------- */
.caption {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 84px;
  bottom: calc(var(--safe-b) + 26px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.cap-anchor {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 28px;
  padding: 0 6px 0 4px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: rgba(30, 30, 30, 0.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 0.5px rgba(241, 207, 134, 0.45) inset;
  font-size: 12.5px;
  gap: 5px;
  text-shadow: none;
  overflow: hidden;
}
.ca-ic {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 50%, var(--gold-3));
  color: #4a3410;
}
.ca-ic img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.ca-model {
  flex: 0 1 auto;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 74%;
}
.ca-sep {
  flex: none;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.3);
}
.ca-hot {
  flex: 0 100 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--gold-2);
  white-space: nowrap;
  overflow: hidden;
}
.ca-hot > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ca-hot svg {
  width: 13px;
  height: 13px;
  margin-right: 2px;
  color: #ff8a3d;
}
.ca-hot b {
  font-weight: 600;
}
.ca-go {
  flex: none;
  color: rgba(255, 255, 255, 0.6);
}
.ca-go svg {
  width: 13px;
  height: 13px;
}
.cap-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cn-at {
  cursor: pointer;
}
.cn-time {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
}
.cap-body {
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.panel.expanded .cap-body {
  max-height: 46vh;
  overflow-y: auto;
  touch-action: pan-y;
  scrollbar-width: none;
}
.cap-text {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.panel.expanded .cap-text {
  -webkit-line-clamp: unset;
  display: block;
}
.cap-tags {
  font-weight: 600;
}
.cap-specs {
  margin: 12px 0 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}
.panel.expanded .cap-specs {
  opacity: 1;
}
.spec {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12) inset;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  min-width: 0;
}
.spec dt {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 2px;
}
.spec dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.cap-more {
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 2px;
  color: #fff;
}
.cap-more .m-less,
.panel.expanded .cap-more .m-more {
  display: none;
}
.panel.expanded .cap-more .m-less {
  display: inline;
}
.cap-music {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13.5px;
  max-width: 220px;
}
.cap-music svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent);
}
.mq-inner {
  display: inline-flex;
  gap: 40px;
  padding-left: 8px;
  animation: marquee 9s linear infinite;
}
.panel.paused .mq-inner {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 20px));
  }
}

/* ---------- 进度条 ---------- */
.progress {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: var(--safe-b);
  height: 18px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  touch-action: none;
}
.pg-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  transition: height 0.15s;
}
.pg-fill {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.pg-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.pg-time {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.panel.scrubbing .pg-track {
  height: 4px;
}
.panel.scrubbing .pg-dot,
.panel.scrubbing .pg-time,
.panel.paused .pg-dot {
  opacity: 1;
}
.panel.scrubbing .side,
.panel.scrubbing .caption {
  opacity: 0;
}
.panel:not(.ready) .progress {
  visibility: hidden;
}

/* 横向位置指示 */
.pager {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(var(--safe-b) + 8px);
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  pointer-events: none;
}
.pager i {
  width: 5px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.25s, background 0.25s;
}
.pager i.on {
  width: 14px;
  background: #fff;
}

/* 拖动时隐藏部分元素更沉浸 */
.app.dragging .live-toast {
  opacity: 0 !important;
}

/* ---------- 投票贴纸 ---------- */
.poll {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 34%;
  width: min(210px, 56%);
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #161823;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: rotate(-3deg) scale(0.6);
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.3s;
}
.panel.show-poll .poll {
  transform: rotate(-3deg) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.panel.expanded .poll,
.panel.scrubbing .poll {
  opacity: 0;
  pointer-events: none;
}
.poll-q {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.poll-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.poll-opt {
  position: relative;
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  background: #f1f1f4;
  color: #161823;
}
.poll-opt:active {
  transform: scale(0.97);
}
.po-bar {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(254, 44, 85, 0.22), rgba(254, 44, 85, 0.12));
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.poll-opt.mine .po-bar {
  background: linear-gradient(90deg, rgba(254, 44, 85, 0.85), rgba(255, 106, 136, 0.75));
}
.po-label,
.po-pct {
  position: relative;
}
.po-pct {
  display: none;
}
.poll.voted .poll-opt {
  justify-content: space-between;
  pointer-events: none;
}
.poll.voted .po-pct {
  display: inline;
}
.poll.voted .poll-opt.mine .po-label {
  color: #fff;
}
.poll.voted .poll-opt.mine .po-pct {
  color: var(--red);
}
.poll.just-voted .poll-opt.mine {
  animation: like-pop 0.45s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.poll-total {
  display: none;
  margin: 7px 0 0;
  font-size: 11px;
  text-align: center;
  color: rgba(22, 24, 35, 0.45);
}
.poll.voted .poll-total {
  display: block;
}

/* ---------- 浏览进度 ---------- */
.explored {
  position: absolute;
  z-index: 9;
  right: 12px;
  top: calc(var(--safe-t) + 58px);
  height: 26px;
  padding: 0 9px 0 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 13px;
  background: rgba(20, 20, 24, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.ex-ring {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: conic-gradient(var(--gold-2) var(--p, 0deg), rgba(255, 255, 255, 0.2) 0);
  -webkit-mask: radial-gradient(circle, transparent 7.5px, #000 8px);
  mask: radial-gradient(circle, transparent 7.5px, #000 8px);
  transition: background 0.4s;
}
.ex-ic {
  width: 12px;
  height: 12px;
  margin: 0 4px 0 4px;
  color: var(--gold-2);
}
.explored.bump {
  animation: like-pop 0.5s cubic-bezier(0.3, 1.8, 0.5, 1);
}

/* ---------- 侧滑探头提示 ---------- */
.peek-hint {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 46%;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 6px 0 14px;
  border-radius: 17px 0 0 17px;
  background: rgba(20, 20, 24, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1);
  pointer-events: none;
}
.peek-hint b {
  color: var(--gold-2);
}
.peek-hint svg {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
  animation: nudge-y 0.9s ease-in-out infinite;
}
.v-slide.peeking .peek-hint {
  transform: none;
}
@keyframes nudge-y {
  50% {
    transform: rotate(90deg) translateX(4px);
  }
}

/* ---------- 双击爱心 ---------- */
.heart-layer {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}
.burst {
  position: absolute;
  width: 96px;
  height: 96px;
  margin: -70px 0 0 -48px;
  color: var(--red);
  transform: rotate(var(--rot));
  filter: drop-shadow(0 4px 14px rgba(254, 44, 85, 0.45));
}
.burst svg {
  width: 100%;
  height: 100%;
  animation: burst 0.95s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes burst {
  0% {
    transform: scale(1.6);
    opacity: 0;
  }
  15% {
    transform: scale(0.9);
    opacity: 1;
  }
  28% {
    transform: scale(1);
  }
  70% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(1.9) translateY(-60px);
    opacity: 0;
  }
}

/* ---------- 实时动态 ---------- */
.live-toast {
  position: absolute;
  z-index: 9;
  left: 12px;
  top: calc(var(--safe-t) + 60px);
  max-width: calc(100% - 100px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12) inset;
  font-size: 12.5px;
  line-height: 1.3;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}
.live-toast.show {
  opacity: 1;
  transform: none;
}
.lt-av {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.lt-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lt-txt .notranslate {
  font-weight: 600;
  color: var(--gold-2);
}

/* ---------- Toast ---------- */
.toast {
  position: absolute;
  z-index: 200;
  left: 50%;
  top: 46%;
  max-width: 78%;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(30, 30, 34, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- 声音提示（露出视频后仍静音时出现，轻触开声） ---------- */
.sound-hint {
  position: absolute;
  z-index: 80;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.5), 0 12px 34px rgba(0, 0, 0, 0.55);
  color: var(--gold-1);
  font-size: 14px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) translateY(6px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.sound-hint.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
  animation: sound-hint-pulse 1.9s ease-in-out infinite;
}
.sound-hint .sh-ic {
  width: 20px;
  height: 20px;
  color: var(--gold-2);
  flex: none;
}
@keyframes sound-hint-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.5), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.8), 0 0 26px rgba(241, 207, 134, 0.4), 0 12px 34px rgba(0, 0, 0, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sound-hint.show {
    animation: none;
  }
}

/* ---------- 启动页 ---------- */
.boot {
  position: absolute;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: radial-gradient(90% 60% at 50% 40%, #1d1b16 0%, #000 70%);
  transition: opacity 0.45s ease;
}
.boot.hide {
  opacity: 0;
  pointer-events: none;
}
.boot-logos {
  display: flex;
  gap: 14px;
}
.boot-logos span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: boot-in 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}
.boot-logos img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.boot-logos .boot-shop {
  width: min(62vw, 260px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(242, 197, 90, 0.28));
  animation: boot-in 0.7s cubic-bezier(0.3, 1.3, 0.5, 1) both;
}
@keyframes boot-in {
  from {
    transform: translateY(14px) scale(0.6);
    opacity: 0;
  }
}
.boot-line {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.boot-line i {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: boot-line 1.1s ease-in-out infinite;
}
@keyframes boot-line {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
.boot-msg {
  max-width: 300px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.boot.error .boot-line {
  display: none;
}

/* =========================================================
   评论弹层（抖音白色样式）
   ========================================================= */
.sheet-wrap {
  position: absolute;
  inset: 0;
  z-index: 60;
}
.sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s;
}
.sheet-wrap.open .sheet-mask {
  background: rgba(0, 0, 0, 0.25);
}
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  display: flex;
  flex-direction: column;
  border-radius: 14px 14px 0 0;
  background: #fff;
  color: #161823;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1);
  user-select: text;
  -webkit-user-select: text;
}
.sheet-wrap.open .sheet {
  transform: none;
}
.sh-head {
  position: relative;
  flex: none;
  height: 48px;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: grab;
}
.sh-grip {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 34px;
  height: 4px;
  margin-left: -17px;
  border-radius: 2px;
  background: rgba(22, 24, 35, 0.12);
}
.sh-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.sh-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #161823;
  background: rgba(22, 24, 35, 0.06);
}
.sh-close svg {
  width: 16px;
  height: 16px;
}
.cm-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 12px;
  overscroll-behavior: contain;
}
.cm-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px 10px 16px;
}
.cm-item.fresh {
  animation: fresh 1.6s ease;
}
@keyframes fresh {
  0% {
    background: rgba(254, 44, 85, 0.1);
  }
  100% {
    background: transparent;
  }
}
.cm-av {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}
.cm-av img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.cm-av-me {
  background: #e9e9ee;
  color: #8a8b91;
}
.cm-av-me svg {
  width: 20px;
  height: 20px;
}
.cm-main {
  flex: 1;
  min-width: 0;
}
.cm-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(22, 24, 35, 0.6);
  margin-bottom: 3px;
}
.cm-author {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--red);
  background: rgba(254, 44, 85, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}
.cm-text {
  margin: 0;
  font-size: 15px;
  line-height: 21px;
  color: #161823;
  overflow-wrap: anywhere;
}
.cm-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 12.5px;
  color: rgba(22, 24, 35, 0.42);
}
.cm-reply-btn {
  margin-left: 12px;
  font-weight: 600;
  color: rgba(22, 24, 35, 0.55);
}
.cm-liked {
  display: none;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 12px;
  color: rgba(22, 24, 35, 0.5);
}
.cm-liked.show {
  display: inline-flex;
  animation: fade-up 0.4s ease;
}
.cm-liked img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.cm-replies .cm-sub {
  padding: 10px 0 0;
  animation: fade-up 0.35s ease;
}
.cm-sub .cm-av {
  width: 24px;
  height: 24px;
}
.cm-more-rep {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(22, 24, 35, 0.5);
}
.cm-more-rep i {
  width: 22px;
  height: 1px;
  background: rgba(22, 24, 35, 0.2);
  margin-right: 4px;
}
.cm-more-rep svg {
  width: 13px;
  height: 13px;
}
.cm-like {
  flex: none;
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  gap: 2px;
  color: rgba(22, 24, 35, 0.35);
  font-size: 11.5px;
}
.cm-like svg {
  width: 18px;
  height: 18px;
}
.cm-like .hl-on {
  display: none;
  color: var(--red);
}
.cm-like.on .hl-on {
  display: block;
}
.cm-like.on .hl-off {
  display: none;
}
.cm-like.pop svg {
  animation: like-pop 0.4s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.cm-end {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(22, 24, 35, 0.3);
}
.cm-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px calc(var(--safe-b) + 8px);
  border-top: 0.5px solid rgba(22, 24, 35, 0.08);
  background: #fff;
}
.cm-input {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 14px;
  border-radius: 20px;
  background: #f2f2f4;
  color: rgba(22, 24, 35, 0.75);
}
.cm-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 15px;
  color: #161823;
}
.cm-input input::placeholder {
  color: rgba(22, 24, 35, 0.38);
}
.cm-ic svg {
  width: 22px;
  height: 22px;
}
.cm-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.cm-send:disabled {
  opacity: 0.3;
  transform: scale(0.9);
}
.cm-send svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   全屏页（品牌主页 / 咨询）
   ========================================================= */
.page {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
  user-select: text;
  -webkit-user-select: text;
}
.page.open {
  transform: none;
}
.pg-back {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
}
.pg-back svg {
  width: 24px;
  height: 24px;
}

/* ---------- 品牌主页 ---------- */
.pf-page {
  background: var(--dy-bg);
}
.pf-bar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--safe-t) + 48px);
  padding: var(--safe-t) 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s;
}
.pf-bar .pg-back {
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
}
.pf-bar-name {
  flex: 1;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s;
}
.pf-bar-sp {
  width: 36px;
}
.pf-page.scrolled .pf-bar {
  background: var(--dy-bg);
}
.pf-page.scrolled .pf-bar-name {
  opacity: 1;
}
.pf-page.scrolled .pf-bar .pg-back {
  background: none;
}
.pf-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.pf-scroll::-webkit-scrollbar {
  display: none;
}
.pf-cover {
  position: relative;
  min-height: calc(var(--safe-t) + 200px);
  padding: calc(var(--safe-t) + 50px) 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(120% 120% at 80% 0%, var(--c3) 0%, transparent 45%), linear-gradient(160deg, var(--c2), var(--c1) 70%);
  overflow: hidden;
}
.pf-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.pf-cover-logo {
  height: 64px;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.pf-cover-logo img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.pf-slogan {
  position: relative;
  z-index: 1;
  margin: 0 24px;
  max-width: 320px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}
.pf-head {
  position: relative;
  padding: 0 16px 14px;
  background: var(--dy-bg);
}
.pf-av {
  width: 92px;
  height: 92px;
  margin-top: -46px;
  border-radius: 50%;
  border: 3px solid var(--dy-bg);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.4);
}
.pf-av img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}
.pf-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
}
.pf-handle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
}
.pf-badge {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--gold-2);
  background: rgba(241, 207, 134, 0.12);
}
.pf-stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.pf-stats div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.pf-stats b {
  font-size: 17px;
}
.pf-stats span {
  font-size: 13px;
  color: var(--text-3);
}
.pf-bio {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pf-chips > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--text-2);
}
.pf-chips svg {
  width: 13px;
  height: 13px;
  color: var(--gold-2);
}
.pf-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.pf-actions button {
  flex: 1;
  height: 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-follow {
  background: var(--red);
}
.btn-follow .t-done,
.btn-follow.done .t-follow {
  display: none;
}
.btn-follow.done .t-done {
  display: inline;
}
.btn-follow.done {
  background: rgba(255, 255, 255, 0.12);
}
.btn-consult {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  color: #3c2a0b;
}
.btn-consult svg {
  width: 20px;
  height: 20px;
}
.pf-tabs {
  position: sticky;
  top: calc(var(--safe-t) + 48px);
  z-index: 4;
  display: flex;
  background: var(--dy-bg);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}
.pf-tabs button {
  flex: 1;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.2s;
}
.pf-tabs button svg {
  width: 17px;
  height: 17px;
}
.pf-tabs button.on {
  color: #fff;
}
.pf-ink {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 2px;
  display: flex;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.pf-ink::after {
  content: '';
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-2);
}
.pf-tabs.second .pf-ink {
  transform: translateX(100%);
}
.pf-pane {
  display: none;
}
.pf-pane.on {
  display: block;
  animation: fade-up 0.3s ease;
}
.pf-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  padding-bottom: calc(var(--safe-b) + 20px);
}
.pf-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #26241f, #0d0c0a);
}
.pf-cell[hidden] {
  display: none;
}
.pf-cell-brand {
  position: absolute;
  z-index: 1;
  right: 5px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.pf-cell-brand img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.pf-cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.pf-cell::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}
.pf-pin {
  position: absolute;
  z-index: 1;
  left: 4px;
  top: 4px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  background: #fbd03b;
  color: #161823;
}
.pf-cell-model {
  position: absolute;
  z-index: 1;
  left: 6px;
  right: 6px;
  bottom: 22px;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-cell-like {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
}
.pf-cell-like svg {
  width: 13px;
  height: 13px;
}
.pf-cover-shop {
  background: radial-gradient(80% 90% at 50% 30%, rgba(242, 197, 90, 0.22), transparent 70%),
    linear-gradient(180deg, #1b1913, #0d0c0a);
}
.pf-cover-shop::after {
  background: repeating-linear-gradient(115deg, rgba(242, 197, 90, 0.035) 0 2px, transparent 2px 9px);
}
.pf-shop-logo {
  position: relative;
  z-index: 1;
  width: min(64%, 250px);
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}
.pf-filter {
  display: flex;
  gap: 8px;
  padding: 12px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pf-filter::-webkit-scrollbar {
  display: none;
}
.pf-chip {
  flex: none;
  height: 32px;
  padding: 0 12px 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pf-chip-all {
  padding: 0 14px;
}
.pf-chip i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pf-chip i img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.pf-chip.on {
  color: #fff;
  background: rgba(242, 197, 90, 0.16);
  box-shadow: 0 0 0 1px rgba(242, 197, 90, 0.6) inset;
}
.ab-switch {
  padding-bottom: 0;
}
.pf-about.swap {
  animation: fade-up 0.3s ease;
}
.ab-brand-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 16px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 80% 0%, var(--c3) 0%, transparent 50%), linear-gradient(160deg, var(--c2), var(--c1) 75%);
}
.ab-brand-logo {
  height: 56px;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ab-brand-logo img {
  height: 100%;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.ab-brand-slogan {
  margin: 0;
  max-width: 300px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}
.pf-about {
  padding: 4px 16px calc(var(--safe-b) + 28px);
}
.ab-intro p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.ab-intro p:first-child::first-letter {
  float: left;
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 0.9;
  padding: 4px 8px 0 0;
  color: var(--gold-2);
}
.ab-cards {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.ab-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 0 0 0.5px rgba(241, 207, 134, 0.2) inset;
}
.ab-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(241, 207, 134, 0.1);
}
.ab-ic svg {
  width: 22px;
  height: 22px;
}
.ab-card h4 {
  margin: 1px 0 4px;
  font-size: 15px;
}
.ab-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}
.ab-sig h5 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ab-sig div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ab-sig span {
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 15px;
  font-size: 13px;
  border: 0.5px solid rgba(241, 207, 134, 0.45);
  color: var(--gold-1);
}
.ab-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.ab-facts div {
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ab-facts div + div {
  border-left: 0.5px solid rgba(255, 255, 255, 0.08);
}
.ab-facts span {
  font-size: 11.5px;
  color: var(--text-3);
}
.ab-facts b {
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
.ab-cta {
  width: 100%;
  height: 46px;
  border-radius: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  color: #3c2a0b;
  box-shadow: 0 8px 24px rgba(185, 138, 62, 0.3);
  flex-wrap: wrap;
  padding: 0 14px;
}
.ab-cta svg {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

/* ---------- 咨询聊天 ---------- */
.chat-page {
  background: #f4f4f6;
  color: #161823;
}
.ch-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--safe-t) + 56px);
  padding: var(--safe-t) 12px 0 6px;
  background: #fff;
  border-bottom: 0.5px solid rgba(22, 24, 35, 0.08);
}
.ch-av {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
.ch-av img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  border-radius: 50%;
}
.ch-av i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ed573;
  border: 2px solid #fff;
}
.ch-title {
  flex: 1;
  min-width: 0;
}
.ch-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 600;
}
.ch-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  font-size: 11.5px;
  color: rgba(22, 24, 35, 0.45);
  white-space: nowrap;
  overflow: hidden;
}
.ch-sub > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ch-on {
  color: #20b15a;
  font-weight: 500;
}
.ch-ty {
  display: none;
  color: #20b15a;
  font-weight: 500;
}
.chat-page.is-typing .ch-on {
  display: none;
}
.chat-page.is-typing .ch-ty {
  display: inline;
}
.ch-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 12px 8px;
  -webkit-overflow-scrolling: touch;
}
.ch-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 18px 16px 14px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(22, 24, 35, 0.5);
}
.ci-av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.08);
}
.ci-av img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}
.ch-intro b {
  font-size: 15px;
  color: #161823;
}
.ch-intro p {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(22, 24, 35, 0.05);
  font-size: 11.5px;
}
.ch-intro p svg {
  width: 12px;
  height: 12px;
  flex: none;
}
.ch-time {
  margin: 6px 0 12px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(22, 24, 35, 0.35);
}
.msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  animation: msg-in 0.28s ease;
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.msg.me {
  flex-direction: row-reverse;
  flex-wrap: wrap;
}
.m-av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
.m-av img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.bubble {
  max-width: 76%;
  padding: 10px 13px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.bubble .notranslate {
  font-weight: 600;
}
.msg.me .bubble {
  border-radius: 16px 4px 16px 16px;
  background: linear-gradient(135deg, #2b2f3a, #161823);
  color: #fff;
}
.msg.me .bubble .notranslate {
  color: var(--gold-2);
}
.m-status {
  flex-basis: 100%;
  text-align: right;
  font-size: 11px;
  color: rgba(22, 24, 35, 0.35);
  margin-top: -6px;
  padding-right: 2px;
}
.typing .bubble {
  display: flex;
  gap: 4px;
  padding: 14px 14px;
}
.typing .bubble i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(22, 24, 35, 0.3);
  animation: dot 1.1s ease-in-out infinite;
}
.typing .bubble i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing .bubble i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* 商品卡片 */
.prod-card {
  display: flex;
  width: 250px;
  max-width: 78%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.pc-media {
  position: relative;
  flex: none;
  width: 84px;
  height: 104px;
  background: linear-gradient(160deg, var(--c2, #333), #000);
}
.pc-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-logo {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
}
.pc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
}
.pc-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold-3);
}
.pc-info b {
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-ref {
  font-size: 11.5px;
  color: rgba(22, 24, 35, 0.5);
}
.pc-info em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-top: 2px;
}

/* 留资卡片 */
.lead-card {
  flex: 1;
  max-width: 290px;
  padding: 14px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.lead-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3));
}
.lc-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.lc-head b {
  font-size: 15.5px;
}
.lc-head span {
  font-size: 12px;
  color: rgba(22, 24, 35, 0.5);
}
.lc-field {
  display: block;
  margin-bottom: 9px;
}
.lc-field > span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(22, 24, 35, 0.55);
  margin-bottom: 4px;
}
.lc-field input,
.lc-field textarea {
  width: 100%;
  border: 1px solid transparent;
  outline: 0;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14.5px;
  color: #161823;
  background: #f4f4f6;
  resize: none;
  transition: border-color 0.2s, background 0.2s;
}
.lc-field input:focus,
.lc-field textarea:focus {
  border-color: var(--gold-2);
  background: #fff;
}
.lc-field .bad {
  border-color: var(--red);
  animation: shake 0.4s;
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.lc-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 9px;
}
.lc-m {
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  font-size: 12.5px;
  background: #f4f4f6;
  color: rgba(22, 24, 35, 0.7);
  transition: background 0.2s, color 0.2s;
}
.lc-m.on {
  background: #161823;
  color: var(--gold-2);
}
.lc-err {
  min-height: 0;
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--red);
}
.lc-err:empty {
  display: none;
}
.lc-submit {
  width: 100%;
  height: 42px;
  border-radius: 21px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  color: #3c2a0b;
  box-shadow: 0 6px 16px rgba(185, 138, 62, 0.28);
}
.lc-submit:active {
  transform: scale(0.98);
}
.lc-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(22, 24, 35, 0.4);
}
.lc-privacy svg {
  width: 12px;
  height: 12px;
}
.lc-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0 2px;
  text-align: center;
}
.lc-ok {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2ed573, #13a85a);
  margin-bottom: 4px;
  animation: like-pop 0.5s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.lc-ok svg {
  width: 24px;
  height: 24px;
}
.lc-done b {
  font-size: 16px;
}
.lc-done p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(22, 24, 35, 0.55);
  overflow-wrap: anywhere;
}

/* 快捷回复与输入栏 */
.ch-quick {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ch-quick::-webkit-scrollbar {
  display: none;
}
.ch-quick button {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  background: #fff;
  font-size: 13px;
  color: #161823;
  box-shadow: 0 0 0 0.5px rgba(22, 24, 35, 0.1);
  white-space: nowrap;
}
.ch-quick .qk-lead {
  background: transparent;
  color: var(--gold-3);
  box-shadow: 0 0 0 1px rgba(185, 138, 62, 0.45);
  font-weight: 600;
}
.ch-quick button {
  animation: fade-up 0.3s ease both;
}
.ch-quick.waiting button {
  opacity: 0.45;
  pointer-events: none;
}

/* 系统提示：查库存 */
.ch-sys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 2px auto 14px;
  padding: 6px 12px;
  border-radius: 14px;
  background: rgba(22, 24, 35, 0.06);
  font-size: 12px;
  color: rgba(22, 24, 35, 0.55);
  animation: msg-in 0.28s ease;
}
.ch-sys .spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(22, 24, 35, 0.15);
  border-top-color: var(--gold-3);
  animation: spin 0.8s linear infinite;
}
.ch-sys.ok {
  color: #13a85a;
  background: rgba(46, 213, 115, 0.1);
}
.ch-sys.ok svg {
  width: 14px;
  height: 14px;
}

/* 实拍图集 */
.album {
  width: 236px;
  max-width: 76%;
  padding: 5px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.al-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}
.al-tile {
  position: relative;
  overflow: hidden;
  background: #222;
}
.al-tile.big {
  grid-row: span 2;
}
.al-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.al-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.al-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}
.al-cap {
  margin: 6px 6px 3px;
  font-size: 12.5px;
  color: rgba(22, 24, 35, 0.55);
}
.ch-lightbox {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  transition: opacity 0.25s;
}
.ch-lightbox.open {
  opacity: 1;
}
.ch-lightbox video {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: calc(var(--safe-t) + 12px);
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
.lb-close svg {
  width: 18px;
  height: 18px;
}

/* 推荐卡片（点击回到对应视频） */
.rec-msg {
  margin-right: -12px;
}
.rec-row {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 12px 4px 0;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.rec-row::-webkit-scrollbar {
  display: none;
}
.rec-card {
  flex: none;
  width: 128px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  scroll-snap-align: start;
}
.rc-media {
  position: relative;
  height: 150px;
  background: #222;
}
.rc-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.rc-logo {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.rc-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.rc-like {
  position: absolute;
  left: 6px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.rc-like svg {
  width: 12px;
  height: 12px;
}
.rc-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px 9px;
}
.rc-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-3);
}
.rc-info b {
  font-size: 13px;
  line-height: 1.3;
  color: #161823;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}
.rc-cta svg {
  width: 12px;
  height: 12px;
}
.chat-page.lead-done .qk-lead {
  display: none;
}
.ch-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px calc(var(--safe-b) + 8px);
  background: #fff;
  border-top: 0.5px solid rgba(22, 24, 35, 0.08);
}
.ch-bar input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  border: 0;
  outline: 0;
  background: #f2f2f4;
  font-size: 15px;
  color: #161823;
}
.ch-send {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.ch-send:disabled {
  opacity: 0.35;
  transform: scale(0.9);
}
.ch-send svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   首次引导
   ========================================================= */
.guide {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}
.guide.open {
  opacity: 1;
}
.guide.closing {
  opacity: 0;
}
.gd-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}
.gd-step.on {
  display: flex;
  animation: fade-up 0.4s ease;
}
.gd-anim {
  position: relative;
  width: 150px;
  height: 170px;
  margin-bottom: 18px;
}
.gd-rail {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.gd-rail i {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  border-radius: 2px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.85));
  animation: rail-v 1.6s ease-in-out infinite;
}
@keyframes rail-v {
  0% {
    top: 100%;
  }
  60%,
  100% {
    top: -40%;
  }
}
.gd-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -14px 0 0 -26px;
  animation: hand-v 1.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
.gd-hand-svg {
  width: 100%;
  height: 100%;
}
@keyframes hand-v {
  0% {
    transform: translateY(46px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  60% {
    transform: translateY(-50px);
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(-50px);
    opacity: 0;
  }
}
.gd-h .gd-rail {
  top: 50%;
  bottom: auto;
  left: 8px;
  right: 8px;
  width: auto;
  height: 4px;
  margin: -2px 0 0;
}
.gd-h .gd-rail i {
  top: 0;
  bottom: 0;
  height: auto;
  width: 40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), transparent);
  animation: rail-h 1.6s ease-in-out infinite;
}
@keyframes rail-h {
  0% {
    left: 100%;
  }
  60%,
  100% {
    left: -40%;
  }
}
.gd-h .gd-hand {
  animation: hand-h 1.6s ease-in-out infinite;
}
@keyframes hand-h {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  60% {
    transform: translateX(-50px);
    opacity: 1;
  }
  80%,
  100% {
    transform: translateX(-50px);
    opacity: 0;
  }
}
.gd-step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.gd-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.gd-brands {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.gd-brands span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.4);
}
.gd-brands img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.gd-cards {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  align-items: center;
}
.gd-cards i {
  width: 34px;
  height: 52px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2) inset;
}
.gd-cards i.on {
  width: 42px;
  height: 62px;
  background: linear-gradient(160deg, rgba(241, 207, 134, 0.55), rgba(185, 138, 62, 0.25));
  box-shadow: 0 0 0 1px rgba(241, 207, 134, 0.6) inset;
}
.gd-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-b) + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gd-dots {
  display: flex;
  gap: 6px;
}
.gd-dots i {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.25s, background 0.25s;
}
.gd-dots i.on {
  width: 18px;
  background: #fff;
}
.gd-btn {
  min-width: 160px;
  height: 44px;
  padding: 0 28px;
  border-radius: 22px;
  font-size: 15.5px;
  font-weight: 700;
  background: #fff;
  color: #161823;
}
.gd-btn .b-done,
.guide.s2 .gd-btn .b-next {
  display: none;
}
.guide.s2 .gd-btn .b-done {
  display: inline;
}
.guide.s2 .gd-btn {
  background: var(--red);
  color: #fff;
}
.gd-tip {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
}

/* =========================================================
   桌面端：居中手机比例 + 两侧提示
   ========================================================= */
@media (min-width: 768px) and (min-aspect-ratio: 3/4) {
  .stage {
    background: radial-gradient(70% 90% at 50% 50%, #1a1814 0%, #050505 70%);
    gap: 40px;
  }
  .app {
    width: min(100vw, calc(100dvh * 9 / 16));
    max-width: 480px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 80px rgba(0, 0, 0, 0.6);
  }
  .desk-side {
    display: flex;
    flex: 1;
    max-width: 260px;
    align-items: center;
  }
  .desk-left {
    justify-content: flex-end;
  }
  .desk-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    text-align: right;
  }
  .db-shop img {
    width: 220px;
    filter: drop-shadow(0 0 30px rgba(242, 197, 90, 0.2));
  }
  .db-now {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }
  .db-now span {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
  }
  .db-now b {
    font-size: 20px;
    color: #f2c55a;
  }
  .db-logo {
    height: 64px;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  .db-logo img {
    height: 100%;
    max-width: 200px;
    object-fit: contain;
  }
  .db-slogan {
    margin: 0;
    max-width: 230px;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
  }
  .desk-keys {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .desk-pad {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    grid-template-rows: repeat(3, 44px);
    gap: 6px;
  }
  .desk-pad [data-nav='up'] {
    grid-area: 1 / 2;
  }
  .desk-pad [data-nav='left'] {
    grid-area: 2 / 1;
  }
  .desk-pad [data-nav='right'] {
    grid-area: 2 / 3;
  }
  .desk-pad [data-nav='down'] {
    grid-area: 3 / 2;
  }
  .desk-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s, transform 0.2s;
  }
  .desk-nav:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
  }
  .desk-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .desk-tips p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
  }
  .desk-tips span {
    margin-left: 4px;
  }
  kbd {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 5px;
    font-family: inherit;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* 窄屏/矮屏微调 */
@media (max-width: 360px) {
  .tab {
    padding: 0 6px;
    font-size: 15px;
  }
  .caption {
    right: 76px;
  }
  .side {
    width: 58px;
    gap: 13px;
  }
}
@media (max-height: 640px) {
  .side {
    gap: 10px;
  }
  .sb-ic svg {
    width: 34px;
    height: 34px;
  }
  .sheet {
    height: 80%;
  }
}
