/* 配色对齐支付中心（cloud/web/recharge.css）：珍珠白玻璃、鸢尾/粉色渐变、紫色焦点。 */
:root {
  color-scheme: light;
  --ink: 0 0 0;
  --t95: rgb(var(--ink) / 95%);
  --t75: rgb(var(--ink) / 75%);
  --t55: rgb(var(--ink) / 55%);
  --t35: rgb(var(--ink) / 35%);
  --violet: 84 61 174;
  --iris: 221 225 246;
  --petal: 249 231 235;
  --pearl: 255 255 255;
  --edge: rgb(107 98 138 / 18%);
  --line: rgb(107 98 138 / 12%);
  --glass: linear-gradient(115deg, rgb(var(--pearl) / 56%), rgb(var(--pearl) / 45%) 54%, rgb(var(--pearl) / 52%));
  --shadow: 0 4px 9px -7px rgb(53 51 58 / 13%);
  --ring: #7059af;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--t95); background-color: #f7f7fb;
  background-image:
    radial-gradient(ellipse at 11% 4%, #dfe2fb 0%, transparent 43%),
    radial-gradient(ellipse at 78% 10%, #eee3f8 0%, transparent 47%),
    radial-gradient(ellipse at 100% 41%, #fae9ef 0%, transparent 42%),
    radial-gradient(ellipse at 4% 87%, #e5f2f2 0%, transparent 45%);
  background-attachment: fixed;
  font-size: 14px; line-height: 1.5;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.wrap { min-height: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.brand {
  background: rgb(255 255 255 / 43%);
  border-right: 1px solid var(--line);
  box-shadow: inset -1px 0 rgb(255 255 255 / 54%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between;
}
.brand b { font-size: 19px; letter-spacing: .2px; }
.brand p { color: var(--t55); max-width: 340px; margin: 10px 0 0; }
.brand small { color: var(--t35); }
.panel { display: flex; flex-direction: column; justify-content: center; padding: 56px; max-width: 560px; width: 100%; }
.tabs { display: flex; border: 1px solid var(--line); border-radius: 16px; padding: 4px; width: fit-content; margin-bottom: 28px; background: rgb(133 121 161 / 8%); }
.tabs button {
  border: 1px solid transparent; border-radius: 12px; background: transparent;
  padding: 7px 18px; color: var(--t75); transition: background .16s, color .16s;
}
.tabs button:hover { background: rgb(255 255 255 / 52%); }
.tabs button.on {
  border-color: #fff; background: rgb(255 255 255 / 92%); color: var(--t95);
  font-weight: 700; box-shadow: 0 2px 5px rgb(39 32 53 / 9%), inset 0 0 3px #fff;
}
.form h1 { font-size: 22px; letter-spacing: -.5px; margin: 0 0 4px; }
.form .sub { color: var(--t55); margin: 0 0 24px; }
label { display: block; color: var(--t55); font-size: 12px; margin-bottom: 14px; max-width: 360px; }
input {
  display: block; width: 100%; height: 38px; margin-top: 6px;
  border: 1px solid #cfcddc; border-radius: 10px;
  background: rgb(255 255 255 / 62%); padding: 0 11px; outline: none;
  transition: border-color .16s, background-color .16s;
}
input:focus { border-color: var(--ring); background: rgb(255 255 255 / 86%); }
.primary {
  width: 360px; max-width: 100%; height: 40px; margin-top: 6px;
  border: 1px solid #2d2d31; border-radius: 12px;
  background: linear-gradient(115deg, #252527, #343438); color: rgb(255 255 255 / 95%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 17%), 0 2px 5px rgb(52 48 59 / 8%);
  transition: transform .18s, box-shadow .18s;
}
.primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 10px rgb(87 69 140 / 20%); }
.primary:disabled { opacity: .5; }
.message { color: #8a1f1f; min-height: 20px; max-width: 360px; }
.message.ok { color: #5e4986; font-weight: 700; }
.devLink { display: inline-block; margin-top: 18px; color: var(--t55); font-size: 12px; text-decoration: none; width: fit-content; }
.devLink:hover { color: var(--t95); text-decoration: underline; }
@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; }
  .brand { display: none; }
  .panel { padding: 40px 24px; }
}
