/* ===== FubiIP 主站 · 样式 ===== */
:root {
  --accent: #ea580c;
  --accent-2: #f97316;
  --accent-3: #fbbf24;
  --grad: linear-gradient(135deg, #fbbf24 0%, #f97316 48%, #ea580c 100%);
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --ok: #10b981;
  --err: #dc2626;
  --radius: 0px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.18);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --sans-num: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font-family: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
b { font-weight: 700; }

/* ===== 顶栏 ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: none; }
.brand-name { display: inline-flex; align-items: baseline; font-family: Bahnschrift, "DIN Alternate", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 19px; font-weight: 600; letter-spacing: .004em; color: var(--text); }
.brand-name span { color: var(--accent); letter-spacing: .03em; margin-left: .03em; }
.brand-name .logo-i { display: inline-block; width: .34em; height: .78em; margin: 0 .02em; flex: none; }
.brand-name .logo-i svg { display: block; width: 100%; height: 100%; }
.brand-name .logo-sep { display: inline-block; width: .58em; height: .58em; margin: 0 .16em; align-self: center; flex: none; }
.brand-name .logo-sep svg { display: block; width: 100%; height: 100%; }
.brand-name .logo-I { display: inline-block; width: .18em; height: .72em; margin: 0 .045em 0 .03em; flex: none; }
.brand-name .logo-I svg { display: block; width: 100%; height: 100%; }
.brand-sub {
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: rgba(234,88,12,.1); padding: 2px 7px; border-radius: 0px; margin-left: 2px;
}
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a {
  font-size: 13.5px; color: var(--text-2); padding: 7px 12px; border-radius: 0px;
  text-decoration: none; font-weight: 500;
}
.topnav a:hover { background: rgba(15,23,42,.05); text-decoration: none; }
.topnav-cta { background: var(--grad); color: #fff !important; font-weight: 700; box-shadow: 0 2px 8px rgba(234,88,12,.3); }
.topnav-cta:hover { filter: brightness(1.05); background: var(--grad); }

.lang-switch-box { position: relative; display: inline-block; margin: 0 4px; }
.lang-cur-btn {
  display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 0px;
  border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 600;
  color: var(--text-2); cursor: pointer; transition: all .15s; font-family: inherit;
}
.lang-cur-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); background: #fff;
  border: 1px solid var(--line-2); border-radius: 0px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 6px; min-width: 140px; z-index: 100; display: flex; flex-direction: column; gap: 2px;
}
.lang-menu.hidden { display: none; }
.lang-item,
a.lang-item,
.topnav .lang-menu a.lang-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 0px;
  border: none; background: transparent; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--text-2);
  cursor: pointer; text-align: left; width: 100%; font-family: inherit; text-decoration: none;
  box-sizing: border-box; transition: background .15s;
}
.lang-item:hover,
a.lang-item:hover,
.topnav .lang-menu a.lang-item:hover { background: #f1f5f9; color: var(--accent); text-decoration: none; }
.lang-flag { font-size: 15px; }

/* ===== 容器 ===== */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px 80px; }

/* ===== Hero ===== */
.hero { padding: 64px 0 40px; text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  background: rgba(234,88,12,.07); border: 1px solid rgba(234,88,12,.18);
  padding: 5px 13px; border-radius: 0px; margin-bottom: 22px;
}
.tag i { width: 6px; height: 6px; border-radius: 0px; background: var(--ok); display: block; }
.hero h1 {
  font-size: clamp(30px, 5.2vw, 50px); line-height: 1.16; font-weight: 800;
  letter-spacing: -.04em; margin: 0 0 18px; color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 15.5px; color: var(--muted); max-width: 560px; margin: 0 auto 30px; line-height: 1.75; }
.hero-steps {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-top: 8px;
}
.step {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 0px; box-shadow: var(--shadow);
}
.step b {
  width: 21px; height: 21px; border-radius: 0px; background: var(--grad); color: #fff;
  font-size: 11.5px; display: grid; place-items: center; flex-shrink: 0;
}
.step span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.step-arrow { color: var(--faint); font-size: 14px; }

/* ===== 区块 ===== */
.section { margin-top: 56px; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.section-head p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ===== 商品卡 ===== */
.products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px;
}
.loading { grid-column: 1 / -1; text-align: center; color: var(--faint); padding: 40px; font-size: 14px; }

.product {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px 16px;
  cursor: pointer; transition: all .18s ease; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
}
.product:hover {
  border-color: rgba(234,88,12,.45); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234,88,12,.14);
}
.product-badge {
  position: absolute; top: -1px; right: 14px;
  font-size: 10.5px; font-weight: 700; color: #fff; background: var(--grad);
  padding: 3px 9px; border-radius: 0px; letter-spacing: .02em;
}
.product-price {
  font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.product-price small { font-size: 15px; font-weight: 700; margin-right: 1px; }
.product-name { font-size: 13px; font-weight: 600; color: var(--text-2); margin-top: 2px; }
.product-desc { font-size: 12px; color: var(--faint); margin-top: 6px; }
.product-action {
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--accent); display: flex; align-items: center; justify-content: space-between;
}
.product-action::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13.5 6.5L19 12l-5.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13.5 6.5L19 12l-5.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
.product:hover .product-action::after { transform: translateX(2px); }

/* ===== 查订单 ===== */
.query-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--err); }
.field input {
  width: 100%; padding: 10px 12px; font-size: 14px;
  border: 1px solid var(--line-2); border-radius: 0px; background: #fff;
  color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.field .hint { font-size: 11.5px; color: var(--faint); }

/* ===== 按钮 ===== */
.btn {
  padding: 11px 20px; font-size: 14px; font-weight: 700; border-radius: 0px;
  border: none; cursor: pointer; font-family: inherit; transition: all .15s;
  white-space: nowrap;
}
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 2px 10px rgba(234,88,12,.3); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.primary:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(15,23,42,.04); }
.btn.block { width: 100%; margin-top: 4px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 9px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 0px;
  padding: 14px 18px; box-shadow: var(--shadow);
}
.faq summary { font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { display: flex; align-items: center; }
.faq summary::before {
  content: ""; width: 16px; height: 16px; margin-right: 8px; flex: none; background: var(--accent); transition: transform .16s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details[open] summary::before { content: "－"; }
.faq details p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ===== 页脚 ===== */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 32px 24px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-brand p { font-size: 12.5px; color: var(--faint); margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; padding-top: 4px; }
.footer-links a { font-size: 13px; color: var(--text-2); }
.footer-contact { font-size: 12.5px; color: var(--muted); text-align: right; }
.footer-contact code { color: var(--accent); font-weight: 700; font-size: 13px; }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,23,42,.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--card); border-radius: 0px; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-step { display: block; }
.modal-step.hidden { display: none; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 12px;
}
.modal-head h3 { font-size: 17px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.modal-close {
  width: 30px; height: 30px; border: none; background: rgba(15,23,42,.06);
  border-radius: 0px; font-size: 19px; line-height: 1; color: var(--muted);
  cursor: pointer; display: grid; place-items: center;
}
.modal-close:hover { background: rgba(15,23,42,.1); color: var(--text); }
.modal-body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 14px; }

.order-summary {
  background: rgba(234,88,12,.06); border: 1px solid rgba(234,88,12,.18);
  border-radius: 0px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.order-summary .os-name { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.order-summary .os-price { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }

.pay-methods { display: flex; gap: 8px; }
.pay-chip {
  flex: 1; padding: 9px; font-size: 13px; font-weight: 600; font-family: inherit;
  border: 1px solid var(--line-2); background: #fff; border-radius: 0px;
  color: var(--text-2); cursor: pointer; transition: all .15s;
}
.pay-chip:hover { border-color: var(--accent); color: var(--accent); }
.pay-chip.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(234,88,12,.25); }

.pay-panel {
  background: #f8fafc; border: 1px solid var(--line); border-radius: 0px;
  padding: 4px 16px;
}
.pay-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.pay-row:last-child { border-bottom: none; }
.pay-row span { color: var(--muted); }
.pay-row b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.pay-row b.accent { color: var(--accent); font-size: 20px; letter-spacing: -.02em; }
.copy-btn {
  font-size: 11.5px; padding: 3px 9px; border-radius: 0px; font-family: inherit;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2);
  cursor: pointer; font-weight: 600;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.pay-tip {
  font-size: 12.5px; color: var(--text-2); background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.35); border-radius: 0px; padding: 12px 14px; line-height: 1.7;
}
.pay-tip b { color: var(--accent); }

.done-icon {
  width: 56px; height: 56px; margin: 4px auto 0; border-radius: 0px;
  background: rgba(16,185,129,.12); color: var(--ok);
  display: grid; place-items: center; font-size: 27px; font-weight: 700;
}
.done-text { text-align: center; font-size: 14px; color: var(--text-2); margin: 0; }
.done-sub { text-align: center; font-size: 12.5px; color: var(--faint); margin: 0; }
.orderno-box {
  text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px; font-weight: 800; letter-spacing: 1px; color: var(--accent);
  background: rgba(234,88,12,.07); border: 1px dashed rgba(234,88,12,.35);
  border-radius: 0px; padding: 13px;
}

/* ===== 查询结果 ===== */
.result-card {
  margin-top: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.result-head b { font-size: 15px; }
.status-badge {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 0px; font-variant-numeric: tabular-nums;
}
.status-pending { background: rgba(148,163,184,.15); color: #475569; }
.status-claimed { background: rgba(251,191,36,.18); color: #b45309; }
.status-delivered { background: rgba(16,185,129,.14); color: #047857; }
.status-cancelled { background: rgba(220,38,38,.12); color: var(--err); }
.result-rows { display: flex; flex-direction: column; gap: 9px; }
.result-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.result-row span { color: var(--muted); }
.result-row b { color: var(--text); }
.card-reveal {
  margin-top: 16px; background: rgba(234,88,12,.06);
  border: 1px solid rgba(234,88,12,.25); border-radius: 0px; padding: 16px; text-align: center;
}
.card-reveal .cr-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.card-reveal .cr-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px; font-weight: 800; letter-spacing: 1.5px; color: var(--accent);
  word-break: break-all;
}
.card-reveal .cr-actions { margin-top: 12px; display: flex; gap: 8px; justify-content: center; }
.card-reveal .cr-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }
.result-empty { margin-top: 16px; font-size: 13.5px; color: var(--err); text-align: center; }

/* ===== 提示 ===== */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: #0f172a; color: #fff; font-size: 13.5px; font-weight: 500;
  padding: 11px 20px; border-radius: 0px; z-index: 200;
  opacity: 0; pointer-events: none; transition: all .25s; max-width: 88vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--err); }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .topbar { padding: 10px 16px; }
  .topnav a:not(.topnav-cta) { display: none; }
  main { padding: 0 16px 60px; }
  .hero { padding: 40px 0 24px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .product { padding: 16px 14px 12px; }
  .product-price { font-size: 25px; }
  .query-box { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .hero-steps { gap: 6px; }
  .step { padding: 7px 11px; }
  .step span { font-size: 12px; }
}

/* ===== 自定义金额输入 ===== */
.field.hidden { display: none; }
.amount-wrap {
  position: relative; display: flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 0px; background: #fff;
  transition: border-color .15s, box-shadow .15s; overflow: hidden;
}
.amount-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.amount-prefix {
  padding: 0 4px 0 13px; font-size: 16px; font-weight: 800; color: var(--accent); user-select: none;
}
.amount-wrap input {
  flex: 1; border: none !important; box-shadow: none !important; background: transparent !important;
  padding: 11px 13px 11px 6px !important; font-size: 17px !important; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--text); outline: none;
}
.amount-wrap input::-webkit-outer-spin-button,
.amount-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-wrap input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.amount-quick { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.amount-quick button {
  font-size: 12px; padding: 5px 11px; border-radius: 0px; font-family: inherit;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2); cursor: pointer; font-weight: 600;
}
.amount-quick button:hover { border-color: var(--accent); color: var(--accent); }
.product.custom-card { border-style: dashed; }
.product.custom-card:hover { border-style: solid; }

/* ===== B6 设计层（2026-10-19）：只叠加，回滚删掉本段即可 ===== */
:root {
  --faint: #64748b;            /* 原 #94a3b8 在白底只有 2.6:1，提到 ≥4.5:1 */
  --focus-ring: 0 0 0 3px rgba(234, 88, 12, .32);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .14);
  --shadow-hover: 0 1px 2px rgba(15, 23, 42, .06), 0 16px 32px -14px rgba(15, 23, 42, .22);
}
body { font-family: var(--sans); }
.product-price, .os-price, .pay-row b, .result-row b, .cr-key, .orderno-box { font-variant-numeric: tabular-nums; }

/* 焦点环 + 按钮四态 */
:where(a, button, input, select, textarea, summary, .product):focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn, .pay-chip, .copy-btn, .topnav a, .lang-toggle, .product, .faq details {
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease, filter 150ms ease;
}
.btn:active:not(:disabled), .pay-chip:active, .copy-btn:active, .lang-toggle:active { transform: translateY(1px) scale(.985); }
.btn:disabled, .copy-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn, .field input { min-height: 44px; }
.product { border-radius: var(--radius); box-shadow: var(--shadow); }
.product:hover { box-shadow: var(--shadow-hover); }
.product:focus-visible { box-shadow: var(--focus-ring), var(--shadow-hover); }
.faq details { border-radius: var(--radius); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { min-height: 24px; }

/* 语言切换：页头内联按钮，不是悬浮挂件 */
.lang-toggle {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2);
  height: 34px; min-width: 44px; padding: 0 12px; border-radius: 0px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* 长英文不撑破 */
.product-name, .product-desc, .step span, .section-head p, .hint { overflow-wrap: anywhere; }
.hero-steps { flex-wrap: wrap; justify-content: center; }

@media (max-width: 720px) {
  .lang-toggle { height: 32px; padding: 0 10px; }
}

/* 减少动态效果保留 */

/* ---- 第四批：线性图标（20px 网格，1.6 线宽），替换字符箭头 / ×  / ✓ ---- */
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.ic * { vector-effect: non-scaling-stroke; }
.topnav-cta { display: inline-flex; align-items: center; gap: 6px; }
.topnav-cta .ic { width: 15px; height: 15px; }
.step-arrow { display: grid; place-items: center; }
.step-arrow .ic { width: 16px; height: 16px; }
.modal-close .ic { width: 18px; height: 18px; }
.done-icon .ic { width: 28px; height: 28px; stroke-width: 2; }
.mini .ic { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

/* ===== 收银台（P0 审计新增：原本这些样式写在 app.js 的行内 style 里）===== */
.pay-timer {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #ef4444;
  background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2);
  border-radius: 0px; padding: 8px 12px;
}
.pay-timer.expired { color: var(--muted); background: rgba(100,116,139,.08); border-color: var(--line-2); }
.pay-countdown { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }

.pay-status { font-size: 12.5px; line-height: 1.6; text-align: center; border-radius: 0px; padding: 9px 12px; }
.pay-status.live { color: #047857; background: rgba(16,185,129,.09); border: 1px solid rgba(16,185,129,.28); }
.pay-status.warn { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
.pay-status.err  { color: var(--err); background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.25); }

/* 超时：二维码/在线支付入口整体置灰并禁止交互 */
#pay-qr-box.expired, #pay-auto-box.expired { opacity: .3; filter: grayscale(100%); pointer-events: none; }
#pay-qr-box:empty, #pay-auto-box:empty { display: none; }

.qr-card {
  text-align: center; padding: 18px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 0px; box-shadow: 0 4px 20px rgba(15,23,42,.04);
}
.qr-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -.01em; }
.qr-img-wrap { display: inline-block; padding: 8px; background: #f8fafc; border: 1px solid var(--line); border-radius: 0px; }
.qr-img-wrap img { max-width: 280px; width: 100%; height: auto; border-radius: 0px; display: block; }
.qr-amount { margin-top: 12px; font-size: 13.5px; color: var(--text-2); }
.qr-amount b { color: var(--accent); font-size: 17px; font-variant-numeric: tabular-nums; }
.qr-live {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 12.5px; font-weight: 600; color: var(--ok);
  background: rgba(16,185,129,.08); padding: 5px 14px; border-radius: 0px;
}
.qr-live .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.auto-pay {
  padding: 14px; text-align: center;
  background: rgba(2,132,199,.08); border: 1px solid rgba(2,132,199,.28); border-radius: 0px;
}
.auto-pay-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #0369a1; }
.auto-pay-sub { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* 表单校验失败态 */
.field input.invalid, .amount-wrap input.invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.amount-wrap:has(input.invalid) { border-color: var(--err); }
.field .hint.err { color: var(--err); font-weight: 600; }

/* 可点击复制的文本 */
.copyable { cursor: pointer; }
.copyable:hover { opacity: .75; }

/* 查单：加载态与空态 */
.result-loading { margin-top: 16px; padding: 20px; text-align: center; font-size: 13.5px; color: var(--faint); }
.result-empty { line-height: 1.7; }

.product-price.custom-price { font-size: 22px; letter-spacing: -.02em; }

/* 折扣单：面额 → 实付 的说明 */
.confirm-face-note {
  margin: 6px 0 14px; font-size: 12.5px; font-weight: 600; color: var(--ok);
  background: rgba(16,185,129,.09); border: 1px solid rgba(16,185,129,.25);
  border-radius: 0px; padding: 4px 12px; display: inline-block;
}
.order-summary .os-price[data-face]:not([data-face=""])::after {
  content: attr(data-face);
  display: block; font-size: 11.5px; font-weight: 600; color: var(--ok);
  text-align: right; letter-spacing: 0;
}

/* ===== 海外买家导流横幅（非中文界面显示，跳 shop.fubiip.com 刷卡 / Crypto · V4 暖调克制双态）===== */
.intl-pay-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 10px 18px; text-align: center;
  background: #FAF7F2; color: #181715;
  border-bottom: 1px solid rgba(24, 23, 21, 0.12);
  font-size: 13.5px; font-weight: 600; line-height: 1.45; text-decoration: none;
}
html:not([data-theme="light"]) .intl-pay-banner,
html[data-theme="dark"] .intl-pay-banner {
  background: #131518; color: #F0ECE6;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.intl-pay-banner[hidden] { display: none !important; }
.intl-pay-banner .ipb-cta {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px;
  background: #A64B17; border: 1px solid #A64B17; color: #FFFFFF !important;
  font-size: 12.5px; font-weight: 650; white-space: nowrap; text-decoration: none;
}
.intl-pay-banner .ipb-cta:hover { background: #8F3E11; border-color: #8F3E11; color: #FFFFFF !important; }
.intl-pay-banner .ipb-cta-alt {
  background: #EFEAE1; border-color: rgba(24, 23, 21, 0.20); color: #181715 !important;
}
.intl-pay-banner .ipb-cta-alt:hover {
  background: #E5DED2; border-color: rgba(24, 23, 21, 0.30); color: #181715 !important;
}
html:not([data-theme="light"]) .intl-pay-banner .ipb-cta-alt,
html[data-theme="dark"] .intl-pay-banner .ipb-cta-alt {
  background: #1D2128; border-color: rgba(255, 255, 255, 0.18); color: #F0ECE6 !important;
}
html:not([data-theme="light"]) .intl-pay-banner .ipb-cta-alt:hover,
html[data-theme="dark"] .intl-pay-banner .ipb-cta-alt:hover {
  background: #262B34; border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF !important;
}
.cashier-alt-pay { margin-top: 14px; font-size: 12.5px; color: var(--muted, #5C554D); }
.cashier-alt-pay a { font-weight: 700; color: var(--accent, #9E4414); }

/* ===== 主题层（仅 html[data-theme] 下生效）===== */

/* ---- 国旗 SVG（不加作用域：payment.html 的语言菜单也由 i18n.js 换成 SVG 国旗） ---- */
.flag-svg { display: block; width: 18px; height: 12px; border-radius: 0px; flex: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, .16); overflow: hidden; }
.lang-flag, #lang-cur-flag { display: inline-flex; align-items: center; font-size: 0; line-height: 0; }

/* ---- 1. 令牌（方案 A 统一基线：深邃暖曜石 / 暖调羊绒米白 + 低饱和琥珀焦糖渐变） ---- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E131E;
  --card: #151C2B;
  --card-2: #111724;
  --card-3: #1B2335;
  --input: #0D111A;
  --header-bg: rgba(14, 18, 28, .86);
  --text: #F1F5F9;
  --text-2: #CBD5E1;
  --muted: #94A3B8;
  --faint: #7E8EA3;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #E28B4E;
  --accent-2: #D4763B;
  --accent-ink: #F5C59A;
  --accent-soft: rgba(226, 139, 78, .14);
  --accent-border: rgba(226, 139, 78, .38);
  --grad: linear-gradient(135deg, #DF8142 0%, #B85A24 100%);
  --ok: #10B981;
  --ok-ink: #34D399;
  --ok-soft: rgba(16, 185, 129, .12);
  --ok-border: rgba(16, 185, 129, .30);
  --warn-ink: #FBBF24;
  --warn-soft: rgba(245, 158, 11, .10);
  --warn-border: rgba(245, 158, 11, .30);
  --err: #F87171;
  --err-soft: rgba(239, 68, 68, .10);
  --err-border: rgba(239, 68, 68, .30);
  --info: #38BDF8;
  --info-soft: rgba(56, 189, 248, .10);
  --info-border: rgba(56, 189, 248, .28);
  --mask: rgba(3, 5, 10, .72);
  --hover: rgba(255, 255, 255, .05);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 36px -14px rgba(0, 0, 0, .62);
  --shadow-hover: inset 0 1px 0 rgba(255, 255, 255, .10), 0 20px 44px -16px rgba(0, 0, 0, .74);
  --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, .70);
  --focus-ring: 0 0 0 3px rgba(226, 139, 78, .34);
  --hot-glow: 0 0 0 1px rgba(226, 139, 78, .48), 0 0 28px -8px rgba(212, 118, 59, .38);
  --glow-top: rgba(226, 139, 78, .15);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #F2EFE9;
  --card: #FFFFFF;
  --card-2: #F8F5EE;
  --card-3: #EFEAE1;
  --input: #FFFFFF;
  --header-bg: rgba(251, 249, 246, .90);
  --text: #1C1917;
  --text-2: #44403C;
  --muted: #6B635B;
  --faint: #64748b;            /* 审计 2026-11-01：原 #8A8178 白底约 3.9:1，统一为 ≥4.5:1 */
  --line: rgba(168, 138, 108, .20);
  --line-2: rgba(152, 124, 96, .28);
  --accent: #C2672F;
  --accent-2: #D4763B;
  --accent-ink: #9A4817;
  --accent-soft: rgba(212, 118, 59, .11);
  --accent-border: rgba(194, 103, 47, .30);
  --grad: linear-gradient(135deg, #D4763B 0%, #B85A24 100%);
  --ok: #0F8A65;
  --ok-ink: #0B6B4F;
  --ok-soft: rgba(15, 138, 101, .09);
  --ok-border: rgba(15, 138, 101, .26);
  --warn-ink: #9A4817;
  --warn-soft: #FDF6ED;
  --warn-border: rgba(212, 118, 59, .30);
  --err: #DC2626;
  --err-soft: rgba(220, 38, 38, .07);
  --err-border: rgba(220, 38, 38, .24);
  --info: #0369A1;
  --info-soft: rgba(2, 132, 199, .08);
  --info-border: rgba(2, 132, 199, .24);
  --mask: rgba(28, 25, 23, .46);
  --hover: rgba(120, 86, 52, .05);
  --shadow: inset 0 1px 0 #FFFFFF, 0 2px 6px rgba(68, 46, 26, .04), 0 16px 36px -16px rgba(68, 46, 26, .10);
  --shadow-hover: inset 0 1px 0 #FFFFFF, 0 4px 10px rgba(68, 46, 26, .05), 0 22px 42px -16px rgba(140, 82, 38, .17);
  --shadow-lg: 0 24px 60px -12px rgba(68, 46, 26, .22);
  --focus-ring: 0 0 0 3px rgba(212, 118, 59, .24);
  --hot-glow: 0 0 0 1px rgba(194, 103, 47, .35), 0 10px 26px -12px rgba(184, 90, 36, .22);
  --glow-top: rgba(212, 118, 59, .10);
}
html[data-theme] { --mono: "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Mono", "Cascadia Code", Menlo, Consolas, monospace; }

/* 切主题瞬间关掉过渡，避免卡片分批变色 */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }

/* ---- 2. 基础 ---- */
html[data-theme] body {
  background: radial-gradient(1100px 520px at 50% -160px, var(--glow-top), transparent 72%), var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  overflow-x: hidden;
}
html[data-theme] a { color: var(--accent); }
html[data-theme] ::selection { background: rgba(249, 115, 22, .3); }

/* ---- 3. 门户外壳 · 顶栏（Modular Portal Shell） ----
   结构：.brand | .portal-nav > .nav-hub-group > .hub-link × N | .topnav（主题 / 语言 / 控制台）
   挂新板块：在 .nav-hub-group 里复制一行 .hub-link，例如
     <a class="hub-link" href="/mail-sort" data-hub="mail-sort"><svg class="ic">…</svg><span>邮箱分类</span></a>
   尚未上线的板块可加 .is-soon + <span class="hub-badge-soon">Soon</span>（不可点击，不产生死链）；
   板块多了以后可再开一个 .nav-hub-group，组与组之间自动出现分隔线。 */
html[data-theme] .topbar {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  padding: 0 24px; min-height: 60px; gap: 16px;
}
html[data-theme] .brand { flex: none; }
.portal-nav { display: flex; align-items: center; flex: 1; min-width: 0; margin-left: 12px; }
.nav-hub-group { display: flex; align-items: center; gap: 2px; }
.nav-hub-group + .nav-hub-group { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.hub-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 12px; border-radius: 0px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2) !important; text-decoration: none !important; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}
.hub-link .ic { width: 16px; height: 16px; vertical-align: 0; opacity: .85; }
.hub-link:hover { background: var(--hover); color: var(--text) !important; }
.hub-link.is-active { color: var(--text) !important; background: var(--accent-soft); }
.hub-link.is-active .ic { color: var(--accent); opacity: 1; }
.hub-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 2px; border-radius: 0px; background: var(--grad);
}
.hub-link.is-soon { pointer-events: none; color: var(--faint) !important; }
.hub-badge-soon {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--line-2); border-radius: 0px; font-variant-numeric: tabular-nums; padding: 0 6px; line-height: 16px;
}
html[data-theme] .topnav { gap: 8px; flex: none; }
html[data-theme] .topnav a:hover { background: transparent; }
html[data-theme] .topnav-cta { height: 36px; padding: 0 14px; border-radius: 0px; box-shadow: 0 1px 2px rgba(0, 0, 0, .16); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border-radius: 0px; border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}
.theme-toggle:hover { border-color: var(--accent-border); color: var(--text); }
.theme-toggle [data-theme-icon] { display: inline-grid; place-items: center; }
.theme-toggle .ic { width: 16px; height: 16px; vertical-align: 0; }

html[data-theme] .lang-switch-box { margin: 0; }
html[data-theme] .lang-cur-btn {
  height: 34px; padding: 0 11px; gap: 7px; border-radius: 0px;
  background: var(--card-2); border-color: var(--line-2); color: var(--text-2);
}
html[data-theme] .lang-cur-btn:hover { border-color: var(--accent-border); color: var(--text); }
.lang-caret { display: inline-grid; place-items: center; }
.lang-caret .ic { width: 13px; height: 13px; vertical-align: 0; }
html[data-theme] .lang-menu {
  background: var(--card); border-color: var(--line-2); box-shadow: var(--shadow-lg); border-radius: 0px; min-width: 160px;
}
html[data-theme] .lang-item,
html[data-theme] .lang-menu a.lang-item,
html[data-theme] .topnav .lang-menu a.lang-item {
  color: var(--text-2); padding: 8px 10px; gap: 10px; border-radius: 0px;
  font-size: 13px; line-height: 18px; font-weight: 400; text-decoration: none; box-sizing: border-box;
}
html[data-theme] .lang-item:hover,
html[data-theme] .lang-menu a.lang-item:hover,
html[data-theme] .topnav .lang-menu a.lang-item:hover { background: var(--hover); color: var(--accent); text-decoration: none; }
html[data-theme] .lang-item[aria-current="true"],
html[data-theme] .lang-menu a.lang-item[aria-current="true"],
html[data-theme] .topnav .lang-menu a.lang-item[aria-current="true"] { color: var(--text); background: var(--accent-soft); text-decoration: none; }

/* ---- 4. Hero ---- */
html[data-theme] .hero { padding: 72px 0 36px; }
html[data-theme] .tag { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent-border); }
html[data-theme] .hero h1 { color: var(--text); }
html[data-theme] .hero-sub { color: var(--muted); }

/* 四步流程条：数字徽章 + 连接线 */
html[data-theme] .hero-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0;
  max-width: 820px; margin: 34px auto 0;
}
html[data-theme] .step {
  flex-direction: column; justify-content: center; gap: 10px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 0px;
  padding: 16px 10px 14px; box-shadow: var(--shadow); min-width: 0;
}
html[data-theme] .step b {
  width: 30px; height: 30px; border-radius: 0px; font-family: var(--mono); font-size: 13px; font-weight: 800;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border);
}
html[data-theme] .step:last-child b { background: var(--grad); color: #fff; border-color: transparent; }
html[data-theme] .step span { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.35; }
html[data-theme] .step-arrow { position: relative; width: 34px; color: var(--accent); align-self: center; }
html[data-theme] .step-arrow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0;
  border-top: 1.5px dashed var(--accent-border);
}
html[data-theme] .step-arrow .ic { position: relative; width: 14px; height: 14px; padding: 2px; box-sizing: content-box; background: var(--bg); border-radius: 0px; }

/* ---- 5. 国际支付导流卡 ---- */
html[data-theme] .intl-pay-banner.ipb-duo {
  display: block; padding: 0 24px; margin-top: 28px; background: none; color: var(--text); text-align: left;
  font-size: 14px; font-weight: 500;
}
html[data-theme] .intl-pay-banner.ipb-duo[hidden] { display: none; }
.ipb-duo .ipb-inner {
  max-width: 1032px; margin: 0 auto; padding: 18px; border-radius: 0px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ipb-duo .ipb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ipb-duo .ipb-ico {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 0px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border);
}
.ipb-duo .ipb-ico .ic { width: 16px; height: 16px; vertical-align: 0; }
.ipb-duo .ipb-text { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.5; }
.ipb-duo .ipb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html[data-theme] .ipb-duo .ipb-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 0px;
  background: var(--card-2); border: 1px solid var(--line-2); color: var(--text); text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; min-width: 0;
}
html[data-theme] .ipb-duo .ipb-card:hover { border-color: var(--accent-border); transform: translateY(-1px); box-shadow: var(--shadow-hover); text-decoration: none; }
.ipb-duo .ipb-card-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 0px; color: #fff; }
.ipb-duo .ipb-card-ico .ic { width: 20px; height: 20px; vertical-align: 0; }
.ipb-duo .ipb-card-card .ipb-card-ico { background: linear-gradient(135deg, #fb923c, #ea580c); }
.ipb-duo .ipb-card-crypto .ipb-card-ico { background: linear-gradient(135deg, #34d399, #0d9488); }
.ipb-duo .ipb-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ipb-duo .ipb-card-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ipb-duo .ipb-card-title { font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.4; overflow-wrap: anywhere; }
.ipb-duo .ipb-card-go { flex: none; color: var(--faint); display: grid; place-items: center; transition: color 150ms ease, transform 150ms ease; }
.ipb-duo .ipb-card-go .ic { width: 18px; height: 18px; vertical-align: 0; }
.ipb-duo .ipb-card:hover .ipb-card-go { color: var(--accent); transform: translate(1px, -1px); }

/* ---- 6. 区块标题 ---- */
html[data-theme] .section { margin-top: 64px; scroll-margin-top: 80px; }
html[data-theme] .section-head h2 { color: var(--text); display: flex; align-items: center; gap: 10px; }
html[data-theme] .section-head h2::before { content: ""; width: 4px; height: 18px; border-radius: 0px; background: var(--grad); flex: none; }
html[data-theme] .section-head p { color: var(--muted); }

/* ---- 7. 面额卡片矩阵（列数由 app.js 按固定面额个数写入 --cols） ---- */
html[data-theme] .products { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
html[data-theme] .loading { color: var(--faint); }
html[data-theme] .product {
  background: var(--card); border: 1px solid var(--line); border-radius: 0px;
  padding: 22px 18px 16px; gap: 2px; box-shadow: var(--shadow); min-width: 0;
}
html[data-theme] .product:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
html[data-theme] .product:focus-visible { box-shadow: var(--focus-ring), var(--shadow-hover); }
html[data-theme] .product.is-hot {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--card);
  box-shadow: var(--hot-glow);
}
html[data-theme] .product.is-hot:hover { box-shadow: var(--hot-glow), var(--shadow-hover); }
html[data-theme] .product-badge {
  top: 14px; right: 14px; border-radius: 0px; font-variant-numeric: tabular-nums; padding: 2px 9px; font-size: 10.5px; letter-spacing: .03em;
  background: var(--grad); color: #fff; box-shadow: 0 4px 12px -4px rgba(234, 88, 12, .6);
}
html[data-theme] .product-price {
  font-family: var(--mono); font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.1;
  display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px;
}
html[data-theme] .product-price small { font-size: 17px; font-weight: 700; color: var(--accent); margin-right: 1px; }
html[data-theme] .product-name { font-size: 13px; font-weight: 600; color: var(--text-2); }
html[data-theme] .product-desc { font-size: 12px; color: var(--faint); margin-top: 2px; }
html[data-theme] .product-action {
  margin-top: 16px; padding: 0 14px; height: 38px; border-top: none; border-radius: 0px;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-ink);
  font-size: 13px; font-weight: 700; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
html[data-theme] .product:hover .product-action,
html[data-theme] .product.is-hot .product-action { background: var(--grad); border-color: transparent; color: #fff; }

/* 自定义面额：整行横向卡 */
html[data-theme] .product.custom-card {
  grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 18px;
  border-style: dashed; padding: 18px 20px;
}
html[data-theme] .product.custom-card:hover { border-style: solid; }
html[data-theme] .product.custom-card .product-badge { position: static; order: -1; }
html[data-theme] .product.custom-card .product-price.custom-price { font-family: inherit; font-size: 20px; letter-spacing: -.02em; margin: 0; }
html[data-theme] .product.custom-card .product-name { font-size: 13.5px; }
html[data-theme] .product.custom-card .product-desc { font-family: var(--mono); font-size: 12.5px; margin: 0; padding: 2px 8px; border-radius: 0px; background: var(--card-3); color: var(--text-2); }
html[data-theme] .product.custom-card .product-action { margin: 0 0 0 auto; min-width: 150px; }

/* ---- 8. 查订单 ---- */
html[data-theme] .query-box { background: var(--card); border-color: var(--line); border-radius: 0px; padding: 22px; box-shadow: var(--shadow); }
html[data-theme] .field label { color: var(--text-2); }
html[data-theme] .field input { background: var(--input); border-color: var(--line-2); color: var(--text); border-radius: 0px; }
html[data-theme] .field input::placeholder { color: var(--faint); opacity: .85; }
html[data-theme] .field input:hover { border-color: var(--accent-border); }
html[data-theme] .field input:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }
html[data-theme] .field .hint { color: var(--faint); }
html[data-theme] .field input.invalid { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-soft); }
html[data-theme] .field .hint.err, html[data-theme] .result-empty { color: var(--err); }

html[data-theme] .result-card { background: var(--card); border-color: var(--line); border-radius: 0px; box-shadow: var(--shadow); animation: pop .22s ease; }
html[data-theme] .result-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
html[data-theme] .result-head b { color: var(--text); font-family: var(--mono); font-size: 14px; }
html[data-theme] .result-row span { color: var(--muted); }
html[data-theme] .result-row b { color: var(--text); }
html[data-theme] .status-pending { background: var(--card-3); color: var(--muted); }
html[data-theme] .status-claimed { background: var(--warn-soft); color: var(--warn-ink); }
html[data-theme] .status-delivered { background: var(--ok-soft); color: var(--ok-ink); }
html[data-theme] .status-cancelled { background: var(--err-soft); color: var(--err); }
html[data-theme] .result-loading { color: var(--faint); }
html[data-theme] .card-reveal { background: var(--accent-soft); border-color: var(--accent-border); border-radius: 0px; }
html[data-theme] .card-reveal .cr-key, html[data-theme] .orderno-box { font-family: var(--mono); color: var(--accent-ink); }
html[data-theme] .card-reveal .cr-label, html[data-theme] .card-reveal .cr-hint { color: var(--muted); }
html[data-theme] .result-card .cr-actions { margin-top: 12px; }

/* ---- 9. 按钮 ---- */
html[data-theme] .btn { border-radius: 0px; }
html[data-theme] .btn.primary { background: var(--grad); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .16); }
html[data-theme] .btn.ghost { color: var(--text-2); border-color: var(--line-2); background: transparent; }
html[data-theme] .btn.ghost:hover { background: var(--hover); color: var(--text); }
html[data-theme] .copy-btn { background: var(--card-2); border-color: var(--line-2); color: var(--text-2); text-decoration: none; }
html[data-theme] .copy-btn:hover { border-color: var(--accent-border); color: var(--accent); }

/* ---- 10. FAQ 手风琴 ---- */
html[data-theme] .faq { gap: 10px; }
html[data-theme] .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 0px; padding: 0; box-shadow: none; overflow: hidden; }
html[data-theme] .faq details:hover { border-color: var(--line-2); }
html[data-theme] .faq details[open] { border-color: var(--accent-border); box-shadow: var(--shadow); }
html[data-theme] .faq summary { padding: 15px 18px; color: var(--text); gap: 12px; min-height: 0; }
html[data-theme] .faq summary::before { display: none; }
html[data-theme] .faq summary::after {
  content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; background: var(--faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
html[data-theme] .faq details[open] summary::after { transform: rotate(180deg); background: var(--accent); }
html[data-theme] .faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); animation: faqIn .24s ease; }
html[data-theme] .faq details p b { color: var(--text); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---- 11. 页脚 ---- */
html[data-theme] .footer { background: var(--card); border-top-color: var(--line); margin-top: 24px; }
html[data-theme] .footer-brand p, html[data-theme] .footer-contact { color: var(--faint); }
html[data-theme] .footer-links a { color: var(--text-2); }
html[data-theme] .footer-links a:hover { color: var(--accent); text-decoration: none; }
html[data-theme] .footer-contact code { font-family: var(--mono); color: var(--accent-ink); font-size: 12.5px; }

/* ---- 12. 下单 / 收银弹窗 ---- */
html[data-theme] .modal-mask { background: var(--mask); backdrop-filter: blur(6px); }
html[data-theme] .modal { background: var(--card); border: 1px solid var(--line-2); border-radius: 0px; box-shadow: var(--shadow-lg); }
html[data-theme] .modal-head { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
html[data-theme] .modal-head h3 { color: var(--text); }
html[data-theme] .modal-close { background: var(--card-3); color: var(--muted); }
html[data-theme] .modal-close:hover { background: var(--hover); color: var(--text); }
html[data-theme] .order-summary { background: var(--accent-soft); border-color: var(--accent-border); border-radius: 0px; }
html[data-theme] .order-summary .os-name { color: var(--text-2); }
html[data-theme] .order-summary .os-price { font-family: var(--mono); color: var(--accent-ink); }
html[data-theme] .amount-wrap { background: var(--input); border-color: var(--line-2); border-radius: 0px; }
html[data-theme] .amount-wrap:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
html[data-theme] .amount-wrap input { color: var(--text); font-family: var(--mono); }
html[data-theme] .amount-quick button { background: var(--card-2); border-color: var(--line-2); color: var(--text-2); font-family: var(--mono); }
html[data-theme] .amount-quick button:hover { border-color: var(--accent-border); color: var(--accent); }

/* 支付渠道条（原 index.html 第 188 行内联浅色样式） */
.pay-channel {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  background: var(--card-2, #f8fafc); border: 1px solid var(--line-2); border-radius: 0px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.pay-channel-ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 0px; background: #1677ff; color: #fff; }
.pay-channel-ico .ic { width: 15px; height: 15px; vertical-align: 0; stroke-width: 2; }
.pay-channel-live {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 2px 9px; border-radius: 0px;
  font-size: 11.5px; font-weight: 600; color: var(--ok-ink, #047857); background: var(--ok-soft, rgba(16,185,129,.1)); border: 1px solid var(--ok-border, rgba(16,185,129,.26)); white-space: nowrap;
}
.pay-channel-live i { width: 6px; height: 6px; border-radius: 0px; background: var(--ok); box-shadow: 0 0 6px var(--ok); }

/* 二级金额确认（原内联样式） */
.confirm-label { font-size: 13px; color: var(--muted); margin: 4px 0 6px; }
.confirm-amount { font-family: var(--mono, ui-monospace, monospace); font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-ink, var(--accent)); }
.confirm-warn {
  display: flex; gap: 10px; text-align: left; margin-bottom: 20px; padding: 12px 14px; border-radius: 0px;
  font-size: 13px; line-height: 1.6; color: var(--warn-ink, #b45309); background: var(--warn-soft, #fffbeb); border: 1px solid var(--warn-border, #fde68a);
}
.confirm-warn > .ic { width: 18px; height: 18px; margin-top: 2px; }
.confirm-actions { display: flex; gap: 10px; }
.confirm-actions .btn { flex: 1; }
.confirm-actions .btn.primary { flex: 1.4; }
.modal-body.is-center { text-align: center; }

/* 收银台 */
html[data-theme] .pay-timer { color: var(--err); background: var(--err-soft); border-color: var(--err-border); border-radius: 0px; }
html[data-theme] .pay-timer.expired { color: var(--muted); background: var(--card-3); border-color: var(--line-2); }
html[data-theme] .pay-countdown { font-family: var(--mono); }
html[data-theme] .pay-panel { background: var(--card-2); border-color: var(--line); }
html[data-theme] .pay-row { border-bottom-color: var(--line); }
html[data-theme] .pay-row span { color: var(--muted); }
html[data-theme] .pay-row b { color: var(--text); }
html[data-theme] .pay-row b.accent { font-family: var(--mono); color: var(--accent-ink); }
html[data-theme] .pay-tip { color: var(--text-2); background: var(--warn-soft); border-color: var(--warn-border); }
html[data-theme] .pay-tip b { color: var(--accent-ink); }
html[data-theme] .pay-status.live { color: var(--ok-ink); background: var(--ok-soft); border-color: var(--ok-border); }
html[data-theme] .pay-status.warn { color: var(--warn-ink); background: var(--warn-soft); border-color: var(--warn-border); }
html[data-theme] .pay-status.err { color: var(--err); background: var(--err-soft); border-color: var(--err-border); }
html[data-theme] .qr-card { background: var(--card-2); border-color: var(--line); box-shadow: none; }
html[data-theme] .qr-title { color: var(--text); }
html[data-theme] .qr-img-wrap { background: #fff; border-color: var(--line); } /* 二维码底色必须保持白色，保证可扫 */
html[data-theme] .qr-amount { color: var(--text-2); }
html[data-theme] .qr-amount b { font-family: var(--mono); color: var(--accent-ink); }
html[data-theme] .qr-live { color: var(--ok-ink); background: var(--ok-soft); }
html[data-theme] .auto-pay { background: var(--info-soft); border-color: var(--info-border); }
html[data-theme] .auto-pay-title { color: var(--info); }
html[data-theme] .auto-pay-sub { color: var(--muted); }
html[data-theme] .done-icon { background: var(--ok-soft); color: var(--ok); box-shadow: 0 0 0 6px var(--ok-soft); }
html[data-theme] .done-text { color: var(--text-2); }
html[data-theme] .done-sub { color: var(--faint); }
html[data-theme] .orderno-box { background: var(--accent-soft); border-color: var(--accent-border); }
html[data-theme] .confirm-face-note { color: var(--ok-ink); background: var(--ok-soft); border-color: var(--ok-border); }
html[data-theme] .order-summary .os-price[data-face]:not([data-face=""])::after { color: var(--ok-ink); }

/* 提示条 */
html[data-theme] .toast { background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); }
html[data-theme] .toast.err { background: #dc2626; color: #fff; }

/* ---- 13. 响应式 ---- */
@media (max-width: 960px) {
  html[data-theme] .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  html[data-theme] .topbar { flex-wrap: wrap; padding: 8px 16px 0; row-gap: 4px; }
  html[data-theme] .portal-nav { order: 3; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  html[data-theme] .portal-nav::-webkit-scrollbar { display: none; }
  html[data-theme] .hub-link { height: 40px; }
  html[data-theme] .hub-link.is-active { background: transparent; }
  html[data-theme] .hub-link.is-active::after { bottom: 0; }
  html[data-theme] .topnav { margin-left: auto; min-height: 44px; }
}
@media (max-width: 720px) {
  html[data-theme] .topnav a:not(.topnav-cta) { display: inline-flex; }
  html[data-theme] .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html[data-theme] .product { padding: 18px 14px 14px; }
  html[data-theme] .product-price { font-size: 27px; }
  html[data-theme] .product-badge { top: 10px; right: 10px; }
  html[data-theme] .product.custom-card .product-action { margin: 8px 0 0; flex: 1 0 100%; }
  html[data-theme] .hero { padding: 44px 0 20px; }
  html[data-theme] .hero-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  html[data-theme] .step-arrow { display: none; }
  html[data-theme] .step { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px; }
  html[data-theme] .step b { width: 26px; height: 26px; flex: none; }
  html[data-theme] .intl-pay-banner.ipb-duo { padding: 0 16px; margin-top: 18px; }
  .ipb-duo .ipb-inner { padding: 14px; }
  .ipb-duo .ipb-cards { grid-template-columns: 1fr; }
  html[data-theme] .query-box { padding: 16px; }
}
@media (max-width: 520px) {
  .theme-toggle [data-theme-label], html[data-theme] #lang-cur-text { display: none; }
  .theme-toggle { width: 34px; padding: 0; justify-content: center; }
  html[data-theme] .topnav { gap: 6px; }
  html[data-theme] .topnav-cta { padding: 0 10px; font-size: 12.5px; }
  html[data-theme] .brand-sub { display: none; }
}
@media (max-width: 380px) {
  html[data-theme] .topnav-cta span { display: none; }
  html[data-theme] .topnav-cta { width: 36px; padding: 0; justify-content: center; }
}

/* =====================================================================
   FubiIP 3.0 / 3.1 · 主站 fubiip.com
   全部规则挂在 body.v3 下：payment.html / admin.html 共用本样式表但不受影响
   ===================================================================== */
body.v3 { --v3-max: 1312px; }
body.v3 .v3-wrap, body.v3 .v3-main-wrap { max-width: var(--v3-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
body.v3 main.v3-main-wrap { padding-bottom: 72px; }
body.v3 .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.v3 .flag { width: 18px; height: 12px; border-radius: 0px; display: inline-block; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); }

/* ---- [A] 顶栏 ---- */
body.v3 .v3-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 0 32px; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
body.v3 .topnav { display: flex; align-items: center; gap: 8px; flex: none; }
body.v3 .v3-tb-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 0px; background: var(--card); color: var(--text-2) !important; font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; text-decoration: none !important; }
body.v3 .v3-tb-btn:hover { border-color: var(--accent-border); color: var(--text) !important; }
body.v3 #v3-wallet .v3-tb-btn[data-act="login"] { background: var(--grad); color: #fff !important; border: 0; font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .16); }
body.v3 .v3-wallet-pill { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 4px 0 10px; border: 1px solid var(--accent-border); background: var(--accent-soft); border-radius: 0px; font-size: 13px; white-space: nowrap; }
body.v3 .v3-wp-user { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
body.v3 .v3-wp-bal { font: 700 14px/1 var(--mono); color: var(--accent); margin: 0 4px 0 2px; }
body.v3 .v3-wp-top { height: 28px; padding: 0 12px; border: 0; border-radius: 0px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; font-family: inherit; cursor: pointer; }
body.v3 .v3-wp-out { height: 28px; width: 28px; border: 0; border-radius: 0px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
body.v3 .v3-wp-out:hover { color: var(--err); background: var(--err-soft); }

/* ---- 兑换输入框 ---- */
body.v3 .vin { display: flex; gap: 8px; }
body.v3 .vin input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line-2); border-radius: 0px; padding: 0 12px; font: 14px var(--mono); background: var(--input, var(--card)); color: var(--text); letter-spacing: .03em; }
body.v3 .vin input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
body.v3 .vin button { height: 42px; padding: 0 18px; border-radius: 0px; border: 0; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; }
body.v3 .vin button[disabled] { opacity: .6; cursor: wait; }
body.v3 .v3-redeem-msg { margin-top: 8px; font-size: 12.5px; color: var(--muted); min-height: 18px; }
body.v3 .v3-redeem-msg.ok { color: var(--ok-ink, var(--ok)); font-weight: 600; }
body.v3 .v3-redeem-msg.err { color: var(--err); font-weight: 600; }
/* ---- 邮箱卡片 ---- */
body.v3 .v3-mail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.v3 .v3-mcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; cursor: pointer; }
body.v3 .v3-mcard:hover { border-color: var(--accent-border); transform: translateY(-2px); }
body.v3 .v3-mcard.sel { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
body.v3 .v3-mcard.out { opacity: .66; cursor: default; }
body.v3 .v3-mcard.out:hover { transform: none; border-color: var(--line); }
body.v3 .mc-top { display: flex; align-items: center; gap: 10px; }
body.v3 .logo { width: 38px; height: 38px; border-radius: 0px; display: grid; place-items: center; flex: none; border: 1px solid var(--line); background: var(--card-2); }
body.v3 .logo .flag { width: 22px; height: 15px; }
body.v3 .logo .flag[viewBox="0 0 2 2"] { width: 18px; height: 18px; box-shadow: none; }
body.v3 .logo-ic { color: var(--accent); display: grid; place-items: center; }
body.v3 .mc-name { flex: 1; min-width: 0; }
body.v3 .mc-name b { display: block; font-size: 14.5px; line-height: 1.25; }
body.v3 .mc-name small { color: var(--muted); font: 11.5px/1.3 var(--mono); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v3 .stock { font: 600 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 0px; white-space: nowrap; border: 1px solid; flex: none; }
body.v3 .stock.hi { color: var(--ok); background: var(--ok-soft); border-color: var(--ok-border); }
body.v3 .stock.mid { color: var(--warn-ink); background: var(--warn-soft); border-color: var(--warn-border); }
body.v3 .stock.lo { color: var(--err); background: var(--err-soft); border-color: var(--err-border); }
body.v3 .stock.zero { color: var(--muted); background: var(--card-2); border-color: var(--line-2); }
body.v3 .mc-desc { font-size: 12.5px; color: var(--text-2); margin: 0; line-height: 1.5; min-height: 38px; }
body.v3 .labels { display: flex; flex-wrap: wrap; gap: 5px; }
body.v3 .lb { font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 0px; background: var(--card-2); color: var(--text-2); border: 1px solid var(--line); }
body.v3 .lb.pick { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-border); font-weight: 600; }
body.v3 .lb.nopick { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
body.v3 .price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
body.v3 .price b { font: 700 24px/1 Bahnschrift, "Segoe UI", sans-serif; }
body.v3 .price span { color: var(--muted); font-size: 12px; }
body.v3 .mc-moq { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 0px; padding: 5px 8px; }
body.v3 .mc-buy { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
body.v3 .qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 0px; overflow: hidden; height: 34px; }
body.v3 .qty button { width: 30px; height: 100%; border: 0; background: var(--card-2); color: var(--text-2); font-size: 16px; cursor: pointer; font-family: inherit; }
body.v3 .qty button:hover:not([disabled]) { color: var(--accent); }
body.v3 .qty input { width: 48px; height: 100%; border: 0; text-align: center; background: var(--card); color: var(--text); font: 600 13px var(--mono); }
body.v3 .qty input:focus { outline: none; background: var(--accent-soft); }
body.v3 .btn-add { flex: 1; height: 34px; border-radius: 0px; border: 1px solid var(--accent-2); background: var(--card); color: var(--accent); font-size: 13px; font-weight: 600; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
body.v3 .v3-mcard.sel .btn-add { background: var(--grad); color: #fff; border-color: transparent; }
body.v3 .btn-add[disabled] { border-color: var(--line-2); color: var(--muted); cursor: not-allowed; }
body.v3 .v3-mail-foot { margin: 14px 2px 0; font-size: 12.5px; color: var(--muted); }

body.v3 .v3-my-orders { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 0px; border: 1px solid var(--accent-border); background: var(--accent-soft); font-size: 13px; color: var(--text-2); }
body.v3 .v3-my-orders.hidden { display: none; }

/* ---- 登录弹窗 ---- */
body.v3 .v3-login-modal { max-width: 400px; }
body.v3 .v3-login-sub { margin: 0; font-size: 13px; color: var(--muted); }
body.v3 .v3-login-foot { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---- 邮箱专属交付面板 ---- */
body.v3 .v3-deliver-modal { max-width: 720px; width: 100%; }
body.v3 .ok-h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
body.v3 .ok-h .ck { width: 30px; height: 30px; border-radius: 0px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; border: 1px solid var(--ok-border); flex: none; }
body.v3 .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.v3 .kv > div { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); padding: 8px 10px; border-radius: 0px; background: var(--card-2); }
body.v3 .kv b { color: var(--text); font-family: var(--mono); word-break: break-all; text-align: right; }
body.v3 .kv b.copyable { cursor: pointer; color: var(--accent); }
body.v3 .kv .chg b { color: var(--ok); }
body.v3 .acct { border: 1px solid var(--line); border-radius: 0px; overflow: hidden; }
body.v3 .acct-h { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--card-2); font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
body.v3 .acct-h .sp { flex: 1; }
body.v3 .acct-list { max-height: 300px; overflow: auto; }
body.v3 .acct-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--line); font: 12.5px/1.4 var(--mono); background: var(--card); }
body.v3 .acct-row:last-child { border-bottom: 0; }
body.v3 .acct-row.empty { justify-content: center; color: var(--muted); font-family: inherit; padding: 18px; }
body.v3 .acct-row .n { color: var(--faint); width: 22px; flex: none; }
body.v3 .acct-row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); user-select: all; }
body.v3 .acct-row .t i { font-style: normal; color: var(--faint); }
body.v3 .pick-btn { flex: none; font: 600 11.5px/1 -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--accent) !important; background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 0px; padding: 5px 8px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; text-decoration: none !important; }
body.v3 .pick-btn.mini-copy { color: var(--text-2) !important; background: var(--card-2); border-color: var(--line-2); }
body.v3 .pick-btn .ic { width: 12px; height: 12px; }
body.v3 .dl { display: flex; gap: 8px; flex-wrap: wrap; }
body.v3 .v3-deliver-modal .mini { height: 34px; padding: 0 12px; border-radius: 0px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2) !important; font-size: 12.5px; font-weight: 600; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; text-decoration: none !important; }
body.v3 .v3-deliver-modal .mini:hover { border-color: var(--accent-border); }
body.v3 .v3-deliver-modal .mini.pri { background: var(--grad); color: #fff !important; border-color: transparent; margin-left: auto; }
body.v3 .v3-deliver-modal .mini .ic { width: 14px; height: 14px; margin: 0; }
body.v3 .note { display: flex; gap: 8px; font-size: 12px; color: var(--text-2); background: var(--warn-soft); border: 1px solid var(--warn-border); border-radius: 0px; padding: 9px 11px; line-height: 1.5; }
body.v3 .note .ic { color: var(--warn-ink); margin-top: 2px; }

/* ---- 响应式 ---- */
@media (max-width: 1180px) {
  body.v3 .v3-mail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  body.v3 .v3-topbar { flex-wrap: wrap; padding: 8px 16px; row-gap: 8px; }
  body.v3 .topnav { margin-left: auto; }
  body.v3 .v3-wrap, body.v3 .v3-main-wrap { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
  body.v3 .v3-mail-grid, body.v3 .kv { grid-template-columns: 1fr; }
  body.v3 .v3-wp-user, body.v3 .v3-tb-btn[href="#query"] span, body.v3 .theme-toggle [data-theme-label] { display: none; }
  body.v3 .v3-deliver-modal .mini.pri { margin-left: 0; width: 100%; justify-content: center; }
}

/* =====================================================================
   FubiIP 3.1 · 极简货架（顶栏 60px + 左分类侧栏 220px + 右货架）
   挂在 body.v31 下；弹窗 / 交付面板沿用上方 body.v3 规则
   ===================================================================== */
body.v31 { --v31-max: 1280px; --v31-side: 220px; }
body.v31 .hidden { display: none !important; }

/* ---- 顶栏 ---- */
body.v31 .v31-topbar { min-height: 60px; height: 60px; padding: 0 24px; gap: 14px; }
body.v31 .v31-topbar .brand { gap: 0; text-decoration: none; }
body.v31 .v31-search { position: relative; display: flex; align-items: center; flex: 0 1 340px; min-width: 0; margin-right: auto; margin-left: 10px; }
body.v31 .v31-search .ic { position: absolute; left: 11px; color: var(--faint); pointer-events: none; }
body.v31 .v31-search input { width: 100%; height: 36px; padding: 0 12px 0 34px; border: 1px solid var(--line-2); border-radius: 0px; background: var(--input, var(--card)); color: var(--text); font: inherit; font-size: 13.5px; }
body.v31 .v31-search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
body.v31 .v31-search input::-webkit-search-cancel-button { cursor: pointer; }
body.v31 .topnav { gap: 8px; }
body.v31 #v3-wallet .v3-tb-btn[data-act="login"] { box-shadow: none; }

/* ---- 双栏外壳 ---- */
body.v31 .v31-shell { max-width: var(--v31-max); margin: 0 auto; padding: 20px 24px 40px; display: grid; grid-template-columns: var(--v31-side) minmax(0, 1fr); gap: 24px; align-items: start; }

/* ---- 左侧分类栏 ---- */
body.v31 .v31-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 0px; }
body.v31 .v31-instock { position: relative; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; user-select: none; padding: 2px 4px 10px; border-bottom: 1px solid var(--line); }
body.v31 .v31-instock input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.v31 .v31-instock .box { width: 16px; height: 16px; border-radius: 0px; border: 1.5px solid var(--line-2); background: var(--input, var(--card)); display: grid; place-items: center; flex: none; transition: background .12s, border-color .12s; }
body.v31 .v31-instock input:checked + .box { background: var(--accent); border-color: var(--accent); }
body.v31 .v31-instock input:checked + .box::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
body.v31 .v31-instock input:focus-visible + .box { box-shadow: var(--focus-ring); }
body.v31 .v31-cats { display: flex; flex-direction: column; gap: 2px; }
body.v31 .v31-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 38px; padding: 0 10px; border: 0; border-radius: 0px; background: none; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; white-space: nowrap; }
body.v31 .v31-cat:hover { background: var(--hover); color: var(--text); }
body.v31 .v31-cat.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
body.v31 .v31-cat .n { font: normal 600 11.5px/1 var(--mono); color: var(--faint); }
body.v31 .v31-cat.on .n { color: var(--accent); }
body.v31 .v31-svc { display: flex; flex-direction: column; gap: 1px; padding-top: 10px; border-top: 1px solid var(--line); }
body.v31 .v31-svc-h { font-size: 11.5px; font-weight: 600; color: var(--faint); padding: 0 10px 6px; letter-spacing: .02em; }
body.v31 .v31-svc a { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; border-radius: 0px; font-size: 13px; color: var(--text-2) !important; text-decoration: none !important; white-space: nowrap; }
body.v31 .v31-svc a:hover { background: var(--hover); color: var(--accent) !important; }

/* ---- 右侧货架 ---- */
body.v31 .v31-shelf { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
body.v31 .v31-sec { scroll-margin-top: 76px; }
body.v31 .v31-sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }
body.v31 .v31-sec-h h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
body.v31 .v31-sec-sub { font-size: 12.5px; color: var(--muted); }
body.v31 .v31-sec-sub a { font-family: var(--mono); }
body.v31 .v31-empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 14px; border: 1.5px dashed var(--line-2); border-radius: 0px; }

/* ---- 账户充值面板 ---- */
body.v31 .v31-topup { background: var(--card); border: 1px solid var(--line); border-radius: 0px; padding: 6px 18px; }
body.v31 .v31-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; }
body.v31 .v31-row + .v31-row { border-top: 1px solid var(--line); }
body.v31 .v31-row.v31-go-row { border-top: 0; padding-top: 0; }
body.v31 .v31-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
body.v31 .v31-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
body.v31 .v31-pay { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 0px; background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
body.v31 .v31-pay:hover { border-color: var(--accent-border); }
body.v31 .v31-pay.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
body.v31 .v31-pay > span:last-child { display: flex; flex-direction: column; min-width: 0; }
body.v31 .v31-pay b { font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-pay small { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
body.v31 .ico { width: 30px; height: 30px; border-radius: 0px; display: grid; place-items: center; flex: none; }
body.v31 .ico.c1 { background: rgba(99, 102, 241, .12); color: #6366f1; }
body.v31 .ico.c2 { background: rgba(16, 185, 129, .12); color: var(--ok); }
body.v31 .ico.c3 { background: rgba(56, 189, 248, .12); color: #0ea5e9; }
body.v31 .v31-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
body.v31 .v31-tiers .loading { padding: 6px 0; }
body.v31 .v31-tier { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 84px; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0px; background: var(--card); color: var(--text); font: inherit; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
body.v31 .v31-tier b { font: 700 17px/1.1 Bahnschrift, "Segoe UI", sans-serif; }
body.v31 .v31-tier small { font-size: 11px; color: var(--muted); margin-top: 2px; }
body.v31 .v31-tier.custom b { font-size: 14px; font-family: inherit; }
body.v31 .v31-tier:hover { border-color: var(--accent-border); }
body.v31 .v31-tier.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
body.v31 .v31-tier.on b { color: var(--accent); }
body.v31 .v31-go-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
body.v31 .v31-go { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 0px; background: var(--grad); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
body.v31 .v31-go:hover { filter: brightness(1.05); }
body.v31 .v31-go-hint { font-size: 12.5px; color: var(--muted); }
body.v31 .v31-redeem { min-width: 0; }
body.v31 .v31-redeem .vin input { height: 40px; }
body.v31 .v31-redeem .vin button { height: 40px; }
body.v31 .v31-redeem .v3-redeem-msg { margin-top: 6px; min-height: 0; }
body.v31 .v31-redeem .v3-redeem-msg:empty { display: none; }

/* ---- 邮箱商品网格 ---- */
body.v31 .v31-mail-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
body.v31 .v31-mail-grid > .loading { grid-column: 1 / -1; padding: 28px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: 0px; }
body.v31 .v31-mcard { cursor: default; gap: 9px; padding: 14px; box-shadow: none; }
body.v31 .v31-mcard:hover { transform: none; }
body.v31 .v31-mcard .price { margin-top: 4px; }
body.v31 .v31-mcard .price b { font-size: 26px; color: var(--accent); }
body.v31 .mc-sub { font-size: 12px; color: var(--muted); margin-top: -4px; }
body.v31 .v31-mcard .mc-buy { justify-content: space-between; }
body.v31 .mc-total { font: 700 14px/1 var(--mono); color: var(--text); }
body.v31 .v31-buy { width: 100%; flex: none; height: 38px; background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }
body.v31 .v31-buy .ic { width: 14px; height: 14px; }
body.v31 .v31-buy.confirm { background: var(--ok); }
body.v31 .v31-buy.warn { background: var(--card); color: var(--accent); border-color: var(--accent-border); }
body.v31 .v31-buy.busy { opacity: .7; cursor: wait; }
body.v31 .v31-buy[disabled]:not(.busy) { background: var(--card-2); color: var(--muted); border-color: var(--line-2); }

/* ---- 订单查询 / FAQ / 页脚 ---- */
body.v31 .v31-query .query-box { margin: 0; }
body.v31 .v31-faq .faq { margin: 0; }
body.v31 .v31-footer { max-width: var(--v31-max); margin: 0 auto; padding: 18px 24px 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
body.v31 .v31-footer .sep { color: var(--faint); }
body.v31 .v31-footer #footer-contact:empty { display: none; }
body.v31 .v31-footer code { font-family: var(--mono); font-size: 12px; }

/* ---- 响应式：≤ 900px 侧栏变顶部横向胶囊栏 ---- */
@media (max-width: 900px) {
  body.v31 .v31-topbar { height: auto; flex-wrap: wrap; padding: 8px 14px; row-gap: 8px; }
  body.v31 .v31-search { order: 3; flex: 1 1 100%; margin: 0; }
  body.v31 .topnav { margin-left: auto; }
  body.v31 .v31-shell { grid-template-columns: 1fr; padding: 12px 14px 32px; gap: 14px; }
  body.v31 .v31-side { position: static; flex-direction: row; align-items: center; gap: 8px; padding: 8px; border-radius: 0px; overflow-x: auto; scrollbar-width: none; }
  body.v31 .v31-side::-webkit-scrollbar { display: none; }
  body.v31 .v31-instock { border-bottom: 0; padding: 0 8px 0 4px; white-space: nowrap; border-right: 1px solid var(--line); flex: none; }
  body.v31 .v31-cats { flex-direction: row; gap: 6px; flex: none; }
  body.v31 .v31-cat { height: 32px; border-radius: 0px; border: 1px solid var(--line-2); padding: 0 12px; font-size: 13px; }
  body.v31 .v31-cat.on { border-color: var(--accent); }
  body.v31 .v31-svc { flex-direction: row; border-top: 0; padding: 0 0 0 8px; border-left: 1px solid var(--line); gap: 4px; flex: none; }
  body.v31 .v31-svc-h { display: none; }
  body.v31 .v31-svc a { height: 32px; font-size: 12.5px; }
  body.v31 .v31-row { grid-template-columns: 1fr; gap: 8px; }
  body.v31 .v31-row.v31-go-row .v31-lbl { display: none; }
  body.v31 .v31-sec { scroll-margin-top: 120px; }
}
@media (max-width: 560px) {
  body.v31 .v31-seg { grid-template-columns: 1fr; }
  body.v31 .v31-tier { flex: 1 1 calc(50% - 8px); }
  body.v31 .v31-go { width: 100%; }
  body.v31 .v3-tb-btn[data-goto-query] span, body.v31 .lang-cur-btn #lang-cur-text, body.v31 .theme-toggle [data-theme-label] { display: none; }
}
body.v31 .v31-mcard .price { align-items: center; }
body.v31 .v31-mcard .price .stock { margin-left: auto; padding: 4px 7px; font-size: 11px; }
body.v31 .v31-mcard .mc-name b { font-size: 14.5px; }
body.v31 .v31-sec-sub > span + a { margin-left: 4px; }
body.v31 .v31-mcard .mc-buy { margin-top: auto; }
@media (max-width: 560px) {
  body.v31 .v31-topbar { gap: 6px; padding: 8px 10px; }
  body.v31 .topnav { gap: 5px; }
  body.v31 .lang-caret { display: none; }
  body.v31 .v3-tb-btn, body.v31 .lang-cur-btn, body.v31 .theme-toggle { padding: 0 9px; }
}

/* 2026-10-30：中文充值页仅剩「支付宝扫码」单按钮时不再拉满整行（is-single 由 app.js syncPayMethodsByLang 标记） */
body.v31 .v31-seg.is-single { grid-template-columns: minmax(0, 280px); }
body.v31 .v31-seg.is-single .v31-pay { padding: 10px 14px; }
/* 2026-10-30：Rambler 品牌徽标（方形）与微软四色同尺寸，无国旗描边 */
body.v3 .flag.flag-brand { border-radius: 0px; box-shadow: none; }
body.v3 .logo .flag.flag-brand { width: 18px; height: 18px; }


/* =====================================================================
   motion-web 动效层 · 主站商城（2026-10-30）
   只叠加视觉，不改任何选择器语义；回滚：删除本段 + index.html 的 motion-fx.js 引用
   规范：仅动 transform / opacity；入场只在首屏 1.8s 窗口（html:not(.mw-settled)）内播放，
   避免 renderMailGrid / renderTopup 整格 innerHTML 重绘时重播；reduced-motion 全部关闭
   ===================================================================== */
:root {
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-snappy: cubic-bezier(.22, 1, .36, 1);
  --ease-in-expo: cubic-bezier(.7, 0, .84, 0);
  --spring-soft: linear(0, .32 8%, .79 20%, 1.03 30%, 1.01 46%, 1);
  --dur-press: 90ms; --dur-fast: 180ms; --dur-std: 320ms; --dur-med: 460ms; --dur-slow: 700ms;
  --mw-lift: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 1px 2px rgba(2, 6, 23, .28), 0 10px 22px -12px rgba(2, 6, 23, .55), 0 18px 34px -22px rgba(234, 88, 12, .45);
  --mw-cta: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(124, 45, 18, .25), 0 1px 2px rgba(124, 45, 18, .35), 0 6px 14px -8px rgba(234, 88, 12, .7);
  --mw-cta-hover: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(124, 45, 18, .25), 0 2px 4px rgba(124, 45, 18, .3), 0 10px 20px -10px rgba(234, 88, 12, .8);
}

/* ---- 1. 首屏稳态渲染（移除排队 PPT 飞入与霓虹呼吸灯） ---- */

/* ---- 2. 商品卡：克制过渡（仅动 transform / border-color / opacity） ---- */
body.v31 .v31-mcard { position: relative; isolation: isolate; transition: transform 180ms var(--ease-snappy), border-color 180ms var(--ease-snappy), opacity 180ms var(--ease-snappy); }
body.v31 .v31-mcard::before,
body.v31 .v31-mcard::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; }
body.v31 .v31-mcard:not(.out):hover { border-color: var(--accent-border); }
body.v3 .lb.pick { position: relative; }

/* ---- 3. 面额档位 / 支付方式 / 分类：弹性选中 + 光斑 ---- */
@keyframes mwSelect { 0% { transform: scale(.94); } 60% { transform: scale(1.035); } 100% { transform: scale(1); } }
body.v31 .v31-tier, body.v31 .v31-pay { position: relative; isolation: isolate; }
body.v31 .v31-tier::before, body.v31 .v31-pay::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(120px circle at var(--mw-x, 50%) var(--mw-y, 50%), rgba(251, 146, 60, .16), transparent 70%); transition: opacity var(--dur-std) var(--ease-out-expo); }
body.v31 .v31-tier:hover::before, body.v31 .v31-pay:hover::before { opacity: 1; }
body.v31 .v31-tier:hover:not(.on), body.v31 .v31-pay:hover:not(.on) { transform: translateY(-1px); }
body.v31 .v31-tier.on, body.v31 .v31-pay.on, body.v31 .v31-cat.on { animation: mwSelect 460ms var(--ease-out-expo) both; }
body.v31 .v31-tier.on { box-shadow: 0 0 0 3px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 18px -12px rgba(234, 88, 12, .6); }

/* ---- 4. 按钮 / 筛选项：按压阻尼回弹（按下 90ms 收紧，松开走弹簧） + 多层微阴影替代弥散大阴影 ---- */
body.v31 .btn, body.v31 .v31-go, body.v31 .v31-buy, body.v31 .v3-tb-btn, body.v31 .v31-cat, body.v31 .copy-btn,
body.v31 .theme-toggle, body.v31 .lang-cur-btn, body.v31 .v31-svc a, body.v31 .qty button, body.v31 .v31-tier, body.v31 .v31-pay {
  transition: transform 420ms var(--spring-soft), background-color var(--dur-fast) var(--ease-snappy), border-color var(--dur-fast) var(--ease-snappy), color var(--dur-fast) var(--ease-snappy), box-shadow var(--dur-std) var(--ease-out-expo), filter var(--dur-fast) var(--ease-snappy), opacity var(--dur-fast) linear;
}
body.v31 .btn:active:not(:disabled), body.v31 .v31-go:active, body.v31 .v31-buy:active:not(:disabled), body.v31 .v3-tb-btn:active,
body.v31 .v31-cat:active, body.v31 .copy-btn:active, body.v31 .theme-toggle:active, body.v31 .lang-cur-btn:active,
body.v31 .v31-tier:active, body.v31 .v31-pay:active, body.v31 .qty button:active:not(:disabled) {
  transform: scale(.955); transition-duration: var(--dur-press); transition-timing-function: var(--ease-snappy);
}
body.v31 .v31-cat:hover:not(.on), body.v31 .v31-svc a:hover { transform: translateX(2px); }
html[data-theme] body.v31 .btn.primary, body.v31 .v31-go, body.v31 .v31-buy:not(.warn):not([disabled]) { box-shadow: var(--mw-cta); }
html[data-theme] body.v31 .btn.primary:hover:not(:disabled), body.v31 .v31-go:hover, body.v31 .v31-buy:not(.warn):not([disabled]):hover { box-shadow: var(--mw-cta-hover); transform: translateY(-1px); filter: saturate(1.08) brightness(1.04); }
/* 主 CTA 高光扫过（悬停触发一次，离开瞬间复位） */
body.v31 .v31-go, body.v31 .v31-buy, html[data-theme] body.v31 .btn.primary { position: relative; overflow: hidden; isolation: isolate; }
body.v31 .v31-go::after, body.v31 .v31-buy::after, html[data-theme] body.v31 .btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%); transform: translateX(-110%); }
body.v31 .v31-go:hover::after, body.v31 .v31-buy:not([disabled]):hover::after, html[data-theme] body.v31 .btn.primary:hover:not(:disabled)::after { transform: translateX(110%); transition: transform 760ms var(--ease-out-expo); }

/* ---- 5. 输入框聚焦 / FAQ 展开 / 弹窗阻尼（@starting-style + allow-discrete：开合双向，零 JS 改动） ---- */
body.v31 .vin input, body.v31 .query-box input, body.v31 .field input { transition: border-color var(--dur-fast) var(--ease-snappy), box-shadow var(--dur-std) var(--ease-out-expo), background-color var(--dur-fast) linear; }
@keyframes mwFaqOpen { from { opacity: 0; transform: translateY(-6px); } }
body.v31 .faq details[open] > :not(summary) { animation: mwFaqOpen var(--dur-std) var(--ease-out-expo) both; }
body.v31 .modal-mask { opacity: 0; transition: opacity 220ms var(--ease-out-expo), display 220ms allow-discrete; }
body.v31 .modal-mask.show { opacity: 1; }
@starting-style { body.v31 .modal-mask.show { opacity: 0; } }
body.v31 .modal-mask > * { transform: translateY(10px) scale(.96); opacity: 0; transition: transform 420ms var(--ease-spring), opacity 260ms var(--ease-out-expo); }
body.v31 .modal-mask.show > * { transform: none; opacity: 1; }
@starting-style { body.v31 .modal-mask.show > * { transform: translateY(10px) scale(.96); opacity: 0; } }

/* 移动与弹窗过渡 */
@media (hover: none) {
  body.v31 .v31-mcard:not(.out):hover { transform: none; }
}


/* =====================================================================
   FubiIP 3.3 · 主站精修（2026-10-30）
   侧栏双卡 / 档位等宽单行 / 品牌支付徽标 / 统一橙色渐变选中态 / 卡片矩阵对齐 / 独立查单页 + 帮助页
   追加在动效层之后：同特异性下后写者胜；回滚 = 删除本段
   ===================================================================== */
body.v31 {
  --v31-max: 1392px;
  --v31-side: 260px;
  --v33-pay-w: 275px;
  --v33-tier-max: 560px;
  --v33-bar: linear-gradient(180deg, #fbbf24, #f97316 55%, #ea580c);
  /* 深色（默认）选中态 */
  --v33-on-bg: linear-gradient(135deg, rgba(249, 115, 22, .22) 0%, rgba(234, 88, 12, .09) 60%, rgba(251, 191, 36, .04) 100%);
  --v33-on-shadow: 0 0 0 3px rgba(249, 115, 22, .14), inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px -12px rgba(249, 115, 22, .55);
  --v33-on-ink: #fdba74;
  --v33-on-pill: rgba(249, 115, 22, .16);
}
/* 浅色选中态：浅底上不发黑发脏（尾段落到 #fff7ed 暖白） */
html[data-theme="light"] body.v31 {
  --v33-on-bg: linear-gradient(135deg, rgba(249, 115, 22, .14) 0%, rgba(251, 146, 60, .06) 65%, rgba(255, 247, 237, .9) 100%);
  --v33-on-shadow: 0 0 0 3px rgba(249, 115, 22, .12), 0 6px 16px -10px rgba(234, 88, 12, .3);
  --v33-on-ink: #c2410c;
  --v33-on-pill: rgba(249, 115, 22, .12);
}

/* ---- 1. 左侧边栏：无外框容器 + 两张独立实体卡 ---- */
body.v31 .v31-side { gap: 16px; padding: 0; background: transparent; border: 0; border-radius: 0; }
body.v31 .v31-side-card { background: var(--card); border: 1px solid var(--line); border-radius: 0px; }
body.v31 .v31-side-cats { display: flex; flex-direction: column; padding: 14px; }
body.v31 .v31-cats { gap: 4px; }
body.v31 .v31-cat { position: relative; justify-content: flex-start; gap: 12px; height: 46px; padding: 0 12px; border: 1px solid transparent; border-radius: 0px; font-size: 15px; font-weight: 600; color: var(--text-2); }
body.v31 .v31-cat .cat-ico { width: 18px; height: 18px; display: grid; place-items: center; flex: none; color: var(--muted); transition: color var(--dur-fast) var(--ease-snappy); }
body.v31 .v31-cat .cat-ico .ic { width: 18px; height: 18px; stroke-width: 1.8; }
body.v31 .v31-cat .cat-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-cat .n { margin-left: auto; min-width: 28px; height: 22px; padding: 0 7px; border-radius: 0px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; flex: none; font: normal 600 12px/1 var(--mono); color: var(--muted); background: var(--card-2); border: 1px solid var(--line); }
body.v31 .v31-cat .n:empty { visibility: hidden; }
body.v31 .v31-cat:hover:not(.on) { background: var(--hover); color: var(--text); }
body.v31 .v31-cat:hover .cat-ico { color: var(--accent); }
body.v31 .v31-cat.on { background: var(--v33-on-bg); border-color: #f97316; box-shadow: var(--v33-on-shadow); color: var(--text); font-weight: 600; }
body.v31 .v31-cat.on .cat-ico { color: #f97316; }
body.v31 .v31-cat.on .n { color: var(--v33-on-ink); background: var(--v33-on-pill); border-color: rgba(249, 115, 22, .42); }
/* 左缘 3px 竖向橙色指示条（分类 + 支付方式，严格落在圆角直线段内侧不突刺） */
body.v31 .v31-cat.on::after,
body.v31 .v31-pay.on::after { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0px; background: var(--v33-bar); box-shadow: 0 0 10px rgba(249, 115, 22, .45); pointer-events: none; }
body.v31 .v31-pay.on::after { top: 13px; bottom: 13px; }

/* 「只看有货」：分割线下方的左右对齐开关行 */
body.v31 .v31-instock { justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 4px 0 12px; border-top: 1px solid var(--line); border-bottom: 0; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
body.v31 .v31-instock .box { position: relative; display: block; width: 36px; height: 20px; border-radius: 0px; border: 1px solid var(--line-2); background: var(--card-2); transition: background-color var(--dur-fast) var(--ease-snappy), border-color var(--dur-fast) var(--ease-snappy); }
body.v31 .v31-instock .box::after,
body.v31 .v31-instock input:checked + .box::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border: 0; border-radius: 0px; background: #fff; box-shadow: 0 1px 3px rgba(2, 6, 23, .35); transform: none; transition: transform 320ms var(--spring-soft); }
body.v31 .v31-instock input:checked + .box { background: var(--grad); border-color: transparent; }
body.v31 .v31-instock input:checked + .box::after { transform: translateX(16px); }
body.v31 .v31-instock:hover .box { border-color: var(--accent-border); }

/* 三大直达微卡片：等高等宽、无标题 */
body.v31 .v31-svc { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); }
body.v31 .v31-svc a { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; align-items: center; gap: 12px; height: auto; min-height: 60px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0px; background: var(--card-2); color: var(--text) !important; white-space: normal; }
body.v31 .v31-svc .sv-ico { width: 36px; height: 36px; border-radius: 0px; display: grid; place-items: center; }
body.v31 .v31-svc .sv-ico .ic { width: 20px; height: 20px; stroke-width: 1.8; }
body.v31 .v31-svc .svc-ip .sv-ico { background: linear-gradient(135deg, rgba(56, 189, 248, .24), rgba(37, 99, 235, .1)); color: #38bdf8; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .24); }
body.v31 .v31-svc .svc-sms .sv-ico { background: linear-gradient(135deg, rgba(52, 211, 153, .24), rgba(5, 150, 105, .1)); color: #34d399; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .24); }
body.v31 .v31-svc .svc-mail .sv-ico { background: linear-gradient(135deg, rgba(251, 146, 60, .26), rgba(234, 88, 12, .1)); color: #fb923c; box-shadow: inset 0 0 0 1px rgba(251, 146, 60, .26); }
html[data-theme="light"] body.v31 .v31-svc .svc-ip .sv-ico { color: #0284c7; }
html[data-theme="light"] body.v31 .v31-svc .svc-sms .sv-ico { color: #059669; }
html[data-theme="light"] body.v31 .v31-svc .svc-mail .sv-ico { color: #ea580c; }
body.v31 .v31-svc .sv-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.v31 .v31-svc .sv-txt b { font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-svc .sv-txt small { font-size: 12px; line-height: 1.25; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-svc .sv-go { justify-self: center; font-size: 14px; line-height: 1; color: var(--faint); transition: transform 320ms var(--spring-soft), color var(--dur-fast) var(--ease-snappy); }
body.v31 .v31-svc a:hover { transform: translateX(-2px); border-color: rgba(249, 115, 22, .55); background: var(--card); color: var(--text) !important; box-shadow: 0 0 0 3px rgba(249, 115, 22, .08); }
body.v31 .v31-svc a:hover .sv-go { color: #f97316; transform: translate(2px, -2px); }
body.v31 .v31-svc a:active { transform: scale(.98); }

/* ---- 2. 支付方式：品牌徽标 + 275px 等宽对称 ---- */
body.v31 .v31-seg,
body.v31 .v31-seg.is-single { display: grid; grid-template-columns: repeat(2, minmax(0, var(--v33-pay-w))); gap: 10px; }
body.v31 .v31-seg.is-single { grid-template-columns: minmax(0, var(--v33-pay-w)); }
body.v31 .v31-pay,
body.v31 .v31-seg.is-single .v31-pay { height: 60px; padding: 0 14px; gap: 12px; border-radius: 0px; }
body.v31 .v31-pay .ico { width: 36px; height: 36px; border-radius: 0px; background: none; box-shadow: 0 3px 8px -4px rgba(2, 6, 23, .45); overflow: hidden; }
body.v31 .v31-pay .ico.c2 { border-radius: 0px; }
body.v31 .v31-pay .ico svg { display: block; width: 36px; height: 36px; }
body.v31 .v31-pay .pay-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.v31 .v31-pay b { font-size: 14px; font-weight: 600; line-height: 1.2; }
body.v31 .v31-pay small { font-size: 12px; line-height: 1.2; }
body.v31 .v31-pay.on { background: var(--v33-on-bg); border-color: #f97316; box-shadow: var(--v33-on-shadow); }

/* ---- 3. 金额档位：严格等宽等高、单行 100% 居中 ---- */
body.v31 .v31-tiers { display: grid; grid-template-columns: repeat(var(--tier-n, 5), minmax(0, 1fr)); gap: 10px; max-width: var(--v33-tier-max); }
body.v31 .v31-tiers > .loading { grid-column: 1 / -1; }
body.v31 .v31-tier { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 52px; padding: 0 12px; border-radius: 0px; }
body.v31 .v31-tier b,
body.v31 .v31-tier.custom b { display: inline-flex; align-items: center; justify-content: center; margin: 0; font-family: var(--sans-num); font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
body.v31 .v31-tier small { display: none; }
body.v31 .v31-tier.on { background: var(--v33-on-bg); border-color: #f97316; box-shadow: var(--v33-on-shadow); }
body.v31 .v31-tier.on b { color: var(--v33-on-ink); }
body.v31 .v31-tier.on::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 6px; height: 2px; border-radius: 0px; background: linear-gradient(90deg, transparent, #f97316 30%, #fbbf24 50%, #f97316 70%, transparent); opacity: .9; pointer-events: none; }

/* ---- 4. 充值区操作控件统一 42px、右边界与档位网格对齐 ---- */
body.v31 .v31-go { height: 42px; padding: 0 22px; border-radius: 0px; }
body.v31 .v31-redeem { max-width: var(--v33-tier-max); }
body.v31 .v31-redeem .vin input,
body.v31 .v31-redeem .vin button { height: 42px; border-radius: 0px; }
body.v3 .amount-wrap { height: 44px; min-height: 44px; }
body.v3 .amount-wrap input { height: 42px; min-height: 42px; padding-top: 0 !important; padding-bottom: 0 !important; }

/* ---- 5. 欧洲邮箱卡片矩阵：每条水平线对齐 ---- */
body.v31 .v31-mail-grid { align-items: stretch; }
body.v31 .v31-mcard { display: flex; flex-direction: column; }
body.v31 .v31-mcard .mc-top { min-height: 40px; }
body.v31 .v31-mcard .mc-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-mcard .labels { min-height: 24px; align-items: center; flex-wrap: nowrap; overflow: hidden; }
body.v31 .v31-mcard .lb { flex: none; }
body.v31 .v31-mcard .price { min-height: 30px; }
body.v31 .v31-mcard .mc-sub { min-height: 18px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v31 .v31-mcard .mc-buy { margin-top: auto; height: 40px; }
body.v31 .v31-mcard .qty { height: 40px; border-radius: 0px; }
body.v31 .v31-mcard .qty button { width: 34px; }
body.v31 .v31-buy,
body.v31 .v31-buy[disabled] { height: 40px; min-height: 40px; border-radius: 0px; }

/* ---- 6. 顶栏：帮助与客服 / 返回商城 / 当前页激活态 ---- */
body.v33 .v33-tb-spacer { flex: 1 1 auto; }
body.v31 .v3-tb-btn.is-current { background: var(--v33-on-bg); border-color: #f97316; color: var(--text) !important; box-shadow: var(--v33-on-shadow); font-weight: 600; }
body.v31 .v3-tb-btn.is-current .ic { color: #f97316; }
body.v31 .v3-tb-btn.v33-back .ic { transition: transform 320ms var(--spring-soft); }
body.v31 .v3-tb-btn.v33-back:hover .ic { transform: translateX(-2px); }

/* ---- 7. 独立页骨架（orders.html / help.html） ---- */
body.v33 .v33-page { max-width: 920px; margin: 28px auto; padding: 0 24px 24px; display: flex; flex-direction: column; gap: 20px; }
body.v33 .v33-page-h { padding: 4px 2px 2px; }
body.v33 .v33-page-h h1 { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
body.v33 .v33-page-h p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
body.v33 .v33-block { background: var(--card); border: 1px solid var(--line); border-radius: 0px; padding: 22px; }
body.v33 .v33-block-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
body.v33 .v33-bi { width: 40px; height: 40px; border-radius: 0px; display: grid; place-items: center; flex: none; color: #f97316; background: linear-gradient(135deg, rgba(249, 115, 22, .2), rgba(234, 88, 12, .06)); box-shadow: inset 0 0 0 1px rgba(249, 115, 22, .28); }
body.v33 .v33-bi .ic { width: 20px; height: 20px; }
body.v33 .v33-bt { min-width: 0; }
body.v33 .v33-bt h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text); }
body.v33 .v33-bt p { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 查单表单：双栏等宽输入 + 同高按钮 */
html[data-theme] body.v33 .v33-query-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
html[data-theme] body.v33 .v33-query-box .field input { height: 44px; padding: 0 14px; font-size: 14px; }
body.v33 .v33-query-box #q-btn { height: 44px; min-width: 132px; padding: 0 26px; border-radius: 0px; }

/* 我的订单：登录引导条 / 已登录刷新条 */
body.v33 .v33-guide { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: 0; padding: 10px 12px 10px 14px; border-radius: 0px; border: 1px dashed rgba(249, 115, 22, .42); background: linear-gradient(135deg, rgba(249, 115, 22, .08), transparent 70%); font-size: 13.5px; color: var(--text-2); }
body.v33 .v33-gi { width: 32px; height: 32px; border-radius: 0px; display: grid; place-items: center; flex: none; color: #f97316; background: var(--v33-on-pill); }
body.v33 .v33-gt { flex: 1; min-width: 0; }
body.v33 .v33-guide .btn { height: 40px; padding: 0 18px; flex: none; }
body.v33 .v33-results { display: grid; gap: 12px; }
body.v33 .v33-results:empty { display: none; }
body.v33 .v33-results .result-card,
body.v33 .v33-results .result-loading,
body.v33 .v33-results .result-empty { margin-top: 0; }
body.v33 .v33-results .result-empty { padding: 18px; border-radius: 0px; border: 1px dashed var(--line-2); }

/* 帮助页：层级标题 + 2 列等宽等高客服卡 */
body.v33 .v33-sec-t { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--text); }
body.v33 .v33-sec-t::before { content: ""; width: 4px; height: 16px; border-radius: 0px; background: var(--v33-bar); }
body.v33 .v33-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
body.v33 .v33-sup { display: flex; flex-direction: column; gap: 14px; min-height: 248px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 0px; }
body.v33 .v33-sup.is-skel { background: linear-gradient(110deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%); }
body.v33 .sup-h { display: flex; align-items: center; gap: 12px; }
body.v33 .sup-ico { width: 44px; height: 44px; border-radius: 0px; display: grid; place-items: center; flex: none; }
body.v33 .sup-ico .ic { width: 22px; height: 22px; stroke-width: 1.8; }
body.v33 .v33-sup-self .sup-ico { color: #34d399; background: linear-gradient(135deg, rgba(52, 211, 153, .24), rgba(5, 150, 105, .08)); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .24); }
html[data-theme="light"] body.v33 .v33-sup-self .sup-ico { color: #059669; }
body.v33 .sup-ht { min-width: 0; }
body.v33 .sup-ht h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--text); }
body.v33 .sup-ht span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
body.v33 .sup-v { padding: 12px 14px; border-radius: 0px; background: var(--card-2); border: 1px solid var(--line); font: 700 20px/1.25 var(--mono); color: var(--text); letter-spacing: .01em; word-break: break-all; }
body.v33 .sup-d { flex: 1; margin: 0; font-size: 13px; line-height: 1.65; color: var(--text-2); }
body.v33 .sup-a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.v33 .sup-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 0px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2) !important; font-family: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: transform 420ms var(--spring-soft), border-color var(--dur-fast) var(--ease-snappy), color var(--dur-fast) var(--ease-snappy), box-shadow var(--dur-std) var(--ease-out-expo); }
body.v33 .sup-btn .ic { width: 16px; height: 16px; }
body.v33 .sup-btn:hover { border-color: var(--accent-border); color: var(--text) !important; }
body.v33 .sup-btn.pri { background: var(--grad); border-color: transparent; color: #fff !important; box-shadow: var(--mw-cta); }
body.v33 .sup-btn.pri:hover { box-shadow: var(--mw-cta-hover); transform: translateY(-1px); }
body.v33 .sup-btn:active { transform: scale(.96); transition-duration: var(--dur-press); }

/* FAQ 手风琴：间距 / 字号层级 / 对比度 */
body.v33 .v33-faq { gap: 10px; }
html[data-theme] body.v33 .v33-faq details { border-radius: 0px; }
html[data-theme] body.v33 .v33-faq summary { min-height: 54px; padding: 0 18px; font-size: 14.5px; font-weight: 600; }
html[data-theme] body.v33 .v33-faq details p { padding: 0 18px 16px; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
html[data-theme] body.v33 .v33-faq details p a { color: var(--accent); font-weight: 600; }

/* 独立页入场：标题 → 板块依次上浮（与首页侧栏横入 / 档位弹出区分） */
html:not(.mw-settled) body.v33 .v33-page > * { animation: mwRise var(--dur-slow) var(--ease-out-expo) both; }
html:not(.mw-settled) body.v33 .v33-page > :nth-child(2) { animation-delay: 90ms; }
html:not(.mw-settled) body.v33 .v33-page > :nth-child(3) { animation-delay: 180ms; }
html:not(.mw-settled) body.v33 .v33-page > :nth-child(n+4) { animation-delay: 260ms; }

/* ---- 8. 响应式 ---- */
@media (max-width: 1100px) {
  body.v33 .v33-back span { display: none; }
}
@media (max-width: 900px) {
  body.v31 .v31-side { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; overflow: visible; background: transparent; border: 0; }
  body.v31 .v31-side-cats { flex-direction: row; align-items: center; gap: 8px; padding: 8px; overflow-x: auto; scrollbar-width: none; }
  body.v31 .v31-side-cats::-webkit-scrollbar { display: none; }
  body.v31 .v31-cats { flex-direction: row; gap: 6px; flex: none; }
  body.v31 .v31-cat { height: 38px; gap: 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 0px; font-size: 14px; }
  body.v31 .v31-cat .cat-t { flex: none; }
  body.v31 .v31-cat.on::after { display: none; }
  body.v31 .v31-instock { flex: none; margin: 0; padding: 0 4px 0 12px; border-top: 0; border-left: 1px solid var(--line); white-space: nowrap; }
  body.v31 .v31-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex-direction: row; gap: 8px; padding: 8px; border: 1px solid var(--line); }
  body.v31 .v31-svc-h { display: none; }
  body.v31 .v31-svc a { height: auto; font-size: inherit; }
}
@media (max-width: 760px) {
  body.v33 .v33-page { margin: 16px auto; padding: 0 14px 20px; gap: 16px; }
  body.v33 .v33-page-h h1 { font-size: 24px; }
  body.v33 .v33-block { padding: 16px; }
  html[data-theme] body.v33 .v33-query-box { grid-template-columns: 1fr; }
  body.v33 .v33-query-box #q-btn { width: 100%; }
  body.v33 .v33-support { grid-template-columns: 1fr; }
  body.v33 .v33-guide { flex-wrap: wrap; }
  body.v33 .v33-guide .btn { width: 100%; }
}
@media (max-width: 640px) {
  body.v31 .v31-svc { grid-template-columns: 1fr; }
  body.v31 .v31-tiers { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); max-width: none; }
  body.v31 .v31-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.v31 .v31-seg.is-single { grid-template-columns: minmax(0, 1fr); }
  body.v31 .v31-redeem { max-width: none; }
}
@media (max-width: 560px) {
  body.v31 .v3-tb-btn[data-goto-help] span, body.v33 .v33-back span { display: none; }
}
@media (max-width: 420px) {
  body.v31 .v31-seg { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   FubiIP v34 · 旗舰居中渐变三版（Edition A / B / C × 日间 / 夜间）
   1. 零水平抖动锁死（scrollbar-gutter: stable + overflow-y: scroll）
   2. 居中毛玻璃顶栏（max-width 约束，告别超宽屏左右割裂）
   3. 废除左侧栏 + 两大核心板块（充值 | 邮箱）+ 3×2 严格对称大卡片矩阵
   4. 三套独立美学与排版：
      - Edition A：暖金居中双翼版（840px 双层充值栏 + 1120px 3×2 邮箱栏）
      - Edition B：悬浮双栏一屏版（1140px 生态三卡 + 1.35:1 等高双栏 + 3×2 邮箱）
      - Edition C：极简欧风 · 深墨香槟版（1080px 几何留白，日间深墨曜石按钮 + 香槟金点睛）
   ===================================================================== */

/* ---- 0. 根级防抖动锁死 ---- */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

/* ---- 1. 方案 A（暖金居中双翼旗舰版）日夜渐变令牌矩阵 ---- */
/* 夜间（深邃暖曜石 + 琥珀流金极光） */
html[data-theme="dark"] body.v34 {
  --ed-max: 1140px;
  --ed-page-bg: radial-gradient(980px 460px at 50% -90px, rgba(226, 136, 70, .18), rgba(184, 90, 36, .05) 50%, transparent 74%), linear-gradient(180deg, #0B0E14 0%, #111622 100%);
  --ed-header-bg: linear-gradient(180deg, rgba(14, 18, 28, .86) 0%, rgba(11, 14, 21, .78) 100%);
  --ed-header-border: rgba(255, 255, 255, .08);
  --ed-card-bg: linear-gradient(170deg, rgba(26, 33, 48, .95) 0%, rgba(17, 22, 34, .98) 100%);
  --ed-card-border: rgba(255, 255, 255, .09);
  --ed-card-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 36px -14px rgba(0, 0, 0, .62);
  --ed-card-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 44px -16px rgba(0, 0, 0, .74), 0 12px 28px -18px rgba(212, 118, 59, .32);
  --ed-sub-bg: rgba(12, 16, 25, .68);
  --ed-dock-bg: linear-gradient(180deg, rgba(20, 26, 39, .86) 0%, rgba(15, 20, 31, .95) 100%);
  --ed-input-bg: rgba(11, 15, 23, .88);
  --ed-accent: #E28B4E;
  --ed-accent-ink: #F5C59A;
  --ed-accent-soft: rgba(226, 139, 78, .14);
  --ed-accent-border: rgba(226, 139, 78, .38);
  --ed-on-bg: linear-gradient(135deg, rgba(226, 139, 78, .21) 0%, rgba(184, 90, 36, .08) 65%, rgba(245, 197, 154, .04) 100%);
  --ed-on-border: rgba(232, 148, 88, .72);
  --ed-on-shadow: 0 0 0 3px rgba(226, 139, 78, .13), inset 0 1px 0 rgba(255, 255, 255, .09), 0 8px 20px -10px rgba(212, 118, 59, .42);
  --ed-cta-bg: linear-gradient(135deg, #DF8142 0%, #B85A24 100%);
  --ed-cta-ink: #FFFFFF;
  --ed-cta-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 8px 22px -6px rgba(184, 90, 36, .52);
  --ed-cta-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 12px 26px -6px rgba(212, 118, 59, .62);
  --ed-confirm-bg: linear-gradient(135deg, #1F7A5C 0%, #14543E 100%);
  --ed-confirm-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px -6px rgba(20, 84, 62, .55);
  --ed-seg-bg: rgba(17, 22, 34, .88);
  --ed-seg-thumb-bg: linear-gradient(135deg, #DF8142 0%, #B85A24 100%);
  --ed-seg-thumb-ink: #FFFFFF;
  --ed-seg-thumb-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 4px 14px -3px rgba(184, 90, 36, .5);
  --ed-crown: linear-gradient(90deg, transparent 4%, rgba(226, 139, 78, .55) 28%, #F4C797 50%, rgba(226, 139, 78, .55) 72%, transparent 96%);
  --bg: #111622;
  --accent: #E28B4E;
  --accent-2: #D4763B;
  --accent-ink: #F5C59A;
  --accent-soft: rgba(226, 139, 78, .14);
  --accent-border: rgba(226, 139, 78, .38);
  --grad: linear-gradient(135deg, #DF8142 0%, #B85A24 100%);
}

/* 日间（暖调羊绒白 + 低饱和琥珀焦糖渐变） */
html[data-theme="light"] body.v34 {
  --ed-max: 1140px;
  --ed-page-bg: radial-gradient(980px 440px at 50% -80px, rgba(212, 118, 59, .13), rgba(245, 194, 138, .06) 48%, transparent 74%), linear-gradient(180deg, #FAF8F5 0%, #F2EFE9 100%);
  --ed-header-bg: linear-gradient(180deg, rgba(251, 249, 246, .90) 0%, rgba(245, 241, 234, .84) 100%);
  --ed-header-border: rgba(168, 138, 108, .18);
  --ed-card-bg: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  --ed-card-border: rgba(168, 138, 108, .22);
  --ed-card-shadow: inset 0 1px 0 #FFFFFF, 0 2px 6px rgba(68, 46, 26, .04), 0 16px 36px -16px rgba(68, 46, 26, .10);
  --ed-card-hover-shadow: inset 0 1px 0 #FFFFFF, 0 4px 10px rgba(68, 46, 26, .05), 0 22px 42px -16px rgba(140, 82, 38, .17);
  --ed-sub-bg: #F6F2EC;
  --ed-dock-bg: linear-gradient(180deg, #F8F4EE 0%, #F2ECE3 100%);
  --ed-input-bg: #FFFFFF;
  --ed-accent: #C2672F;
  --ed-accent-ink: #9A4817;
  --ed-accent-soft: rgba(212, 118, 59, .11);
  --ed-accent-border: rgba(194, 103, 47, .30);
  --ed-on-bg: linear-gradient(135deg, rgba(212, 118, 59, .13) 0%, rgba(245, 176, 105, .05) 100%);
  --ed-on-border: #C96E35;
  --ed-on-shadow: 0 0 0 3px rgba(212, 118, 59, .11), 0 6px 16px -8px rgba(184, 90, 36, .22);
  --ed-cta-bg: linear-gradient(135deg, #D4763B 0%, #B85A24 100%);
  --ed-cta-ink: #FFFFFF;
  --ed-cta-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 20px -6px rgba(184, 90, 36, .36);
  --ed-cta-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 12px 24px -6px rgba(184, 90, 36, .46);
  --ed-confirm-bg: linear-gradient(135deg, #1E6B52 0%, #144D3B 100%);
  --ed-confirm-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -6px rgba(20, 77, 59, .34);
  --ed-seg-bg: rgba(236, 230, 221, .82);
  --ed-seg-thumb-bg: linear-gradient(135deg, #D4763B 0%, #B85A24 100%);
  --ed-seg-thumb-ink: #FFFFFF;
  --ed-seg-thumb-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 4px 12px -2px rgba(184, 90, 36, .34);
  --ed-crown: linear-gradient(90deg, transparent 4%, rgba(212, 118, 59, .42) 28%, #E6A46C 50%, rgba(212, 118, 59, .42) 72%, transparent 96%);
  --bg: #F2EFE9;
  --text: #1C1917;
  --text-2: #44403C;
  --muted: #6B635B;
  --faint: #64748b;            /* 审计 2026-11-01：与 :root 浅色口径一致，防次要文字对比度回退 */
  --line: rgba(168, 138, 108, .19);
  --line-2: rgba(152, 124, 96, .28);
  --card: #FFFFFF;
  --card-2: #F7F4EE;
  --card-3: #EFEAE1;
  --accent: #C2672F;
  --accent-2: #D4763B;
  --accent-ink: #9A4817;
  --accent-soft: rgba(212, 118, 59, .11);
  --accent-border: rgba(194, 103, 47, .30);
  --grad: linear-gradient(135deg, #D4763B 0%, #B85A24 100%);
}

/* ---- 2. 页面基底与品牌色彩联动（全高无缝渐变，杜绝滚动断层线） ---- */
html[data-theme]:has(body.v34) {
  background: var(--bg);
}
html[data-theme] body.v34 {
  background-color: var(--bg);
  background-image: var(--ed-page-bg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: scroll;
  color: var(--text);
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.v34 .brand-name span { color: var(--ed-accent); }
body.v34 .brand-name .logo-i circle,
body.v34 .brand-name .logo-sep circle { fill: var(--ed-accent); }
body.v34 .brand-name .logo-sep g { stroke: var(--ed-accent); }

/* ---- 3. 居中约束毛玻璃顶栏（杜绝宽屏左右割裂） ---- */
html[data-theme] body.v34 .ed-topbar {
  padding: 0;
  height: auto;
  min-height: 64px;
  background: var(--ed-header-bg);
  border-bottom: 1px solid var(--ed-header-border);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
/* v3.4 batch2：顶栏放宽到 1280px（与接码站 / 收信站一致），左右两组都不再被压缩 → 1280 / 1440 下 5 语言零重叠 */
body.v34 .tb-inner {
  max-width: 1280px;
  width: 100%;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
body.v34 .tb-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex-shrink: 0;
}
body.v34 .tb-left .brand { flex-shrink: 0; }
body.v34 .topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
body.v34 .topnav > * { flex-shrink: 0; }
/* 法 / 德等长文案语言在 ≤1480px 下：语言按钮只留国旗、主题按钮只留图标（均有 aria-label），中文不变 → 1280 / 1440 五语言零重叠 */
@media (max-width: 1480px) {
  html:not([lang^="zh"]) body.v34 .lang-cur-btn #lang-cur-text,
  html:not([lang^="zh"]) body.v34 .theme-toggle [data-theme-label] { display: none; }
  html:not([lang^="zh"]) body.v34 .theme-toggle { padding: 0 10px; }
}
body.v34 .tb-eco {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding: 3px;
  border-radius: 0px;
  background: var(--ed-sub-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .tb-eco-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 0px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2) !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
body.v34 .tb-eco-link:hover {
  background: var(--ed-card-bg);
  color: var(--text) !important;
}
body.v34 .tb-eco-link.is-current {
  background: var(--ed-on-bg);
  border-color: var(--ed-on-border);
  color: var(--text) !important;
  box-shadow: 0 2px 8px -3px rgba(212, 118, 59, .25);
  cursor: default;
}
html[data-theme="light"] body.v34 .tb-eco-link.is-current {
  color: var(--ed-accent-ink) !important;
}
body.v34 .eco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
body.v34 .eco-dot.store {
  background: #F97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, .22);
}
body.v34 .eco-dot.ip { background: #38BDF8; }
body.v34 .eco-dot.sms { background: #34D399; }
body.v34 .eco-dot.mail { background: #FACC15; }
body.v34 .eco-dot.ai, body.v34 .tb-eco-link[data-site="ai"] .eco-dot { background: #A855F7; }
body.v34 .eco-dot.cast, body.v34 .tb-eco-link[data-site="cast"] .eco-dot { background: #FB7185; }
body.v34 .tb-eco-link .eco-arr {
  display: none !important;
}

/* 顶栏右侧按钮与钱包胶囊 */
body.v34 .v3-tb-btn,
html[data-theme] body.v34 .lang-cur-btn,
body.v34 .theme-toggle {
  height: 36px;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  color: var(--text-2) !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
body.v34 .v3-tb-btn:hover,
html[data-theme] body.v34 .lang-cur-btn:hover,
body.v34 .theme-toggle:hover {
  border-color: var(--ed-accent-border);
  color: var(--text) !important;
}
body.v34 .v3-tb-btn.is-current {
  background: var(--ed-on-bg);
  border-color: var(--ed-on-border);
  box-shadow: var(--ed-on-shadow);
  color: var(--text) !important;
}
body.v34 .v3-tb-btn.is-current .ic { color: var(--ed-accent); }
body.v34 #v3-wallet .v3-tb-btn[data-act="login"] {
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink) !important;
  border: 0;
  padding: 0 16px;
  box-shadow: var(--ed-cta-shadow);
}
body.v34 .v3-wallet-pill {
  height: 36px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  padding: 0 4px 0 11px;
}
body.v34 .v3-wp-bal { color: var(--ed-accent); }
body.v34 .v3-wp-top {
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink);
}

/* ---- 4. 主容器外壳（废除旧版 260px 偏左侧栏栅格） ---- */
body.v34 .ed-main {
  max-width: var(--ed-max);
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
body.v34 .ed-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 切换 Tab 柔和原地微过渡：0.00px 水平位移 */
@keyframes edPaneIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
body.v34 .ed-pane-in {
  animation: edPaneIn 220ms cubic-bezier(.22, 1, .36, 1) both;
}
/* 覆盖旧版 v31 横向位移入场动画，防止首屏任何 X 轴抖动 */
html:not(.mw-settled) body.v34 .v31-shelf > .v31-sec {
  animation: edPaneIn 360ms cubic-bezier(.16, 1, .3, 1) both;
}

/* ---- 5. 居中氛围头区 + 滑动双胶囊切换器 ---- */
body.v34 .ed-hero {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.v34 .ed-hero-glow {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 92vw);
  height: 150px;
  background: radial-gradient(ellipse at center, var(--ed-accent-soft) 0%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}
body.v34 .ed-hero-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.2;
  color: var(--text);
}
body.v34 .ed-hero-sub {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: .005em;
}
body.v34 .ed-seg-wrap {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}
body.v34 .ed-seg {
  position: relative;
  box-sizing: border-box;
  width: min(454px, 100%);
  height: 48px;
  padding: 4px;
  border-radius: 0px;
  background: var(--ed-seg-bg);
  border: 1px solid var(--ed-card-border);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  isolation: isolate;
}
body.v34 .ed-seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 0px;
  background: var(--ed-seg-thumb-bg);
  box-shadow: var(--ed-seg-thumb-shadow);
  transform: translate3d(0, 0, 0);
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}
body.v34 .ed-seg[data-active="ai"] .ed-seg-thumb {
  transform: translate3d(0, 0, 0);
}
body.v34 .ed-seg[data-active="mail"] .ed-seg-thumb {
  transform: translate3d(100%, 0, 0);
}
body.v34 .ed-seg[data-active="topup"] .ed-seg-thumb {
  transform: translate3d(200%, 0, 0);
}
body.v34 .ed-seg .v31-cat {
  position: relative;
  z-index: 1;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 0px;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  animation: none !important;
  transition: color 180ms ease;
}
body.v34 .ed-seg .v31-cat:hover:not(.on) {
  color: var(--text);
  transform: none;
}
body.v34 .ed-seg .v31-cat.on {
  color: var(--ed-seg-thumb-ink);
}
body.v34 .ed-seg .v31-cat.on::after {
  display: none !important;
}
body.v34 .ed-seg .v31-cat .cat-t {
  flex: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.v34 .ed-seg .v31-cat .n {
  margin: 0;
  min-width: 22px;
  height: 19px;
  padding: 0 6px;
  border-radius: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(128, 128, 128, .16);
  border: 0;
  color: currentColor;
  opacity: .86;
}
body.v34 .ed-seg .v31-cat .n:empty {
  display: none;
}
body.v34 .ed-seg .v31-cat.on .n {
  background: rgba(255, 255, 255, .22);
  color: var(--ed-seg-thumb-ink);
  opacity: 1;
}
body.v34 .ed-seg .v31-cat .n:empty {
  display: none;
}

/* ---- 6. 方案 A：840px 宽双层渐变旗舰充值舱 ---- */
body.v34 .ed-sec-topup {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
}
body.v34 .ed-topup-grid {
  position: relative;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  box-shadow: var(--ed-card-shadow);
  overflow: hidden;
}
body.v34 .ed-topup-main {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 26px 34px 28px;
}
body.v34 .ed-crown {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ed-crown);
}
body.v34 .ed-topup-side {
  background: var(--ed-dock-bg);
  border-top: 1px solid var(--ed-card-border);
  padding: 20px 34px 22px;
}
body.v34 .ed-redeem-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

/* ---- 7. 充值舱内部精细组件 ---- */

/* 顶部通用余额横幅 */
body.v34 .ed-bal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  margin-bottom: 22px;
  border-radius: 0px;
  background: var(--ed-sub-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .ebs-left,
body.v34 .ebs-right {
  display: flex;
  align-items: center;
  gap: 9px;
}
body.v34 .ebs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}
body.v34 .ebs-dot.ok {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(16, 185, 129, .45);
}
body.v34 .ebs-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
body.v34 .ebs-user {
  font-size: 12.5px;
  font-family: var(--mono);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .ebs-guest,
body.v34 .ebs-sync {
  font-size: 12px;
  color: var(--muted);
}
body.v34 .ebs-val {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ed-accent);
}
body.v34 .ebs-login-btn {
  padding: 4px 12px;
  border-radius: 0px;
  border: 1px solid var(--ed-accent-border);
  background: var(--ed-accent-soft);
  color: var(--ed-accent-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

/* 表单字段：大气对齐的上下堆叠流，所有横边 100% 严丝合缝 */
body.v34 .ed-form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.v34 .v31-row.ed-field,
body.v34 .v31-row.ed-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 0;
  border: 0 !important;
}
body.v34 .v31-row.ed-cta-row .v31-lbl {
  display: none;
}
body.v34 .v31-lbl {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
}

/* 支付方式卡片 + 100% 官方正版支付宝高清徽标 */
body.v34 .v31-seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
body.v34 .v31-seg.is-single {
  grid-template-columns: minmax(0, 1fr);
}
body.v34 .v31-pay,
body.v34 .v31-seg.is-single .v31-pay {
  position: relative;
  height: 62px;
  padding: 0 44px 0 16px;
  gap: 13px;
  border-radius: 0px;
  background: var(--ed-input-bg);
  border: 1px solid var(--line-2);
}
body.v34 .v31-pay .ico {
  width: 38px;
  height: 38px;
  border-radius: 0px;
  background: transparent;
  box-shadow: 0 3px 10px -4px rgba(15, 23, 42, .28);
  overflow: hidden;
  flex: none;
}
body.v34 .v31-pay .ico.c2 {
  border-radius: 0px;
}
body.v34 .v31-pay .ico svg,
body.v34 .v31-pay .ico img.alipay-img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
body.v34 .pay-channel-ico {
  width: 28px;
  height: 28px;
  border-radius: 0px;
  background: transparent;
  overflow: hidden;
}
body.v34 .pay-channel-ico img.alipay-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.v34 .v31-pay.on {
  background: var(--ed-on-bg);
  border-color: var(--ed-on-border);
  box-shadow: var(--ed-on-shadow);
}
/* 覆盖旧版左侧 3px 竖条，改为右侧精致单选圆环对勾 */
body.v34 .v31-pay::after,
body.v34 .v31-pay.on::after {
  content: "";
  position: absolute;
  left: auto;
  right: 16px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 0px;
  border: 1.5px solid var(--line-2);
  background: transparent;
  box-shadow: none;
}
body.v34 .v31-pay.on::after {
  box-sizing: border-box;
  border: 5.5px solid var(--ed-accent);
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}

/* 5 等分大尺寸渐变面额卡 */
body.v34 .v31-tiers {
  display: grid;
  grid-template-columns: repeat(var(--tier-n, 5), minmax(0, 1fr));
  gap: 11px;
  max-width: none;
  width: 100%;
}
body.v34 .v31-tier {
  height: 58px;
  border-radius: 0px;
  background: var(--ed-input-bg);
  border: 1px solid var(--line-2);
}
body.v34 .v31-tier b,
body.v34 .v31-tier.custom b {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.015em;
  color: var(--text);
}
body.v34 .v31-tier.custom b {
  font-size: 15.5px;
}
body.v34 .v31-tier:hover:not(.on) {
  border-color: var(--ed-accent-border);
}
body.v34 .v31-tier.on {
  background: var(--ed-on-bg);
  border-color: var(--ed-on-border);
  box-shadow: var(--ed-on-shadow);
}
body.v34 .v31-tier.on b {
  color: var(--ed-accent-ink);
}
html[data-theme="dark"] body.v34 .v31-tier.on b {
  color: #FFFFFF;
}
body.v34 .v31-tier.on::after {
  background: linear-gradient(90deg, transparent, var(--ed-accent) 30%, var(--ed-accent-ink) 50%, var(--ed-accent) 70%, transparent);
}

/* 宽幅主充值按钮 */
body.v34 .v31-go-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  margin-top: 2px;
}
body.v34 .v31-go {
  width: 100%;
  height: 50px;
  border-radius: 0px;
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink) !important;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: var(--ed-cta-shadow);
}
body.v34 .v31-go:hover {
  box-shadow: var(--ed-cta-hover-shadow);
  filter: brightness(1.03);
}
body.v34 .v31-go-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* 卡密兑换舱与方案 C 通用权益卡 */
body.v34 .ed-redeem-head,
body.v34 .ed-perks-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.v34 .ed-redeem-head b,
body.v34 .ed-perks-head b {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
body.v34 .ed-redeem-head span,
body.v34 .ed-perks-head span {
  font-size: 12px;
  color: var(--muted);
}
body.v34 .v31-redeem {
  max-width: none;
  width: 100%;
}
body.v34 .v31-redeem .vin input {
  height: 44px;
  border-radius: 0px;
  background: var(--ed-input-bg);
  border-color: var(--line-2);
  font-size: 13.5px;
}
body.v34 .v31-redeem .vin button {
  height: 44px;
  padding: 0 22px;
  border-radius: 0px;
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink);
  box-shadow: var(--ed-cta-shadow);
}
body.v34 .ed-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.v34 .ed-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
body.v34 .ed-perks-list .ic {
  width: 15px;
  height: 15px;
  color: var(--ed-accent);
}

/* 方案 A 底部三枚极简对称信任承诺微徽章 */
body.v34 .ed-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 18px;
}
body.v34 .ed-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted) !important;
  text-decoration: none !important;
}
body.v34 .ed-trust-pill:hover {
  color: var(--text) !important;
}
body.v34 .ed-trust-pill .ic {
  width: 15px;
  height: 15px;
  color: var(--ed-accent);
}

/* ---- 8. 邮箱板块：对称工具条 + 3×2 精品大卡片矩阵 ---- */
body.v34 .ed-sec-mail {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

/* 邮箱顶部工具栏 */
body.v34 .ed-mail-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 22px;
}
body.v34 .ed-mail-title h2 {
  display: none;
}
body.v34 .ed-mail-title .v31-sec-sub {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}
body.v34 .ed-mail-title .v31-sec-sub a {
  color: var(--ed-accent);
  font-weight: 600;
}
body.v34 .ed-mail-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.v34 .ed-search {
  position: relative;
  flex: 0 1 310px;
  width: 310px;
  margin: 0 !important;
}
body.v34 .ed-search input {
  height: 40px;
  border-radius: 0px;
  padding: 0 14px 0 36px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
body.v34 .ed-search .ic {
  left: 13px;
}
body.v34 .ed-instock {
  margin: 0 !important;
  height: 40px;
  padding: 0 14px !important;
  border-radius: 0px; font-variant-numeric: tabular-nums;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}
body.v34 .ed-instock input:checked + .box {
  background: var(--ed-cta-bg);
}

/* 3×2 严格对称大卡片矩阵（每张卡宽约 340~360px，同行高度与按钮 Y 坐标 0.00px 绝对一致） */
body.v34 .ed-mail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
body.v34 .v31-mcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 18px;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  box-shadow: var(--ed-card-shadow);
}
body.v34 .v31-mcard::before {
  background: radial-gradient(260px circle at var(--mw-x, 50%) var(--mw-y, 0%), var(--ed-accent-soft), transparent 68%);
}
body.v34 .v31-mcard::after {
  background: radial-gradient(170px circle at var(--mw-x, 50%) var(--mw-y, 0%), var(--ed-on-border), transparent 72%);
}
body.v34 .v31-mcard:not(.out):hover {
  transform: translateY(-3px);
  border-color: var(--ed-accent-border);
  box-shadow: var(--ed-card-hover-shadow);
}
body.v34 .v31-mcard .mc-top {
  height: 44px;
  min-height: 44px;
  gap: 12px;
}
body.v34 .v31-mcard .logo {
  width: 44px;
  height: 44px;
  border-radius: 0px;
  background: var(--ed-sub-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .v31-mcard .mc-name b {
  font-size: 15.5px;
  font-weight: 750;
  color: var(--text);
}
body.v34 .v31-mcard .mc-name small {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* 克制专业标签（去除刺眼呼吸霓虹框） */
body.v34 .v31-mcard .labels {
  height: 26px;
  min-height: 26px;
  gap: 6px;
}
body.v34 .lb {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 0px;
  background: var(--ed-sub-bg);
  border: 1px solid var(--ed-card-border);
  color: var(--text-2);
}
body.v34 .lb.pick {
  background: var(--ed-accent-soft);
  border-color: var(--ed-accent-border);
  color: var(--ed-accent-ink);
}
html[data-theme="dark"] body.v34 .lb.pick {
  color: var(--ed-accent-ink);
}
body.v34 .lb.pick::after {
  display: none !important;
  animation: none !important;
}

/* 价格与库存胶囊 */
body.v34 .v31-mcard .price {
  height: 34px;
  min-height: 34px;
  margin-top: 2px;
}
body.v34 .v31-mcard .price b {
  font-family: var(--sans-num);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ed-accent-ink);
  position: relative;
  top: 1px;
}
html[data-theme="dark"] body.v34 .v31-mcard .price b {
  color: #F7CFA8;
}
body.v34 .v31-mcard .price .stock {
  padding: 5px 9px;
  border-radius: 0px; font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  font-weight: 600;
}
body.v34 .v31-mcard .mc-sub {
  height: 18px;
  min-height: 18px;
  line-height: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* 步进器与沉稳渐变「立即购买」按钮 */
body.v34 .v31-mcard .mc-buy {
  margin-top: auto;
  padding-top: 6px;
  height: 46px;
  border-top: 1px solid var(--ed-card-border);
}
body.v34 .v31-mcard .qty {
  height: 38px;
  border-radius: 0px;
  border-color: var(--line-2);
  background: var(--ed-input-bg);
}
body.v34 .v31-mcard .qty button {
  width: 34px;
  background: var(--ed-sub-bg);
}
body.v34 .v31-mcard .qty input {
  width: 46px;
  background: transparent;
}
body.v34 .v31-mcard .mc-total {
  font-size: 15px;
  font-weight: 750;
  color: var(--text);
}
body.v34 .v31-buy {
  height: 44px;
  min-height: 44px;
  border-radius: 0px;
  border: 0;
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: var(--ed-cta-shadow);
}
body.v34 .v31-buy:not(.warn):not([disabled]):hover {
  box-shadow: var(--ed-cta-hover-shadow);
  filter: brightness(1.03);
}
/* 二次确认态：沉稳深翠绿渐变，告别廉价刺眼荧光绿 */
body.v34 .v31-buy.confirm {
  background: var(--ed-confirm-bg) !important;
  color: #FFFFFF !important;
  box-shadow: var(--ed-confirm-shadow) !important;
}
body.v34 .v31-buy.warn {
  background: var(--ed-accent-soft);
  color: var(--ed-accent-ink);
  border: 1px solid var(--ed-accent-border);
  box-shadow: none;
}
body.v34 .v31-buy[disabled]:not(.busy) {
  height: 44px;
  min-height: 44px;
  background: var(--ed-sub-bg);
  color: var(--faint);
  border: 1px solid var(--ed-card-border);
  box-shadow: none;
}

/* ---- 10. 子页（/orders.html & /help.html）与弹窗同步低饱和渐变 ---- */
html[data-theme] body.v34 .btn.primary,
body.v34 .v33-sup-btn.pri,
body.v34 .sup-btn.pri,
body.v34 .v3-deliver-modal .mini.pri {
  background: var(--ed-cta-bg);
  color: var(--ed-cta-ink) !important;
  border-color: transparent;
  box-shadow: var(--ed-cta-shadow);
}
html[data-theme] body.v34 .btn.primary:hover:not(:disabled),
body.v34 .sup-btn.pri:hover {
  box-shadow: var(--ed-cta-hover-shadow);
}
body.v34.v33 .v33-page {
  max-width: 960px;
  width: 100%;
  margin: 32px auto;
}
body.v34.v33 .v33-block,
body.v34.v33 .v33-sup,
html[data-theme] body.v34.v33 .v33-faq details {
  background: var(--ed-card-bg);
  border-color: var(--ed-card-border);
  box-shadow: var(--ed-card-shadow);
}
body.v34.v33 .v33-bi {
  color: var(--ed-accent);
  background: var(--ed-accent-soft);
  box-shadow: inset 0 0 0 1px var(--ed-accent-border);
}
body.v34.v33 .v33-sec-t::before {
  background: var(--ed-cta-bg);
}
body.v34.v33 .v33-guide {
  border-color: var(--ed-accent-border);
  background: linear-gradient(135deg, var(--ed-accent-soft), transparent 72%);
}
body.v34.v33 .v33-gi {
  color: var(--ed-accent);
  background: var(--ed-accent-soft);
}
body.v34 .ed-footer {
  margin-top: auto;
  max-width: var(--ed-max);
  width: 100%;
  border-top-color: var(--ed-header-border);
}

/* ---- 10. 响应式自适应 ---- */
@media (max-width: 1024px) {
  body.v34 .ed-mail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body.v34 .tb-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }
  body.v34 .ed-main {
    padding: 20px 16px 40px;
  }
  body.v34 .ed-mail-grid {
    grid-template-columns: 1fr;
  }
  body.v34 .ed-topup-main,
  body.v34 .ed-topup-side {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.v34 .ed-redeem-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.v34 .ed-mail-tools {
    width: 100%;
    flex-wrap: wrap;
  }
  body.v34 .ed-search {
    flex: 1 1 200px !important;
    width: auto !important;
  }
}
@media (max-width: 560px) {
  body.v34 .v31-seg {
    grid-template-columns: 1fr;
  }
  body.v34 .v31-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.v34 .ed-seg {
    width: min(358px, 100%);
    height: 44px;
  }
  body.v34 .ed-seg .v31-cat {
    font-size: 13px;
    padding: 0 6px;
    gap: 4px;
  }
  body.v34 .ed-seg .v31-cat .n {
    min-width: 20px;
    height: 17px;
    padding: 0 5px;
    font-size: 10.5px;
  }
}

/* ============================================================
 * v3.4 · 邮箱子分类胶囊条（方案 A 暖金渐变 · 居中对称 · 零抖动）
 *   · 计数徽标固定最小宽度 + tabular-nums，切换/筛选时胶囊宽度不跳
 *   · 选中态只换背景/描边/颜色，不改字重与内边距
 * ============================================================ */
body.v34 .ed-mail-subs-wrap { display: flex; justify-content: center; margin: 4px 0 18px; }
body.v34 .ed-mail-subs {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 6px; border-radius: 0px;
  background: var(--ed-seg-bg, rgba(128, 128, 128, .08));
  border: 1px solid var(--ed-card-border, var(--line));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
}
body.v34 .ed-msub {
  height: 36px; padding: 0 8px 0 15px; border-radius: 0px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .005em;
  color: var(--muted); background: transparent; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color 160ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
body.v34 .ed-msub.hidden { display: none; }
body.v34 .ed-msub:hover:not(.on) { color: var(--text); background: rgba(226, 139, 78, .08); }
body.v34 .ed-msub:focus-visible { outline: 2px solid rgba(226, 139, 78, .6); outline-offset: 2px; }
body.v34 .ed-msub .n {
  min-width: 26px; height: 21px; padding: 0 6px; border-radius: 0px;
  display: inline-flex; align-items: center; justify-content: center;
  font: normal 700 11.5px/1 var(--mono); font-variant-numeric: tabular-nums; font-style: normal;
  background: rgba(128, 128, 128, .16); color: currentColor; opacity: .88;
}
body.v34 .ed-msub .n:empty { display: none; }
body.v34 .ed-msub.on {
  color: var(--ed-seg-thumb-ink, #fff);
  background: var(--ed-seg-thumb-bg, linear-gradient(135deg, #F0A868, #DF7E3E 55%, #C2672F));
  border-color: rgba(255, 214, 160, .35);
  box-shadow: var(--ed-seg-thumb-shadow, 0 6px 16px -8px rgba(223, 126, 62, .7));
}
body.v34 .ed-msub.on .n { background: rgba(255, 255, 255, .24); opacity: 1; }
@media (max-width: 560px) {
  body.v34 .ed-mail-subs { border-radius: 0px; }
  body.v34 .ed-msub { height: 34px; font-size: 13px; }
}

/* v3.4 · 微软徽标 + 区域迷你国旗叠角 */
body.v3 .logo .flag-stack { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; }
body.v3 .logo .flag-stack > .flag { width: 18px; height: 18px; }
body.v3 .logo .flag-stack .flag-sub {
  position: absolute; right: -6px; bottom: -5px; display: inline-flex;
  border-radius: 0px; box-shadow: 0 0 0 1.5px var(--card, #1a1613), 0 1px 3px rgba(0, 0, 0, .35); overflow: hidden;
}
body.v3 .logo .flag-stack .flag-sub .flag { width: 13px; height: 9px; display: block; box-shadow: none; }

/* ============================================================
 * v3.4 · 手机浏览器精修（2026-10-31 串行第 1 棒）
 *   1. ≤1024px 顶栏双层对称：第 1 行 Logo ｜ 语言 + 主题 + 账号；第 2 行等宽导航
 *   2. ≤768px 所有输入控件 16px，杜绝 iOS Safari 聚焦放大
 *   3. ≤560px 充值面额 2 列严格等宽等高，「自定义」整行收尾
 * ============================================================ */
@media (max-width: 1024px) {
  body.v34 .tb-inner { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  body.v34 .tb-left { display: contents; }
  body.v34 .tb-left .brand { order: 1; }
  body.v34 .topnav { order: 2; }
  body.v34 .tb-eco {
    order: 3; flex: 0 0 100%; width: 100%; box-sizing: border-box;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
  }
  body.v34 .tb-eco-link { justify-content: center; min-width: 0; padding: 0 3px; height: 32px; font-size: 11.5px; gap: 3px; }
  body.v34 .tb-eco-link > span:not(.eco-dot) { overflow: hidden; text-overflow: ellipsis; }
  body.v34 .tb-eco-link .eco-arr { display: none !important; }
  html:not([lang^="zh"]) body.v34 .tb-eco-link { font-size: 10.5px; gap: 2.5px; }
}
@media (max-width: 560px) {
  body.v34 .tb-inner { padding-left: 14px; padding-right: 14px; gap: 8px; }
  body.v34 .tb-eco { gap: 4px; }
  /* 触控高度 ≥38px；德/法/意长词允许按词折成两行（自动断字），不再被省略号截断 */
  body.v34 .tb-eco-link { font-size: 11.5px; gap: 3px; padding: 0 3px; height: auto; min-height: 38px; }
  body.v34 .tb-eco-link > span:not(.eco-dot) {
    white-space: normal; text-overflow: clip; text-align: center; line-height: 1.15;
    -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  }
  body.v34 .tb-eco-link .eco-arr, body.v34 .eco-arr { display: none !important; }
  html:not([lang^="zh"]) body.v34 .tb-eco-link { font-size: 10.5px; gap: 2.5px; }
}
@media (max-width: 380px) {
  /* 360–375px 窄屏：收紧外边距与间距，给 5 等分链接腾出宽度 */
  body.v34 .tb-inner { padding-left: 10px; padding-right: 10px; }
  body.v34 .tb-eco { gap: 3px; }
  body.v34 .tb-eco-link { padding: 0 3px; gap: 2px; }
}
@media (max-width: 768px) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  html body select,
  html body textarea,
  html[data-theme] body .field input,
  html[data-theme] body.v33 .v33-query-box .field input,
  html[data-theme] body .fa-input { font-size: 16px !important; }
  /* 余额横幅：标签不断字，副标题另起一行 */
  body.v34 .ed-bal-strip { padding: 11px 14px; }
  body.v34 .ebs-left { flex-wrap: wrap; row-gap: 2px; min-width: 0; }
  body.v34 .ebs-label { white-space: nowrap; }
  body.v34 .ebs-guest { flex: 1 0 100%; padding-left: 17px; }
  body.v34 .ebs-right { flex: none; }
  body.v34 .ebs-login-btn { white-space: nowrap; min-height: 36px; padding: 0 14px; }
}
@media (max-width: 560px) {
  html[data-theme] body.v34 .v31-tiers,
  html[data-theme] body.v31 .v31-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; max-width: none; }
  html[data-theme] body.v31 .v31-tiers .v31-tier { min-width: 0; width: auto; height: 58px; padding: 0 8px; }
  html[data-theme] body.v31 .v31-tiers .v31-tier.custom:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body.v34 .ed-mail-subs-wrap { display: block; }
  body.v34 .ed-mail-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; box-sizing: border-box; border-radius: 0px; }
  body.v34 .ed-msub { justify-content: space-between; min-width: 0; padding: 0 6px 0 12px; }
  /* 奇数末项占满整行：由 app.js syncMailSubs 按「可见按钮」计算后打 .is-last-odd（:nth-child 会把隐藏分类也算进去导致错位） */
  body.v34 .ed-msub.is-last-odd:not(.hidden) { grid-column: 1 / -1; justify-content: center; }
}

/* ============================================================
 * v3.6 · 官方三通道客服 / 页脚条款 / 邮箱规格免责弹窗（暖金流光双主题）
 *   · 深色 html[data-theme="dark"] 与浅色 html[data-theme="light"] / body.light 100% 适配
 *   · 桌面端 3 列等高严格对称，移动端单列居中 0px 横向溢出、输入控件 ≥16px
 * ============================================================ */
.v36-bi {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

/* ---- 1. 页脚官方客服胶囊与服务条款入口 ---- */
body.v34 .fubi-ann {
  width: 100%;
}
body.v31 .v31-footer #footer-contact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}
body.v31 .v31-footer #footer-contact:empty + .sep {
  display: none;
}
.v36-fc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 0px;
  border: 1px solid transparent;
  color: var(--text-2) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
a.v36-fc:hover {
  color: var(--text) !important;
  background: var(--ed-accent-soft, var(--accent-soft));
  border-color: var(--ed-accent-border, var(--accent-border));
}
.v36-fc .v36-bi {
  width: 15px;
  height: 15px;
}
html[data-theme="dark"] .v36-fc .v36-bi[viewBox="0 0 24 24"] {
  filter: drop-shadow(0 0 .9px rgba(255, 255, 255, .72));
}
.v36-fc > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.v36-fc > code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  color: var(--text-2);
}
a.v36-fc:hover > code {
  color: var(--ed-accent-ink, var(--accent));
}
.v36-policy-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 3px 6px;
  margin: 0;
  border-radius: 0px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--ed-accent-border, rgba(226, 139, 78, .42));
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease, background-color 160ms ease;
}
.v36-policy-link:hover {
  color: var(--ed-accent, var(--accent));
  text-decoration-color: currentColor;
  background: var(--ed-accent-soft, transparent);
}

/* ---- 2. 充值舱底部储值免责说明 ---- */
.v36-terms-note {
  margin: -6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
}

/* ---- 3. 帮助页：Telegram 主推 + 微信在线客服 两列等高对称卡 ---- */
body.v34.v33 #help-page.v33-page {
  max-width: 1120px;
}
body.v33 .v33-support.v36-sup3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
body.v34.v33 .v36-sup3 .v33-sup {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  padding: 22px 20px 20px;
  min-height: 270px;
  gap: 14px;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), border-color 180ms ease, box-shadow 220ms ease;
}
body.v34.v33 .v36-sup3 .v33-sup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--ed-crown);
  opacity: .8;
  pointer-events: none;
}
body.v34.v33 .v36-sup3 .v33-sup-tg {
  border-color: var(--ed-accent-border);
}
body.v34.v33 .v36-sup3 .v33-sup-tg::before {
  height: 2px;
  opacity: 1;
}
body.v34.v33 .v36-sup3 .v33-sup:not(.is-skel):hover {
  transform: translateY(-2px);
  border-color: var(--ed-accent-border);
  box-shadow: var(--ed-card-hover-shadow);
}
body.v33 .v36-sup3 .sup-h {
  min-height: 44px;
}
body.v33 .v36-sup3 .sup-ico .v36-bi {
  width: 24px;
  height: 24px;
}
body.v33 .v33-sup-tg .sup-ico {
  background: linear-gradient(135deg, rgba(38, 165, 228, .20), rgba(38, 165, 228, .06));
  box-shadow: inset 0 0 0 1px rgba(38, 165, 228, .30);
}
body.v33 .v33-sup-wx .sup-ico {
  background: linear-gradient(135deg, rgba(7, 193, 96, .20), rgba(7, 193, 96, .06));
  box-shadow: inset 0 0 0 1px rgba(7, 193, 96, .30);
}
body.v33 .v36-sup3 .sup-v {
  min-height: 60px;
  padding: 8px 12px 8px 14px;
  border-radius: 0px;
  background: var(--ed-sub-bg, var(--card-2));
  border: 1px solid var(--ed-card-border, var(--line));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 700 16.5px/1.3 var(--mono);
  box-sizing: border-box;
}
body.v33 .v36-sup3 .sup-v > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.v36-qr-thumb {
  width: 44px;
  height: 44px;
  padding: 3px;
  border-radius: 0px;
  background: #FFFFFF;
  border: 1px solid var(--ed-accent-border, var(--line-2));
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .26);
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.2, .9, .3, 1.2), border-color 160ms ease, box-shadow 180ms ease;
}
.v36-qr-thumb:hover {
  transform: scale(1.06);
  border-color: var(--ed-accent, var(--accent));
  box-shadow: 0 0 0 3px var(--ed-accent-soft, rgba(226, 139, 78, .15)), 0 6px 14px -4px rgba(0, 0, 0, .32);
}
.v36-qr-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0px;
}
body.v33 .v36-sup3 .sup-a {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
body.v33 .v36-sup3 .sup-btn {
  min-width: 0;
  padding: 0 10px;
  font-size: 13px;
  border-radius: 0px;
}
body.v33 .v36-sup3 .sup-btn:not(.pri) {
  background: var(--ed-sub-bg, var(--card));
  border-color: var(--ed-card-border, var(--line-2));
}
body.v33 .v36-sup3 .sup-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- 4. 邮箱卡片「规格与须知」按钮与二步确认免责条 ---- */
body.v34 .v31-mcard .labels {
  height: auto;
  min-height: 26px;
  align-items: center;
}
body.v3 .mc-spec {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 9px;
  border-radius: 0px;
  border: 1px solid var(--ed-accent-border, var(--accent-border));
  background: transparent;
  color: var(--ed-accent-ink, var(--accent));
  font: inherit;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body.v3 .mc-spec .ic {
  width: 12.5px;
  height: 12.5px;
  color: var(--ed-accent, var(--accent));
}
body.v3 .mc-spec:hover {
  background: var(--ed-accent-soft, var(--accent-soft));
  border-color: var(--ed-on-border, var(--accent));
  color: var(--text);
}
body.v3 .mc-cta,
.v36-sp-cta {
  display: flex;
  flex-direction: column;
}
.v36-buy-terms {
  margin: 8px 0 0;
  padding: 7px 10px;
  border-radius: 0px;
  background: var(--ed-accent-soft, var(--warn-soft));
  border: 1px solid var(--ed-accent-border, var(--warn-border));
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--text-2);
  text-align: left;
}
.v36-buy-terms .ic {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1.5px;
  color: var(--ed-accent, var(--warn-ink));
}

/* ---- 5. 通用暖金模态框：邮箱规格详情 / Telegram 二维码 / 服务条款与退款政策 ---- */
.v36-mask {
  z-index: 220;
  padding: 16px;
  box-sizing: border-box;
}
.v36-mask .modal {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0px;
  background: var(--ed-card-bg, var(--card));
  border: 1px solid var(--ed-card-border, var(--line-2));
  box-shadow: var(--ed-card-hover-shadow, var(--shadow-lg));
  color: var(--text);
  max-height: min(88dvh, 780px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 139, 78, .35) transparent;
}
.v36-mask .modal::-webkit-scrollbar {
  width: 5px;
}
.v36-mask .modal::-webkit-scrollbar-track {
  background: transparent;
  margin: 14px 0;
}
.v36-mask .modal::-webkit-scrollbar-thumb {
  background: rgba(226, 139, 78, .34);
  border-radius: 0px;
}
.v36-mask .modal::before {
  content: "";
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  margin-bottom: -1px;
  background: var(--ed-crown, linear-gradient(90deg, transparent 4%, rgba(226, 139, 78, .55) 28%, #F4C797 50%, rgba(226, 139, 78, .55) 72%, transparent 96%));
  pointer-events: none;
  z-index: 4;
}
.v36-qr-modal {
  max-width: 380px;
}
.v36-spec-modal {
  max-width: 560px;
}
.v36-policy-modal {
  max-width: 600px;
}
.v36-mask .modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 18px 22px 14px;
  margin-bottom: 0;
  background: var(--ed-card-bg, var(--card));
  border-bottom: 1px solid var(--ed-card-border, var(--line));
}
.v36-mask .modal-head h3 {
  font-size: 16.5px;
  font-weight: 780;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v36-mask .modal-close {
  width: 32px;
  height: 32px;
  border-radius: 0px;
  background: var(--ed-sub-bg, var(--card-3));
  border: 1px solid var(--ed-card-border, var(--line));
  color: var(--muted);
  flex: none;
}
.v36-mask .modal-close:hover {
  color: var(--text);
  border-color: var(--ed-accent-border, var(--accent-border));
}
.v36-mask .modal-close .ic {
  width: 16px;
  height: 16px;
}
.v36-mask .modal-body {
  padding: 18px 22px 22px;
  gap: 13px;
}

/* Telegram 二维码弹窗内容 */
.v36-qr-box {
  width: fit-content;
  max-width: 100%;
  margin: 4px auto 2px;
  padding: 14px;
  border-radius: 0px;
  background: #FFFFFF;
  border: 1px solid var(--ed-accent-border, var(--line-2));
  box-shadow: 0 0 0 6px var(--ed-accent-soft, rgba(226, 139, 78, .08)), 0 16px 36px -18px rgba(0, 0, 0, .5);
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.v36-qr-box img {
  display: block;
  width: min(220px, 60vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0px;
}
.v36-qr-cap {
  margin: 2px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.v36-qr-cap code {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ed-accent-ink, var(--accent));
  background: var(--ed-accent-soft, var(--accent-soft));
  border: 1px solid var(--ed-accent-border, var(--accent-border));
  padding: 2px 11px;
  border-radius: 0px;
}

/* 邮箱「规格与须知」弹窗内容 */
.v36-sp-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 0px;
  background: var(--ed-sub-bg, var(--card-2));
  border: 1px solid var(--ed-card-border, var(--line));
}
.v36-sp-hero .logo {
  width: 44px;
  height: 44px;
  border-radius: 0px;
  background: var(--ed-card-bg, var(--card));
  border: 1px solid var(--ed-card-border, var(--line));
  display: grid;
  place-items: center;
  flex: none;
}
.v36-sp-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v36-sp-name b {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}
.v36-sp-name small {
  font: 12px/1.3 var(--mono);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v36-sp-price {
  flex: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.v36-sp-price b {
  font-family: var(--sans-num);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ed-accent-ink, var(--accent));
}
html[data-theme="dark"] .v36-sp-price b {
  color: #F7CFA8;
}
.v36-sp-price small {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.v36-sp-sec,
.v36-pol-sec {
  padding: 13px 15px;
  border-radius: 0px;
  background: var(--ed-sub-bg, var(--card-2));
  border: 1px solid var(--ed-card-border, var(--line));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v36-sp-sec.v36-sp-warn {
  background: linear-gradient(160deg, rgba(226, 139, 78, .10) 0%, rgba(17, 22, 34, .72) 100%);
  border-color: rgba(226, 139, 78, .32);
}
html[data-theme="light"] .v36-sp-sec.v36-sp-warn,
body.light .v36-sp-sec.v36-sp-warn {
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF3E8 100%);
  border-color: rgba(194, 103, 47, .28);
}
.v36-sp-sec h4,
.v36-pol-sec h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.35;
  color: var(--text);
}
.v36-sp-sec h4 i,
.v36-pol-sec h4 i {
  width: 20px;
  height: 20px;
  border-radius: 0px;
  background: var(--ed-accent-soft, var(--accent-soft));
  border: 1px solid var(--ed-accent-border, var(--accent-border));
  color: var(--ed-accent-ink, var(--accent));
  font: normal 700 11.5px/1 var(--mono);
  display: inline-grid;
  place-items: center;
  flex: none;
}
.v36-sp-sec h4 .ic {
  width: 15px;
  height: 15px;
  color: var(--ed-accent, var(--accent));
  flex: none;
}
.v36-sp-sec p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.v36-sp-fmt {
  display: block;
  padding: 9px 11px;
  border-radius: 0px;
  background: var(--ed-input-bg, var(--card));
  border: 1px solid var(--ed-card-border, var(--line-2));
  font: 600 12.5px/1.55 var(--mono);
  color: var(--ed-accent-ink, var(--accent));
  word-break: break-all;
  white-space: pre-wrap;
}
.v36-sp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 0px;
  background: var(--ed-accent-soft, var(--accent-soft));
  border: 1px solid var(--ed-accent-border, var(--accent-border));
  color: var(--ed-accent-ink, var(--accent)) !important;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none !important;
  transition: filter 160ms ease, transform 160ms ease;
}
.v36-sp-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.v36-sp-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v36-rules {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.v36-rules li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 10px;
  border-left: 2px solid var(--ed-accent-border, var(--accent-border));
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.v36-rules li b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.v36-sp-note {
  margin: 2px 0 0 !important;
  padding: 8px 10px;
  border-radius: 0px;
  background: var(--ed-card-bg, var(--card));
  border: 1px dashed var(--ed-accent-border, var(--accent-border));
  font-size: 12px !important;
  color: var(--ed-accent-ink, var(--accent)) !important;
}
.v36-sp-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--ed-card-border, var(--line));
}
body.v34 .v36-sp-buy .qty {
  height: 40px;
  border-radius: 0px;
  border-color: var(--line-2);
  background: var(--ed-input-bg);
}
body.v34 .v36-sp-buy .qty button {
  width: 36px;
  background: var(--ed-sub-bg);
}
body.v34 .v36-sp-buy .qty input {
  width: 54px;
  background: transparent;
  font-size: 16px;
}
.v36-sp-total {
  font-family: 'Inter', 'SF Pro Display', var(--mono), sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 800;
  color: var(--ed-accent-ink, var(--text));
}
html[data-theme="dark"] .v36-sp-total {
  color: #F7CFA8;
}

/* 服务条款与退款政策弹窗内容 */
.v36-pol-lead {
  margin: 0;
  padding: 10px 13px;
  border-radius: 0px;
  background: var(--ed-accent-soft, var(--accent-soft));
  border: 1px solid var(--ed-accent-border, var(--accent-border));
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.v36-pol-sec ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.v36-pol-sec li::marker {
  color: var(--ed-accent, var(--accent));
}
.v36-pol-foot {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.v36-pol-foot code {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ed-accent-ink, var(--accent));
  background: var(--ed-sub-bg, var(--card-2));
  border: 1px solid var(--ed-card-border, var(--line));
  padding: 2px 9px;
  border-radius: 0px;
}

/* ---- 6. v3.6 移动端与窄屏防溢出收口 ---- */
@media (max-width: 960px) {
  body.v33 .v33-support.v36-sup3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .v36-mask {
    padding: 12px;
  }
  .v36-mask .modal {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .v36-mask .modal-head {
    padding: 15px 16px 12px;
  }
  .v36-mask .modal-body {
    padding: 15px 16px 18px;
    gap: 12px;
  }
  .v36-sp-hero,
  .v36-sp-sec,
  .v36-pol-sec {
    padding: 12px 13px;
  }
  body.v31 .v31-footer {
    padding: 16px 14px 26px;
    gap: 6px 8px;
  }
}
@media (max-width: 560px) {
  body.v33 .v33-support.v36-sup3 {
    max-width: none;
  }
  body.v34.v33 .v36-sup3 .v33-sup {
    min-height: 0;
    padding: 18px 16px;
  }
}

/* ============================================================
 * v3.7 · 同级别板块：AI 助手（#sec-ai）与静态住宅 IP（#sec-ip）100% 视觉同源
 * ============================================================ */
body.v34 :is(.ed-sec-ai, .ed-sec-ip) {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  margin-bottom: 22px;
}
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-title h2 {
  display: block;
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text);
}
body.v34 .ed-ai-portal-pill {
  height: 40px;
  padding: 0 18px;
  border-radius: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  color: var(--ed-accent-ink) !important;
  background: var(--ed-accent-soft);
  border: 1px solid var(--ed-accent-border);
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .18);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
html[data-theme="dark"] body.v34 .ed-ai-portal-pill {
  color: #F7CFA8 !important;
}
body.v34 .ed-ai-portal-pill:hover {
  transform: translateY(-1px);
  border-color: var(--ed-accent);
  box-shadow: var(--ed-card-hover-shadow);
}
body.v34 .ed-ai-card .ed-ai-logo {
  display: inline-grid;
  place-items: center;
  color: var(--ed-accent);
  flex: none;
}
body.v34 .ed-ai-card .mc-top {
  height: auto;
  min-height: 44px;
  align-items: center;
}
body.v34 .ed-ai-card .mc-name {
  min-width: 0;
}
body.v34 .ed-ai-card .mc-name b {
  display: block;
  line-height: 1.32;
  white-space: normal;
}
body.v34 .ed-ai-card .labels {
  height: auto;
  min-height: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
body.v34 .ed-ai-card .price {
  height: auto;
  min-height: 34px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}
body.v34 .ed-ai-card .price > span:not(.stock) {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
body.v34 .ed-ai-card .price .ed-ai-tier-note {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 0px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-2);
  background: var(--card-2, rgba(128, 128, 128, .1));
  border: 1px solid var(--ed-card-border);
}
body.v34 .ed-ai-desc {
  margin: 2px 0 4px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--text-2);
  flex: 1;
}
body.v34 .ed-ai-card .mc-cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ed-card-border);
}
body.v34 .ed-ai-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none !important;
  color: var(--ed-cta-ink) !important;
}

/* 桌面端 3+1 严格对称矩阵：第 4 张高频工具卡横跨 3 列左右均衡对齐 */
@media (min-width: 1025px) {
  body.v34 .ed-ai-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 24px;
  }
  body.v34 .ed-ai-wide-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  body.v34 .ed-ai-wide-main .ed-ai-desc {
    margin: 0;
  }
  body.v34 .ed-ai-wide-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    flex: 0 0 256px;
    padding-left: 24px;
    border-left: 1px solid var(--ed-card-border);
  }
  body.v34 .ed-ai-wide-side .price {
    margin: 0;
    justify-content: center;
  }
  body.v34 .ed-ai-wide-side .price b {
    font-size: 21px;
  }
  body.v34 .ed-ai-wide-side .mc-cta {
    margin: 0;
    padding-top: 0;
    border-top: 0;
  }
}

/* 平板端 (≤1024px 2×2 对称矩阵) 与手机端 (≤760px 单列) */
@media (max-width: 1024px) {
  body.v34 .ed-ai-card-wide {
    grid-column: auto;
  }
  body.v34 .ed-ai-wide-main,
  body.v34 .ed-ai-wide-side {
    display: contents;
  }
  body.v34 .ed-ai-card-wide .mc-top { order: 1; }
  body.v34 .ed-ai-card-wide .labels { order: 2; }
  body.v34 .ed-ai-card-wide .price { order: 3; }
  body.v34 .ed-ai-card-wide .price b { font-size: 22px; }
  body.v34 .ed-ai-card-wide .ed-ai-desc { order: 4; }
  body.v34 .ed-ai-card-wide .mc-cta { order: 5; }
}
@media (max-width: 760px) {
  body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools {
    width: 100%;
  }
  body.v34 .ed-ai-portal-pill {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== v44 · Vinted Seller Studio 视觉元素（松石青绿 #09B1BA → #007782） ===== */
body.v34 { --ed-vinted: #09B1BA; --ed-vinted-deep: #007782; }
body.v34 .ed-seg .v31-cat { gap: 7px; }
body.v34 .ed-seg .v31-cat .ed-ico {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 0px;
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, .28);
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), box-shadow 220ms ease;
}
body.v34 .ed-seg .v31-cat.on .ed-ico {
  transform: scale(1.04);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .82), 0 2px 6px -2px rgba(0, 0, 0, .35);
}
body.v34 .ed-ai-h2row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 4px;
}
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-h2row h2 { margin: 0; }
body.v34 .ed-vinted-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ed-vinted-deep);
  background: transparent;
  border: 0;
}
body.v34 .ed-vinted-badge .ed-ico { flex: none; width: 16px; height: 16px; border-radius: 0px; }
body.v34 .ed-vinted-badge b { font-weight: 800; letter-spacing: .01em; }
body.v34 .ed-vinted-badge > span { color: inherit; opacity: .82; font-weight: 600; }
html[data-theme="dark"] body.v34 .ed-vinted-badge { color: #5FD3D9; }
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
/* v46 · 跳转胶囊统一暖金柔光渐变（去青色实心底） */
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-portal-pill {
  gap: 7px;
  color: #6E3818 !important;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7EFE4 100%);
  border: 1px solid rgba(194, 103, 47, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 8px -4px rgba(110, 56, 24, .22);
}
html[data-theme="dark"] body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-portal-pill {
  color: #F4C797 !important;
  background: linear-gradient(180deg, rgba(226, 139, 78, .16) 0%, rgba(184, 90, 36, .08) 100%);
  border-color: rgba(226, 139, 78, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 8px -4px rgba(0, 0, 0, .4);
}
body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-portal-pill .ed-ico { flex: none; width: 16px; height: 16px; border-radius: 3px; }
body.v34 .ed-ai-card .ed-ai-logo-vinted .ed-ico { width: 30px; height: 30px; border-radius: 0px; box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .35); }
body.v34 .ed-ai-cta-dual { display: flex; gap: 10px; }
body.v34 .ed-ai-cta-dual .ed-ai-cta { flex: 1 1 0; min-width: 0; }
/* v46 · 卡片 CTA 暖琥珀金渐变光泽 */
body.v34 .ed-ai-grid .ed-ai-cta.btn-add {
  gap: 7px;
  color: #fff !important;
  background: linear-gradient(135deg, #D97736 0%, #B85A24 100%);
  border: 1px solid rgba(184, 90, 36, .55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}
body.v34 .ed-ai-grid .ed-ai-cta.btn-add:hover { filter: brightness(1.05); }
/* 卡 4 店铺状态查询：羊绒暖金次主按钮 + Vinted 原版图标 */
body.v34 .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted {
  color: #6E3818 !important;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7EFE4 100%);
  border: 1px solid rgba(194, 103, 47, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 8px -4px rgba(110, 56, 24, .22);
}
html[data-theme="dark"] body.v34 .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted {
  color: #F4C797 !important;
  background: linear-gradient(180deg, rgba(226, 139, 78, .16) 0%, rgba(184, 90, 36, .08) 100%);
  border-color: rgba(226, 139, 78, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
body.v34 .ed-ai-cta .ed-ico { flex: none; width: 18px; height: 18px; border-radius: 0px; }
@media (min-width: 1025px) {
  body.v34 .ed-ai-card-wide .ed-ai-wide-side { flex-basis: 300px; }
  body.v34 .ed-ai-wide-side .ed-ai-cta-dual { flex-direction: column; }
}
@media (max-width: 760px) {
  body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools { justify-content: stretch; }
  body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools .ed-ai-portal-pill { flex: 1 1 0; width: auto; min-width: 0; padding: 0 12px; }
  body.v34 .ed-vinted-badge { white-space: normal; height: auto; min-height: 24px; }
}
/* v44 · 防止宽卡英文副标题（nowrap 等宽字体）撑破网格列 min-content 导致手机端横向溢出 */
body.v34 .ed-ai-grid > .ed-ai-card { min-width: 0; }
body.v34 .ed-ai-card .mc-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  body.v34 .ed-vinted-badge { flex-wrap: wrap; gap: 2px 7px; padding: 0; }
  body.v34 .ed-vinted-badge > span { font-size: 11.5px; }
}

/* ===== v47 · AI 助手统一升级：四枚 36px 彩色徽标 + 极简文案对齐 ===== */
body.v34 .ed-ai-card .ed-ai-logo {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0px;
  background: none;
  overflow: hidden;
  box-shadow: 0 6px 14px -8px var(--ai-logo-glow, rgba(0, 0, 0, .35)), 0 1px 2px rgba(0, 0, 0, .08);
}
body.v34 .ed-ai-card .ed-ai-logo svg,
body.v34 .ed-ai-card .ed-ai-logo-vinted .ed-ico {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 0px;
  box-shadow: none;
}
body.v34 .ed-ai-logo-vinted  { --ai-logo-glow: rgba(9, 177, 186, .75); }
body.v34 .ed-ai-logo-indigo  { --ai-logo-glow: rgba(79, 70, 229, .75); }
body.v34 .ed-ai-logo-amber   { --ai-logo-glow: rgba(217, 119, 6, .75); }
body.v34 .ed-ai-logo-emerald { --ai-logo-glow: rgba(5, 150, 105, .75); }
html[data-theme="dark"] body.v34 .ed-ai-card .ed-ai-logo {
  box-shadow: 0 6px 16px -8px var(--ai-logo-glow), 0 0 0 1px rgba(255, 255, 255, .06);
}
body.v34 .ed-ai-card .mc-top { gap: 12px; min-height: 40px; }
body.v34 .ed-ai-card .mc-name b { font-size: 15.5px; font-weight: 750; letter-spacing: -.01em; }
/* 标签严格单行，超长时柔性省略而不折行 */
body.v34 .ed-ai-card .labels { flex-wrap: nowrap; overflow: hidden; min-height: 26px; }
body.v34 .ed-ai-card .labels .lb { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 描述固定 2 行占位，保证三卡 CTA 线齐平 */
body.v34 .ed-ai-desc { font-size: 13px; line-height: 1.7; min-height: calc(1.7em * 2); flex: 1 0 auto; }
/* 宽卡右侧：去掉零碎提示，两颗按钮垂直居中 */
@media (min-width: 1025px) {
  body.v34 .ed-ai-card-wide .ed-ai-wide-side { flex: 0 0 248px; align-self: stretch; justify-content: center; }
  body.v34 .ed-ai-wide-side .ed-ai-cta-dual { flex-direction: column; gap: 10px; }
  body.v34 .ed-ai-card-wide .ed-ai-desc { min-height: 0; flex: none; }
}

/* v48 · AI 助手 3 卡对称：桌面 3 列；平板 2 列时第 3 张横跨整行避免孤卡 */
@media (min-width: 761px) and (max-width: 1024px) {
  body.v34 .ed-ai-grid > .ed-ai-card:nth-child(3) { grid-column: 1 / -1; }
}

/* ===== v52 · 手机浏览器与 WebView 中文字体清晰度 + 360px 零省略号与页脚防孤字精修 ===== */
html[lang^="zh"] .hero h1,
html[lang^="zh"] .ed-hero h1,
html[lang^="zh"] .section-head h2,
html[lang^="zh"] .v31-sec-h h2,
html[lang^="zh"] .v33-page-h h1 {
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  html {
    scrollbar-gutter: auto;
    overflow-y: auto;
  }
  .hero h1,
  .ed-hero h1,
  .section-head h2,
  .v31-sec-h h2,
  .v33-page-h h1 {
    font-weight: 700;
    letter-spacing: 0.01em;
  }
}
@media (max-width: 560px) {
  body.v34 .tb-inner { padding-left: 11px; padding-right: 11px; gap: 6px; }
  body.v34 .topnav { gap: 5px; min-width: 0; }
  body.v34 .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle, .fa-avatar-btn) {
    height: 34px;
    min-width: 34px;
  }
  body.v34 .topnav .fa-avatar-btn,
  body.v34 .topnav .fa-avatar-btn.with-name {
    width: 34px;
    padding: 0;
  }
  body.v34 .topnav .fa-av {
    width: 32px;
    height: 32px;
  }
  body.v34 .topnav:has(.fa-wrap) a[data-goto-query] {
    display: none !important;
  }
  body.v34 .topnav .v3-wp {
    height: 34px;
    padding: 2px 3px 2px 9px;
    gap: 5px;
    max-width: 158px;
  }
  body.v34 .topnav .v3-wp-bal {
    font-size: 13px;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.v34 .topnav .v3-wp-top {
    height: 26px;
    padding: 0 9px;
    font-size: 11.5px;
    flex: none;
  }
  body.v34 .tb-eco { gap: 2px; padding: 3px; }
  body.v34 .tb-eco-link { padding: 0 2px; gap: 2.5px; font-size: 11.5px; }
  body.v34 .tb-eco-link .eco-dot { width: 5px; height: 5px; }
  html[lang^="zh"] body.v34 .tb-eco-link { height: 32px; min-height: 32px; }
  html[lang^="zh"] body.v34 .tb-eco-link > span:not(.eco-dot) {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.v31 .v31-footer.ed-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  body.v31 .v31-footer.ed-footer > .sep {
    display: none;
  }
  body.v31 .v31-footer.ed-footer #footer-contact {
    flex-basis: 100%;
    order: -1;
    gap: 6px 6px;
  }
  body.v31 .v31-footer.ed-footer #footer-contact .sep {
    display: none;
  }
  body.v31 .v31-footer.ed-footer .v36-fc {
    padding: 3px 8px;
    font-size: 11.5px;
    background: var(--ed-sub-bg, var(--card));
    border-color: var(--ed-card-border, var(--line));
  }
}
@media (max-width: 480px) {
  body.v34 .topnav:has(.fa-wrap) a[data-goto-help] {
    display: none !important;
  }
  body.v34 .topnav { gap: 4px; }
  body.v3 .ed-mail-grid .labels {
    flex-wrap: wrap;
    gap: 5px;
  }
  body.v3 .ed-mail-grid .labels .lb,
  body.v3 .ed-mail-grid .mc-spec {
    padding: 0 7px;
    font-size: 11px;
  }
  body.v31 .v31-footer.ed-footer .fubi-ver {
    flex-basis: 100%;
    text-align: center;
  }
}

/* ============================================================
 * v60 · 旗舰重构（与 AI 站 / 短信站同源）
 *   1. 首屏光学网格 + 呼吸柔光 + 四角取景框
 *   2. AI 助手三卡：顶部实景微缩视窗 + 价格/操作栏贴底
 *   3. 邮箱卡：品牌渐变徽标 + 地区国旗角标 + 库存胶囊
 *   4. 充值：左右等高双栏（操作 + 兑卡 + 流程条 ｜ 储值卡演示舞台 + 咬口票据）
 * ============================================================ */
html[data-theme="dark"] body.v34 {
  --sc-gold: #F4C797;
  --hero-grid: rgba(244, 199, 151, .06);
  --hero-sheen: rgba(226, 139, 78, .24);
  --hero-corner: rgba(244, 199, 151, .46);
  --tk-bg: linear-gradient(170deg, rgba(30, 38, 55, .96) 0%, rgba(20, 26, 39, .98) 100%);
  --tk-border: rgba(244, 199, 151, .22);
  --tk-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 30px -18px rgba(0, 0, 0, .7);
  --tk-cell: rgba(10, 14, 22, .5);
  --tk-line: rgba(255, 255, 255, .07);
  --tk-dash: rgba(244, 199, 151, .34);
  --tk-notch: #131926;
  --tk-gold: #F4C797;
  --tk-price: #F7CFA4;
  --stage-ring: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 14px 30px -20px rgba(0, 0, 0, .8);
}
html[data-theme="light"] body.v34 {
  --sc-gold: #C98A4B;
  --hero-grid: rgba(168, 120, 72, .085);
  --hero-sheen: rgba(246, 196, 140, .34);
  --hero-corner: rgba(176, 112, 60, .44);
  --tk-bg: linear-gradient(170deg, #FFFDF8 0%, #FBF5EA 100%);
  --tk-border: rgba(176, 128, 80, .30);
  --tk-shadow: inset 0 1px 0 #FFFFFF, 0 10px 24px -16px rgba(96, 62, 30, .22);
  --tk-cell: rgba(255, 255, 255, .72);
  --tk-line: rgba(176, 128, 80, .20);
  --tk-dash: rgba(168, 112, 62, .42);
  --tk-notch: #FDFBF7;
  --tk-gold: #A0612C;
  --tk-price: #9A4817;
  --stage-ring: inset 0 0 0 1px rgba(120, 80, 40, .28), 0 14px 30px -20px rgba(96, 62, 30, .45);
}
@keyframes v60-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); }
  50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}
@keyframes v60-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(244, 199, 151, .16); }
  50% { box-shadow: 0 0 0 5px rgba(244, 199, 151, .05); }
}

/* ---------- 1. 首屏 ---------- */
body.v34 .ed-hero { isolation: isolate; padding: 22px 0 4px; }
body.v34 .ed-hero > .ed-hero-pill,
body.v34 .ed-hero > .ed-hero-title,
body.v34 .ed-hero > .ed-hero-sub,
body.v34 .ed-hero > .ed-seg-wrap { position: relative; z-index: 1; }
body.v34 .ed-hero-optics {
  position: absolute;
  left: 50%;
  top: -24px;
  bottom: -8px;
  width: min(920px, 100%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
body.v34 .ed-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 58% 74% at 50% 44%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 58% 74% at 50% 44%, #000 0%, transparent 76%);
}
body.v34 .ed-hero-sheen {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 4%;
  height: 86%;
  background: radial-gradient(ellipse at 50% 42%, var(--hero-sheen) 0%, transparent 68%);
  animation: v60-breathe 9s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes v60-breathe {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
body.v34 .ed-hero-frame {
  position: absolute;
  left: 50%;
  top: 76px;
  width: min(590px, 94%);
  height: 60px;
  transform: translateX(-50%);
}
body.v34 .ed-hero-frame .vf-corner {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 0 solid var(--hero-corner);
}
body.v34 .ed-hero-frame .vf-corner:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; border-top-left-radius: 0px; }
body.v34 .ed-hero-frame .vf-corner:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; border-top-right-radius: 0px; }
body.v34 .ed-hero-frame .vf-corner:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; border-bottom-left-radius: 0px; }
body.v34 .ed-hero-frame .vf-corner:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; border-bottom-right-radius: 0px; }
body.v34 .ed-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  margin-bottom: 14px;
  padding: 0 13px 0 11px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ed-accent-ink);
  background: var(--ed-accent-soft);
  border: 1px solid var(--ed-accent-border);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  white-space: nowrap;
}
body.v34 .ehp-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: v60-green 2.2s ease-in-out infinite; }
body.v34 .ed-hero-title {
  font-size: clamp(25px, 3.1vw, 33px);
  background: linear-gradient(180deg, #1C1917 35%, #7A3E14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] body.v34 .ed-hero-title { background-image: linear-gradient(180deg, #FFFFFF 30%, #F4D3B0 100%); }
body.v34 .ed-hero-sub { margin-top: 10px; color: var(--text-2); opacity: .86; }

/* ---------- 2. AI 助手：微缩视窗 + 贴底价格栏 ---------- */
body.v34 .ed-ai-grid { align-items: stretch; }
body.v34 .ed-ai-card { display: flex; flex-direction: column; }
body.v34 .ed-ai-card > .ai-shot { order: 0; }
body.v34 .ed-ai-card > .mc-top { order: 1; }
body.v34 .ed-ai-card > .labels { order: 2; }
body.v34 .ed-ai-card > .ed-ai-desc { order: 3; flex: 0 0 auto; margin: 0; }
body.v34 .ed-ai-card > .price {
  order: 4;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--ed-card-border);
}
body.v34 .ed-ai-card > .mc-cta { order: 5; margin-top: 0; padding-top: 2px; border-top: 0; }
body.v34 .ed-ai-card .ed-ai-cta-dual { display: flex; flex-direction: row; gap: 10px; }
body.v34 .ed-ai-card .ed-ai-cta-dual .ed-ai-cta { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; }
body.v34 .ed-ai-card .ed-ai-cta-dual .ed-ai-cta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.v34 .ai-shot {
  position: relative;
  flex: none;
  height: 156px;
  margin: -6px -6px 4px;
  border-radius: 0px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #1B2337 0%, #0D1119 58%, #080A10 100%);
  box-shadow: var(--stage-ring);
  color: #F6EFE6;
}
body.v34 .ai-shot-split {
  --split: 50%;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
body.v34 .ai-shot-split:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body.v34 .ai-shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  pointer-events: none;
}
body.v34 .ai-shot-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  transition: clip-path 180ms cubic-bezier(.22, 1, .36, 1);
  will-change: clip-path;
}
body.v34 .ai-shot-vig {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(to bottom, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 26%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .26) 100%);
}
body.v34 .ai-shot-divider {
  position: absolute;
  inset: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  pointer-events: none;
  transform: translate3d(var(--split, 50%), 0, 0);
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
body.v34 .ai-shot-split.is-interacting .ai-shot-before,
body.v34 .ai-shot-split.is-interacting .ai-shot-divider {
  transition: none;
}
body.v34 .ai-shot-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 226, 186, 0) 0%, rgba(255, 226, 186, .92) 16%, #F4C797 50%, rgba(255, 226, 186, .92) 84%, rgba(255, 226, 186, 0) 100%);
  box-shadow: 0 0 10px rgba(244, 199, 151, .7), 0 0 22px rgba(229, 141, 78, .35);
}
body.v34 .ai-shot-divider i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFF4E6;
  background: rgba(18, 20, 28, .48);
  border: 1px solid rgba(255, 232, 204, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .34), 0 0 0 3px rgba(244, 199, 151, .12);
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1), border-color 180ms cubic-bezier(.22, 1, .36, 1);
}
body.v34 .ai-shot-split.is-interacting .ai-shot-divider i,
body.v34 .ai-shot-split:focus-visible .ai-shot-divider i {
  transform: scale(1.08);
  border-color: #FFF4E6;
}
body.v34 .ai-tag {
  position: absolute;
  top: 8px;
  z-index: 4;
  padding: 3px 9px;
  border-radius: 0px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.35;
  color: #FFFFFF;
  background: rgba(14, 16, 22, .52);
  border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
body.v34 .ai-tag-l { left: 8px; }
body.v34 .ai-tag-r {
  right: 8px;
  color: #FFE6C4;
  border-color: rgba(244, 199, 151, .58);
  background: linear-gradient(135deg, rgba(74, 46, 20, .66) 0%, rgba(22, 17, 12, .58) 100%);
  box-shadow: 0 0 14px rgba(244, 199, 151, .24);
}
body.v34 .ai-shot-cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 16px);
  padding: 3px 9px 3px 4px;
  border-radius: 0px;
  font-size: 10.5px;
  line-height: 1.3;
  color: #F6EFE6;
  background: rgba(14, 16, 22, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  white-space: nowrap;
}
body.v34 .ai-shot-cap b {
  padding: 1px 7px;
  border-radius: 0px;
  font-weight: 700;
  color: #FFE9CC;
  background: rgba(244, 199, 151, .22);
  border: 1px solid rgba(244, 199, 151, .35);
}
body.v34 .ai-shot-cap em { font-style: normal; font-family: var(--mono); font-size: 10px; color: #FFE0B8; overflow: hidden; text-overflow: ellipsis; }

/* 卡 2：EXIF 光学 HUD */
body.v34 .ai-shot-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 226, 186, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 226, 186, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
}
body.v34 .ai-focus {
  position: absolute;
  left: 27%;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
body.v34 .ed-ai-card:hover .ai-focus { transform: scale(.86); }
body.v34 .ai-focus i { position: absolute; width: 10px; height: 10px; border: 0 solid #FFE0B8; filter: drop-shadow(0 0 4px rgba(244, 199, 151, .7)); }
body.v34 .ai-focus i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
body.v34 .ai-focus i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
body.v34 .ai-focus i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
body.v34 .ai-focus i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
body.v34 .ai-exif-hud {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: min(190px, 62%);
  padding: 7px 9px 6px;
  border-radius: 0px;
  color: #F8F2EA;
  background: rgba(12, 15, 22, .72);
  border: 1px solid rgba(244, 199, 151, .46);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .42);
  font-size: 10px;
  line-height: 1.35;
}
body.v34 .aeh-head { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; font-weight: 700; color: #FFE0B8; }
body.v34 .aeh-head span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.v34 .aeh-ok { flex: none; width: 6px; height: 6px; border-radius: 0px; background: #34D399; animation: v60-green 2s ease-in-out infinite; }
body.v34 .aeh-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 3px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
  font-family: var(--mono);
  font-size: 9.6px;
  white-space: nowrap;
}
body.v34 .aeh-row + .aeh-row { margin-top: 3px; }
body.v34 .aeh-gps { color: #FFE0B8; }
body.v34 .aeh-gps span { overflow: hidden; text-overflow: ellipsis; }

/* 卡 3：三城地址通行卡 */
body.v34 .ai-shot-addr { background: radial-gradient(110% 100% at 20% 0%, #1E2A3F 0%, #0E1320 55%, #080A10 100%); }
body.v34 .ai-shot-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(34% 40% at 82% 18%, rgba(16, 185, 129, .20), transparent 70%),
    radial-gradient(40% 46% at 16% 92%, rgba(229, 141, 78, .22), transparent 70%),
    radial-gradient(rgba(255, 226, 186, .16) 1px, transparent 1.3px) center / 16px 16px;
}
body.v34 .ai-addr-stack {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
body.v34 .ai-addr {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 33px;
  padding: 0 8px 0 9px;
  border-radius: 0px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 14px -10px rgba(0, 0, 0, .7);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, background-color .3s ease;
}
body.v34 .ai-addr-1 { margin-right: 18px; }
body.v34 .ai-addr-2 { margin-left: 9px; margin-right: 9px; border-color: rgba(244, 199, 151, .42); background: rgba(244, 199, 151, .10); }
body.v34 .ai-addr-3 { margin-left: 18px; }
body.v34 .ed-ai-card:hover .ai-addr-1 { transform: translateX(6px); }
body.v34 .ed-ai-card:hover .ai-addr-3 { transform: translateX(-6px); }
body.v34 .aa-flag { flex: none; width: 19px; height: 13px; border-radius: 0px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
body.v34 .aa-flag svg { display: block; width: 100%; height: 100%; }
body.v34 .aa-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
body.v34 .aa-main b { font-size: 11px; font-weight: 700; color: #F8F2EA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .aa-main small { font-family: var(--mono); font-size: 9.4px; color: rgba(246, 239, 230, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .aa-ok {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 0px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #A7F3D0;
  background: rgba(16, 185, 129, .16);
  border: 1px solid rgba(52, 211, 153, .32);
}
body.v34 .aa-ok i { width: 5px; height: 5px; border-radius: 0px; background: #34D399; }

/* ---------- 3. 邮箱：分类胶囊图标 + 品牌徽标 + 库存胶囊 ---------- */
body.v34 .ed-msub { gap: 7px; padding-left: 12px; padding-right: 15px; }
body.v34 .ed-msub .ms-ic { flex: none; width: 15px; height: 15px; }
body.v34 .ed-msub .ms-flag { width: 14px; height: 14px; border-radius: 0px; }
body.v34 .ed-msub .ms-flag.ms-rect { width: 18px; height: 12px; border-radius: 0px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .16); }
body.v34 .ed-msub:not(.on) .ms-flag { opacity: .92; }

body.v34 #mail-grid .v31-mcard .mc-top { position: static; gap: 12px; }
body.v34 #mail-grid .v31-mcard .mc-top::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  border-radius: 0px;
  background: linear-gradient(90deg, transparent, var(--mb-a, var(--ed-accent)), transparent);
  opacity: .75;
  pointer-events: none;
}
body.v34 #mail-grid .v31-mcard .mc-name { flex: 1 1 auto; min-width: 0; }
body.v34 .v31-mcard .logo.mlogo {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 0px;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mb-a, #E08A4E) 0%, var(--mb-b, #B85A24) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 7px 16px -9px var(--mb-b, #B85A24);
  overflow: visible;
}
body.v34 .v31-mcard .logo.mlogo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}
body.v34 .mlogo-g {
  position: relative;
  font-family: "Segoe UI", "SF Pro Display", system-ui, -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
body.v34 .mlogo-d { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 0px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .35); }
body.v34 .v31-mcard .logo.mlogo.is-ms { background: linear-gradient(160deg, #FFFFFF 0%, #EEF2F7 100%); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08), 0 7px 16px -9px rgba(15, 91, 168, .7); }
body.v34 .mlogo.is-ms > svg { width: 19px; height: 19px; display: block; border-radius: 0; box-shadow: none; }
body.v34 .mlogo-flag {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 18px;
  height: 12.5px;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--card, #fff), 0 2px 5px rgba(0, 0, 0, .3);
}
body.v34 .mlogo-flag svg,
body.v34 .mlogo-flag .flag { display: block; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
body.v34 .mc-stock {
  flex: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  margin-left: auto;
  padding: 0 9px;
  border-radius: 0px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.v34 .mc-stock i { flex: none; width: 6px; height: 6px; border-radius: 0px; }
body.v34 .mc-stock.is-in { color: var(--ok-ink); background: var(--ok-soft); border: 1px solid var(--ok-border); }
body.v34 .mc-stock.is-in i { background: var(--ok); animation: v60-green 2.2s ease-in-out infinite; }
body.v34 .mc-stock.is-out { color: var(--muted); background: rgba(128, 128, 128, .08); border: 1px solid var(--line); }
body.v34 .mc-stock.is-out i { background: var(--faint); opacity: .7; }
body.v3 #mail-grid .v3-mcard.out { opacity: .82; }
body.v34 #mail-grid .v31-mcard.out .mlogo { filter: grayscale(.55) saturate(.8); }
body.v34 #mail-grid .v31-mcard.out .price b { opacity: .8; }
body.v34 #mail-grid .v31-mcard:not(.out):hover .mc-top::before { opacity: 1; box-shadow: 0 0 10px var(--mb-a, transparent); }

/* ---------- 4. 充值：黄金对称等高双栏 ---------- */
body.v34 .ed-sec-topup { max-width: var(--ed-max, 1140px); }
body.v34 .ed-topup-grid.tp-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
body.v34 .tp-duo > .ed-topup-main,
body.v34 .tp-duo > .ed-topup-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 22px;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  box-shadow: var(--ed-card-shadow);
  overflow: hidden;
}
body.v34 .tp-duo .ed-bal-strip { margin-bottom: 18px; }
body.v34 .tp-duo .ed-form-body { gap: 18px; }
body.v34 .tp-duo .v31-tiers { gap: 9px; }
body.v34 .tp-duo .v31-tier { height: 54px; }
body.v34 .tp-duo .v31-tier b { font-size: 18px; }
body.v34 .tp-duo .v31-pay { height: 58px; }
body.v34 .tp-duo .v36-terms-note { margin: 0; text-align: center; }

body.v34 .ed-redeem-dock {
  margin: 18px 0 18px;
  padding: 14px 16px 14px;
  border-radius: 0px;
  background: var(--ed-sub-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .ed-redeem-dock .ed-redeem-card { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
body.v34 .ed-redeem-dock .ed-redeem-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
body.v34 .ed-redeem-dock .ed-redeem-head b { display: inline-flex; align-items: center; gap: 7px; }
body.v34 .ed-redeem-dock .rd-ic { color: var(--ed-accent); flex: none; }
body.v34 .ed-redeem-dock .v31-redeem .vin input { height: 42px; }
body.v34 .ed-redeem-dock .v31-redeem .vin button { height: 42px; }

body.v34 .tp-flow {
  list-style: none;
  margin: auto 0 0;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  position: relative;
}
body.v34 .tp-flow::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 23px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tk-dash) 15%, var(--tk-dash) 85%, transparent);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
  mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
}
body.v34 .tp-flow .rf-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
body.v34 .tp-flow .rf-ic {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0px;
  color: var(--ed-accent-ink);
  background: var(--ed-on-bg), var(--ed-sub-bg);
  border: 1px solid var(--ed-accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 18px -12px rgba(212, 118, 59, .55);
}
html[data-theme="light"] body.v34 .tp-flow .rf-ic { background: linear-gradient(180deg, #FFFDF9 0%, #F7EFE4 100%); }
body.v34 .tp-flow .rf-ic b {
  position: absolute;
  right: -5px;
  top: -5px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 0px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  color: #1A1206;
  background: linear-gradient(135deg, #F8D4A8 0%, #E58D4E 100%);
  box-shadow: 0 0 0 2px var(--card);
}
body.v34 .tp-flow .rf-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
body.v34 .tp-flow .rf-txt strong { font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-flow .rf-txt small { font-size: 11px; line-height: 1.35; color: var(--muted); }

/* 右侧面板舞台 */
body.v34 .ed-topup-stage { padding: 16px; }
body.v34 .tp-showcase { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
body.v34 .tp-showcase .sc-stage-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 10px;
  border-radius: 0px;
  border: 1px solid var(--ed-card-border);
  background: var(--ed-sub-bg);
}
body.v34 .tp-showcase .sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
body.v34 .tp-showcase .sc-bar-title { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 2px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
body.v34 .tp-showcase .sc-bar-title > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase .sc-live-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-gold); animation: v60-pulse 2.4s ease-in-out infinite; }
body.v34 .tp-showcase .sc-pills {
  flex: 0 0 auto;
  width: min(320px, 62%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border-radius: 0px;
  background: var(--ed-input-bg);
  border: 1px solid var(--ed-card-border);
}
body.v34 .tp-showcase .sc-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  height: 26px;
  padding: 0 7px;
  border-radius: 0px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
body.v34 .tp-showcase .sc-pill svg { flex: none; }
body.v34 .tp-showcase .sc-pill > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase .sc-pill:hover { color: var(--text); }
body.v34 .tp-showcase .sc-pill:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--sc-gold); }
body.v34 .tp-showcase .sc-pill.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(244, 199, 151, .16) 0%, rgba(229, 141, 78, .06) 100%);
  border-color: rgba(244, 199, 151, .55);
  box-shadow: 0 2px 10px -4px rgba(212, 118, 59, .45);
}
html[data-theme="light"] body.v34 .tp-showcase .sc-pill.is-active { background: linear-gradient(135deg, #FFF6EA 0%, #FBE9D3 100%); border-color: rgba(184, 116, 60, .55); color: #6E3818; }

body.v34 .tp-stage {
  position: relative;
  flex: 1 1 0;
  min-height: 272px;
  border-radius: 0px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #1D2436 0%, #0D1119 58%, #080A10 100%);
  box-shadow: var(--stage-ring);
  color: #F6EFE6;
  perspective: 1000px;
}
body.v34 .tp-aurora {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(34% 32% at 30% 40%, rgba(229, 141, 78, .32), transparent 70%),
    radial-gradient(30% 28% at 76% 62%, rgba(16, 185, 129, .14), transparent 70%),
    radial-gradient(26% 24% at 72% 18%, rgba(244, 199, 151, .16), transparent 70%);
  filter: blur(8px);
  animation: v60-aurora 16s ease-in-out infinite alternate;
}
@keyframes v60-aurora {
  0% { transform: translate3d(-3%, -2%, 0) rotate(0deg); }
  100% { transform: translate3d(3%, 2%, 0) rotate(8deg); }
}
body.v34 .tp-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 226, 186, .16) 1px, transparent 1.3px);
  background-size: 18px 18px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 80%);
}

/* 黑金琥珀储值通行卡 */
body.v34 .tp-card-wrap {
  position: absolute;
  left: 6%;
  top: 50%;
  z-index: 2;
  width: min(270px, 58%);
  transform: translateY(-50%);
  transform-style: preserve-3d;
}
body.v34 .tp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1.586;
  padding: 13px 15px 12px;
  border-radius: 0px;
  overflow: hidden;
  color: #F6E7D2;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(244, 199, 151, .26) 0%, rgba(244, 199, 151, 0) 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
    linear-gradient(135deg, #2C2219 0%, #17110C 46%, #0A0807 100%);
  border: 1px solid rgba(244, 199, 151, .38);
  box-shadow: inset 0 1px 0 rgba(255, 236, 210, .18), inset 0 0 0 1px rgba(0, 0, 0, .4), 0 26px 44px -18px rgba(0, 0, 0, .85), 0 0 34px -10px rgba(229, 141, 78, .35);
  transform: rotateY(17deg) rotateX(7deg) rotateZ(-2.5deg);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}
body.v34 .tp-stage:hover .tp-card { transform: rotateY(8deg) rotateX(3deg) rotateZ(-1deg); }
body.v34 .tp-card-sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 236, 210, 0) 35%, rgba(255, 236, 210, .16) 47%, rgba(255, 236, 210, 0) 58%);
  background-size: 260% 100%;
  animation: v60-sheen 6.5s ease-in-out infinite;
}
@keyframes v60-sheen {
  0%, 18% { background-position: 120% 0; }
  60%, 100% { background-position: -40% 0; }
}
body.v34 .tp-card > *:not(.tp-card-sheen) { position: relative; z-index: 1; }
body.v34 .tpc-top { display: flex; align-items: center; justify-content: space-between; }
body.v34 .tpc-brand { display: inline-flex; align-items: center; gap: 6px; }
body.v34 .tpc-brand b { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: #F4C797; }
body.v34 .tpc-nfc { color: rgba(244, 199, 151, .7); }
body.v34 .tpc-chip {
  position: relative;
  display: block;
  width: 34px;
  height: 25px;
  margin-top: 9px;
  border-radius: 0px;
  background: linear-gradient(135deg, #FBE3BC 0%, #D9A762 45%, #9A6630 100%);
  box-shadow: inset 0 0 0 1px rgba(90, 55, 20, .45), 0 2px 6px rgba(0, 0, 0, .4);
  overflow: hidden;
}
body.v34 .tpc-chip i { position: absolute; background: rgba(90, 55, 20, .45); }
body.v34 .tpc-chip i:nth-child(1) { left: 0; right: 0; top: 8px; height: 1px; }
body.v34 .tpc-chip i:nth-child(2) { left: 0; right: 0; top: 16px; height: 1px; }
body.v34 .tpc-chip i:nth-child(3) { top: 0; bottom: 0; left: 12px; width: 10px; border: 1px solid rgba(90, 55, 20, .45); background: none; border-top: 0; border-bottom: 0; }
body.v34 .tpc-label { margin-top: 8px; font-size: 8.6px; font-weight: 700; letter-spacing: .24em; color: rgba(244, 199, 151, .72); white-space: nowrap; }
body.v34 .tpc-no { margin-top: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #F3E5D2; text-shadow: 0 1px 0 rgba(0, 0, 0, .6); white-space: nowrap; }
body.v34 .tpc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
body.v34 .tpc-bal { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
body.v34 .tpc-bal small { font-size: 9px; color: rgba(246, 231, 210, .6); white-space: nowrap; }
body.v34 .tpc-bal b {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFF1DC 0%, #F4C797 55%, #D99A5A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
body.v34 .tpc-sites { flex: none; padding: 2px 7px; border-radius: 0px; font-size: 8.6px; font-weight: 800; letter-spacing: .14em; color: #F4C797; border: 1px solid rgba(244, 199, 151, .4); }
body.v34 .tp-card-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -22px;
  height: 18px;
  border-radius: 0px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, transparent 70%);
  filter: blur(4px);
  z-index: -1;
}

/* 顶部浮标 */
body.v34 .tp-float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 24px);
  height: 28px;
  padding: 0 11px 0 4px;
  border-radius: 0px;
  font-size: 11px;
  font-weight: 650;
  color: #F6EFE6;
  background: rgba(14, 16, 22, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  white-space: nowrap;
}
body.v34 .tp-float-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 0px;
  overflow: hidden;
  color: #FFE0B8;
  background: rgba(244, 199, 151, .16);
}
body.v34 .tp-float-ic svg,
body.v34 .tp-float-ic img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.v34 .tp-showcase:not([data-tp-mode="pay"]) .tp-float-ic svg { width: 13px; height: 13px; }
body.v34 .tp-float-t { overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase[data-tp-mode="redeem"] .tp-float-t { font-family: var(--mono); letter-spacing: .04em; color: #FFE0B8; }

/* 毛玻璃实时入账通知卡 */
body.v34 .tp-notif {
  position: absolute;
  right: 5%;
  top: 54%;
  z-index: 3;
  width: min(232px, 47%);
  padding: 10px 12px 10px;
  border-radius: 0px;
  color: #F6EFE6;
  background: rgba(18, 22, 32, .66);
  border: 1px solid rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -18px rgba(0, 0, 0, .85);
  transform: translateY(-50%);
}
body.v34 .tpn-head { display: flex; align-items: center; gap: 7px; }
body.v34 .tpn-ic { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 0px; color: #052E1F; background: linear-gradient(135deg, #6EE7B7 0%, #10B981 100%); box-shadow: 0 0 10px rgba(16, 185, 129, .45); }
body.v34 .tpn-title { flex: 1; min-width: 0; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tpn-time { flex: none; font-size: 9.5px; color: rgba(246, 239, 230, .55); }
body.v34 .tpn-amt { display: flex; align-items: baseline; gap: 6px; margin-top: 7px; }
body.v34 .tpn-amt b { font-family: var(--mono); font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #6EE7B7; text-shadow: 0 0 18px rgba(16, 185, 129, .35); white-space: nowrap; }
body.v34 .tpn-amt span { font-size: 10.5px; font-weight: 600; color: rgba(246, 239, 230, .7); white-space: nowrap; }
body.v34 .tpn-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: 10.5px; color: rgba(246, 239, 230, .7); }
body.v34 .tpn-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tpn-row b { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #FFE0B8; }
body.v34 .tpn-sub { margin-top: 3px; font-size: 10px; color: rgba(246, 239, 230, .58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tpn-sites { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-top: 8px; }
body.v34 .tpn-site { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; font-size: 9px; color: rgba(246, 239, 230, .66); }
body.v34 .tpn-site > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tpn-site i { width: 6px; height: 6px; border-radius: 0px; background: #34D399; box-shadow: 0 0 6px rgba(52, 211, 153, .7); }
body.v34 .tp-showcase[data-tp-mode="sync"] .tpn-site { color: #D1FAE5; }
body.v34 .tp-showcase[data-tp-mode="sync"] .tpn-site i { animation: v60-green 1.8s ease-in-out infinite; }
body.v34 .tp-showcase[data-tp-mode="sync"] .tp-card { box-shadow: inset 0 1px 0 rgba(255, 236, 210, .18), inset 0 0 0 1px rgba(0, 0, 0, .4), 0 26px 44px -18px rgba(0, 0, 0, .85), 0 0 40px -6px rgba(16, 185, 129, .35); }
body.v34 .tp-showcase[data-tp-mode="redeem"] .tp-card { transform: rotateY(12deg) rotateX(9deg) rotateZ(-5deg); }

/* 入账动效（金额 / 视角变化时重放） */
body.v34 .tp-stage.is-play .tp-notif { animation: v60-notif-in .7s cubic-bezier(.16, 1, .3, 1) both; }
body.v34 .tp-stage.is-play .tpn-amt b { animation: v60-pop .6s cubic-bezier(.34, 1.56, .64, 1) .18s both; }
body.v34 .tp-stage.is-play .tpn-site i { animation: v60-site .5s ease-out both; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(1) i { animation-delay: .35s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(2) i { animation-delay: .45s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(3) i { animation-delay: .55s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(4) i { animation-delay: .65s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(5) i { animation-delay: .75s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(6) i { animation-delay: .85s; }
body.v34 .tp-stage.is-play .tpn-site:nth-child(7) i { animation-delay: .95s; }
body.v34 .tp-stage.is-play .tpc-bal b { animation: v60-pop .6s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
@keyframes v60-notif-in {
  from { opacity: 0; transform: translate3d(18px, -50%, 0) scale(.96); }
  to { opacity: 1; transform: translate3d(0, -50%, 0) scale(1); }
}
@keyframes v60-pop {
  0% { opacity: .2; transform: translateY(4px) scale(.94); }
  100% { opacity: 1; transform: none; }
}
@keyframes v60-site {
  0% { transform: scale(.2); opacity: .2; }
  60% { transform: scale(1.6); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* 底部 HUD */
body.v34 .tp-hud {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 5px 12px 5px 10px;
  border-radius: 0px;
  color: #F6EFE6;
  background: rgba(14, 16, 22, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
body.v34 .tp-hud .sc-hud-sep { flex: none; width: 1px; height: 11px; background: rgba(255, 255, 255, .3); }
body.v34 .tp-hud-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #34D399; animation: v60-green 2s ease-in-out infinite; }
body.v34 .tp-hud-a, body.v34 .tp-hud-b { flex: none; }
body.v34 .tp-hud-b { color: #FFE0B8; }
body.v34 .tp-hud-c { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* 半圆咬口实时充值规格票据 */
body.v34 .tp-showcase .sc-ticket {
  position: relative;
  flex: none;
  padding: 12px 14px;
  border-radius: 0px;
  background: var(--tk-bg);
  border: 1px solid var(--tk-border);
  box-shadow: var(--tk-shadow);
  overflow: hidden;
}
body.v34 .tp-showcase .sc-ticket::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sc-gold), transparent);
  opacity: .75;
}
body.v34 .tp-showcase .tk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
body.v34 .tp-showcase .tk-kicker { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tk-gold); white-space: nowrap; }
body.v34 .tp-showcase .tk-kicker > span:first-child { overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase .tk-live { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 0px; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: none; color: var(--ok-ink); background: var(--ok-soft); }
body.v34 .tp-showcase .tk-live i,
body.v34 .tp-showcase .tk-state i { flex: none; width: 6px; height: 6px; border-radius: 0px; background: var(--ok); animation: v60-green 2s ease-in-out infinite; }
body.v34 .tp-showcase .tk-no { flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); }
body.v34 .tp-showcase .tk-dest { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 8px 10px; border-radius: 0px; background: var(--tk-cell); border: 1px solid var(--tk-line); }
body.v34 .tp-showcase .tk-chan { flex: none; display: block; width: 30px; height: 30px; border-radius: 0px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
body.v34 .tp-showcase .tk-chan svg,
body.v34 .tp-showcase .tk-chan img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.v34 .tp-showcase .tk-dest-main { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
body.v34 .tp-showcase .tk-dest-main strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase .tk-state { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 22px; padding: 0 9px; border-radius: 0px; font-size: 10.5px; font-weight: 700; white-space: nowrap; color: var(--ok-ink); background: var(--ok-soft); }
body.v34 .tp-showcase .tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
body.v34 .tp-showcase .tk-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 10px; border-radius: 0px; background: var(--tk-cell); border: 1px solid var(--tk-line); }
body.v34 .tp-showcase .tk-cell small,
body.v34 .tp-showcase .tk-dest-main small,
body.v34 .tp-showcase .tk-price small { font-size: 10px; font-weight: 650; letter-spacing: .03em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v34 .tp-showcase .tk-cell strong { display: block; font-size: 12.4px; font-weight: 700; line-height: 1.35; color: var(--text); white-space: normal; overflow-wrap: anywhere; }
body.v34 .tp-showcase .tk-perf {
  position: relative;
  height: 16px;
  margin: 6px -14px;
  padding: 0 16px;
  background: linear-gradient(90deg, var(--tk-dash) 55%, transparent 0) center / 9px 1.5px repeat-x;
  background-origin: content-box;
  background-clip: content-box;
}
body.v34 .tp-showcase .tk-perf::before,
body.v34 .tp-showcase .tk-perf::after { content: ""; position: absolute; top: 0; width: 16px; height: 16px; border-radius: 0px; background: var(--tk-notch); border: 1px solid var(--tk-border); }
body.v34 .tp-showcase .tk-perf::before { left: -9px; }
body.v34 .tp-showcase .tk-perf::after { right: -9px; }
body.v34 .tp-showcase .tk-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
body.v34 .tp-showcase .tk-chips { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
body.v34 .tp-showcase .tk-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 0px; border: 1px solid var(--tk-line); background: var(--tk-cell); color: var(--text-2); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
body.v34 .tp-showcase .tk-chip i { flex: none; width: 5px; height: 5px; border-radius: 0px; background: var(--sc-gold); box-shadow: 0 0 6px rgba(244, 199, 151, .6); }
body.v34 .tp-showcase .tk-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
body.v34 .tp-showcase .tk-price strong { font-family: var(--mono); font-size: 25px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--tk-price); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.v34 .tp-showcase .tk-price strong.is-bump { animation: v60-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }

/* ---------- 5. 响应式 ---------- */
@media (max-width: 1024px) {
  body.v34 .ed-ai-card .ed-ai-cta-dual { flex-direction: row; }
}
@media (max-width: 900px) {
  body.v34 .ed-topup-grid.tp-duo { grid-template-columns: minmax(0, 1fr); }
  body.v34 .tp-flow { margin-top: 4px; }
}
@media (max-width: 760px) {
  body.v34 .tp-duo > .ed-topup-main { padding: 18px 16px; }
  body.v34 .tp-duo > .ed-topup-stage { padding: 12px; }
  body.v34 .ed-hero-frame { top: 70px; height: 56px; }
  body.v34 .tp-duo .v31-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.v34 .tp-duo .v31-tier { height: 50px; }
}
@media (max-width: 560px) {
  body.v34 .ed-hero { padding-top: 14px; }
  body.v34 .ed-hero-pill { margin-bottom: 10px; font-size: 11.5px; }
  body.v34 .ed-hero-title { font-size: clamp(19.5px, 5.4vw, 23.5px); letter-spacing: -0.015em; }
  body.v34 .ed-hero-sub { font-size: 12px; letter-spacing: -0.01em; }
  body.v34 .ed-hero-frame { top: 54px; width: 96%; height: 50px; }
  body.v34 .tp-showcase .sc-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  body.v34 .tp-showcase .sc-pills { width: 100%; }
  body.v34 .tp-stage { min-height: 404px; }
  body.v34 .tp-card-wrap { left: 50%; top: 52px; width: min(250px, 76%); transform: translateX(-50%); }
  body.v34 .tp-notif { left: 50%; right: auto; top: auto; bottom: 44px; width: min(280px, 86%); transform: translateX(-50%); }
  body.v34 .tp-float { top: 10px; right: 10px; left: auto; }
  @keyframes v60-notif-in-m { from { opacity: 0; transform: translate3d(-50%, 14px, 0); } to { opacity: 1; transform: translate3d(-50%, 0, 0); } }
  body.v34 .tp-stage.is-play .tp-notif { animation-name: v60-notif-in-m; }
  body.v34 .tp-hud-c, body.v34 .tp-hud-b + .sc-hud-sep { display: none; }
  body.v34 .tp-showcase .tk-cell strong { white-space: normal; line-height: 1.35; }
  body.v34 .tp-showcase .tk-foot { flex-direction: column; align-items: stretch; }
  body.v34 .tp-showcase .tk-price { flex-direction: row; align-items: center; justify-content: space-between; }
  body.v34 .tp-flow .rf-txt small { display: none; }
  body.v34 .tp-flow .rf-txt strong { white-space: normal; font-size: 12px; line-height: 1.3; }
  body.v34 .ed-redeem-dock { padding: 12px; }
  body.v34 .mc-stock { padding: 0 7px; font-size: 10.5px; }
}
/* v34 动效保留 */

/* =====================================================================
   v-clean2 · 去卡通 / 去冗余修饰覆盖层（2026-11-05）
   只做减法：去彩虹点、去盒中盒、去取景框/网格/呼吸光斑、去霓虹外发光
   ===================================================================== */
/* 2 · 顶栏导航：去五色糖果点 + 去外层盒子 */
.eco-dot { display: none !important; }
html body .tb-eco { background: transparent !important; border-color: transparent !important; box-shadow: none !important; padding: 0 !important; gap: 4px; }
html body .tb-eco-link { border-radius: 0px !important; box-shadow: none !important; }
html body .tb-eco-link:hover { background: color-mix(in srgb, currentColor 6%, transparent) !important; }
html body .tb-eco-link.is-current { background: color-mix(in srgb, currentColor 6%, transparent) !important; border: 1px solid color-mix(in srgb, currentColor 28%, transparent) !important; box-shadow: none !important; font-weight: 650; }
html body .brand-sms-pill, html body .brand-mail-pill, html body .brand-ai-pill { background: transparent !important; box-shadow: none !important; border: 1px solid color-mix(in srgb, currentColor 32%, transparent) !important; border-radius: 0px !important; }

/* 3 · Hero：去假取景框四角、去网格与呼吸光斑、eyebrow 去盒 */
.ed-hero-grid, .hero-grid, .ed-hero-sheen, .hero-sheen, .ed-hero-glow { display: none !important; animation: none !important; }
.ed-hero-frame .vf-corner, .ed-hero-frame i, .hero-frame i { display: none !important; }
html body .ed-hero-pill, html body .lead-pill, html body .hero-pill, html body .hero-badge { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html body .ehp-dot, html body .lead-dot { width: 5px !important; height: 5px !important; box-shadow: none !important; animation: none !important; }

/* 4 · 三步流程：图标框拍平，角标改扁平等宽小标签 */
html body .rf-ic { width: 32px !important; height: 32px !important; border-radius: 0px !important; background: transparent !important; border: 1px solid var(--line-strong, var(--ed-card-border, var(--line, rgba(127, 127, 127, .3)))) !important; box-shadow: none !important; }
html body .rf-ic svg { width: 15px; height: 15px; }
html body .rf-ic b { top: -7px !important; right: -9px !important; width: auto !important; min-width: 15px; height: 14px !important; padding: 0 3px; border-radius: 0px !important; font-size: 9px !important; line-height: 12px; color: var(--muted, var(--text-2)) !important; background: var(--card, var(--panel-bg, #fff)) !important; border: 1px solid var(--line-strong, var(--ed-card-border, var(--line, rgba(127, 127, 127, .3)))) !important; box-shadow: none !important; }

/* 4 · 演示舱浮层 / 选择胶囊：克制 2px 技术标签 */
html body .sc-float, html body .sc-float small em { border-radius: 0px !important; }
html body .sc-pill { border-radius: 0px !important; }
html body .sc-pill.is-active { box-shadow: none !important; }

/* ---- store 专属 ---- */
/* 5 · CTA / 分段控件：去渐变果冻、去橙色霓虹 */
:root { --mw-cta: 0 1px 2px rgba(0, 0, 0, .16); --mw-cta-hover: 0 1px 3px rgba(0, 0, 0, .2); }
html[data-theme] body.v34 { --ed-cta-shadow: 0 1px 2px rgba(0, 0, 0, .16); --ed-cta-hover-shadow: 0 1px 3px rgba(0, 0, 0, .2); --ed-confirm-shadow: 0 1px 2px rgba(0, 0, 0, .16); --ed-on-shadow: none; --ed-seg-thumb-shadow: none; --ed-seg-thumb-ink: var(--ed-accent-ink); }
html[data-theme="dark"] body.v34 { --ed-cta-bg: #C96A2D; --ed-confirm-bg: #1A6A50; --ed-seg-thumb-bg: rgba(255, 255, 255, .07); --grad: linear-gradient(#C96A2D, #C96A2D); }
html[data-theme="light"] body.v34 { --ed-cta-bg: #BF5F27; --ed-confirm-bg: #17654B; --ed-seg-thumb-bg: #FFFFFF; --grad: linear-gradient(#BF5F27, #BF5F27); }
body.v31 .v31-go::after, body.v31 .v31-buy::after, html[data-theme] body.v31 .btn.primary::after { display: none !important; }
html[data-theme] body.v31 .btn.primary:hover:not(:disabled):not(:active), body.v31 .v31-go:hover:not(:active), body.v31 .v31-buy:not(.warn):not([disabled]):hover:not(:active) { transform: none; }
html[data-theme] body.v34 .btn.primary, body.v34 .v33-sup-btn.pri, body.v34 .sup-btn.pri { border: 1px solid rgba(0, 0, 0, .14) !important; }
body.v34 .ed-seg { box-shadow: none; }
body.v34 .ed-seg-thumb { border-radius: 0px; border: 1px solid color-mix(in srgb, var(--ed-accent) 45%, transparent); box-sizing: border-box; }
body.v34 .ed-seg .v31-cat { border-radius: 0px; }
body.v34 .ed-seg .v31-cat .n { border-radius: 0px; }
body.v34 .ed-seg .v31-cat.on .n { background: var(--ed-accent-soft); color: var(--ed-accent-ink); }
body.v34 .ed-seg .v31-cat .ed-ico, body.v34 .ed-seg .v31-cat.on .ed-ico { box-shadow: none; transform: none; border-radius: 0px; }
body.v31 .v31-tier.on { box-shadow: 0 0 0 1px var(--accent) !important; }
html[data-theme] .pay-chip.active { box-shadow: none; }

/* 4 · 三大卡片：拍平彩虹立体 App 图标 */
body.v34 .v31-mcard .logo.mlogo { width: 28px !important; height: 28px !important; border-radius: 0px !important; background: var(--ed-sub-bg) !important; border: 1px solid var(--ed-card-border) !important; box-shadow: none !important; }
body.v34 .v31-mcard .logo.mlogo::before, body.v34 .v31-mcard .logo.mlogo::after { display: none !important; }
body.v34 .mlogo-g { font-size: 14px; color: var(--text) !important; text-shadow: none !important; }
body.v34 .mlogo-d { display: none !important; }
body.v34 .mlogo.is-ms > svg { width: 15px; height: 15px; }
body.v34 .mlogo-flag { right: -4px; bottom: -3px; width: 14px; height: 10px; box-shadow: 0 0 0 1px var(--card, #fff); }
body.v31 .v31-svc a { grid-template-columns: 28px minmax(0, 1fr) 16px; }
body.v31 .v31-svc .sv-ico, body.v31 .v31-svc .svc-ip .sv-ico, body.v31 .v31-svc .svc-sms .sv-ico, body.v31 .v31-svc .svc-mail .sv-ico { width: 28px; height: 28px; border-radius: 0px; background: var(--ed-sub-bg, var(--card-2)) !important; border: 1px solid var(--ed-card-border, var(--line)) !important; box-shadow: none !important; color: var(--text) !important; }
body.v31 .v31-svc .sv-ico .ic { width: 16px; height: 16px; }

/* 4 · 卡片子标签：去小盒子，改为 · 分隔的次级元信息 */
body.v34 .v31-mcard .labels { gap: 0 !important; overflow-y: visible; }
body.v3 .v31-mcard .lb, body.v34 .v31-mcard .lb, body.v34 .v31-mcard .lb.pick { background: transparent !important; border: 0 !important; padding: 1px 0 !important; line-height: 1.4; box-shadow: none !important; font-size: 12px; font-weight: 500; color: var(--muted); }
body.v34 .v31-mcard .lb.pick { color: var(--ed-accent-ink); font-weight: 600; }
body.v34 .v31-mcard .lb + .lb::before { content: "·"; margin: 0 7px; color: var(--muted); opacity: .7; font-weight: 400; }
body.v34 .v31-mcard .price .stock { border-radius: 0px; }

/* 4 · 三步流程连接线随 32px 图标居中 */
body.v34 .tp-flow::before { top: 16px; }

/* 4 · AI 三卡图标：去彩色立体 squircle 底板，改 28px 单色技术框（Vinted 为品牌位图，仅缩入框内） */
body.v34 .ed-ai-card .ed-ai-logo { width: 28px !important; height: 28px !important; border-radius: 0px !important; background: var(--ed-sub-bg) !important; border: 1px solid var(--ed-card-border) !important; box-shadow: none !important; color: var(--text) !important; display: inline-grid; place-items: center; }
body.v34 .ed-ai-card .ed-ai-logo svg { width: 22px !important; height: 22px !important; border-radius: 0 !important; }
body.v34 .ed-ai-card .ed-ai-logo svg > rect { display: none; }
body.v34 .ed-ai-card .ed-ai-logo svg g, body.v34 .ed-ai-card .ed-ai-logo svg g [stroke] { stroke: currentColor; }
body.v34 .ed-ai-card .ed-ai-logo svg g [fill]:not([fill="none"]) { fill: currentColor; }
body.v34 .ed-ai-card .ed-ai-logo-vinted .ed-ico { width: 18px !important; height: 18px !important; border-radius: 0px !important; box-shadow: none !important; }
/* 5 · AI 卡 CTA：去写死的渐变，跟随扁平品牌色 */
body.v34 .ed-ai-grid .ed-ai-cta.btn-add { background: var(--ed-cta-bg); border-color: rgba(0, 0, 0, .14); }
body.v34 .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted { background: #FBF6EF; box-shadow: none; }
html[data-theme="dark"] body.v34 .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted { background: rgba(226, 139, 78, .1); box-shadow: none; }
body.v34 .ed-ai-cta .ed-ico { border-radius: 0px; }

/* ==== v-sharp3 (2026-11-05)：日间纯白画布 + 暖象牙模块 + 全站纯直角 ==== */
html[data-theme="light"],
html[data-theme="light"] body.v34 {
  --bg: #FFFFFF !important;
  --header-bg: rgba(255, 255, 255, 0.96) !important;
  --card: #FDFBF7 !important;
  --card-2: #F8F5EE !important;
  --card-3: #EFEAE1 !important;
}
html[data-theme="light"] body.v34 {
  --ed-page-bg: none !important;
  --ed-header-bg: rgba(255, 255, 255, 0.96) !important;
  --ed-card-bg: linear-gradient(180deg, #FDFBF7 0%, #FAF6EE 100%) !important;
  --ed-card-border: rgba(168, 138, 108, 0.24) !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}
html[data-theme="light"]:has(body.v34) { background: #FFFFFF !important; }

/* ==== opus1 + v4.2v2 (2026-11-12)：分类切换器 5 段（全部 | AI 助手 | 静态 IP | 邮箱 | 充值），AI 优先四大板块同屏直出 ==== */
body.v34 .ed-seg { width: min(680px, 100%); grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.v34 .ed-seg-thumb { width: calc((100% - 8px) / 5); }
body.v34 .ed-seg[data-active="all"] .ed-seg-thumb { transform: translate3d(0, 0, 0); }
body.v34 .ed-seg[data-active="ai"] .ed-seg-thumb { transform: translate3d(100%, 0, 0); }
body.v34 .ed-seg[data-active="ip"] .ed-seg-thumb { transform: translate3d(200%, 0, 0); }
body.v34 .ed-seg[data-active="mail"] .ed-seg-thumb { transform: translate3d(300%, 0, 0); }
body.v34 .ed-seg[data-active="topup"] .ed-seg-thumb { transform: translate3d(400%, 0, 0); }
@media (max-width: 640px) {
  body.v34 .ed-seg { width: 100%; }
  body.v34 .ed-seg .v31-cat { padding: 0 3px; gap: 3.5px; font-size: 12.5px; }
  body.v34 .ed-seg .v31-cat .ed-ico { width: 15px; height: 15px; }
  html:not([lang^="zh"]) body.v34 .ed-seg .v31-cat { font-size: 11.5px; gap: 3px; }
}
@media (max-width: 440px) {
  body.v34 .ed-seg .v31-cat { padding: 0 2px; gap: 2.5px; font-size: 11.5px; }
  body.v34 .ed-seg .v31-cat .ed-ico { width: 13px; height: 13px; }
  html:not([lang^="zh"]) body.v34 .ed-seg .v31-cat .ed-ico { display: none; }
}
/* 日间：纯白大底，去掉头区放射光斑 */
html[data-theme="light"] body.v34 .ed-hero-glow { display: none !important; }

/* =====================================================================
   v-radii1 (2026-11-07) · 分级圆角体系「外方内圆 · 骨架硬朗 + 触点温润」
   L0 结构骨架 0px  —— 页面容器 / 面板 / 卡片 / 表格 / 分隔线：沿用上文 v-sharp，本层不触碰
   L1 胶囊 999px    —— 品牌胶囊 / 选择胶囊 / 计数角标
   L2 徽章 4px      —— 矩形状态 / 等级 / 库存标签
   L3 控件 6px      —— 独立小按钮 / chip / 语言·主题切换；分段控件同心：外轨 R，内钮 R − padding
   L4 图标 3px      —— 旗帜 / 品牌小图标；拖拽手柄 / 状态点 / 客服球 50%
   本层位于文件末尾：同权重 !important 后写胜出；整块删除即可回滚至 v-sharp 全直角
   ===================================================================== */
:root { --rd-pill: 999px; --rd-badge: 4px; --rd-ctl: 6px; --rd-thumb: 4px; --rd-track: 8px; --rd-icon: 3px; }
/* L3 · 顶栏生态切换：外轨已去盒（padding 0），链接本身即触点 */
html body .tb-eco-link, html body .tb-eco-link.is-current { border-radius: var(--rd-ctl) !important; }
/* L1 · 品牌胶囊 / 演示舱选择胶囊 / Hero eyebrow */
html body .brand-sms-pill, html body .brand-mail-pill, html body .brand-ai-pill,
html body .sc-pill, html body .lead-pill, html body .ed-hero-pill { border-radius: var(--rd-pill) !important; }
/* L1 · 三步流程角标计数（图标框 .rf-ic 本体保持 0px 骨架） */
html body .rf-ic b { border-radius: var(--rd-pill) !important; }
/* 演示舱浮卡 10px（对齐 sms 舞台几何），内嵌计数 em 胶囊 */
html body .sc-float { border-radius: 10px !important; }
html body .sc-float small em { border-radius: var(--rd-pill) !important; }
/* L1/L2 · 通用状态胶囊与矩形徽章 */
html body .status-pill, html body .badge-pill { border-radius: var(--rd-pill) !important; }
html body .tag, html body .badge, html body .fn-tag { border-radius: var(--rd-badge) !important; }
/* L3 · chip / 筛选 chip / 语言·主题·币种切换 / 小图标按钮 */
html body .chip, html body .filter-chip,
html body .lang-btn, html body .theme-btn, html body .cur-btn, html body .currency-btn,
html body .ico-btn, html body .icon-btn { border-radius: var(--rd-ctl) !important; }
/* ---- store 专属 ---- */
/* L3 · 分类分段控件：外轨 8px / padding 4px → 滑块与分段 4px 同心；计数 .n 胶囊 */
html body.v34 .ed-seg { border-radius: var(--rd-track) !important; }
html body.v34 .ed-seg-thumb, html body.v34 .ed-seg .v31-cat { border-radius: var(--rd-thumb) !important; }
html body.v34 .ed-seg .v31-cat .n { border-radius: var(--rd-pill) !important; }
html body.v34 .ed-seg .v31-cat .ed-ico, html body.v34 .ed-ai-cta .ed-ico { border-radius: var(--rd-icon) !important; }
/* L4 · 28px 单色图标框 6px，框内 svg / Vinted 位图 3~4px */
html body.v34 .v31-mcard .logo.mlogo, html body.v34 .ed-ai-card .ed-ai-logo,
html body.v31 .v31-svc .sv-ico { border-radius: var(--rd-ctl) !important; }
html body.v34 .ed-ai-card .ed-ai-logo svg { border-radius: var(--rd-icon) !important; }
html body.v34 .ed-ai-card .ed-ai-logo-vinted .ed-ico { border-radius: var(--rd-badge) !important; }
html body.v34 .mlogo-flag { border-radius: 2px !important; }
/* L2 · 库存徽章；L3 · 支付方式 chip */
html body.v34 .v31-mcard .price .stock { border-radius: var(--rd-badge) !important; }
html body .pay-chip { border-radius: var(--rd-ctl) !important; }
/* 对齐 AI 站：实景对比滑块拖拽手柄正圆 50% */
html body.v34 .ai-shot-divider i { border-radius: 50% !important; }
/* 顶栏右上角操作区按钮统一锁死 6px R 角（对齐 :9102） */
html body.v31 .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle, .v3-wallet-pill, .v3-wp-top, .fa-avatar-btn),
html body.v34 .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle, .v3-wallet-pill, .v3-wp-top, .fa-avatar-btn) { border-radius: var(--rd-ctl) !important; }
/* L3 · 页面内核心操作按钮统一纳入 6px 自然微圆角（大容器/卡片保持 0px 硬朗骨架） */
html body :is(.btn, .btn-primary, .btn-outline, .btn-ghost, .btn-sm, .btn-add, .cashier-btn, .pwd-btn, .epb-copy, .v31-buy, .v31-go, .ed-ai-cta, .copy-btn, .pick-btn, .sup-btn, .v33-sup-btn, .v36-sp-cta, .ipb-cta, .ebs-login-btn, .fa-btn) { border-radius: var(--rd-ctl, 6px) !important; }

/* ---------- 20261109v3 全栈下拉框与折叠控件边界缓冲冗余大一统 ---------- */
select:not([multiple]) {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding-left: 14px !important;
  padding-right: 38px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
}
html[data-theme="dark"] select:not([multiple]),
body.theme-dark select:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a29e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
details > summary,
.v33-faq details summary {
  padding-left: 16px;
  padding-right: 16px;
}
.pick-btn,
.lang-cur-btn {
  padding-left: 12px;
  padding-right: 12px;
}

/* =====================================================================
   v20261112v2 · 静态住宅 IP（#sec-ip）V2 视觉舞台（与 #sec-ai .ai-shot 100% 同源）
   ===================================================================== */
body.v34 .ed-vinted-badge.ed-ip-badge {
  color: #047857;
}
html[data-theme="dark"] body.v34 .ed-vinted-badge.ed-ip-badge {
  color: #6EE7B7;
}
body.v34 .ed-vinted-badge.ed-ip-badge .ed-ico {
  border-radius: var(--rd-icon, 3px);
}
body.v34 #sec-ip .ai-shot-cap {
  left: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  gap: 6px;
  padding: 2.5px 8px 2.5px 3.5px;
  font-size: 10px;
}
body.v34 #sec-ip .ai-shot-cap b {
  padding: 1px 6px;
  flex-shrink: 0;
  font-size: 10px;
}
body.v34 .ai-shot-cap > span {
  font-size: 10px;
  font-weight: 550;
  color: #FFE0B8;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 420px) {
  body.v34 #sec-ip .ai-shot-cap {
    left: 6px;
    max-width: calc(100% - 12px);
    gap: 5px;
    padding: 2px 7px 2px 3px;
    font-size: 9.5px;
  }
  body.v34 #sec-ip .ai-shot-cap b,
  body.v34 #sec-ip .ai-shot-cap > span {
    font-size: 9.5px;
  }
}

/* 卡 1 · 欧洲原生家宽三城实况舞台（复用 .ai-shot-addr / .ai-addr-stack） */
body.v34 .ai-shot-isp .aa-main b {
  font-size: 11.2px;
  font-weight: 650;
  letter-spacing: .005em;
  color: #F8F2EA;
}
body.v34 .aa-ok.aa-ok-cn {
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .01em;
  padding: 2px 7px;
  border-radius: var(--rd-badge, 4px);
}
body.v34 .aa-ok.aa-ok-cn i {
  border-radius: 50%;
}

/* 卡 2 · 7 国独享静态节点玻璃胶囊矩阵舞台（4 + 3 黄金等宽砖列） */
body.v34 .ai-shot-ip7 {
  background: radial-gradient(115% 95% at 76% 0%, #162B2B 0%, #0E1420 56%, #080A10 100%);
}
body.v34 .ip7-matrix {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 17px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
body.v34 .ip7-row-4,
body.v34 .ip7-row-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
body.v34 .ip7-pill {
  flex: 0 1 auto;
  height: 35px;
  padding: 0 6.5px;
  border-radius: var(--rd-badge, 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 14px -10px rgba(0, 0, 0, .7);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, background-color .25s ease;
}
html:not([lang^="zh"]) body.v34 .ip7-row-4,
html:not([lang^="zh"]) body.v34 .ip7-row-3 {
  gap: 4px;
}
html:not([lang^="zh"]) body.v34 .ip7-pill {
  padding: 0 5px;
  gap: 3.5px;
}
html:not([lang^="zh"]) body.v34 .ip7-pill .aa-flag {
  width: 14px;
  height: 10px;
}
html:not([lang^="zh"]) body.v34 .ip7-pill b {
  font-size: 9.8px;
}
html[lang^="de"] body.v34 .ip7-row-4 {
  gap: 3px;
}
html[lang^="de"] body.v34 .ip7-pill {
  padding: 0 3.5px;
  gap: 2.5px;
}
html[lang^="de"] body.v34 .ip7-pill b {
  font-size: 9.1px;
}
body.v34 .ip7-row-4 .ip7-pill:nth-child(2),
body.v34 .ip7-row-3 .ip7-pill:nth-child(2) {
  border-color: rgba(244, 199, 151, .36);
  background: rgba(244, 199, 151, .09);
}
body.v34 .ed-ai-card:hover .ip7-row-4 {
  transform: translateY(-1px);
}
body.v34 .ed-ai-card:hover .ip7-pill {
  border-color: rgba(244, 199, 151, .38);
}
body.v34 .ip7-pill .aa-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
}
body.v34 .ip7-pill b {
  font-size: 11px;
  font-weight: 650;
  color: #F8F2EA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
body.v34 .ip7-dot {
  flex: none;
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #34D399;
  animation: v60-green 2.2s ease-in-out infinite;
}

/* 卡 3 · 环境安全诊断深色玻璃舱（与卡 2 .ai-exif-hud 同源） */
body.v34 .ai-shot-diag {
  background: radial-gradient(115% 95% at 24% 0%, #1B283A 0%, #0E131F 56%, #080A10 100%);
}
body.v34 .ai-exif-hud.ai-diag-hud {
  left: 12px;
  right: 12px;
  top: 11px;
  width: auto;
  padding: 9px 12px 8px;
  border-radius: var(--rd-badge, 4px);
  background: rgba(12, 15, 23, .76);
  border: 1px solid rgba(244, 199, 151, .42);
}
body.v34 .ai-diag-hud .aeh-head {
  gap: 6px;
  margin-bottom: 5px;
  font-size: 11px;
  color: #FFE0B8;
}
body.v34 .ai-diag-hud .aeh-ok {
  border-radius: 50%;
}
body.v34 .ai-diag-hud .aeh-row.ai-diag-row {
  align-items: center;
  padding-top: 5px;
  margin-top: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 550;
  color: #F6F0E8;
}
body.v34 .ai-diag-hud .ai-diag-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.v34 .ai-diag-ok {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  color: #6EE7B7;
  background: rgba(16, 185, 129, .18);
  border: 1px solid rgba(52, 211, 153, .38);
}

/* =====================================================================
   v20261112v4 · 顶栏像素级垂直对齐 + FubiIP 字标底/顶双齐平 + 四图标对称防溢出
   ===================================================================== */
body.v34 .ed-topbar .tb-inner {
  max-width: 1360px;
  gap: 16px;
}
body.v34 .ed-topbar .brand {
  display: inline-flex;
  align-items: center;
  height: 34px;
}
body.v34 .ed-topbar .brand-name {
  display: inline-flex;
  align-items: baseline;
  font-family: Bahnschrift, "DIN Alternate", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  font-style: normal;
  letter-spacing: .004em;
  transform: translateY(0.75px);
}
body.v34 .ed-topbar .brand-name i {
  font-style: normal;
}
body.v34 .ed-topbar .brand-name > span {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
body.v34 .ed-topbar .brand-name .logo-i {
  width: .34em;
  height: .76em;
  margin: 0 .02em;
  transform: translateY(0.5px);
}
body.v34 .ed-topbar .brand-name .logo-I {
  width: .18em;
  height: .69em;
  margin: 0 .045em 0 .03em;
  transform: translateY(1px);
}
body.v34 .ed-topbar .brand-name .logo-sep {
  align-self: center;
  transform: translateY(-0.25px);
}
body.v34 .ed-topbar :is(.tb-eco-link, .v3-tb-btn, .lang-cur-btn, .theme-toggle) > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
body.v34 .ed-topbar .ic {
  display: block;
  flex: none;
}

@media (min-width: 561px) {
  body.v34 .ed-topbar .tb-eco-link,
  body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle, .v3-wallet-pill, .fa-avatar-btn) {
    height: 34px;
    min-height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    font-style: normal;
  }
  body.v34 .ed-topbar .tb-eco-link {
    padding: 0 9px;
  }
  html body.v34 .ed-topbar .tb-eco-link.is-current {
    font-weight: 600;
  }
  body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) {
    padding: 0 10px;
    gap: 5px;
  }
  body.v34 .ed-topbar .topnav .v3-wallet-pill {
    padding: 0 4px 0 10px;
    gap: 6px;
  }
  body.v34 .ed-topbar .topnav .v3-wp-bal {
    display: inline-flex;
    align-items: center;
    font-family: var(--sans-num);
    font-variant-numeric: tabular-nums;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    transform: translateY(0.5px);
  }
  body.v34 .ed-topbar .topnav .v3-wp-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
  }
  body.v34 .ed-topbar .topnav .fa-avatar-btn {
    width: 34px;
    min-width: 34px;
    padding: 0;
  }
  body.v34 .ed-topbar .topnav .fa-av {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans-num);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
  }
}

@media (min-width: 1025px) {
  body.v34 .ed-topbar .tb-left {
    gap: 14px;
  }
  html body.v34 .ed-topbar .tb-eco {
    gap: 2px;
  }
  body.v34 .ed-topbar .topnav {
    gap: 6px;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .tb-left {
    gap: 12px;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .topnav {
    gap: 5px;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .lang-cur-btn #lang-cur-text,
  html:not([lang^="zh"]) body.v34 .ed-topbar .theme-toggle [data-theme-label] {
    display: none;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .theme-toggle {
    padding: 0 9px;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .tb-eco-link {
    padding: 0 7.5px;
    font-size: 12.5px;
  }
  html:not([lang^="zh"]) body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn) {
    padding: 0 8.5px;
    font-size: 12.5px;
  }
}

@media (min-width: 1025px) and (max-width: 1360px) {
  body.v34 .ed-topbar .tb-left { gap: 10px; }
  body.v34 .ed-topbar .tb-eco-link { padding: 0 7.5px; }
  body.v34 .ed-topbar .topnav { gap: 5px; }
  body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) { padding: 0 8.5px; }
  body.v34[data-page="orders"] .ed-topbar .topnav .v3-tb-btn:not(.v33-back) .ic,
  body.v34[data-page="help"] .ed-topbar .topnav .v3-tb-btn:not(.v33-back) .ic { display: none; }
}

@media (min-width: 1025px) and (max-width: 1500px) {
  html:not([lang^="zh"]) body.v34 .ed-topbar .tb-left { gap: 10px; }
  html:not([lang^="zh"]) body.v34 .ed-topbar .tb-eco-link { padding: 0 6.5px; font-size: 12px; }
  html:not([lang^="zh"]) body.v34 .ed-topbar .topnav { gap: 4px; }
  html:not([lang^="zh"]) body.v34 .ed-topbar .topnav .v3-tb-btn { padding: 0 7.5px; font-size: 12px; }
  html:not([lang^="zh"]) body.v34 .ed-topbar .topnav .v3-tb-btn .ic { display: none; }
}

/* ==========================================================================
   V4 Family Unified Palette · Clean Flat Topbar · Four Removals (v20261112v5)
   Preserves 100% original sidebar-free Store architecture & exact wording
   ========================================================================== */
:root,
html:not([data-theme="light"]),
html[data-theme="dark"],
html[data-theme="dark"] body.v34,
html:not([data-theme="light"]) body.v34 {
  --bg: #0D0E10 !important;
  --bg-elev: #131518 !important;
  --card: #131518 !important;
  --card-2: #17191D !important;
  --input-bg: #0A0B0D !important;
  --header-bg: rgba(13, 14, 16, 0.92) !important;
  --text: #EBE7E0 !important;
  --text-sub: #9E9990 !important;
  --muted: #68645D !important;
  --line: rgba(255, 255, 255, 0.07) !important;
  --line-strong: rgba(255, 255, 255, 0.12) !important;
  --accent: #D97736 !important;
  --accent-hover: #E38547 !important;
  --brand: #D97736 !important;
  --brand-hover: #E38547 !important;
  --ok: #10B981 !important;
  --ed-page-bg: #0D0E10 !important;
  --ed-header-bg: rgba(13, 14, 16, 0.92) !important;
  --ed-card-bg: #131518 !important;
  --ed-card-bg-2: #17191D !important;
  --ed-card-border: rgba(255, 255, 255, 0.07) !important;
  --ed-card-border-hover: rgba(255, 255, 255, 0.15) !important;
  --ed-cta-bg: #D97736 !important;
  --ed-cta-hover: #E38547 !important;
  --ed-cta-text: #FFFFFF !important;
  --grad: linear-gradient(180deg, #E38547 0%, #D97736 100%) !important;
  --shadow: none !important;
  --shadow-lg: none !important;
}

html:not([data-theme="light"]),
html:not([data-theme="light"]) body,
html[data-theme="dark"] body.v34,
html:not([data-theme="light"]) body.v34 {
  background: #0D0E10 !important;
  background-color: #0D0E10 !important;
  background-image: none !important;
  color: #EBE7E0 !important;
}

html[data-theme="light"],
html[data-theme="light"] body.v34 {
  --bg: #FFFFFF !important;
  --bg-elev: #FAF7F2 !important;
  --card: #FAF7F2 !important;
  --card-2: #F5F1EA !important;
  --input-bg: #FFFFFF !important;
  --header-bg: rgba(255, 255, 255, 0.94) !important;
  --text: #181715 !important;
  --text-sub: #57534E !important;
  --muted: #8C867D !important;
  --line: rgba(24, 23, 21, 0.08) !important;
  --line-strong: rgba(24, 23, 21, 0.14) !important;
  --accent: #B5541E !important;
  --accent-hover: #9E4717 !important;
  --brand: #B5541E !important;
  --brand-hover: #9E4717 !important;
  --ok: #059669 !important;
  --ed-page-bg: #FFFFFF !important;
  --ed-header-bg: rgba(255, 255, 255, 0.94) !important;
  --ed-card-bg: #FAF7F2 !important;
  --ed-card-bg-2: #F5F1EA !important;
  --ed-card-border: rgba(24, 23, 21, 0.08) !important;
  --ed-card-border-hover: rgba(24, 23, 21, 0.16) !important;
  --ed-cta-bg: #B5541E !important;
  --ed-cta-hover: #9E4717 !important;
  --ed-cta-text: #FFFFFF !important;
  --grad: linear-gradient(180deg, #C25E24 0%, #B5541E 100%) !important;
  --shadow: none !important;
  --shadow-lg: none !important;
}

html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.v34 {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #181715 !important;
}

/* 1. Clean Full-Width 56px Topbar (#0D0E10 dark / #FFFFFF light + 1px bottom hairline + borderless .tb-eco) */
html body .topbar,
html body.v34 .ed-topbar {
  background: var(--ed-header-bg) !important;
  border-bottom: 1px solid var(--ed-card-border) !important;
  box-shadow: none !important;
}
html body .topbar::before,
html body .topbar::after,
html body.v34 .ed-topbar::before,
html body.v34 .ed-topbar::after {
  display: none !important;
}
html body.v34 .ed-topbar .tb-inner,
html body .topbar .tb-inner {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
@media (min-width: 769px) {
  html body.v34 .ed-topbar .tb-inner,
  html body .topbar .tb-inner {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 clamp(24px, 2.8vw, 56px) !important;
  }
  html body.v34 .ed-topbar .tb-eco,
  html[data-theme="light"] body.v34 .ed-topbar .tb-eco {
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid var(--ed-card-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 14px !important;
    margin-left: 10px !important;
    gap: 4px !important;
  }
}
@media (max-width: 768px) {
  html body.v34 .ed-topbar .tb-eco,
  html[data-theme="light"] body.v34 .ed-topbar .tb-eco {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }
}
html body.v34 .ed-topbar .tb-eco .eco-dot {
  display: none !important;
}
html body.v34 .ed-topbar .tb-eco-link {
  height: 31px !important;
  padding: 0 11px !important;
  border-radius: 6px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text-sub) !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
@media (max-width: 560px) {
  html body.v34 .ed-topbar .tb-eco-link {
    padding: 0 6px !important;
    font-size: 12px !important;
  }
}
html body.v34 .ed-topbar .tb-eco-link:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}
html[data-theme="light"] body.v34 .ed-topbar .tb-eco-link:hover {
  background: rgba(24, 23, 21, 0.045) !important;
}
html body.v34 .ed-topbar .tb-eco-link:is(.active, .is-current, [aria-current="page"]) {
  background: rgba(217, 119, 54, 0.13) !important;
  color: #E38547 !important;
  border: 0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 .ed-topbar .tb-eco-link:is(.active, .is-current, [aria-current="page"]) {
  background: rgba(181, 84, 30, 0.09) !important;
  color: #B5541E !important;
  border: 0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Wide-screen 2560x1440 Container Expansion: clamp(1220px, 72vw, 1620px) */
html body.v34 {
  --ed-max: clamp(1220px, 72vw, 1620px) !important;
}
html body.v34 :is(.ed-main, .v31-shell, .v31-footer, .ed-footer),
html body.v33 :is(.v33-wrap, .v31-footer),
html body :is(.fubi-ann, .fa-bar) {
  max-width: clamp(1220px, 72vw, 1620px) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.v34 :is(.v31-shelf, .ed-stage, .ed-hero, .ed-sec-ai, .ed-sec-ip, .ed-sec-mail, .ed-sec-topup, .tp-duo) {
  max-width: none !important;
  width: 100% !important;
}

/* Fix #sec-mail Header Collapse: 100% Left-Aligned Matching #sec-ai & #sec-ip */
html body.v34 #sec-mail .ed-mail-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}
html body.v34 #sec-mail .ed-mail-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}
html body.v34 #sec-mail .ed-mail-title h2 {
  display: block !important;
  margin: 0 0 4px !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  color: var(--text) !important;
}
html body.v34 #sec-mail .ed-mail-subs-wrap {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 18px !important;
}
html body.v34 #sec-mail .ed-mail-subs {
  background: var(--card) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 7px !important;
  padding: 3px !important;
  box-shadow: none !important;
}
html body.v34 #sec-mail .ed-msub {
  border-radius: 5px !important;
  box-shadow: none !important;
}
@media (max-width: 760px) {
  html body.v34 #sec-mail .ed-mail-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  html body.v34 #sec-mail .ed-mail-tools {
    width: 100% !important;
    flex-wrap: wrap !important;
  }
  html body.v34 #sec-mail .ed-search {
    flex: 1 1 200px !important;
    width: auto !important;
  }
}
html body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle),
html[data-theme="light"] body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .v3-tb-btn[data-act="login"], .lang-cur-btn, .theme-toggle),
html[data-theme="dark"] body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .v3-tb-btn[data-act="login"], .lang-cur-btn, .theme-toggle) {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--text-sub) !important;
}
html[data-theme="light"] body.v34 .ed-topbar .topnav .v3-tb-btn[data-act="login"],
html[data-theme="light"] body.v34 #v3-wallet .v3-tb-btn[data-act="login"] {
  background: #FAF7F2 !important;
  background-image: none !important;
  border: 1px solid rgba(24, 23, 21, 0.14) !important;
  color: #181715 !important;
}
html[data-theme="dark"] body.v34 .ed-topbar .topnav .v3-tb-btn[data-act="login"],
html:not([data-theme="light"]) body.v34 .ed-topbar .topnav .v3-tb-btn[data-act="login"],
html[data-theme="dark"] body.v34 #v3-wallet .v3-tb-btn[data-act="login"],
html:not([data-theme="light"]) body.v34 #v3-wallet .v3-tb-btn[data-act="login"] {
  background: #131518 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #EBE7E0 !important;
}
html body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle):hover {
  background: var(--card) !important;
  border-color: var(--line-strong) !important;
  color: var(--text) !important;
}

/* 2. Four Removals (四去): Kill all glowing grids, fake corner brackets, crown neon strips & ticket notches */
.ed-hero-glow,
.hero-glow,
.ed-hero-optics,
.hero-optics,
.ed-hero-grid,
.hero-grid,
.ed-hero-sheen,
.hero-sheen,
.ed-hero-frame,
.vf-corner,
.ed-crown,
.panel-crown,
.ai-shot-grid,
.ai-shot-dots,
.ai-focus,
.tp-aurora,
.tp-dots,
.sc-aurora,
.sc-dots,
.sc-rings,
.sc-beam,
.sc-scan,
.sc-ticket::before,
.sc-ticket::after,
.tk-perf::before,
.tk-perf::after,
.v31-mcard::before,
.v31-mcard::after,
#mail-grid .v31-mcard .mc-top::before,
.v36-sup::before,
.v36-mask .modal::before {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Crisp solid editorial Hero Title & clean pill tabs */
html body.v34 .ed-hero {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.v34 .ed-hero-title {
  color: var(--text) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html body.v34 #v31-cats.v31-cats {
  background: var(--card) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 4px !important;
}
html body.v34 .v31-cat {
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 .v31-cat.active {
  background: var(--card-2) !important;
  color: var(--text) !important;
  border-color: var(--line-strong) !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 .v31-cat.active {
  background: #FFFFFF !important;
  color: #181715 !important;
  border-color: rgba(24, 23, 21, 0.12) !important;
}
html body.v34 .v31-cat .cat-ic,
html body.v34 .v31-portal-pill .pp-ic {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: currentColor !important;
}
html body.v34 .v31-sec-badge,
html body.v34 .ed-ai-card .ed-ai-logo {
  background: var(--card-2) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--accent) !important;
}
html body.v34 .v31-portal-pill {
  background: var(--card) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--text) !important;
}
html body.v34 .v31-portal-pill:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* 3. De-nested Sections & Clean 6px Cards (#131518 dark / #FAF7F2 light + 1px hairline) */
html body.v34 .v31-sec {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body.v34 .ed-stage > .v31-sec:not(.hidden) ~ .v31-sec:not(.hidden) {
  border-top: 1px solid var(--ed-card-border) !important;
  padding-top: 28px !important;
  margin-top: 28px !important;
}
html body.v34 .v31-mcard,
html body.v34 .ed-ai-card,
html body.v34 #ip-grid .v31-mcard,
html body.v34 #mail-grid .v31-mcard {
  background: var(--ed-card-bg) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  html body.v34 .v31-mcard:not(.out):hover,
  html body.v34 .ed-ai-card:hover {
    border-color: var(--ed-card-border-hover) !important;
    box-shadow: none !important;
    transform: translateY(-2px);
  }
}

/* Calm preview stages inside AI, IP & Topup cards (matte dark in dark mode; warm sand studio stage #F2EDE4 in light mode) */
html body.v34 .ai-shot,
html body.v34 .ai-shot-ip7,
html body.v34 .ai-shot-diag,
html body.v34 .ai-shot-addr,
html body.v34 .tp-stage {
  background: #0A0B0D !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 .ai-shot {
  background: #EFE9DF !important;
  background-image: none !important;
  border: 1px solid rgba(24, 23, 21, 0.09) !important;
}
html[data-theme="light"] body.v34 .ai-shot-ip7,
html[data-theme="light"] body.v34 .ai-shot-diag,
html[data-theme="light"] body.v34 .ai-shot-addr,
html[data-theme="light"] body.v34 .tp-stage {
  background: linear-gradient(180deg, #F4EFE7 0%, #ECE5DA 100%) !important;
  border: 1px solid rgba(24, 23, 21, 0.09) !important;
}
html[data-theme="light"] body.v34 :is(.ai-shot-ip7, .ai-shot-diag, .ai-shot-addr) :is(.ai-shot-dots, .ai-shot-grid),
html[data-theme="light"] body.v34 .tp-stage :is(.tp-aurora, .tp-dots) {
  opacity: 0.18 !important;
}
html[data-theme="light"] body.v34 .ai-shot-addr .ai-addr {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(24, 23, 21, 0.09) !important;
  box-shadow: 0 4px 12px -6px rgba(24, 23, 21, 0.12) !important;
}
html[data-theme="light"] body.v34 .ai-shot-addr .ai-addr-2 {
  background: #FFFFFF !important;
  border-color: rgba(181, 84, 30, 0.34) !important;
}
html[data-theme="light"] body.v34 .ai-shot-addr .aa-main b {
  color: #181715 !important;
}
html[data-theme="light"] body.v34 .ai-shot-addr .aa-main small {
  color: #6B655D !important;
}
html[data-theme="light"] body.v34 .ai-shot-addr .aa-ok {
  background: rgba(14, 138, 95, 0.10) !important;
  border-color: rgba(14, 138, 95, 0.28) !important;
  color: #0C7A53 !important;
}
html[data-theme="light"] body.v34 .ai-shot-ip7 .ip7-pill {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(24, 23, 21, 0.09) !important;
  box-shadow: 0 4px 12px -6px rgba(24, 23, 21, 0.12) !important;
}
html[data-theme="light"] body.v34 .ai-shot-ip7 :is(.ip7-row-4 .ip7-pill:nth-child(2), .ip7-row-3 .ip7-pill:nth-child(2)) {
  background: #FFFFFF !important;
  border-color: rgba(181, 84, 30, 0.34) !important;
}
html[data-theme="light"] body.v34 .ai-shot-ip7 .ip7-pill b {
  color: #181715 !important;
}
html[data-theme="light"] body.v34 .ai-shot-diag .ai-exif-hud.ai-diag-hud {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(24, 23, 21, 0.10) !important;
  box-shadow: 0 8px 20px -10px rgba(24, 23, 21, 0.14) !important;
}
html[data-theme="light"] body.v34 .ai-shot-diag .ai-diag-hud .aeh-head {
  color: #B5541E !important;
}
html[data-theme="light"] body.v34 .ai-shot-diag .ai-diag-hud .aeh-row.ai-diag-row {
  color: #181715 !important;
  border-top-color: rgba(24, 23, 21, 0.08) !important;
}
html[data-theme="light"] body.v34 .ai-shot-diag .ai-diag-ok {
  background: rgba(14, 138, 95, 0.12) !important;
  border-color: rgba(14, 138, 95, 0.28) !important;
  color: #0C7A53 !important;
}
html[data-theme="light"] body.v34 :is(.ai-shot-addr, .ai-shot-ip7, .ai-shot-diag) .ai-shot-cap {
  background: rgba(24, 23, 21, 0.84) !important;
  border-color: rgba(24, 23, 21, 0.12) !important;
}
html[data-theme="light"] body.v34 .tp-stage .tp-float {
  background: rgba(24, 23, 21, 0.86) !important;
  border-color: rgba(24, 23, 21, 0.14) !important;
  color: #F6EFE6 !important;
}
html[data-theme="light"] body.v34 .tp-stage .tp-hud {
  background: rgba(24, 23, 21, 0.86) !important;
  border-color: rgba(24, 23, 21, 0.14) !important;
  color: #F6EFE6 !important;
}

/* Tone down bright cyan PNG badges to restrained monochrome/editorial look */
html body.v34 :is(.v31-cat, .ed-vinted-badge, .ed-ai-pill-vinted, .ed-ai-logo-vinted) img.ed-ico {
  filter: grayscale(1) contrast(1.08);
  opacity: 0.88;
  border-radius: 4px !important;
}
html body.v34 .ed-ai-cta-vinted img.ed-ico {
  filter: grayscale(1) brightness(1.25);
  border-radius: 3px !important;
}
html body.v34 .ed-vinted-badge {
  background: var(--card) !important;
  border: 1px solid var(--ed-card-border) !important;
  color: var(--text-sub) !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}
html body.v34 .ed-ai-portal-pill {
  background: var(--card) !important;
  border: 1px solid var(--ed-card-border) !important;
  color: var(--text-sub) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 .ed-ai-portal-pill:hover {
  border-color: var(--line-strong) !important;
  color: var(--text) !important;
}

/* 4. Topup Section De-nesting & Ticket Notch Removal */
html body.v34 .tp-duo > .ed-topup-main,
html body.v34 .tp-duo > .ed-topup-stage {
  background: var(--ed-card-bg) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 .ed-bal-strip {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ed-card-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 14px !important;
}
html body.v34 .ed-redeem-dock,
html body.v34 .ed-redeem-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ed-card-border) !important;
  border-bottom: 1px solid var(--ed-card-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 !important;
}
html body.v34 .tp-showcase .sc-stage-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body.v34 .tp-showcase .sc-ticket {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-head {
  padding: 0 0 10px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-dest {
  padding: 10px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ed-card-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-cell {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 9px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ed-card-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-cell small {
  font-size: 12.5px !important;
  color: var(--muted) !important;
  flex: none !important;
  margin: 0 !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-cell strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  text-align: right !important;
  margin: 0 !important;
}
html body.v34 .tp-showcase .tk-perf {
  display: none !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-foot {
  padding: 12px 0 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--line-strong) !important;
}
html body.v34 .tp-showcase .sc-ticket .tk-chip {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 8px 0 0 !important;
  color: var(--text-sub) !important;
}
html body.v34 .tp-showcase .sc-ticket :is(.tk-live i, .tk-state i, .tk-chip i) {
  border-radius: 50% !important;
}
html body.v34 .tp-showcase .sc-ticket :is(.tk-live, .tk-state) {
  border-radius: 4px !important;
}
/* Warm charcoal payment & tier buttons inside #sec-topup (zero cold blue slate or bottom neon glow) */
html body.v34 #sec-topup .v31-seg {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
html body.v34 #sec-topup :is(.v31-pay, .v31-tier) {
  background: var(--input-bg) !important;
  background-image: none !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 #sec-topup :is(.v31-pay, .v31-tier)::before,
html body.v34 #sec-topup :is(.v31-pay, .v31-tier)::after {
  display: none !important;
  content: none !important;
}
html body.v34 #sec-topup :is(.v31-pay:hover, .v31-tier:hover) {
  border-color: var(--line-strong) !important;
  background: var(--card-2) !important;
}
html body.v34 #sec-topup :is(.v31-pay.on, .v31-pay[aria-checked="true"], .v31-tier.on, .v31-tier.active) {
  background: var(--card-2) !important;
  background-image: none !important;
  border: 1px solid var(--accent) !important;
  box-shadow: none !important;
}
html body.v34 .tp-flow .rf-ic {
  background: var(--input-bg) !important;
  border: 1px solid var(--ed-card-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
@media (max-width: 640px) {
  html body.v34 .ed-topbar .topnav {
    gap: 5px !important;
    flex-wrap: wrap !important;
  }
  html body.v34 .ed-topbar .topnav .v3-tb-btn[href$="/orders.html"],
  html body.v34 .ed-topbar .topnav .v3-tb-btn[href$="/help.html"],
  html body.v34 .ed-topbar .lang-cur-btn #lang-cur-text,
  html body.v34 .ed-topbar .lang-cur-btn .lang-caret,
  html body.v34 .ed-topbar .theme-toggle [data-theme-label],
  html body.v34 .ed-topbar .theme-toggle span + span {
    display: none !important;
  }
  html body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) {
    padding: 0 8px !important;
    font-size: 12px !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
}

/* Clean Primary CTA & Secondary Buttons */
html body.v34 :is(.btn-primary, .v31-buy, .ed-topup-go, .ed-ai-go, .ed-ai-cta) {
  background: var(--accent) !important;
  background-image: none !important;
  border: 1px solid var(--accent) !important;
  color: #FFFFFF !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 :is(.btn-primary, .v31-buy, .ed-topup-go, .ed-ai-go, .ed-ai-cta):hover:not(:disabled) {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}
html body.v34 .ed-ai-cta-dual > :last-child,
html body.v34 .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child,
html[data-theme="light"] body.v34 .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child,
html[data-theme="dark"] body.v34 .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--text) !important;
}
html body.v34 .ed-ai-cta-dual > :last-child:hover,
html body.v34 .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child:hover {
  background: var(--card-2) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
html body.v34 .tp-notif,
html[data-theme="light"] body.v34 .tp-notif {
  background: rgba(23, 25, 29, 0.94) !important;
  color: #EBE7E0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 6px !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.v34 .tp-notif :is(.tpn-title, .tpn-row b) {
  color: #EBE7E0 !important;
}
html[data-theme="light"] body.v34 .tp-notif :is(.tpn-amt span, .tpn-row, .tpn-sub, .tpn-site) {
  color: #9E9990 !important;
}
html[data-theme="light"] body.v34 .tp-notif .tpn-amt b {
  color: #10B981 !important;
  text-shadow: none !important;
}
html body.v34 :is(input, select, textarea) {
  background-color: var(--input-bg) !important;
  border-color: var(--line-strong) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
html body.v34 .v36-mask .modal,
html body.v34 .v36-sup {
  background: var(--ed-card-bg) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36) !important;
}

/* ==========================================================================
   Round-4 Precision Tightening & WCAG >= 4.8:1 High-Contrast Polish (2026-11-13v8)
   1. Container tightened to 1160px (topbar remains 100% full-width)
   2. #sec-topup tightened to 1080px compact dual-cabin footprint
   3. #mail-grid shrunk to 4-column compact ~170px card matrix
   4. Full WCAG >= 4.8:1 contrast across buttons, 5-segment tabs, pills & topbar
   5. Shop-check buttons (.ed-ai-pill-vinted / .ed-ai-cta-vinted) restored to warm cream outline
   ========================================================================== */

/* 0. High-Contrast Semantic Tokens (Light & Dark) */
html[data-theme="light"],
html[data-theme="light"] body.v34 {
  --text: #181715 !important;
  --text-2: #2C2824 !important;
  --text-sub: #423D37 !important;
  --muted: #5C554D !important;
  --line: rgba(24, 23, 21, 0.09) !important;
  --line-2: rgba(24, 23, 21, 0.16) !important;
  --line-strong: rgba(24, 23, 21, 0.20) !important;
  --accent: #9E4414 !important;
  --accent-hover: #85380F !important;
  --brand: #9E4414 !important;
  --brand-hover: #85380F !important;
  --ed-accent: #9E4414 !important;
  --ed-accent-ink: #9A4212 !important;
  --ed-card-border: rgba(24, 23, 21, 0.10) !important;
  --ed-card-border-hover: rgba(24, 23, 21, 0.22) !important;
  --ed-cta-bg: #A64B17 !important;
  --ed-cta-hover: #8F3E11 !important;
  --ed-cta-ink: #FFFFFF !important;
  --ok-ink: #065F46 !important;
  --ok-soft: rgba(5, 150, 105, 0.12) !important;
}
html:not([data-theme="light"]),
html[data-theme="dark"],
html[data-theme="dark"] body.v34,
html:not([data-theme="light"]) body.v34 {
  --text: #F0ECE6 !important;
  --text-2: #D8D2C8 !important;
  --text-sub: #BCB5AA !important;
  --muted: #9A9388 !important;
  --line: rgba(255, 255, 255, 0.08) !important;
  --line-2: rgba(255, 255, 255, 0.14) !important;
  --line-strong: rgba(255, 255, 255, 0.18) !important;
  --accent: #E58847 !important;
  --accent-hover: #F09A5E !important;
  --ed-accent: #E58847 !important;
  --ed-accent-ink: #F2A36B !important;
  --ed-card-border: rgba(255, 255, 255, 0.09) !important;
  --ed-card-border-hover: rgba(255, 255, 255, 0.20) !important;
  --ed-cta-bg: #AD4E1A !important;
  --ed-cta-hover: #C25B22 !important;
  --ed-cta-ink: #FFFFFF !important;
}

/* 1. Tighten Main Content Width Back to 1160px (Topbar .tb-inner stays 100% Full-Width) */
html body.v34 {
  --ed-max: 1160px !important;
}
html body.v34 :is(.ed-main, .v31-shell, .v31-footer, .ed-footer),
html body.v33 :is(.v33-wrap, .v31-footer),
html body :is(.fubi-ann, .fa-bar) {
  max-width: 1160px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.v34 .ed-hero {
  padding: 14px 0 10px !important;
  margin-bottom: 4px !important;
}
html body.v34 .ed-hero-sub {
  margin-bottom: 12px !important;
  color: var(--text-sub) !important;
}
html body.v34 .ed-stage > .v31-sec:not(.hidden) ~ .v31-sec:not(.hidden) {
  margin-top: 36px !important;
  padding-top: 32px !important;
  border-top: 1px solid var(--ed-card-border) !important;
}

/* 2. Topbar Contrast Boost (Light & Dark >= 6.0:1) */
html[data-theme="light"] body.v34 .ed-topbar .tb-eco-link {
  color: #332F2A !important;
  font-weight: 600 !important;
}
html[data-theme="light"] body.v34 .ed-topbar .tb-eco-link:hover {
  color: #141311 !important;
  background: rgba(24, 23, 21, 0.05) !important;
}
html[data-theme="light"] body.v34 .ed-topbar .tb-eco-link:is(.active, .is-current, [aria-current="page"]) {
  background: rgba(181, 84, 30, 0.09) !important;
  color: #9A4212 !important;
  font-weight: 700 !important;
}
html:not([data-theme="light"]) body.v34 .ed-topbar .tb-eco-link {
  color: #D4CFC7 !important;
  font-weight: 500 !important;
}
html:not([data-theme="light"]) body.v34 .ed-topbar .tb-eco-link:is(.active, .is-current, [aria-current="page"]) {
  background: rgba(217, 119, 54, 0.14) !important;
  color: #F09A5E !important;
  font-weight: 600 !important;
}
html[data-theme="light"] body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) {
  background: #FFFFFF !important;
  border: 1px solid rgba(24, 23, 21, 0.18) !important;
  color: #26231F !important;
  font-weight: 600 !important;
}
html[data-theme="light"] body.v34 .ed-topbar .topnav .v3-tb-btn[data-act="login"],
html[data-theme="light"] body.v34 #v3-wallet .v3-tb-btn[data-act="login"] {
  background: #FAF7F2 !important;
  border: 1px solid rgba(24, 23, 21, 0.22) !important;
  color: #181715 !important;
  font-weight: 650 !important;
}
html:not([data-theme="light"]) body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) {
  background: #14161A !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #E5E0D8 !important;
  font-weight: 500 !important;
}
html body.v34 .ed-topbar .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle):hover {
  border-color: var(--accent) !important;
  color: var(--text) !important;
}

/* 3. 5-Segment Category Bar (#v31-cats) & Mail Sub-Tabs (#mail-subs) High-Contrast Fix */
html[data-theme="light"] body.v34 #v31-cats.v31-cats,
html[data-theme="light"] body.v34 #sec-mail .ed-mail-subs {
  background: #F2EDE4 !important;
  border: 1px solid rgba(24, 23, 21, 0.14) !important;
}
html[data-theme="light"] body.v34 .ed-seg .ed-seg-thumb {
  background: #FFFFFF !important;
  border: 1px solid rgba(181, 84, 30, 0.40) !important;
  box-shadow: 0 1px 2px rgba(24, 23, 21, 0.06) !important;
}
html body.v34 .ed-seg .v31-cat {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  border-color: transparent !important;
}
html[data-theme="light"] body.v34 .ed-seg .v31-cat:not(.on) {
  color: #2C2824 !important;
  font-weight: 600 !important;
}
html[data-theme="light"] body.v34 .ed-seg .v31-cat:not(.on) svg.ed-ico {
  color: #4A443D !important;
}
html[data-theme="light"] body.v34 .ed-seg .v31-cat.on {
  color: #9A4212 !important;
  font-weight: 700 !important;
}
html[data-theme="light"] body.v34 .ed-seg .v31-cat.on svg.ed-ico {
  color: #9A4212 !important;
}
html[data-theme="light"] body.v34 #sec-mail .ed-msub:not(.on) {
  color: #2C2824 !important;
  font-weight: 600 !important;
  background: transparent !important;
  border-color: transparent !important;
}
html[data-theme="light"] body.v34 #sec-mail .ed-msub.on {
  background: #FFFFFF !important;
  color: #9A4212 !important;
  border: 1px solid rgba(181, 84, 30, 0.40) !important;
  font-weight: 700 !important;
}
html:not([data-theme="light"]) body.v34 #v31-cats.v31-cats,
html:not([data-theme="light"]) body.v34 #sec-mail .ed-mail-subs {
  background: #14161A !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
}
html:not([data-theme="light"]) body.v34 .ed-seg .ed-seg-thumb {
  background: #22262E !important;
  border: 1px solid rgba(217, 119, 54, 0.46) !important;
}
html:not([data-theme="light"]) body.v34 .ed-seg .v31-cat:not(.on),
html:not([data-theme="light"]) body.v34 #sec-mail .ed-msub:not(.on) {
  color: #D4CFC7 !important;
  font-weight: 600 !important;
  background: transparent !important;
}
html:not([data-theme="light"]) body.v34 .ed-seg .v31-cat.on {
  color: #FAF6F0 !important;
  font-weight: 700 !important;
}
html:not([data-theme="light"]) body.v34 #sec-mail .ed-msub.on {
  background: #22262E !important;
  color: #FAF6F0 !important;
  border: 1px solid rgba(217, 119, 54, 0.46) !important;
  font-weight: 700 !important;
}

/* 4. Primary Solid Terracotta CTAs, Secondary Buttons & Restored Shop-Check Outlined Buttons */
/* Restore crisp original Vinted icon without grayscale washout */
html body.v34 :is(.v31-cat, .ed-vinted-badge, .ed-ai-pill-vinted, .ed-ai-logo-vinted, .ed-ai-cta-vinted) img.ed-ico {
  filter: none !important;
  opacity: 1 !important;
}

/* Primary Solid Terracotta CTAs: guaranteed #FFFFFF text >= 5.1:1 in BOTH Light & Dark modes */
html[data-theme="light"] body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy:not(.ed-ai-cta-vinted):not(.confirm),
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-topup-go,
  .ed-ai-go,
  .ed-ai-grid .ed-ai-cta.btn-add:not(.ed-ai-cta-vinted):first-child,
  .v33-sup-btn.pri,
  .sup-btn.pri,
  .fubi-sup-fab,
  .sup-fab,
  #sup-fab
):not(:disabled) {
  background: #A64B17 !important;
  background-image: none !important;
  border: 1px solid #964112 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy:not(.ed-ai-cta-vinted):not(.confirm),
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-topup-go,
  .ed-ai-go,
  .ed-ai-grid .ed-ai-cta.btn-add:not(.ed-ai-cta-vinted):first-child,
  .v33-sup-btn.pri,
  .sup-btn.pri,
  .fubi-sup-fab,
  .sup-fab,
  #sup-fab
):not(:disabled):hover {
  background: #8F3E11 !important;
  border-color: #7D350D !important;
  color: #FFFFFF !important;
}
html:not([data-theme="light"]) body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy:not(.ed-ai-cta-vinted):not(.confirm),
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-topup-go,
  .ed-ai-go,
  .ed-ai-grid .ed-ai-cta.btn-add:not(.ed-ai-cta-vinted):first-child,
  .v33-sup-btn.pri,
  .sup-btn.pri,
  .fubi-sup-fab,
  .sup-fab,
  #sup-fab
):not(:disabled) {
  background: #AD4E1A !important;
  background-image: none !important;
  border: 1px solid #C25B22 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
html:not([data-theme="light"]) body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy:not(.ed-ai-cta-vinted):not(.confirm),
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-topup-go,
  .ed-ai-go,
  .ed-ai-grid .ed-ai-cta.btn-add:not(.ed-ai-cta-vinted):first-child,
  .v33-sup-btn.pri,
  .sup-btn.pri,
  .fubi-sup-fab,
  .sup-fab,
  #sup-fab
):not(:disabled):hover {
  background: #BF5820 !important;
  border-color: #D9682B !important;
  color: #FFFFFF !important;
}
html body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy:not(.ed-ai-cta-vinted):not(.confirm),
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-topup-go,
  .ed-ai-go,
  .fubi-sup-fab,
  .ed-ai-grid .ed-ai-cta.btn-add:not(.ed-ai-cta-vinted):first-child
):not(:disabled) span {
  color: #FFFFFF !important;
}
html[data-theme="light"] body :is(.fa-btn, .fa-btn.fa-x) {
  background: #FFFFFF !important;
  border: 1px solid rgba(24, 23, 21, 0.20) !important;
  color: #332F2A !important;
  opacity: 1 !important;
}
html:not([data-theme="light"]) body :is(.fa-btn, .fa-btn.fa-x) {
  background: #1A1D22 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #EBE7E0 !important;
  opacity: 1 !important;
}
html body.v34 .ed-vinted-badge {
  padding: 3px 10px 3px 6px !important;
  gap: 5px !important;
}
html body.v34 .v31-buy.confirm:not(:disabled) {
  background: #166534 !important;
  border: 1px solid #14532D !important;
  color: #FFFFFF !important;
}

/* Restore Shop-Check Buttons (.ed-ai-pill-vinted & .ed-ai-cta-vinted) to Crisp Warm Cream Outline (> 10:1) */
html[data-theme="light"] body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
) {
  background: #FBF6EF !important;
  background-image: none !important;
  border: 1px solid rgba(181, 84, 30, 0.30) !important;
  color: #181715 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
) span {
  color: #181715 !important;
}
html[data-theme="light"] body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
):hover {
  background: #F4EBDD !important;
  border-color: rgba(181, 84, 30, 0.48) !important;
  color: #181715 !important;
}
html:not([data-theme="light"]) body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
) {
  background: #221C18 !important;
  background-image: none !important;
  border: 1px solid rgba(226, 139, 78, 0.38) !important;
  color: #F5CFA0 !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
html:not([data-theme="light"]) body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
) span {
  color: #F5CFA0 !important;
}
html:not([data-theme="light"]) body.v34 :is(
  .ed-ai-pill-vinted,
  .ed-ai-grid .ed-ai-cta.btn-add.ed-ai-cta-vinted,
  a.ed-ai-cta-vinted
):hover {
  background: #2C231D !important;
  border-color: rgba(226, 139, 78, 0.56) !important;
  color: #FFE3BF !important;
}

/* Section Header Pills & Card Secondary Buttons (#1F1D1A on #FFFFFF in Light Mode) */
html[data-theme="light"] body.v34 :is(
  .ed-ai-portal-pill:not(.ed-ai-pill-vinted),
  .ed-ai-cta-dual > :last-child:not(.ed-ai-cta-vinted),
  .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child:not(.ed-ai-cta-vinted),
  .mc-spec,
  .ebs-login-btn,
  .ed-trust-pill,
  .ed-cur-btn,
  #instock-wrap
) {
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(24, 23, 21, 0.20) !important;
  color: #1F1D1A !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html[data-theme="light"] body.v34 :is(
  .ed-ai-portal-pill:not(.ed-ai-pill-vinted),
  .ed-ai-cta-dual > :last-child:not(.ed-ai-cta-vinted),
  .mc-spec
) span {
  color: #1F1D1A !important;
}
html[data-theme="light"] body.v34 :is(
  .ed-ai-portal-pill:not(.ed-ai-pill-vinted),
  .ed-ai-cta-dual > :last-child:not(.ed-ai-cta-vinted),
  .mc-spec,
  .ebs-login-btn,
  .ed-trust-pill,
  .ed-cur-btn
):hover {
  background: #F5F1EA !important;
  border-color: #9A4212 !important;
  color: #9A4212 !important;
}
html:not([data-theme="light"]) body.v34 :is(
  .ed-ai-portal-pill:not(.ed-ai-pill-vinted),
  .ed-ai-cta-dual > :last-child:not(.ed-ai-cta-vinted),
  .ed-ai-grid .ed-ai-cta-dual > .ed-ai-cta.btn-add:last-child:not(.ed-ai-cta-vinted),
  .mc-spec,
  .ebs-login-btn,
  .ed-trust-pill,
  .ed-cur-btn,
  #instock-wrap
) {
  background: #1A1D22 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #EBE7E0 !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html:not([data-theme="light"]) body.v34 :is(
  .ed-ai-portal-pill:not(.ed-ai-pill-vinted),
  .ed-ai-cta-dual > :last-child:not(.ed-ai-cta-vinted),
  .mc-spec
) span {
  color: #EBE7E0 !important;
}
html[data-theme="light"] body.v34 .ed-cur-btn.on {
  background: #FFF8F1 !important;
  border-color: #9A4212 !important;
  color: #9A4212 !important;
  font-weight: 700 !important;
}
html:not([data-theme="light"]) body.v34 .ed-cur-btn.on {
  background: #241D18 !important;
  border-color: #E58847 !important;
  color: #FAF6F0 !important;
  font-weight: 700 !important;
}
/* Ensure disabled buttons (e.g. sold-out SKUs) remain crisp & >= 6.4:1 contrast */
html[data-theme="light"] body.v34 button:disabled,
html[data-theme="light"] body.v34 .v31-buy:disabled {
  opacity: 1 !important;
  background: #EAE4DA !important;
  border: 1px solid rgba(24, 23, 21, 0.14) !important;
  color: #4A443D !important;
}
html[data-theme="light"] body.v34 .v31-buy:disabled span {
  color: #4A443D !important;
}
html:not([data-theme="light"]) body.v34 button:disabled,
html:not([data-theme="light"]) body.v34 .v31-buy:disabled {
  opacity: 1 !important;
  background: #1E2128 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #A8A29A !important;
}
html:not([data-theme="light"]) body.v34 .v31-buy:disabled span {
  color: #A8A29A !important;
}

/* 5. Tighten Top-Up Section (#sec-topup) to Compact max-width: 1080px */
html body.v34 #sec-topup,
html body.v34 #sec-topup .ed-topup-grid.tp-duo,
html body.v34 #sec-topup .ed-trust-row {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.v34 #sec-topup .ed-topup-grid.tp-duo {
  gap: 14px !important;
  align-items: start !important;
}
html body.v34 #sec-topup .tp-duo > .ed-topup-main {
  padding: 18px 20px !important;
}
html body.v34 #sec-topup .ed-bal-strip {
  padding: 0 0 10px !important;
  margin-bottom: 12px !important;
}
html body.v34 #sec-topup .ed-form-body {
  gap: 12px !important;
}
html body.v34 #sec-topup .v31-row.ed-field,
html body.v34 #sec-topup .v31-row.ed-cta-row {
  gap: 6px !important;
}
html body.v34 #sec-topup .v31-pay,
html body.v34 #sec-topup .v31-seg.is-single .v31-pay {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  gap: 10px !important;
}
html body.v34 #sec-topup .v31-pay .ico,
html body.v34 #sec-topup .v31-pay .ico svg,
html body.v34 #sec-topup .v31-pay .ico img.alipay-img {
  width: 24px !important;
  height: 24px !important;
  box-shadow: none !important;
}
html body.v34 #sec-topup .v31-pay .pay-t {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 8px !important;
}
html body.v34 #sec-topup .v31-pay .pay-t b {
  font-size: 13.5px !important;
  color: var(--text) !important;
}
html body.v34 #sec-topup .v31-pay .pay-t small {
  font-size: 11.5px !important;
  color: var(--text-sub) !important;
}
html body.v34 #sec-topup .v31-tiers {
  gap: 7px !important;
}
html body.v34 #sec-topup .v31-tier {
  height: 38px !important;
  min-height: 38px !important;
}
html body.v34 #sec-topup .v31-tier b {
  font-size: 15px !important;
}
html[data-theme="light"] body.v34 #sec-topup :is(.v31-pay, .v31-tier) {
  background: #FFFFFF !important;
  border: 1px solid rgba(24, 23, 21, 0.18) !important;
  color: #1F1D1A !important;
}
html[data-theme="light"] body.v34 #sec-topup :is(.v31-pay.on, .v31-pay[aria-checked="true"], .v31-tier.on, .v31-tier.active) {
  background: #FFF8F1 !important;
  border: 1.5px solid #A64B17 !important;
  color: #8F3E11 !important;
}
html[data-theme="light"] body.v34 #sec-topup .v31-tier.on b {
  color: #8F3E11 !important;
}
html:not([data-theme="light"]) body.v34 #sec-topup :is(.v31-pay, .v31-tier) {
  background: #181B20 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #EBE7E0 !important;
}
html:not([data-theme="light"]) body.v34 #sec-topup :is(.v31-pay.on, .v31-pay[aria-checked="true"], .v31-tier.on, .v31-tier.active) {
  background: #241D18 !important;
  border: 1.5px solid #E58847 !important;
  color: #FAF6F0 !important;
}
html body.v34 #sec-topup #topup-go,
html body.v34 #sec-topup .v31-go {
  height: 42px !important;
  min-height: 42px !important;
  font-size: 14px !important;
}
html body.v34 #sec-topup .v36-terms-note {
  margin-top: 4px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: var(--muted) !important;
}
html body.v34 #sec-topup .ed-redeem-dock {
  margin: 10px 0 !important;
  padding: 10px 0 !important;
}
html body.v34 #sec-topup .ed-redeem-dock .ed-redeem-card {
  gap: 7px !important;
}
html body.v34 #sec-topup .ed-redeem-dock .v31-redeem .vin input,
html body.v34 #sec-topup .ed-redeem-dock .v31-redeem .vin button {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 13px !important;
}
html body.v34 #sec-topup .tp-flow {
  padding-top: 4px !important;
  gap: 6px !important;
}
html body.v34 #sec-topup .tp-flow::before {
  top: 14px !important;
}
html body.v34 #sec-topup .tp-flow .rf-step {
  gap: 5px !important;
}
html body.v34 #sec-topup .tp-flow .rf-ic {
  width: 28px !important;
  height: 28px !important;
  color: var(--text) !important;
}
html body.v34 #sec-topup .tp-flow .rf-txt strong {
  font-size: 12px !important;
}
html body.v34 #sec-topup .tp-flow .rf-txt small {
  font-size: 10.5px !important;
}

/* Right cabin (#sec-topup .ed-topup-stage) compact proportions */
html body.v34 #sec-topup .tp-duo > .ed-topup-stage {
  padding: 16px 18px !important;
}
html body.v34 #sec-topup .tp-showcase {
  gap: 8px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-stage-card {
  gap: 7px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-bar {
  min-height: 28px !important;
}
html[data-theme="light"] body.v34 #sec-topup .tp-showcase .sc-pills {
  background: #F2EDE4 !important;
  border: 1px solid rgba(24, 23, 21, 0.14) !important;
  border-radius: 6px !important;
}
html[data-theme="light"] body.v34 #sec-topup .tp-showcase .sc-pill {
  color: #332F2A !important;
  font-weight: 600 !important;
  height: 24px !important;
}
html[data-theme="light"] body.v34 #sec-topup .tp-showcase .sc-pill.is-active {
  background: #FFFFFF !important;
  border: 1px solid rgba(181, 84, 30, 0.40) !important;
  color: #9A4212 !important;
  font-weight: 700 !important;
}
html:not([data-theme="light"]) body.v34 #sec-topup .tp-showcase .sc-pills {
  background: #14161A !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 6px !important;
}
html:not([data-theme="light"]) body.v34 #sec-topup .tp-showcase .sc-pill {
  color: #C9C3B8 !important;
  font-weight: 600 !important;
  height: 24px !important;
}
html:not([data-theme="light"]) body.v34 #sec-topup .tp-showcase .sc-pill.is-active {
  background: #22262E !important;
  border: 1px solid rgba(217, 119, 54, 0.46) !important;
  color: #FAF6F0 !important;
  font-weight: 700 !important;
}
html body.v34 #sec-topup .tp-stage {
  flex: 0 0 auto !important;
  min-height: 208px !important;
  height: 210px !important;
}
@media (min-width: 561px) {
  html body.v34 #sec-topup .tp-card-wrap {
    left: 4% !important;
    top: 46% !important;
    width: 224px !important;
    transform: translateY(-50%) scale(0.84) !important;
    transform-origin: left center !important;
  }
  html body.v34 #sec-topup .tp-notif {
    right: 3.5% !important;
    top: 51% !important;
    width: 210px !important;
    padding: 7px 10px !important;
    transform: translateY(-50%) scale(0.80) !important;
    transform-origin: right center !important;
  }
}
html body.v34 #sec-topup .tp-float {
  top: 6px !important;
  right: 8px !important;
  height: 22px !important;
  font-size: 10px !important;
}
html body.v34 #sec-topup .tp-hud {
  bottom: 6px !important;
  padding: 3px 10px !important;
  font-size: 10px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket {
  padding: 8px 0 0 !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-head {
  padding: 0 0 6px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-dest {
  padding: 6px 0 !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-chan {
  width: 24px !important;
  height: 24px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-dest-main strong {
  font-size: 12.5px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-cell {
  padding: 6px 0 !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-cell small,
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-cell strong {
  font-size: 12px !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-foot {
  padding: 8px 0 0 !important;
}
html body.v34 #sec-topup .tp-showcase .sc-ticket .tk-price strong {
  font-size: 20px !important;
}
html body.v34 #sec-topup .ed-trust-row {
  margin-top: 10px !important;
}

/* 6. Shrink #sec-mail #mail-grid Cards into Compact 4-Column Matrix (~165px-180px height) */
@media (min-width: 1000px) {
  html body.v34 #mail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (min-width: 700px) and (max-width: 999px) {
  html body.v34 #mail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (min-width: 480px) and (max-width: 699px) {
  html body.v34 #mail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}
@media (max-width: 479px) {
  html body.v34 #mail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}
html body.v34 #mail-grid .v31-mcard {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  column-gap: 8px !important;
  row-gap: 5px !important;
  align-content: start !important;
  padding: 12px 14px !important;
}
html body.v34 #mail-grid .v31-mcard > :is(.mc-top, .labels, .price, .mc-sub) {
  grid-column: 1 / -1 !important;
}
html body.v34 #mail-grid .v31-mcard .mc-top {
  height: auto !important;
  min-height: 30px !important;
  gap: 9px !important;
  align-items: center !important;
}
html body.v34 #mail-grid .v31-mcard .logo,
html body.v34 #mail-grid .v31-mcard .logo.mlogo {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
}
html body.v34 #mail-grid .v31-mcard .mlogo-g {
  font-size: 12px !important;
}
html body.v34 #mail-grid .v31-mcard .mlogo.is-ms > svg {
  width: 13px !important;
  height: 13px !important;
}
html body.v34 #mail-grid .v31-mcard .mlogo-flag {
  width: 11px !important;
  height: 8px !important;
  right: -3px !important;
  bottom: -2px !important;
}
html body.v34 #mail-grid .v31-mcard .mc-name b {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}
html body.v34 #mail-grid .v31-mcard .mc-name small {
  font-size: 11.5px !important;
  margin-top: 1px !important;
  line-height: 1.2 !important;
  color: var(--muted) !important;
}
html body.v34 #mail-grid .v31-mcard .labels {
  height: 20px !important;
  min-height: 20px !important;
}
html body.v34 #mail-grid .v31-mcard .lb {
  font-size: 11px !important;
  color: var(--text-sub) !important;
}
html body.v34 #mail-grid .v31-mcard .lb.pick {
  color: var(--ed-accent-ink) !important;
}
html body.v34 #mail-grid .v31-mcard .mc-spec {
  height: 20px !important;
  padding: 0 7px !important;
  font-size: 10.5px !important;
  border-radius: 4px !important;
}
html body.v34 #mail-grid .v31-mcard .mc-spec svg {
  width: 11px !important;
  height: 11px !important;
}
html body.v34 #mail-grid .v31-mcard .price {
  height: 22px !important;
  min-height: 22px !important;
  margin-top: 1px !important;
  gap: 4px !important;
}
html body.v34 #mail-grid .v31-mcard .price b {
  font-size: 18px !important;
  font-weight: 800 !important;
  top: 0 !important;
  color: var(--ed-accent-ink) !important;
}
html body.v34 #mail-grid .v31-mcard .price > span:not(.mc-stock) {
  font-size: 11px !important;
  color: var(--muted) !important;
}
html body.v34 #mail-grid .v31-mcard .price .mc-stock {
  height: 20px !important;
  line-height: 20px !important;
  padding: 0 6px !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  border-radius: 4px !important;
  margin-left: auto !important;
}
html body.v34 #mail-grid .v31-mcard .mc-sub {
  height: auto !important;
  min-height: 15px !important;
  line-height: 1.3 !important;
  font-size: 11px !important;
  color: var(--muted) !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid var(--ed-card-border) !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-buy {
  grid-column: 1 / 2 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  height: 32px !important;
  border: 0 !important;
  align-items: center !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-buy .mc-total {
  display: none !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-buy .qty {
  height: 32px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}
html[data-theme="light"] body.v34 #mail-grid .v31-mcard > .mc-buy .qty {
  background: #FFFFFF !important;
  border: 1px solid rgba(24, 23, 21, 0.20) !important;
}
html:not([data-theme="light"]) body.v34 #mail-grid .v31-mcard > .mc-buy .qty {
  background: #181B20 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-buy .qty button {
  width: 25px !important;
  height: 30px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
html[data-theme="light"] body.v34 #mail-grid .v31-mcard > .mc-buy .qty button {
  background: #F5F1EA !important;
  color: #1F1D1A !important;
}
html:not([data-theme="light"]) body.v34 #mail-grid .v31-mcard > .mc-buy .qty button {
  background: #20242C !important;
  color: #EBE7E0 !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-buy .qty input {
  width: 28px !important;
  height: 30px !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  text-align: center !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-cta {
  grid-column: 2 / 3 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-cta:has(.v36-buy-terms) {
  grid-column: 1 / -1 !important;
}
html body.v34 #mail-grid .v31-mcard > .mc-cta .v31-buy {
  height: 32px !important;
  min-height: 32px !important;
  width: 100% !important;
  padding: 0 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ==========================================================================
   Wave-2A Precision Polish (Fix-S1 + Fix-S5 · 2026-11-13)
   1. Fix-S1: Unified <=640px mobile topbar across Store /, /help.html, /orders.html & SSR Hub (zh/en/fr/de/it)
      - overflowX === 0, rightmost login/account button right <= 375px, vertical center delta <= 0.5px
   2. Fix-S5: Remove legacy .v33-sup::before glow, soften dark .v36-qr-thumb bright block,
      foreign #sec-ip price prefix word order, clean footer .fubi-ver spacing
   ========================================================================== */
html[lang^="zh"] .ip-price-pre {
  display: none !important;
}
html:not([lang^="zh"]) #sec-ip .price .ip-price-pre {
  display: inline !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
  margin-right: 4px !important;
}

html body.v33 .v33-sup::before,
html body.v34.v33 .v36-sup3 .v33-sup::before,
html body.v33 .v36-sup3 .v33-sup::before {
  display: none !important;
  content: none !important;
}

html:not([data-theme="light"]) .v36-qr-thumb,
html[data-theme="dark"] .v36-qr-thumb {
  background: #CFC8BC !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
}

html body .v31-footer .fubi-ver {
  margin-left: 6px;
  opacity: 0.76;
}
@media (max-width: 480px) {
  html body .v31-footer .fubi-ver {
    margin-left: 0;
  }
}

@media (min-width: 1025px) and (max-width: 1500px) {
  html:not([lang^="zh"]) body.v34 .ed-topbar .tb-eco-link {
    padding: 0 7.5px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  html :is(body.v34, body.v33, body.ch-body) .tb-eco {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }
}
.eco-dot.radar { background: #B5541E; }
@media (max-width: 768px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    border-left: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco::-webkit-scrollbar {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
  html:not([lang^="zh"]) :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link {
    font-size: 11.5px !important;
    padding: 0 9px !important;
    letter-spacing: -0.01em !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link > span:not(.eco-dot) {
    display: inline !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }
}

@media (max-width: 640px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) :is(.tb-inner, .ed-topbar-inner, .topbar-inner) {
    padding: 8px 10px !important;
    min-height: 0 !important;
    height: auto !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-left {
    display: contents !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .brand {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    min-height: 32px !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .brand-mark {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .brand-name {
    font-size: 14px !important;
    line-height: 1 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) :is(.brand-tag, .tb-sep) {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav {
    order: 2 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 32px !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
  }
  /* Hide secondary links accessible via #fa-slot menu & footer */
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v3-tb-btn[data-goto-query],
    .v3-tb-btn[href*="/orders.html"],
    .v3-tb-btn[data-goto-help],
    .v3-tb-btn[href*="/help.html"]
  ) {
    display: none !important;
  }
  /* Icon-only compact triggers: Back, Tools, Guides */
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v33-back,
    a[href*="/tools"],
    a[href*="/guides"]
  ) {
    width: 30px !important;
    min-width: 30px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v33-back,
    a[href*="/tools"],
    a[href*="/guides"]
  ) > span {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v33-back,
    a[href*="/tools"],
    a[href*="/guides"]
  ) .ic {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
    margin: 0 !important;
  }
  /* Compact Flag-only Language Switcher & Icon-only Theme Toggle */
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .lang-switch-box {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .lang-cur-btn {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .lang-cur-btn :is(#lang-cur-text, .lang-caret, .caret),
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .theme-toggle :is([data-theme-label], span + span) {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .theme-toggle {
    width: 30px !important;
    min-width: 30px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    box-sizing: border-box !important;
  }
  /* Compact Login / Wallet Pill + Avatar Slot */
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-tb-btn[data-act="login"] {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    gap: 0 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-tb-btn[data-act="login"] .ic {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-bal-pill {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    gap: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-bal-pill :is(.v3-bal-plus, .v3-bal-user) {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .fa-slot:not(:empty) {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .fa-slot .fa-wrap {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .fa-slot .fa-avatar-btn,
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .fa-slot .fa-btn {
    width: 30px !important;
    min-width: 30px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .fa-slot :is(.fa-avatar-label, .fa-avatar-caret, .fa-label, .fa-caret) {
    display: none !important;
  }
}

/* ==========================================================================
 * v45 · Single-Column Top-up Card, 1440px Zero-Overflow Topbar & Aa Font Scale
 * ========================================================================== */
html body.v34 #sec-topup .ed-topup-grid.is-single {
  display: block !important;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
html body.v34 #sec-topup .ed-topup-grid.is-single > .ed-topup-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px 26px;
  border-radius: 0px;
  background: var(--ed-card-bg);
  border: 1px solid var(--ed-card-border);
  box-shadow: var(--ed-card-shadow);
}
html body.v34 #sec-topup .ed-topup-grid.is-single .v31-tier {
  height: auto !important;
  min-height: calc(50px * var(--fubi-font-scale, 1)) !important;
  padding: 8px 10px !important;
}
html body.v34 #sec-topup .ed-topup-grid.is-single .v31-pay {
  height: auto !important;
  min-height: calc(52px * var(--fubi-font-scale, 1)) !important;
  padding: 10px 14px !important;
}

/* Topbar isolation from font-scale + strict 64px height + 1440px zero-overflow across 5 langs */
html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) {
  --fubi-font-scale: 1 !important;
  font-size: 14px !important;
}
@media (min-width: 1025px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar),
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-inner {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
}
@media (min-width: 641px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v3-tb-btn, .lang-cur-btn, .theme-toggle, .v3-bal-pill, .v3-wallet-pill, .fa-avatar-btn
  ) {
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .fa-avatar-btn {
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .fa-slot:not(:empty),
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .lang-switch-box,
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .v3-wallet {
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}
@media (min-width: 1025px) and (max-width: 1600px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-inner {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 8px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-left {
    gap: 8px !important;
    min-width: 0 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .brand-name {
    font-size: 16.5px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco {
    gap: 2px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link {
    padding: 0 5.5px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  html:not([lang^="zh"]) :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link {
    padding: 0 4.5px !important;
    font-size: 11.5px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav {
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .v3-tb-btn:not([data-act="login"]):not(.v33-back) .ic {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(.v3-tb-btn, .lang-cur-btn, .theme-toggle) {
    padding: 0 7px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  html:not([lang^="zh"]) :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(.v3-tb-btn, .lang-cur-btn) {
    padding: 0 6px !important;
    font-size: 11.5px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .theme-toggle [data-theme-label] {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .theme-toggle {
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-bal-pill {
    padding: 0 8px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .lang-cur-btn #lang-cur-text {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .tb-eco-link {
    padding: 0 3.5px !important;
    font-size: 11px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(.v3-tb-btn, .lang-cur-btn) {
    padding: 0 5px !important;
    font-size: 11px !important;
  }
}
@media (max-width: 640px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav {
    gap: 4px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .theme-toggle {
    width: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav :is(
    .v3-tb-btn, .lang-cur-btn, .v3-bal-pill, .v3-wallet-pill, .fa-avatar-btn
  ) {
    height: 32px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav .fa-avatar-btn {
    width: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    padding: 0 !important;
  }
}
@media (max-width: 480px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav > :is(
    a[href*="/tools"],
    a[href*="/guides"]
  ) {
    display: none !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) :is(.tb-inner, .ed-topbar-inner, .topbar-inner) {
    padding: 8px 10px !important;
    column-gap: 6px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .brand {
    flex: 0 0 auto !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 4px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-wallet-pill {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 3px 0 7px !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-wp-bal {
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-wp-top {
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 420px) {
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .topnav {
    gap: 3px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet :is(.v3-bal-pill, .v3-wallet-pill) {
    padding: 0 3px 0 6px !important;
    font-size: 11px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-wp-bal {
    font-size: 11px !important;
  }
  html :is(body.v34, body.v33, body.ch-body) :is(.ed-topbar, .topbar) .v3-wallet .v3-wp-top {
    padding: 0 6px !important;
    font-size: 10.5px !important;
  }
}

/* Smooth Aa / Aa+ / Aa++ scaling (--fubi-font-scale = 1 | 1.12 | 1.2) across content/cards/forms/modals */
html[data-font-scale="lg"],
html[data-font-scale="xl"] {
  font-size: calc(15px * var(--fubi-font-scale, 1));
}
html[data-font-scale="lg"] body,
html[data-font-scale="xl"] body {
  font-size: calc(15px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-hero-pill {
  font-size: calc(12px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-hero-sub {
  font-size: calc(14px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-title h2,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-sec-head h2,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .v31-sec-h h2 {
  font-size: calc(19px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 :is(.ed-ai-sub, .ed-sec-sub, .v33-page-h p) {
  font-size: calc(13.5px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-portal-pill {
  height: auto;
  min-height: 40px;
  padding: 6px 16px;
  font-size: calc(13.5px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-card .mc-name b {
  font-size: calc(15px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-card .mc-name small,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-desc {
  font-size: calc(13px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-card .price .ed-ai-tier-note {
  height: auto;
  min-height: 28px;
  padding: 3px 10px;
  font-size: calc(12.5px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 .ed-ai-cta {
  height: auto;
  min-height: 40px;
  padding: 8px 14px;
  font-size: calc(13.5px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard {
  height: auto !important;
  min-height: 0 !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .mc-name b {
  font-size: calc(13.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .mc-name small,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .mc-sub {
  font-size: calc(11.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .labels {
  height: auto !important;
  min-height: 20px !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .lb,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .price > span:not(.mc-stock) {
  font-size: calc(11px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .mc-spec,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .price .mc-stock {
  height: auto !important;
  min-height: 20px !important;
  line-height: 1.4 !important;
  font-size: calc(10.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .price {
  height: auto !important;
  min-height: 22px !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard .price b {
  font-size: calc(18px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard > .mc-buy,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #mail-grid .v31-mcard > .mc-cta .v31-buy {
  height: auto !important;
  min-height: 34px !important;
  font-size: calc(12.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-bal-label,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-topup-hint,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-redeem-dock .ed-redeem-head b {
  font-size: calc(13.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-bal-hint,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .v31-tier small,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .v31-pay small,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-redeem-dock .ed-redeem-head small {
  font-size: calc(11.5px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .v31-tier b,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .v31-pay b,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-topup-go {
  font-size: calc(14px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-redeem-dock .v31-redeem .vin input,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) body.v34 #sec-topup .ed-redeem-dock .v31-redeem .vin button {
  height: auto !important;
  min-height: 38px !important;
  font-size: calc(13px * var(--fubi-font-scale, 1)) !important;
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) :is(.faq summary, .faq details p, .field label, .field input, .v33-sup-p, .v33-ord-row, .modal-body, .v31-footer) {
  font-size: calc(13.5px * var(--fubi-font-scale, 1));
}
html:is([data-font-scale="lg"], [data-font-scale="xl"]) .modal-head h3,
html:is([data-font-scale="lg"], [data-font-scale="xl"]) .v33-sec-t {
  font-size: calc(17px * var(--fubi-font-scale, 1));
}

/* ==========================================================================
 * 20261202u1 · 极简减法、精密仪器微交互、客服球避让与 Reduced Motion
 * ========================================================================== */
html body.v34 .ed-hero {
  padding: 18px 0 10px !important;
  margin-bottom: 6px !important;
}
html body.v34 .ed-hero-title {
  margin: 0 0 14px !important;
}
@media (max-width: 640px) {
  html body.v34 .ed-main {
    padding-top: 14px !important;
    gap: 18px !important;
  }
  html body.v34 .ed-hero {
    padding: 8px 0 4px !important;
    margin-bottom: 0 !important;
  }
  html body.v34 .ed-hero-title {
    margin: 0 0 8px !important;
  }
  html body.v34 .ed-seg-wrap {
    margin-top: 12px !important;
  }
  html body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-head {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  html body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-title {
    min-width: 0;
    flex: 1 1 auto;
  }
  html body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools {
    width: auto !important;
    flex: none !important;
    justify-content: flex-end !important;
  }
  html body.v34 :is(.ed-sec-ai, .ed-sec-ip) .ed-ai-tools .ed-ai-portal-pill {
    flex: none !important;
    width: auto !important;
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  html body.v34 .ed-ai-grid {
    gap: 24px !important;
  }
}

/* AI & IP 6 张主卡片：单句描述干净对齐、IP 卡 3 免费价格稳重字重 */
html body.v34 .ed-ai-card .ed-ai-desc {
  min-height: 1.55em;
  line-height: 1.55;
  flex: 1 0 auto;
}
html body.v34 .ed-ai-card .price b.ip-price-free {
  font-size: 20px;
  font-weight: 750;
}

/* 邮箱区智能收口：<= 4 个商品时彻底隐藏工具栏与筛选 Tab */
html body.v34 #sec-mail .ed-mail-tools.hidden,
html body.v34 #sec-mail .ed-mail-subs-wrap.hidden {
  display: none !important;
}

/* 邮箱商品卡去重复 .mc-sub 后在价格行下方保留 1px 细腻分隔线 */
html body.v34 #mail-grid .v31-mcard .price {
  height: auto !important;
  min-height: 24px !important;
  padding-bottom: 8px !important;
  margin-bottom: 2px !important;
  border-bottom: 1px solid var(--ed-card-border) !important;
  flex-wrap: nowrap !important;
}
html body.v34 #mail-grid .v31-mcard .price > span:not(.mc-stock) {
  white-space: nowrap !important;
}

/* 收银台金额高亮提示（合并原 1.5 步二次确认弹窗） */
html body.v34 .pay-tip.is-exact-highlight {
  border-color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 8%, var(--card)) !important;
  font-weight: 500;
}

/* 精密仪器风主按钮与交互控件微按压（解除 v-clean2 对 :active 的覆盖） */
html body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy,
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-ai-cta,
  .ed-ai-portal-pill,
  .v31-tier,
  .v31-pay,
  .v3-tb-btn
) {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
              background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
              color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
html body.v34 :is(
  a.btn-primary,
  button.btn-primary,
  .btn.primary,
  .v31-buy,
  .v31-go,
  #topup-go,
  #v3-redeem-btn,
  .ed-ai-cta,
  .ed-ai-portal-pill,
  .v31-tier,
  .v31-pay,
  .v3-tb-btn
):not(:disabled):active {
  transform: scale(0.985) !important;
  transition-duration: 90ms !important;
}

/* 页脚与右下角 40–44px 悬浮客服球安全避让 */
html body :is(.v31-footer, .ed-footer) {
  padding-bottom: max(36px, env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 768px) {
  html body :is(.v31-footer, .ed-footer) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    padding-right: 16px !important;
  }
}

/* 完整无障碍减弱动态偏好支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html body.v34 .v31-mcard:hover,
  html body.v34 .ed-ai-card:hover {
    transform: none !important;
  }
}



