/* ==========================================================================
   ProdClub 式版面（覆盖层，叠在 styles.css 之后加载）
   结构：通栏顶栏（左 Logo + 胶囊图标导航，右工具链接）→ 宽幅代码纹理横幅
        → 「直充大厅」4 列商品卡（右下小插画）→ 快捷服务 + 3 步流程 → 付款方式条
   ========================================================================== */

:root {
  /* ---- 设计令牌：白天（默认）。夜晚值见文件末尾 html[data-theme="dark"] ---- */
  color-scheme: light;
  --bg: #F5F6F4;
  --bg-rgb: 245, 246, 244;
  --surface: #FFFFFF;
  --surface-rgb: 255, 255, 255;
  --surface-soft: #EEF0ED;
  --surface-tint: #FAFBFA;
  --surface-hover: #E3E6E2;
  --surface-raised: #FFFFFF;
  --ink: #17201A;
  --ink-rgb: 23, 32, 26;
  --ink-body: #2A332D;
  --ink-2: #4E5751;
  --ink-muted: #6B746E;
  --ink-3: #8A918C;
  --ink-4: #B4BAB6;
  --border: rgba(23, 32, 26, 0.08);
  --border-strong: rgba(23, 32, 26, 0.14);
  --border-solid: #D9DCD9;
  --shadow-rgb: 23, 32, 26;
  --scrim-rgb: 23, 32, 26;
  --emerald: #1F7A45;
  --emerald-rgb: 28, 122, 67;
  --emerald-bright: #22A35A;
  --emerald-soft: rgba(31, 122, 69, 0.08);
  --emerald-border: rgba(31, 122, 69, 0.22);
  --on-accent: #FFFFFF;
  --inverse: #17201A;
  --inverse-hover: #26302A;
  --on-inverse: #FFFFFF;
  --tint-green: #F4FAF8;
  --tint-amber: #FFFDF5;
  --tint-amber-2: #FEF3E2;
  --tint-blue: #F5F9FF;
  --success-ink: #14532D;
  --warn-ink: #92400E;
  --danger-ink: #991B1B;
  --orange-ink: #C2410C;
  --pc-radius: 20px;
  --pc-shadow: 0 1px 2px rgba(23, 32, 26, 0.04), 0 6px 18px rgba(23, 32, 26, 0.04);
  --pc-shadow-hover: 0 2px 4px rgba(23, 32, 26, 0.05), 0 14px 32px rgba(23, 32, 26, 0.08);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
}

/* 整体加宽，贴近参考站的通栏感 */
.container {
  max-width: 1360px;
  padding: 0 32px;
}

/* ---------- 顶栏：通栏、不再是浮动卡片 ---------- */
.header-wrap,
body.home-compact-view .header-wrap {
  padding: 0;
  background: rgba(var(--bg-rgb), 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.header-inner,
body.home-compact-view .header-inner {
  height: 64px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 20px;
}

.header-brand-group {
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 14px;
  box-shadow: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
}

.site-nav {
  flex: 1;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.nav-pills {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.nav-utils {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.site-nav a,
.site-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.2;
}

.site-nav svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.85;
}

.site-nav svg.ic-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-pills a:hover {
  background: rgba(var(--surface-rgb), 0.7);
  color: var(--ink);
}

.nav-pills a.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 2px 8px rgba(var(--shadow-rgb), 0.05);
}

.nav-utils a:hover,
.nav-utils .nav-btn:hover {
  background: rgba(var(--ink-rgb), 0.05);
  color: var(--ink);
}

.nav-utils a.active {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: none;
  font-size: 13.5px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--inverse);
  color: var(--on-inverse);
  border-color: var(--inverse);
  transform: none;
  box-shadow: none;
}

/* ---------- 首页主体 ---------- */
body.home-compact-view .app-main {
  padding: 20px 0 20px;
  justify-content: flex-start;
}

.single-screen-shell {
  gap: 22px;
}

/* 宽幅横幅：浅绿底 + 代码字符纹理 + 两行超大标题 */
.compact-hero.pc-hero {
  min-height: 248px;
  border-radius: var(--pc-radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 140% at 78% 40%, rgba(214, 236, 220, 0.95) 0%, rgba(236, 244, 238, 0.9) 42%, rgba(var(--bg-rgb), 0.96) 75%),
    var(--surface-tint);
  box-shadow: var(--pc-shadow);
}

.compact-hero.pc-hero .compact-hero-bg {
  display: none;
}

.pc-hero-code {
  position: absolute;
  inset: -6px -6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 1.5px;
  color: rgba(var(--emerald-rgb), 0.11);
  word-break: break-all;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.75) 78%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.75) 78%, #000 100%);
}

.pc-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.6) 0%, rgba(var(--bg-rgb), 0) 45%);
  pointer-events: none;
}

.pc-hero .compact-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 248px;
  padding: 28px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.pc-hero .compact-hero-left {
  max-width: 640px;
}

.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(var(--surface-rgb), 0.75);
  border: 1px solid var(--emerald-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pc-hero-h1.compact-hero-h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}

.pc-accent {
  color: var(--emerald);
}

.pc-hero-sub.compact-hero-sub {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: none;
}

.pc-hero-actions.compact-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pc-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(var(--shadow-rgb), 0.06), 0 10px 24px rgba(var(--shadow-rgb), 0.06);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.pc-play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(var(--shadow-rgb), 0.08), 0 16px 30px rgba(var(--shadow-rgb), 0.08);
}

.pc-play-ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--emerald-soft);
  color: var(--emerald);
}

.pc-play-ic svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-left: 2px;
}

.pc-ghost-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 6px 4px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.pc-ghost-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pc-hero-right.compact-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  flex-shrink: 0;
}

.pc-wordmark {
  text-align: right;
}

.pc-wordmark-title {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.pc-wordmark-motto {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.pc-wordmark-sub {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.pc-hero .compact-live-pill {
  position: static;
  background: rgba(var(--surface-rgb), 0.92);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--pc-shadow);
  min-width: 300px;
}

.pc-hero .compact-live-t1 {
  color: var(--ink);
}

.pc-hero .compact-live-t2 {
  color: var(--ink-3);
}

.pc-hero .compact-live-tag {
  background: var(--emerald-soft);
  color: var(--emerald);
}

/* ---------- 直充大厅标题条 ---------- */
.showcase-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.pc-count {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.product-switcher.compact-switcher {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.product-switcher .product-tab {
  border-radius: 999px;
}

.toggle-extra-btn {
  border-radius: 999px;
}

/* ---------- 商品卡 ---------- */
.adv-grid {
  gap: 18px;
}

.adv-card.pc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 18px 18px 20px;
  border-radius: var(--pc-radius);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s;
}

.adv-card.pc-card:hover,
.adv-card.pc-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--pc-shadow-hover);
  border-color: var(--border-strong);
  outline: none;
}

/* 主推款不再整卡变黑，只加一圈绿色描边 */
.adv-card.pc-card.featured {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--emerald-border);
  box-shadow: 0 0 0 1px var(--emerald-border), var(--pc-shadow);
}

.pc-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
}

.pc-card-logo {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink);
}

.pc-card-logo svg {
  width: 22px;
  height: 22px;
}

.pc-card-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.pc-mult {
  font-style: normal;
  font-weight: 700;
}

.pc-mult-lo {
  color: #8A9A8F;
}

.pc-mult-hi {
  color: #D99A2B;
}

.pc-mult-max {
  color: #6C7FE0;
}

.pc-mult-tb {
  color: #3E9BB8;
}

.pc-card-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

.pc-card-tag.is-save {
  color: var(--emerald);
  font-weight: 600;
}

.pc-official-pill {
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-tint);
}

.pc-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.pc-price-col {
  min-width: 0;
}

.pc-price {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  color: var(--ink);
}

.pc-yen {
  font-size: 15px;
  font-weight: 700;
  margin-right: 2px;
}

.pc-int {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pc-dec {
  font-size: 15px;
  font-weight: 700;
}

.pc-unit {
  margin-left: 6px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.pc-micro {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.pc-micro s {
  text-decoration-color: rgba(var(--ink-rgb), 0.35);
}

.pc-dot {
  margin: 0 5px;
}

/* 卡片右下角小插画 */
.pc-thumb {
  position: relative;
  width: 92px;
  height: 66px;
  flex-shrink: 0;
  margin-bottom: -4px;
  transition: transform 0.3s var(--ease-out);
}

.pc-card:hover .pc-thumb {
  transform: translateY(-3px) rotate(-1.5deg);
}

/* 纸张 */
.pc-doc-sheet {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 74px;
  height: 58px;
  background: var(--surface);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(var(--shadow-rgb), 0.08);
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.pc-doc-back {
  right: 10px;
  bottom: -4px;
  transform: rotate(-6deg);
  background: var(--surface-soft);
}

.pc-doc-title {
  font-size: 6px;
  color: var(--ink-3);
  white-space: nowrap;
}

.pc-doc-p {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
}

.pc-doc-sheet i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(var(--ink-rgb), 0.12);
}

.pc-doc-sheet i:nth-of-type(2) {
  width: 80%;
}

.pc-doc-sheet i:nth-of-type(3) {
  width: 60%;
}

.pc-doc-sign {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 22px;
  height: 6px;
  border-bottom: 1.5px solid var(--emerald);
  border-radius: 0 0 60% 40%;
  transform: rotate(-8deg);
}

/* 书页 */
.pc-thumb-book {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.pc-book-page {
  width: 42px;
  height: 58px;
  background: var(--surface);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  box-shadow: 0 4px 10px rgba(var(--shadow-rgb), 0.08);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pc-book-page:first-child {
  border-radius: 4px 0 0 4px;
  border-right: 0;
}

.pc-book-page:last-child {
  border-radius: 0 4px 4px 0;
}

.pc-book-page strong {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  margin: 6px 0 2px;
  white-space: nowrap;
  overflow: hidden;
}

.pc-book-meta {
  font-size: 4.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  white-space: nowrap;
}

.pc-book-page i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(var(--ink-rgb), 0.1);
}

.pc-book-page b {
  display: block;
  margin-top: auto;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--emerald);
  opacity: 0.7;
}

/* 笔记本电脑 */
.pc-thumb-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.pc-laptop-screen {
  width: 78px;
  height: 50px;
  border-radius: 5px 5px 0 0;
  border: 3px solid var(--border-solid);
  border-bottom: 0;
  background: var(--surface);
  padding: 4px 5px;
  overflow: hidden;
}

.pc-laptop-screen code {
  display: block;
  font-family: var(--font-mono);
  font-size: 5.5px;
  line-height: 1.55;
  color: var(--ink-2);
  white-space: nowrap;
}

.pc-laptop-screen .k {
  color: var(--emerald);
}

.pc-laptop-screen .ok {
  color: var(--emerald);
}

.pc-caret {
  display: inline-block;
  width: 3px;
  height: 6px;
  margin-left: 1px;
  background: var(--inverse);
  vertical-align: middle;
  animation: pcBlink 1s steps(2) infinite;
}

@keyframes pcBlink {
  50% {
    opacity: 0;
  }
}

.pc-laptop-base {
  width: 92px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #E4E6E3, #C9CCC8);
}

/* 明信片 */
.pc-thumb-card {
  width: 88px;
  height: 64px;
  background: var(--surface);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(var(--shadow-rgb), 0.08);
  padding: 4px;
  transform: rotate(-2deg);
}

.pc-card-photo {
  position: relative;
  height: 44px;
  border-radius: 2px;
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(var(--surface-rgb), 0.85), transparent 70%),
    linear-gradient(160deg, #CFE8D6 0%, #9FCFB0 55%, #6FB08A 100%);
  overflow: hidden;
}

.pc-card-photo::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -6px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--surface-rgb), 0.55);
}

.pc-bird {
  position: absolute;
  left: 38%;
  top: 30%;
  width: 16px;
  height: 6px;
  border-top: 2px solid #2B4A36;
  border-radius: 50% 50% 0 0;
}

.pc-card-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 5.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- 底部：快捷服务卡 + 怎么购买 ---------- */
.quick-service-card,
.how-strip-card {
  border-radius: var(--pc-radius);
  border: 1px solid var(--border);
  box-shadow: var(--pc-shadow);
  background: var(--surface);
}

.quick-service-card:hover {
  box-shadow: var(--pc-shadow-hover);
}

.how-strip-card {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.how-step .how-num {
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  background: var(--surface);
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  font-weight: 700;
}

/* ---------- 付款方式条 ---------- */
.home-meta-bar {
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---------- 页脚：允许换行，修掉右侧被截断的问题 ---------- */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--border);
}

.footer-inner {
  flex-wrap: wrap;
  row-gap: 10px;
}

.footer-brand-line,
.footer-meta {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* ---------- 浮动客服按钮跟随新色调 ---------- */
.floating-support-btn {
  background: var(--inverse);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-utils .nav-btn span,
  .nav-utils a span {
    display: none;
  }
  .pc-wordmark-title {
    font-size: 32px;
  }
}

@media (max-width: 1080px) {
  .pc-thumb {
    display: none;
  }
}

@media (max-width: 900px) {
  .pc-hero-right.compact-hero-right {
    display: none;
  }
  .pc-hero .compact-hero-inner {
    padding: 30px 28px;
  }
}

@media (max-width: 720px) {
  .container,
  .site-header {
    padding: 0 16px;
  }
  .header-inner,
  body.home-compact-view .header-inner {
    height: 56px;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    /* 抽屉用实色底：顶栏本身带 backdrop-filter，嵌套的半透明+模糊会让下方页面文字透出来 */
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-pills,
  .nav-utils {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }
  .nav-pills {
    padding: 6px;
  }
  .nav-utils .nav-btn span,
  .nav-utils a span {
    display: inline;
  }
  .site-nav a,
  .site-nav .nav-btn {
    border-radius: 10px;
  }
  .site-nav .nav-cta {
    margin: 4px 0 0;
    text-align: center;
    justify-content: center;
  }
  .pc-hero-h1.compact-hero-h1 {
    font-size: 30px;
  }
  .pc-hero .compact-hero-inner {
    padding: 26px 20px;
    min-height: 0;
  }
  .compact-hero.pc-hero {
    min-height: 0;
  }
  .pc-thumb {
    display: block;
  }
  /* 书页 / 笔记本插画本身是 flex 排版，不能被上面的 block 覆盖（否则手机上两页竖着叠、溢出卡片） */
  .pc-thumb-book,
  .pc-thumb-laptop {
    display: flex;
  }
}

/* 矮屏（笔记本常见 750–860px 高）收起横幅小标签，保证首屏装下整个大厅 */
@media (min-width: 721px) and (max-height: 860px) {
  .pc-eyebrow {
    display: none;
  }
  .pc-hero .compact-hero-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }
}

/* ==========================================================================
   子页面统一（免费预检 / 卡密兑换 / 指南 / 2FA / 订单 / 代理后台 / 管理后台）
   参照 prodclub 子页：居中大标题 + 一张居中白卡 + 绿色胶囊主按钮 + 灰色返回链接
   ========================================================================== */

:root {
  --pc-green: #1C7A43;
  --pc-green-hover: #166536;
  --pc-green-ring: rgba(var(--emerald-rgb), 0.14);
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow-sm: 0 1px 2px rgba(var(--shadow-rgb), 0.04), 0 6px 18px rgba(var(--shadow-rgb), 0.04);
  --shadow-md: 0 1px 2px rgba(var(--shadow-rgb), 0.04), 0 10px 28px rgba(var(--shadow-rgb), 0.06);
  --shadow-lg: 0 20px 48px rgba(var(--shadow-rgb), 0.12), 0 4px 12px rgba(var(--shadow-rgb), 0.05);
}

.app-main {
  padding-top: 40px;
}

/* ---------- 页头：居中、轻字重的大标题 ---------- */
.page-header {
  text-align: center;
  margin: 0 auto 8px !important;
  max-width: 720px;
}

.page-header .section-kicker {
  display: none;
}

.page-header .section-heading {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.page-header .section-sub {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.section-heading {
  letter-spacing: -0.02em;
}

.narrow-shell {
  max-width: 760px;
  gap: 20px;
}

/* ---------- 卡片 ---------- */
.card,
.kpi-card,
.step-rail {
  border-radius: var(--pc-radius);
  border-color: var(--border);
  box-shadow: var(--pc-shadow);
}

.card-elevated {
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.04), 0 12px 32px rgba(var(--shadow-rgb), 0.06);
}

.card-pad {
  padding: 26px 28px;
}

/* ---------- 按钮：全部胶囊化，主按钮改绿色 ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
}

.btn-sm {
  border-radius: 999px;
  padding: 6px 14px;
}

.btn-lg {
  border-radius: 999px;
  padding: 13px 28px;
}

.btn-primary {
  background: var(--pc-green);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 8px 20px rgba(var(--emerald-rgb), 0.22);
}

.btn-primary:hover:not(:disabled) {
  background: var(--pc-green-hover);
  box-shadow: 0 2px 4px rgba(var(--shadow-rgb), 0.1), 0 12px 26px rgba(var(--emerald-rgb), 0.28);
}

.btn-success {
  background: var(--pc-green);
}

.btn-success:hover:not(:disabled) {
  background: var(--pc-green-hover);
}

.btn-soft {
  background: var(--surface-soft);
  color: var(--ink);
}

.btn-soft:hover:not(:disabled) {
  background: var(--surface-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-tint);
  border-color: rgba(var(--ink-rgb), 0.24);
}

.btn-alipay {
  border-radius: 999px;
}

.link-btn {
  color: var(--pc-green);
}

/* ---------- 表单 ---------- */
.input,
.textarea,
.select {
  background: var(--surface);
  border-color: var(--border-strong);
  border-radius: 14px;
  padding: 12px 15px;
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: rgba(var(--ink-rgb), 0.22);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--pc-green);
  box-shadow: 0 0 0 4px var(--pc-green-ring);
}

.field label {
  font-size: 13.5px;
}

/* 分段开关、平台选择：灰色轨道 + 白色选中块，和顶栏胶囊导航同一套 */
.segmented {
  background: var(--surface-soft);
  border-color: var(--border);
  border-radius: 16px;
}

.segmented button {
  border-radius: 12px;
}

.segmented button.active {
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 2px 8px rgba(var(--shadow-rgb), 0.05);
}

.check-product-pills {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
}

.check-pill {
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  padding: 8px 16px;
}

.check-pill:hover {
  background: rgba(var(--surface-rgb), 0.7);
  color: var(--ink);
}

.check-pill.active {
  background: var(--surface);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 2px 8px rgba(var(--shadow-rgb), 0.05);
}

/* ---------- 步骤条：绿色描边序号，当前步不再用黑金 ---------- */
.step-dot {
  border-width: 1.5px;
}

.step-item.done .step-dot {
  background: var(--pc-green);
  border-color: var(--pc-green);
}

.step-item.done:not(:last-child)::after {
  background: rgba(var(--emerald-rgb), 0.45);
}

.step-item:not(:last-child)::after {
  height: 1.5px;
  background: rgba(var(--ink-rgb), 0.1);
}

.step-item.active .step-dot {
  background: var(--surface);
  border-color: var(--pc-green);
  color: var(--pc-green);
  box-shadow: 0 0 0 5px var(--pc-green-ring);
}

/* ---------- 提示框、徽章、代码块 ---------- */
.alert {
  border-radius: 14px;
}

.alert-info {
  background: var(--surface-tint);
}

.alert-success {
  color: var(--success-ink);
}

.code-block {
  border-radius: 12px;
  background: var(--surface-tint);
}

.guide-num {
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--pc-green);
  color: var(--pc-green);
  font-size: 11.5px;
}

.bookmarklet-drag {
  background: var(--inverse);
  color: var(--on-inverse);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.1), 0 6px 14px rgba(var(--shadow-rgb), 0.14);
}

.bookmarklet-drag:hover {
  background: var(--inverse-hover);
  color: var(--on-inverse);
}

/* ---------- 订单页 ---------- */
.order-topbar a.field-hint {
  font-weight: 500 !important;
  color: var(--ink-3) !important;
  text-decoration: none;
}

.order-topbar a.field-hint:hover {
  color: var(--ink) !important;
}

.order-topbar .section-heading {
  font-size: 28px !important;
  font-weight: 600;
}

/* ---------- 后台：KPI 与表格 ---------- */
.kpi-val {
  font-weight: 700;
}

.table-wrap {
  border-radius: 14px;
}

.data-table th {
  background: var(--surface-tint);
  font-weight: 600;
}

.data-table tr:hover td {
  background: rgba(var(--ink-rgb), 0.015);
}

/* ---------- 弹窗与抽屉跟随圆角 ---------- */
.modal-card,
.modal-panel {
  border-radius: 22px;
}

@media (max-width: 720px) {
  .app-main {
    padding-top: 24px;
  }
  .page-header .section-heading {
    font-size: 28px;
  }
  .card-pad {
    padding: 20px 18px;
  }
  .check-product-pills {
    border-radius: 16px;
  }
}

/* 订单页收窄居中（参照 prodclub 商品详情页约 1000px 宽） */
.order-shell {
  max-width: 1000px;
}

.page-header .section-heading {
  font-weight: 400;
}

/* ==========================================================================
   商品详情页 /plan/:sku（参照 prodclub /offers/xxx：左说明 + 右固定下单面板）
   ========================================================================== */
.plan-shell {
  max-width: 1120px;
}

.pl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 16px;
}

.pl-back:hover {
  color: var(--ink);
}

.pl-ic,
.pl-ic-fill {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pl-ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pl-ic-fill {
  fill: currentColor;
}

.pl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--pc-shadow);
  overflow: visible;
}

.pl-main.card {
  border: 0;
  box-shadow: none;
  border-radius: 22px 0 0 22px;
  padding: 0;
  min-width: 0;
}

/* 头部：标题 + 元信息 + 右侧小插画，底部淡淡的点阵 */
.pl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--border);
  border-radius: 22px 0 0 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(var(--emerald-rgb), 0.12) 1px, transparent 0) 0 0 / 14px 14px,
    linear-gradient(90deg, var(--surface) 40%, rgba(var(--surface-rgb), 0.4));
  background-blend-mode: normal;
}

.pl-head-text {
  min-width: 0;
}

.pl-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pl-title-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}

.pl-title-logo svg {
  width: 24px;
  height: 24px;
}

.pl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.pl-dot {
  color: var(--ink-3);
}

.pl-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--ink);
}

.pl-ok .pl-ic {
  color: #FFFFFF;
  fill: var(--pc-green);
  stroke: #FFFFFF;
}

.pl-head-art .pc-thumb {
  display: flex;
  transform: scale(1.35);
  transform-origin: right center;
  margin-right: 10px;
}

/* 说明行：左标签 + 右内容 */
.pl-rows {
  padding: 6px 28px 4px;
}

.pl-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}

.pl-row:last-child {
  border-bottom: 0;
}

.pl-row-label {
  font-size: 14px;
  color: var(--ink-3);
  padding-top: 1px;
}

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

.pl-list-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.pl-list li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.pl-list li .pl-ic {
  margin-top: 3px;
  color: var(--pc-green);
}

.pl-list li.is-warn {
  color: var(--warn-ink);
}

.pl-list li.is-warn .pl-ic {
  color: var(--amber);
}

.pl-aside-note {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.pl-aside-note .pl-ic {
  margin-top: 2px;
  color: var(--ink-3);
}

.pl-aside-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pl-guards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.pl-guard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}

.pl-guard .pl-ic {
  color: var(--pc-green);
}

.pl-guard em {
  font-style: normal;
  color: var(--ink-3);
  font-size: 13px;
}

.pl-guard-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.pl-guard-btn:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 买完怎么开通 */
.pl-flow {
  margin: 6px 20px 22px;
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
}

.pl-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pl-flow-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.pl-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--emerald-border);
  background: var(--surface);
  color: var(--pc-green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, transform 0.18s var(--ease-out);
}

.pl-demo-link .pl-ic-fill {
  width: 20px;
  height: 20px;
  padding: 5px 4px 5px 6px;
  border-radius: 50%;
  background: var(--pc-green);
  color: var(--on-accent);
}

.pl-demo-link:hover {
  background: var(--emerald-soft);
  transform: translateY(-1px);
}

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

.pl-flow-step {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pl-flow-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--pc-green);
  position: relative;
  z-index: 1;
}

.pl-flow-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pl-flow-text strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.pl-flow-text span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

.pl-flow-line {
  display: none;
}

.pl-q {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.pl-q:hover {
  border-color: var(--pc-green);
  color: var(--pc-green);
}

/* 「怎么拿到 Session？」小弹层 */
.pl-help-pop {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: 320px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: plPop 0.18s var(--ease-out);
}

@keyframes plPop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.pl-help-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pl-help-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

.pl-help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 7px 7px 10px;
  border-radius: 10px;
  background: var(--surface-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pl-help-link a {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-help-link button {
  border: 0;
  background: var(--surface);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* 右侧下单面板 */
.pl-buy {
  border-left: 1px solid var(--border);
  background: var(--surface-tint);
  border-radius: 0 22px 22px 0;
  padding: 12px;
}

.pl-buy-inner {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.pl-price-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.pl-price-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.pl-price {
  display: flex;
  align-items: baseline;
}

.pl-yen {
  font-size: 20px;
  font-weight: 700;
  margin-right: 2px;
}

.pl-int {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pl-dec {
  font-size: 22px;
  font-weight: 700;
}

.pl-unit {
  margin-left: 8px;
  font-size: 14px;
  color: var(--ink-3);
}

.pl-price-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--pc-green);
}

.pl-price-sub s {
  color: var(--ink-3);
  margin-right: 4px;
}

.pl-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pl-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.pl-label .pl-ic {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
}

.pl-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pl-req {
  color: var(--danger);
}

.pl-hint {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

.pl-hint-ok {
  color: var(--pc-green);
}

.pl-pay-opts {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.pl-pay-opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.pl-pay-opt.is-active {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 2px 8px rgba(var(--shadow-rgb), 0.05);
}

.pl-pay-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pl-pay-opt em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
}

.pl-alipay-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--alipay);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}

.pl-mode-opts {
  display: grid;
  gap: 8px;
}

.pl-mode-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px 10px 36px;
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.pl-mode-opt::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
}

.pl-mode-opt strong {
  font-size: 13.5px;
  color: var(--ink);
}

.pl-mode-opt span {
  font-size: 12px;
  color: var(--ink-3);
}

.pl-mode-opt:hover {
  border-color: rgba(var(--ink-rgb), 0.26);
}

.pl-mode-opt.is-active {
  border-color: var(--pc-green);
  box-shadow: 0 0 0 3px var(--pc-green-ring);
}

.pl-mode-opt.is-active::before {
  border: 4.5px solid var(--pc-green);
}

.pl-guide-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px dashed var(--border-strong);
  font-size: 12.5px;
}

.pl-cred-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pl-coupon-row {
  display: flex;
  gap: 8px;
}

.pl-coupon-row .input {
  flex: 1;
  min-width: 0;
}

.pl-submit.btn {
  padding: 14px 20px;
  font-size: 15px;
  gap: 8px;
}

.pl-submit .pl-ic {
  width: 17px;
  height: 17px;
}

.pl-submit-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: -4px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.pl-submit-note .pl-ic {
  width: 13px;
  height: 13px;
}

@media (max-width: 960px) {
  .pl-layout {
    grid-template-columns: 1fr;
  }
  .pl-main.card {
    border-radius: 22px 22px 0 0;
  }
  .pl-buy {
    border-left: 0;
    border-top: 1px solid var(--border);
    border-radius: 0 0 22px 22px;
  }
  .pl-buy-inner {
    position: static;
  }
}

@media (max-width: 720px) {
  .pl-head {
    padding: 20px 18px 18px;
  }
  .pl-head-art {
    display: none;
  }
  .pl-title {
    font-size: 23px;
  }
  .pl-rows {
    padding: 0 18px;
  }
  .pl-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pl-list-2col {
    grid-template-columns: 1fr;
  }
  .pl-flow {
    margin: 4px 12px 16px;
  }
  .pl-flow-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pl-flow-steps {
    grid-template-columns: 1fr;
  }
  .pl-help-pop {
    width: min(320px, calc(100vw - 48px));
  }
}

/* ==========================================================================
   视频演示播放器（全屏遮罩 + 模拟画面 + 字幕 + 章节进度条）
   ========================================================================== */
body.dm-open {
  overflow: hidden;
}

.dm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px 24px;
  background: rgba(14, 20, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: dmFade 0.2s ease-out;
}

@keyframes dmFade {
  from {
    opacity: 0;
  }
}

.dm-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dm-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.dm-stage-wrap {
  width: min(980px, 100%, calc((100vh - 220px) * 1.6));
}

.dm-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #F5F6F4;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  font-size: clamp(10px, 1.45vw, 14px);
}

.dm-scene {
  position: absolute;
  inset: 0;
}

.dm-cursor {
  position: absolute;
  z-index: 10;
  width: 2.2em;
  height: 2.2em;
  transform: translate(-12%, -8%);
  transition: left 0.9s cubic-bezier(0.45, 0, 0.2, 1), top 0.9s cubic-bezier(0.45, 0, 0.2, 1);
  pointer-events: none;
}

.dm-cursor svg {
  width: 100%;
  height: 100%;
  fill: #17201A;
  stroke: #FFFFFF;
  stroke-width: 1.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.dm-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6em;
  height: 2.6em;
  margin: -1.3em 0 0 -1.3em;
  border-radius: 50%;
  border: 2px solid rgba(28, 122, 67, 0.9);
  opacity: 0;
}

.dm-cursor.is-click .dm-ripple {
  animation: dmRipple 0.6s ease-out;
}

@keyframes dmRipple {
  from {
    opacity: 1;
    transform: scale(0.2);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}

.is-paused .dm-cursor {
  transition: none;
}

.dm-caption {
  min-height: 1.6em;
  max-width: 900px;
  text-align: center;
  color: #FFFFFF;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.dm-caption.is-in {
  animation: dmCap 0.35s ease-out;
}

@keyframes dmCap {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.dm-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(720px, 100%);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(30, 36, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dm-play {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.dm-play::before,
.dm-play::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 4px;
  height: 12px;
  border-radius: 1px;
  background: #FFFFFF;
}

.dm-play::before {
  left: 12px;
}

.dm-play::after {
  left: 20px;
}

.is-paused .dm-play::before {
  left: 14px;
  width: 0;
  height: 0;
  top: 11px;
  border-radius: 0;
  background: none;
  border-left: 11px solid #FFFFFF;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.is-paused .dm-play::after {
  display: none;
}

.dm-chapters {
  flex: 1;
  display: flex;
  gap: 6px;
  min-width: 0;
}

.dm-chapter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.dm-bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.dm-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #34C46E;
}

.dm-chapter-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-chapter.is-current .dm-chapter-label,
.dm-chapter:hover .dm-chapter-label {
  color: #FFFFFF;
}

.dm-time {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* ---- 模拟画面通用件（单位用 em，随舞台等比缩放） ---- */
.dm-page {
  position: absolute;
  inset: 0;
  padding: 2.2em 2.6em;
  background: #F5F6F4;
  color: #17201A;
  font-family: var(--font-sans);
}

.dm-topbar {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: -0.6em 0 1.6em;
  font-size: 0.95em;
}

.dm-logo {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  background: #17201A;
  color: #FFFFFF;
  font-weight: 700;
}

.dm-nav-pill {
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dm-nav {
  color: #8A918C;
}

.dm-hero {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 1.6em 1.8em;
  border-radius: 1em;
  background: linear-gradient(110deg, #FFFFFF, #DDEEDF);
  margin-bottom: 1.6em;
}

.dm-hero b {
  font-size: 2em;
}

.dm-hero span {
  font-size: 1.3em;
  font-weight: 700;
  color: #1C7A43;
}

.dm-hall-title {
  font-weight: 800;
  font-size: 1.3em;
  margin-bottom: 0.8em;
}

.dm-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.dm-card {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 1.1em 1.2em;
  border-radius: 1em;
  background: #FFFFFF;
  border: 1px solid rgba(23, 32, 26, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.dm-card i {
  font-style: normal;
  font-size: 0.85em;
  color: #8A918C;
}

.dm-card strong {
  font-size: 1.6em;
}

.is-hl {
  border-color: #1C7A43 !important;
  box-shadow: 0 0 0 0.3em rgba(28, 122, 67, 0.18) !important;
  transform: translateY(-0.2em);
}

.dm-plan {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1.4em;
}

.dm-plan-left,
.dm-plan-right {
  background: #FFFFFF;
  border-radius: 1em;
  border: 1px solid rgba(23, 32, 26, 0.08);
  padding: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.dm-plan-title {
  font-size: 1.8em;
  font-weight: 800;
}

.dm-lines {
  display: grid;
  gap: 0.6em;
}

.dm-lines i {
  display: block;
  height: 0.6em;
  border-radius: 1em;
  background: #EEF0ED;
}

.dm-steps {
  display: flex;
  gap: 0.6em;
  margin-top: auto;
}

.dm-steps span {
  flex: 1;
  padding: 0.6em;
  border-radius: 0.7em;
  background: #F5F6F4;
  font-size: 0.85em;
  text-align: center;
}

.dm-label {
  font-size: 0.85em;
  color: #8A918C;
}

.dm-price {
  font-size: 2.3em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dm-opt {
  padding: 0.7em 1em;
  border-radius: 0.8em;
  border: 1.5px solid #1C7A43;
  font-size: 0.9em;
  font-weight: 600;
}

.dm-input {
  min-height: 2.5em;
  padding: 0.6em 0.9em;
  border-radius: 0.8em;
  border: 1px solid rgba(23, 32, 26, 0.16);
  font-size: 0.95em;
}

.dm-caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: middle;
  background: #17201A;
  animation: pcBlink 1s steps(2) infinite;
}

.dm-btn {
  margin-top: auto;
  padding: 0.8em;
  border-radius: 999px;
  background: #1C7A43;
  color: #FFFFFF;
  text-align: center;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dm-btn.is-hl {
  transform: scale(0.97);
}

.dm-order-steps {
  display: flex;
  gap: 0.8em;
}

.dm-order-steps span {
  flex: 1;
  padding-top: 0.6em;
  border-top: 0.25em solid #DDE1DC;
  font-size: 0.9em;
  color: #8A918C;
}

.dm-order-steps span.on {
  border-color: #1C7A43;
  color: #17201A;
  font-weight: 700;
}

.dm-order-steps span.done {
  border-color: rgba(28, 122, 67, 0.45);
  color: #1C7A43;
}

.dm-order-body {
  display: flex;
  gap: 2em;
  margin-top: 1.6em;
  padding: 1.6em;
  border-radius: 1em;
  background: #FFFFFF;
  border: 1px solid rgba(23, 32, 26, 0.08);
}

.dm-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  font-size: 0.85em;
  color: #1677FF;
  font-weight: 600;
}

.dm-qr-grid {
  width: 9em;
  height: 9em;
  border-radius: 0.6em;
  background:
    linear-gradient(90deg, #17201A 0 22%, transparent 22% 78%, #17201A 78%) 0 0 / 100% 22% no-repeat,
    linear-gradient(90deg, #17201A 0 22%, transparent 22% 78%, #17201A 78%) 0 100% / 100% 22% no-repeat,
    repeating-conic-gradient(#17201A 0 25%, #FFFFFF 0 50%) 0 0 / 1.1em 1.1em;
  border: 0.6em solid #FFFFFF;
  outline: 1px solid rgba(23, 32, 26, 0.1);
}

.dm-order-info {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  justify-content: center;
}

.dm-countdown {
  font-size: 0.9em;
  color: #8A918C;
}

.dm-paid,
.dm-tag,
.dm-toast,
.dm-done-card,
.dm-phone {
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.4s, transform 0.4s;
}

.dm-paid.is-shown,
.dm-tag.is-shown,
.dm-toast.is-shown,
.dm-done-card.is-shown,
.dm-phone.is-shown {
  opacity: 1;
  transform: none;
}

.dm-paid {
  font-weight: 700;
  color: #1C7A43;
  font-size: 1.2em;
}

.dm-phone {
  position: absolute;
  right: 3em;
  bottom: 2em;
  width: 7em;
  height: 12em;
  border-radius: 1.2em;
  background: #17201A;
  padding: 0.5em;
  box-shadow: 0 1em 2em rgba(0, 0, 0, 0.25);
}

.dm-phone-scan {
  width: 100%;
  height: 100%;
  border-radius: 0.8em;
  background: linear-gradient(180deg, #1677FF 0%, #4B9BFF 100%);
  position: relative;
  overflow: hidden;
}

.dm-phone-scan::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  animation: dmScan 1.4s ease-in-out infinite alternate;
}

@keyframes dmScan {
  from {
    top: 20%;
  }
  to {
    top: 80%;
  }
}

.dm-browser {
  padding: 0;
  background: #FFFFFF;
}

.dm-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.7em 1em;
  background: #EEF0ED;
  border-bottom: 1px solid rgba(23, 32, 26, 0.08);
}

.dm-browser-bar i {
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: #E06C5E;
}

.dm-browser-bar i:nth-child(2) {
  background: #E9B949;
}

.dm-browser-bar i:nth-child(3) {
  background: #5FB565;
}

.dm-url {
  margin-left: 1em;
  flex: 1;
  padding: 0.35em 1em;
  border-radius: 999px;
  background: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: #4E5751;
  text-align: center;
}

.dm-json {
  padding: 1em 1.4em;
  font-family: var(--font-mono);
  font-size: 0.72em;
  line-height: 1.55;
  word-break: break-all;
  color: #4E5751;
  height: calc(100% - 2.6em);
  overflow: hidden;
  transition: background 0.3s;
}

.dm-json.is-selected {
  background: rgba(22, 119, 255, 0.18);
  color: #17201A;
}

.dm-tag {
  position: absolute;
  right: 1.6em;
  top: 3.6em;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: #17201A;
  color: #FFFFFF;
  font-size: 0.85em;
}

.dm-toast {
  position: absolute;
  left: 50%;
  top: 45%;
  margin-left: -3em;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  background: #1C7A43;
  color: #FFFFFF;
  font-weight: 700;
}

.dm-paste {
  opacity: 0;
  transform: translateX(3%);
  transition: opacity 0.45s, transform 0.45s;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  pointer-events: none;
}

.dm-paste.is-shown {
  opacity: 1;
  transform: none;
}

.dm-textarea {
  height: 12em;
  padding: 0.8em 1em;
  border-radius: 0.9em;
  background: #FFFFFF;
  border: 1px solid rgba(23, 32, 26, 0.16);
  overflow: hidden;
  position: relative;
}

.dm-ph {
  font-size: 0.85em;
  color: #A4AAA6;
}

.dm-textarea.is-filled .dm-ph {
  display: none;
}

.dm-pasted {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72em;
  line-height: 1.5;
  word-break: break-all;
  color: #17201A;
}

.dm-paste .dm-btn {
  margin-top: 0.4em;
}

.dm-done {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.dm-done-card {
  align-self: center;
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  padding: 2.4em 4em;
  border-radius: 1.2em;
  background: #FFFFFF;
  border: 1px solid rgba(23, 32, 26, 0.08);
  box-shadow: 0 1em 2.4em rgba(23, 32, 26, 0.08);
}

.dm-done-ic {
  display: grid;
  place-items: center;
  width: 3.4em;
  height: 3.4em;
  border-radius: 50%;
  background: #1C7A43;
  color: #FFFFFF;
  font-size: 1.4em;
  font-weight: 800;
}

.dm-done-card b {
  font-size: 1.6em;
}

.dm-done-card span {
  color: #8A918C;
}

@media (max-width: 720px) {
  .dm-overlay {
    padding: 56px 10px 16px;
  }
  .dm-controls {
    padding-right: 12px;
    gap: 10px;
  }
  .dm-chapter-label {
    font-size: 10.5px;
  }
  .dm-time {
    display: none;
  }
}

.pl-help-link button {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================
   订单页（prodclub 订单页布局）
   ========================================================== */
.od-shell { max-width: 1000px; margin: 0 auto; padding: 28px 20px 64px; }
.od-ic, .od-ic-fill { width: 16px; height: 16px; flex: none; }
.od-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.od-ic-fill { fill: currentColor; }

.od-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.od-idline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.od-back { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--surface); border: 1px solid rgba(var(--ink-rgb), .1); }
.od-back:hover { border-color: rgba(var(--ink-rgb), .25); }
.od-back .od-ic { width: 18px; height: 18px; }
.od-id-label { font-size: 18px; color: var(--ink); }
.od-id { font-size: 16px; color: var(--ink); letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-icon-btn { border: 0; background: transparent; color: var(--ink-muted); padding: 6px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.od-icon-btn:hover { background: rgba(var(--ink-rgb), .06); color: var(--ink); }
.od-top-actions { display: flex; gap: 8px; }
.od-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .12); background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer; white-space: nowrap; }
.od-chip:hover { border-color: rgba(var(--ink-rgb), .3); }
.od-chip-ghost { background: transparent; }
.od-topnote { margin: 12px 0 18px; font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

.od-card { background: var(--surface); border-radius: var(--pc-radius, 20px); box-shadow: var(--pc-shadow); border: 1px solid rgba(var(--ink-rgb), .06); overflow: hidden; }
.od-tabs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(var(--ink-rgb), .08); }
.od-tab { position: relative; padding: 16px 22px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-3); font-size: 15px; border-right: 1px solid rgba(var(--ink-rgb), .06); }
.od-tab:last-child { border-right: 0; }
.od-tab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(var(--ink-rgb), .08); }
.od-tab-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.od-tab-sub { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.od-tab.is-done { color: var(--ink); }
.od-tab.is-done::before { background: var(--pc-green); }
.od-tab.is-done .od-tab-title .od-ic { color: var(--pc-green); }
.od-tab.is-active { color: var(--ink); background: var(--surface-tint); }
.od-tab.is-active::before { background: var(--pc-green); opacity: .45; }
.od-tab.is-active .od-tab-title { font-weight: 600; }
.od-tab.is-active .od-tab-sub { color: var(--pc-green); font-weight: 600; }
.od-tab.is-warn { color: var(--warn-ink); }
.od-tab.is-warn::before { background: #E3A13B; }

.od-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.od-main { padding: 26px 28px 30px; min-width: 0; }
.od-side { padding: 24px 24px 26px; border-left: 1px solid rgba(var(--ink-rgb), .08); background: var(--surface-tint); display: flex; flex-direction: column; gap: 14px; }

.od-paid-line { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-green); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.od-paid-line .od-ic { width: 18px; height: 18px; }
.od-lead { margin: 0 0 16px; color: var(--ink); font-size: 15px; line-height: 1.7; }
.od-muted { color: var(--ink-muted); font-size: 13px; }

.od-howto { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.od-howto li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.65; color: var(--ink-body); }
.od-howto-n { width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--emerald-rgb), .1); color: var(--pc-green); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; margin-top: 1px; }
.od-linkchip { margin-top: 8px; display: inline-flex; align-items: center; border: 1px solid rgba(var(--ink-rgb), .12); border-radius: 10px; overflow: hidden; background: var(--surface); max-width: 100%; }
.od-linkchip a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-linkchip a .od-ic { width: 13px; height: 13px; color: var(--ink-muted); }
.od-linkchip button { display: inline-flex; align-items: center; gap: 5px; border: 0; border-left: 1px solid rgba(var(--ink-rgb), .12); background: var(--bg); padding: 7px 12px; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.od-linkchip button:hover { background: var(--surface-soft); }
.od-linkchip button .od-ic { width: 13px; height: 13px; }
.od-demo-link { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(var(--emerald-rgb), .08); color: var(--pc-green); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.od-demo-link:hover { background: rgba(var(--emerald-rgb), .14); }
.od-demo-link .od-ic-fill { width: 12px; height: 12px; }
.od-bookmarklet { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 16px; border-radius: 12px; background: var(--bg); font-size: 13px; color: var(--ink-muted); }
.od-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.od-textarea { width: 100%; min-height: 120px; resize: vertical; border-radius: 14px; font-size: 13px; }
.od-privacy { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; }
.od-privacy .od-ic { width: 14px; height: 14px; margin-top: 2px; }

.od-cdk { margin-top: 20px; border-top: 1px dashed rgba(var(--ink-rgb), .14); padding-top: 14px; }
.od-cdk summary { cursor: pointer; font-size: 13px; color: var(--ink-muted); list-style: none; }
.od-cdk summary::-webkit-details-marker { display: none; }
.od-cdk summary::before { content: '›'; display: inline-block; margin-right: 6px; transition: transform .2s; }
.od-cdk[open] summary::before { transform: rotate(90deg); }
.od-cdk-box { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.od-cdk-label { font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.od-cdk-code { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: .04em; word-break: break-all; }
.od-cdk-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.od-pay { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; }
.od-qr { text-align: center; }
.od-qr-box { width: 200px; height: 200px; margin: 0 auto; padding: 10px; border-radius: 16px; border: 1px solid rgba(var(--ink-rgb), .1); background: #fff; }
.od-qr-box svg { width: 100%; height: 100%; display: block; }
.od-qr-cap { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); }
.od-alipay { width: 18px; height: 18px; border-radius: 5px; background: #1677FF; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.od-pay-label { font-size: 13px; color: var(--ink-muted); }
.od-pay-amount { font-size: 38px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin: 2px 0 6px; }
.od-pay-timer { font-size: 13px; color: var(--ink-muted); margin-bottom: 14px; }
.od-pay-timer strong { color: var(--orange-ink); }
.od-mini-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.od-mini-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-body); line-height: 1.6; }
.od-mini-list .od-ic { color: var(--pc-green); margin-top: 3px; width: 15px; height: 15px; }

.od-state { text-align: center; padding: 18px 8px 6px; }
.od-state h2 { font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.od-state p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; margin: 0 auto 14px; max-width: 520px; }
.od-state .btn { margin-top: 4px; }
.od-state-left { text-align: left; padding: 0; }
.od-state-left p { margin-left: 0; }
.od-state-left .badge { margin-bottom: 10px; }
.od-state-ic { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(var(--emerald-rgb), .1); color: var(--pc-green); font-size: 26px; font-weight: 700; }
.od-state-ic.is-warn { background: var(--tint-amber-2); color: var(--amber); }
.od-kv { display: grid; gap: 0; border: 1px solid rgba(var(--ink-rgb), .08); border-radius: 14px; overflow: hidden; margin-top: 6px; text-align: left; }
.od-kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14px; border-bottom: 1px solid rgba(var(--ink-rgb), .06); }
.od-kv > div:last-child { border-bottom: 0; }
.od-kv span { color: var(--ink-muted); flex: none; }
.od-kv strong { font-weight: 500; color: var(--ink); text-align: right; word-break: break-all; }
.od-kv-center { max-width: 420px; margin: 8px auto 0; }

.od-side-head { display: flex; align-items: center; gap: 12px; }
.od-prod-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-soft); display: grid; place-items: center; color: var(--ink); flex: none; }
.od-prod-ic .od-ic { width: 20px; height: 20px; }
.od-prod-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.od-prod-text strong { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.od-prod-text span { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.od-status .badge { white-space: nowrap; }
.od-rows { display: grid; border-top: 1px solid rgba(var(--ink-rgb), .08); }
.od-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 13.5px; border-bottom: 1px solid rgba(var(--ink-rgb), .06); }
.od-rows span { color: var(--ink-muted); flex: none; }
.od-rows strong { font-weight: 500; color: var(--ink); text-align: right; word-break: break-all; }
.od-green { color: var(--pc-green) !important; }
.od-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 2px; }
.od-total span { font-size: 14px; color: var(--ink-muted); }
.od-total strong { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.od-submit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.od-side-note { margin: 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; text-align: center; }

.od-cross { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; background: var(--surface); border-radius: var(--pc-radius, 20px); border: 1px solid rgba(var(--ink-rgb), .06); box-shadow: var(--pc-shadow); }
.od-cross h3 { margin: 6px 0 4px; font-size: 16px; font-weight: 600; }
.od-cross p { margin: 0; font-size: 13.5px; color: var(--ink-muted); }

.od-timeline { margin-top: 16px; background: var(--surface); border-radius: var(--pc-radius, 20px); border: 1px solid rgba(var(--ink-rgb), .06); padding: 14px 22px; }
.od-timeline summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; list-style: none; }
.od-timeline summary::-webkit-details-marker { display: none; }
.od-timeline summary span { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.od-timeline .timeline { margin-top: 14px; }

@media (max-width: 860px) {
  .od-body { grid-template-columns: 1fr; }
  .od-side { border-left: 0; border-top: 1px solid rgba(var(--ink-rgb), .08); }
  .od-pay { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .od-mini-list li { text-align: left; }
}
@media (max-width: 600px) {
  .od-shell { padding: 18px 14px 48px; }
  .od-top-actions { width: 100%; }
  .od-chip { flex: 1; justify-content: center; }
  .od-tab { flex-direction: column; align-items: flex-start; padding: 12px 12px 10px; font-size: 13px; gap: 2px; }
  .od-tab-title .od-ic { display: none; }
  .od-main { padding: 20px 18px 22px; }
  .od-side { padding: 20px 18px; }
  .od-id { font-size: 14px; }
}
.od-side-head { align-items: flex-start; }
.od-prod-text .od-status { margin-top: 8px; }
.od-id-label { white-space: nowrap; flex: none; }
@media (max-width: 600px) { .od-id-label { font-size: 15px; } .od-idline { width: 100%; } }

/* ---------- Gemini 双模式（免工具账号密码 / 插件导 Cookie） ---------- */
.gem-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gem-tip {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: var(--warn-ink);
  font-size: 12.5px;
  line-height: 1.55;
}
.gem-tip a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gem-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-soft, var(--surface-soft));
}
.gem-tab {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  color: var(--ink-2, var(--ink-2));
  transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.gem-tab strong {
  font-size: 13.5px;
  font-weight: 600;
  color: inherit;
}
.gem-tab em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-3, var(--ink-3));
}
.gem-tab.is-active {
  background: var(--surface);
  color: var(--ink, var(--ink));
  border-color: rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 1px 3px rgba(var(--shadow-rgb), 0.08);
}
.gem-tab.is-active .gem-badge {
  color: var(--emerald, #1F7A45);
  font-weight: 600;
}
.gem-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gem-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gem-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, var(--ink));
}
.gem-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.gem-pass-wrap .input {
  width: 100%;
  padding-right: 58px;
}
.gem-pass-toggle {
  position: absolute;
  right: 8px;
  border: 0;
  background: var(--surface-soft, var(--surface-soft));
  color: var(--ink-2, var(--ink-2));
  font-size: 12px;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}
.gem-pass-toggle:hover {
  background: var(--surface-hover);
  color: var(--ink, var(--ink));
}
.gem-ext-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-tint, var(--surface-tint));
  border: 1px solid var(--border, rgba(var(--ink-rgb), 0.08));
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.gem-ext-head {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink, var(--ink));
}
.gem-ext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.gem-ext-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  background: var(--emerald-soft, rgba(var(--emerald-rgb), 0.08));
  border: 1px solid var(--emerald-border, rgba(var(--emerald-rgb), 0.22));
  color: var(--emerald, #1F7A45);
  transition: background .15s, border-color .15s;
}
.gem-ext-btn:hover {
  background: rgba(var(--emerald-rgb), 0.14);
}
.gem-ext-btn.is-soft {
  background: var(--surface);
  border-color: var(--border-strong, rgba(var(--ink-rgb), 0.14));
  color: var(--ink-2, var(--ink-2));
}
.gem-ext-steps {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2, var(--ink-2));
}
.gem-ext-steps code {
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(var(--ink-rgb), 0.06);
}
.gem-login-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gem-login-ok {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--emerald, #1F7A45);
}
.gem-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3, var(--ink-muted));
}
@media (max-width: 520px) {
  .gem-tabs { grid-template-columns: 1fr; }
}

/* ==========================================================
   查订单页 /orders（prodclub 风格）
   ========================================================== */
.os-shell { max-width: 760px; margin: 0 auto; padding: 8px 20px 72px; }
.os-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os-search { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 8px 0 22px; background: var(--surface); border: 1px solid rgba(var(--ink-rgb), .1); border-radius: 999px; box-shadow: var(--pc-shadow); transition: border-color .2s, box-shadow .2s; }
.os-search:focus-within { border-color: var(--pc-green); box-shadow: 0 0 0 4px var(--pc-green-ring, rgba(var(--emerald-rgb), .15)); }
.os-search > .os-ic { width: 20px; height: 20px; color: var(--ink-muted); }
.os-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); height: 100%; }
.os-search input::placeholder { color: var(--ink-3); }
.os-search .btn { height: 44px; padding: 0 26px; border-radius: 999px; flex: none; }
.os-hints { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 14px 0 28px; font-size: 13px; color: var(--ink-muted); }
.os-hints span { display: inline-flex; align-items: center; gap: 6px; }
.os-hints .os-ic { width: 14px; height: 14px; }

.os-panel { background: var(--surface); border-radius: var(--pc-radius, 20px); border: 1px solid rgba(var(--ink-rgb), .06); box-shadow: var(--pc-shadow); overflow: hidden; margin-bottom: 16px; }
.os-panel[hidden] { display: none; }
.os-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid rgba(var(--ink-rgb), .07); }
.os-panel-head h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.os-panel-head h2 .os-ic { color: var(--ink-muted); }
.os-panel-head > span { font-size: 13px; color: var(--ink-3); }

.os-list { display: flex; flex-direction: column; }
.os-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto 18px; align-items: center; gap: 14px; padding: 14px 22px; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(var(--ink-rgb), .06); transition: background .15s; }
.os-row:last-child { border-bottom: 0; }
.os-row:hover { background: var(--surface-tint); }
.os-row:hover .os-row-go { color: var(--pc-green); transform: translateX(2px); }
.os-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--surface-soft); color: var(--ink); }
.os-mark-gpt { background: #E8F3EC; color: var(--emerald); }
.os-mark-claude { background: #F8ECE4; color: #B0552B; }
.os-mark-gemini { background: #E8EEFB; color: #2F5BD3; }
.os-mark-grok { background: #EDEDED; color: var(--ink); }
.os-mark-service { background: var(--tint-amber-2); color: var(--warn-ink); font-size: 13px; }
.os-row-main { display: flex; flex-direction: column; min-width: 0; }
.os-row-title { font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-row-meta { font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-row-status .badge { white-space: nowrap; }
.os-row-amount { display: flex; flex-direction: column; align-items: flex-end; }
.os-row-amount strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.os-row-amount span { font-size: 12px; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.os-row-go { color: var(--ink-4); display: grid; place-items: center; transition: transform .15s, color .15s; }

.os-empty { padding: 34px 22px; text-align: center; }
.os-empty p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }
.os-muted { color: var(--ink-3) !important; font-size: 13px !important; }
.os-err { color: var(--danger-ink) !important; }
.os-foot { margin: 20px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

@media (max-width: 600px) {
  .os-shell { padding: 0 14px 56px; }
  .os-search { height: 54px; padding-left: 16px; }
  .os-search .btn { height: 40px; padding: 0 18px; }
  .os-search input { font-size: 15px; }
  .os-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .os-mark { width: 36px; height: 36px; }
  .os-row-status { grid-column: 2; grid-row: 2; }
  .os-row-amount { grid-column: 3; grid-row: 1 / span 2; }
  .os-row-go { display: none; }
  .os-panel-head { padding: 14px 16px; }
}

/* ==========================================================
   Gemini Cookie-Editor 实拍截图动画（全屏演示 + 内嵌小剧场）
   ========================================================== */
.dm-gem-browser .dm-browser-bar {
  padding: 0.55em 0.9em;
  gap: 0.5em;
}
.dm-url-lock {
  font-style: normal;
  color: #1C7A43;
  font-size: 0.75em;
  margin-right: 0.35em;
  vertical-align: 0.08em;
}
.dm-ext-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-left: 0.5em;
}
.dm-cookie-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  background: #FFFFFF;
  border: 1px solid rgba(23, 32, 26, 0.14);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}
.dm-cookie-btn svg {
  width: 1.35em;
  height: 1.35em;
}
.dm-scene[data-stage="0"] .dm-cookie-btn,
.dm-scene[data-stage="1b"] .dm-cookie-btn {
  border-color: #1C7A43;
  animation: ceCookiePulse 1.3s ease-in-out infinite;
}
.dm-cookie-btn.is-hl {
  transform: scale(0.92);
  border-color: #1C7A43 !important;
  box-shadow: 0 0 0 0.26em rgba(28, 122, 67, 0.28) !important;
}
.dm-ext-avatar {
  display: grid;
  place-items: center;
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: #FFFFFF;
  font-size: 0.78em;
  font-weight: 700;
}

.dm-gem-canvas {
  position: relative;
  height: calc(100% - 2.95em);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(59, 130, 246, 0.09), transparent 44%),
    radial-gradient(circle at 38% 82%, rgba(28, 122, 67, 0.08), transparent 48%),
    linear-gradient(155deg, #F8FAF9 0%, #EDF2EE 100%);
}
.dm-gem-side {
  width: 48%;
  height: 100%;
  padding: 1.55em 1.6em;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
}
.dm-gem-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1.15em;
}
.dm-gem-spark {
  color: #2563EB;
  font-size: 1.2em;
}
.dm-gem-status {
  margin-left: 0.3em;
  padding: 0.22em 0.65em;
  border-radius: 999px;
  background: rgba(28, 122, 67, 0.12);
  color: #1C7A43;
  font-size: 0.66em;
  font-weight: 700;
}
.dm-gem-title {
  font-size: 1.28em;
  font-weight: 800;
  color: #17201A;
  letter-spacing: -0.01em;
}
.dm-gem-checklist {
  list-style: none;
  margin: 0.2em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.dm-gem-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.55em 0.8em;
  border-radius: 0.75em;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 26, 0.07);
  color: #6B746E;
  font-size: 0.88em;
  transition: background 0.28s, border-color 0.28s, color 0.28s, transform 0.28s;
}
.dm-gem-checklist li span {
  display: grid;
  place-items: center;
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  background: #E6EAE7;
  color: #4E5751;
  font-size: 0.82em;
  font-weight: 800;
  flex: none;
  transition: background 0.28s, color 0.28s;
}
.dm-gem-checklist li b {
  font-weight: 600;
}
.dm-gem-alt {
  margin-top: auto;
  padding: 0.6em 0.85em;
  border-radius: 0.7em;
  background: rgba(23, 32, 26, 0.05);
  color: #5C655F;
  font-size: 0.78em;
  line-height: 1.45;
}

/* 清单高亮 / 完成状态（按 stageAttr 幂等驱动） */
.dm-scene[data-stage="0"] [data-gs="1"],
.dm-scene[data-stage="1"] [data-gs="2"],
.dm-scene[data-stage="1b"] [data-gs="2"],
.dm-scene[data-stage="2"] [data-gs="3"],
.dm-scene[data-stage="3"] [data-gs="4"] {
  background: var(--dm-gs-on-bg, #FFFFFF);
  border-color: rgba(28, 122, 67, 0.45);
  color: var(--dm-gs-on-ink, #17201A);
  transform: translateX(0.25em);
  box-shadow: 0 0.35em 1em rgba(23, 32, 26, 0.07);
}
.dm-scene[data-stage="0"] [data-gs="1"] span,
.dm-scene[data-stage="1"] [data-gs="2"] span,
.dm-scene[data-stage="1b"] [data-gs="2"] span,
.dm-scene[data-stage="2"] [data-gs="3"] span,
.dm-scene[data-stage="3"] [data-gs="4"] span {
  background: var(--dm-gs-dot, #1C7A43);
  color: var(--dm-gs-dot-ink, #FFFFFF);
}

.dm-scene[data-stage="1"] [data-gs="1"],
.dm-scene[data-stage="1b"] [data-gs="1"],
.dm-scene[data-stage="2"] [data-gs="1"],
.dm-scene[data-stage="2"] [data-gs="2"],
.dm-scene[data-stage="3"] [data-gs="1"],
.dm-scene[data-stage="3"] [data-gs="2"],
.dm-scene[data-stage="3"] [data-gs="3"],
.dm-scene[data-stage="4"] [data-gs="1"],
.dm-scene[data-stage="4"] [data-gs="2"],
.dm-scene[data-stage="4"] [data-gs="3"],
.dm-scene[data-stage="4"] [data-gs="4"] {
  color: var(--dm-gs-done-ink, #1C7A43);
  background: rgba(28, 122, 67, 0.08);
  border-color: rgba(28, 122, 67, 0.22);
}
.dm-scene[data-stage="1"] [data-gs="1"] span,
.dm-scene[data-stage="1b"] [data-gs="1"] span,
.dm-scene[data-stage="2"] [data-gs="1"] span,
.dm-scene[data-stage="2"] [data-gs="2"] span,
.dm-scene[data-stage="3"] [data-gs="1"] span,
.dm-scene[data-stage="3"] [data-gs="2"] span,
.dm-scene[data-stage="3"] [data-gs="3"] span,
.dm-scene[data-stage="4"] [data-gs="1"] span,
.dm-scene[data-stage="4"] [data-gs="2"] span,
.dm-scene[data-stage="4"] [data-gs="3"] span,
.dm-scene[data-stage="4"] [data-gs="4"] span {
  background: var(--dm-gs-dot, #1C7A43);
  color: var(--dm-gs-dot-ink, #FFFFFF);
}

/* 右上角真实 Cookie-Editor 扩展浮层 */
.dm-ce-pop {
  position: absolute;
  top: 0.7em;
  right: 1.5em;
  width: 45%;
  border-radius: 0.75em;
  background: #232629;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1.4em 3.2em rgba(14, 20, 16, 0.38);
  opacity: 0;
  transform: translateY(-0.55em);
  pointer-events: none;
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}
.dm-ce-arrow {
  position: absolute;
  top: -0.42em;
  right: 1.9em;
  width: 0.85em;
  height: 0.85em;
  background: #2C2E32;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(45deg);
}
.dm-scene[data-stage="1"] .dm-ce-pop,
.dm-scene[data-stage="2"] .dm-ce-pop,
.dm-scene[data-stage="3"] .dm-ce-pop,
.dm-scene[data-stage="4"] .dm-ce-pop {
  opacity: 1;
  transform: none;
}

.dm-ce-shot {
  position: relative;
  display: none;
  border-radius: 0.7em;
  background: #232629;
}
.dm-ce-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.dm-scene[data-stage="1"] .dm-ce-s1,
.dm-scene[data-stage="2"] .dm-ce-s2,
.dm-scene[data-stage="3"] .dm-ce-s3,
.dm-scene[data-stage="4"] .dm-ce-s3 {
  display: block;
}
.dm-scene[data-stage="1"] .dm-ce-s1 {
  animation: cePopIn 0.28s ease-out;
}
.dm-scene[data-stage="2"] .dm-ce-s2 {
  animation: cePopIn 0.3s ease-out;
}

/* 按钮精准脉冲高亮框 */
.dm-hs {
  position: absolute;
  border-radius: 0.45em;
  border: 2.5px solid #34D378;
  background: rgba(52, 211, 120, 0.14);
  box-shadow: 0 0 0 0 rgba(52, 211, 120, 0.55);
  animation: ceHsPulse 1.35s ease-out infinite;
  transition: transform 0.18s, background 0.18s, opacity 0.25s;
}
.dm-hs.is-hl {
  background: rgba(52, 211, 120, 0.34);
  transform: scale(0.96);
}
.dm-scene[data-stage="4"] .dm-hs {
  opacity: 0;
}
.dm-hs-tag {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.35em);
  transform: translateX(-50%);
  padding: 0.22em 0.65em;
  border-radius: 999px;
  background: #1C7A43;
  color: #FFFFFF;
  font-size: 0.72em;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.dm-hs-tag.is-above {
  top: auto;
  bottom: calc(100% + 0.38em);
}
.dm-hs-tag.is-right {
  left: auto;
  right: 0.25em;
  transform: none;
}

.dm-gem-toast {
  left: 74.5%;
  top: auto;
  bottom: 1.45em;
  margin-left: 0;
  transform: translate(-50%, 0.6em);
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(14, 20, 16, 0.32);
  z-index: 6;
}
.dm-gem-toast.is-shown {
  transform: translate(-50%, 0);
}

.dm-gem-mini-tabs {
  display: inline-flex;
  align-self: flex-start;
  gap: 0.4em;
  padding: 0.28em;
  margin-top: 0.65em;
  border-radius: 0.75em;
  background: #E8ECE9;
  font-size: 0.82em;
}
.dm-gem-mini-tabs span {
  padding: 0.38em 0.9em;
  border-radius: 0.55em;
  color: #6B746E;
  font-weight: 600;
}
.dm-gem-mini-tabs span.is-on {
  background: #FFFFFF;
  color: #1C7A43;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.dm-textarea-sm {
  height: 10.2em;
}
button.gem-ext-btn {
  cursor: pointer;
  font-family: inherit;
}

@keyframes ceCookiePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 120, 0.55); }
  60% { box-shadow: 0 0 0 6px rgba(52, 211, 120, 0); }
}
@keyframes ceHsPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 120, 0.62); }
  75% { box-shadow: 0 0 0 8px rgba(52, 211, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 120, 0); }
}
@keyframes cePopIn {
  from { opacity: 0.35; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .dm-gem-side { width: 49%; padding: 1em; }
  .dm-ce-pop { width: 47%; right: 0.9em; }
}

/* ---------- 白天 / 夜晚切换按钮 ---------- */
.theme-toggle {
  font-family: inherit;
  cursor: pointer;
}
.site-nav .theme-toggle {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  gap: 0;
  margin-left: 2px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
}
.site-nav .theme-toggle:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}
.theme-toggle .theme-toggle-label {
  display: none;
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease;
}
.theme-toggle .ic-sun,
html[data-theme="dark"] .theme-toggle .ic-moon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .ic-sun {
  display: block;
}
.theme-toggle:hover svg {
  transform: rotate(-14deg);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--pc-green);
  outline-offset: 2px;
}
.header-mobile-actions {
  display: none;
}
.theme-toggle-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
  color: var(--ink);
}
.theme-toggle-mobile svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .header-mobile-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  /* 抽屉里：整行「夜晚模式 / 白天模式」，与其它工具入口同样式 */
  .site-nav .theme-toggle {
    width: auto;
    height: auto;
    padding: 11px 14px;
    margin: 0;
    gap: 7px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    border-radius: 10px;
  }
  .site-nav .theme-toggle .theme-toggle-label {
    display: inline;
  }
}

/* ==========================================================================
   夜晚主题（html[data-theme="dark"]）
   墨绿炭黑分层：画布 #0C100E → 卡片 #131916 → 次级浮层 #1B231F
   绝大多数组件已改用令牌，这里只重定义令牌 + 少量插画/渐变/品牌色块的专门适配
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C100E;
  --bg-rgb: 12, 16, 14;
  --surface: #131916;
  --surface-rgb: 19, 25, 22;
  --surface-soft: #1B231F;
  --surface-tint: #161D19;
  --surface-hover: #232D28;
  --surface-raised: #1B231F;
  --surface-dark: #1B231F;
  --ink: #E7EDE9;
  --ink-rgb: 231, 237, 233;
  --ink-body: #CDD6D0;
  --ink-2: #A9B4AD;
  --ink-muted: #8F9B94;
  --ink-3: #76827B;
  --ink-4: #56615A;
  --ink-on-dark: #E7EDE9;
  --ink-on-dark-2: #C2CCC6;
  --ink-on-dark-3: #8F9B94;
  --border: rgba(231, 237, 233, 0.08);
  --border-strong: rgba(231, 237, 233, 0.15);
  --border-dark: rgba(231, 237, 233, 0.12);
  --border-solid: #2A342F;
  --shadow-rgb: 0, 0, 0;
  --scrim-rgb: 3, 6, 4;
  --emerald: #3DCB86;
  --emerald-rgb: 61, 203, 134;
  --emerald-bright: #4ADE94;
  --emerald-soft: rgba(61, 203, 134, 0.12);
  --emerald-border: rgba(61, 203, 134, 0.32);
  --pc-green: #34C27C;
  --pc-green-hover: #4AD28F;
  --pc-green-ring: rgba(61, 203, 134, 0.22);
  --on-accent: #04130B;
  --inverse: #E7EDE9;
  --inverse-hover: #FFFFFF;
  --on-inverse: #0C100E;
  --tint-green: #13211A;
  --tint-amber: #1E1B12;
  --tint-amber-2: #2A2414;
  --tint-blue: #121A24;
  --success-ink: #86E0B1;
  --warn-ink: #F0C27A;
  --danger-ink: #F6A8A8;
  --orange-ink: #F7A26A;
  --amber: #E5A54B;
  --amber-soft: rgba(229, 165, 75, 0.12);
  --amber-border: rgba(229, 165, 75, 0.32);
  --gold: #F3D77A;
  --alipay: #2F86FF;
  --alipay-hover: #4C98FF;
  --alipay-soft: rgba(47, 134, 255, 0.14);
  --alipay-border: rgba(47, 134, 255, 0.34);
  --danger: #EF5350;
  --danger-soft: rgba(239, 83, 80, 0.13);
  --danger-border: rgba(239, 83, 80, 0.34);
  --pc-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.22);
  --pc-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.4), 0 16px 36px rgba(0, 0, 0, 0.34);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.32), 0 6px 18px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.32), 0 10px 28px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-dark: 0 20px 46px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] ::selection {
  background: rgba(61, 203, 134, 0.32);
  color: #FFFFFF;
}

/* 主题切换时颜色平滑过渡（首次加载不触发，见 theme-init.js 的 .theme-anim） */
html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.2s ease, fill 0.2s ease, box-shadow 0.28s ease !important;
}

/* 顶部演示条在夜晚压低一点亮度，避免比画布还亮 */
html[data-theme="dark"] .demo-banner {
  background: #101613;
  border-bottom: 1px solid var(--border);
}

/* 首页横幅：墨绿径向光 + 代码字符纹理 */
html[data-theme="dark"] .compact-hero.pc-hero {
  background:
    radial-gradient(120% 140% at 80% 38%, rgba(46, 140, 92, 0.26) 0%, rgba(30, 72, 50, 0.18) 40%, rgba(19, 25, 22, 0) 74%),
    var(--surface);
}
html[data-theme="dark"] .pc-hero-code {
  color: rgba(61, 203, 134, 0.13);
}
html[data-theme="dark"] .pc-hero-fade {
  background: linear-gradient(90deg, rgba(19, 25, 22, 0.75) 0%, rgba(19, 25, 22, 0) 48%);
}
html[data-theme="dark"] .pc-wordmark-title {
  font-weight: 300;
  color: #F1F5F2;
}

/* 商品卡右下角小插画：纸张/书页/屏幕改为夜色纸张 */
html[data-theme="dark"] .pc-doc-sheet,
html[data-theme="dark"] .pc-book-page,
html[data-theme="dark"] .pc-thumb-card,
html[data-theme="dark"] .pc-laptop-screen {
  background: #1E2823;
}
html[data-theme="dark"] .pc-doc-back {
  background: #18201C;
}
html[data-theme="dark"] .pc-laptop-base {
  background: linear-gradient(180deg, #3A4540, #262E2A);
}
html[data-theme="dark"] .pc-card-photo {
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(160deg, #2F5E44 0%, #23503A 55%, #1A4230 100%);
}
html[data-theme="dark"] .pc-card-photo::after {
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .pc-bird {
  border-top-color: #CFE8D6;
}
html[data-theme="dark"] .pc-mult-lo { color: #9FB0A5; }
html[data-theme="dark"] .pc-mult-hi { color: #E8B04A; }
html[data-theme="dark"] .pc-mult-max { color: #93A3F2; }
html[data-theme="dark"] .pc-mult-tb { color: #6CC0DA; }

/* 查订单：品牌色块 */
html[data-theme="dark"] .os-mark-gpt { background: rgba(61, 203, 134, 0.14); color: var(--emerald); }
html[data-theme="dark"] .os-mark-claude { background: rgba(224, 128, 84, 0.16); color: #EBA07D; }
html[data-theme="dark"] .os-mark-gemini { background: rgba(110, 146, 245, 0.16); color: #9DB5FA; }
html[data-theme="dark"] .os-mark-grok { background: rgba(231, 237, 233, 0.1); color: var(--ink); }
html[data-theme="dark"] .os-mark-service { background: rgba(229, 165, 75, 0.15); color: var(--warn-ink); }
html[data-theme="dark"] .os-err { color: var(--danger-ink) !important; }

/* 订单页：警示页签小条 */
html[data-theme="dark"] .od-tab.is-warn::before { background: #E5A54B; }

/* 二维码静区：夜晚下收款码 / 客服微信码本体四周保留纯白底 + 内边距，保证扫码识别 */
html[data-theme="dark"] .od-qr-box {
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .support-qr-img,
html[data-theme="dark"] .qr-thumb {
  background: #FFFFFF;
  padding: 8px;
}
html[data-theme="dark"] .qr-thumb {
  padding: 4px;
}

/* 表单控件自动填充底色 */
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-soft) inset;
  caret-color: var(--ink);
}

/* 悬浮客服 / Toast：夜晚改为浮起的墨绿深色胶囊，而不是一块刺眼的亮白 */
html[data-theme="dark"] .floating-support-btn {
  background: #1E2823;
  color: var(--ink);
  border-color: rgba(231, 237, 233, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .floating-support-btn:hover {
  background: #25302A;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html[data-theme="dark"] .toast {
  background: #1E2823;
  color: var(--ink);
  border: 1px solid rgba(231, 237, 233, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .toast-success {
  background: #143323;
  border-color: rgba(61, 203, 134, 0.38);
  color: #BFF2D6;
}
html[data-theme="dark"] .toast-error {
  background: #3A1716;
  border-color: rgba(239, 83, 80, 0.42);
  color: #FFD2D0;
}

/* ---------- 全屏实拍演示播放器（demo.js）夜晚适配 ----------
   演示里模拟的是本站页面 + 浏览器窗口，夜晚下整体切到同一套墨绿暗色；
   Cookie-Editor 真实截图、支付宝扫码格子（白色静区）保持原样，保证清晰度 */
html[data-theme="dark"] .dm-overlay { background: rgba(3, 6, 4, 0.82); }
html[data-theme="dark"] .dm-stage {
  background: #0C100E;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(231, 237, 233, 0.08);
}
html[data-theme="dark"] .dm-page { background: #0C100E; color: #E7EDE9; }
html[data-theme="dark"] .dm-logo,
html[data-theme="dark"] .dm-tag { background: #E7EDE9; color: #0C100E; }
html[data-theme="dark"] .dm-nav-pill { background: #1B231F; box-shadow: none; }
html[data-theme="dark"] .dm-nav,
html[data-theme="dark"] .dm-card i,
html[data-theme="dark"] .dm-label,
html[data-theme="dark"] .dm-countdown,
html[data-theme="dark"] .dm-done-card span,
html[data-theme="dark"] .dm-order-steps span { color: #8F9B94; }
html[data-theme="dark"] .dm-hero {
  background: linear-gradient(110deg, #131916 0%, #16271D 100%);
  border: 1px solid rgba(231, 237, 233, 0.06);
}
html[data-theme="dark"] .dm-hero span,
html[data-theme="dark"] .dm-paid,
html[data-theme="dark"] .dm-url-lock,
html[data-theme="dark"] .dm-order-steps span.done { color: #3DCB86; }
html[data-theme="dark"] .dm-card,
html[data-theme="dark"] .dm-plan-left,
html[data-theme="dark"] .dm-plan-right,
html[data-theme="dark"] .dm-order-body,
html[data-theme="dark"] .dm-done-card,
html[data-theme="dark"] .dm-textarea {
  background: #131916;
  border-color: rgba(231, 237, 233, 0.09);
  box-shadow: none;
}
html[data-theme="dark"] .dm-input { border-color: rgba(231, 237, 233, 0.16); }
html[data-theme="dark"] .dm-textarea { border-color: rgba(231, 237, 233, 0.16); }
html[data-theme="dark"] .dm-lines i,
html[data-theme="dark"] .dm-steps span { background: #1B231F; }
html[data-theme="dark"] .dm-caret { background: #E7EDE9; }
html[data-theme="dark"] .dm-order-steps span { border-top-color: #26302B; }
html[data-theme="dark"] .dm-order-steps span.on { color: #E7EDE9; border-color: #34C27C; }
html[data-theme="dark"] .dm-order-steps span.done { border-color: rgba(61, 203, 134, 0.45); }
html[data-theme="dark"] .dm-btn,
html[data-theme="dark"] .dm-done-ic,
html[data-theme="dark"] .dm-toast { background: #34C27C; color: #04130B; }
html[data-theme="dark"] .dm-qr { color: #4C98FF; }
html[data-theme="dark"] .dm-qr-grid { outline-color: rgba(255, 255, 255, 0.2); }
html[data-theme="dark"] .dm-ph { color: #5F6B64; }
html[data-theme="dark"] .dm-pasted,
html[data-theme="dark"] .dm-json.is-selected { color: #E7EDE9; }
/* 浏览器窗口（chatgpt.com / gemini.google.com 模拟）：深色浏览器外观 */
html[data-theme="dark"] .dm-browser { background: #131916; }
html[data-theme="dark"] .dm-browser-bar { background: #1B231F; border-bottom-color: rgba(231, 237, 233, 0.08); }
html[data-theme="dark"] .dm-url { background: #0F1411; color: #A9B4AD; }
html[data-theme="dark"] .dm-json { color: #A9B4AD; }
html[data-theme="dark"] .dm-cookie-btn { background: #232D28; border-color: rgba(231, 237, 233, 0.16); }
html[data-theme="dark"] .dm-gem-canvas {
  background:
    radial-gradient(circle at 14% 22%, rgba(59, 130, 246, 0.12), transparent 44%),
    radial-gradient(circle at 38% 82%, rgba(61, 203, 134, 0.09), transparent 48%),
    linear-gradient(155deg, #121815 0%, #0E1411 100%);
}
html[data-theme="dark"] .dm-gem-spark { color: #7FA6FF; }
html[data-theme="dark"] .dm-gem-status { background: rgba(61, 203, 134, 0.14); color: #3DCB86; }
html[data-theme="dark"] .dm-gem-title { color: #E7EDE9; }
html[data-theme="dark"] .dm-gem-checklist li {
  background: rgba(27, 35, 31, 0.8);
  border-color: rgba(231, 237, 233, 0.08);
  color: #8F9B94;
}
html[data-theme="dark"] .dm-gem-checklist li span { background: #26302B; color: #A9B4AD; }
html[data-theme="dark"] .dm-gem-alt { background: rgba(231, 237, 233, 0.05); color: #8F9B94; }
html[data-theme="dark"] .dm-gem-mini-tabs { background: #1B231F; }
html[data-theme="dark"] .dm-gem-mini-tabs span { color: #8F9B94; }
html[data-theme="dark"] .dm-gem-mini-tabs span.is-on { background: #26302B; color: #3DCB86; box-shadow: none; }
html[data-theme="dark"] {
  --dm-gs-on-bg: #1E2823;
  --dm-gs-on-ink: #E7EDE9;
  --dm-gs-dot: #34C27C;
  --dm-gs-dot-ink: #04130B;
  --dm-gs-done-ink: #3DCB86;
}

/* ==========================================================================
   画面体检修复（布局 / 行内样式收口）
   ========================================================================== */

/* 帮助中心 /guide：原先全是行内样式，这里统一收口 */
.guide-shell {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.guide-shell .page-header {
  margin-bottom: 0 !important;
}
.guide-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.guide-card-head-wrap {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.guide-card-title {
  margin: 0;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.guide-mini-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.guide-head-actions,
.guide-bm-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.guide-bm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.guide-bm-copy {
  flex: 1 1 420px;
  min-width: 0;
}
.guide-bm-title {
  margin: 8px 0 6px;
}
.guide-bm-actions {
  flex: 0 0 auto;
  gap: 10px;
}
.guide-code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.guide-code-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.guide-ext-links {
  margin-top: 8px;
}
/* 「开通前必查」清单：li 是 flex，行内链接会被拆成独立列，包一层 span 让文字正常换行 */
.guide-checklist {
  margin-top: 8px;
}
.guide-checklist li > span {
  min-width: 0;
  flex: 1;
}
.guide-checklist a {
  white-space: nowrap;
}
.guide-kv-row {
  align-items: flex-start;
}
.kv-row.guide-kv-row > .guide-kv-label {
  min-width: 116px;
  font-weight: 700;
  color: var(--ink);
}
.kv-row.guide-kv-row > .guide-kv-text {
  flex: 1;
  text-align: left;
  font-weight: 400;
  color: var(--ink-2);
}
.guide-kv-text strong {
  color: var(--ink);
}
@media (max-width: 720px) {
  .guide-bm-row {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-bm-copy {
    flex-basis: auto;
  }
  .guide-kv-row {
    flex-direction: column;
    gap: 4px;
  }
  .kv-row.guide-kv-row > .guide-kv-label {
    min-width: 0;
  }
}

/* 页面滚到底时，悬浮客服按钮不再压住页脚右侧链接 */
.site-footer {
  padding-bottom: calc(26px + 56px + env(safe-area-inset-bottom));
}

/* 子页面通用布局工具类（替代 check / redeem / 2fa 里的行内样式） */
.page-header.page-header-tight {
  margin-bottom: 4px !important;
}
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-stack.card-stack-lg {
  gap: 20px;
}
.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-row.btn-row-sm {
  gap: 8px;
}
.btn-row.btn-row-lg {
  gap: 12px;
}
.btn-push-right {
  margin-left: auto;
}
.field-narrow {
  max-width: 360px;
}
.field-hint.field-hint-above {
  margin-bottom: 6px;
}
.section-title-sm {
  margin: 0 0 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.step-rail.step-rail-3 {
  grid-template-columns: repeat(3, 1fr);
}
.alert-detail {
  margin-top: 5px;
}
.check-result {
  padding: 16px 18px;
}
.check-result-err {
  padding: 14px 16px;
}
.check-result-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 8px;
}
.check-result .kv-list {
  gap: 7px;
}
.check-result .kv-row {
  padding-bottom: 6px;
}
.check-result-msg {
  margin-top: 10px;
  font-weight: 500;
}
.check-result-note {
  margin-top: 8px;
}
.check-result-cta {
  margin-top: 14px;
}
.redeem-recover {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--amber-border);
}
.redeem-recover p {
  margin: 0 0 10px;
}
.redeem-progress {
  display: flex;
  align-items: center;
  gap: 16px;
}
.redeem-progress .spinner {
  margin: 0;
  flex-shrink: 0;
}
.redeem-progress strong {
  font-size: 16px;
}
.redeem-progress .field-hint {
  margin-top: 3px;
}
.totp-saved-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.totp-saved-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.totp-saved-sub {
  margin-top: 2px;
}
/* 表单标签行右侧的「怎么获取」链接：窄屏不再被挤成两行 */
.field-row .link-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.field-row label {
  min-width: 0;
}
/* 文件选择按钮（后台上传二维码）：跟随主题，不再是系统灰按钮 */
input[type="file"] {
  color: var(--ink-2);
  font-size: 13px;
}
input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
  background: var(--surface-hover);
}

/* ChatGPT 凭证两步直达引导卡（替代反直觉书签拖拽按钮，亮暗主题自适应） */
.gpt-helper-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tint-green) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--emerald-border);
}
.gpt-helper-steps {
  display: grid;
  gap: 12px;
}
.gpt-helper-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.gpt-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--emerald-rgb), 0.14);
  color: var(--pc-green);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.gpt-step-body {
  min-width: 0;
  flex: 1;
}
.gpt-step-title {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.gpt-helper-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.gpt-step-tip {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.gpt-step-tip a {
  color: var(--pc-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.field-row-actions,
.od-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.field-row-actions {
  justify-content: flex-end;
}
.od-label-row {
  margin-bottom: 6px;
}
.od-label-row .od-label {
  margin: 0;
}
.paste-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--emerald-border);
  background: var(--tint-green);
  color: var(--pc-green);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}
.paste-pill-btn:hover {
  background: rgba(var(--emerald-rgb), 0.16);
}
.paste-pill-btn:active {
  transform: scale(0.98);
}
.guide-advanced-bm {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: var(--surface-soft);
}
.guide-advanced-bm summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  list-style: none;
}
.guide-advanced-bm summary::-webkit-details-marker {
  display: none;
}
.guide-advanced-bm summary::before {
  content: '▸ ';
  color: var(--ink-muted);
}
.guide-advanced-bm[open] summary::before {
  content: '▾ ';
}
.guide-advanced-bm-body {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}
