:root {
  color-scheme: dark;
  --bg: #03080c;
  --panel: rgba(7, 15, 21, 0.82);
  --panel-strong: rgba(9, 19, 26, 0.96);
  --line: rgba(157, 196, 216, 0.18);
  --line-strong: rgba(157, 196, 216, 0.34);
  --text: #f5f8fa;
  --muted: #98a8b5;
  --green: #91ff4f;
  --green-soft: #caff9f;
  /* 强调色别名。之前多处用了 var(--accent) 但从未定义过，
     导致这些颜色全部解析失败（滑块、加载动画、币种高亮都是空的）。 */
  --accent: var(--green);
  --header-height: 82px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: #071006; background: var(--green); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4.4vw, 72px);
  padding: 0 clamp(24px, 4vw, 72px);
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled { background: rgba(3, 9, 13, 0.74); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
/* 首页的固定定位。products / procurement 页分别由 product-v2.css 的
   .catalog-page .site-header 和 product.css 的 .product-page .site-header 提供。
   这里只针对 .home-header，不能写成 .site-header.is-scrolled —— app.js 滚动时会
   给任意 .site-header 加上 is-scrolled，那样 login/privacy/terms 这类
   portal-header（position: relative）会在滚动时变成 fixed，页头脱离文档流。 */
.site-header.home-header { position: fixed; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1rem, 1.35vw, 1.38rem); font-weight: 760; letter-spacing: 0.08em; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(145, 255, 79, 0.12)); }
.mark-light { fill: #f5f8f7; }
.mark-green { fill: var(--green); }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3vw, 48px); }
.primary-nav a { position: relative; padding: 13px 0; color: #d7e0e5; font-size: 0.72rem; font-weight: 680; letter-spacing: 0.18em; text-transform: uppercase; transition: color 180ms ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--green); transition: right 180ms ease; }
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { right: 0; }
/* 当前页高亮。products / procurement 页由 product.css 提供同名同值规则，
   首页不引入该文件，故在公共样式里补一份。 */
.primary-nav a.is-active { color: var(--green-soft); }
.primary-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }

/*
 * 订单页专用布局。
 *
 * 之前误用了 .commerce-intro（首屏横幅，h1 最小 2.8rem/最大 5.2rem、min-height 220px
 * + 机房背景图）和 .process-grid（repeat(4,1fr)、每卡 min-height 170px 的四步流程），
 * 三四个字的标题被撑到 83px，3-4 条信息硬塞 4 列又高又空。订单页因此全部用
 * 独立的 .order-* 类，不复用 commerce 页的组件。
 */
.order-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 36px) 0 90px;
}

/* ---------- 顶部状态条 ---------- */
.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.order-no {
  margin: 0 0 10px;
  color: #6f818d;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.order-head h1 {
  margin: 0;
  color: #eef4f7;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.order-sub {
  max-width: 60ch;
  margin: 12px 0 0;
  color: #9fb0ba;
  font-size: 0.92rem;
  line-height: 1.65;
}
.order-status {
  flex: 0 0 auto;
  padding: 7px 16px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.order-status.is-pending { color: #ffd28a; border-color: rgba(255, 210, 138, 0.38); background: rgba(255, 210, 138, 0.1); }
.order-status.is-paid    { color: var(--green-soft); border-color: rgba(145, 255, 79, 0.4); background: rgba(145, 255, 79, 0.11); }
.order-status.is-failed  { color: #ff9a8b; border-color: rgba(255, 154, 139, 0.38); background: rgba(255, 154, 139, 0.1); }

/* ---------- 两栏 ---------- */
.order-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  margin-top: 30px;
  align-items: start;
}
.order-card {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(6, 16, 23, 0.66);
}
.order-card--pay { border-color: rgba(145, 255, 79, 0.22); }
.order-card-title {
  margin: 0 0 20px;
  color: #e6eef2;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- 信息行 ---------- */
.order-rows { margin: 0; }
.order-rows > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.order-rows > div:first-child { padding-top: 0; }
.order-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.order-rows dt {
  color: #7f919c;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.order-rows dd {
  margin: 0;
  color: #dfe8ed;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: break-word;
}
.order-rows dd strong { color: var(--green-soft); font-weight: 700; }
.order-rows code {
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--green-soft);
  background: rgba(145, 255, 79, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
}
.order-address { display: inline-block; word-break: break-all; }
.order-hash { word-break: break-all; }

/* ---------- 只读收款地址块（提现页） ---------- */
.order-payee {
  margin-top: 18px;
  padding: 16px 16px 4px;
  border: 1px solid rgba(145, 255, 79, 0.18);
  border-radius: 12px;
  background: rgba(145, 255, 79, 0.04);
}
.order-payee-title {
  margin: 0 0 14px;
  color: #cfe0e8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.order-payee .order-tip { margin: 10px 0 14px; }
.order-payee a { color: var(--green-soft); text-decoration: underline; text-underline-offset: 2px; }

.order-tip {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(145, 255, 79, 0.45);
  border-radius: 0 8px 8px 0;
  color: #9fb0ba;
  background: rgba(145, 255, 79, 0.05);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------- 按钮 ---------- */
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.order-actions form { margin: 0; }
.order-actions--foot { justify-content: center; }
.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #cfe0e8;
  background: rgba(7, 14, 19, 0.7);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.order-btn:hover { color: var(--green-soft); border-color: rgba(145, 255, 79, 0.5); }
.order-btn--primary {
  color: #061006;
  border-color: var(--green);
  background: var(--green);
}
.order-btn--primary:hover { color: #061006; background: var(--green-soft); border-color: var(--green-soft); }

/* 我的合伙项目表格里的「查看 / 合同下载」并排；表格里的按钮比页面 CTA 小一号 */
.order-row-actions { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.partnership-list-page .order-table .order-btn { min-height: 34px; padding: 0 14px; font-size: 0.74rem; }

.order-disclosure {
  margin: 34px 0 0;
  color: #5f717d;
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: center;
}

/* ---------- 充值页（在订单页的 .order-* 体系上扩展） ---------- */
.deposit-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.deposit-preset {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #cfe0e8;
  background: rgba(7, 14, 19, 0.6);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.deposit-preset input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.deposit-preset:hover { color: var(--green-soft); border-color: rgba(145, 255, 79, 0.45); }
/* 选中态用 class 切换（app.js），:has() 作为 JS 未加载时的兜底 */
.deposit-preset.is-selected,
.deposit-preset:has(input:checked) {
  color: #061006;
  border-color: var(--green);
  background: var(--green);
}

.deposit-custom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.deposit-custom label { color: #7f919c; font-size: 0.8rem; letter-spacing: 0.05em; }
.deposit-custom input {
  flex: 1 1 200px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #eef4f7;
  background: rgba(7, 14, 19, 0.7);
  font: inherit;
  font-size: 0.95rem;
}
.deposit-custom input:focus { outline: none; border-color: rgba(145, 255, 79, 0.55); }
.deposit-custom input::placeholder { color: #5f717d; }
.deposit-unit { color: #7f919c; font-size: 0.85rem; }

.deposit-history { margin-top: 22px; }
.deposit-history .table { color: #cfe0e8; font-size: 0.85rem; }
.deposit-history th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: #7f919c;
  font-weight: 600;
  white-space: nowrap;
}
.deposit-history td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.deposit-history tbody tr:last-child td { border-bottom: 0; }
.deposit-history code { color: var(--green-soft); font-size: 0.82em; }
.deposit-history a { color: var(--green-soft); font-size: 0.82rem; text-decoration: none; }
.deposit-history a:hover { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .order-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .order-main { width: calc(100% - 28px); padding-top: calc(var(--header-height) + 20px); }
  .order-head { flex-direction: column; gap: 14px; }
  .order-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .order-actions .order-btn, .order-actions form { flex: 1 1 100%; }
  .order-actions .order-btn { width: 100%; }
  .deposit-presets { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
  .deposit-custom { flex-direction: column; align-items: stretch; }
}

/*
 * 全站提示条。放在 layout 里注入，所有 PC 页面共享。
 * 之前 PC 站没有渲染 $errors 的地方，提交失败只会"刷新一下"。
 */
.pc-flash {
  position: fixed;
  top: calc(var(--header-height) + 18px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(560px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 42px 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(7, 14, 19, 0.97);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.6);
}
.pc-flash-item { margin: 0; color: #dce5e9; font-size: 0.86rem; line-height: 1.55; }
.pc-flash-item.is-error { color: #ff9a8b; }
.pc-flash-item.is-info  { color: #cfe0e8; }
.pc-flash-item.is-ok    { color: var(--green-soft); }
.pc-flash-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  color: #7f919c;
  background: none;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}
.pc-flash-close:hover { color: #dce5e9; background: rgba(255, 255, 255, 0.08); }

@media (max-width: 720px) {
  .pc-flash { top: calc(var(--header-height) + 8px); padding: 12px 38px 12px 14px; }
}

/* 语言切换下拉（6 语种）。PC 站不加载 Bootstrap，样式全部自备。 */
.header-lang { position: relative; }
.header-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  color: #73838f;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: color 180ms ease;
}
.header-lang-toggle:hover,
.header-lang-toggle:focus-visible { color: var(--green-soft); }
.header-lang-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.header-lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(7, 14, 19, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.header-lang.is-open .header-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header-lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #c6d5dd;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}
.header-lang-menu a:hover,
.header-lang-menu a:focus-visible { color: var(--green-soft); background: rgba(145, 255, 79, 0.09); }
.header-lang-menu a.is-current { color: var(--green-soft); }
.header-lang-menu a.is-current::after { content: '✓'; margin-left: 2px; }
.header-lang-code { color: #5d6d78; font-size: 0.66rem; letter-spacing: 0.1em; }

/* 窄屏下贴着屏幕右边缘，避免溢出 */
@media (max-width: 720px) {
  .header-lang-menu { right: -8px; }
}
.language-switch { display: flex; align-items: center; gap: 5px; color: #677783; font-size: 0.72rem; white-space: nowrap; }
.language-switch button { padding: 6px 2px; border: 0; color: #73838f; background: none; font: inherit; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--green-soft); }
.header-cta { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid rgba(145, 255, 79, 0.76); border-radius: 999px; font-size: 0.72rem; font-weight: 760; letter-spacing: 0.12em; text-transform: uppercase; transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.header-cta:hover { color: #061006; background: var(--green); box-shadow: 0 0 30px rgba(145, 255, 79, 0.2); }
.header-login { color: #dce5e9; font-size: 0.74rem; font-weight: 720; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; }
.header-login:hover { color: var(--green); }

/*
 * 导航栏用户名（2026-10-12）。
 *
 * 文本本身已经由 User::maskedIdentity() 脱敏并限长（≤14 字），这里再加一道 CSS 保险：
 * 万一以后有人改了脱敏上限、或塞进来别的长文本，也不会把右侧的「账户 / 退出」挤走。
 * 与 PHP 侧的 14 字对齐：0.74rem 字号下 12em ≈ 14 个半角字符。
 */
.header-user {
  max-width: 12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce5e9;
  font-size: 0.74rem;
}
.header-register { min-width: 108px; }
.header-cta svg, .button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(7, 14, 19, 0.72); }
.menu-button span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 5px auto; background: #fff; }

.hero-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(3, 8, 12, 0.98) 0%, rgba(3, 8, 12, 0.91) 25%, rgba(3, 8, 12, 0.4) 56%, rgba(3, 8, 12, 0.14) 76%, rgba(3, 8, 12, 0.46) 100%),
    linear-gradient(180deg, rgba(3, 8, 12, 0.12) 0%, rgba(3, 8, 12, 0.04) 60%, #050a0f 79%),
    url("assets/datacenter-hero.png") 67% top / cover no-repeat;
}
.hero-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px); background-size: 100% 4px; opacity: 0.24; }
.hero-shell::after { content: ""; position: absolute; z-index: 1; inset: 7% -4% 23% 38%; pointer-events: none; opacity: 0.58; background: radial-gradient(circle at 12% 26%, rgba(145,255,79,0.9) 0 1.5px, transparent 2px), radial-gradient(circle at 38% 68%, rgba(104,218,255,0.85) 0 1.5px, transparent 2px), radial-gradient(circle at 68% 22%, rgba(145,255,79,0.75) 0 1.5px, transparent 2px), radial-gradient(circle at 88% 62%, rgba(104,218,255,0.72) 0 1.5px, transparent 2px), linear-gradient(154deg, transparent 0 34%, rgba(145,255,79,0.08) 34.1% 34.35%, transparent 34.45% 62%, rgba(91,198,229,0.07) 62.1% 62.35%, transparent 62.45%), radial-gradient(ellipse at 70% 45%, transparent 0 34%, rgba(145,255,79,0.09) 34.2% 34.45%, transparent 34.7% 48%, rgba(99,208,244,0.07) 48.2% 48.45%, transparent 48.7%); background-size: 170px 140px, 220px 170px, 260px 190px, 300px 210px, 100% 100%, 100% 100%; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); animation: homeMeshDrift 18s ease-in-out infinite alternate; }
.hero { position: relative; z-index: 2; min-height: clamp(540px, calc(100vh - 265px), 740px); display: flex; align-items: center; padding: calc(var(--header-height) + 28px) clamp(24px, 4vw, 72px) 42px; border-bottom: 1px solid var(--line); }
@keyframes homeMeshDrift { from { transform: translate3d(-1%, 0, 0); opacity: 0.45; } to { transform: translate3d(1.5%, -1%, 0); opacity: 0.68; } }
.hero-copy { width: min(760px, 53vw); }
.eyebrow, .section-kicker, .panel-heading { text-transform: uppercase; letter-spacing: 0.19em; }
.eyebrow { max-width: 510px; margin: 0 0 clamp(22px, 3vh, 36px); color: #b9c5ce; font-size: 0.76rem; font-weight: 650; line-height: 1.8; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(4.5rem, 7.2vw, 7.8rem); font-weight: 790; line-height: 0.83; letter-spacing: -0.065em; }
h1 span { display: block; }
.accent-text { margin-top: 0.16em; color: var(--green); background: linear-gradient(90deg, #efffdc 0%, #9bff53 42%, #6eef73 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 580px; margin: clamp(24px, 3.3vh, 36px) 0 0; color: #d0d8de; font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.button { min-width: 178px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font-size: 0.88rem; font-weight: 740; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #071006; background: linear-gradient(135deg, #c8ff82, #7eff41); box-shadow: 0 10px 34px rgba(122, 255, 55, 0.13); }
.button-primary:hover { box-shadow: 0 14px 40px rgba(122, 255, 55, 0.24); }
.button-secondary { border-color: rgba(193, 209, 222, 0.58); background: rgba(6, 13, 19, 0.42); backdrop-filter: blur(10px); }
.button-secondary:hover { border-color: var(--green-soft); background: rgba(13, 24, 30, 0.75); }
.capabilities { display: flex; align-items: center; gap: clamp(28px, 3.7vw, 58px); margin-top: clamp(30px, 4vh, 44px); }
.capability { max-width: 150px; display: flex; align-items: center; gap: 12px; color: #96a5b0; font-size: 0.72rem; font-weight: 680; line-height: 1.4; letter-spacing: 0.11em; text-transform: uppercase; }
.capability svg { width: 28px; flex: 0 0 auto; fill: none; stroke: var(--green); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.rack-message { position: absolute; right: 3.4%; top: 36%; margin: 0; color: rgba(178, 196, 221, 0.64); font-size: clamp(0.62rem, 0.6vw, 0.76rem); font-weight: 650; line-height: 2.2; letter-spacing: 0.25em; text-transform: uppercase; }

.dashboard { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(410px, 0.92fr) minmax(570px, 1.25fr); gap: 18px; padding: 20px clamp(24px, 3.2vw, 58px) 22px; background: linear-gradient(180deg, rgba(4, 10, 15, 0.83), rgba(4, 9, 13, 0.98)); }
.panel { min-height: 148px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(6, 14, 20, 0.84), rgba(5, 11, 16, 0.68)); box-shadow: inset 0 1px rgba(255,255,255,0.02); backdrop-filter: blur(14px); }
.panel-heading { min-height: 20px; display: flex; align-items: center; justify-content: space-between; color: #9fadb9; font-size: 0.68rem; font-weight: 720; }
.live-label { display: inline-flex; align-items: center; gap: 9px; color: #c8d0d6; }
.live-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(145,255,79,0.8); }
.signal { display: flex; align-items: end; gap: 2px; color: #667581; letter-spacing: 0.12em; }
.signal i { width: 2px; background: var(--green); }
.signal i:nth-child(1) { height: 4px; } .signal i:nth-child(2) { height: 7px; } .signal i:nth-child(3) { height: 10px; } .signal i:nth-child(4) { height: 13px; margin-right: 7px; }
.fleet-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 17px; }
.fleet-stats div { min-width: 0; padding: 10px 18px 6px; border-right: 1px solid var(--line); }
.fleet-stats div:first-child { padding-left: 7px; } .fleet-stats div:last-child { border-right: 0; }
.fleet-stats strong, .fleet-stats span { display: block; }
.fleet-stats strong { color: #f3f6f8; font-size: clamp(1rem, 1.25vw, 1.35rem); font-weight: 680; }
.fleet-stats span { margin-top: 8px; color: #7f8f9b; font-size: 0.7rem; font-weight: 650; line-height: 1.3; text-transform: uppercase; }
.gpu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gpu-card { min-width: 0; min-height: 88px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 11px; padding: 9px 10px; border: 1px solid rgba(168,199,219,0.08); border-radius: 9px; background: linear-gradient(135deg, rgba(24,36,45,0.82), rgba(10,20,27,0.94)); }
.gpu-icon { width: 56px; height: 66px; display: grid; place-items: center; border-radius: 6px; color: #95a5ad; background: linear-gradient(150deg, #29363d, #0d151a); }
.gpu-icon svg { width: 44px; fill: none; stroke: currentColor; stroke-width: 1.15; }
.gpu-copy strong, .gpu-copy small { display: block; }
.gpu-copy strong { font-size: clamp(1rem, 1.2vw, 1.35rem); font-weight: 650; }
.gpu-copy small { margin-top: 9px; overflow: hidden; color: #84919b; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }

.content-section { position: relative; padding: clamp(82px, 9vw, 142px) clamp(24px, 5vw, 88px); }
.section-heading { max-width: 700px; margin-bottom: 44px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.compact { margin-bottom: 34px; }
.section-kicker { margin-bottom: 15px; color: var(--green); font-size: 0.75rem; font-weight: 750; }
h2 { margin-bottom: 16px; font-size: clamp(2.25rem, 4.4vw, 4.5rem); font-weight: 760; line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; }
.section-heading > p:last-child, .security-copy > p:not(.section-kicker) { margin-bottom: 0; color: #a8b5bf; font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.55; }

.network-section { overflow: hidden; background: radial-gradient(ellipse at 50% 42%, rgba(6,103,150,0.28), transparent 38%), radial-gradient(circle at 10% 76%, rgba(24,65,104,0.28), transparent 31%), radial-gradient(circle at 88% 24%, rgba(18,82,72,0.22), transparent 27%), linear-gradient(135deg, #02070d 0%, #061726 44%, #06191d 72%, #02070b 100%); }
.network-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(125,210,239,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(125,210,239,0.03) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent); }
.network-grid { position: relative; display: grid; grid-template-columns: minmax(235px, 0.72fr) minmax(390px, 1.1fr) minmax(215px, 0.68fr); align-items: center; gap: 16px; max-width: 1280px; margin: 0 auto; }
.network-card { position: relative; overflow: hidden; border: 1px solid rgba(110,169,198,0.32); border-radius: 20px; background: radial-gradient(circle at 20% 10%, rgba(17,75,111,0.26), transparent 36%), linear-gradient(145deg, rgba(7,29,48,0.97), rgba(4,17,28,0.98) 56%, rgba(4,25,28,0.97)); box-shadow: inset 0 1px rgba(255,255,255,0.04), 0 28px 70px rgba(0,0,0,0.24); }
.operations-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 26px; }
.operations-list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.operations-list li { display: flex; align-items: center; gap: 16px; color: #c1ccd3; font-size: 0.76rem; font-weight: 650; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; }
.operations-list svg { width: 30px; flex: 0 0 auto; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.operations-value { padding-top: 27px; border-top: 1px solid var(--line); }
.operations-value strong, .operations-value span { display: block; }
.operations-value strong { color: var(--green); font-size: clamp(2.2rem, 3.3vw, 3.8rem); line-height: 1; }
.operations-value span { margin-top: 9px; color: #d1d9de; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
/* 左右两张卡都是 330px（.operations-card min-height / .network-stack height），
   地球卡原本由 aspect-ratio 反推高度（约 264px）导致比两侧矮一截。
   这里改为固定 330px 与左右对齐；aspect-ratio 取消，
   底图 object-fit: fill 与 canvas 共用同一盒子，航线投影仍按归一化坐标计算，不会错位。 */
.globe-card { height: 330px; aspect-ratio: auto; isolation: isolate; background: radial-gradient(circle at 50% 45%, rgba(15,83,116,0.48), transparent 52%), linear-gradient(160deg, #071d31, #03101b 64%, #061a1c); }
.globe-card::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 44%, transparent 26%, rgba(2,9,15,0.1) 58%, rgba(2,8,13,0.42) 100%); }
.globe-card::after { content: ""; position: absolute; z-index: 3; inset: 44% 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(2,9,14,0.2) 36%, rgba(2,8,13,0.86) 100%); }
.earth-image { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: fill; object-position: center; filter: saturate(0.92) contrast(1.06) brightness(0.88); }
#globe-canvas { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; display: block; }
.globe-copy { position: absolute; z-index: 5; left: 0; right: 0; bottom: 25px; text-align: center; text-transform: uppercase; text-shadow: 0 3px 14px #000; }
.globe-copy strong, .globe-copy span { display: block; }
.globe-copy strong { color: var(--green); font-size: clamp(1.45rem, 2.5vw, 2.4rem); letter-spacing: -0.02em; }
.globe-copy span { margin-top: 5px; font-size: 0.84rem; letter-spacing: 0.24em; }
.globe-status { position: absolute; z-index: 5; top: 20px; right: 22px; display: flex; align-items: center; gap: 8px; color: #a7bac6; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; }
.globe-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(145,255,79,0.8); }
.network-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: 330px; }
.mini-card { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 18%, rgba(14,83,121,0.34), transparent 46%), linear-gradient(145deg, rgba(5,26,45,0.98), rgba(3,14,24,0.98) 65%, rgba(4,24,27,0.97)); }
.mini-card svg { width: 46px; margin-bottom: 16px; fill: none; stroke: #a7e7e2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mini-card strong { font-size: clamp(1.05rem, 1.45vw, 1.42rem); text-transform: uppercase; }
.mini-card span { margin-top: 8px; color: #98a6b0; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

.security-section { position: relative; min-height: 530px; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 50px; overflow: hidden; padding: clamp(72px, 7vw, 112px) clamp(30px, 7vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 72% 50%, rgba(28,77,59,0.28), transparent 32%), linear-gradient(125deg, #06111a, #051019 48%, #081c1d); }
.security-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,0.025), transparent 30%), repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px); opacity: 0.4; }
.security-copy { position: relative; z-index: 2; max-width: 730px; }
.security-copy h2 { font-size: clamp(2.6rem, 5.2vw, 5.4rem); }
.security-copy > p:not(.section-kicker) { max-width: 660px; }
.security-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 45px; }
.security-features > div { display: flex; align-items: center; gap: 13px; min-width: 0; padding-right: 18px; border-right: 1px solid var(--line); }
.security-features > div:last-child { border-right: 0; }
.security-features svg { width: 31px; flex: 0 0 auto; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.security-features span { font-size: 0.72rem; font-weight: 680; line-height: 1.45; letter-spacing: 0.12em; text-transform: uppercase; }
.shield-visual { position: relative; z-index: 1; min-height: 340px; display: grid; place-items: center; }
.shield-aura { position: absolute; width: min(74%, 390px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(145,255,79,0.28), rgba(73,219,140,0.12) 32%, transparent 70%); filter: blur(22px); animation: shieldAura 4.6s ease-in-out infinite; }
.shield { position: relative; z-index: 2; width: min(300px, 70%); height: auto; filter: drop-shadow(0 28px 22px rgba(0,0,0,0.5)) drop-shadow(0 0 22px rgba(145,255,79,0.18)); animation: shieldFloat 5.4s ease-in-out infinite; }
@keyframes shieldAura { 0%,100% { transform: scale(0.92); opacity: 0.55; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes shieldFloat { 0%,100% { transform: translateY(4px); } 50% { transform: translateY(-6px); } }

.use-cases-section { background: linear-gradient(180deg, #03080c, #02070a); }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1500px; margin: 0 auto; }
.use-case-card { position: relative; overflow: hidden; min-height: clamp(360px, 34vw, 500px); border: 1px solid var(--line); border-radius: 22px; background: #091219; box-shadow: 0 28px 80px rgba(0,0,0,0.28); }
.use-case-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(4,10,14,0.72) 36%, rgba(4,10,14,0.97) 100%); pointer-events: none; }
.use-case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease; }
.use-case-card:hover img { transform: scale(1.035); filter: saturate(1.05); }
.use-case-overlay { position: absolute; z-index: 2; left: 25px; right: 20px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.use-case-overlay h3 { margin-bottom: 9px; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: 0.01em; text-transform: uppercase; }
.use-case-overlay p { max-width: 330px; margin-bottom: 0; color: #d1d9de; font-size: 0.9rem; line-height: 1.45; }
.round-arrow { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(211,231,239,0.56); border-radius: 50%; color: #e7eff3; font-size: 1rem; }
.builder-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1200px; margin: 45px auto 0; color: #8796a1; font-size: 0.72rem; font-weight: 680; letter-spacing: 0.22em; text-align: center; text-transform: uppercase; }
.builder-line i { height: 1px; background: var(--line); }

.cta-section { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; background: radial-gradient(circle at 50% 45%, rgba(44,89,66,0.2), transparent 42%), #03090d; }
.cta-section h2 { max-width: 940px; margin-bottom: 30px; }

/* 合作伙伴（首页 CTA 下方，2026-10-18） */
.partners-section { background: radial-gradient(circle at 50% 0, rgba(39,92,66,0.18), transparent 46%), #03080c; }
.partners-section .section-heading { max-width: 880px; }
.partners-section .section-heading > p:last-child { max-width: 800px; margin-left: auto; margin-right: auto; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: clamp(16px, 2.4vw, 34px); max-width: 1080px; margin: clamp(34px, 4vw, 58px) auto 0; }
.partner-logos figure { width: clamp(180px, 21vw, 260px); min-height: 104px; display: grid; place-items: center; margin: 0; padding: 20px 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.035); transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.partner-logos figure:hover { border-color: rgba(145,255,79,0.42); background: rgba(255,255,255,0.06); transform: translateY(-3px); }
.partner-logos img { display: block; max-width: 100%; max-height: 64px; width: auto; height: auto; border-radius: 6px; object-fit: contain; }
@media (max-width: 640px) {
  .partners-section h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .partner-logos { gap: 12px; }
  .partner-logos figure { width: calc(50% - 6px); min-height: 88px; padding: 14px; }
  .partner-logos img { max-height: 52px; }
}
/* 页脚 + 网站地图（PC 全站统一，见 resources/views/pc/partials/footer.blade.php） */
.site-footer { padding: 58px clamp(24px, 4vw, 72px) 26px; border-top: 1px solid var(--line); color: #72818d; background: #02070a; }
.footer-top { display: grid; grid-template-columns: minmax(200px, 1fr) 2.6fr; gap: 40px 56px; align-items: start; max-width: 1500px; margin: 0 auto; }
.site-footer.no-sitemap .footer-top { grid-template-columns: 1fr; }
.footer-intro { display: grid; align-content: start; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #f5f8fa; font-size: 1rem; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-tagline { max-width: 260px; margin: 0; color: #8b9aa4; font-size: 0.78rem; line-height: 1.7; letter-spacing: 0.04em; }
.footer-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px 34px; }
.footer-col h3 { margin: 0 0 15px; color: #dbe4e9; font-size: 0.7rem; font-weight: 760; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #8898a2; font-size: 0.76rem; letter-spacing: 0.04em; transition: color 180ms ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; max-width: 1500px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-copyright { margin: 0; color: #6b7b86; font-size: 0.72rem; letter-spacing: 0.08em; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: #8898a2; font-size: 0.72rem; letter-spacing: 0.06em; transition: color 180ms ease; }
.footer-social a:hover { color: var(--green); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

@media (max-width: 1180px) {
  .primary-nav { gap: 22px; }
  .header-cta { display: none; }
  .hero-copy { width: 64vw; }
  .rack-message { display: none; }
  .dashboard { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: minmax(260px, 0.8fr) minmax(410px, 1.2fr); max-width: 980px; }
  .network-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
  .mini-card { min-height: 190px; }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .site-header { position: fixed; grid-template-columns: 1fr auto; padding: 0 19px; background: rgba(4,10,14,0.72); backdrop-filter: blur(16px); }
  .brand-mark { width: 36px; height: 36px; }
  .brand { font-size: 1rem; }
  .menu-button { display: block; }
  .header-actions { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; z-index: 2; justify-content: flex-end; padding: 13px 18px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: rgba(6,13,18,0.98); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; display: grid; gap: 0; padding: 8px 9px 60px; border: 1px solid var(--line); border-radius: 14px; background: rgba(6,13,18,0.98); box-shadow: 0 24px 80px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .primary-nav.is-open, .primary-nav.is-open ~ .header-actions { opacity: 1; visibility: visible; transform: translateY(0); }
  .header-actions .header-register { display: inline-flex; }
  .primary-nav a { padding: 15px 13px; border-bottom: 1px solid var(--line); font-size: 0.75rem; }
  .primary-nav a:last-child { border-bottom: 0; }
  .hero-shell { background: linear-gradient(90deg, rgba(3,8,12,0.98), rgba(3,8,12,0.69)), linear-gradient(180deg, transparent 30%, #050a0f 72%), url("assets/datacenter-hero.png") 66% top / auto 780px no-repeat, var(--bg); }
  .hero { min-height: 720px; align-items: flex-start; padding: 140px 22px 54px; }
  .hero-copy { width: 100%; }
  .eyebrow { max-width: 370px; font-size: 0.7rem; }
  h1 { font-size: clamp(3.7rem, 16.5vw, 6.1rem); line-height: 0.86; }
  .hero-description { max-width: 410px; font-size: 1.02rem; }
  .capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 45px; }
  .capability { display: block; font-size: 0.65rem; }
  .capability svg { display: block; margin-bottom: 9px; }
  .dashboard { padding: 14px; }
  .gpu-grid { overflow-x: auto; grid-template-columns: repeat(3, minmax(220px, 1fr)); padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .gpu-card { scroll-snap-align: start; }
  .content-section { padding: 76px 18px; }
  h2 { font-size: clamp(2.1rem, 9vw, 3.6rem); }
  .network-grid { grid-template-columns: 1fr; }
  .operations-card { min-height: 350px; }
  .globe-card { height: auto; min-height: 0; aspect-ratio: 2.05 / 1; }
  .network-stack { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .security-section { min-height: auto; grid-template-columns: 1fr; padding: 72px 24px 38px; }
  .security-copy { text-align: center; }
  .security-copy > p:not(.section-kicker) { margin-left: auto; margin-right: auto; }
  .security-features { gap: 10px; }
  .security-features > div { display: block; padding: 0 10px; }
  .security-features svg { display: block; margin: 0 auto 10px; }
  .shield-visual { min-height: 320px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-card { min-height: 500px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-sitemap { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
  .hero { min-height: 690px; padding-top: 126px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .button { min-width: 0; padding: 0 14px; font-size: 0.78rem; }
  .button svg { display: none; }
  .panel { padding: 14px 12px; }
  .fleet-stats div { padding-left: 9px; padding-right: 9px; }
  .fleet-stats strong { font-size: 0.86rem; }
  .fleet-stats span { font-size: 0.62rem; }
  .network-stack { grid-template-columns: 1fr; }
  .mini-card { min-height: 170px; }
  .globe-card { min-height: 210px; aspect-ratio: auto; }
  .security-features { grid-template-columns: 1fr; gap: 18px; }
  .security-features > div { display: flex; justify-content: center; padding: 0; border-right: 0; }
  .shield-visual { min-height: 270px; }
  .use-case-card { min-height: 410px; }
  .use-case-overlay { left: 18px; right: 16px; bottom: 17px; }
  .builder-line { grid-template-columns: 1fr; }
  .builder-line i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 充值页：币种选择器 ============ */
.order-currency-picker { margin-bottom: 1.1rem; }
.order-currency-label {
    display: block; font-size: .8rem; color: var(--muted);
    margin-bottom: .45rem; letter-spacing: .04em;
}
.order-currency-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.order-currency {
    display: flex; flex-direction: column; gap: .15rem;
    padding: .5rem .85rem; min-width: 7.5rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px; text-decoration: none;
    transition: border-color .15s, background .15s;
}
.order-currency strong { color: var(--fg); font-size: .95rem; line-height: 1.2; }
.order-currency small { color: var(--muted); font-size: .72rem; }
.order-currency:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.order-currency.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.order-currency.is-active strong { color: var(--accent); }
@media (max-width: 640px) {
    .order-currency-list { gap: .4rem; }
    .order-currency { min-width: 6.5rem; padding: .45rem .65rem; }
}

/* ============ 产品页：购买份额滑块 ============ */
/* 「确认购买」按钮：表单用了 Bootstrap 的 .d-inline（display:inline !important），
   里面按钮的 width:100% 因此解析不出来，按钮缩成内容宽度挤在左边。
   改回块级，让按钮按设计撑满卡片宽度、正常居中。 */
.purchase-card form.d-inline { display: block; width: 100% !important; }
.purchase-card .catalog-buy-button { display: block; width: 100%; margin: .9rem 0 0; }

/* 限购已用完时的提示，取代购买按钮 */
.purchase-limit-note {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    width: 100%; margin: .9rem 0 0; padding: .7rem .9rem;
    border: 1px solid rgba(145, 255, 79, .32);
    border-radius: 8px;
    background: rgba(145, 255, 79, .08);
    color: var(--green-soft); font-size: .88rem; text-align: center;
}

/* 未上架：状态提示，不可点击 */
.catalog-pending-button {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    width: 100%; margin: .9rem 0 0; padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .03);
    color: var(--muted); font-size: .88rem; text-align: center;
    cursor: default; user-select: none;
}
.catalog-pending-button .pending-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--muted); opacity: .7;
    animation: pending-pulse 1.6s ease-in-out infinite;
}
@keyframes pending-pulse {
    0%, 100% { opacity: .25; }
    50%      { opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-pending-button .pending-dot { animation: none; opacity: .6; }
}

.share-picker { margin: 1rem 0 1.1rem; }
.share-picker-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: .45rem;
}
.share-picker-head span { font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.share-picker-head output {
    font-size: 1.15rem; font-weight: 600; color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.share-picker input[type="range"] {
    width: 100%; margin: 0; accent-color: var(--accent);
    background: transparent; -webkit-appearance: none; appearance: none; height: 22px;
}
.share-picker input[type="range"]::-webkit-slider-runnable-track {
    height: 4px; border-radius: 2px;
    background: linear-gradient(to right,
        var(--green) 0 var(--pct, 100%),
        rgba(255, 255, 255, .16) var(--pct, 100%) 100%);
}
.share-picker input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px; margin-top: -6px; border-radius: 50%;
    background: var(--accent); border: 2px solid #0b0f14; cursor: pointer;
}
.share-picker input[type="range"]::-moz-range-track {
    height: 4px; border-radius: 2px;
    background: linear-gradient(to right,
        var(--green) 0 var(--pct, 100%),
        rgba(255, 255, 255, .16) var(--pct, 100%) 100%);
}
.share-picker input[type="range"]::-moz-range-thumb {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent); border: 2px solid #0b0f14; cursor: pointer;
}
.share-picker-figures {
    display: flex; gap: 1.4rem; margin: .6rem 0 .35rem; flex-wrap: wrap;
}
.share-picker-figures dt { font-size: .74rem; color: var(--muted); margin-bottom: .1rem; }
.share-picker-figures dd {
    margin: 0; font-size: 1rem; font-weight: 600; color: var(--fg);
    font-variant-numeric: tabular-nums;
}

/* ============ 提现页 ============ */
.order-field { display: grid; gap: 6px; margin-top: 14px; }
.order-field label { font-size: .82rem; color: var(--muted); }

.order-input {
  width: 100%; padding: .72rem .85rem;
  color: var(--fg); background: rgba(7, 23, 32, .9);
  border: 1px solid var(--line-strong); border-radius: 9px;
  font: inherit; font-size: .95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.order-input::placeholder { color: rgba(159, 176, 187, .6); }
.order-input:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(145, 255, 79, .16);
}
select.order-input { cursor: pointer; }
select.order-input option { background: #0b1a22; color: var(--fg); }

.order-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.withdraw-history { display: grid; gap: 10px; }
.withdraw-history-item {
  padding: .85rem .95rem;
  background: rgba(7, 23, 32, .62);
  border: 1px solid var(--line); border-radius: 10px;
}
.withdraw-history-item > header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .6rem; margin-bottom: .5rem;
}
.withdraw-history-item > header strong { font-size: 1.05rem; color: var(--fg); }
.withdraw-history-item > header span { font-size: .8rem; font-weight: 700; }
.withdraw-history-item dl { margin: 0; display: grid; gap: 3px; }
.withdraw-history-item dl > div { display: flex; justify-content: space-between; gap: .8rem; }
.withdraw-history-item dt { font-size: .78rem; color: var(--muted); }
.withdraw-history-item dd {
  margin: 0; font-size: .8rem; color: var(--fg);
  text-align: right; word-break: break-all;
}

/* ============ 提交处理中遮罩 ============ */
.pc-processing[hidden] { display: none; }   /* 必须：display:flex 会覆盖 [hidden] */
.pc-processing {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(4, 8, 12, .78);
    backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .18s ease;
}
.pc-processing.is-on { opacity: 1; }

.pc-processing-box {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding: 1.8rem 2.2rem; min-width: 15rem; text-align: center;
    background: rgba(16, 22, 30, .96);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    transform: translateY(6px); transition: transform .18s ease;
}
.pc-processing.is-on .pc-processing-box { transform: translateY(0); }

.pc-processing-spinner {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .18);
    border-top-color: var(--accent);
    animation: pc-spin .8s linear infinite;
}
@keyframes pc-spin { to { transform: rotate(360deg); } }

.pc-processing-title { margin: .3rem 0 0; font-size: 1rem; color: var(--fg); }
.pc-processing-sub   { margin: 0; font-size: .8rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .pc-processing-spinner { animation-duration: 2.4s; }
    .pc-processing, .pc-processing-box { transition: none; }
}
