/* ============================================================
   Postdeck · Auth & Console — 浅色科幻
   
   视觉语言（提亮版）：
   · 冷白／浅雾蓝底色 + 柔和青紫光晕，不再是深空黑
   · 青(#0891b2) 与 紫(#7c3aed) 做强调色，玫红少量点缀
   · 玻璃拟态白卡 + 细描边 + 柔和投影 + HUD 角标
   · 网格与星点降为浅色，保持"仪表盘"质感但不压暗页面
   · 按钮保留青→紫渐变（深色字），在浅底上对比更强
   ============================================================ */

:root {
  /* 浅色层级 */
  --void: #eef2f9;
  --deep: #f7f9fd;
  --panel: rgba(255, 255, 255, .72);
  --panel-solid: #ffffff;
  --line: rgba(20, 44, 90, .10);
  --line-strong: rgba(20, 60, 130, .20);

  /* 霓虹（浅底版本，加深以保证对比度） */
  --cyan: #0891b2;
  --cyan-bright: #06b6d4;
  --cyan-dim: rgba(8, 145, 178, .10);
  --violet: #7c3aed;
  --violet-bright: #a855f7;
  --violet-dim: rgba(124, 58, 237, .10);
  --rose: #e11d48;
  --rose-dim: rgba(225, 29, 72, .10);
  --lime: #059669;

  /* 文本 */
  --text: #0b1220;
  --text-2: #3d4759;
  --text-3: #6b7488;

  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont,
          "Segoe UI Variable Text", "Segoe UI",
          "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC",
          "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
          system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--void);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
input, button, select { font: inherit; }
::selection { background: rgba(8, 145, 178, .18); color: var(--text); }

/* ---------- 全局背景层 ---------- */

.cosmos {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% -8%, rgba(6, 182, 212, .16), transparent 62%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(168, 85, 247, .14), transparent 64%),
    radial-gradient(ellipse 60% 45% at 8% 88%, rgba(244, 114, 182, .10), transparent 66%),
    linear-gradient(180deg, #f8fafd 0%, #eef2f9 55%, #e9eef8 100%);
}

/* 星点：浅色版，作为细颗粒质感 */
.cosmos::before {
  content: "";
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(30, 70, 140, .30), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(30, 90, 160, .22), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(30, 70, 140, .18), transparent),
    radial-gradient(1px 1px at 85% 15%, rgba(110, 60, 180, .22), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(30, 70, 140, .16), transparent),
    radial-gradient(1.5px 1.5px at 10% 65%, rgba(20, 110, 160, .20), transparent);
  background-size: 340px 340px, 280px 280px, 420px 420px, 300px 300px, 380px 380px, 460px 460px;
  animation: starDrift 160s linear infinite;
  opacity: .8;
}
@keyframes starDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-340px, -280px, 0); }
}

/* 网格 */
.cosmos::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 70, 140, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 70, 140, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 100% 72% at 50% 0%, #000 8%, transparent 76%);
}

/* 极光带：柔和的彩色光雾 */
.aurora {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; will-change: transform;
}
.aurora.a1 {
  width: 620px; height: 620px; top: -260px; left: -160px;
  background: radial-gradient(circle, rgba(6, 182, 212, .34), transparent 66%);
  animation: floatA 22s ease-in-out infinite;
}
.aurora.a2 {
  width: 560px; height: 560px; top: -140px; right: -180px;
  background: radial-gradient(circle, rgba(168, 85, 247, .30), transparent 66%);
  animation: floatB 26s ease-in-out infinite;
}
.aurora.a3 {
  width: 480px; height: 480px; bottom: -220px; left: 32%;
  background: radial-gradient(circle, rgba(244, 114, 182, .22), transparent 68%);
  animation: floatA 30s ease-in-out infinite reverse;
}
@keyframes floatA {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(60px, 50px, 0) scale(1.12); }
}
@keyframes floatB {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-70px, 40px, 0) scale(1.08); }
}

/* ---------- 分屏外壳 ---------- */

.auth-shell {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 100vh;
}
@media (max-width: 940px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

/* ---------- 左侧：品牌 + 全息面板 ---------- */

.auth-aside {
  position: relative;
  padding: 44px 56px 40px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255,255,255,.55), rgba(255,255,255,.15));
}

/* 面板右侧竖向光带 */
.auth-aside::after {
  content: "";
  position: absolute; right: -1px; top: 10%; bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(8,145,178,.55), rgba(124,58,237,.45), transparent);
}

.aside-top, .aside-main, .aside-foot { position: relative; z-index: 2; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  color: var(--text);
}
.logo-mark { width: 28px; height: 28px; color: var(--cyan); filter: drop-shadow(0 2px 8px rgba(8,145,178,.35)); }
.logo-mark svg { width: 100%; height: 100%; }

.aside-main { margin: auto 0; padding: 38px 0 30px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); font-weight: 650;
  padding: 5px 11px;
  border: 1px solid rgba(8,145,178,.28);
  border-radius: 999px;
  background: rgba(8,145,178,.07);
  margin-bottom: 22px;
}
.kicker .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(8,145,178,.6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(8,145,178,.5); }
  70% { box-shadow: 0 0 0 9px rgba(8,145,178,0); }
  100% { box-shadow: 0 0 0 0 rgba(8,145,178,0); }
}

.aside-main h1 {
  font-size: clamp(27px, 2.9vw, 38px);
  line-height: 1.16;
  letter-spacing: -.008em;
  font-weight: 650;
  margin: 0 0 18px;
  color: var(--text);
}
.neon {
  background: linear-gradient(96deg, #0891b2 0%, #2563eb 38%, #7c3aed 72%, #db2777 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: neonShift 9s ease-in-out infinite;
}
@keyframes neonShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.aside-main > p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 27em;
  margin: 0 0 28px;
  line-height: 1.72;
}

/* 全息数据卡（浅色玻璃） */
.holo {
  display: grid; gap: 10px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 12px 32px rgba(20, 50, 110, .10);
  position: relative;
  overflow: hidden;
}
.holo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(6,182,212,.10) 48%, transparent 64%);
  animation: sweep 6.5s ease-in-out infinite;
}
@keyframes sweep {
  0%,100% { transform: translateX(-40%); }
  50% { transform: translateX(40%); }
}
.holo-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--text-2);
  position: relative; z-index: 1; letter-spacing: .01em;
}
.holo-row .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(5,150,105,.14);
}
.holo-row .dot.run { background: var(--cyan); box-shadow: 0 0 0 3px rgba(8,145,178,.16); animation: blink 1.4s ease-in-out infinite; }
.holo-row .dot.wait { background: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.16); }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.holo-row .fill {
  flex: 1; height: 3px; border-radius: 999px;
  background: rgba(20, 60, 130, .10); overflow: hidden;
}
.holo-row .fill i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-bright), var(--violet-bright));
}
.holo-row .pct { color: var(--cyan); font-size: 11px; min-width: 36px; text-align: right; font-weight: 600; }

.capabilities { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.capabilities li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--text-2);
}
.capabilities svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--cyan); }

.aside-foot {
  display: flex; gap: 30px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.aside-stat b {
  display: block; font-family: var(--mono);
  font-size: 19px; font-weight: 700; letter-spacing: -.02em;
  color: var(--cyan);
}
.aside-stat span { font-size: 11.5px; color: var(--text-3); }

/* ---------- 右侧：表单 ---------- */

.auth-main {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 46px 44px;
  z-index: 1;
}

/* 极轻扫描线，保留屏幕质感但不压暗 */
.auth-main::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(20, 60, 130, .022) 0 1px,
    transparent 1px 4px
  );
}

.auth-inner { width: 100%; max-width: 388px; margin: 0 auto; position: relative; }

/* 卡片背后的柔光 */
.auth-inner::before {
  content: "";
  position: absolute;
  inset: -70px -40px -40px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(6,182,212,.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 75%, rgba(168,85,247,.14), transparent 72%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.auth-back {
  position: absolute; top: 30px; left: 34px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-3); font-weight: 500;
  transition: color .2s;
}
.auth-back:hover { color: var(--cyan); }

.auth-head { margin-bottom: 28px; }
.auth-head h2 {
  font-size: 26px; letter-spacing: -.008em; margin: 0 0 8px; font-weight: 650;
  color: var(--text);
}
.auth-head p { margin: 0; color: var(--text-3); font-size: 13.5px; }

/* 玻璃白卡 */
.auth-card {
  padding: 26px 24px 24px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 2px 6px rgba(20, 50, 110, .05),
    0 24px 60px rgba(20, 50, 110, .13);
  position: relative;
}

/* 顶部渐变细线 */
.auth-card::before {
  content: "";
  position: absolute; left: 16%; right: 16%; top: -1px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--cyan-bright), var(--violet-bright), transparent);
  border-radius: 2px;
  z-index: 2;
}

/* HUD 四角括号 */
.auth-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  border-radius: 9px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 14px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left top / 1.5px 14px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 14px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 1.5px 14px no-repeat,
    linear-gradient(var(--violet), var(--violet)) left bottom / 14px 1.5px no-repeat,
    linear-gradient(var(--violet), var(--violet)) left bottom / 1.5px 14px no-repeat,
    linear-gradient(var(--violet), var(--violet)) right bottom / 14px 1.5px no-repeat,
    linear-gradient(var(--violet), var(--violet)) right bottom / 1.5px 14px no-repeat;
  opacity: .5;
}

/* 浮动标签输入 */
.field { position: relative; margin-bottom: 18px; }

.field input {
  width: 100%;
  height: 54px;
  padding: 21px 14px 7px;
  border: 1px solid rgba(20, 44, 90, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .25s, background .2s;
}
.field input:hover { border-color: rgba(20, 60, 130, .24); }
.field input:focus {
  outline: none;
  border-color: rgba(8, 145, 178, .75);
  background: #fff;
  box-shadow:
    0 0 0 3.5px rgba(6, 182, 212, .13),
    0 4px 16px rgba(8, 145, 178, .10);
}
.field label {
  position: absolute; left: 15px; top: 16px;
  font-size: 14px; color: var(--text-3);
  pointer-events: none; transform-origin: left top;
  transition: transform .2s var(--ease), color .2s, font-size .2s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-8px) scale(.76);
  color: var(--cyan);
  letter-spacing: .02em;
  font-weight: 600;
}
.field input::placeholder { color: transparent; }

.field .toggle {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 5px 7px;
  color: var(--text-3); font-size: 11px; font-weight: 600;
  cursor: pointer; border-radius: 6px; transition: color .2s, background .2s;
}
.field .toggle:hover { color: var(--cyan); background: rgba(8,145,178,.09); }

.field-error { display: none; font-size: 12px; color: var(--rose); margin-top: 6px; }
.field.has-error input { border-color: rgba(225,29,72,.6); box-shadow: 0 0 0 3px rgba(225,29,72,.09); }
.field.has-error .field-error { display: block; }
.field.has-error label { color: var(--rose); }

/* 密码强度 */
.strength { display: flex; gap: 4px; margin-top: 9px; height: 3px; }
.strength[data-level="0"] { visibility: hidden; }
.strength i { flex: 1; border-radius: 999px; background: rgba(20, 60, 130, .12); transition: background .3s; }
.strength[data-level="1"] i:nth-child(1) { background: var(--rose); }
.strength[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.strength[data-level="3"] i { background: var(--lime); }

/* 按钮：保留青→紫渐变，深色字 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 11px;
  font-size: 15px; font-weight: 650; letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .16s var(--ease), box-shadow .3s, filter .2s;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  width: 100%;
  color: #04121a;
  background: linear-gradient(100deg, #22d3ee 0%, #7dd3fc 42%, #a855f7 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.55) inset,
    0 8px 24px rgba(8, 145, 178, .28),
    0 2px 8px rgba(124, 58, 237, .18);
}
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.05) saturate(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 12px 32px rgba(8, 145, 178, .36),
    0 4px 12px rgba(124, 58, 237, .24);
  transform: translateY(-1px);
}
.btn.is-loading { color: transparent; }
.btn.is-loading::after {
  content: "";
  position: absolute; width: 18px; height: 18px;
  border: 2px solid rgba(4,18,26,.22);
  border-top-color: #04121a;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-done { background: linear-gradient(100deg, #34d399, #22d3ee); color: #04121a; }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-3); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 20px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.auth-alt { text-align: center; font-size: 13.5px; color: var(--text-3); margin-top: 20px; }
.auth-alt a { color: var(--cyan); font-weight: 650; }
.auth-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.auth-legal {
  margin-top: 24px; font-size: 11.5px; color: var(--text-3);
  text-align: center; line-height: 1.7;
}
.auth-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-legal a:hover { color: var(--cyan); }

/* 提示条 */
.alert {
  display: none; padding: 11px 13px; border-radius: 10px;
  font-size: 13px; margin-bottom: 16px; border: 1px solid;
}
.alert.is-error {
  display: block;
  background: rgba(225, 29, 72, .07);
  border-color: rgba(225, 29, 72, .28);
  color: #b91c3c;
}
.alert.is-ok {
  display: block;
  background: rgba(5, 150, 105, .08);
  border-color: rgba(5, 150, 105, .26);
  color: #047857;
}

/* 入场动画 */
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .7s var(--ease-out) forwards; }
.fade-up.d1 { animation-delay: .07s; }
.fade-up.d2 { animation-delay: .14s; }
.fade-up.d3 { animation-delay: .21s; }
.fade-up.d4 { animation-delay: .28s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ============ 控制台 ============ */

.console-nav {
  height: 66px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px;
  padding: 0 26px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  position: sticky; top: 0; z-index: 30;
}
.console-nav .spacer { flex: 1; }
.console-nav a.navlink {
  font-size: 13.5px; color: var(--text-3); font-weight: 550;
  padding: 5px 0; transition: color .2s;
  position: relative;
}
.console-nav a.navlink:hover { color: var(--text); }
.console-nav a.navlink.active { color: var(--cyan); }
.console-nav a.navlink.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--cyan-bright), var(--violet-bright));
  border-radius: 2px;
}

.who { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); font-family: var(--mono); }
.who .av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  display: grid; place-items: center;
  color: #04121a; font-size: 12px; font-weight: 800;
}

.console-main {
  position: relative; z-index: 1;
  max-width: 920px; margin: 0 auto; padding: 46px 24px 90px;
}
.console-head { margin-bottom: 30px; }
.console-head h1 { font-size: 27px; letter-spacing: -.008em; margin: 0 0 7px; font-weight: 650; }
.console-head p { margin: 0; color: var(--text-3); font-size: 13.5px; }

.panel {
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 2px 6px rgba(20, 50, 110, .04),
    0 16px 40px rgba(20, 50, 110, .09);
  transition: box-shadow .3s, border-color .3s;
}
.panel:hover { box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 20px 52px rgba(20, 50, 110, .13); }

.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; }
.panel-head h2 { font-size: 15px; margin: 0; font-weight: 660; }
.panel-head .hint { font-size: 12px; color: var(--text-3); margin: 0; }

.empty {
  padding: 36px 20px; text-align: center;
  border: 1.5px dashed rgba(20, 60, 130, .16); border-radius: 13px;
  color: var(--text-3); font-size: 13px;
  background: rgba(255, 255, 255, .45);
}
.empty b { display: block; color: var(--text-2); margin-bottom: 5px; font-size: 14px; }

.account-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px;
  border: 1px solid transparent;
  transition: background .2s, border-color .25s, box-shadow .25s;
  cursor: pointer; width: 100%; text-align: left;
  background: none; font: inherit; color: inherit;
  margin-bottom: 7px;
}
.account-row:hover { background: rgba(6, 182, 212, .05); border-color: rgba(8, 145, 178, .18); }
.account-row.is-active {
  border-color: rgba(8, 145, 178, .45);
  background: rgba(6, 182, 212, .07);
  box-shadow: 0 0 0 1px rgba(8,145,178,.12), 0 6px 20px rgba(8, 145, 178, .10);
}

.account-row img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: rgba(20, 60, 130, .08); flex: none;
  border: 1px solid var(--line);
}
.account-row .meta { flex: 1; min-width: 0; }
.account-row .nick { font-weight: 620; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-row .sub { font-size: 12px; color: var(--text-3); letter-spacing: .01em; }
.account-row .del {
  border: 0; background: none; color: var(--text-3);
  font-size: 11.5px; cursor: pointer; font-weight: 600;
  padding: 5px 8px; border-radius: 7px; transition: color .2s, background .2s;
}
.account-row .del:hover { background: rgba(225, 29, 72, .09); color: var(--rose); }

.badge-ok { color: var(--lime); }
.badge-warn { color: var(--rose); }

.btn-sm {
  height: 38px; padding: 0 15px; font-size: 13px;
  border-radius: 9px; border: 1px solid rgba(20, 44, 90, .14);
  background: rgba(255,255,255,.9); color: var(--text);
  cursor: pointer; font-weight: 570;
  transition: border-color .2s, background .2s, box-shadow .25s, transform .15s;
}
.btn-sm:hover { border-color: rgba(8, 145, 178, .5); background: #fff; box-shadow: 0 4px 14px rgba(8, 145, 178, .14); }
.btn-sm.solid {
  background: linear-gradient(100deg, #22d3ee, #a855f7);
  color: #04121a; border-color: transparent; font-weight: 700;
  box-shadow: 0 6px 20px rgba(8, 145, 178, .26);
}
.btn-sm.solid:hover { filter: brightness(1.06); transform: translateY(-1px); }

.job-list { display: grid; gap: 8px; }
.job {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; background: rgba(255, 255, 255, .7);
}
.job .state {
  font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(20, 60, 130, .07); color: var(--text-2);
  border: 1px solid var(--line);
}
.job .state.ok { background: rgba(5, 150, 105, .1); color: var(--lime); border-color: rgba(5, 150, 105, .26); }
.job .state.err { background: rgba(225, 29, 72, .09); color: var(--rose); border-color: rgba(225, 29, 72, .26); }
.job .time { margin-left: auto; color: var(--text-3); font-family: var(--mono); font-size: 11px; }

@media (max-width: 640px) {
  .console-main { padding: 28px 16px 64px; }
  .panel { padding: 18px; }
  .console-nav { gap: 14px; padding: 0 16px; }
  .console-nav a.navlink { display: none; }
  .who span:not(.av) { display: none; }
  .auth-main { padding: 60px 20px 40px; }
}
/* ============ 动效打磨 ============ */

/* 表单字段逐个浮入：比整块一起出现更有节奏 */
.auth-card .field {
  animation: fieldIn .62s var(--ease-out) both;
}
.auth-card .field:nth-child(1) { animation-delay: .06s; }
.auth-card .field:nth-child(2) { animation-delay: .12s; }
.auth-card .field:nth-child(3) { animation-delay: .18s; }
.auth-card .field:nth-child(4) { animation-delay: .24s; }
@keyframes fieldIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* 输入框聚焦：光晕平滑扩张 */
.field input { transition: border-color .25s, box-shadow .35s var(--ease-out), background .25s; }

/* 按钮：悬停轻微抬升 + 光泽扫过 */
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  background-size: 220% 100%;
  background-position: 160% 0;
  transition: background-position .85s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover:not(:disabled)::before { background-position: -40% 0; }

/* 账号行：切换激活时的高亮过渡 */
.account-row { transition: background .25s, border-color .3s, box-shadow .35s var(--ease-out), transform .25s var(--ease); }
.account-row:active { transform: scale(.995); }

/* 提示条出现得有弹性 */
.alert.is-error, .alert.is-ok { animation: alertIn .4s var(--ease-spring); }
@keyframes alertIn {
  from { opacity: 0; transform: translateY(-6px) scale(.99); }
  to   { opacity: 1; transform: none; }
}

/* 全息条：进度条生长 */
.holo-row .fill i { animation: growBar 1.1s var(--ease-out) both; transform-origin: left center; }
@keyframes growBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* 减少动态效果时全部降级 */
@media (prefers-reduced-motion: reduce) {
  .auth-card .field,
  .holo-row .fill i,
  .alert.is-error,
  .alert.is-ok { animation: none !important; }
  .btn-primary::before { display: none; }
}