/* Zlian storefront — 1:1 visual replica of gptibo.com */
@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/geist-latin.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Geist Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/geist-latin-ext.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* 原站动效关键帧 */
@keyframes muse-float{0%,to{transform:translateY(4px) rotate(-2.5deg) scale(.98)}50%{transform:translateY(-10px) rotate(2.5deg) scale(1.02)}}
@keyframes plus-card-float{0%,to{transform:translateY(3px) rotate(0)}50%{transform:translateY(-5px) rotate(1.5deg)}}
@keyframes logo-float{0%,to{transform:translateY(4px) rotate(-4deg) scale(.97)}50%{transform:translateY(-10px) rotate(4deg) scale(1.035)}}
@keyframes halo-breathe{0%,to{opacity:.55;scale:.94}50%{opacity:.9;scale:1.06}}
@keyframes arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes caption-arrive{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes price-arrive{0%{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialog-arrive{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes backdrop-arrive{0%{opacity:0}to{opacity:1}}
:root {
  /* 字体渲染与目标站一致：不合成粗体、Mac 抗锯齿、光学尺寸自动 */
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
  font-optical-sizing: auto;
  --ease: cubic-bezier(.22,1,.36,1);
  --bg: #F3F5F7;
  --card: #FFFFFF;
  --ink: #1d1d1f; /* 目标站 :root 正文色（原 #111827 偏蓝黑） */
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --border: #E5E7EB;
  --blue: #2563EB;
  --blue-soft: #EFF6FF;
  --green: #16A34A;
  --red: #DC2626;
  --red-soft: #FEF2F2;
  --qr-soft: #F1F5F9;
  --radius-card: 28px;
  --shadow-card: 0 18px 60px -24px rgba(39, 54, 76, 0.10), 0 3px 8px rgba(39, 54, 76, 0.01);
}
/* 暗黑模式：变量覆盖（由 <html data-theme="dark"> 触发） */
:root[data-theme="dark"] {
  color-scheme: dark; /* 原生控件（复选框/滚动条）与自动填充按深色渲染 */
  --bg: #0E1013;
  --card: #1A1D23;
  --ink: #F2F4F7;
  --gray: #9AA3B2;
  --gray-light: #8A94A6;
  --border: #2B303B;
  --blue: #3B82F6;
  --blue-soft: #17233A;
  --green: #22C55E;
  --red: #F87171;
  --red-soft: rgba(248, 113, 113, .12);
  --qr-soft: #23272F;
  --shadow-card: 0 18px 60px -24px rgba(0, 0, 0, .55), 0 3px 8px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Geist Variable", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; color: inherit; } /* 按钮默认 color: ButtonText（黑）会截断继承，暗黑下靠继承的文字会变黑，故强制继承 */
/* 移动端点击不闪方形高亮块：去掉系统默认 tap highlight，改用各元素自身的 :active 反馈 */
button, a, input, label { -webkit-tap-highlight-color: transparent; }
input { font-family: inherit; }
[hidden] { display: none !important; }

/* ---------- 顶部公告条（可关闭） ---------- */
.notice-bar {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  color: #92400E;
}
.notice-inner {
  position: relative;
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
  padding: 9px 36px 9px 4px;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}
.notice-close {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #B45309;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: background .15s ease, transform .15s ease;
}
.notice-close:hover { background: rgba(245, 158, 11, .16); }
.notice-close:active { transform: translateY(-50%) scale(.88); }
:root[data-theme="dark"] .notice-bar {
  background: #2A2110;
  border-bottom-color: #57401A;
  color: #FCD34D;
}
:root[data-theme="dark"] .notice-close { color: #FBBF24; }
:root[data-theme="dark"] .notice-close:hover { background: rgba(251, 191, 36, .16); }
@media (max-width: 650px) {
  .notice-inner { font-size: 12px; padding: 8px 32px 8px 2px; text-align: left; }
}

/* ---------- 顶部导航 ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: min(1200px, 100% - 112px);
  margin: 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 29px; height: 29px;
  background: #202124;
  color: #fff;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; line-height: 1;
}
.brand-name { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -0.8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-slogan { font-size: 10px; font-weight: 500; color: var(--gray); letter-spacing: .5px; white-space: nowrap; }

/* 中部胶囊页签（严格复刻原站尺寸：每页签 122px + 10px 内边距，按钮高 37px） */
.tabs {
  --tab-count: 3;
  --tab-index: 0;
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(var(--tab-count), minmax(0, 1fr));
  width: calc(var(--tab-count) * 122px + 10px);
  background: #e9ebefb3;
  border: 1px solid #e4e6ea75;
  border-radius: 100px;
  padding: 5px;
}
/* 滑动指示器：白色药丸，靠 --tab-index 平移（原站 .48s var(--ease)） */
.switch-indicator {
  position: absolute;
  z-index: 0;
  top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / var(--tab-count));
  transform: translateX(calc(var(--tab-index) * 100%));
  transition: transform .48s var(--ease);
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(39, 54, 76, .04), 0 1px 2px rgba(0, 0, 0, .06);
  pointer-events: none;
}
.tab {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; background: transparent;
  height: 37px;
  padding: 0 4px;
  border-radius: 100px;
  font-size: 12px; font-weight: 550; color: var(--gray);
  transition: color .25s;
  white-space: nowrap;
  min-width: 0;
}
.tab:hover { color: var(--ink); }
/* 兜底：页签再被挤压时文案截断省略，不与相邻页签重叠 */
.tab > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tab:not(.active):active { background: rgba(17, 24, 39, .06); }
.tab.active {
  color: var(--ink);
}
.tab-ico {
  width: 20px; height: 20px; flex-shrink: 0;
  opacity: .55;
}
.tab.active .tab-ico { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.lang-select { position: relative; }
/* 语言切换按钮：只留地球图标（移动端与 PC 同款），点开下拉菜单选语言；与主题按钮同款幽灵图标按钮 */
.lang-btn {
  border: 0; background: transparent;
  border-radius: 10px; padding: 8px 10px;
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
}
.lang-btn:hover { background: rgba(17, 24, 39, .05); color: var(--ink); }
.lang-btn:active { background: rgba(17, 24, 39, .08); }
.lang-btn #langBtnLabel, .lang-btn .caret { display: none; }
.lang-ico { display: inline-flex; color: inherit; }
html[data-theme="dark"] .lang-btn:hover { background: rgba(255, 255, 255, .08); }
/* 暗黑模式切换按钮：无边框幽灵图标按钮，与「我的订单」同款 */
.theme-btn {
  border: 0; background: transparent;
  border-radius: 10px; padding: 8px 10px;
  color: var(--gray); display: flex; align-items: center; justify-content: center;
}
.theme-btn:hover { background: rgba(17, 24, 39, .05); color: var(--ink); }
.theme-btn:active { background: rgba(17, 24, 39, .08); }
.theme-ico-sun { display: none; }
html[data-theme="dark"] .theme-ico-moon { display: none; }
html[data-theme="dark"] .theme-ico-sun { display: inline-flex; }
html[data-theme="dark"] .theme-btn:hover { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .theme-btn:active { background: rgba(255, 255, 255, .12); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-card);
  min-width: 140px; padding: 6px; z-index: 60;
}
.lang-opt {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; border: 0; background: transparent;
  padding: 9px 10px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink); text-align: left;
}
.lang-opt:hover { background: #F3F4F6; }
.lang-opt .tick { visibility: hidden; color: var(--blue); }
.lang-opt.active .tick { visibility: visible; }
.orders-btn {
  display: flex; align-items: center; gap: 7px;
  border: 0; background: transparent;
  border-radius: 10px; padding: 8px 10px;
  font-size: 13px; font-weight: 600; color: var(--gray);
}
.orders-btn:hover { color: var(--ink); background: transparent; }
.orders-btn:active { background: #F3F4F6; color: var(--ink); }
.bag-ico { display: inline-flex; color: inherit; }

/* ---------- 主体 ---------- */
.page { flex: 1; width: 100%; }
.shop, .checkout { width: min(1120px, 100% - 112px); margin: 0 auto; padding: 28px 0 42px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 90px;
  align-items: stretch;
}

/* 左：品牌区（无面板、无背景，与页面底色一致，内容居中） */
.brand-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: transparent;
  min-height: 560px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
/* 主图为原站 SVG 原稿（Muse AI 与 Muse Token 共用同一张蓝色 M） */
.brand-content { position: relative; z-index: 1; }
/* 左侧主图浮动（Muse 页签）；plus 页签整块内容用 plus-card-float（卡片自身的 8deg 倾斜保留在子元素上） */
.brand-muse-ai .brand-content, .brand-muse-token .brand-content, .brand-claude-kyc .brand-content { animation: muse-float 7.5s ease-in-out infinite; }
.brand-gpt-plus .brand-content { animation: plus-card-float 10s ease-in-out infinite; }
/* 左侧主图后的柔和光晕 */
.stage-halo {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 480px; height: 480px; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(37,99,235,.16) 0%, rgba(37,99,235,.06) 40%, rgba(37,99,235,0) 68%);
  animation: halo-breathe 9s ease-in-out infinite;
}
/* 主图交叉淡入淡出（原站 hero-mark：透明度 .38s + 上浮/缩放/旋转 .8s var(--ease)） */
.brand-marks {
  display: grid;
  place-items: center;
  width: 360px;
  max-width: 100%;
  height: 300px;
  margin: 0 auto;
}
.brand-mark-img, .plus-card-img {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px) scale(.88) rotate(-7deg);
  transition: opacity .38s ease, transform .8s var(--ease);
  will-change: transform, opacity;
  pointer-events: none;
}
.brand-mark-img.is-active, .plus-card-img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}
.brand-mark-img {
  display: block; width: 300px; height: auto; margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(37, 99, 235, 0.22));
}
/* Claude KYC 页签：橙色星芒标 + 暖色光晕 */
.claude-mark-img {
  width: 240px;
  filter: drop-shadow(0 18px 28px rgba(217, 119, 87, 0.30));
}
.brand-claude-kyc .stage-halo {
  background: radial-gradient(circle, rgba(217,119,87,.20) 0%, rgba(217,119,87,.07) 40%, rgba(217,119,87,0) 68%);
}
/* 选中规格的详细说明：编辑式排版，无卡片无色块无竖线——标题 + 重点句 + 正文 + 细线分隔的要点 */
.spec-detail {
  width: 100%;
  max-width: 520px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.spec-detail-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.spec-detail-intro { margin: 0 0 6px; }
.detail-lead { display: block; font-size: 16px; font-weight: 700; line-height: 1.65; color: var(--ink); margin-bottom: 8px; }
.detail-rest { display: block; font-size: 14px; line-height: 1.85; color: var(--gray); }
.spec-detail-list { margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.65; color: var(--ink); }
.spec-detail-list li { position: relative; padding: 11px 0 11px 16px; border-top: 1px solid var(--border); }
.spec-detail-list li:last-child { border-bottom: 1px solid var(--border); }
.spec-detail-list li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
/* 产品名每次切换重新入场（原站 caption-arrive .65s var(--ease)） */
.brand-name-big { margin-top: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.65px; line-height: 1.2; color: var(--ink); animation: caption-arrive .65s var(--ease) both; }
/* plus 成品号：原站 plus-japan-card.svg 珠光卡片原稿 */
.plus-card-img {
  display: block; width: 360px; height: auto; margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(17, 24, 39, 0.14));
}
.brand-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 32px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  border: 0; padding: 0;
  background: #D1D5DB;
  transition: width .5s var(--ease), background .5s;
}
.dot.active { width: 20px; height: 6px; border-radius: 3px; background: #9CA3AF; }
.dot:active { background: #9CA3AF; }

/* 右：下单卡片 */
.order-card {
  min-width: 0;
  background: var(--card);
  border: 1px solid #eceef2;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex; flex-direction: column;
  animation: arrive .7s both;
}
.card-title { margin: 0 0 8px; font-size: 35px; font-weight: 600; letter-spacing: -1.4px; line-height: 1.15; animation: caption-arrive .65s both; }
.card-sub { margin: 0; color: #747883; font-size: 16px; letter-spacing: .6px; }

/* 规格卡片 */
.spec-group { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.spec-card {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 9px 12px;
  transition: border-color .15s, background .15s, transform .1s, box-shadow .15s;
}
.spec-card:hover:not(:disabled) { border-color: #C7CDD6; background: #FAFBFC; }
html[data-theme="dark"] .spec-card:hover:not(:disabled) { border-color: #4B5563; background: rgba(255, 255, 255, .04); }
.spec-card:active:not(:disabled) { transform: scale(.99); }
.spec-card.selected {
  border-color: #2563EB;
  background: #F5F8FF;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .18), 0 2px 8px rgba(37, 99, 235, .08);
}
.spec-card:disabled { cursor: not-allowed; opacity: .62; background: #F9FAFB; }
.spec-info { flex: 1; min-width: 0; }
.spec-name { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-desc { display: block; font-size: 11px; color: var(--gray); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-card.soldout .spec-price .num { color: var(--gray-light); }
.spec-price { display: inline-flex; align-items: baseline; gap: 3px; flex-shrink: 0; }
.spec-price .num { font-size: 16px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); animation: price-arrive .5s both; }
.spec-price .per { font-size: 10px; color: var(--gray-light); font-weight: 400; }
.spec-check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid #D1D5DB; background: transparent; color: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.spec-card.selected .spec-check { background: var(--blue); border-color: var(--blue); color: #fff; }
/* 钩子用内联 SVG（不用 ✓ 字符）：字符钩在安卓/微信里字体不同、粗细长短和桌面不一致，SVG 各端渲染完全一样 */
.spec-check svg, .pay-check svg { display: block; flex-shrink: 0; }
.spec-soldout {
  position: absolute; top: -9px; right: 12px;
  background: #E5E7EB; color: var(--gray);
  font-size: 11.5px; font-weight: 700;
  border-radius: 999px; padding: 4px 10px;
  box-shadow: 0 2px 6px rgba(17,24,39,.12);
  white-space: nowrap;
}
/* 主推商品：回到第一版琥珀语言（#F59E0B 实色边框 + 暖底 + 实色徽标），只修徽标位置：原版徽标贴右上角顶着圆角，现改为压顶边 */
.spec-card.featured {
  border: 1.5px solid #F59E0B;
  background: #FFFBEB;
  box-shadow: 0 6px 18px rgba(245, 158, 11, .12);
}
.spec-card.featured.selected {
  border-color: #F59E0B;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .35), 0 6px 18px rgba(245, 158, 11, .15);
}
.spec-featured {
  position: absolute; top: -9px; right: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  background: #F59E0B; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  border-radius: 999px; padding: 4px 11px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, .35);
  white-space: nowrap;
}
.spec-featured svg { display: block; }
/* 深色模式：琥珀边框与徽标不变，暖底改为深暖底 */
html[data-theme="dark"] .spec-card.featured {
  border-color: #F59E0B;
  background: #2A2118;
}
html[data-theme="dark"] .spec-card.featured.selected {
  border-color: #F59E0B;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .4), 0 6px 18px rgba(0, 0, 0, .3);
}
html[data-theme="dark"] .spec-featured {
  background: #F59E0B; color: #fff;
}

/* 字段 */
.field { margin-top: 18px; }
.field-label { display: block; font-size: 12px; font-weight: 550; color: var(--ink); margin-bottom: 8px; }
.text-input {
  width: 100%;
  height: 46px;
  border: 1px solid #e1e3e9; border-radius: 11px;
  padding: 0 13px; font-size: 13px; color: var(--ink);
  background: #fcfcfd; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.text-input:focus { border-color: #7398ec; box-shadow: 0 0 0 3px rgba(115, 152, 236, 0.08); }
.text-input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* 输入框内左侧图标（邮箱信封） */
.input-icon-wrap { position: relative; }
.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; color: #9CA3AF; pointer-events: none;
}
.text-input.has-icon { padding-left: 38px; }
.field-hint { margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: var(--gray-light); }
.field-error { margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: var(--red); font-weight: 400; }

/* 数量步进器（标签在左、步进器在右，提示另起一行） */
.qty-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty-field .field-label { margin-bottom: 0; }
.qty-field .stepper { margin-left: auto; }
.qty-hint { flex: 1 1 100%; }
.stepper { display: grid; grid-template-columns: 34px 40px 34px; align-items: center; background: #f7f8fa; border: 1px solid #eceef2; border-radius: 12px; padding: 4px; }
.step-btn {
  width: 34px; height: 34px; border: 1px solid #e6e8ed; border-radius: 8px;
  background: #fff; box-shadow: 0 1px 2px rgba(29, 29, 31, 0.02);
  font-size: 18px; font-weight: 600; color: #555d6b; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.step-btn:hover:not(:disabled) { border-color: var(--blue); }
.step-btn:active:not(:disabled) { background: #F3F4F6; }
.step-btn:disabled { color: var(--gray-light); cursor: not-allowed; }
.stepper input {
  width: 40px; height: 34px; border: 0; outline: none; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--ink); background: transparent;
}
.qty-hint { font-size: 12.5px; color: var(--gray-light); }

/* 邀请码 6 格 */
.invite-boxes { display: flex; gap: 8px; }
.invite-boxes input {
  width: 44px; height: 52px;
  border: 1.5px solid var(--border); border-radius: 10px;
  text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 24px; font-weight: 600;
  text-transform: uppercase; color: var(--ink);
  outline: none; background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.invite-boxes input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }

/* 支付方式：竖排全宽列表（单行 2+1 看着失衡，竖排每行一个方式更像大站收银台），按钮直接排布不套外框 */
.pay-method {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
}
/* 单一支付方式（无支付宝、无余额时只剩 USDT）：横排卡片，与 method-btn 列表同款，图标左、文字中、扫码支付与白钩右 */
.pay-single {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 16px;
  background: var(--card);
}
.pay-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; flex-shrink: 0;
}
.pay-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pay-name { font-size: 15px; font-weight: 800; }
.pay-sub { font-size: 12.5px; color: var(--gray); margin-top: 1px; }
.pay-scan { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.pay-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}

/* 条款 + 合计 + 主按钮 */
.terms {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 20px; font-size: 11px; color: #6e7582; cursor: pointer;
  min-height: 24px;
}
.terms input { width: 16px; height: 16px; margin-top: 0; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 20px; padding: 20px 0 17px;
  border-top: 1px solid #edf0f3;
}
.total-label { font-size: 12px; font-weight: 400; color: #727986; }
.total-amount small { font-size: 15px; color: var(--gray); font-weight: 450; margin-right: 3px; }
.total-amount b { font-size: 26px; font-weight: 550; letter-spacing: -0.9px; animation: price-arrive .5s both; }
.btn-primary {
  width: 100%;
  height: 47px;
  margin-top: 16px;
  border: 0; border-radius: 11px;
  background: #292c33; color: #fff;
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 2px 3px rgba(32, 36, 49, 0.04);
  transition: background .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn-primary:hover:not(:disabled) { background: #11141b; box-shadow: 0 4px 13px rgba(36, 41, 50, 0.11); }
.btn-primary:active:not(:disabled) { transform: scale(.99); }
.btn-primary:disabled { background: #D1D5DB; color: #F9FAFB; cursor: not-allowed; }
/* 行内小按钮（余额不足提示里的「去充值」） */
.btn-primary.btn-small { display: inline-flex; width: auto; height: 28px; margin: 0 0 0 8px; padding: 0 14px; border-radius: 8px; font-size: 12px; vertical-align: middle; }

/* ---------- 第 2 / 3 步 ---------- */
.back-link {
  border: 0; background: transparent; padding: 0; margin-bottom: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--gray);
}
.back-link:hover { color: var(--ink); }
.checkout-card {
  background: var(--card);
  border: 1px solid #eceef2;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
.warn-box {
  background: var(--red-soft);
  border: 1px solid #FECACA;
  border-radius: 14px;
  padding: 16px 18px;
}
.warn-title { font-size: 15px; font-weight: 800; color: var(--red); }
.warn-text { margin: 6px 0 0; font-size: 13.5px; color: #991B1B; }
.notes-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
/* 购买须知底部小字声明：小灰字，不显眼 */
.notes-fineprint { font-size: 11px; line-height: 1.6; color: var(--gray-light); margin-top: 12px; }
.notes-list li { display: flex; gap: 12px; align-items: flex-start; }
.note-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.note-body b { display: block; font-size: 13px; font-weight: 600; line-height: 1.6; }
.note-body span { font-size: 12px; line-height: 1.8; color: var(--gray); }

.checkout-right { min-width: 0; }
.summary-card {
  background: var(--qr-soft);
  border-radius: 16px;
  padding: 22px;
}
.summary-big { font-size: 28px; font-weight: 600; letter-spacing: -0.9px; line-height: 1.25; }
.summary-big.token { font-size: 36px; letter-spacing: -1.5px; line-height: 1; }
.summary-code {
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px; font-weight: 600; letter-spacing: .18em;
}
.summary-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.summary-row .k { color: var(--gray); flex-shrink: 0; }
.summary-row .v { font-weight: 600; text-align: right; word-break: break-all; }
.summary-row .v.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* 核对页支付方式切换 */
.method-btn {
  border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 12px;
  background: var(--card); color: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; margin-left: 6px; transition: border-color .15s ease, background .15s ease;
}
.method-btn:hover { border-color: var(--green); }
.method-btn.active { border-color: var(--green); background: #F0FDF4; color: #15803D; }
html[data-theme="dark"] .method-btn.active { background: rgba(34, 197, 94, .12); color: #4ADE80; }
/* 支付宝按钮：品牌蓝，默认选中时实心蓝底白字，比 USDT 更显眼 */
.method-btn[data-m="alipay"] { border-color: #1677FF; color: #1677FF; background: #F0F7FF; }
.method-btn[data-m="alipay"].active { background: #1677FF; border-color: #1677FF; color: #fff; box-shadow: 0 2px 10px rgba(22, 119, 255, .35); }
html[data-theme="dark"] .method-btn[data-m="alipay"] { background: rgba(22, 119, 255, .14); color: #6AAFFF; }
html[data-theme="dark"] .method-btn[data-m="alipay"].active { background: #1677FF; color: #fff; }
/* 下单页支付方式：竖排全宽列表行，左对齐、图标加大，选中项右侧带圆底白钩 */
.pay-method .method-btn { display: flex; flex: none; width: 100%; min-width: 0; margin-left: 0; text-align: left; justify-content: flex-start; padding: 12px 16px; border-radius: 16px; white-space: nowrap; }
.pay-method .method-ico { width: 22px; height: 22px; font-size: 13px; }
.pay-method .method-btn.active::after {
  content: ""; margin-left: auto; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pay-method .method-btn[data-m="alipay"].active::after {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677FF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* 支付方式按钮里的图标：支付宝蓝方块“支”，USDT 绿圆“₮” */
.method-btn { display: inline-flex; align-items: center; gap: 6px; }
.method-ico { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; line-height: 1; flex-shrink: 0; }
.method-ico.usdt { border-radius: 50%; background: var(--green); color: #fff; }
.method-ico.alipay { border-radius: 4px; background: #1677FF; color: #fff; }
/* 支付宝按钮上的 +2% 手续费小字：比主标签小一号、略淡，选中实心蓝底时仍可读 */
.method-fee { font-size: 11px; font-weight: 600; opacity: .75; }
.method-btn[data-m="alipay"].active .method-fee { opacity: .9; }
/* 选中时按钮是实心蓝底，图标改成白底蓝字，不然蓝方块会被按钮底色盖住 */
.method-btn[data-m="alipay"].active .method-ico.alipay { background: #fff; color: #1677FF; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding: 20px 0 17px; border-top: 1px solid #edf0f3;
}
.summary-total .k { font-size: 12px; font-weight: 400; color: #727986; }
.summary-total .v { font-size: 26px; font-weight: 600; letter-spacing: -0.7px; line-height: 1; animation: price-arrive .5s both; }
.summary-total .v small { font-size: 15px; color: var(--gray); font-weight: 500; margin-right: 3px; }

.checkout-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.robot-box {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 14px 16px; cursor: pointer; background: #F9FAFB;
}
.robot-box input { display: none; }
.robot-check-ui {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  border: 2px solid #C7CDD6; background: var(--card);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff;
}
.robot-box.checked .robot-check-ui { background: var(--blue); border-color: var(--blue); }
.robot-box.checked .robot-check-ui::after { content: "✓"; }
.robot-text { font-size: 14px; font-weight: 700; }
.robot-note { margin-left: auto; font-size: 11.5px; color: var(--gray-light); }
.confirm-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--gray); cursor: pointer; }
.confirm-check input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }

/* 支付卡 */
.pay-card { display: flex; flex-direction: column; }
.pay-amount { font-size: 33px; font-weight: 600; letter-spacing: -1.1px; line-height: 1.1; text-align: center; animation: price-arrive .5s both; }
.pay-amount small { font-size: 17px; color: var(--gray); font-weight: 500; }
.pay-qr-wrap { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.pay-qr {
  position: relative; width: 208px; height: 208px;
  background: var(--qr-soft); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pay-qr img, .pay-qr canvas { display: block; }
.pay-qr-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.pay-qr-logo.alipay { background: #1677FF; }
.pay-qr-fallback {
  padding: 16px; font-size: 12px; word-break: break-all; text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gray);
}
.pay-scan-hint { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.addr-bar {
  margin-top: 16px;
  background: var(--qr-soft); border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; word-break: break-all; line-height: 1.5;
  cursor: pointer; border: 1px solid transparent;
}
.addr-bar:hover { border-color: var(--border); }
.pay-warn { margin: 14px 0 0; font-size: 13.5px; }
.pay-warn b { color: var(--ink); }
.pay-warn span { color: var(--gray); }
/* 微信内置浏览器提示：醒目琥珀底，提醒用系统浏览器打开再付 */
.wechat-tip { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .45); color: var(--ink); font-size: 13.5px; line-height: 1.6; }
.copy-row { display: flex; gap: 10px; margin-top: 14px; }
.btn-outline {
  flex: 1;
  border: 1.5px solid var(--border); background: var(--card);
  border-radius: 10px; padding: 11px 10px;
  font-size: 12px; font-weight: 500; color: var(--ink);
}
.btn-outline:hover { background: #F9FAFB; }
.pay-timer {
  margin-top: 16px;
  background: var(--qr-soft); border-radius: 12px;
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; font-weight: 700;
}
.pay-timer .t { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; }
.pay-timer.expired { background: var(--red-soft); color: var(--red); }
.pay-details { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pay-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pay-actions .btn-outline { flex: 1; min-width: 120px; }
.pay-status { margin-top: 16px; border-radius: 12px; padding: 14px 16px; font-size: 13.5px; font-weight: 600; }
.pay-status.waiting { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.pay-status.success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.pay-status.error { background: var(--red-soft); color: var(--red); border: 1px solid #FECACA; }
.delivery-box { margin-top: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 13px; }
.delivery-box h4 { margin: 0 0 8px; font-size: 13.5px; }
.delivery-box pre { margin: 0; white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.7; }
.delivery-box.delivery-waiting { color: var(--gray); background: var(--qr-soft); }
.delivery-meta { margin: 0 0 6px; font-size: 12px; color: var(--gray); }
.delivery-note { margin: 0 0 8px; font-size: 12.5px; color: var(--gray); }
.delivery-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.delivery-actions .btn-outline { flex: 1; min-width: 120px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid #e8ebf0; background: var(--bg); }
.footer-inner {
  width: min(1200px, 100% - 112px); margin: 0 auto; min-height: 65px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; row-gap: 8px;
  font-size: 10px; color: #9a9faa; letter-spacing: .1px;
}
.foot-support { color: var(--gray-light); font-weight: 600; }
.foot-support:hover { color: var(--ink); text-decoration: none; }
.foot-slogan { font-size: 10px; color: #9a9faa; letter-spacing: .1px; text-align: center; }
.foot-left, .foot-right { display: flex; align-items: center; min-width: 0; }
.foot-left { gap: 16px; }
.foot-right { gap: 20px; }

/* ---------- 免责声明页 ---------- */
.disclaimer { width: min(760px, 100% - 48px); margin: 0 auto; padding: 48px 0 64px; }
.disclaimer h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 8px; }
.disclaimer-updated { color: var(--gray); font-size: 13px; margin: 0 0 32px; }
.disclaimer section { margin-bottom: 28px; }
.disclaimer h2 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.disclaimer p, .disclaimer li { font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.disclaimer p { margin: 0 0 8px; }
.disclaimer ul { margin: 0; padding-left: 20px; }
.disclaimer li { margin-bottom: 6px; }
.disclaimer li::marker { color: var(--gray); }
.disclaimer a { color: var(--blue); }
.disc-back { color: var(--gray); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.disc-back:hover { color: var(--ink); text-decoration: none; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: backdrop-arrive .25s both;
}
.modal {
  position: relative;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 26px;
  animation: dialog-arrive .25s both;
}
.modal-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.modal-x {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: #F3F4F6; color: var(--gray);
  font-size: 20px; line-height: 1;
}
.modal-x:hover { background: #E5E7EB; color: var(--ink); }
.warn-bar {
  background: var(--red-soft); color: var(--red);
  border-radius: 10px; padding: 11px 14px;
  font-size: 13.5px; font-weight: 700; margin-bottom: 14px;
}
.modal-body { font-size: 13.5px; color: #374151; display: flex; flex-direction: column; gap: 10px; }
.modal-body h4 { margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.modal-body p { margin: 0; }
.modal-body ul { margin: 0; padding-left: 18px; }
.modal-body li { margin-bottom: 4px; }
.lookup-result { margin-top: 16px; }
.recent-orders { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.recent-title { font-size: 12px; font-weight: 500; color: var(--gray); margin-bottom: 8px; }
.recent-item {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  width: 100%; text-align: left;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 12px;
}
.recent-item:hover { background: #F9FAFB; }
.recent-item .no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.recent-item .st { font-weight: 700; color: var(--gray); flex-shrink: 0; }

/* ---------- 账号（登录 / 注册 / 钱包） ---------- */
.auth-area { display: flex; align-items: center; }
.auth-btn {
  display: flex; align-items: center; gap: 7px;
  border: 0; background: transparent;
  border-radius: 10px; padding: 8px 10px;
  font-size: 13px; font-weight: 600; color: var(--gray);
  cursor: pointer; white-space: nowrap;
}
.auth-ico { display: none; }
.auth-ico svg { display: block; }
.auth-btn:hover { color: var(--ink); }
.auth-btn:active { background: #F3F4F6; color: var(--ink); }
.auth-logged { display: flex; align-items: center; gap: 6px; }
.auth-user {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 6px 12px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  max-width: 240px;
}
.auth-user:hover { border-color: #C7CDD6; }
.auth-email {
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--gray);
}
.auth-balance { color: var(--green); font-weight: 800; white-space: nowrap; }
.auth-logout {
  border: 0; background: transparent;
  border-radius: 10px; padding: 8px 8px;
  font-size: 12px; font-weight: 600; color: var(--gray-light);
}
.auth-logout:hover { color: var(--ink); }

/* 登录 / 注册弹窗 */
.auth-tabs {
  display: flex; gap: 4px;
  background: var(--qr-soft); border-radius: 12px; padding: 4px;
  margin-bottom: 6px;
}
.auth-tab {
  flex: 1; border: 0; background: transparent;
  border-radius: 9px; padding: 10px;
  font-size: 14px; font-weight: 600; color: var(--gray);
}
.auth-tab.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(17, 24, 39, .1); }
.auth-form { display: flex; flex-direction: column; }
.auth-form .btn-primary { margin-top: 20px; }
.code-row { display: flex; gap: 8px; }
.code-row .text-input { flex: 1; min-width: 0; }
.code-btn {
  flex-shrink: 0; height: 46px; padding: 0 14px;
  white-space: nowrap; font-size: 12.5px; font-weight: 700;
}
.code-btn:disabled { opacity: .55; cursor: not-allowed; }

/* 我的账户弹窗 */
.acct-email {
  font-size: 14px; font-weight: 600; color: var(--ink);
  word-break: break-all; margin-bottom: 12px;
}
.acct-balance-card {
  background: var(--qr-soft); border-radius: 16px;
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.acct-balance-label { font-size: 12px; color: var(--gray); }
.acct-balance-value { font-size: 28px; font-weight: 600; letter-spacing: -0.7px; line-height: 1.2; animation: price-arrive .5s both; }
.acct-stats { font-size: 11px; color: var(--gray-light); margin-top: 2px; }
.acct-refresh { flex-shrink: 0; min-width: 64px; }
.acct-section { margin-top: 22px; }
.acct-section h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.recharge-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 16px;
  background: var(--card); color: var(--ink);
  font-size: 13px; font-weight: 700;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--green); }
.chip.active { border-color: var(--green); background: #F0FDF4; color: #15803D; }
.recharge-method {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 12px; font-size: 13px; font-weight: 600;
}
.recharge-method-label { display: inline-flex; align-items: center; gap: 6px; }
.recharge-method .fine { font-size: 11px; color: var(--gray-light); font-weight: 400; }
.acct-logout { width: 100%; margin-top: 22px; }
.acct-empty { margin: 0; font-size: 13px; color: var(--gray-light); }
.acct-order-item {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  width: 100%; text-align: left;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 12px;
}
.acct-order-item:hover { background: #F9FAFB; }
.acct-order-item .no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; }
.acct-order-item .st { font-weight: 700; color: var(--gray); flex-shrink: 0; }
.acct-order-item .when { color: var(--gray-light); font-size: 11px; flex-shrink: 0; }
.acct-delivery { margin-top: 12px; }

/* 工单 */
.acct-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.acct-section-head h3 { margin: 0; }
.acct-refund-btn { flex-shrink: 0; padding: 7px 14px; font-size: 12.5px; }
/* 工单类型选择：两个按钮平分整行，复用 .method-btn 选中态（绿边框+浅绿底） */
.ticket-type { display: flex; gap: 8px; margin-bottom: 16px; }
.ticket-type .method-btn { flex: 1 1 0; min-width: 0; margin-left: 0; text-align: center; justify-content: center; padding: 9px 12px; white-space: nowrap; }
/* 工单列表里的类型徽标：退款蓝 / 技术服务紫 */
.ticket-type-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; flex-shrink: 0; white-space: nowrap; margin-right: 6px; }
.ticket-type-badge.refund { background: #DBEAFE; color: #1E40AF; }
.ticket-type-badge.tech { background: #EDE9FE; color: #5B21B6; }
html[data-theme="dark"] .ticket-type-badge.refund { background: rgba(59, 130, 246, .18); color: #93C5FD; }
html[data-theme="dark"] .ticket-type-badge.tech { background: rgba(139, 92, 246, .18); color: #C4B5FD; }
.refund-reason { min-height: 96px; resize: vertical; line-height: 1.6; }
.refund-success-box {
  background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 12px; padding: 16px; margin-bottom: 16px;
}
.refund-success-title { font-size: 14px; font-weight: 700; color: var(--green); }
.refund-success-row { margin-top: 8px; font-size: 13px; color: var(--gray); }
.refund-success-row .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.refund-ticket {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; font-size: 12.5px;
}
.refund-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.refund-ticket-head .no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; font-weight: 700; }
.ticket-st { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; flex-shrink: 0; white-space: nowrap; }
.ticket-st.pending { background: rgba(251, 191, 36, .14); color: #B45309; }
.ticket-st.approved { background: rgba(34, 197, 94, .12); color: var(--green); }
.ticket-st.rejected { background: var(--red-soft); color: var(--red); }
.refund-ticket-row { display: flex; justify-content: space-between; gap: 10px; color: var(--gray); padding: 2px 0; }
.refund-ticket-row .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--ink); }
.refund-ticket-row span:last-child { text-align: right; }
.refund-ticket-reason { margin-top: 8px; color: var(--ink); line-height: 1.6; word-break: break-word; }
.refund-ticket-when { margin-top: 6px; font-size: 11px; color: var(--gray-light); }
.refund-ticket-reject { margin-top: 6px; font-size: 12px; color: var(--red); line-height: 1.6; }
/* 核对页余额支付提示 */
.balance-hint-row .balance-hint { font-size: 12px; color: var(--gray); font-weight: 400; }
/* 余额支付图标：绿圆 ¥，与 USDT 的绿圆 ₮ 同套 */
.method-ico.balance { border-radius: 50%; background: var(--green); color: #fff; }

/* ---------- 响应式 ---------- */
/* 英文导航防挤压（2026-11-22）：登录态邮箱只留余额、页签提前收窄、窄屏隐藏标语 */
@media (max-width: 1400px) {
  .auth-email { display: none; }
}
@media (max-width: 1200px) {
  .tabs { width: calc(var(--tab-count) * 101px + 8px); }
  .tab { height: 34px; font-size: 11px; }
  .tab-ico { width: 17px; height: 17px; }
}
@media (max-width: 1150px) {
  .brand-slogan { display: none; }
}
@media (max-width: 1100px) {
  /* 原站 ≤1100px：左右边距 72px，卡片 400px，间距 35px */
  .nav-inner, .footer-inner { width: calc(100% - 72px); }
  .shop, .checkout { width: calc(100% - 72px); }
  .hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 35px; }
  .order-card, .checkout-card { padding: 28px; }
  .orders-btn span:last-child { display: none; }
  .orders-btn { padding: 8px 10px; }
}
@media (max-width: 950px) {
  /* 原站 651–950px：每页签 98px，字 11px */
  .tabs { width: calc(var(--tab-count) * 98px + 10px); }
  .tab { gap: 4px; font-size: 11px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .brand-panel { min-height: 380px; padding: 28px; }
  .stage-halo { width: 320px; height: 320px; }
  .brand-marks { width: 280px; height: 210px; }
  .brand-mark-img { width: 210px; }
  .plus-card-img { width: 280px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .tabs { order: 3; margin: 0 auto; }
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .brand-name { font-size: 18px; }
  .orders-btn span:last-child { display: none; }
  .orders-btn { padding: 8px 10px; }
  /* 移动端顶栏：只留余额数字，邮箱收起，退出收成小字 */
  .auth-email { display: none; }
  .auth-user { max-width: none; padding: 6px 10px; }
  .auth-logout { padding: 8px 4px; }
}
@media (max-width: 800px) {
  /* 原站 ≤800px：左右边距 48px，卡片 360px，间距 20px；顶栏高度 auto（页签已换行到第二行，88px 会把页签底部截出导航栏） */
  .nav-inner { width: calc(100% - 48px); height: auto; }
  .footer-inner { width: calc(100% - 48px); }
  .shop, .checkout { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .order-card, .checkout-card { border-radius: 23px; padding: 24px; }
}
@media (max-width: 650px) {
  /* 原站 ≤650px：每页签 101px，按钮高 34px，图标 17px；内容边距 36px */
  .tabs { width: calc(var(--tab-count) * 101px + 8px); max-width: 100%; padding: 4px; }
  .tab { height: 34px; gap: 4px; font-size: 11px; }
  .tab-ico { width: 17px; height: 17px; }
  .switch-indicator { width: calc((100% - 8px) / var(--tab-count)); top: 4px; bottom: 4px; left: 4px; }
  .shop, .checkout { width: calc(100% - 36px); }
  .footer-inner { width: calc(100% - 40px); }
  .card-title { font-size: 33px; }
  /* 移动端顶栏已挤，logo 下的标语隐藏；页脚四项太挤，页脚标语隐藏，保留免责声明与联系支持 */
  .brand-slogan { display: none; }
  .foot-slogan { display: none; }
  /* 移动端顶栏压成两行：登录只留图标、语言按钮收紧、间距收窄，品牌+操作区同行，页签独占第二行 */
  .nav-inner { gap: 10px 8px; }
  .nav-right { gap: 6px; }
  .lang-btn { padding: 7px 8px; }
  .auth-btn { padding: 8px 9px; }
  .auth-ico { display: inline-flex; }
  .auth-btn [data-i18n="nav.login"] { display: none; }
}
@media (max-width: 520px) {
  .brand-marks { width: 250px; height: 180px; }
  .brand-mark-img { width: 180px; }
  .plus-card-img { width: 250px; }
  .order-card { padding: 22px 18px; }
  .checkout-card { padding: 20px 16px; }
  .invite-boxes input { flex: 1 1 0; min-width: 0; width: 0; height: 48px; }
  /* 移动版导航：顶栏边距收窄 + 页签字号/图标缩小，4 个页签不再重叠 */
  .nav-inner { width: calc(100% - 32px); }
  .tab { height: 32px; gap: 3px; font-size: 10px; padding: 0 2px; }
  .tab-ico { width: 14px; height: 14px; }
  /* 移动端支付方式列表行收紧内边距 */
  .pay-method { gap: 8px; }
  .pay-method .method-btn { padding: 11px 14px; font-size: 13px; }
}
/* 目标站移动端字号断点 */
@media (max-width: 700px) {
  .summary-big.token { font-size: 30px; }
  .summary-code { font-size: 21px; letter-spacing: .1em; }
}
@media (max-width: 480px) {
  .pay-amount { font-size: 31px; }
}
@media (max-width: 380px) {
  .summary-big.token { font-size: 28px; }
  .summary-code { font-size: 19px; letter-spacing: .07em; }
  .spec-price .num { font-size: 18px; }
}
@media (max-width: 360px) {
  .pay-amount { font-size: 28px; }
  .pay-amount small { font-size: 15px; }
}

/* ================= 暗黑模式：硬编码色组件覆盖 ================= */
html[data-theme="dark"] .tabs { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .switch-indicator { background: #3A4150; }
html[data-theme="dark"] .brand-mark { background: #F2F4F7; color: #111827; }
html[data-theme="dark"] .order-card, html[data-theme="dark"] .checkout-card { border-color: var(--border); }
html[data-theme="dark"] .spec-card.selected { background: linear-gradient(115deg, #1B2A45, #1A1D23); border-color: #3B82F6; }
html[data-theme="dark"] .spec-card:disabled { background: rgba(255, 255, 255, .03); }
html[data-theme="dark"] .spec-check { border-color: #4B5563; }
html[data-theme="dark"] .spec-soldout { background: #2B303B; }
html[data-theme="dark"] .text-input { background: #23272F; border-color: #2B303B; }
html[data-theme="dark"] .stepper { background: #23272F; border-color: #2B303B; }
html[data-theme="dark"] .step-btn { background: #2B303B; border-color: #3A4150; color: #F2F4F7; }
html[data-theme="dark"] .step-btn:active:not(:disabled) { background: #3A4150; }
html[data-theme="dark"] .terms { color: #9AA3B2; }
html[data-theme="dark"] .btn-primary { background: #F2F4F7; color: #111827; box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
html[data-theme="dark"] .btn-primary:hover:not(:disabled) { background: #fff; box-shadow: 0 4px 13px rgba(0, 0, 0, .4); }
html[data-theme="dark"] .btn-primary:disabled { background: #2B303B; color: #6B7280; box-shadow: none; }
html[data-theme="dark"] .btn-outline:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .pay-qr { background: #F1F5F9; } /* 二维码区保持浅底，始终可扫 */
html[data-theme="dark"] .pay-qr-logo { background: #111827; color: #fff; border-color: #F1F5F9; }
html[data-theme="dark"] .pay-qr-logo.alipay { background: #1677FF; }
html[data-theme="dark"] .pay-status.waiting { background: rgba(251, 191, 36, .12); color: #FBBF24; border-color: rgba(251, 191, 36, .3); }
html[data-theme="dark"] .pay-status.success { background: rgba(34, 197, 94, .12); color: #4ADE80; border-color: rgba(34, 197, 94, .3); }
html[data-theme="dark"] .robot-box { background: #23272F; }
html[data-theme="dark"] .robot-check-ui { border-color: #4B5563; }
html[data-theme="dark"] .warn-box { border-color: rgba(248, 113, 113, .3); }
html[data-theme="dark"] .site-footer { border-color: #2B303B; }
html[data-theme="dark"] .lang-opt:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .lang-btn:active, html[data-theme="dark"] .orders-btn:active { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .auth-btn:active { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .chip.active { background: rgba(34, 197, 94, .12); color: #4ADE80; }
html[data-theme="dark"] .acct-order-item:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .ticket-st.pending { color: #FBBF24; }
html[data-theme="dark"] .tab:not(.active):active { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .modal-x { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .modal-x:hover { background: rgba(255, 255, 255, .14); }
html[data-theme="dark"] .modal-overlay { background: rgba(0, 0, 0, .6); }
html[data-theme="dark"] .dot { background: #4B5563; }
html[data-theme="dark"] .dot.active, html[data-theme="dark"] .dot:active { background: #9AA3B2; }
html[data-theme="dark"] .note-num { background: #F2F4F7; color: #111827; }
html[data-theme="dark"] .plus-card-img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
html[data-theme="dark"] .stage-halo { background: radial-gradient(circle, rgba(59, 130, 246, .22) 0%, rgba(59, 130, 246, .08) 40%, rgba(59, 130, 246, 0) 68%); }
/* 分隔线与灰字：浅色硬编码在暗黑下过亮/过暗，统一改暗 */
html[data-theme="dark"] .total-row, html[data-theme="dark"] .summary-total { border-top-color: var(--border); }
html[data-theme="dark"] .total-label, html[data-theme="dark"] .summary-total .k, html[data-theme="dark"] .card-sub { color: #9AA3B2; }
html[data-theme="dark"] .warn-text { color: #FCA5A5; }
html[data-theme="dark"] .modal-body { color: #C3CAD6; }
html[data-theme="dark"] .recent-item:hover { background: rgba(255, 255, 255, .06); }
/* 浏览器自动填充会给输入框画浅底，暗黑下用内阴影盖回深色 */
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #23272F inset;
  -webkit-text-fill-color: #F2F4F7;
  caret-color: #F2F4F7;
}
