/* 客户端（account.xinovell.com）样式。09-29 批 2。
   视觉直接沿用公开站付款页（深绿幕布 + 米色卡片 + 宋体/衬线标题）；颜色 token 抄自
   营销站 site.css，字体沿用系统栈（不用外部字体，跟工作台同一条约束）。
   CSP 禁止内联样式——所有样式只能在这个文件里。 */
:root {
  --hairline: 1px;
  --teal: #11413E; --teal-mid: #1A5754; --teal-dark: #0D2E2C;
  --gold: #C9A87B; --gold-light: #E8D5B0;
  --cream: #F5F2EB; --white: #FFFFFF;
  --text-1: #11413E; --text-2: #4A6360; --text-3: #8AA8A6;
  --border: #D4CDB8;
  --ok-bg: #ecfdf5; --ok-fg: #065f46; --ok-line: #a7f3d0;
  --err-bg: #fee2e2; --err-fg: #9b1c1c;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text-1);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 15% 60%, rgba(201, 168, 123, .13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(26, 87, 84, .5) 0%, transparent 60%),
    linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 100%);
  line-height: 1.6;
}
.wordmark { text-decoration: none; text-align: center; display: block; margin-bottom: 6px; }
.wordmark-name { font-size: 26px; font-weight: 900; color: var(--cream); letter-spacing: -.5px; }
.wordmark-sub { font-size: 11px; letter-spacing: .3px; color: var(--gold); margin: 6px 0 34px; text-align: center; white-space: nowrap; }

.card {
  background: var(--cream);
  border: var(--hairline) solid rgba(201, 168, 123, .45);
  border-radius: 6px;
  width: 100%; max-width: 480px;
  padding: 40px 40px 32px;
  position: relative;
}
.title {
  font-family: Georgia, "SimSun", "Songti SC", "Noto Serif SC", serif;
  font-size: 1.55rem; font-weight: 700; color: var(--teal); margin: 0 0 8px;
}
/* 09-29 Mili：没有导航条的页面，语言切换放在卡片标题右边——样式照抄营销站导航条
   的 .lang-switch（地球图标 + 当前语言，悬停/点按展开）。 */
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.title-row .title { margin: 0; }
.lang-switch { position: relative; }
.lang-trigger {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 2px 0;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap;
}
.lang-trigger::after { content: "▾"; font-size: 10px; opacity: .6; }
.lang-trigger:hover { color: var(--teal); }
.lang-globe { flex-shrink: 0; opacity: .75; }
.lang-trigger:hover .lang-globe { opacity: 1; }
.lang-menu {
  position: absolute; top: 100%; right: 0; transform: translateY(-4px);
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 6px 6px; min-width: 130px; box-shadow: 0 12px 48px rgba(17, 65, 62, .16);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30;
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu, .lang-switch.is-open .lang-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  background: none; border: 0; border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 13px;
  color: var(--text-2); text-align: left; cursor: pointer;
}
.lang-option:hover { background: var(--cream); color: var(--teal); }
.lang-option.is-active { color: var(--teal); font-weight: 700; }
.lang-option.is-active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.sub {
  font-size: 13px; color: var(--text-2); line-height: 1.75; margin: 0 0 24px; padding-bottom: 20px;
  border-bottom: var(--hairline) solid rgba(201, 168, 123, .35);
}
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.fld input {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--text-1);
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
}
.fld input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
/* 6 位码六格（Mili 09-29 定）：中间留个小空隙对应邮件里的 "483 921" 写法 */
.code-boxes { display: flex; gap: 10px; align-items: center; }
.fld .code-boxes input.code-box {
  width: 0; flex: 1 1 0; min-width: 0; height: 60px; padding: 0;
  font-size: 26px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums;
  color: var(--teal); caret-color: var(--teal);
}
.fld .code-boxes input.code-box.is-filled { border-color: var(--teal); }
.code-gap { flex: 0 0 8px; }
@media (max-width: 420px) { .code-boxes { gap: 6px; } .fld .code-boxes input.code-box { height: 52px; font-size: 22px; } }
.btn {
  display: block; width: 100%; background: var(--teal); color: var(--cream); border: 0; border-radius: 6px;
  padding: 14px 18px; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.btn:hover { background: var(--teal-mid); }
a.btn { text-align: center; text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-gold { background: var(--gold); color: var(--teal-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--teal); text-decoration: underline; cursor: pointer; }
.status { margin: 10px 0 0; font-size: 13px; min-height: 1em; line-height: 1.6; }
/* 09-29 Mili：红/绿提示框跟按钮之间留足空气（提示出现时上下各留 16px） */
.status.is-error { color: var(--err-fg); background: var(--err-bg); padding: 11px 14px; border-radius: 6px; margin: 16px 0 18px; }
.status.is-ok { color: var(--ok-fg); background: var(--ok-bg); border: 1px solid var(--ok-line); padding: 11px 14px; border-radius: 6px; margin: 16px 0 18px; }
.note { font-size: 11.5px; color: var(--text-2); line-height: 1.7; margin-top: 14px; text-align: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.divider::before, .divider::after { content: ""; flex: 1; border-top: var(--hairline) solid rgba(201, 168, 123, .45); }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 12.5px; }
[hidden] { display: none !important; }

.foot { margin-top: 26px; font-size: 11.5px; color: rgba(245, 242, 235, .55); text-align: center; line-height: 1.8; }
.foot a, .foot button { color: rgba(245, 242, 235, .8); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 560px) { .card { padding: 30px 20px 26px; } }
